1. 03 Feb, 2003 2 commits
    • 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
  2. 02 Feb, 2003 5 commits
  3. 01 Feb, 2003 7 commits
  4. 31 Jan, 2003 14 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
    • Gustavo Noronha Silva's avatar
    • Sven Neumann's avatar
      allow NULL as context parameter in gimp_font_selection_new(). The widget · 57a23b7b
      Sven Neumann authored
      2003-01-31  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpfontselection.c: allow NULL as context parameter
      	in gimp_font_selection_new(). The widget then uses a default
      	PangoFT2Context.
      
      	* app/tools/gimptexttool.c (text_tool_options_new): call
      	gimp_font_selection_new() with a NULL context. The text tool now
      	doesn't know about Pango any longer.
      
      	* app/paint/Makefile.am
      	* app/tools/Makefile.am (INCLUDES): removed PANGOFT2_CFLAGS.
      57a23b7b
    • Sven Neumann's avatar
      added new enum GimpGravityType. · 8ed5a720
      Sven Neumann authored
      2003-01-31  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]: added new enum GimpGravityType.
      
      	* app/text/gimptext.[ch]
      	* app/text/gimptextlayer.[ch]: added support for specifying a
      	fixed layer size and how to position the text inside the layer.
      
      	* app/text/gimptext-compat.c
      	* app/tools/gimptexttool.c: changed accordingly.
      8ed5a720
    • Michael Natterer's avatar
      removed. · 5f57c07f
      Michael Natterer authored
      2003-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-dialog-utils.[ch] (file_dialog_update_menus): removed.
      
      	* app/gui/file-save-menu.[ch] (file_save_menu_update): added here.
      
      	* app/gui/menus.c: register it as non-automatic update_func.
      
      	* app/gui/file-save-dialog.c: changed accordingly.
      5f57c07f
    • Sven Neumann's avatar
      app/config/gimpconfig-params.h · 27698a2b
      Sven Neumann authored
      2003-01-31  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-params.h
      
      	* app/config/gimpcoreconfig.c: added a pixels parameter to the
      	GIMP_CONFIG_INSTALL_PROP_UNIT() macro.
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-text.[ch]: removed these two files.
      
      	* app/text/Makefile.am
      	* app/text/gimptext-compat.[ch]: new files with compatibility
      	routines that provide the old text API (solely for PDB calls).
      
      	* app/text/gimptext-render.[ch]: new files with text rendering
      	routines (not much yet).
      
      	* app/text/text-types.h
      	* app/text/gimptextlayer.[ch]: new object derived from GimpLayer.
      
      	* app/text/gimptext.[ch]: prepared for future improvements.
      
      	* app/pdb/text_tool_cmds.c
      	* app/tools/gimptexttool.c
      	* tools/pdbgen/pdb/text_tool.pdb: changed accordingly.
      27698a2b
    • Gustavo Noronha Silva's avatar
      Updated Brazilian Portuguese translation by Alexandre Folle de Menezes · 1305d37c
      Gustavo Noronha Silva authored
      	* Updated Brazilian Portuguese translation by
      	  Alexandre Folle de Menezes <afmenez@terra.com.br>.
      1305d37c
    • Manish Singh's avatar
      app/undo_history.c libgimp/gimpmenu.c plug-ins/Lighting/lighting_preview.c · 90b2de50
      Manish Singh authored
      2003-01-30  Manish Singh  <yosh@gimp.org>
      
              * app/undo_history.c
              * libgimp/gimpmenu.c
              * plug-ins/Lighting/lighting_preview.c
              * plug-ins/common/animationplay.c
              * plug-ins/common/jpeg.c
              * plug-ins/common/screenshot.c
              * plug-ins/gap/gap_navigator_dialog.c
              * plug-ins/gflare/gflare.c
              * plug-ins/ifscompose/ifscompose.c
              * plug-ins/imagemap/imap_main.c
              * plug-ins/imagemap/imap_polygon.c: changed gtk_{timeout,idle} stuff
              to their glib equivalents. Minor cleanups also with support code.
      
              * plug-ins/dbbrowser/dbbrowser_utils.c (gimp_db_browser): use
              gtk_entry_set_activates_default()
      90b2de50
    • Seth Burgess's avatar
      e717e073
    • Pablo Saratxaga's avatar
      Added last vietnamese po file · 5ad96758
      Pablo Saratxaga authored
      5ad96758
  5. 30 Jan, 2003 5 commits
    • Maurits Rijk's avatar
      801c6d61
    • Sven Neumann's avatar
      removed GIMP_ENABLE_COMPAT_CRUFT guards. The file needs to included · ff259644
      Sven Neumann authored
      2003-01-30  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpcompat.h: removed GIMP_ENABLE_COMPAT_CRUFT guards.
      	The file needs to included explicitely anyway.
      ff259644
    • Michael Natterer's avatar
      renamed plug_in->busy to plug_in->in_temp_proc. Added a stack of · a3c38814
      Michael Natterer authored
      2003-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in.[ch]: renamed plug_in->busy to
      	plug_in->in_temp_proc. Added a stack of GMainLoops to each
      	plug-in. Added the "current_return_vals" to the PlugIn
      	struct. Renamed plug_in_kill() to plug_in_exit(). Removed
      	the stuff added below. Cleanup.
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-message.[ch]
      	* app/plug-in/plug-in-run.[ch]
      	* app/plug-in/plug-in-shm.[ch]: new files taking out functionality
      	from the overloaded plug-in.c. Added the code back in that implements
      	temp proc return messages (inside an #ifdef) because i don't
      	really get why it was removed on Sep 19 1998.
      
      	* app/plug-in/plug-ins.c: changed accordingly.
      
      	* app/plug-in/plug-in-def.c
      	* app/plug-in/plug-in-params.c: removed inclusion of <gtk/gtk.h>.
      
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/gui/plug-in-commands.c
      	* app/gui/plug-in-menus.c
      	* app/pdb/procedural_db.c
      	* app/widgets/gimphelp.c: changed plug-in includes accordingly.
      
      	* app/gui/plug-in-commands.c: don't use "the_gimp" from
      	"app_procs.h" but get it from the GimpItemFactory that invoked the
      	plug-in callback.
      a3c38814
    • Nate Summers's avatar
      GimpToolGui · 82109cf0
      Nate Summers authored
      82109cf0
    • Manish Singh's avatar
      don't divide by zero if we get all zero resolution info when we load the · 67e8b3b4
      Manish Singh authored
      2003-01-29  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/jpeg.c (load_image): don't divide by zero if
              we get all zero resolution info when we load the jpeg.
      67e8b3b4
  6. 29 Jan, 2003 7 commits
    • Sven Neumann's avatar
      configure.in app/Makefile.am added new directory text. · 60273b5b
      Sven Neumann authored
      2003-01-29  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* app/Makefile.am
      	* app/text/Makefile.am: added new directory text.
      
      	* app/text/text-types.h
      	* app/text/gimptext.[ch]: moved GimpText object here.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpimage-text.c
      	* app/tools/gimptexttool.c: changed accordingly.
      60273b5b
    • Michael Natterer's avatar
      Fixed bug #97449: · 44278fd4
      Michael Natterer authored
      2003-01-29  Michael Natterer  <mitch@gimp.org>
      
      	Fixed bug #97449:
      
      	* app/core/gimpchannel.c (gimp_channel_scale,resize)
      	* app/core/gimplayer.c (gimp_layer_scale,resize)
      	* app/undo.c (undo_pop_layer_mod,channel_mod): emit "size_changed"
      	whenever the size has changed. Cleaned up the two undo_pop
      	functions.
      
      	* app/core/gimpimage.c (gimp_image_size_changed): emit
      	"size_changed" on all layers/channels so their previews are
      	updated correctly on image resize and image resize undo. Don't
      	invalidate layers/channels previews here because it's the
      	layers'/channels' job to invalidate themselves if needed.
      44278fd4
    • Sven Neumann's avatar
      removed unused function gimp_prop_enum_option_menu_new_with_values() which · 3aa36bbb
      Sven Neumann authored
      2003-01-29  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimppropwidgets.[ch]: removed unused function
      	gimp_prop_enum_option_menu_new_with_values() which caused problems
      	on some platforms (fixes bug #102514).
      
      	* app/gui/preferences_dialog.c: removed some unused code.
      3aa36bbb
    • Michael Natterer's avatar
      pack the button box non-expanding, removed cruft from the ModuleBrowser · 4463cdd0
      Michael Natterer authored
      2003-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/module-browser.c: pack the button box non-expanding,
      	removed cruft from the ModuleBrowser struct.
      4463cdd0
    • Abel Cheung's avatar
      Updated traditional Chinese translation. · 17ff3b34
      Abel Cheung authored
      2003-01-29  Abel Cheung  <maddog@linux.org.hk>
      
      	* zh_TW.po: Updated traditional Chinese translation.
      17ff3b34
    • Yuri Syrota's avatar
      Updated Ukrainian translation · fb4df89f
      Yuri Syrota authored
      fb4df89f
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · a8179722
      Pablo Gonzalo del Campo authored
      2003-01-29  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>
      
              * es.po: Updated Spanish translation.
      a8179722