Refactor CSimpleFileCache::WaitData, kill race conditions.
[IOS] Fix keyboard not show bug if it was canceled before it did show.
On ios4 with ipad, found that the ios will not send the keyboard did hide
notifaction if the keyboard was canceled before the keyboard did show.
So fix this by trace the keyboard show state, and delay deactivate action
until keyboard did show.
Move the reset code for finished event into ui thread.
when we are using bluetooth keyboard, there is chance the doDeactivate
method be called before the finished event reset in xbmc thread.
fixed build with --enable-player=amlplayer, thx brianf21
[atv2] - fix compilation on 10.8 and all others once and for all. Dear buildbot. I really suggest you build this now - or i'm going to convince davilla to install android on your harddisk...
fix ass subs for GLES
libdvdread: replace perror by fprintf so that it gets picked up in xbmc logs
Fix CurlFile::Exists/Stat for check ftp directory with proper cwd method.
Fix check common subtitle subdir existence without suffix slash bug.
Merge pull request #2275 from ulion/fix_checking_subtitle_common_subdir_without_slash_end_bug

Fix check common subtitle subdir existence without suffix slash bug.
Use GetProtocol() like other code does.
Fix double append to m_curlAliasList bug by NULL check.
Fix memory leak, Exists/Stat allocated resource not released correctly.
Merge pull request #2273 from FernetMenta/assfix

fix ass subs for GLES
[atv2] - make hooking more clean and safe by checking the selector of the class before hooking
[atv2] - fix XBMC is getting 100% transparent when bluetooth keyboard is detected. (keyboard detection triggers an ios popup overlay which influences with our opengl layer when it vanishes). Since we are hooking now anyways - we just hook into that popupmanager and suppress any popups during XBMC runtime.
Merge pull request #2271 from ulion/ios_fix_keyboard_not_show_if_was_canceled_before_show

[IOS] Fix native keyboard not show if was canceled before it did show
[Cosmetic] Remove superfluous "!= 0"
[fix] Add lost parameter.
Merge pull request #2280 from ace20022/cosmetic

[Fix] Add lost parameter in GUIKeyboardFactory