1. 05 Feb, 2003 5 commits
    • 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
  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.
      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
  4. 02 Feb, 2003 5 commits
  5. 01 Feb, 2003 7 commits
  6. 31 Jan, 2003 5 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.
      6faa590b
    • Kwok-Koon Cheung's avatar
      Updated traditional Chinese translation · 71d6126a
      Kwok-Koon Cheung authored
      71d6126a
    • 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.
      5e2c14ba
    • 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
      	gimp_item_copy().
      
      	* 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().
      794885e2
    • Sven Neumann's avatar
      added offset_x and offset_y to gimp_drawable_configure(). · 291eb383
      Sven Neumann authored
      2003-01-31  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: added offset_x and offset_y to
      	gimp_drawable_configure().
      
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c: changed accordingly.
      
      	* app/text/gimptextlayer.[ch]: update the layer when the associated
      	GimpText object changes.
      291eb383