Commit graph

136 commits

Author SHA1 Message Date
Scott Knauert
082dd4de98 Some more SDL input cleanup in the branch. No gui mode works. The slowdown should be solved but we get faster speed that nogui (branch or trunk) and indistinguishable speed in gui mode from trunk. Also, a few changes to prevent the debugger from crashing no matter how you attempt to close emulation. The debugger still needs a ton of work, but most of crasher bugs are cleaned up. 2008-10-28 06:14:14 +00:00
Scott Knauert
776686d520 SDL cleanup in the branch, only minor slowndown on linux, should fix OSX keyboard input issue. Still may need some more tweaking. 2008-10-28 00:35:17 +00:00
Scott Knauert
4d883d2725 Another possible way to fix the lack of OSX keyboard input issue. This doesn't have the slowdown associated with the other method. 2008-10-26 19:25:45 +00:00
Scott Knauert
5216ab920f Working in progress on keyboard input in OSX. 2008-10-26 04:55:29 +00:00
Scott Knauert
1d7a568b4b Add Remove All rombrowser settings tab in Gtk GUI. Fixed minor callback bug. 2008-10-13 01:23:45 +00:00
Scott Knauert
777c6f9c1f Fix __LINE__ macro is of type %d no %c in fprintf error. Also implemented Qt4-like start / pause / stop button behavior in Gtk2 GUI. 2008-10-05 23:00:45 +00:00
Scott Knauert
ce19873672 More gui_message cleanup. 2008-10-05 22:44:51 +00:00
Scott Knauert
9c0cdf8b8e Going back to the older Gtk2 gui_message with a minor bug fix. 2008-10-05 22:37:39 +00:00
Louai Al-Khanji
573754f057 Fix up gui_message calls. Clean up gtk implementation. 2008-10-05 20:48:15 +00:00
Louai Al-Khanji
98d3f99fe0 Rework the gui state api a bit. Don't pass the enum through an unsigned
char. Changed the way the Qt4 ui handles things internally a bit.
Changed the gui_message to not use an unsigned char as well while I was
at it.
2008-10-05 15:18:59 +00:00
Scott Knauert
c53030d143 Minor Gtk toolbar tooltip fix. 2008-10-05 05:43:08 +00:00
Scott Knauert
663c3f2c13 Change how plugin combos are toggled in the Gtk GUI to update on state change. 2008-10-05 05:41:00 +00:00
Scott Knauert
008a65eaeb Primarily implementation of new GUI state API and associated Gtk2 and Qt4 implementations. Fixed one minor Gtk bug (unable to select large toolbar icons). Fixed a could of NO_GUI warnings. Changed romcache.h to not define RCS structures in NO_GUI mode (more optimized NO_GUI binary). Fixed some non-ANSI static code analysis "bugs" mainly function() -> function(void) in C declarations. Also some GPL header updates to the newest template. Sorry for the large commit. 2008-10-05 03:33:52 +00:00
Richard Goedeken
210f946cae added newlines to the end of every source file which was missing one 2008-09-27 15:22:21 +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
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
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
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
Scott Knauert
63c4248bb1 Remove XID passing code accitendly commited as gdkx.h breaks portability. 2008-09-08 21:51:20 +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
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
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
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
Scott Knauert
a4069b48ad Gtk GUI updates for core and Jttl. Mostly Jttl polishing (add mnemonics) and dialog cleanup. Core config dialog, still needs work. 2008-08-26 21:34:23 +00:00
Scott Knauert
bc2476ede2 Removed defunct and unlicensed VCR functions, and language files. FSF address fixes. 2008-08-19 04:28:04 +00:00
Scott Knauert
2440008f10 Real compile guards for PLUGIN_INFO struct in Zilmar plugin spec. Rice video license fixes. 2008-08-18 22:50:55 +00:00
Scott Knauert
3a2c46072c New logo. 2008-08-18 19:22:31 +00:00
Scott Knauert
9d686fc1d3 Standardization of Zilmar spec. plugin headers, license fixes. 2008-08-18 09:29:44 +00:00
Scott Knauert
e14b6a936d Replaced flags and n64cart icon Nmn added with original icon work to satifsy license issues. Also added base SVG files for our logo and GUI sheel integration icon. Minor GUI changes to use new icons. 2008-08-18 07:53:29 +00:00
Scott Knauert
a38d3d34f1 Removed duplicate language entries. 2008-08-15 00:43:22 +00:00
Scott Knauert
34f5d5ecc0 More license fixes, removed unlicensed and unused mupen64 graphic. 2008-08-14 16:43:58 +00:00
Scott Knauert
6d12da379d Two main updates. Mostly a number of older Gtk GUI related improvmenets to Jttl Audio that were never commited, with the idea that we should get one plugin fairly polished as an example for new developers. Also fixed license issues with Mupen64plus makefiles, jttl audio files, and 7zip decoder. 2008-08-14 06:49:46 +00:00
Scott Knauert
1a655027ec Many KDE4 GUI improvements. Fixed Play issue (selecting ROM and pressing play would not load ROM), re-added settings menu (removed in KXmlGUI rework), integrated with config system. Possible to hide filter. Uses toolbar settings from config system. Added plugin config options. Gtk GUI code is mainly an optimization of config integration. 2008-07-29 05:34:52 +00:00
Scott Knauert
620f98bd77 Implemented parts of astrange's portability patch. Mainly header (some missed malloc, some superfluous #includes removed) and plugin makefile improvements to improve OSX portability. 2008-07-28 02:56:08 +00:00
Scott Knauert
12c25b0ab5 Added --romnumber command line option for specifying roms in multifile archives. Two very small cleanups, removed stay ":" from rom properties in Gtk GUI, and removed GameShark Pro V3.3 from .ini as it had the 0 byte MD5 string (bad dump). 2008-07-26 18:32:07 +00:00
Scott Knauert
8f8b089899 Add OSX malloc.patch to trunk as <malloc.h> is non standard and there is no reason not to #include <stdlib.h> instead. In the process did some minor janitorial work on Gtk GUI, cleaning up extra #includes no longer needed (mainly non-RCS rom cache), gui_messages of messagetype = 1 would never occur, and gcc found a bug in filefrompath(). 2008-07-26 10:04:08 +00:00
Scott Knauert
9263428e6d KDE4 GUI slots now work (if slot is changed elsewhere, menu shows correct slot), slot is persistant. Added multirom archive suport to KDE4 GUI rombrowser. Minor KDE4 and Gtk GUI menu text / accelerator and mnemonic updates. 2008-07-22 18:23:46 +00:00
Scott Knauert
d673b2a899 Initial fix of KDE4 GUI. It now compiles. Uses new GUI API and recieves rombrowser info from RCS. Changes to main/gui_gtk/rombrowser.c are improved comments. The KDE4 GUI still needs a lot of work. 2008-07-20 18:11:44 +00:00
Scott Knauert
a67da4502b Fixed reload() compiler warning. Shouldn't be in header since its not a public function. 2008-07-14 06:45:28 +00:00
Scott Knauert
a2ed083f95 Overhaul of messaging system. Mainly remove guifuncs.c and the associated includes. Double checked GUI=NONE build. Also changed alert_message to error_message as this is the more logical name. Also merged the three gui message functions which included a lot of repeated code as to simplify the gui api. 2008-07-14 06:42:33 +00:00
Scott Knauert
195afbe213 Fix semicolon bug in rom.c's hack detection for loop. Changed noask and messaging to only allow confirmation in GUI mode. Added #ifndefs for GUI=NONE option. Removed console confirmation code from guifuncs and the gui confirm.
-This line, and those below, will be ignored--

M    main/gui_gtk/main_gtk.c
M    main/guifuncs.c
M    main/main.c
M    main/rom.c
2008-07-13 23:46:38 +00:00
Scott Knauert
e3b1481a59 Changed rombrowser.cache format, added 4 bytes worth of 0s to the header so older (non RCS) versions simply ignore and rebuild the cache (as opposed to generally running out of memory or segfaulting). When switching back to an RCS version the cache will need to be rebuilt. Also changed some cache_entry types from unsigned short to unsigned chars to save space. Fixed two minor RCS bugs. Also added Penny Racers to the .ini. 2008-07-13 22:25:55 +00:00
Richard Goedeken
1c5a242da3 Changed new AlwaysFullscreen parameter name to GuiStartFullscreen. Reworked parameter init logic so this parameter will only affect behaviour in GUI mode 2008-07-02 04:30:35 +00:00
James Hood
61a39ba35d Added "Always Start in Full Screen Mode" checkbox to config dialog. 2008-07-01 18:04:20 +00:00