1. 17 Feb, 2004 1 commit
  2. 28 Jan, 2004 1 commit
    • Michael Natterer's avatar
      Added infrastructure to make sure we don't write to the global brush, · 894cf70d
      Michael Natterer authored
      2004-01-28  Michael Natterer  <mitch@gimp.org>
      
      	Added infrastructure to make sure we don't write to the global
      	brush, pattern etc. directories. Needed to make this configurable
      	because we can't rely on the global directories being read-only,
      	having certain names or being otherwise detectable at runtime in a
      	sane way. Fixes bug #132214.
      
      	* libgimpbase/gimpdatafiles.[ch]: added "const gchar *dirname" to
      	the GimpDataFileData struct so callbacks don't need to call
      	g_path_get_dirname() for each file.
      
      	* libgimpwidgets/gimpfileentry.c: made it work with non UTF-8
      	encoded filenames.
      
      	* libgimpwidgets/gimppatheditor.[ch]: ditto. Added GUI and API for
      	setting/getting a second "writable_path". The widget makes sure
      	that the writable_path is always a subset of the path.
      
      	* app/config/gimpconfig-utils.[ch]: added new function
      	gimp_config_build_writable_path().
      
      	* app/config/gimpcoreconfig.[ch]: added separate properties for
      	the writable brush, pattern, gradient, palette and font paths.
      
      	* app/config/gimprc-blurbs.h: added (still empty) blurbs for the
      	new properties.
      
      	* app/core/gimpdata.[ch] (gimp_data_set_filename): added parameter
      	"gboolean writable". Set data->writable to FALSE by default. If
      	"writable" is passed as TRUE, still check if we can write to the
      	file before setting data->writable to TRUE.
      
      	(gimp_data_create_filename): changed "data_path" parameter to
      	"dest_dir" and assume dest_dir is writable.
      
      	(gimp_data_duplicate): set data->dirty to TRUE to make sure
      	duplicated things will be saved.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpgradient.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c: don't set the data's filename and don't
      	touch data->dirty in the _load() functions because that's done by
      	the data factory now. Don't touch data->dirty in the _duplicate()
      	functions because that's done by gimp_data_duplicate() itself now.
      
      	* app/core/gimpdatafactory.[ch] (gimp_data_factory_new): added
      	"writable_property_name" and remember it.
      	Added utility function gimp_data_factory_get_save_dir() which
      	determines the directory to save new datas to.
      	Added public function gimp_data_factory_data_save_single() which
      	saves a single data object.
      	Make sure new things get saved to the first writable directory
      	as specified in preferences.
      
      	* app/core/gimp.c (gimp_real_initialize): pass the writable_paths'
      	property names to gimp_data_factory_new().
      
      	* app/widgets/gimpdataeditor.c (gimp_data_editor_save_dirty): use
      	gimp_data_factory_data_save_single() instead of implementing
      	saving here.
      
      	* app/widgets/gimppropwidgets.[ch] (gimp_prop_path_editor_new):
      	added "const gchar *writable_property_name" parameter (can be
      	NULL).
      
      	Added the needed callbacks to handle the writable_path and made
      	the path_editor and file_entry code aware of non UTF-8 filename
      	encodings. Some general cleanup.
      
      	* app/gui/preferences-dialog.c: changed accordingly.
      894cf70d
  3. 18 Dec, 2003 1 commit
    • Michael Natterer's avatar
      libgimpwidgets/gimpfileentry.c libgimpwidgets/gimppatheditor.c moved · a3ccdb82
      Michael Natterer authored
      2003-12-18  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpfileentry.c
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimpunitmenu.c (*_class_init): moved signal
      	documentation from the gtk-doc templates to comments.
      
      	* libgimpwidgets/gimppatheditor.c (gimp_path_editor_set_path):
      	emit the "path-changed" signal.
      
      	* libgimpwidgets/gimppatheditor.[ch]: s/gpe/editor/g.
      
      2003-12-18  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/tmpl/gimppatheditor.sgml
      	* libgimpwidgets/tmpl/gimpunitmenu.sgml: removed signal
      	documentation, it lives in the .c files now.
      
      	* libgimpwidgets/tmpl/gimpwidgets.sgml: updated.
      a3ccdb82
  4. 21 Nov, 2003 1 commit
    • Michael Natterer's avatar
      removed... · a70db0bb
      Michael Natterer authored
      2003-11-21  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpfileselection.[ch]: removed...
      
      	* libgimpwidgets/gimpfileentry.[ch]: ...and added under a new name.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetstypes.h
      	* libgimpwidgets/gimppatheditor.[ch]
      	* app/widgets/gimppropwidgets.c
      	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.
      
      	* libgimp/gimpcompat.h: added compat #defines.
      
      2003-11-21  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/tmpl/gimpfileselection.sgml: removed.
      
      	* libgimpwidgets/tmpl/gimpfileentry.sgml: added.
      
      	* libgimpwidgets/libgimpwidgets-docs.sgml
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/libgimpwidgets.types
      	* libgimpwidgets/tmpl/gimpdialog.sgml
      	* libgimpwidgets/tmpl/gimppatheditor.sgml: updated.
      a70db0bb
  5. 05 Jan, 2003 1 commit
  6. 19 Nov, 2002 1 commit
  7. 02 Feb, 2002 1 commit
    • Manish Singh's avatar
      treeviewized and undeprecated · 69fc0a85
      Manish Singh authored
      2002-02-01  Manish Singh  <yosh@gimp.org>
      
              * libgimpwidgets/gimppatheditor.[ch]: treeviewized and undeprecated
      
              * plug-ins/webbrowser/webbrowser.c: set_size_request takes a 0 size
              and makes it 1 instead of -1 like set_usize did, so pass -1
      69fc0a85
  8. 13 Jan, 2002 1 commit
    • Michael Natterer's avatar
      removed stock items which are already defined in Gtk+ (GTK_STOCK_NEW · 2a2318ce
      Michael Natterer authored
      2002-01-13  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpstock.[ch]: removed stock items which are
      	already defined in Gtk+ (GTK_STOCK_NEW etc.).
      
      	* libgimpwidgets/gimpquerybox.[ch]: moved the icon code from the
      	boolean query box constructor to create_query_box() so it can be
      	used for all of them. New macro GIMP_QUERY_BOX_VBOX() to pack
      	custom widgets into the dialogs. Will probably have to make a
      	real widget out of it to get a sane API...
      
      	* app/gui/menus.c
      	* app/gui/select-commands.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpdrawablelistview.c
      	* libgimpwidgets/gimppatheditor.c
      	* plug-ins/common/uniteditor.c: changed accordingly.
      
      	* libgimpwidgets/gimpwidgets.c: register the WM icons in
      	large -> small order.
      
      	* themes/Default/Makefile.am: don't create inline pixbufs of the
      	removed stock items' icons...
      
      	* themes/Default/gtkrc: ...but simply override them here.
      
      	* themes/Default/imagerc: removed them here too.
      2a2318ce
  9. 29 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c · 14d0a3ff
      Michael Natterer authored
      2001-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpprogress.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/undo_history.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/channels-commands.c
      	* app/gui/color-area.c
      	* app/gui/color-notebook.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/convert-dialog.c
      	* app/gui/device-status-dialog.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/info-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/paint_options.c
      	* app/tools/selection_options.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpconstrainedhwrapbox.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerlistview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpfontselection-dialog.c
      	* app/widgets/gimphistogramview.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplistitem.[ch]
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppreview.[ch]
      	* app/widgets/gtkhwrapbox.c
      	* app/widgets/gtkvwrapbox.c
      	* app/widgets/gtkwrapbox.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpexport.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimpwidgets/gimpbutton.c
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimppixmap.h
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpstock.[ch]
      	* libgimpwidgets/gimpwidgets.h
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/Events.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/bmp/bmpwrite.c
      	* plug-ins/dbbrowser/dbbrowser_utils.c
      	* plug-ins/fits/fits.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/fp/fp_misc.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/gimpressionist/*.c
      	* plug-ins/imagemap/*.[ch]
      	* plug-ins/maze/maze_face.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/print/print_gimp.h
      	* plug-ins/rcm/rcm_callback.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/rcm/rcm_misc.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/sel2path/sel2path.c
      	* plug-ins/sel2path/sel2path_adv_dialog.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/webbrowser/webbrowser.c
      	* plug-ins/xjt/xjt.c
      	* plug-ins/common/[A-n]*.c: compile with GTK_DISABLE_DEPRECATED
      	defined. Not everything is fully ported yet, had to #undef
      	GTK_DISABLE_DEPRECATED in many places and added #warnings when
      	doing so.
      
      	* pixmaps/Makefile.am
      	* pixmaps/chain.xpm: removed.
      
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-button-hchain-broken.png
      	* themes/Default/images/stock-button-hchain.png
      	* themes/Default/images/stock-button-vchain-broken.png
      	* themes/Default/images/stock-button-vchain.png: new stock icons.
      14d0a3ff
  10. 21 Sep, 2001 1 commit
    • Michael Natterer's avatar
      made a real object (GtkDialog subclass) out of it. The API will change · cb474a08
      Michael Natterer authored
      2001-09-20  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpdialog.[ch]: made a real object (GtkDialog
      	subclass) out of it. The API will change soon too.
      
      	* libgimpwidgets/gimpwidgetstypes.h: added GimpDialog typedef.
      
      	* libgimpwidgets/gimpbutton.[ch]
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolorbutton.[ch]
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimpoffsetarea.[ch]
      	* libgimpwidgets/gimppatheditor.[ch]
      	* libgimpwidgets/gimppixmap.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c: removed GtkType stuff and use
      	GType in all get_type() functions. Some random GObject porting.
      
      	* app/gui/info-dialog.c
      	* app/gui/info-window.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      cb474a08
  11. 10 Aug, 2001 1 commit
    • Michael Natterer's avatar
      fix compiler warning. · 2353c5d3
      Michael Natterer authored
      2001-08-10  Michael Natterer  <mitch@convergence.de>
      
      	* app/nav_window.c: fix compiler warning.
      
      	* app/core/gimp.[ch]: added gimp->documents which will be an MRU
      	list of GimpImagefile objects.
      
      	* app/core/gimpcontainer.c: added some g_return_if_fail().
      
      	* app/gui/palette-editor.c: use GtkImage instead of GtkPixmap,
      	s/gtk_signal_*/g_signal_*/.
      
      	* app/widgets/gimppreview.c: render the checkerboard only for
      	channel == -1. In particular, don't render it for channel
      	previews.
      
      	* app/module_db.c
      	* app/core/*.c
      	* app/gui/colormap-dialog.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/tool_manager.c
      	* app/widgets/*.c
      	* libgimpwidgets/*.c: s/gtk_type_new/g_object_new/
      2353c5d3
  12. 04 Aug, 2001 1 commit
    • Michael Natterer's avatar
      register the button icons with GTK_ICON_SIZE_BUTTON, but set them as · d128e989
      Michael Natterer authored
      2001-08-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpstock.[ch]: register the button icons with
      	GTK_ICON_SIZE_BUTTON, but set them as scalable fallbacks for
      	themselves so they get scaled for menus.
      
      	* app/gui/menus.c: set stock icons for much more menu entries.
      
      	* app/widgets/gimpwidgets-utils.[ch]: new utility function
      	gimp_item_factory_popup_with_data().
      
      	* app/disp_callbacks.[ch]
      	* app/gui/brushes-commands.c
      	* app/gui/channels-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/patterns-commands.c: use the new function.
      
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c: s/_("Reset")/GIMP_STOCK_RESET/
      
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainerview.[ch]: moved the button_box utility
      	functions from the container editor to GimpContainerView itself.
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c: changed accordingly. Removed
      	lots of duplicated code and use stock images instead of pixmaps.
      
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimppatheditor.c: use stock images instead of
      	pixmaps.
      
      	* pixmaps/Makefile.am: removed "yes" and "no", added "stroke".
      
      	* pixmaps/anchor.xpm
      	* pixmaps/delete.xpm
      	* pixmaps/lower.xpm
      	* pixmaps/new.xpm
      	* pixmaps/paste-as-new.xpm
      	* pixmaps/paste-into.xpm
      	* pixmaps/paste.xpm
      	* pixmaps/raise.xpm
      	* pixmaps/refresh.xpm
      	* pixmaps/toselection.xpm: made them all 16x16 so they are scaled
      	nicely in menus. Should probably be 18x18.
      d128e989
  13. 31 Jul, 2001 1 commit
    • Sven Neumann's avatar
      removed g_signal_handlers_disconnect_by_data again. As Owen pointed out, · 0f6ab278
      Sven Neumann authored
      2001-07-31  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h: removed g_signal_handlers_disconnect_by_data
      	again. As Owen pointed out, it's generally a bad idea to use it since
      	you can't be absolutely sure that no one else has a pointer to the
      	data you are disconnecting.
      
      	* app/gdisplay.c: added the macro here temporarily.
      
      	* app/module_db.c
      	* app/undo_history.c
      	* app/gui/brush-editor.c
      	* app/gui/brush-select.c
      	* app/gui/gradient-select.c
      	* app/gui/pattern-select.c: use g_signal_handlers_disconnect_by_func.
      
      	* libgimpwidgets/gimpbutton.c
      	* libgimpwidgets/gimpchainbutton.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.c: GObject porting.
      0f6ab278
  14. 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
  15. 21 May, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added new directory libgimpbase/ · 7d1375e9
      Michael Natterer authored
      2001-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool-1.4.in: added new directory libgimpbase/
      
      	* app/Makefile.am: link against the new lib.
      
      	* app/appenums.h: removed the PDB enums which are in
      	libgimpbase/gimpbasetypes.h now. They are all "Gimp" prefixed.
      
      	* app/apptypes.h: #include "libgimpbase/gimpbasetypes.h"
      
      	* app/[lots]
      	* app/core/[of]
      	* app/gui/[files]
      	* app/tools/: changed includes and all PDB types.
      
      	* app/pdb/*: regenerated.
      
      	* libgimp/Makefile.am: don't build libgimpi.a uglyness any more.
      
      	* libgimp/gimpenv.[ch]
      	* libgimp/gimplimits.[hh]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimpparasiteio.[ch]
      	* libgimp/gimpprotocol.[ch]
      	* libgimp/gimpsignal.[ch]
      	* libgimp/gimpunit.h
      	* libgimp/gimputils.[ch]
      	* libgimp/gimpwire.[ch]: removed...
      
      	* libgimpbase/*: ...and added here as new library.
      
      	* libgimp/gimp.[ch]
      	* libgimp/gimpdrawable.[ch]
      	* libgimp/gimpenums.h
      	* libgimp/gimpimage.[ch]
      	* libgimp/gimptile.c
      	* libgimp/gimptypes.h
      	* libgimp/gimpunit.c: changed accordingly. Added the
      	gimp_*_add_new_parasite to gimp.[ch], gimpdrawable.[ch] and
      	gimpimage.[ch].
      
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.c
      	* libgimpwidgets/gimpwidgetstypes.h: changed includes accordingly.
      
      	* plug-ins/*/Makefile.am
      	* plug-ins/common/mkgen.pl: link against libgimpbase.
      
      	* tools/pdbgen/Makefile.am: scan libgimpbase/gimpbasetypes.h, so
      	the enums are known to pdbgen...
      
      	* tools/pdbgen/enumcode.pl: ...but don't write them out to
      	libgimp/gimpenums.h
      
      	* tools/pdbgen/app.pl: include libgimp/gimpbase.h in all *_cmds.c
      	files. Added GIMP_ to the type names ganerated in app/.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/unit.pdb: changed includes.
      7d1375e9
  16. 24 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added the new library below. · 7a4260da
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added the new library below.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolorbutton.[ch]
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimphelpui.[ch]
      	* libgimpwidgets/gimppatheditor.[ch]
      	* libgimpwidgets/gimppixmap.[ch]
      	* libgimpwidgets/gimpquerybox.[ch]
      	* libgimpwidgets/gimpsizeentry.[ch]
      	* libgimpwidgets/gimpunitmenu.[ch]
      	* libgimpwidgets/gimpwidgets.[ch]
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgetstypes.h: new shared library.
      
      	Currently there are some ugly dependencies into libgimp. These
      	will be removed and go to a "libgimpglue" library which will be
      	a library for functions which share a common interface between
      	plug-ins and the app but have different implementations.
      
      	Include "libgimp/gimpunit.h" from "libgimpwidgets/gimpwidgetstypes.h"
      	to simulate this upcoming separation.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpchainbutton.[ch]
      	* libgimp/gimpcolorarea.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: removed from here.
      
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h
      	* libgimp/makefile.mingw.in
      	* libgimp/makefile.msc: changed accordingly.
      
      	* app/[all ui files]
      	* app/pdb/palette_cmds.c
      	* app/pdb/tools_cmds.c
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/tools.pdb: #include "libgimpwidgets/gimpwidgets.h"
      	and removed useless includes.
      
      	* app/apptypes.h: #include "libgimpwidgets/gimpwidgetstypes.h"
      
      	* app/Makefile.am
      	* plug-ins/[all makefiles which link against libgimpui]:
      	link against libgimpwidgets.la
      
      	* po-libgimp/POTFILES.in: changed file locations.
      7a4260da
  17. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  18. 18 Nov, 2000 1 commit
    • Michael Natterer's avatar
      app/fileops.c Make sure that we don't try to destroy query_boxes twice or · cdd0a514
      Michael Natterer authored
      2000-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/fileops.c
      	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
      	query_boxes twice or try to disconnect not-any-more connected
      	handlers.
      
      	* app/color_notebook.c
      	* app/gimpcontext.[ch]
      	* app/gimphelp.[ch]
      	* app/lc_dialog.[ch]
      	* app/menus.h
      	* app/preferences_dialog.c
      	* app/tools.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpexport.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpui.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
      	and many other strings passed to UI functions to (const gchar *).
      	As a consequence, I had to fix lots of warnings ;)
      
      	* plug-ins/common/tga.c
      	* plug-ins/imagemap/imap_main.c: fixed warnings.
      
      	Code cleanup and indentation all over the place.
      cdd0a514
  19. 30 May, 2000 1 commit
  20. 26 Feb, 2000 1 commit
  21. 19 Feb, 2000 1 commit
    • Michael Natterer's avatar
      gimp_pixmap_new(): set the widget's requisition so it can be properly · 5d57b999
      Michael Natterer authored
      2000-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimppixmap.c: gimp_pixmap_new(): set the widget's
      	requisition so it can be properly packed before it's realized.
      
      	* libgimp/gimpwidgets.[ch]: added a "text" parameter to
      	gimp_pixmap_button_new().
      
      	* app/undo_history.c: use gimp_pixmap_buttons.
      
      	* app/gradient.c
      	* app/nav_window.c
      	* app/palette.c
      	* libgimp/gimppatheditor.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c: changed calls to
      	gimp_pixmap_button_new().
      
      	* plug-ins/MapObject/mapobject_main.c: INIT_I18N() was missing in
      	query().
      
      	* plug-ins/pagecurl/pagecurl.c: use GimpVector2 functions instead
      	of reinventing the wheel.
      
      	* plug-ins/helpbrowser/helpbrowser.c: use gimp_pixmap_buttons.
      
      	* plug-ins/helpbrowser/back.xpm
      	* plug-ins/helpbrowser/forward.xpm: cropped.
      5d57b999
  22. 18 Feb, 2000 2 commits
    • Sven Neumann's avatar
      removed a few warnings · 38a5f21e
      Sven Neumann authored
      
      --Sven
      38a5f21e
    • Michael Natterer's avatar
      libgimp/Makefile.am simple widget which creates a pixmap from XPM data · f9f4411f
      Michael Natterer authored
      2000-02-18  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimp/gimppixmap.[ch]: simple widget which creates a pixmap
      	from XPM data without the need to worry about it's parent's
      	"realized" state and other stuff.
      
      	* libgimp/gimpcolorbutton.c: removed a gtk-doc comment from an
      	internal function.
      
      	* libgimp/gimpwidgets.[ch]: new function gimp_pixmap_button_new().
      
      	* app/gimpui.h
      	* libgimp/gimpui.h: include gimppixmap.h.
      
      	* app/gradient.c
      	* app/nav_window.c
      	* app/palette.c
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimppatheditor.c
      	* libgimp/gimpquerybox.c
      	* plug-ins/FractalExplorer/FractalExplorer.c: use GimpPixmaps.
      
      	* plug-ins/Lighting/*
      	* plug-ins/MapObject/*: some more cleanups: reduced # of includes,
      	made private functions static, use GimpPixmaps.
      
      	* plug-ins/libgck/Makefile.am
      	* plug-ins/libgck/NEWS
      	* plug-ins/libgck/README
      	* plug-ins/libgck/TODO
      	* plug-ins/libgck/docs/html/gck.html
      	* plug-ins/libgck/docs/html/gck_application_window.html
      	* plug-ins/libgck/docs/html/gck_dialog_window.html
      	* plug-ins/libgck/docs/html/gckmath.html
      	* plug-ins/libgck/docs/html/gckui.html
      	* plug-ins/libgck/docs/html/gckvector.html: removed because they
      	documented files which don't exist any more.
      f9f4411f
  23. 08 Feb, 2000 2 commits
  24. 06 Dec, 1999 1 commit
  25. 20 Nov, 1999 1 commit
    • Michael Natterer's avatar
      new prefs. page "Help System" because there will soon be more widgets · 50fe2885
      Michael Natterer authored
      1999-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/preferences_dialog.c: new prefs. page "Help System" because
      	there will soon be more widgets there (browser selection etc.)
      	Cleaned up the "Display" and "Interface" pages a bit.
      
      	* app/menus.c
      	* plug-ins/common/plugindetails.c: add "...".
      
      	* libgimp/gimpfileselection.c
      	* libgimp/gimppatheditor.c: a widget shouldn't connect to it's own
      	"realize" signal. Set widget_class->realize = <widget>_realize
      	instead.
      50fe2885
  26. 17 Nov, 1999 1 commit
  27. 17 Jun, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am new files. Does nothing yet. Checked in because I found · aaa3ef21
      Michael Natterer authored
      1999-06-17  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/Makefile.am
      	* app/gimpcontext.[ch]: new files. Does nothing yet. Checked in
      	because I found some bugs while hacking it:
      
      	* libgimp/gimpchainbutton.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]: fixed some cut & paste bugs and some
      	gtk 1.0 artefacts in the object class initialisation code.
      aaa3ef21
  28. 27 Mar, 1999 1 commit
    • Michael Natterer's avatar
      app/brush_select.c app/channels_dialog.c app/color_select.c app/devices.c · 2f34216a
      Michael Natterer authored
      1999-03-27  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
              * app/brush_select.c
              * app/channels_dialog.c
              * app/color_select.c
              * app/devices.c
              * app/file_new_dialog.c
              * app/gradient_select.c
              * app/palette_select.c
              * app/pattern_select.c: applied a patch from Marco Lamberto
              <lm@geocities.com> which unifies actionareas ("Cancel" rightmost
              and default). Did the same in some more dialogs.
      
              * libgimp/gimpfileselection.c
              * libgimp/gimppatheditor.c
              * app/preferences_dialog.[ch]: completely reworked the preferences
              dialog:
      
              - select the notebook's pages with a tree.
              - reordered the categories. Please give me feedback, this really
                needs to be intuitive.
              - removed lots of unused #include's.
              - turned the prefs. dialog into a test site for new convenience
                constructors. These changes are however not visible. Flame me
                until they're perfect ;) When finished, this stuff can save
                *many* lines of gtk+ code.
      
              * modules/colorsel_gtk.c: made it circular.
      2f34216a
  29. 14 Mar, 1999 1 commit
    • Michael Natterer's avatar
      removed two unused directories from plug-in-path. · 844a73d3
      Michael Natterer authored
      1999-03-14  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* gimprc.in: removed two unused directories from plug-in-path.
      
      	* app/file_new_dialog.c: make the first spinbutton grab the focus
      	and one more unit initialisation bugfix
      
      	* app/interface.c: grab focus in query_[string|int|..]_box()
      	This still needs to be done in many dialogs to be consistent.
      
      	* app/preferences_dialog.c: made the module-path configurable
      
      	* libgimp/gimppatheditor.[ch]: change the order of the buttons to
      	match the order in the L&C dialog
      
      	* libgimp/gimpsizeentry.[ch]: enabled highlighting of the
      	spinbuttons' contents on focus_in_event.
      	Ugly new function gimp_size_entry_grab_focus() because it seems
      	impossible to implement gtk_widget_grab_focus(sizeentry).
      844a73d3
  30. 13 Mar, 1999 2 commits
    • Michael Natterer's avatar
      checked in a buggy version before ;) · 0be21f78
      Michael Natterer authored
      1999-03-14  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* libgimp/gimppatheditor.c: checked in a buggy version before ;)
      0be21f78
    • Michael Natterer's avatar
      only save sessionrc if the corresponding preferences option is enabled · 98f9e4e4
      Michael Natterer authored
      1999-03-14  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/app_procs.c: only save sessionrc if the corresponding
      	preferences option is enabled
      
      	* app/preferences_dialog.c: preferences renovation part I: the
      	directories page uses the new widgets from libgimp
      
      	* libgimp/Makefile.am
      	* ligbimp/gimpi.def
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimppatheditor.[ch]: new widgets which enable a more
      	comfortable file and searchpath selection
      
      	* Makefile.am
      	* pixmaps/no.xpm
      	* pixmaps/yes.xpm: pixmaps used by the new widgets
      98f9e4e4