1. 06 Feb, 2003 3 commits
  2. 05 Feb, 2003 15 commits
    • Sven Neumann's avatar
      removed /Filters/Text menu branch now that we don't install any plug-in · ba246fb1
      Sven Neumann authored
      2003-02-06  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/image-menu.c (image_menu_entries): removed /Filters/Text
      	menu branch now that we don't install any plug-in there and
      	gimp-freetype is becoming obsolete.
      ba246fb1
    • Sven Neumann's avatar
      applied a patch from David Necas <yeti@physics.muni.cz> that fixes bug · b3e42143
      Sven Neumann authored
      2003-02-05  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/randomize.c: applied a patch from David Necas
      	<yeti@physics.muni.cz> that fixes bug #105339.
      b3e42143
    • Sven Neumann's avatar
      libgimpbase/Makefile.am added new files that hold the new · 7aaff769
      Sven Neumann authored
      2003-02-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimputils.[ch]: added new files that hold the new
      	gimp_utf8_strtrim() routine; it might be useful in more places.
      
      	* libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories):
      	silently ignore directories in the path that can't be opened.
      
      	* app/core/gimpobject.c (gimp_object_set_name_safe): use
      	gimp_utf8_strtrim().
      
      	* app/widgets/gimpwidgets-utils.[ch]
      	* app/tools/gimptextoptions.c: try to make the text tool options
      	look more like all other tool options. Still needs work; I'll
      	leave this up to Mitch ...
      
              This byte --> <-- is the millionth in this file!
      7aaff769
    • Manish Singh's avatar
      if the quality level is close to zero in non-interactive mode, use default · 83f2738a
      Manish Singh authored
      2003-02-05  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/jpeg.c (run): if the quality level is close to zero
              in non-interactive mode, use default settings. This is hack until
              the PDB gets default arguments, so gimp-file-save works sanely with
              jpeg.
      83f2738a
    • Sven Neumann's avatar
      replaced with an UTF-8 safe rewrite. · 01cd6507
      Sven Neumann authored
      2003-02-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpobject.c (gimp_object_set_name_safe): replaced with
      	an UTF-8 safe rewrite.
      
      	* app/widgets/gimpwidgets-utils.c (gimp_table_attach_stock): hacked
      	to allow being used with non-existent stock_ids (for prototyping).
      
      	* app/widgets/gimpenummenu.c: set the radio button mode correctly.
      
      	* app/widgets/gimpfontselection.c: tweaked spacing.
      
      	* app/tools/gimptextoptions.c: added controls for justification and
      	indentation. Removed letter-spacing control for now.
      
      	* app/text/gimptextlayer.[ch]: rerender the text layer from a low
      	priority idle function.
      01cd6507
    • Michael Natterer's avatar
      app/paint/gimpairbrush.c app/paint/gimpclone.c app/paint/gimpconvolve.c · f8c7174b
      Michael Natterer authored
      2003-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimppainttool.c
      	* app/tools/paint_options.c: use GIMP_CONTEXT(tool_options)
      	instead of gimp_get_current_context(). Cleanup.
      f8c7174b
    • Sven Neumann's avatar
      quick fix to make Gimp survive its startup · af7db2a1
      Sven Neumann authored
      af7db2a1
    • Michael Natterer's avatar
      should have gone with my previous checkin. · 024f2a0f
      Michael Natterer authored
      2003-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-dnd.c: should have gone with my
      	previous checkin.
      024f2a0f
    • Sven Neumann's avatar
      app/core/gimpobject.[ch] improved the code that trims the text before · 366beeb2
      Sven Neumann authored
      2003-02-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpobject.[ch]
      	* app/text/gimptextlayer.c: improved the code that trims the text
      	before setting it as layer name and moved it to GimpObject as
      	gimp_object_set_name_safe().
      
      	* app/text/gimptext.[ch]: removed fixed_height and gravity again.
      
      	* app/text/gimptextlayout.c: much simpler positioning that has the
      	advantage that it actually works.
      
      	* libgimpproxy/gimpobject.[ch]: this crap was regenerated.
      366beeb2
    • 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
      	GimpToolOptionsGUIFunc.
      
      	* 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
      	now.
      
      	* 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.
      aa9f82d1
    • 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
      	justification.
      
      	* 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.
      87b133f8
    • 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.
      aa48e616
    • 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.
      70c3ea65
    • 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.
      4f22db21
  3. 04 Feb, 2003 4 commits
  4. 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.
      2c708aca
    • Sven Neumann's avatar
      fixed typo · bec52119
      Sven Neumann authored
      bec52119
    • 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.
      96f9d1ee
    • Ole Laursen's avatar
      Updated Danish translation. · c094e535
      Ole Laursen authored
      2003-02-03  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Updated Danish translation.
      c094e535
    • Sven Neumann's avatar
      updated german translation. · b55d6d47
      Sven Neumann authored
      2003-02-03  Sven Neumann  <sven@gimp.org>
      
      	* de.po: updated german translation.
      b55d6d47
    • 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
      	ago.
      
      	* app/widgets/gimppropwidgets.c: added a property widget for fonts.
      
      	* app/tools/gimptexttool.c: use the new prop_widget.
      4fb5ca6a
    • Daniel Yacob's avatar
      Updating Amharic translation. · 3a105c80
      Daniel Yacob authored
      3a105c80
    • 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.
      e34df4d8
    • 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).
      b55203ab
    • 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.
      daf60f25
    • 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.
      52e9d75d
    • 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.
      c5b1f98a
    • 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.
      f7a91117
    • 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()
      	instead.
      
      	* app/app_procs.c: create the main GMainLoop here and use
      	gimp_threads_enter,leave().
      
      	* 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.
      2db2ef61
  5. 02 Feb, 2003 4 commits