Commit graph

447 commits

Author SHA1 Message Date
Scott Knauert
a39df3aa94 Fix lack of newline breakage. Sorry about that, gcc 4.3 doesn't give those warnings even on -Wall. One -Wall fix, and remove hardcoded 1024 PATH_MAX to use limits.h. Also re-added rice hard gtk dependency. 2008-09-26 19:08:12 +00:00
Scott Knauert
83f614d45c Minor fixes, primarily to allow for compiling with -Wall, but also formatting and comments. A few corner case bugs found. 2008-09-25 21:46:06 +00:00
Scott Knauert
32a2ca13f9 A variety of Gtk GUI fixes. Some corner case bugs found by (and general cleanup to allow for) compiling with -Wall, also minor logic fix to improve UI and close issue 141. 2008-09-25 21:43:03 +00:00
Scott Knauert
61d4912ab9 Start of Rice GUI cleanup. Removed lack of non assembly byteswapping function fallback causing issues on non-x86 platforms. 2008-09-22 05:44:55 +00:00
Scott Knauert
fb4fb17f35 Save cache every X roms, fixed rebuiling from incomplete cache. snprintf with source and desination buffers the same not safe on all platforms, put back strncat code (fixes minor issue on OSX). 2008-09-21 19:47:27 +00:00
Scott Knauert
6cef67e666 Fixed rcs dirname() dependence, minor snprintf bug, moved ricevideo to default plugin list as it now compiles fine on OSX. 2008-09-18 00:15:40 +00:00
Louai Al-Khanji
38dbfe7813 Fix a few win32 things 2008-09-17 16:39:58 +00:00
Louai Al-Khanji
fd0464af60 Another attempt to fix compilation on windows 2008-09-17 16:32:05 +00:00
Louai Al-Khanji
8a48dfbfb4 Possibly fix compile errors on windows 2008-09-17 16:28:20 +00:00
Scott Knauert
b220e03ba7 Minor rcs default snprint bug fixed. 2008-09-16 12:30:26 +00:00
Scott Knauert
1bd211aa06 First stab at themable Gtk icons for plugins. Extended plugin API with EXPORT void CALL SetInstallDir(char* installDir) based on the config dir work we had done. Modified core to send the install dir. Modified Rice to accept (since glide64 and rice share the same dialog system and we want to remove the windows icons from glide64), checks for a Gtk icon theme and hook into the theme change (does do transient dialog icon changes like the core, yet). Feel free to revert or offer other suggestions as to how best handle this. 2008-09-12 05:46:45 +00:00
Scott Knauert
ba8a21e54f snprintf() / dirname() fix in romcache.c. Changed strncats to snprintfs to avoid possible lack of NULL termination. 2008-09-12 00:17:23 +00:00
Scott Knauert
32ea126717 Minor Gtk GUI fixes, pre.mk fixes for RSP Qt4 GUI. 2008-09-11 03:01:58 +00:00
Richard Goedeken
dc8c6e83ae new r4300 disassembler from ZZT32 2008-09-10 12:04:22 +00:00
Scott Knauert
b817627768 Code style changes for rcs thread. Minor Gtk GUI fixes, better handling of transient dialog icon themeing. 2008-09-09 18:28:53 +00:00
Scott Knauert
004980e813 Fixed a number of -Wall warnings, fixed memory leak which was due to freeing the variables giving seg fault previously. Fixed lack of deletion if rom is removed from filesystem durring rescan. 2008-09-09 12:18:29 +00:00
Scott Knauert
41640e3c54 Fixed issue 140, we can now delete roms from the rombrowser in both GUIs. Minor rcs code cleanup. Gtk GUI bugs, fixed memory leak / toggling full path crash issue. Child windows no longer have position memory, follow UI convention of snapping to center of main window. 2008-09-09 07:20:38 +00:00
Louai Al-Khanji
5563e5e610 Fix a few warnings 2008-09-08 23:25:53 +00:00
Louai Al-Khanji
4a2c71a9ec Add reset button to config dialog. Restore Defaults button still
missing.
2008-09-08 23:00:47 +00:00
Louai Al-Khanji
a06e9c517a Draw focus in ratings column 2008-09-08 22:23:28 +00:00
Scott Knauert
63c4248bb1 Remove XID passing code accitendly commited as gdkx.h breaks portability. 2008-09-08 21:51:20 +00:00
Louai Al-Khanji
1f8659fc82 Fix ratings painter to work even when 16x16 star icon is missing.
Nicer look for disabled stars.
2008-09-08 21:17:43 +00:00
Scott Knauert
a8f52ca62b More Gtk GUI fixes. Finished transitioning to Gtk icon theme. Themable empty status stars. Minor UI additions to address issue 141. More removal of depreciated gtk functions. Fixed a number of minor bugs. First stab at better debugger GUI integration, strncpy fixes. Minor GUI API change from updaterombrowser() to update_rombroswer(). 2008-09-08 11:13:02 +00:00
Louai Al-Khanji
870fde202c Use the plugin config, about, and test calls that take a window id. 2008-09-07 22:22:11 +00:00
Louai Al-Khanji
2bd11611da Add config, about, and test callbacks that take a window id. 2008-09-07 22:21:48 +00:00
Louai Al-Khanji
9868a13a57 Make sure string is null-terminated. 2008-09-06 21:05:17 +00:00
Richard Goedeken
18aa4baf5b use SDL instead of pthreads in debugger, remove pthread from library list in makefile, fix small bug in glide64 makefile 2008-09-06 20:09:28 +00:00
Louai Al-Khanji
2bbd453a87 Make sure never to overflow buffer 2008-09-06 18:36:35 +00:00
Louai Al-Khanji
c2dbc1decb Work around a crash in gtk with qt + gtk both enabled at the same time. 2008-09-06 12:01:55 +00:00
Louai Al-Khanji
44109dbcd8 Improve settings dialog a bit. Add cancel button, make header a bit nicer, make the dialog modal. 2008-09-06 10:10:54 +00:00
Richard Goedeken
b69eb75714 merged r0970-sdl-threads branch into trunk. fixed old bug in signal handler 2008-09-06 05:27:50 +00:00
Scott Knauert
6790b9ce6b Fixed minor icon oversight and win32 pthread bug. 2008-09-05 09:06:24 +00:00
Scott Knauert
13dee279e4 Gtk GUI improvements. Fix seg fault when adding new roms via config dialog. Added error dialogs when attempting to save or load save state while emulation is running. Fixed config policy to allow for changing plugin options while emulation is running. New standard Gtk About dialog. Removed a number of depreicated Gtk widget types and functions (mainly menu_shell and gtk_signal stuff). Added icons to most Gtk menu items (the 16x16 icons are also needed for the qt4 GUI). Better Gtk theme handling, foundation laid for plugins to tap into the mupen theme handling code. Fixes to mnemonic and labels. Major code cleanup. 2008-09-05 08:31:24 +00:00
Louai Al-Khanji
269272b74c A few gui updates. 2008-09-04 11:14:32 +00:00
Scott Knauert
e1c56bbc69 Minor cleanup of SDL_opengl.h include fix. Minor threading issue fix. 2008-09-04 04:30:13 +00:00
Louai Al-Khanji
fa8c663eec Fix g_MainWindow symbol collision 2008-09-03 01:37:56 +00:00
Louai Al-Khanji
9c1f8ca013 Don't crash on linux. This should be fixed in the plugins. 2008-09-01 20:31:26 +00:00
Louai Al-Khanji
1e0b7d3f90 Fix off by one error. 2008-09-01 19:58:18 +00:00
Louai Al-Khanji
925ce5e74f Fix rendering of stars 2008-09-01 19:56:49 +00:00
Louai Al-Khanji
2404721def Properly close plugins when stopping emulation. This gets rid of ghost windows on win32. 2008-09-01 19:05:25 +00:00
Louai Al-Khanji
44004b4ae8 Make shortcuts work in render window. 2008-09-01 17:57:16 +00:00
Louai Al-Khanji
9e254a02c9 Remove two debug prints that slipped through. 2008-09-01 15:59:19 +00:00
Louai Al-Khanji
cddfd0c8a1 A few more fixes. 2008-09-01 15:06:21 +00:00
Richard Goedeken
36b917c978 fixed errors and warnings in build from recent commits 2008-09-01 15:01:42 +00:00
Louai Al-Khanji
10709ef7c6 Fix up various things that broke in the merge. 2008-09-01 14:55:44 +00:00
Louai Al-Khanji
7ccc6450aa Improve some config things 2008-09-01 13:14:31 +00:00
Louai Al-Khanji
75f324cfc6 Merge win32 branch 2008-09-01 12:44:16 +00:00
Scott Gorman
1220a3d6ad Fixed an infinite loop occuring when one did not add any rom directorys, but applied settings. This happened because the variable 'i' was defined without value. 2008-08-30 18:10:39 +00:00
Scott Knauert
e8a5dca439 Gtk GUI improvements, no need to reload full GUI on toolbar style or size change, better theme integration. 2008-08-28 21:08:45 +00:00
Scott Knauert
8059f07b5c More minor Gtk GUI cleanup. 2008-08-27 06:08:10 +00:00