2001-05-29 Kjetil Thuen * Released 0.43 2001-05-10 Kjetil Thuen * fileio.c: Changed some of the default settings. The list is colorized by default now and the default number of columns are more sparse. 2001-05-10 Kjetil Thuen * catver: Updated file from http://www.mameworld.net/catlist/ * mameio.c: Fixed a bug that caused the timesplayed column to currupt after building a new list. * es.po: Removed spanish translation stubs as I am unable to reach the guy who said he would do them. 2001-05-10 Kjetil Thuen * callbacks.c: Hide the prefs window before rebuilding the list. Use mkstmp() for temporary filenames. 2001-05-02 Tristan Tarrant * grustibus.c: support fullscreen for SDL 2001-04-28 Kjetil Thuen * gui.c, callbacks.c: Small bugfix to prevent a gtkwarning on first run 2001-04-25 Kjetil Thuen * grustibus.[ch]: The filter combo boxes are alphabetized, and only the most common entries are listed (>5) * es.po: Added empty file * grustibus.glade: removed 2 superflous labels 2001-04-22 Kjetil Thuen * no.po: Updated norwegian translation * callbacks.c, grustribus.[ch], fileio.[ch], gui.[ch]: Added a column showing how many times each game have been played (or started to be more accurate). * grustibus.glade, gui.[ch], grustibus.[ch]: Made the filter combo boxes build dynamically from the data in the gamelist. 2001-04-07 Kjetil Thuen * catver: Updated file from http://www.mameworld.net/catlist/ 2001-04-07 Kjetil Thuen * Changelog(this file): Made the list count backwards 2001-04-07 Kjetil Thuen * gui.c: Fixed a stupid bug that made the leds on the notebook tabs show up on startup even if the user had switched them of. 2001-04-06 Kjetil Thuen * fileio.[ch], mameio.c, gui.c: Moved some gui things into gui.c where they belong * fileio.c: Fixed a bug in check romdirs exe. Now it will report that the rompath has changed even if it has changed to a dir with an older timestamp * fileio.c, grustibus.c, mameio.c, gui.[ch]: Dialogs that tell the user to rebuild the gamelist now lets him do it directly from the dialog. If the main window is not yet realized, a small window containing a progressbar will pop up showing the progress. * callbacks.c: Some small bugfixes and polish. Made it impossible to remove the last column both in the preferences window and in the report druid. * grustibus.glade, grustibus.[ch], callbacks.c: Made the source of downloads configurable (mame.dk died). 2001-03-31 Kjetil Thuen * callbacks.[ch], gui.[ch], grustibus.glade: Finished the report druid and hooked it up to the report functions. This concludes the report project (/me pats himself on the back) :) 2001-03-31 Kjetil Thuen * mameio.c: Was a little too eager freeing some strings. caused a crash when the mame executable could not be found. 2001-03-29 Kjetil Thuen * fileio.c: Rewrote the report functions to write to a file instead of printing to the console. Also fixed some bugs that made them say list the wrong rules. 2001-03-22 Kjetil Thuen * fileio.c: Fixed a bug in the gamelist reading code that read the cpu and sound chip data wrong (cpu1 was read as status, cpu2 as cpu1 and so on). 2001-03-22 Kjetil Thuen * gui.[ch], callbacks.c: Moved some code out of callbacks, and fixed a bug that would cause a crash when removing the column the gamelist was currently sorted by. 2001-03-19 Kjetil Thuen * grustibus.[ch], fileio.[ch]: Moved the report functions to fileio where they belong, and made to new report functions that produce human and machine readable textfiles. * grustibus.glade: Fixed a bug that caused gdk errors when opening the filter window. 2001-03-14 Kjetil Thuen * grustibus.[ch]: Started work on a function that will make a report in html format according to the users setting of a filter and a choice of columns 2001-03-14 Sven Goethel * callbacks.c, grustibus.[ch], gui.c, mameio.[ch]: Applied a patch that fixes a problem with sending vector opts to non vector games. 2001-03-14 Kjetil Thuen * grustibus.c, gui.[ch], callbacks.c: new function grustibus_question in gui.c that takes a null terminated array of buttons (strings), and a varg thingy and returns the button pressed. Used it several places for user dialogs. 2001-03-10 Kjetil Thuen * learnt that mame.dk is down. Terrible news! The download functions is of course rendered unusable by this. Anyone know an alternative site gRustibus can get its stuff from? * glade.grustibus. gui.c: A little workaround to prevent gdk errors at startup. These errors where introduced after a glade upgrade. Glade tries to set properties on widgets that are not realized yet. 2001-02-26 Kjetil Thuen * Gtm.idl: New file * grustibus.[ch], Makefile.am: added a corba call to the Gnome Transfer Manager for downloading files from mame.dk * grustubus.glade, callbacks.[ch]: Menuitem to download cabinetpictures added. 2001-02-16 Kjetil Thuen * gui.c: Reordered the startup sequence to make the window just pop up instead of having to watch it being drawn. 2001-02-16 Kjetil Thuen * grustibus.[ch], gui.c, mameio.c: Fixed up some problems with searching. Some functions was not aware of the new dynamic columns stuff. * gui.c: Vamped up the dialog for grustibus_question. * callbacks.c: Made the column selector behave more sensible * gui.c: Fixed a bug that caused the list of selected columns to come up in the wrong order. 2001-02-14 Kjetil Thuen * callbacks.c, gui.[ch]: Made the favourite togglebutton behave more smoothly. It wont rebuild the gamelist unless necessary. * callbacks.c, grustibus.[ch]: First shot at downloading roms from mame.dk Will ask the user if he wants the romsets a game depends on as well * gui.[ch]: Made a grustibus_question function that asks a yes/no question and returns a bool. * grustibus.[ch], fileio.c, mameio.c, gui.h: Added another column: rom of 2001-02-08 Kjetil Thuen * callbacks.c, gui.[ch]: The default button on the columnchooser works. The preferences window will open only once. 2001-02-03 Kjetil Thuen * fileio.c, gui.c, callbacks.c, grustibus.glade: Finished the work on adding screenshot, flyer and cabinetpicture availability to the advanced filters. 2001-01-23 Kjetil Thuen * fileio.c, gui.c: It now saves and loads the active columns and the sizes of all the columns. * callbacks.c: Fixed the little arrows in the columnlabel widgets. * grustibus.glade, callbacks.c, callbacks.h, gui.c, gui.h: The dialog for setting the wanted columns is finished. This concludes the dynamic list columns project :) 2001-01-22 Kjetil Thuen * mameio.c: Fixed some bugs that made way to many games be considered vector games, way to few to be of preliminary status and just the first sound chip to be registered. * gui.c: Fixed the population of the game list. gRustibus now has a working dynamic gamelist. Configuration of wanted columns and setting of the column width still remains to be done. 2001-01-22 Kjetil Thuen * gui.c, callbacks.c, fileio.c: Commented out some lines and added some casts to make grustibus compile cleanly again. Still doesnt work right (The list is not populated right), but atleast it compiles and runs now. 2001-01-09 Kjetil Thuen * grustibus.h: Added vulcan to the default favourite list. * catver: included updated file (0.37b10) 2000-12-20 Kjetil Thuen * mameio.c: Finnally I detected the bug causing a crash. Electric Fence rules bigtime! :) After creating a new gamelist the temporary gchar * romname was free'd twice (I must have read that portion of the code 500 times yesterday, and still I did not notice). I still don't understand why the crash did not occur when single stepping through the load_catver function (wich was where it crashed) in gdb. Very black magic as far as I am concerned. 2000-12-19 Kjetil Thuen * all_over_the_place: Did some more cleaning up from the conversion to GList. Struggled for hours with a crash that did not stepping through the functiong with gdb (_very_ annoying), and it still is not solved. On the bright side I think I may have stumbled upon (and fixed) the bug that used to cause lockups at seemingly random times. I'll just wait and see if they still occur. 2000-12-14 Kjetil Thuen * mameio.c, fileio.c: Cleaned up some of the mess from yesterday. It still leaks some bytes here and there and even crashes occationally , but at least the basic behaviour is in place. * mameio.c: Discovered that the code for determining wich driver a game uses was totally wrong. It now consults xmame -listsourcefiles to get this info. This means that 0.36b15 will not work anylonger. I have not tried the later 0.36 betas, but I know 0.36-1 works just fine. 2000-12-14 Kjetil Thuen * grustibus.c, grustibus.h, gui.c, fileio.c, mameio.c: A message on the xmame mailinglist inspired me to finally get rid of the array holding the gamelist. It is now kept in a GList instead and thus will grow to fit future requirements. It is still very buggy, but it kinda works and I should have gone to bed hours ago :). Thanks to Andrea Vettorello for giving me the push I needed to get this done. 2000-12-08 Kjetil Thuen * gui.c, gui.h: Made a GtkClistCompareFunc that sorts the list ignoring case. This should take care of the bug where it was impossible to search for (among others) Asteroids because the search would hit APB and think it was already past Asteroids. Will probably need to make other CompareFuncs for future columns containing pixmaps instead of text and swap the funcs when the column is selected. * callbacks.c: Discovered a new bug and fixed it: If the settings of a game had been changed and not saved, and the user clicked the row of the same game, the settings would revert to the saved state. The fix was to not call rom_selected() if the selected row was the same value as stored in general_prefs.current_row. Thanks to my good friend Daniel Ostnes for pointing out the problem. 2000-12-08 Kjetil Thuen * grustibus.glade, callbacks.c: Some workarounds to prevent that gRustibus launces xmame when the user presses return other places than in the list. * grustibus.glade: Added a default focus to "Cancel" in the advanced filters dialog. And fixed some focus policy on the game settings widgets. 2000-12-07 Kjetil Thuen * gui.c, gui.h, grustibus.c, grustibus.h: Did a lot on work on abstracting the building of the gamelist from the actual drawing of the clist. This will come in very handy both for creating the reports that will be implemented and for letting the user choose which columns to show (both in the report and in the clist). Now the filter_rom() function takes an instance of the new and sparkling Filter struct as an argument and the gamelist rows are being built in the function make_gamelist_entry(). At this point the function just returns a standard gamelist row, but it will be expanded to be able to build a row acording to the users preferences. Its still a bit of a mess here and there though... 2000-11-30 Kjetil Thuen * callbacks.c, grustibus.c, gui.h, gui.c, fileio.c: Made all the vector widgets actually do their thing. 2000-11-30 Kjetil Thuen * grustibus.glade: Made the widgets for configuring vector games. They dont do anything useful yet. * mameio.c, fileio.c: The timestamp for the romdir changes now is set to when the user last ran "update gamelist" instead of when gRustibus was last started. This prevents incorrect warnings if the user has added/removed roms and updated the list while gRustibus was running. * gui.c: The vector setting widgets is shown only when a vector game is selected. * gui.c: The tooltip of the save button says "save settings for 'gamename'". This makes its purpose more clear, and its got a more fancy feel to it :) 2000-10-08 Kjetil Thuen * grustibus.glade: Added some default keyboard shortcuts in the menus 2000­11-29 Kjetil Thuen * callbacks.c, gui.c, grustibus.glade: Fixed the bug that made the hpaned resize when the clist had been empty. * gui.c: Fixed a stupid typo that caused the inactive led on the notebook tabs to have an ugly grey background. * gui.c, callbacks.c, grusitubs.glade: Made the sort-by arrows hide instead of just using GTK_SHADOW_NONE, since some gtk+ themes draw their own arrows and thus GTK_SHADOW_NONE made no difference. The result was ugly (arrows on all columns at all times). * defaultsnap.png: Changed to a much sexier image :) I found this image on some M.A.M.E site on the net, but I could not find information about who is the artist. If you are the artist, or you know the artist, please contact me so that I can credit you (or remove the image from the distribution if you do not approve of me using it). 2000-09-02 Kjetil Thuen * grustibus.c: Turning show clones of made it show just the clones :) 2000-09-02 Kjetil Thuen * grustibus.glade, gui.[ch], callbacks.[ch]: The beginnings of a configurable clist widget. (Well its still just a popupmenu really :) 2000-08-27 Kjetil Thuen * fileio.c: Fixed a bug that caused the checking of the version of the gamelist to fail if $LC_NUMERIC was set to something that did not use a '.' as the decimal seperator. 2000-08-05 Kjetil Thuen * mameio.c: I had forgotten to reload the catver file after rebuilding the gamelist. This caused the category info to show up with weird symbols in it :) 2000-08-05 Kjetil Thuen * gui.c: Worked around a bug that caused the notebook pane to take up the whole window if the gamelist had been empty and filled again (After a list rebuild, for instance). * gui.c, grustibus.[ch]: Finished the filtering stuff. The actual filtering is seperated from the build list stuff, so adding new filters is easy. * gui.c: Fixed the bug that caused the first character from the first game history to remain in the widget. 2000-08-05 Kjetil Thuen * grustibus.glade, gui.[ch], callbacks.[ch]: Started working on what will be a powerfull filter utility for the gamelist. It will let the user filter what games she wants to show acording to several categories. The actual filtering still remains to be done. * mameio.c, gui.[ch]: Made gRustgibus iconify when playing back and recording .inp files. 2000-08-04 Dominique Hazaël-Massieux * po/fr.po: New file. French translation 2000-08-03 Kjetil Thuen * grustibus.glade: Changed the labels on the path entries. Damjan Lango originally sent a patch to do this (among other things), but we have agreed on another solution for the other things, so I just did this manually. * no.po: Updated norwegian translation. * gui.c: Fixed a bug that caused the history to be empty for some games. * Released 0.42 2000-07-27 Kjetil Thuen * grustibus.c: Made an ugly, temporarily patch to make it work with xmame 0.37b4 xgl. Need to write some code to check for available options soon. * callbacks.c: Changed all occurances of gtk_entry_get_text() to gtk_editable_get_chars since the former is depreciated. 2000-07-19 Kjetil Thuen * no.po: Updated the Norwegian translation. * fileio.[ch]: Reads the catver file for category and mame version information. * autoconf files: Added the catver file to the distrobution. * gui.c: Show the new information in the gamelist. * gui.c, grustibus-pixmaps.h: Show a cute heart(scaled down aorta icon) in the list for the favourites. * mameio.c: Made the progressbar display the progress in percent in addition to the bar. 2000-07-18 Kjetil Thuen * grustibus.glade, grustibus.[ch], gui.[ch]: Changed the 16 bit togglebutton to be an auto depth button. Thanks to Gordon Gilbert for the tip. * grustibus.[ch]: Discovered the va_list argument list thingy and made a wrapper function around g_log called grustibus_debug(), so there is no need to do the ugly #ifdefs all over the place. * gui.[ch]: Rewrote grustubs_warning() to take standard printf argument lists. * *.[ch]: Made all functions that take char*'s as arguments take const char*'s instead wherever possible. 2000-07-17 Kjetil Thuen * gui.c: Loads and displays information from history.dat if found. 2000-07-15 Kjetil Thuen * mameio.c: Fixed the version checking again. Some variants of latest xmame (0.37b4) prints two lines when given the -version argument. Thanks to Gordon Gilbert for telling me about this bug. * mameio.c, grustibus.h: Made create_list() get much more info from xmame -listinfo. * gui.[ch]: Show some of the info from above in the game info page. * fileio.c : Loading and saving of the new and improved list. load_game_list() now refuses to load a list if it does not have the word gRustibus and a version >= 0.42 on the first line (in a comment). 2000-07-05 Kjetil Thuen * callbacks.c: Added a key_pressed callback to the entire window to make sure the key_release events catched actually come from gRustibus. This is to prevent that someone typing exit in a xterm, will start a game in gRustibus just because the focus switched over before the key was released. * gui.c: Rewrote rebuild_prefs_list() since it broke when I redid the prefs callback stuff. Some small changes to build_list() to. 2000-07-05 Kjetil Thuen * grustibus-icons.h, gui.[ch], callbacks.c: Made the notebookpage tabs show a little led indicating if the hidden page have any interesting information. Still need to make this optional as it can be quite expecive. * grutibus.glade, grustibus.h, gui.[ch], callbacks.c: A little later that day: I made it optional :) 2000-07-05 Kjetil Thuen * gui.c: Changed the frame around the screenshots, flyers and cabinets to be a GtkAspectFrame, so it appears the image itself is sunken in, not a constantly sized frame around it. It's not entirely right yet, some images gets some of their bottom pixels clipped. I have not figured out why. * callbacks.[ch], gui.c, grustibus.h: Did the rest of the cabinet photo stuff. * grustibus.glade, callbacks.[ch], gui.c: Added a Tabs menu for selecting which notebook tab is visible. Good for adding keyboardshortcuts. * callbacks.[ch], gui.[ch]. Rewrote the callback stuff of the preferences dialog. The way it was done was totally brain damaged. Now the Apply, OK and Close buttons do what is expected from them. * grustibus.c: Changed setenv to putenv, so it should compile on Solaris again. Thanks to Vincent Lee for reporting that 0.41 would not compile on Solaris. 2000-07-03 Kjetil Thuen * mameio.c: Added quotationmarks around the filename when recording or playing back game. Needed for the dreaded BETA 4 snapshot version string. Thanks again to Øyvind Gjøstøl for reporting this bug. 2000-07-01 Kjetil Thuen * grustibus.glade, callbacks.[ch], gui.c, mameio.c: Added record and playback game functionality. * grustibus.glade, callbacks.c, gui.c: Made the iconifying optional. * grustibus.[ch], fileio.c, grustibus.glade, callbacks.[ch]: Made checking for several imageformats optional to make it snappier. (for those people whose machines can only handle pacman :) * grustibus.glade, gui.c: Moved the favourite togglebutton out of the game settings notebookpage, it was not a good place for it. It is now placed aboce the notebook and is therefore always visible. * fileio.[ch], gui.[ch], grustibus.c, callbacks.c : Added support for multiple imagedirs (screenshots etc) * fileio.c: Looks for the images of its parent when game is a clone, and does not have images of its own. * gui.c, callbacks.c, grustibus.h, grustibus.galde: Made above feature optional. * gui.[ch]: Merged draw_screenshot and draw_flyer into draw_image which takes the ImageCavas struct as an extra argument. * gui.c, callbacks.c: Everywhere that did a gtk_clist_get_text() to get the gamename is replaced by gtk_clist_get_row_data()->romname. This way it is possible to implement the planned feature that the user can choose which coloumns to show in the clist. * mameio.c: Made the version parsing a little more roboust, so it will not crash with the xmame-0.37-BETA4 snapshot anymore. Thanks to Øyvind Gjøstøl for reporting this bug. * fileio.c: gRustibus now sorts the favourite file and removes bogous entries from it when loading. No need for the user to be careful if editing the file by hand anymore. 2000-07-01 Bernhard Josef Rieder * gui.c: Added support for several new screenshot/flyer imageformats (it now looks for .png, .gif, .jpg, .jpeg, .xpm, .bmp, .pnm, .tif, .tiff). 2000-06-30 Kjetil Thuen * Released 0.41 2000-06-29 Kjetil Thuen * grustibus.c: Fixed the extra_options stuff from last night, since it seems its authour is not as bright at 6 in the morning as he thought he was :) * gui.c Added a title to the preferences window. * no.po: Updated the Norwegian translation. 2000-06-27 Kjetil Thuen * grustibus.c: Some polishing of the fullscreen stuff with various xmame display targets. * grustibus.[ch], gui.c, fileio.c, callbacks.[ch], grustibus.glade: Added a cheat togglebutton and a textfield for extra options into. to the gamesettings. * callbacks.c: When ok or apply in the preferences dialog is clicked, the changes is reflected in the game settings page without selecting a new game. 2000-06-26 Kjetil Thuen * callbacks.c, callbacks.h, grustibus.c, grustibus.h, gui.c, gui.h: Added select random game toolbar button and menuitem. Separated code to select a game into a dedicated function. * grustibus.glade: Added a history_id to the GnomeFileEntrys so the history field works now. * grustibus.h, gui.c, fileio.c, mameio.c: The romstatus field in the gamelist now is an enum instead of a string. In my twisted imagination this made the clist rendering much snappier since it doesnt have to compare strings all the time, * callbacks.c, gui.c: Create the prefs window on startup and just hide/show it when needed. This fixes a nasty memleak. * gui.c: If the defaultsnap.png file is not found, use the icon instead. This should fix a crash some people (with corrupt GNOME installations) have been experiencing. * gui.c: Free'd the string returned by gnome_pixmap_file in startup_gui(). Fixes two small memleaks. * gui.c: lookup_game() does no longer allow the user to type characters which does not match any game. 2000-06-25 Kjetil Thuen * callbacks.c, fileio.[ch], mameio.[ch], grustibus.c: Added checking of xmame version and display target on startup and on changing of xmame executable. It also checks the romdirs for existence. If xmame is to old or not runable gRustibus will complain and will not try to build a gamelist. The version and display target is reported in the statusbar. * grustibus.c: The xmame options are set according to wich display target the installed xmame uses. This should make gRustibus work with xmame-gl and other kinds of mame. * gui.h, gui.c: Added a grustibus_warning wrapper around gnome_app_warning to remove gui specific code from the other files. * grustibus.glade, callbacks.c: Added a "Visit homepage" menuitem. * gui.c: The pointer becomes a watch while building the gamelist. * mameio.c: Removed a memleak on the status string. 2000-06-20 Kjetil Thuen * callbacks.c: Remove the timeout event for selected game when it is timed out. * mameio.c, gui.c: Fixed a bunch of memleaks. (I've been sloppy) * mameio.c: Made grustibus "press any key" when starting xmame. * gui.c: The "really quit?" dialog now lets the user save her setting directly from the dialog. * fileio.c, fileio.h, grustibus.h, grustibus.c: Checks to see if the xmame executable or the romdir has changed since the last run. 2000-06-02 Kjetil Thuen * fileio.c: Some of the boolean preference options were loaded and saved as int instead of bool, but still the default value was "TRUE". This caused the default settings of these options to not work out of the box. The options affected was "favourite colors overrides.." and "save window settings automaticly". Thanks to Øyvind Gjøstøl for reporting this bug. 2000-05-29 Kjetil Thuen * grustibus.glade: Updated the volume slider to let the user set the volume from -32 to 0db. This is the new values used in the latest xmame versions. Thanks to Vincent Lee for reporting this bug. 2000-05-29 Kjetil Thuen * grustibus.spec: New file. First attempt at a spec file for creating rpm packages. It was modelled after eog's spec file. Probably doesn't work right yet, but atleast it is something to debug :) 2000-05-23 Kjetil Thuen * grustibus-icon.h: New file. * gui.c, gui.h: Made gRustibus set its icon on startup, so people using a wm that shows icons (or that new snazzy gnome-panel) will get one. * gui.c : When a game is started, gRustibus will iconify untill the game is quit. This might be nice for people playing in a window. 2000-05-19 Kjetil Thuen * gui.c: The preferences dialog had this crazy idea that any change meant that a new gamelist had to be created. The reason was that the mame executable and rompath dialogs had been changed by the program when it was created (the current value had been filled in). * Made .deb and .rpm packages. The rpm is made using alien on the deb. 2000-05-18 Charles * grustibus.c: Some gchars where free()'d instead of gfree()'d. Also, some where not free'd at all. 2000-05-17 Kjetil Thuen * callbacks.c, callbacks.h, grustibus.h: Added a gtk_timeout to the game_clist_selected callback if it is not called by a mouseclick. This way it will not try to draw screenshots, flyers and set the widgets for every game in the list if the user presses and holds up, down, pgdn or pgup. 2000-05-16 Kjetil Thuen * callbacks.c, callbacks.h, interface.c: Changed the callbacks for comboentrys from 'activated' to 'changed', so its no longer needed to press return to register the change. * gui.c: The apply button of the prefs dialog is now ghosted when the dialog is first opened, like it should be. 2000-05-12 Kjetil Thuen * added Norwegian translation * callbacks.c: Search completion did not work when numlock or scroll lock was active. Added some modifiers to fix this. 2000-05-10 Kjetil Thuen * grustibus.png: New file (icon) 2000-05-06 Kjetil Thuen * callbacks.c, gui.c, interface,c: The historyfile selector was incorrectly labeled mameinfo file. The source had the wrong names as well. 2000-05-04 Kjetil Thuen * callbacks.c: The rompath could only be 50 characters long. This was kind of sparse when trying to enter multiple rompaths. Changed it to 500 :) Thanks to Bob Zimbinski for reporting this. 2000-04-21 Kjetil Thuen * grustibus.desktop: New File 2000-04-12 Kjetil Thuen * Made the web pages 2000-04-09 Kjetil Thuen * First release (0.40)