1. 05 Feb, 2003 6 commits
    • Michael Natterer's avatar
      Made GimpToolOptions a GimpContext subclass and objectified all tool · aa9f82d1
      Michael Natterer authored
      2003-02-05  Michael Natterer  <mitch@gimp.org>
      	Made GimpToolOptions a GimpContext subclass and objectified
      	all tool options types.
      	* app/core/core-types.h: replaced GimpToolOptionsNewFunc by
      	* libgimpproxy/gimpproxytypes.h: regenerated.
      	* app/core/gimppaintinfo.[ch]: added "GType paint_options_type".
      	* app/core/gimptoolinfo.[ch]: added "GType tool_options_type",
      	removed tool_info->context since GimpToolOptions are a GimpContext
      	now. Added "gboolean use_context" as a temp_hack.
      	* libgimptool/gimptooltypes.h: added the tool_options_type to
      	the tool registering callback.
      	* app/tools/tool_options.[ch]: is a real GimpContext subclass now.
      	* app/paint/paint-types.h
      	* app/paint/paint.c: added the paint_options_type to the paint
      	registering stuff.
      	* app/paint/gimppaintoptions.[ch]: is a real GimpToolOptions
      	subclass now.
      	* app/paint/Makefile.am
      	* app/paint/gimpairbrushoptions.[ch]
      	* app/paint/gimpcloneoptions.[ch]
      	* app/paint/gimpconvolveoptions.[ch]
      	* app/paint/gimpdodgeburnoptions.[ch]
      	* app/paint/gimperaseroptions.[ch]
      	* app/paint/gimpsmudgeoptions.[ch]: new files holding
      	GimpPaintOptions subclasses.
      	* app/paint/gimpairbrush.[ch]
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.[ch]
      	* app/paint/gimpsmudge.[ch]: removed paint options stuff, lots
      	of related changed & cleanups.
      	* tools/pdbgen/pdb/paint_tools.pdb: changed accordingly.
      	* app/pdb/paint_tools_cmds.c: regenerated.
      	* app/tools/Makefile.am
      	* app/tools/gimpblendoptions.[ch]
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpcolorpickeroptions.[ch]
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.[ch]
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimpvectoroptions.[ch]: new files holding the various
      	tool options classes.
      	* app/tools/selection_options.[ch]
      	* app/tools/transform_options.[ch]: made them objects.
      	* app/tools/paint_options.[ch]: contains only the paint_options
      	GUI and reset stuff.
      	* app/tools/tools-types.h: removed SelectionOptions typedef for
      	* app/tools/[all tools]: removed the tool options stuff except
      	some GUI constructors. Tons of related changes.
      	* app/tools/tool_manager.[ch]: changed tool registration / restore /
      	switching accordingly.
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpselectioneditor.c: changed accordingly.
    • Sven Neumann's avatar
      added some blurbs that will show up as tooltips in the text tool options. · 87b133f8
      Sven Neumann authored
      2003-02-05  Sven Neumann  <sven@gimp.org>
      	* app/text/gimptext.c: added some blurbs that will show up as
      	tooltips in the text tool options. Tweaked default values.
      	* app/text/gimptextlayout.c (gimp_text_layout_position): if
      	gravity is none (the default), position the layout according to its
      	* app/widgets/gimpenummenu.[ch]: added new functions that create a
      	hbox of radio buttons with icons from an enum type.
      	* app/widgets/gimppropwidgets.[ch]: added a property widget
      	constructors for the new enum_stock_box.
    • Kwok-Koon Cheung's avatar
    • Sven Neumann's avatar
      app/text/text-enums.[ch] replaced GimpTextAlignment with · aa48e616
      Sven Neumann authored
      2003-02-05  Sven Neumann  <sven@gimp.org>
      	* app/text/text-enums.[ch]
      	* app/text/gimptext.[ch]: replaced GimpTextAlignment with
      	GimpTextJustification. Added indentation property.
      	* app/text/gimptextlayout.c: implemented text justification,
      	indentation and line spacing as far as supported by Pango.
    • Sven Neumann's avatar
      app/text/gimptextlayer.c fixed includes. · 70c3ea65
      Sven Neumann authored
      2003-02-05  Sven Neumann  <sven@gimp.org>
      	* app/text/gimptextlayer.c
      	* app/tools/gimptexttool.c: fixed includes.
    • Sven Neumann's avatar
      fixed rules for generated sources. · 4f22db21
      Sven Neumann authored
      2003-02-05  Sven Neumann  <sven@gimp.org>
              * app/paint/Makefile.am: fixed rules for generated sources.
              * app/text/Makefile.am
              * app/text/text-enums.[ch]: added new files with text-related enums.
              * app/text/gimptext.[ch]: added text alignment property.
              * app/text/gimptext-render.[ch]: removed
              * app/text/text-types.h
              * app/text/gimptextlayout.[ch]: added new files that define
              GimpTextLayout, a wrapper around PangoLayout. Moved render code to
              this file.
      	* app/text/gimptextlayer.c: changed accordingly.
  2. 04 Feb, 2003 4 commits
  3. 03 Feb, 2003 14 commits
    • Sven Neumann's avatar
      app/display/gimpdisplayshell-selection.[ch] app/tools/gimpblendtool.c · 2c708aca
      Sven Neumann authored
      2003-02-04  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpdisplayshell-selection.[ch]
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c: misc trivial changes and cleanup.
      	* app/widgets/gimppropwidgets.[ch]: added gimp_prop_unit_menu_new()
      	and removed the scale widget again.
      	* app/tools/gimptexttool.c: replaced the size scale entry with a
      	spinbutton and made the unit menu working.
      	* app/text/gimptext.c: increased the upper boundary for the font
      	size again now that we don't use a scale any longer.
    • Sven Neumann's avatar
      fixed typo · bec52119
      Sven Neumann authored
    • Jan Morén's avatar
      Updated Swedish translation. · 96f9d1ee
      Jan Morén authored
      2003-02-03  Jan Morén  <jan.moren@lucs.lu.se>
              * sv.po: Updated Swedish translation.
    • Ole Laursen's avatar
      Updated Danish translation. · c094e535
      Ole Laursen authored
      2003-02-03  Ole Laursen  <olau@hardworking.dk>
      	* da.po: Updated Danish translation.
    • Sven Neumann's avatar
      updated german translation. · b55d6d47
      Sven Neumann authored
      2003-02-03  Sven Neumann  <sven@gimp.org>
      	* de.po: updated german translation.
    • Sven Neumann's avatar
      changed the text used in the preview. · 4fb5ca6a
      Sven Neumann authored
      2003-02-03  Sven Neumann  <sven@gimp.org>
      	* app/widgets/gimpfontselection-dialog.c: changed the text used in
      	the preview.
      	* app/widgets/gimpfontselection.[ch]: removed the yes/no image
      	that used to signal a valid font but stopped working a long time
      	* app/widgets/gimppropwidgets.c: added a property widget for fonts.
      	* app/tools/gimptexttool.c: use the new prop_widget.
    • Daniel Yacob's avatar
      Updating Amharic translation. · 3a105c80
      Daniel Yacob authored
    • Michael Natterer's avatar
      fixed the "TAB toggles dialogs" feature. · e34df4d8
      Michael Natterer authored
      2003-02-03  Michael Natterer  <mitch@gimp.org>
      	* app/display/gimpdisplayshell-callbacks.c: fixed the "TAB toggles
      	dialogs" feature.
      	(gimp_display_shell_get_event_coords,device_coords): CLAMP() all
      	extended axes to be safe against crappy XInput drivers and provide
      	default values for not existing axes.
    • Michael Natterer's avatar
      handle negative integers. · b55203ab
      Michael Natterer authored
      2003-02-03  Michael Natterer  <mitch@gimp.org>
      	* app/config/gimpscanner.c (gimp_scanner_parse_int): handle
      	negative integers.
      	(gimp_scanner_parse_string[no_validate]): return NULL for empty
      	strings (don't simply leave the return location untouched).
    • Sven Neumann's avatar
      handle negative integers. · daf60f25
      Sven Neumann authored
      2003-02-03  Sven Neumann  <sven@gimp.org>
      	* app/config/gimpconfig-deserialize.c
      	(gimp_config_deserialize_fundamental): handle negative integers.
      	* app/core/gimp.c (gimp_edit_config_notify): commented out
      	debugging output.
    • Sven Neumann's avatar
      applied another patch from David Necas <yeti@physics.muni.cz> that fixes · 52e9d75d
      Sven Neumann authored
      2003-02-03  Sven Neumann  <sven@gimp.org>
      	* plug-ins/ifscompose/ifscompose.c: applied another patch from
      	David Necas <yeti@physics.muni.cz> that fixes #82470. Added some
      	stock icons and mnemonics.
    • Michael Natterer's avatar
      unified some comments, some cleanup. · c5b1f98a
      Michael Natterer authored
      2003-02-03  Michael Natterer  <mitch@gimp.org>
      	* app/undo.c: unified some comments, some cleanup.
      	* app/pdb/procedural_db.c: some cleanup & comments to clarify
      	what GIMP_PDB_PASS_THROUGH does.
    • Michael Natterer's avatar
      removed the "truly ugly hack"... · f7a91117
      Michael Natterer authored
      2003-02-03  Michael Natterer  <mitch@gimp.org>
      	* app/display/Makefile.am: removed the "truly ugly hack"...
      	* app/Makefile.am: ...and changed the linking order instead.
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/paint/Makefile.am
      	* app/widgets/Makefile.am: fixed typo.
    • Michael Natterer's avatar
      removed gimp_main_loop() and gimp_main_loop_quit() because they were a · 2db2ef61
      Michael Natterer authored
      2003-02-03  Michael Natterer  <mitch@gimp.org>
      	* app/core/gimp.[ch]: removed gimp_main_loop() and
      	gimp_main_loop_quit() because they were a temp_hack until plug-ins
      	have their own main loops. Added gimp_threads_enter() and
      	gimp_threads_leave() instead.
      	* app/gui/gui.c: ditto: removed the main loop stuff and added
      	functions which call GDK_THREADS_ENTER() and GDK_THREADS_LEAVE()
      	* app/app_procs.c: create the main GMainLoop here and use
      	* app/plug-in/plug-in.[ch]: added a ref_count per plug-in so the
      	plug-in is not destroyed under our feet while running a recursive
      	main loop. Added plug_in_ref(). Changed plug_in_destroy() to
      	plug_in_unref(). Don't destroy the plug-in if plug_in_open()
      	fails. Call gimp_threads_enter,leave() around g_main_loop_run().
      	Changed the way plug_in_push,pop() are used: "current_plug_in" is
      	no longer the plug-in which currently uses the wire, but the
      	plug-in which currently preforms a PDB call (the former meaning
      	was needed when wire callbacks had no plug-in context but needed
      	to get the plug-in from the global "current_plug_in" variable).
      	Removed all calls to plug_in_push,pop() from this file.
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): added
      	plug_in_push,pop() around procedural_db_execute(). No need
      	to construct an error return value if the procedure was not found
      	because procedural_db_execute() already does this.
      	Removed all other plug_in_push,pop(). Added more checks to plug-in
      	message handlers and kill the plug-in if it misbehaves. Cleanup.
      	* app/plug-in/plug-in-progress.c (plug_in_progress_cancel): if the
      	plug-in runs synchronously, provide a GIMP_PDB_CANCEL return value
      	so we don't see error messages about the "failed" procedure.
      	* app/plug-in/plug-in-run.c: removed plug_in_push,pop() stuff.
      	Set the new plug_in->starting_ext boolean while starting an
      	extension so the extension_ack handler knows that it wasn't called
      	from a buggy plug-in. Cleanup.
      	* app/plug-in/plug-ins.c: Cleanup.
  4. 02 Feb, 2003 5 commits
  5. 01 Feb, 2003 7 commits
  6. 31 Jan, 2003 4 commits
    • Sven Neumann's avatar
      added GIMP_GRAVITY_NONE. · 6faa590b
      Sven Neumann authored
      2003-01-31  Sven Neumann  <sven@gimp.org>
      	* app/core/core-enums.[ch]: added GIMP_GRAVITY_NONE.
      2003-01-31  Sven Neumann  <sven@gimp.org>
      	* libgimpwidgets/Makefile.am (HTML_IMAGES)
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/tmpl/gimpstock.sgml: added new icons.
    • Kwok-Koon Cheung's avatar
      Updated traditional Chinese translation · 71d6126a
      Kwok-Koon Cheung authored
    • Sven Neumann's avatar
      don't use gimp_drawable_configure() to resize the text layer, it should · 5e2c14ba
      Sven Neumann authored
      2003-01-31  Sven Neumann  <sven@gimp.org>
      	* app/text/gimptextlayer.c: don't use gimp_drawable_configure() to
      	resize the text layer, it should only ever be called once. Take
      	the logical rectangle into account when calculating the layer size
      	and text position.
      	* app/tools/gimptexttool.[ch]: added basic text editing
      	functionality. Needs more work ...
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-gravity-east-24.png
      	* themes/Default/images/stock-gravity-north-24.png
      	* themes/Default/images/stock-gravity-north-east-24.png
      	* themes/Default/images/stock-gravity-north-west-24.png
      	* themes/Default/images/stock-gravity-south-24.png
      	* themes/Default/images/stock-gravity-south-east-24.png
      	* themes/Default/images/stock-gravity-south-west-24.png
      	* themes/Default/images/stock-gravity-west-24.png: added new icons
      	for yet-to-written GimpGravityChooser(?) widget. Artwork
      	shamelessly taken from Jimmac's XFree cursors.
      	* libgimpwidgets/gimpstock.[ch]: added stock items for the new icons.
    • Michael Natterer's avatar
      added gimp_item_configure() and gimp_item_copy(). · 794885e2
      Michael Natterer authored
      2003-01-31  Michael Natterer  <mitch@gimp.org>
      	* app/core/gimpitem.[ch]: added gimp_item_configure() and
      	* app/core/gimpdrawable.c (gimp_drawable_configure,copy): use them.
      	* app/vectors/gimpvectors.[ch]: added gimp_vectors_new(),
      	gimp_vectors_copy() and gimp_vectors_copy_points(). Use the new
      	GimpItem functions just as GimpDrawable does. Added a
      	get_memsize() implementation.
      	* app/vectors/gimpstroke.[ch]: made it a GimpObject and added
      	a get_memsize() implementation.
      	* app/undo.c: implemented vectors undo as if the new GimpVectors
      	functions above worked.
      	* app/gui/dialogs-constructors.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpvectortool.c: use gimp_vectors_new,copy().