1. 17 Apr, 2004 5 commits
  2. 16 Apr, 2004 11 commits
  3. 15 Apr, 2004 23 commits
    • Tor Lillqvist's avatar
      app/plug-in/plug-in-message.c (plug_in_handle_proc_install) · 2e103fa8
      Tor Lillqvist authored
      2004-04-15  Tor Lillqvist  <tml@iki.fi>
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install)
      	* app/plug-in/plug-in-proc.h (struct _PlugInProcDef)
      	* app/plug-in/plug-in-rc.c (plug_in_rc_write)
      	* app/plug-in/plug-ins.c (plug_ins_init): Make PDB procedures
      	(including their menu entries) installed during a plug-ins init()
      	phase show up. Add a flag to PlugInProcDef that tells whether the
      	proc was installed during the init() phase. Such procs aren't
      	saved to the pluginrc. Move the code that initializes plug-ins
      	that need initialization earlier, before the procs are added to
      	the PDB and menus are built. Fixes bug #139969.
      2e103fa8
    • Sven Neumann's avatar
      plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl removed the · db407228
      Sven Neumann authored
      2004-04-16  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/common/AlienMap.c: removed the AlienMap plug-in since
      	AlienMap2 duplicates its functionality.
      
      	* plug-ins/common/AlienMap2.c: applied patch from William Skaggs
      	with a couple of user interface improvements (bug #140079).
      db407228
    • Tor Lillqvist's avatar
      For Win32, install gimpthumb.def, like the .def files of the other · 6a4c2b14
      Tor Lillqvist authored
      2004-04-15  Tor Lillqvist  <tml@iki.fi>
      
      	* libgimpthumb/Makefile.am: For Win32, install gimpthumb.def, like
      	the .def files of the other libgimp* libs.
      
      	* app/Makefile.am (INCLUDES): Add PANGOFT2_CFLAGS.
      
      	* gimp-zip.in: Put also libgimpthumb in the developer package.
      6a4c2b14
    • Adam Weinberger's avatar
      Updated Canadian English translation. · c9f2d240
      Adam Weinberger authored
      
      	* po/en_CA.po:
      	* po-libgimp/en_CA.po:
      	* po-plug-ins/en_CA.po:
      	* po/script-fu/en_CA.po:
      	* tips/en_CA.po:
      	  Updated Canadian English translation.
      c9f2d240
    • Sven Neumann's avatar
      fixed gtk+ includes, added a warning that deprecated widgets are being · 40e85cd9
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/winicon/icodialog.c: fixed gtk+ includes, added a
      	warning that deprecated widgets are being used.
      40e85cd9
    • Sven Neumann's avatar
      configure.in plug-ins/Makefile.am plug-ins/winicon/Makefile.am · 48bf8838
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* plug-ins/Makefile.am
      	* plug-ins/winicon/Makefile.am
      	* plug-ins/winicon/icodialog.[ch]
      	* plug-ins/winicon/icoload.[ch]
      	* plug-ins/winicon/icosave.[ch]
      	* plug-ins/winicon/main.[ch]: added plug-in to load and save
      	Windows icon files. Plug-in written by Christian Kreibich, port to
      	GIMP-2.0 API by Gregor Riepl, massive code cleanup by me. Fixes
      	bug #139160.
      48bf8838
    • Michael Natterer's avatar
      use the new dynamic GtkTargetList based API for changing the widget's drag · 957190d7
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.c (gimp_dnd_data_source_add)
      	(gimp_dnd_data_source_remove): use the new dynamic GtkTargetList
      	based API for changing the widget's drag source types.
      
      	* app/widgets/gimpdocumentview.c (gimp_document_view_new): simply
      	call gimp_dnd_file_source_add() instead of duplicating the whole
      	GtkTargetEntry array insanity just for adding one source type.
      957190d7
    • Michael Natterer's avatar
      plug-ins/FractalExplorer/Dialogs.c plug-ins/flame/flame.c first plug-ins · d5cf690a
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gfig/gfig.c: first plug-ins ported to GtkFileChooser.
      d5cf690a
    • Michael Natterer's avatar
      app/display/gimpdisplayshell-callbacks.c app/display/gimpdisplayshell.c · 25589863
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c
      	* app/widgets/gimpcontainertreeview.c: removed runtime version
      	checks and workarounds for bugs which are fixed in GTK+ 2.4.
      
      	* app/widgets/gimpfiledialog.c
      	(gimp_file_dialog_selection_changed): added runtime check for GTK+
      	2.4.1 and work around GtkFileChooser's missing "update_preview"
      	functionality for multiple selections if the dependency is not
      	met.
      
      	* app/widgets/gimpwidgets-utils.c (gimp_menu_position)
      	(gimp_menu_button_position): call gtk_menu_set_monitor() until
      	bug #139187 is fixed.
      25589863
    • Michael Natterer's avatar
      derive it from GtkFileChooser instead of GtkFileSelection. · 2f2301c9
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpfiledialog.[ch]: derive it from GtkFileChooser
      	instead of GtkFileSelection.
      
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/widgets/gimpthumbbox.c: changed accordingly.
      
      	* app/gui/gradients-commands.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpimagemaptool.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimptexteditor.c
      	* libgimpwidgets/gimpfileentry.c: use file choosers instead of
      	file selectors.
      2f2301c9
    • Michael Natterer's avatar
      depend on glib 2.4.0, gtk+ 2.4.0, pangoft2 1.4.0 · de8c6a51
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: depend on glib 2.4.0, gtk+ 2.4.0, pangoft2 1.4.0
      
      	* app/sanity.c: changed accordingly.
      de8c6a51
    • Sven Neumann's avatar
      app/tools/gimpcropoptions.[ch] applied a patch from Jordi Gay that allows · 7849638d
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpcroptool.[ch]: applied a patch from Jordi Gay that
      	allows to keep the aspect ratio fixed.
      7849638d
    • Michael Natterer's avatar
      set translate_desc to "Move Layer Mask". · a30db14b
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayermask.c (gimp_layer_mask_class_init): set
      	translate_desc to "Move Layer Mask".
      
      	* app/tools/gimpeditselectiontool.c: take the undo desc
      	from the moved item's class instead of duplicating all
      	strings here.
      a30db14b
    • Sven Neumann's avatar
      app/core/gimppalette-import.[ch] added palette import from RIFF palette · 7e84dd95
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette-import.[ch]
      	* app/gui/palette-import-dialog.c: added palette import from RIFF
      	palette files based on a patch from ÉRDI Gergõ (bug #129788).
      7e84dd95
    • Michael Natterer's avatar
      forgot to add context parameters to this non-generated PDB invokers. Fixes · ace84881
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/xcf/xcf.c (xcf_save_invoker) (xcf_load_invoker): forgot
      	to add context parameters to this non-generated PDB invokers.
      	Fixes XCF loading/saving.
      ace84881
    • Michael Natterer's avatar
      added "const gchar *stroke_desc" to the GimpItemClass struct and always · f41e1ff5
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added "const gchar *stroke_desc" to
      	the GimpItemClass struct and always push an undo group
      	around GimpItem::stroke().
      
      	* app/core/gimpchannel.c
      	* app/core/gimpselection.c
      	* app/vectors/gimpvectors.c: set the stroke_desc accordingly
      	and don't push undo groups.
      
      	* app/text/gimptextlayer.c (gimp_text_layer_class_init): set
      	all of GimpItemClass' undo_descs.
      
      	* app/text/gimptextlayer-transform.c: don't push undo groups here.
      f41e1ff5
    • Sven Neumann's avatar
      applied patch from Marco Munari that removes a redundant "if" (bug · 70a9a840
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimpcolorspace.c (gimp_rgb_to_hsv): applied patch
      	from Marco Munari that removes a redundant "if" (bug #133540).
      70a9a840
    • Sven Neumann's avatar
      applied patch from Yeti that adds spinbuttons instead of simple text · 850f43b3
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/ifscompose/ifscompose.c: applied patch from Yeti that
      	adds spinbuttons instead of simple text entries (bug #138132).
      850f43b3
    • Sven Neumann's avatar
      plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl removed the · dab0f9b6
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/common/gicon.c: removed the GIcon plug-in (addresses
      	one aspect of bug #139160).
      dab0f9b6
    • Michael Natterer's avatar
      Context cleanup continued: · 837fa429
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Context cleanup continued:
      
      	* app/core/gimpitem.[ch]: added context parameter to
      	GimpItem::stroke().
      
      	* app/core/gimpchannel.c (gimp_channel_stroke)
      	* app/vectors/gimpvectors.c (gimp_vectors_stroke): use it to get
      	default values from instead of gimp_get_user_context().
      
      	* app/core/gimpselection.c
      	* app/gui/stroke-dialog.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/paths_cmds.c: regenerated.
      
      	* app/plug-in/plug-in.[ch]: added GimpContext member to the PlugIn
      	struct. Added context parameter to plug_in_new(),
      	plug_in_call_query() and plug_in_call_init().
      
      	* app/plug-in/plug-in-run.[ch]: added context parameters to
      	plug_in_run() and plug_in_repeat().
      
      	* app/gui/plug-in-commands.c
      	* app/gui/vectors-commands.c
      	* app/pdb/procedural_db.c
      	* app/widgets/gimphelp.c: pass a context to plug_in_run() and
      	plug_in_repeat().
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): call
      	procedures with the plug-in's context.
      
      	* app/plug-in/plug-ins.c: use a temporary context for running the
      	plug-ins' query() and init() functions. Use the same context for
      	running automatic extensions. This temporarily separates the main
      	Script-Fu extension from the user context (i.e. scripts have no
      	way of setting/getting the global FG, BG, brush etc.).
      837fa429
    • Sven Neumann's avatar
      NEWS mention that this is the development branch. · 99309dde
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* NEWS
      	* README: mention that this is the development branch.
      99309dde
    • Sven Neumann's avatar
      header cleanup, added some const qualifiers, converted tabs to spaces. · 44fd2e0a
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* app/paint-funcs/paint-funcs.[ch]:
      	* app/paint-funcs/paint-funcs-generic.h: header cleanup, added
      	some const qualifiers, converted tabs to spaces. Fixes bug #140115
      	for the HEAD branch.
      44fd2e0a
    • Guntupalli Karunakar's avatar
      added punjabi translation · 14a88500
      Guntupalli Karunakar authored
      14a88500
  4. 14 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Get rid of the "current_context" which was in fact just a bunch of global · 18d9161e
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Get rid of the "current_context" which was in fact just a bunch of
      	global variables. Instead, pass the needed context all the way
      	from the GUI and the PDB to the core. This is a prerequisite for
      	macro recording and generally helps separating the various
      	subsystems from each other. Work in progress...
      
      	* app/core/gimp.[ch]: removed member "current_context" and
      	gimp_[get|set]_current_context().
      
      	* app/core/gimp-edit.[ch]
      	* app/core/gimpdrawable-blend.[ch]
      	* app/core/gimpdrawable-bucket-fill.[ch]
      	* app/core/gimpdrawable-offset.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-crop.[ch]
      	* app/core/gimpimage-flip.[ch]
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-rotate.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimagefile.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimpselection.[ch]
      	* app/core/gimptemplate.[ch]
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/text/gimptext-compat.[ch]
      	* app/text/gimptextlayer-transform.[ch]
      	* app/gui/brush-select.[ch]
      	* app/gui/font-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: added tons of "GimpContext *context"
      	parameters and use the passed context instead of
      	gimp_get_current_context().
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-ins.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimptransformtool.c
      	* app/vectors/gimpvectors.c
      	* app/gui/convert-dialog.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpthumbbox.c: pass gimp_get_user_context() or
      	GIMP_CONTEXT(tool_options) or whatever is the right context
      	to the changed core functions.
      
      	* tools/pdbgen/app.pl: pass "GimpContext *context" to all
      	generated PDB invokers.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: pass the new context
      	parameter to the changed core functions.
      
      	* app/pdb/*_cmds.c: regenerated.
      18d9161e