1. 24 Jul, 2001 1 commit
    • Michael Natterer's avatar
      Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) · 06b16890
      Michael Natterer authored
      2001-07-24  Michael Natterer  <mitch@gimp.org>
      
      	Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
      
      	* configure.in: require glib/gtk+ >= 1.3.7, commented out the
      	gtkxmhtml stuff.
      
      	From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
      	to hack or use GIMP HEAD.
      
      	Beware, it crashes randomly :)
      
      	* app/core/Makefile.am
      	* app/core/gimpmarshal.list: new file plus rules to generate
      	gimpmarshal.[ch] from it.
      
      	* app/core/*
      	* app/tools/*
      	* app/widgets/*
      	* libgimpwidgets/*: started to use the glib object system. All
      	core/ objects are still gtk objects however. All signals are
      	created using g_signal_new(). There are many gtk+ artefacts left.
      	Finally, we will _not_ use the gtk_signal_foo() wrappers and
      	friends any more.
      
      	* app/colormaps.c
      	* app/devices.[ch]
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-save.[ch]
      	* app/interface.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/scroll.c
      	* app/user_install.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpui.c
      	* libgimpbase/gimpenv.c: tons and tons of changes like "const
      	gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
      	and currently disables), lots of s/gtk_signal/g_signal/,
      	removal/replacement of deprecated stuff,
      	s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
      	while I was on it, zillions of warnings left...
      
      	* modules/Makefile.am: disabled the water color selector
      	temporarily (XInput issues).
      
      	* plug-ins/Makefile.am
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
      	which did not build (including Script-Fu). They are trivial to
      	fix.
      06b16890
  2. 23 Jul, 2001 3 commits
  3. 22 Jul, 2001 4 commits
    • Hans Breuer's avatar
      more new files · f1199d33
      Hans Breuer authored
      2001-07-22  Hans Breuer  <hans@breuer.org>
      
      	* app/tools/makefile.msc :
      	* app/pdb/makefile.msc : more new files
      f1199d33
    • Hans Breuer's avatar
      updated · 5469bc4b
      Hans Breuer authored
      2001-07-22  Hans Breuer  <hans@breuer.org>
      
      	* app/*/makefile.msc :
      	* plug-ins/makefile.msc	:
      	* libgimp/gimp.def :
      	* libgimpwidgets/gimpwidgets.def : updated
      
      	* makefile.msc :
      	* app/xcf/makefile.msc :
      	* regexrepl/makefile.msc : new files
      
      	* app/base/base-config.c : a work-around for a gccism with
      	structure initialization
      
      	* app/core/gimp.c :
      	* app/core/gimpimage-new.c :
      	* app/gui/color-area.c
      	* app/widgets/gimpdialogfactory.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf-write.c
      	* plug-ins/common/plasma.c :
      	* plug-ins/flame/libifs.c : added <string.h> for strlen(), strcpy(),
      	memcpy(), memcmp() and friends
      
      	* plug-ins/imagemap/imap_rectangle.c :
      	* plug-ins/ifscompose/ifscompose_storage.c : added <stdlib.h> for abs()
      
      	* plug-ins/common/spheredesigner.c : reflect renaming of drawable.id
      	drawable.drawable_id
      
      	* plug-ins/script-fu/siod-wrapper.c : <string.h> and conditional use
      	of script_fu_server_quit () cause there is not yet script-fu server
      	on win32.
      5469bc4b
    • Stanislav Brabec's avatar
      czech translation update · 731181e2
      Stanislav Brabec authored
      731181e2
    • Stanislav Brabec's avatar
      Reflect my fix from 2001-03-01 (range limits) in script-fu comments. · dccea2c8
      Stanislav Brabec authored
      2001-07-22  Stanislav Brabec  <utx@penguin.cz>
      
          * plugins/common/despeckle.c: Reflect my fix from 2001-03-01
          (range limits) in script-fu comments.
      dccea2c8
  4. 20 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 6ce47999
      Michael Natterer authored
      2001-07-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/dialog_handler.[ch]: removed.
      
      	* app/widgets/gimpdialogfactory.[ch]: added the missing features
      	from the dialog_handler: idle/unidle all dialogs and the show_all
      	-> hide_all -> show_toolbox -> show_all cycling (a bit ugly
      	currently because the toolbox's factory and it's identifier has to
      	be passed to gimp_dialog_factories_toggle()).
      
      	* app/disp_callbacks.c
      	* app/gui/gui.c: call the new dialog factory class methods.
      
      	* app/devices.c
      	* app/docindex.c
      	* app/errorconsole.c
      	* app/nav_window.c
      	* app/undo_history.c
      	* app/gui/info-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c: currently "unmanaged" because they
      	are not yet registered with a dialog factory.
      
      	* app/gui/menus.c: ditto for the tearoff menus.
      
      	* app/gui/brush-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c: these are already factory created so toggling
      	and (un)idling works like before.
      
      	* app/widgets/gimpdock.c: reduced the minimal width from 280 to 250.
      
      	* app/widgets/gimplayerlistview.c: use a toggle button instead of
      	a check button for "Keep transp.".
      6ce47999
  5. 19 Jul, 2001 2 commits
  6. 18 Jul, 2001 5 commits
  7. 17 Jul, 2001 3 commits
    • Mathieu Lacage's avatar
      new code to call the script_fuc_text_console pdb function. remove batch · d48c27fd
      Mathieu Lacage authored
      2001-07-17  Mathieu Lacage  <mathieu@gnome.org>
      
      	* app/batch.c: new code to call the script_fuc_text_console pdb function.
      	* app/main.c: (main): remove batch command code.
      
      	* plug-ins/script-fu/Makefile.am: add siod-wrapper.h/c
      	* plug-ins/script-fu/script-fu-console.c:
      	(script_fu_cc_key_function),
      	(script_fu_open_siod_console),
      	(script_fu_close_siod_console):
      	* plug-ins/script-fu/script-fu-scripts.h:
      	* plug-ins/script-fu/script-fu-server.c:
      	(script_fu_server_quit),
      	(script_fu_server_get_mode),
      	(execute_command):
      	Replace all direct calls to the scheme interpreter with calls to the siod-wrapper.
      	* plug-ins/script-fu/script-fu-console.h: remove run_eval.
      	* plug-ins/script-fu/script-fu-server.h:
      	* plug-ins/script-fu/script-fu-text-console.c:
      	(script_fu_text_console_run),
      	(read_command),
      	(script_fu_text_console_interface):
      	The actual new text console.
      	* plug-ins/script-fu/script-fu-text-console.h: header.
      	* plug-ins/script-fu/script-fu.c:
      	(script_fu_quit),
      	(script_fu_query),
      	(script_fu_run): rename to better words.
      	move most of the code to siod-wrapper.c/h
      	* plug-ins/script-fu/siod-wrapper.c:
      	(siod_get_output_file),
      	(siod_set_output_file),
      	(siod_get_verbose_level),
      	(siod_set_verbose_level),
      	(siod_print_welcome),
      	(siod_interpret_string),
      	(siod_get_error_msg),
      	(siod_get_success_msg),
      	(siod_init),
      	(init_procedures),
      	(init_constants),
      	(convert_string),
      	(sputs_fcn),
      	(lprin1s),
      	(marshall_proc_db_call),
      	(script_fu_register_call),
      	(script_fu_quit_call):
      	All the funcitons dealing with the internals of the scheme interpreter.
      	* plug-ins/script-fu/siod-wrapper.h: the header.
      d48c27fd
    • Michael Natterer's avatar
      removed path_to_beziersel() so this file can be safely included from · b844c985
      Michael Natterer authored
      2001-07-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/path.[ch]: removed path_to_beziersel() so this file can be
      	safely included from core/.
      
      	* app/tools/gimpbezierselecttool.[ch]: added it here.
      
      	* app/core/core-types.h: added a GimpToolOptions typedef. Removes
      	deps into tools/ and will later be a core object anyway.
      
      	* app/tools/tools-types.h: removed the ToolOptions typedef here.
      
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage.c
      	* app/core/gimptoolinfo.[ch]: removed deps into tools/, misc stuff.
      
      	* app/tools/tool_manager.[ch]: some ugly temp hacks. Please ignore.
      
      	* app/widgets/gimpdialogfactory.[ch]: added a "remember_if_open" field
      	to the GimpDialogFactoryEntry so we can manage dialogs which should
      	not be re-opened on startup.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c: register & create all editor dialog with the
      	"global_dialog_factory".
      
      	* app/gui/tool-options-dialog.c
      	* app/tools/*: s/ToolOptions/GimpToolOptions/
      b844c985
    • Fatih Demir's avatar
      Updated tr.po · 284e178d
      Fatih Demir authored
      284e178d
  8. 15 Jul, 2001 2 commits
    • Michael Natterer's avatar
      remove the usage of printf()/scanf() when sending doubles over the wire. · dcaeb08a
      Michael Natterer authored
      2001-07-15  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpwire.c: remove the usage of printf()/scanf()
      	when sending doubles over the wire. Instead, rely on the memory
      	layout of gdouble being IEEE compliant and transmit 8 bytes in
      	network byte order.
      
      	* libgimpbase/gimpprotocol.h: increase GP_VERSION because this
      	makes the wire protocol binary incompatible.
      
      	* app/main.c
      	* libgimp/gimp.c: removed the setlocate(LC_NUMERIC,"C") workaround.
      dcaeb08a
    • Michael Natterer's avatar
      don't use the global "the_gimp" variable. · b280b493
      Michael Natterer authored
      2001-07-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.c: don't use the global "the_gimp" variable.
      
      	* app/core/gimpimage-convert.c: don't update the display here.
      
      	* app/gui/gui.c: connect to the images' "mode_changed" signal
      	and update here.
      
      	* app/gui/brush-editor.[ch]
      	* app/gui/gradient-editor.[ch]
      	* app/gui/palette-editor.[ch]: pass a "Gimp" pointer to all
      	editors. Added an palette_name entry to the palette editor.
      
      	* app/gui/colormap-dialog.[ch]: removed all the dialog stuff and
      	made the constructor return a vbox so it can be integrated in a
      	dockable. Lots of cleanup and removal of anqiuqe aretfacts.
      
      	* app/gui/dialogs-constructors.[ch]: wrap the colormap dialog in
      	a dockable.
      
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/dialogs.c
      	* app/gui/menus.c: integrate the new dockable, made the "Brushes.."
      	etc. menu entries create dockbles. Moved the old dialogs and the
      	test menu entries to "Old + Testing" and removed N_() so the .po
      	files stay cruft-free.
      
      	* app/gui/test-commands.[ch]: removed lots of stuff which is not
      	"testing" any more.
      b280b493
  9. 14 Jul, 2001 4 commits
  10. 13 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/appenv.h removed "use_mmx" and the MMX detection. · 2d821716
      Michael Natterer authored
      2001-07-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenv.h
      	* app/main.c: removed "use_mmx" and the MMX detection.
      
      	* app/base/Makefile.am: build the MMX detection unconditionally
      	as it's already #ifdef'ed in the source.
      
      	* app/base/detect-mmx.h: added a header for detect-mmx.S
      
      	* app/base/base-config.[ch]: added the "use_mmx" boolean.
      
      	* app/base/base.c: call intel_cpu_features() here.
      
      	* app/paint-funcs/paint-funcs.c: #include "base/base-config.h".
      
      	* app/floating_sel.c
      	* app/core/gimpimage.c: removed commented out cruft.
      
      	* app/core/gimplayer.c: gimp_layer_new_from_tiles(): pass the
      	gimage instead of NULL to gimp_layer_new() because layers have to
      	be created in an image context now
      	(checked gimp_layer_new_from_tile()'s callers if this is
      	semantically correct).
      2d821716
  11. 12 Jul, 2001 2 commits
    • Dave Neary's avatar
      One line fix to fix dependency problem. · 8492ea7f
      Dave Neary authored
      
      
      2001-07-12  Dave Neary  <dneary@eircom.net>
      
              * po/POTFILES.in: One line fix to fix dependency problem.
      8492ea7f
    • Sven Neumann's avatar
      app/regexrepl.c removed here ... · cf980596
      Sven Neumann authored
      2001-07-12  Sven Neumann  <sven@gimp.org>
      
      	* app/regexrepl.c
      	* app/regexrepl.h: removed here ...
      
      	* plug-ins/script-fu/regexrepl.c
      	* plug-ins/script-fu/regexrepl.h: ... and here ...
      
      	* regexrepl/Makefile.am
      	* regexrepl/regex.c
      	* regexrepl/regex.h: ... and added here again.
      
      	* Makefile.am
      	* configure.in
      	* app/Makefile.am
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/script-fu/interp_regex.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly.
      cf980596
  12. 11 Jul, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · 7aff6c8f
      Michael Natterer authored
      2001-07-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/detect_mmx.S: removed.
      
      	* app/base/Makefile.am
      	* app/base/detect-mmx.S: added.
      7aff6c8f
    • Michael Natterer's avatar
      app/Makefile.am app/gimpunit.c removed... · 16671498
      Michael Natterer authored
      2001-07-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpunit.c
      	* app/unitrc.h: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimpunit.[ch]: ...re-added here.
      
      	* app/core/gimp.[ch]: added the image and drawable hash tables,
      	next_image_ID, next_guide_ID and next_drawable_ID, added a
      	GimpCoreConfig pointer which is now initalized dynamically.
      
      	* app/core/gimpcoreconfig.[ch]: don't provide a global core_config
      	variable any more (need to access gimp->config now).
      
      	* app/gdisplay.[ch]
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.[ch]: removed all global variables from
      	gimpimage.c and gimpdrawable.c, pass a Gimp* to all *_get_by_ID()
      	functions.
      
      	* tools/pdbgen/app.pl: pass Gimp* to all _get_by_ID() functions.
      
      	* app/app_procs.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/gimprc.c
      	* app/libgimp_glue.c
      	* app/module_db.c
      	* app/plug_in.c
      	* app/undo.c
      	* app/user_install.c
      	* app/core/core-types.h
      	* app/core/gimpcontext.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpparasite.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c
      	* app/widgets/gimpdnd.c
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/fileops_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/tools_cmds.c
      	* app/pdb/undo_cmds.c
      	* app/pdb/unit_cmds.c
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/unit.pdb: changed accordingly.
      16671498
  13. 10 Jul, 2001 3 commits
    • Sven Neumann's avatar
      Bugfixes from the stable branch: · 55b127a0
      Sven Neumann authored
      2001-07-10  Sven Neumann  <sven@gimp.org>
      
      	Bugfixes from the stable branch:
      
      	* plug-ins/common/bz2.c
      	* plug-ins/common/gz.c: a fix for bug #57217 based on a patch from
      	Raphael Quinet.
      
      	* plug-ins/gap/gap_lib.c (p_file_copy): open files in binary mode.
      	A patch from Wolfgang Hofer that possibly fixes bug #52890.
      
      	* tools/Makefile.am: added gimppath2svg.py to EXTRA_DIST.
      55b127a0
    • Michael Natterer's avatar
      Tyop. · 24190680
      Michael Natterer authored
      24190680
    • Michael Natterer's avatar
      removed the gimp_busy boolean, check whether user_installation is needed · 9d87e554
      Michael Natterer authored
      2001-07-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.[ch]: removed the gimp_busy boolean, check whether
      	user_installation is needed here, not in user_install.c, parse
      	gtkrc an friends only if(!no_interface), create the Gimp object
      	before parsing gimp's rc files an pas it to the parse functions,
      	many other cleanups.
      
      	* app/appenums.h: added MessageHandlerType and StackTraceMode.
      
      	* app/appenv.h: removed MessageHandlerType, declare all global
      	variables from main.c (no more hidden global stuff please).
      
      	* app/errors.[ch]: added the fatal message func here (from main.c),
      	removed the StackTraceMode enum.
      
      	* app/gimprc.[ch]: renamed functions to gimprc_*(), pass a Gimp
      	pointer to some functions.
      
      	* app/gimpunit.c
      	* app/unitrc.h: ok, this is ugly: renamed all functions to
      	_gimp_unit_*() and made them public. The unit list is part
      	of the Gimp object now, so pass a Gimp* to all functions.
      
      	* app/libgimp_glue.[ch]: added EEKy wrappers for all gimp_unit_*()
      	functions which are used by widgets.
      
      	* app/main.c: cleaned up the global variables, removed the fatal
      	message handler, call app_init() directly, not via the
      	user_install stuff, misc. cleanups.
      
      	* app/user_install.[ch]: removed the check if user_installation is
      	needed (done by app_procs.c now).
      
      	* app/core/gimp.[ch]: added the user_unit list and the "busy"
      	boolean. Moved gimp_[set|unset]_busy() here. Added
      	gimp_initialize() which is called after unitrc and gimprc are
      	parsed.
      
      	* app/batch.c
      	* app/colormaps.c
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/gdisplay_ops.c
      	* app/gimphelp.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdatafiles.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/core/gimpparasite.c
      	* app/core/gimpparasitelist.h
      	* app/gui/file-open-dialog.c
      	* app/gui/gui.[ch]
      	* app/gui/info-dialog.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/gui/session.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcursor.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/unit.pdb
      	* app/pdb/image_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/unit_cmds.c: changed accordingly, minor cleanups.
      9d87e554
  14. 09 Jul, 2001 3 commits
    • Michael Natterer's avatar
      app/Makefile.am app/datafiles.[ch] app/gimpparasite.[ch] removed... · d7fde9e6
      Michael Natterer authored
      2001-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/datafiles.[ch]
      	* app/gimpparasite.[ch]
      	* app/parasitelist.[ch]: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimpdatafiles.[ch]
      	* app/core/gimpparasite.[ch]
      	* app/core/gimpparasitelist.[ch]: ...and added here.
      
      	* app/gimprc.c
      	* app/module_db.c
      	* app/plug_in.c
      	* app/undo.c
      	* app/core/gimp.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/parasite.pdb
      	* app/pdb/parasite_cmds.c: changed #include's accordingly.
      d7fde9e6
    • Dave Neary's avatar
      One-line fix which is needed, but never showed up before. Initialise a · d6364dcc
      Dave Neary authored
      
      
      2001-07-09  Dave Neary  <dneary@eircom.net>
      
              * app/plug_in.c: One-line fix which is needed, but never showed
              up before. Initialise a string to NULL, to avoid a !=NULL
              mishap later on.
      d6364dcc
    • Michael Natterer's avatar
      added a (commented out) function to open files (to get rid of including · b54b5ed6
      Michael Natterer authored
      2001-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: added a (commented out) function to open
      	files (to get rid of including gui/file-open-dialog.h)
      
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]: renamed all functions because they
      	are no callbacks any more. Removed the _by_extension() callbacks.
      
      	* app/gui/file-commands.[ch]: added the
      	file_[open|save]_by_extension() callbaks here along with some
      	other stuff which has nothing to do with the file dialogs.
      
      	* app/gui/menus.c: added a helper function to create an item
      	factory, cleanup.
      
      	* app/gui/palette-editor.[ch]: contains only the editor for a
      	single palette now (removed the notebook and the palette list).
      	Renamed all functions to palette_editor_*(). Will be made a
      	dockable later.
      
      	* app/gui/palette-select.[ch]: made it work like the other
      	selection dialogs.
      
      	* app/app_procs.c
      	* app/docindex.c
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/widgets/gimpdnd.c: changed accordingly.
      b54b5ed6
  15. 08 Jul, 2001 1 commit
    • Michael Natterer's avatar
      the active_tool may change in the middle of gdisplay_canvas_events(), so · c5609420
      Michael Natterer authored
      2001-07-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/disp_callbacks.c: the active_tool may change in the middle
      	of gdisplay_canvas_events(), so re-get it after using it for
      	cursor_update.
      
      	* app/base/boundary.c: made some global variables local.
      
      	* app/core/gimpdrawable.c: don't call gimp_drawable_set_visible()
      	in gimp_drawable_configure() because we don't want signal
      	emissions while configuring the drawable.
      
      	* app/gui/Makefile.am
      	* app/gui/brushes-commands.[ch]
      	* app/gui/data-commands.[ch]
      	* app/gui/gradients-commands.[ch]
      	* app/gui/palettes-commands.[ch]
      	* app/gui/patterns-commands.[ch]: new files for new new item
      	factories' callbacks.
      
      	* app/gui/menus.[ch]: added context menus for brushes, patterns, ...
      
      	* app/gui/gradient-editor.c
      	* app/gui/palette-editor.c: removed the "Save as POV", "Import
      	Palette" and "Merge Palattes" buttons as they are item factory
      	callbacks now.
      
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]: pass a
      	"GimpContainerContextFunc" pointer to all GimpContainerEditor
      	subclasses' constructors. Use the function to show the context
      	menu.
      
      	* app/widgets/gimpcontainergridview.c: dispatch the previews'
      	"context" signal.
      
      	* app/widgets/gimppreview.[ch]: new signal "context" which is
      	emitted on right-click.
      
      	* app/gui/brush-select.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gradient-select.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/test-commands.c: changed accordingly.
      c5609420
  16. 07 Jul, 2001 3 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · 37ce6b9a
      Michael Natterer authored
      2001-07-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/drawable.[ch]: removed.
      
      	* app/core/gimpdrawable.[ch]: added the functions here. Made an
      	end to the myth that FG/BG and the undo system (!!!) are not
      	really part of the core.
      
      	* app/disp_callbacks.c
      	* app/floating_sel.c
      	* app/image_map.c
      	* app/qmask.c
      	* app/undo.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/gui/channels-commands.c
      	* app/gui/gui.c
      	* app/gui/layers-commands.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpchannellistitem.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/tools_cmds.c
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly. Misc small
      	fixes and cleanups.
      37ce6b9a
    • Michael Natterer's avatar
      app/Makefile.am removed. · 3196563c
      Michael Natterer authored
      2001-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimage.[ch]: removed.
      
      	* app/core/gimp.c: s/gimage_new/gimp_image_new/
      
      	* app/gui/gui.c
      	* app/tools/tool_manager.c: added the handlers from gimage.c
      3196563c
    • Michael Natterer's avatar
      put all tool_manager variables into a struct which is attached to a · b70ee4b7
      Michael Natterer authored
      2001-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tool_manager.[ch]: put all tool_manager variables into
      	a struct which is attached to a "Gimp". Pass a Gimp* to all
      	tool_manager functions.
      
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/scale.c
      	* app/scroll.c
      	* app/undo.c
      	* app/gui/convert-dialog.c
      	* app/gui/edit-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/tools-commands.c: changed accordingly.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptool.c
      	* app/tools/gimptransformtool.c: mostly bad hacks for tool dialogs
      	which exist without a real context. Needs some more review.
      b70ee4b7