1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-05 09:53:45 +02:00
gmenu2x/src
Nebuleon Fumika 5758209170 Fix a crasher when launching an application whose icon is corrupt
It is possible for OPK links to refer to a missing icon or to an icon
that cannot be read as a PNG file, in which cases there is no fallback
to icons/generic.png and the icon is null.

Link::paint checks for this, but LinkApp::drawLaunch did not.

Obviously it is more desirable to properly fall back, but that would be
a very big change to many areas of the code, so this is a quick fix.
2014-08-19 09:25:26 +02:00
..
.gitignore Let git ignore files we expect to be generated during the build. 2010-06-17 18:45:52 +02:00
background.cpp Store "bgmain" in the GMenu2X object instead of in SurfaceCollection 2014-08-15 04:03:00 +02:00
background.h Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
battery.cpp Created separate subclasses for output and off-screen surfaces 2014-08-10 13:25:54 +02:00
battery.h Created separate subclasses for output and off-screen surfaces 2014-08-10 13:25:54 +02:00
browsedialog.cpp Removed "delegate.h" 2014-08-16 07:07:41 +02:00
browsedialog.h Use a plain FileLister instead of a pointer in BrowseDialog 2014-08-13 07:06:05 +02:00
buttonbox.cpp Removed GMenu2X pointer from ButtonBox 2014-08-16 05:52:25 +02:00
buttonbox.h Removed GMenu2X pointer from ButtonBox 2014-08-16 05:52:25 +02:00
clock.cpp Code factorisation (Add function inject_user_event() to utilities) 2013-08-28 13:14:08 -04:00
clock.h Made Clock destruction safe 2013-08-09 03:13:02 +02:00
contextmenu.cpp Disable delete context menu option for undeletable link files 2014-08-17 18:43:02 +02:00
contextmenu.h Query animation status instead of storing it 2013-08-12 19:41:56 +02:00
cpu.cpp Replaced every message output by calls to the log macros. 2010-09-17 22:31:09 +02:00
cpu.h Set CPU frequency through sysfs. 2010-07-04 03:04:42 +02:00
debug.h Revert the log level to INFO 2013-07-29 13:02:06 -04:00
dialog.cpp Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
dialog.h Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
dirdialog.cpp Use a plain FileLister instead of a pointer in BrowseDialog 2014-08-13 07:06:05 +02:00
dirdialog.h Use a plain FileLister instead of a pointer in BrowseDialog 2014-08-13 07:06:05 +02:00
filedialog.cpp Use a plain FileLister instead of a pointer in BrowseDialog 2014-08-13 07:06:05 +02:00
filedialog.h Use a plain FileLister instead of a pointer in BrowseDialog 2014-08-13 07:06:05 +02:00
filelister.cpp Avoid out-of-range lookup when FileLister::browse is passed empty string 2014-08-17 10:22:09 +02:00
filelister.h Deal gracefully with the selector being started on a non-existent dir 2014-08-17 10:05:21 +02:00
font.cpp Have Font::write return the width of the drawn text 2014-08-15 03:32:32 +02:00
font.h Have Font::write return the width of the drawn text 2014-08-15 03:32:32 +02:00
gmenu2x.cpp Make system calls restart on signals instead of handling EINTR 2014-08-18 23:49:09 +02:00
gmenu2x.h Removed GMenu2X::drawButton variant 2014-08-15 17:27:09 +02:00
gp2x.h initial commit - needs clean-up 2010-02-04 12:33:47 +01:00
helppopup.cpp Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
helppopup.h Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
iconbutton.cpp Removed "delegate.h" 2014-08-16 07:07:41 +02:00
iconbutton.h Removed "delegate.h" 2014-08-16 07:07:41 +02:00
imagedialog.cpp Use a plain FileLister instead of a pointer in BrowseDialog 2014-08-13 07:06:05 +02:00
imagedialog.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00
imageio.cpp Fix issues with loading images with alpha disabled. 2014-07-17 01:25:41 +02:00
imageio.h Fix issues with loading images with alpha disabled. 2014-07-17 01:25:41 +02:00
inputdialog.cpp Removed "delegate.h" 2014-08-16 07:07:41 +02:00
inputdialog.h Removed GMenu2X pointer from ButtonBox 2014-08-16 05:52:25 +02:00
inputmanager.cpp Dismantled Singleton pattern of PowerSaver 2014-08-14 09:47:05 +02:00
inputmanager.h Dismantled Singleton pattern of PowerSaver 2014-08-14 09:47:05 +02:00
launcher.cpp Moved console bind+activate code into Launcher 2014-08-08 02:04:05 +02:00
launcher.h Moved console bind+activate code into Launcher 2014-08-08 02:04:05 +02:00
layer.h Query animation status instead of storing it 2013-08-12 19:41:56 +02:00
link.cpp Removed "delegate.h" 2014-08-16 07:07:41 +02:00
link.h Removed "delegate.h" 2014-08-16 07:07:41 +02:00
linkapp.cpp Fix a crasher when launching an application whose icon is corrupt 2014-08-19 09:25:26 +02:00
linkapp.h Pass C++ string to LinkApp constructor 2014-08-17 18:52:18 +02:00
Makefile.am Added Launcher class 2014-08-07 16:48:30 +02:00
mediamonitor.cpp Code factorisation (Add function inject_user_event() to utilities) 2013-08-28 13:14:08 -04:00
mediamonitor.h Add a MediaMonitor, which will watch CARD_ROOT for mountpoints 2013-07-19 12:37:56 -04:00
menu.cpp Don't use file system write permissions to determine "deletable" 2014-08-18 23:17:27 +02:00
menu.h Don't use file system write permissions to determine "deletable" 2014-08-18 23:17:27 +02:00
menusetting.cpp Removed GMenu2X pointer from ButtonBox 2014-08-16 05:52:25 +02:00
menusetting.h Cap the width of setting names in SettingDialog to the width of the longest 2014-07-24 11:07:30 +02:00
menusettingbool.cpp Removed "delegate.h" 2014-08-16 07:07:41 +02:00
menusettingbool.h Cap the width of setting names in SettingDialog to the width of the longest 2014-07-24 11:07:30 +02:00
menusettingdir.cpp Removed "delegate.h" 2014-08-16 07:07:41 +02:00
menusettingdir.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00
menusettingfile.cpp Removed "delegate.h" 2014-08-16 07:07:41 +02:00
menusettingfile.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00
menusettingimage.cpp Use function getSkinPath() instead of reading the dir of the binary 2012-06-24 23:18:02 +02:00
menusettingimage.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00
menusettingint.cpp Removed "delegate.h" 2014-08-16 07:07:41 +02:00
menusettingint.h Cap the width of setting names in SettingDialog to the width of the longest 2014-07-24 11:07:30 +02:00
menusettingmultistring.cpp Removed "delegate.h" 2014-08-16 07:07:41 +02:00
menusettingmultistring.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00
menusettingrgba.cpp Pass action to IconButton constructor 2014-08-16 06:44:13 +02:00
menusettingrgba.h Cap the width of setting names in SettingDialog to the width of the longest 2014-07-24 11:07:30 +02:00
menusettingstring.cpp Removed "delegate.h" 2014-08-16 07:07:41 +02:00
menusettingstring.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00
menusettingstringbase.cpp Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
menusettingstringbase.h Cap the width of setting names in SettingDialog to the width of the longest 2014-07-24 11:07:30 +02:00
messagebox.cpp Created separate subclasses for output and off-screen surfaces 2014-08-10 13:25:54 +02:00
messagebox.h MessageBox: header cleanups. 2011-10-23 11:32:16 +02:00
monitor.cpp Add more detail in error message from Monitor::run() 2014-08-18 16:29:18 +02:00
monitor.h Don't use (void) for empty argument list 2014-08-15 14:01:11 +02:00
powersaver.cpp Explicitly enable screen when PowerSaver exits 2014-08-14 09:51:51 +02:00
powersaver.h Dismantled Singleton pattern of PowerSaver 2014-08-14 09:47:05 +02:00
selector.cpp When going up a level in the selector, put cursor on old dir 2014-08-17 11:15:21 +02:00
selector.h When going up a level in the selector, put cursor on old dir 2014-08-17 11:15:21 +02:00
settingsdialog.cpp Made SettingsDialog::exec() return whether a setting was changed 2014-08-16 17:11:18 +02:00
settingsdialog.h Made SettingsDialog::exec() return whether a setting was changed 2014-08-16 17:11:18 +02:00
surface.cpp Log surface load failures at DEBUG level instead of ERROR 2014-08-16 15:42:33 +02:00
surface.h Removed skin lookup feature from OffscreenSurface::loadImage 2014-08-15 01:34:35 +02:00
surfacecollection.cpp Store "bgmain" in the GMenu2X object instead of in SurfaceCollection 2014-08-15 04:03:00 +02:00
surfacecollection.h Simplify code to reload section icons when skin changes 2014-08-15 16:54:30 +02:00
textdialog.cpp Rearrange calls to GMenu2X::drawButton from left to right 2014-08-16 07:11:30 +02:00
textdialog.h Use Font::wordWrap in TextDialog and TextManualDialog 2014-07-24 09:00:22 +02:00
textmanualdialog.cpp Rearrange calls to GMenu2X::drawButton from left to right 2014-08-16 07:11:30 +02:00
textmanualdialog.h Use Font::wordWrap in TextDialog and TextManualDialog 2014-07-24 09:00:22 +02:00
touchscreen.cpp Drop GP2X platform support. 2012-06-14 23:45:57 +02:00
touchscreen.h Drop GP2X platform support. 2012-06-14 23:45:57 +02:00
translator.cpp Check for empty strings using empty() instead of comparing to "" 2013-08-16 09:16:04 +02:00
translator.h The "tr1" namespace is no longer needed now that we're on C++11 2013-08-01 14:37:56 +02:00
utilities.cpp Provide file permissions for newly created file 2014-08-19 00:12:05 +02:00
utilities.h Make app setting file writes durable 2014-08-18 15:56:14 +02:00
wallpaperdialog.cpp Removed GMenu2X pointer from ButtonBox 2014-08-16 05:52:25 +02:00
wallpaperdialog.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00