[Fuse-for-macosx-commits] SF.net SVN: fuse-for-macosx:[754] vendor/fuse-emulator/current
Brought to you by:
fredm
From: <fr...@us...> - 2013-05-25 03:45:42
|
Revision: 754 http://sourceforge.net/p/fuse-for-macosx/code/754 Author: fredm Date: 2013-05-25 03:45:38 +0000 (Sat, 25 May 2013) Log Message: ----------- Load . into vendor/fuse-emulator/current. Modified Paths: -------------- vendor/fuse-emulator/current/fuse/AUTHORS vendor/fuse-emulator/current/fuse/ChangeLog vendor/fuse-emulator/current/fuse/Makefile.am vendor/fuse-emulator/current/fuse/README vendor/fuse-emulator/current/fuse/configure.ac vendor/fuse-emulator/current/fuse/hacking/ChangeLog vendor/fuse-emulator/current/fuse/hacking/Makefile.am vendor/fuse-emulator/current/fuse/lib/Makefile.am vendor/fuse-emulator/current/fuse/man/fuse.1 vendor/fuse-emulator/current/fuse/peripherals/ide/divide.c vendor/fuse-emulator/current/fuse/peripherals/ide/divide.h vendor/fuse-emulator/current/fuse/peripherals/ide/ide.c vendor/fuse-emulator/current/fuse/peripherals/ide/ide.h vendor/fuse-emulator/current/fuse/peripherals/ide/simpleide.c vendor/fuse-emulator/current/fuse/peripherals/ide/simpleide.h vendor/fuse-emulator/current/fuse/peripherals/ide/zxatasp.c vendor/fuse-emulator/current/fuse/peripherals/ide/zxatasp.h vendor/fuse-emulator/current/fuse/peripherals/ide/zxcf.c vendor/fuse-emulator/current/fuse/peripherals/ide/zxcf.h vendor/fuse-emulator/current/fuse/sound/Makefile.am vendor/fuse-emulator/current/fuse/ui/gtk/gtkui.c vendor/fuse-emulator/current/fuse/ui/widget/menu.c vendor/fuse-emulator/current/fuse/ui/widget/options.pl vendor/fuse-emulator/current/fuse/ui/widget/query.c vendor/fuse-emulator/current/fuse/ui/widget/widget.c vendor/fuse-emulator/current/fuse/ui/widget/widget_internals.h vendor/fuse-emulator/current/fuse/ui/wii/Makefile.am vendor/fuse-emulator/current/fuse/ui/win32/win32ui.c vendor/fuse-emulator/current/libspectrum/ChangeLog vendor/fuse-emulator/current/libspectrum/Makefile.am vendor/fuse-emulator/current/libspectrum/README vendor/fuse-emulator/current/libspectrum/configure.ac vendor/fuse-emulator/current/libspectrum/doc/libspectrum.3 vendor/fuse-emulator/current/libspectrum/doc/libspectrum.txt vendor/fuse-emulator/current/libspectrum/hacking/ChangeLog Modified: vendor/fuse-emulator/current/fuse/AUTHORS =================================================================== --- vendor/fuse-emulator/current/fuse/AUTHORS 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/AUTHORS 2013-05-25 03:45:38 UTC (rev 754) @@ -34,6 +34,8 @@ * Marek Januszewski: Some patches making Fuse much closer to compiling under Win32, and fixing up the GTK+ 2.0 interface. +* Sergio Baldoví: improvements to the Win32 UI. + * Stuart Brady: for the Scorpion, +D interface emulation and HP-UX sound support. @@ -52,4 +54,4 @@ * Philip Kendall: everything else. -$Id: AUTHORS 4835 2012-12-31 15:35:45Z zubzero $ +$Id: AUTHORS 4972 2013-05-19 16:46:43Z zubzero $ Modified: vendor/fuse-emulator/current/fuse/ChangeLog =================================================================== --- vendor/fuse-emulator/current/fuse/ChangeLog 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/ChangeLog 2013-05-25 03:45:38 UTC (rev 754) @@ -1,5 +1,14 @@ -2013-05-18 Philip Kendall <phi...@sh...> +2013-05-24 Philip Kendall <phi...@sh...> + * Fuse 1.1.1 released. + + * Distribute PORTING,hacking/valgrind.supp,sound/wiisound.c, + tests/success.{mgt.bz2,opd} and ui/wii/wiimouse.h (Stuart Brady). + * Add ChangeLog entries for 1.0.0.1 and 1.0.0.1a (Fredrick Meunier). + * Release correct version of source files. + +2013-05-19 Philip Kendall <phi...@sh...> + * Fuse 1.1.0 released. * Remove ROMs that there is no formal permission to distribute. @@ -57,6 +66,22 @@ * Various other minor bugfixes. +2011-04-01 Philip Kendall <phi...@sh...> + + * Fuse 1.0.0.1a released. + + * Remove all ROMs for which there isn't explicit permission to + distribute (Philip Kendall). + +2011-01-12 Philip Kendall <phi...@sh...> + + * Fuse 1.0.0.1 released. + + * Fix temporary breakpoints on platforms using replacement Glib + (Fredrick Meunier, Sergio Baldovi; thanks, Chris Cowley) + * Ensure Amiga port can load files (Chris Young) + * Fix SVGAlib compilation (rkd77) + 2010-12-16 Philip Kendall <phi...@sh...> * Fuse 1.0.0 released. @@ -1094,4 +1119,4 @@ * Version 0.1.0 released. -$Id: ChangeLog 4944 2013-05-16 20:55:22Z pak21 $ +$Id: ChangeLog 4995 2013-05-24 19:54:19Z zubzero $ Modified: vendor/fuse-emulator/current/fuse/Makefile.am =================================================================== --- vendor/fuse-emulator/current/fuse/Makefile.am 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/Makefile.am 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in ## Copyright (c) 1999-2009 Philip Kendall -## $Id: Makefile.am 4782 2012-12-02 22:49:57Z sbaldovi $ +## $Id: Makefile.am 4980 2013-05-21 12:37:51Z fredm $ ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -203,6 +203,7 @@ EXTRA_DIST = AUTHORS \ INSTALL \ + PORTING \ README \ THANKS \ keysyms.dat \ Modified: vendor/fuse-emulator/current/fuse/README =================================================================== --- vendor/fuse-emulator/current/fuse/README 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/README 2013-05-25 03:45:38 UTC (rev 754) @@ -1,4 +1,4 @@ -The Free Unix Spectrum Emulator (Fuse) 1.1.0 +The Free Unix Spectrum Emulator (Fuse) 1.1.1 ============================================ Fuse (the Free Unix Spectrum Emulator) was originally, and somewhat @@ -105,6 +105,6 @@ <http://www.worldofspectrum.org/forums/>. Philip Kendall <phi...@sh...> -18th May, 2013 +24th May, 2013 -$Id: README 4958 2013-05-18 13:07:46Z zubzero $ +$Id: README 4995 2013-05-24 19:54:19Z zubzero $ Modified: vendor/fuse-emulator/current/fuse/configure.ac =================================================================== --- vendor/fuse-emulator/current/fuse/configure.ac 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/configure.ac 2013-05-25 03:45:38 UTC (rev 754) @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Id: configure.ac 4898 2013-02-25 22:20:54Z pak21 $ +dnl $Id: configure.ac 4995 2013-05-24 19:54:19Z zubzero $ dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -20,12 +20,12 @@ dnl E-mail: phi...@sh... dnl Package version -m4_define([fuse_version], [1.1.0]) +m4_define([fuse_version], [1.1.1]) dnl Product full version m4_define([fuse_major_version], [1]) m4_define([fuse_minor_version], [1]) -m4_define([fuse_micro_version], [0]) +m4_define([fuse_micro_version], [1]) m4_define([fuse_nano_version], [0]) m4_define([fuse_full_version], [fuse_major_version.fuse_minor_version.fuse_micro_version.fuse_nano_version]) m4_define([fuse_rc_version], [fuse_major_version,fuse_minor_version,fuse_micro_version,fuse_nano_version]) Modified: vendor/fuse-emulator/current/fuse/hacking/ChangeLog =================================================================== --- vendor/fuse-emulator/current/fuse/hacking/ChangeLog 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/hacking/ChangeLog 2013-05-25 03:45:38 UTC (rev 754) @@ -3401,6 +3401,7 @@ everything else (fixes bug #3084862) (thanks, Phil) (Fred). 20110104 nic: add .deps and Makefile to the ignore property (Fred). 20110109 ui/widget/filesel.c: make Amiga work again (Chris Young). +20110112 ChangeLog,README,configure.in,man/fuse.1: updates for 1.0.0.1 release. 20110113 ui/win32/installer/fuse.nsi: windows installer improvements; optionally delete configuration file (fuse.cfg) on uninstall, silently uninstall previous version if reinstalling to the same folder, include AUTHORS @@ -3552,8 +3553,11 @@ Makefile.am}: remove ROMs that there is no formal permission to distribute. 20110327 roms/Makefile.am: distribute README.copyright. +20110327 ChangeLog,README,configure.in,fuse.c,man/fuse.1: updates for 1.0.0.1a + release. 20110328 configure.in: allow the user to say they do not want to use windres (works around bug #3248008; thanks, Cygnus). +20110401 ChangeLog,man/fuse.1: didn't manage to release this earlier. 20110401 peripherals/disk/{opus,plusd}.c: remove incorrect use of GCC_UNUSED (Stuart). 20110401 fuse.c,ui/{gtk/gtkui.c,widget/menu.c},windres.rc: update copyright @@ -4494,3 +4498,23 @@ confirmation dialogue for reset due to peripheral changes (Sergio). 20130517 README: update date for 1.1 release. 20130518 README: mention DISCiPLE support (Stuart). +20130518 ui/widget/options.pl: display confirmation dialogue for reset due to + peripheral changes (Stuart). +20130518 ui/widget/options.pl: update peripherals list when a machine reset is + not needed (Sergio). +20130519 ui/widget/{query.c,widget.c,widget_internals.h}: display confirmation + messages (Stuart). +20130519 ui/widget/{options.pl,query.c}: choose no/cancel upon pressing escape + for all all confirmation dialogues, and remove workaround for this + from peripheral reset confirmation dialogue (Stuart). +20130519 ui/{gtk/gtkui.c,widget/menu.c,win32/win32ui.c}: use different + confirmation messages for hard and soft resets (Stuart). +20130519 ChangeLog,README,man/fuse.1: update date for 1.1 release (Stuart). +20130519 AUTHOR,man/fuse.1: Add Sergio Baldoví (Stuart). +20130519 lib/Makefile.am: distribute tests/success.{mgt.bz2,opd} (Stuart). +20130519 Makefile.am,hacking/Makefile.am,sound/Makefile.am,ui/wii/Makefile.am: + distribute PORTING,hacking/valgrind.supp,sound/wiisound.c, + ui/wii/wiimouse.h (Stuart). +20130524 ChangeLog,README: updates for a "1.1.1" release (Fred). +20130524 ChangeLog,README,configure.ac,man/fuse.1: fill in date and bump + version number (Stuart). Modified: vendor/fuse-emulator/current/fuse/hacking/Makefile.am =================================================================== --- vendor/fuse-emulator/current/fuse/hacking/Makefile.am 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/hacking/Makefile.am 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in ## Copyright (c) 2002-2011 Philip Kendall -## $Id: Makefile.am 4663 2012-02-11 12:48:36Z fredm $ +## $Id: Makefile.am 4980 2013-05-21 12:37:51Z fredm $ ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -33,4 +33,5 @@ spectranet.txt \ tc2048_tech_notes.txt \ timer.txt \ - ui.txt + ui.txt \ + valgrind.supp Modified: vendor/fuse-emulator/current/fuse/lib/Makefile.am =================================================================== --- vendor/fuse-emulator/current/fuse/lib/Makefile.am 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/lib/Makefile.am 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in ## Copyright (c) 1999-2004 Philip Kendall -## $Id: Makefile.am 4624 2012-01-09 20:59:35Z pak21 $ +## $Id: Makefile.am 4980 2013-05-21 12:37:51Z fredm $ ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -64,6 +64,8 @@ tests/fatware-success.hdf.bz2 \ tests/idedos-success.hdf.bz2 \ tests/success.mdr \ + tests/success.mgt.bz2 \ + tests/success.opd \ tests/success.udi \ uncompressed/disk_plus3.szx \ uncompressed/tape_128.szx \ Modified: vendor/fuse-emulator/current/fuse/man/fuse.1 =================================================================== --- vendor/fuse-emulator/current/fuse/man/fuse.1 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/man/fuse.1 2013-05-25 03:45:38 UTC (rev 754) @@ -23,7 +23,7 @@ .\" E-mail: phi...@sh... .\" .\" -.TH fuse 1 "18th May, 2013" "Version 1.1.0" "Emulators" +.TH fuse 1 "24th May, 2013" "Version 1.1.1" "Emulators" .\" .\"------------------------------------------------------------------ .\" @@ -4779,6 +4779,8 @@ Marek Januszewski wrote various bits of code to make Fuse work under Win32, including the DirectDraw user interface. .PP +Sergio Baldov\('i made many improvements to the Win32 UI. +.PP Stuart Brady wrote the DISCiPLE and +D emulation, Scorpion emulation and the HP-UX sound code. .PP Modified: vendor/fuse-emulator/current/fuse/peripherals/ide/divide.c =================================================================== --- vendor/fuse-emulator/current/fuse/peripherals/ide/divide.c 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/peripherals/ide/divide.c 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* divide.c: DivIDE interface routines Copyright (c) 2005-2008 Matthew Westcott, Philip Kendall - $Id: divide.c 4906 2013-03-10 11:21:37Z fredm $ + $Id: divide.c 4972 2013-05-19 16:46:43Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by Modified: vendor/fuse-emulator/current/fuse/peripherals/ide/divide.h =================================================================== --- vendor/fuse-emulator/current/fuse/peripherals/ide/divide.h 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/peripherals/ide/divide.h 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* divide.h: DivIDE interface routines Copyright (c) 2005 Matthew Westcott - $Id: divide.h 4924 2013-05-05 07:40:02Z sbaldovi $ + $Id: divide.h 4972 2013-05-19 16:46:43Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by Modified: vendor/fuse-emulator/current/fuse/peripherals/ide/ide.c =================================================================== --- vendor/fuse-emulator/current/fuse/peripherals/ide/ide.c 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/peripherals/ide/ide.c 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* ide.c: Generic routines shared between the various IDE devices Copyright (c) 2005 Philip Kendall - $Id: ide.c 4664 2012-02-12 11:51:01Z fredm $ + $Id: ide.c 4972 2013-05-19 16:46:43Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by Modified: vendor/fuse-emulator/current/fuse/peripherals/ide/ide.h =================================================================== --- vendor/fuse-emulator/current/fuse/peripherals/ide/ide.h 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/peripherals/ide/ide.h 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* ide.h: Generic routines shared between the various IDE devices Copyright (c) 2005 Philip Kendall - $Id: ide.h 4664 2012-02-12 11:51:01Z fredm $ + $Id: ide.h 4972 2013-05-19 16:46:43Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by Modified: vendor/fuse-emulator/current/fuse/peripherals/ide/simpleide.c =================================================================== --- vendor/fuse-emulator/current/fuse/peripherals/ide/simpleide.c 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/peripherals/ide/simpleide.c 2013-05-25 03:45:38 UTC (rev 754) @@ -3,7 +3,7 @@ 2004 Philip Kendall, 2008 Fredrick Meunier - $Id: simpleide.c 4926 2013-05-05 07:58:18Z sbaldovi $ + $Id: simpleide.c 4972 2013-05-19 16:46:43Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by Modified: vendor/fuse-emulator/current/fuse/peripherals/ide/simpleide.h =================================================================== --- vendor/fuse-emulator/current/fuse/peripherals/ide/simpleide.h 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/peripherals/ide/simpleide.h 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* simpleide.h: Simple 8-bit IDE interface routines Copyright (c) 2003-2004 Garry Lancaster - $Id: simpleide.h 4664 2012-02-12 11:51:01Z fredm $ + $Id: simpleide.h 4972 2013-05-19 16:46:43Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by Modified: vendor/fuse-emulator/current/fuse/peripherals/ide/zxatasp.c =================================================================== --- vendor/fuse-emulator/current/fuse/peripherals/ide/zxatasp.c 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/peripherals/ide/zxatasp.c 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* zxatasp.c: ZXATASP interface routines Copyright (c) 2003-2008 Garry Lancaster and Philip Kendall - $Id: zxatasp.c 4906 2013-03-10 11:21:37Z fredm $ + $Id: zxatasp.c 4972 2013-05-19 16:46:43Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by Modified: vendor/fuse-emulator/current/fuse/peripherals/ide/zxatasp.h =================================================================== --- vendor/fuse-emulator/current/fuse/peripherals/ide/zxatasp.h 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/peripherals/ide/zxatasp.h 2013-05-25 03:45:38 UTC (rev 754) @@ -2,7 +2,7 @@ Copyright (c) 2003-2004 Garry Lancaster, 2004 Philip Kendall - $Id: zxatasp.h 4664 2012-02-12 11:51:01Z fredm $ + $Id: zxatasp.h 4972 2013-05-19 16:46:43Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by Modified: vendor/fuse-emulator/current/fuse/peripherals/ide/zxcf.c =================================================================== --- vendor/fuse-emulator/current/fuse/peripherals/ide/zxcf.c 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/peripherals/ide/zxcf.c 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* zxcf.c: ZXCF interface routines Copyright (c) 2003-2008 Garry Lancaster and Philip Kendall - $Id: zxcf.c 4906 2013-03-10 11:21:37Z fredm $ + $Id: zxcf.c 4972 2013-05-19 16:46:43Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by Modified: vendor/fuse-emulator/current/fuse/peripherals/ide/zxcf.h =================================================================== --- vendor/fuse-emulator/current/fuse/peripherals/ide/zxcf.h 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/peripherals/ide/zxcf.h 2013-05-25 03:45:38 UTC (rev 754) @@ -2,7 +2,7 @@ Copyright (c) 2003-2004 Garry Lancaster, 2004 Philip Kendall - $Id: zxcf.h 4664 2012-02-12 11:51:01Z fredm $ + $Id: zxcf.h 4972 2013-05-19 16:46:43Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by Modified: vendor/fuse-emulator/current/fuse/sound/Makefile.am =================================================================== --- vendor/fuse-emulator/current/fuse/sound/Makefile.am 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/sound/Makefile.am 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in ## Copyright (c) 2004 Philip Kendall -## $Id: Makefile.am 4743 2012-10-10 13:20:50Z fredm $ +## $Id: Makefile.am 4980 2013-05-21 12:37:51Z fredm $ ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -41,6 +41,7 @@ sdlsound.c \ sfifo.c \ sunsound.c \ + wiisound.c \ win32sound.c libsound_a_LIBADD = $(SOUND_LIBADD) Modified: vendor/fuse-emulator/current/fuse/ui/gtk/gtkui.c =================================================================== --- vendor/fuse-emulator/current/fuse/ui/gtk/gtkui.c 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/ui/gtk/gtkui.c 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* gtkui.c: GTK+ routines for dealing with the user interface Copyright (c) 2000-2005 Philip Kendall, Russell Marks - $Id: gtkui.c 4962 2013-05-19 05:25:15Z sbaldovi $ + $Id: gtkui.c 4968 2013-05-19 16:11:17Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -536,8 +536,12 @@ menu_machine_reset( GtkAction *gtk_action GCC_UNUSED, guint action ) { int hard_reset = action; + const char *message = "Reset?"; - if( gtkui_confirm( "Reset?" ) && machine_reset( hard_reset ) ) { + if( hard_reset ) + message = "Hard reset?"; + + if( gtkui_confirm( message ) && machine_reset( hard_reset ) ) { ui_error( UI_ERROR_ERROR, "couldn't reset machine: giving up!" ); /* FIXME: abort() seems a bit extreme here, but it'll do for now */ Modified: vendor/fuse-emulator/current/fuse/ui/widget/menu.c =================================================================== --- vendor/fuse-emulator/current/fuse/ui/widget/menu.c 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/ui/widget/menu.c 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* menu.c: general menu widget Copyright (c) 2001-2006 Philip Kendall - $Id: menu.c 4915 2013-04-07 05:32:09Z fredm $ + $Id: menu.c 4968 2013-05-19 16:11:17Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -584,12 +584,18 @@ void menu_machine_reset( int action ) { - if( widget_do( WIDGET_TYPE_QUERY, "Reset machine?" ) || + int hard_reset = action; + const char *message = "Reset?"; + + if( hard_reset ) + message = "Hard reset?"; + + if( widget_do( WIDGET_TYPE_QUERY, message ) || !widget_query.confirm ) return; widget_end_all( WIDGET_FINISHED_OK ); - machine_reset( action ); + machine_reset( hard_reset ); } void Modified: vendor/fuse-emulator/current/fuse/ui/widget/options.pl =================================================================== --- vendor/fuse-emulator/current/fuse/ui/widget/options.pl 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/ui/widget/options.pl 2013-05-25 03:45:38 UTC (rev 754) @@ -1,9 +1,9 @@ #!/usr/bin/perl -w # options.pl: generate options dialog boxes -# Copyright (c) 2001-2008 Philip Kendall, Fredrick Meunier +# Copyright (c) 2001-2013 Philip Kendall, Fredrick Meunier -# $Id: options.pl 4961 2013-05-19 05:17:30Z sbaldovi $ +# $Id: options.pl 4969 2013-05-19 16:21:14Z zubzero $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -37,7 +37,7 @@ my @dialogs = Fuse::Dialog::read( shift @ARGV ); print Fuse::GPL( 'options.c: options dialog boxes', - '2001-2004 Philip Kendall' ) . << "CODE"; + '2001-2013 Philip Kendall' ) . << "CODE"; /* This file is autogenerated from options.dat by options.pl. Do not edit unless you know what you\'re doing! */ @@ -363,11 +363,35 @@ int widget_options_finish( widget_finish_state finished ) { + int error; + /* If we exited normally, actually set the options */ if( finished == WIDGET_FINISHED_OK ) { + /* Get a copy of current settings */ + settings_info original_settings; + memset( &original_settings, 0, sizeof( settings_info ) ); + settings_copy( &original_settings, &settings_current ); + + /* Apply new options */ settings_copy( &settings_current, &widget_options_settings ); - /* Bring the peripherals list into sync with the new options */ - periph_posthook(); + + int needs_hard_reset = periph_postcheck(); + + if( needs_hard_reset ) { + error = widget_do( WIDGET_TYPE_QUERY, + "Some options need to reset the machine. Reset?" ); + if( !error && !widget_query.confirm ) + settings_copy( &settings_current, &original_settings ); + else + periph_posthook(); + } + else { + /* Bring the peripherals list into sync with the new options */ + periph_posthook(); + } + + settings_free( &original_settings ); + /* make the needed UI changes */ uidisplay_hotswap_gfx_mode(); } Modified: vendor/fuse-emulator/current/fuse/ui/widget/query.c =================================================================== --- vendor/fuse-emulator/current/fuse/ui/widget/query.c 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/ui/widget/query.c 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* query.c: The query widgets Copyright (c) 2004-2008 Darren Salt, Fredrick Meunier - $Id: query.c 4179 2010-10-08 10:05:55Z fredm $ + $Id: query.c 4968 2013-05-19 16:11:17Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ #include <string.h> #include "fuse.h" +#include "utils.h" #include "widget_internals.h" widget_query_t widget_query; @@ -104,12 +105,15 @@ static size_t highlight_line = 0; +static char **message_lines; +static size_t num_message_lines; + static void widget_query_line_draw( int left_edge, int width, struct widget_query_entry *menu, const char *label ) { int colour = WIDGET_COLOUR_BACKGROUND; - int y = menu->index * 8 + 24; + int y = (menu->index + num_message_lines) * 8 + 24; if( menu->index == highlight_line ) colour = WIDGET_COLOUR_HIGHLIGHT; widget_rectangle( left_edge*8+1, y, width*8-2, 1*8, colour ); @@ -121,10 +125,12 @@ const int query_vert_external_margin = 8; static int -widget_calculate_query_width( const char *title, widget_query_entry *menu ) +widget_calculate_query_width( const char *title, widget_query_entry *menu, + char **lines, int num_lines ) { widget_query_entry *ptr; int max_width=0; + int i; if (!menu) { return 64; @@ -139,17 +145,34 @@ max_width = total_width; } + for( i=0; i<num_lines; i++) { + int total_width = widget_stringwidth( lines[i] )+2*8; + + if( total_width > max_width ) + max_width = total_width; + } + return ( max_width + query_vert_external_margin * 2 ) / 8; } static int -internal_query_draw( widget_query_entry *query, int save, const char *data ) +internal_query_draw( widget_query_entry *query, int save, const char *message ) { widget_query_entry *ptr; size_t height = 0; - int menu_width = widget_calculate_query_width( title, query ); + int menu_width; int menu_left_edge_x; + int i; + if( split_message( message, &message_lines, &num_message_lines, 28 ) ) { + return 1; + } + + menu_width = widget_calculate_query_width( title, query, message_lines, + num_message_lines ); + + height = num_message_lines; + /* How many options do we have? */ for( ptr = query; ptr->text; ptr++ ) height ++; @@ -161,6 +184,11 @@ widget_printstring( menu_left_edge_x*8+2, 16, WIDGET_COLOUR_TITLE, title ); + for( i=0; i<num_message_lines; i++ ) { + widget_printstring( menu_left_edge_x*8+8, i*8+24, + WIDGET_COLOUR_FOREGROUND, message_lines[i] ); + } + for( ptr = query; ptr->text; ptr++ ) { widget_query_line_draw( menu_left_edge_x, menu_width, ptr, ptr->text ); } @@ -174,6 +202,7 @@ widget_query_draw( void *data ) { highlight_line = 0; + widget_query.confirm = 0; return internal_query_draw( query_confirm, 0, (const char *) data ); } @@ -181,6 +210,7 @@ widget_query_save_draw( void *data ) { highlight_line = 0; + widget_query.save = UI_CONFIRM_SAVE_CANCEL; return internal_query_draw( query_save, 1, (const char *) data ); } @@ -191,7 +221,8 @@ int new_highlight_line = 0; int cursor_pressed = 0; widget_query_entry *ptr; - int menu_width = widget_calculate_query_width( title, query ); + int menu_width = widget_calculate_query_width( title, query, message_lines, + num_message_lines ); int menu_left_edge_x = DISPLAY_WIDTH_COLS/2-menu_width/2; switch( key ) { @@ -282,3 +313,15 @@ sizeof(query_save)/sizeof(widget_query_entry), key ); } + +int +widget_query_finish( widget_finish_state finished ) +{ + int i; + for( i=0; i<num_message_lines; i++ ) { + free( message_lines[i] ); + } + free( message_lines ); + + return 0; +} Modified: vendor/fuse-emulator/current/fuse/ui/widget/widget.c =================================================================== --- vendor/fuse-emulator/current/fuse/ui/widget/widget.c 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/ui/widget/widget.c 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* widget.c: Simple dialog boxes for all user interfaces. Copyright (c) 2001-2005 Matan Ziv-Av, Philip Kendall, Russell Marks - $Id: widget.c 4697 2012-05-07 02:28:52Z fredm $ + $Id: widget.c 4968 2013-05-19 16:11:17Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -692,8 +692,8 @@ { widget_roms_draw, widget_roms_finish, widget_roms_keyhandler }, { widget_peripherals_general_draw, widget_options_finish, widget_peripherals_general_keyhandler }, { widget_peripherals_disk_draw, widget_options_finish, widget_peripherals_disk_keyhandler }, - { widget_query_draw, NULL, widget_query_keyhandler }, - { widget_query_save_draw,NULL, widget_query_save_keyhandler }, + { widget_query_draw, widget_query_finish, widget_query_keyhandler }, + { widget_query_save_draw,widget_query_finish, widget_query_save_keyhandler }, { widget_diskoptions_draw, widget_options_finish, widget_diskoptions_keyhandler }, }; Modified: vendor/fuse-emulator/current/fuse/ui/widget/widget_internals.h =================================================================== --- vendor/fuse-emulator/current/fuse/ui/widget/widget_internals.h 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/ui/widget/widget_internals.h 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* widget_internals.h: Functions internal to the widget code Copyright (c) 2001-2005 Matan Ziv-Av, Philip Kendall - $Id: widget_internals.h 4543 2011-09-19 01:46:48Z fredm $ + $Id: widget_internals.h 4968 2013-05-19 16:11:17Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -259,6 +259,7 @@ void widget_query_keyhandler( input_key key ); int widget_query_save_draw( void *data ); void widget_query_save_keyhandler( input_key key ); +int widget_query_finish( widget_finish_state finished ); /* The widgets actually available */ Modified: vendor/fuse-emulator/current/fuse/ui/wii/Makefile.am =================================================================== --- vendor/fuse-emulator/current/fuse/ui/wii/Makefile.am 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/ui/wii/Makefile.am 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in ## Copyright (c) 2001-2009 Philip Kendall, Bjoern Giesler -## $Id: Makefile.am 4743 2012-10-10 13:20:50Z fredm $ +## $Id: Makefile.am 4980 2013-05-21 12:37:51Z fredm $ ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -43,6 +43,7 @@ noinst_HEADERS = wiidisplay.h \ wiikeyboard.h \ - wiikeysyms.h + wiikeysyms.h \ + wiimouse.h CLEANFILES = keysyms.c Modified: vendor/fuse-emulator/current/fuse/ui/win32/win32ui.c =================================================================== --- vendor/fuse-emulator/current/fuse/ui/win32/win32ui.c 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/fuse/ui/win32/win32ui.c 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ /* win32ui.c: Win32 routines for dealing with the user interface Copyright (c) 2003-2007 Marek Januszewski, Philip Kendall, Stuart Brady - $Id: win32ui.c 4849 2013-01-03 23:27:39Z sbaldovi $ + $Id: win32ui.c 4968 2013-05-19 16:11:17Z zubzero $ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -564,8 +564,12 @@ menu_machine_reset( int action ) { int hard_reset = action; + const char *message = "Reset?"; + + if( hard_reset ) + message = "Hard reset?"; - if( win32ui_confirm( "Reset?" ) && machine_reset( hard_reset ) ) { + if( win32ui_confirm( message ) && machine_reset( hard_reset ) ) { ui_error( UI_ERROR_ERROR, "couldn't reset machine: giving up!" ); /* FIXME: abort() seems a bit extreme here, but it'll do for now */ Modified: vendor/fuse-emulator/current/libspectrum/ChangeLog =================================================================== --- vendor/fuse-emulator/current/libspectrum/ChangeLog 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/libspectrum/ChangeLog 2013-05-25 03:45:38 UTC (rev 754) @@ -1,3 +1,10 @@ +2013-05-24 Philip Kendall <phi...@sh...> + + * libspectrum 1.1.1 released. + + * Decreased libtool version to allow binaries built against + libspectrum 1.0.0 to run with libspectrum 1.1.1. + 2013-05-18 Philip Kendall <phi...@sh...> * libspectrum 1.1.0 released. @@ -333,5 +340,5 @@ * libspectrum separated from Fuse just before the 0.5.0 release of Fuse; see Fuse's ChangeLog for changes up to this point -$Id: ChangeLog 4948 2013-05-16 21:00:24Z pak21 $ +$Id: ChangeLog 4994 2013-05-24 19:52:37Z zubzero $ Modified: vendor/fuse-emulator/current/libspectrum/Makefile.am =================================================================== --- vendor/fuse-emulator/current/libspectrum/Makefile.am 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/libspectrum/Makefile.am 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in ## Copyright (c) 2001-2013 Philip Kendall -## $Id: Makefile.am 4935 2013-05-16 19:43:50Z pak21 $ +## $Id: Makefile.am 4985 2013-05-24 17:27:14Z zubzero $ ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -63,7 +63,7 @@ zlib.c \ zxs.c -libspectrum_la_LDFLAGS = -version-info 9:0:0 -no-undefined @WINDRES_LDFLAGS@ +libspectrum_la_LDFLAGS = -version-info 9:0:1 -no-undefined @WINDRES_LDFLAGS@ libspectrum_la_LIBADD = @AUDIOFILE_LIBS@ @GLIB_LIBS@ -lm Modified: vendor/fuse-emulator/current/libspectrum/README =================================================================== --- vendor/fuse-emulator/current/libspectrum/README 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/libspectrum/README 2013-05-25 03:45:38 UTC (rev 754) @@ -1,4 +1,4 @@ -libspectrum 1.1.0 +libspectrum 1.1.1 ================= libspectrum is a library which is designed to make the input and @@ -67,6 +67,6 @@ Then, type "make" and if everything went well, "make install". Philip Kendall <phi...@sh...> -18th May, 2013 +24th May, 2013 -$Id: README 4951 2013-05-17 18:48:41Z pak21 $ +$Id: README 4992 2013-05-24 19:49:15Z zubzero $ Modified: vendor/fuse-emulator/current/libspectrum/configure.ac =================================================================== --- vendor/fuse-emulator/current/libspectrum/configure.ac 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/libspectrum/configure.ac 2013-05-25 03:45:38 UTC (rev 754) @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. dnl Copyright (c) 1999-2012 Philip Kendall -dnl $Id: configure.ac 4847 2013-01-03 09:16:15Z zubzero $ +dnl $Id: configure.ac 4986 2013-05-24 19:03:20Z zubzero $ dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -22,12 +22,12 @@ dnl E-mail: phi...@sh... dnl Package version -m4_define([libspectrum_version], [1.1.0]) +m4_define([libspectrum_version], [1.1.1]) dnl Product full version m4_define([libspectrum_major_version], [1]) m4_define([libspectrum_minor_version], [1]) -m4_define([libspectrum_micro_version], [0]) +m4_define([libspectrum_micro_version], [1]) m4_define([libspectrum_nano_version], [0]) m4_define([libspectrum_full_version], [libspectrum_major_version.libspectrum_minor_version.libspectrum_micro_version.libspectrum_nano_version]) Modified: vendor/fuse-emulator/current/libspectrum/doc/libspectrum.3 =================================================================== --- vendor/fuse-emulator/current/libspectrum/doc/libspectrum.3 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/libspectrum/doc/libspectrum.3 2013-05-25 03:45:38 UTC (rev 754) @@ -22,7 +22,7 @@ .\" E-mail: phi...@sh... .\" .\" -.TH libspectrum 3 "18th May, 2013" "Version 1.1.0" "Emulators" +.TH libspectrum 3 "24th May, 2013" "Version 1.1.1" "Emulators" .\" .\"------------------------------------------------------------------ .\" Modified: vendor/fuse-emulator/current/libspectrum/doc/libspectrum.txt =================================================================== --- vendor/fuse-emulator/current/libspectrum/doc/libspectrum.txt 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/libspectrum/doc/libspectrum.txt 2013-05-25 03:45:38 UTC (rev 754) @@ -1,4 +1,4 @@ -libspectrum 1.1.0 +libspectrum 1.1.1 ================= libspectrum is a fairly simple library designed to make the handling @@ -1826,4 +1826,4 @@ Write `data' to register `reg' of the IDE channel `chn'. -$Id: libspectrum.txt 4964 2013-05-19 05:30:32Z sbaldovi $ +$Id: libspectrum.txt 4986 2013-05-24 19:03:20Z zubzero $ Modified: vendor/fuse-emulator/current/libspectrum/hacking/ChangeLog =================================================================== --- vendor/fuse-emulator/current/libspectrum/hacking/ChangeLog 2013-05-19 12:37:08 UTC (rev 753) +++ vendor/fuse-emulator/current/libspectrum/hacking/ChangeLog 2013-05-25 03:45:38 UTC (rev 754) @@ -947,3 +947,9 @@ 20130516 ChangeLog: update date in main changelog. 20130517 README: update one more date for the 1.1 release. 20130518 doc/libspectrum.txt: update version number for 1.1 release (Sergio). +20130524 Makefile.am: update libtool age to support binaries built against + libspectrum 1.0.0 (Stuart). +20130524 ChangeLog,README,configure.ac,doc/libspectrum.{3,txt}, + hacking/ChangeLog: updates for a "1.1.1" release (Stuart). +20130524 doc/libspectrum,README: further updates for 1.1.1(Stuart). +20130524 ChangeLog: fill in date (Stuart). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |