head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.4 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.2 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.6.0.14 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.12 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.10 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.8 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.6 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.4 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.2 pkgsrc-2011Q1-base:1.6 pkgsrc-2009Q4:1.4.0.32 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.30 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.28 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.26 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.24 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.22 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.20 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.18 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.16 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.14 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.12 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.10 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.8 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.6 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.4 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.2 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.2.0.10 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.8 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.1.1.0.4 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.2 netbsd-1-6-1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2012.10.22.02.21.21; author rh; state dead; branches; next 1.6; 1.6 date 2011.01.29.12.40.14; author wiz; state Exp; branches; next 1.5; 1.5 date 2011.01.29.12.34.39; author wiz; state Exp; branches; next 1.4; 1.4 date 2005.07.29.12.59.25; author adam; state dead; branches; next 1.3; 1.3 date 2005.04.12.15.54.21; author adam; state Exp; branches; next 1.2; 1.2 date 2003.12.05.10.06.39; author adam; state Exp; branches; next 1.1; 1.1 date 2002.09.27.15.24.36; author rh; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.09.27.15.24.36; author rh; state Exp; branches; next ; desc @@ 1.7 log @Update gnustep-gui to 0.22.0 Noteworthy changes in version `0.22.0' ====================================== * This version is binary incompatible with previous versions due to the change of NSNotFound in GNUstep base. * Support for drawing the GUI with a scale factor, for high-DPI monitors. * Character panel * Color picker "Magnifier" tool, for grabbing the color of arbitrary parts of the screen Many NSImage improvements (Mac OS X 10.6 drawing methods, better selection of image reps, better support for icons). Many bugfixes, including in Xib loading, printing, and NSView geometry. Noteworthy changes in version `0.20.0' ====================================== A new stable release. Many improvments with Nib loading, documents and document controllers. Fixed many drawing issues, particularly ones related to flipping. Much improved theming. @ text @$NetBSD: patch-aa,v 1.6 2011/01/29 12:40:14 wiz Exp $ Fix build with png-1.5. https://savannah.gnu.org/bugs/index.php?32290 --- Source/NSBitmapImageRep+PNG.m.orig 2008-06-10 04:01:49.000000000 +0000 +++ Source/NSBitmapImageRep+PNG.m @@@@ -225,7 +225,7 @@@@ static void reader_func(png_structp png_ initWithBytesNoCopy: buf length: bytes_per_row * height]; - if (PNG_INFO_gAMA & png_info->valid) + if (png_get_valid(png_struct, png_info, PNG_INFO_gAMA)) { double file_gamma = 2.2; if (PNG_FLOATING_POINT) @ 1.6 log @Fix build with png-1.5. Includes upstream bug report URL. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2011/01/29 12:34:39 wiz Exp $ @ 1.5 log @Fix build with png-1.5. @ text @d1 1 a1 1 $NetBSD$ d4 1 @ 1.4 log @Changes 0.10.0: * Nib loading supports window auto-positioning * Keyed encoding is supported in many classes. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2005/04/12 15:54:21 adam Exp $ d3 7 a9 10 --- Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c.orig 2005-03-21 16:25:28.000000000 +0000 +++ Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c @@@@ -580,8 +580,10 @@@@ static int PaHost_CanaryProc( PaHostSoun static PaError PaHost_WatchDogProc( PaHostSoundControl *pahsc ) { PaError result = 0; +#ifndef _PTH_PTHREAD_H_ struct sched_param schp = { 0 }; int maxPri; +#endif d11 5 a15 60 #ifdef GNUSTEP GSRegisterCurrentThread(); /* SB20010904 */ @@@@ -589,6 +591,7 @@@@ static PaError PaHost_WatchDogProc( PaHo /* Run at a priority level above audio thread so we can still run if it hangs. */ /* Rise more than 1 because of rumored off-by-one scheduler bugs. */ +#ifndef _PTH_PTHREAD_H_ schp.sched_priority = pahsc->pahsc_AudioPriority + 4; maxPri = sched_get_priority_max(SCHEDULER_POLICY); if( schp.sched_priority > maxPri ) schp.sched_priority = maxPri; @@@@ -598,6 +601,7 @@@@ static PaError PaHost_WatchDogProc( PaHo ERR_RPT(("PaHost_WatchDogProc: cannot set watch dog priority!\n")); goto killAudio; } +#endif /* Compare watchdog time with audio and canary thread times. */ /* Sleep for a while or until thread cancelled. */ @@@@ -633,6 +637,7 @@@@ static PaError PaHost_WatchDogProc( PaHo return 0; lowerAudio: +#ifndef _PTH_PTHREAD_H_ { struct sched_param schat = { 0 }; if( sched_setscheduler(pahsc->pahsc_AudioThreadPID, SCHED_OTHER, &schat) != 0) @@@@ -646,6 +651,7 @@@@ lowerAudio: goto cleanup; } } +#endif killAudio: ERR_RPT(("PaHost_WatchDogProc: killing hung audio thread!\n")); @@@@ -740,7 +746,9 @@@@ static PaError PaHost_BoostPriority( int { PaHostSoundControl *pahsc; PaError result = paNoError; +#ifndef _PTH_PTHREAD_H_ struct sched_param schp = { 0 }; +#endif pahsc = (PaHostSoundControl *) past->past_DeviceData; if( pahsc == NULL ) return paInternalError; @@@@ -748,6 +756,7 @@@@ static PaError PaHost_BoostPriority( int pahsc->pahsc_AudioThreadPID = getpid(); DBUG(("PaHost_BoostPriority: audio PID = %d\n", pahsc->pahsc_AudioThreadPID )); +#ifndef _PTH_PTHREAD_H_ /* Choose a priority in the middle of the range. */ pahsc->pahsc_AudioPriority = (sched_get_priority_max(SCHEDULER_POLICY) - sched_get_priority_min(SCHEDULER_POLICY)) / 2; @@@@ -763,6 +772,7 @@@@ static PaError PaHost_BoostPriority( int /* We are running at high priority so we should have a watchdog in case audio goes wild. */ result = PaHost_StartWatchDog( pahsc ); } +#endif return result; } @ 1.3 log @Changes 0.9.5: * Beginnings of CUPS interface were added. * Added new control colors and methods from 10.3 version of Cocoa. * Added new font methods from 10.3 version of Cocoa. * NSApplication -runModalSession behavior changed. * You can find the GUI library's version using the Info.plist @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Noteworthy changes in version `0.9.0': Improvements in various classes, include NSPopUpButton, NSBitmapImageRep, NSMenu, NSToolbar. Added support for thumbnail images in NSWorkspace. @ text @d3 1 a3 1 --- Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c.orig 2003-07-20 04:08:22.000000000 +0200 d5 4 a8 4 @@@@ -584,8 +584,10 @@@@ static int PaHost_CanaryProc( PaHostSoun static PaError PaHost_WatchDogProc( PaHostSoundControl *pahsc ) { PaError result = 0; d10 2 a11 2 struct sched_param schp = { 0 }; int maxPri; d13 7 a19 7 #ifdef GNUSTEP GSRegisterCurrentThread(); /* SB20010904 */ @@@@ -593,6 +595,7 @@@@ static PaError PaHost_WatchDogProc( PaHo /* Run at a priority level above audio thread so we can still run if it hangs. */ /* Rise more than 1 because of rumored off-by-one scheduler bugs. */ d21 7 a27 7 schp.sched_priority = pahsc->pahsc_AudioPriority + 4; maxPri = sched_get_priority_max(SCHEDULER_POLICY); if( schp.sched_priority > maxPri ) schp.sched_priority = maxPri; @@@@ -602,6 +605,7 @@@@ static PaError PaHost_WatchDogProc( PaHo ERR_RPT(("PaHost_WatchDogProc: cannot set watch dog priority!\n")); goto killAudio; } d29 7 a35 7 /* Compare watchdog time with audio and canary thread times. */ /* Sleep for a while or until thread cancelled. */ @@@@ -637,6 +641,7 @@@@ static PaError PaHost_WatchDogProc( PaHo return 0; lowerAudio: d37 7 a43 7 { struct sched_param schat = { 0 }; if( sched_setscheduler(pahsc->pahsc_AudioThreadPID, SCHED_OTHER, &schat) != 0) @@@@ -650,6 +655,7 @@@@ lowerAudio: goto cleanup; } } d45 7 a51 7 killAudio: ERR_RPT(("PaHost_WatchDogProc: killing hung audio thread!\n")); @@@@ -744,7 +750,9 @@@@ static PaError PaHost_BoostPriority( int { PaHostSoundControl *pahsc; PaError result = paNoError; d53 1 a53 1 struct sched_param schp = { 0 }; d55 7 a61 7 pahsc = (PaHostSoundControl *) past->past_DeviceData; if( pahsc == NULL ) return paInternalError; @@@@ -752,6 +760,7 @@@@ static PaError PaHost_BoostPriority( int pahsc->pahsc_AudioThreadPID = getpid(); DBUG(("PaHost_BoostPriority: audio PID = %d\n", pahsc->pahsc_AudioThreadPID )); d63 7 a69 7 /* Choose a priority in the middle of the range. */ pahsc->pahsc_AudioPriority = (sched_get_priority_max(SCHEDULER_POLICY) - sched_get_priority_min(SCHEDULER_POLICY)) / 2; @@@@ -767,6 +776,7 @@@@ static PaError PaHost_BoostPriority( int /* We are running at high priority so we should have a watchdog in case audio goes wild. */ result = PaHost_StartWatchDog( pahsc ); } d71 3 a73 3 return result; } @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c.orig Wed Jul 31 03:02:32 2002 d5 1 a5 1 @@@@ -573,8 +573,10 @@@@ static int PaHost_CanaryProc( PaHostSoun d16 1 a16 1 @@@@ -582,6 +584,7 @@@@ static PaError PaHost_WatchDogProc( PaHo d24 1 a24 1 @@@@ -591,6 +594,7 @@@@ static PaError PaHost_WatchDogProc( PaHo d32 1 a32 1 @@@@ -625,6 +629,7 @@@@ static PaError PaHost_WatchDogProc( PaHo d40 1 a40 1 @@@@ -638,6 +643,7 @@@@ lowerAudio: d48 1 a48 1 @@@@ -732,7 +738,9 @@@@ static PaError PaHost_BoostPriority( int d58 1 a58 1 @@@@ -740,6 +748,7 @@@@ static PaError PaHost_BoostPriority( int d66 1 a66 1 @@@@ -755,6 +764,7 @@@@ static PaError PaHost_BoostPriority( int @ 1.1.1.1 log @Initial import of gnustep-gui-0.8.1, the GNUstep GUI AppKit class library. @ text @@