1. 28 May, 2002 2 commits
  2. 27 May, 2002 13 commits
    • Sven Neumann's avatar
      cleaned up, nicer output. · 74a5a9ec
      Sven Neumann authored
      2002-05-28  Sven Neumann  <sven@gimp.org>
      
      	* autogen.sh: cleaned up, nicer output.
      74a5a9ec
    • Sven Neumann's avatar
      oops · 0c87d88d
      Sven Neumann authored
      0c87d88d
    • Sven Neumann's avatar
      fixed error code and improved error messages. · 93799415
      Sven Neumann authored
      2002-05-27  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig.c (gimp_config_serialize): fixed error code
      	and improved error messages.
      93799415
    • Maurits Rijk's avatar
    • Maurits Rijk's avatar
      Enable mnemonics (#80804) · ff063231
      Maurits Rijk authored
      ff063231
    • Michael Natterer's avatar
      set the spinbutton which is attached right of the label as mnemonic_widget · 74195d1f
      Michael Natterer authored
      2002-05-27  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpsizeentry.c (gimp_size_entry_attach_label):
      	set the spinbutton which is attached right of the label as
      	mnemonic_widget for the label.
      74195d1f
    • Sven Neumann's avatar
      updated. · 09e7d85d
      Sven Neumann authored
      2002-05-27  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: updated.
      09e7d85d
    • Michael Natterer's avatar
      added "gint nest_level" to the deserialization functions, so nested calls · dbc8aeb4
      Michael Natterer authored
      2002-05-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig.[ch]: added "gint nest_level" to the
      	deserialization functions, so nested calls to deserialize()
      	don't error on the trailing ')'. Made the scanner config parse
      	one-character identifiers and allow G_CSET_A_2_Z for all
      	identifiers.
      	Added gimp_config_deserialize_return() because returning the
      	correct return value from a deserialize() function is not
      	trivial any more with nested calls.
      
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimprc.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpparasitelist.c: use the new return value utility
      	function and made the main parsing loops simpler.
      
      	* app/core/gimpunits.c: made the main parsing loops consistent
      	with the stuff that uses GimpConfig.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: call the
      	(de)serialize_property() functions only if the property's class
      	implements the method itself (does *not* inherit it from one of
      	it's parents).
      
      	* app/core/gimpcontainer.c: implemented deserialization of
      	containers. For each child entry encountered in the input, check
      	if it's already contained in the container and create it if not.
      	If a "gimp" pointer is passed as user_data pass it as construct
      	property to g_object_new() when creating the object.
      
      	* app/core/gimpcontext.c: changed deserialization of brush,
      	pattern etc. to honor "no_data".
      
      	* app/widgets/gimpdeviceinfo.c: added a "gimp" construct_only
      	property which overrides GimpContext's "gimp" property. Moved all
      	initialisation code from gimp_device_info_new() to
      	gimp_device_info_set_property(PROP_GIMP) so it is properly
      	performed if the object is created by GimpContainer's
      	deserialize() implementation.
      
      	* app/widgets/gimpdevices.c: made gimp_devices_restore_test() work.
      dbc8aeb4
    • Sven Neumann's avatar
      restructured, added lots of comments. Reenabled build of gimp-remote. · 9ccebbd4
      Sven Neumann authored
      2002-05-27  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: restructured, added lots of comments. Reenabled
      	build of gimp-remote.
      
      	* app/main.c: output name and version with usage information.
      
      	* docs/Makefile.am: install the gimp-remote-1.3 man-page.
      
      	* tools/Makefile.am: link gimp-remote-1.3 to gimp-remote if
      	enable-default-binary was choosen at configure time.
      
      	* tools/gimp-remote.c: make it start gimp-1.3 if called with the
      	--new command-line option. Still the same bad hack as in 1.2 :-(
      9ccebbd4
    • Michael Natterer's avatar
      app/widgets/gimpchannellistview.c kindof fixed the channel dialog's · c8a87aae
      Michael Natterer authored
      2002-05-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c: kindof fixed the channel
      	dialog's component items. Had to disable keyboard navigation
      	because GtkList is horribly broken with GTK_SELECTION_MULTIPLE.
      	Left in lots of #if 0'ed stuff because this is not the final
      	solution...
      c8a87aae
    • Sven Neumann's avatar
      "%lld" is not a portable format string, cast to gint64 and use · 9ba70e46
      Sven Neumann authored
      2002-05-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.c: "%lld" is not a portable format string,
      	cast to gint64 and use G_GINT64_FORMAT instead.
      9ba70e46
    • Michael Natterer's avatar
      use "%lld" when printing or parsing file sizes because AC_SYS_LARGEFILE · d6ce8fce
      Michael Natterer authored
      2002-05-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimagefile.c: use "%lld" when printing or parsing
      	file sizes because AC_SYS_LARGEFILE makes off_t a long long.
      d6ce8fce
    • Sven Neumann's avatar
      159b6ca1
  3. 26 May, 2002 4 commits
  4. 25 May, 2002 3 commits
  5. 24 May, 2002 14 commits
  6. 22 May, 2002 2 commits
    • Sven Neumann's avatar
      check for GIMP_PARAM_SERIALIZE. · e0294ab3
      Sven Neumann authored
      2002-05-22  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc.c (gimp_rc_query): check for GIMP_PARAM_SERIALIZE.
      e0294ab3
    • Michael Natterer's avatar
      added virtual interface methods serialize_property() and · 42f8ae15
      Michael Natterer authored
      2002-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig.[ch]: added virtual interface methods
      	serialize_property() and deserialize_property() which can be used
      	to implement (de)serialization of special properties or to
      	override the default implementation.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: for each property, check if
      	the class which added it implements the virtual functions and call
      	them before trying the default implementations.
      
      	* app/config/gimpconfig-params.h: added new macro
      	GIMP_CONFIG_INSTALL_PROP_OBJECT().
      
      	* app/core/gimpcontext.c: declare the "tool", "brush", "pattern",
      	"gradient" and "palette" properties as serializable and added
      	implementations of (de)serialize_property().
      42f8ae15
  7. 21 May, 2002 2 commits
    • Sven Neumann's avatar
      need to link test-config against libgimpcolor now. · 3553cf90
      Sven Neumann authored
      2002-05-21  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am: need to link test-config against
      	libgimpcolor now.
      
      	* app/config/gimpconfig.c (gimp_config_serialize): write newlines
      	after header and before footer.
      
      	* app/config/test-config.c
      	* app/config/gimprc.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/gui/test-commands.c: removed the newlines here.
      
      	* app/config/gimpconfig-params.h: define GIMP_PARAM_SERIALZE flag
      	which can be used to mark an object property as serializable.
      	Make the GIMP_CONFIG_INSTALL_PROP_* macros set it.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: check the GIMP_PARAM_SERIALIZE
      	flag.
      
      	* app/config/gimpconfig-params.c (gimp_param_color_set_default):
      	fixed.
      
      	* app/core/gimpcontext.c: install serializable properties using the
      	GIMP_CONFIG_INSTALL_PROP_* macros.
      3553cf90
    • Michael Natterer's avatar
      added GIMP_TYPE_COLOR as boxed type encapsulating GimpRGB. · 292ec087
      Michael Natterer authored
      2002-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-types.[ch]: added GIMP_TYPE_COLOR as boxed
      	type encapsulating GimpRGB.
      
      	* app/config/gimpconfig-params.[ch]: added GimpParamSpecColor
      	which is derived from GParamSpecBoxed and adds a default value.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: added generic
      	(de)serialization of the new property type.
      
      	* app/core/gimpcontext.c: implement the config interface, changed
      	signal parameters and property types to use the new
      	GIMP_TYPE_COLOR.
      
      	* app/core/gimpmarshal.list: added a VOID__BOXED marshaller.
      
      	* app/gui/menus.c
      	* app/gui/test-commands.[ch]: some test code which (de)serializes
      	the user context.
      292ec087