1. 02 Aug, 2005 8 commits
    • Michael Natterer's avatar
      removed all parameters from gimp_proc_browser_dialog_new() and removed the · 79d2bb6a
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimpprocbrowserdialog.[ch]: removed all parameters from
      	gimp_proc_browser_dialog_new() and removed the "scheme_names"
      	stuff.
      
      	* plug-ins/dbbrowser/procedure-browser.c
      	* plug-ins/pygimp/procbrowser.c
      	* plug-ins/script-fu/script-fu-console.c: changed accordingly.
      
      	* plug-ins/script-fu/script-fu-interface.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-types.h
      	* plug-ins/script-fu/siod-wrapper.c: removed all sorts of
      	conversions between '-' and '_' for procedure names.
      
      	* plug-ins/script-fu/script-fu.c: use canonical names for
      	script-fu's procedures.
      79d2bb6a
    • Michael Natterer's avatar
      app/actions/vectors-commands.c canonicalized some hardcoded procedure · 335ba076
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/vectors-commands.c
      	* app/widgets/gimphelp.c: canonicalized some hardcoded procedure
      	names because internal functions accept only canonical names now.
      335ba076
    • Michael Natterer's avatar
      Changed naming scheme for PDB procedure names from · 853f04d5
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	Changed naming scheme for PDB procedure names from
      	random_crap_that_traditionally_has_underscores to
      	enforced-canonical-identifiers. I'm pretty sure some things are
      	broken after this commit. More changes to come...
      
      	* libgimpbase/gimpbase.def
      	* libgimpbase/gimputils.[ch]: added gimp_canonicalize_identifier().
      
      	* app/pdb/procedural_db.[ch] (struct ProcRecord): added
      	"gchar *original_name" to keep a procedure's original name as
      	reigstered by plug-ins (compat cruft).
      
      	(procedural_db_init_procs): canonicalized list of deprecated
      	procedures.
      
      	* app/plug-in/plug-in-proc-def.c (plug_in_proc_def_free): free
      	original_name.
      
      	* app/plug-in/plug-in-message.c: canonicalize procedure names
      	which are received over the wire.
      
      	* app/plug-in/plug-in-rc.c: serialize the original_name and create
      	the canonicalized name on-the-fly when deserializing.
      
      	* app/plug-in/plug-in-run.c: pass the original_name to plug-ins
      	when running them because they strcmp() the passed procedure name.
      
      	* app/plug-in/plug-ins.c (plug_ins_add_to_db): pass
      	canonical procedure names to procedural_db_execute().
      
      	(plug_ins_file_proc_compare): special-case "gimp-xcf", not "gimp_xcf".
      
      	* app/xcf/xcf.c: changed static XCF procedures accordingly.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/lib.pl: do some trivial substitutions to generate
      	canonicalized names in app/, and C identifiers with underscores in
      	libgimp/.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: canonicaloized procedure
      	names in calls to std_pdb_deprecated() and in procedure names in
      	generated C code.
      
      	* app/pdb/*_cmds.c
      	* libgimp/*_pdb.c: regenerated.
      853f04d5
    • Sven Neumann's avatar
      libgimp/gimpbrushmenu.c libgimp/gimpdrawablecombobox.c · 990ee207
      Sven Neumann authored
      2005-08-03  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpdrawablecombobox.c
      	* libgimp/gimpfontselectbutton.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpimagecombobox.c
      	* libgimp/gimppalettemenu.c
      	* libgimp/gimppatternmenu.c: fixed signedness warnings.
      990ee207
    • Manish Singh's avatar
      Quick and dirty restore of browser functionality. · 00d1d299
      Manish Singh authored
      2005-08-02  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/procbrowser.c: Quick and dirty restore of browser
              functionality.
      00d1d299
    • Michael Natterer's avatar
      added GimpProcBrowserDialog typedef here. · 40dd411b
      Michael Natterer authored
      2005-08-02  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimpuitypes.h: added GimpProcBrowserDialog typedef here.
      
      	* libgimp/gimpprocbrowserdialog.[ch]
      	* libgimp/gimpprocview.[ch]: fixed copyright headers, added
      	G_BEGIN_DECLS / G_END_DECLS.
      40dd411b
    • Michael Natterer's avatar
      plug-ins/dbbrowser/Makefile.am plug-ins/dbbrowser/gimpprocbrowser.[ch] · 4d369ec2
      Michael Natterer authored
      2005-08-02  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/dbbrowser/Makefile.am
      	* plug-ins/dbbrowser/gimpprocbrowser.[ch]
      	* plug-ins/dbbrowser/gimpprocview.[ch]: removed these files...
      
      	* libgimp/Makefile.am
      	* libgimp/gimpui.h
      	* libgimp/gimpui.def
      	* libgimp/gimpprocbrowserdialog.[ch]
      	* libgimp/gimpprocview.[ch]: ...and added them here. Turned the
      	procedure browser into a widget called GimpProcBrowserDialog and
      	changed its API completely. Fixes bug #165009.
      
      	* plug-ins/dbbrowser/plugin-browser.c
      	* plug-ins/dbbrowser/procedure-browser.c
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/script-fu/script-fu-console.c: changed accordingly.
      
      	* plug-ins/pygimp/Makefile.am
      	* plug-ins/pygimp/procbrowser.c: ditto (#if 0'ed stuff so it compiles).
      4d369ec2
    • Sven Neumann's avatar
      app/tools/gimpforegroundselectoptions.[ch] some code cleanup; moved stroke · 2162eb66
      Sven Neumann authored
      2005-08-02  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpforegroundselectoptions.[ch]
      	* app/tools/gimpforegroundselecttool.[ch]: some code cleanup; moved
      	stroke width to the tool options.
      2162eb66
  2. 01 Aug, 2005 2 commits
    • Manish Singh's avatar
      app/composite/Makefile.am fix code generation filenames. · f7b14365
      Manish Singh authored
      2005-07-31  Manish Singh  <yosh@gimp.org>
      
              * app/composite/Makefile.am
              * app/composite/make-installer.py: fix code generation filenames.
      f7b14365
    • Manish Singh's avatar
      acinclude.m4 m4macros/Makefile.am new macro: GIMP_DETECT_CFLAGS; used to · b55753bb
      Manish Singh authored
      2005-07-31  Manish Singh  <yosh@gimp.org>
      
              * acinclude.m4
              * m4macros/Makefile.am
              * m4macros/detectcflags.m4: new macro: GIMP_DETECT_CFLAGS; used
              to detect which of a set of compiler options a compiler supports.
      
              * configure.in: use the above for the altivec and -fno-strict-aliasing
              flags. Also, use it to detect the presence of -mmmx and -msse, since
              those are needed to compile even MMX/SSE assembly with gcc 4.0. Define
              MMX/SSE_EXTRA_CFLAGS.
      
              * app/composite/Makefile.am: compile each of the composite flavors
              into their own library, so we can use automake's per-target CFLAGS.
              Use MMX/SSE/ALTIVEC_EXTRA_CFLAGS in the appropriate places. Build
              libappcomposite.a out of the resulting objects.
      
              * app/composite/gimp-composite-3dnow.c
              * app/composite/gimp-composite-altivec.c
              * app/composite/gimp-composite-mmx.c
              * app/composite/gimp-composite-sse.c
              * app/composite/gimp-composite-sse2.c
              * app/composite/gimp-composite-vis.c
              * app/composite/make-installer.py: move the _init functions into
              the installers, so only actually mmx/sse/etc. code gets compiled
              under the appropriate CFLAGS.
      
              * app/composite/gimp-composite-3dnow-installer.c
              * app/composite/gimp-composite-altivec-installer.c
              * app/composite/gimp-composite-mmx-installer.c
              * app/composite/gimp-composite-sse-installer.c
              * app/composite/gimp-composite-sse2-installer.c
              * app/composite/gimp-composite-vis-installer.c: regenerated.
      
              * app/composite/gimp-composite.c: remove useless cpu-accel.h include.
      b55753bb
  3. 31 Jul, 2005 7 commits
  4. 30 Jul, 2005 10 commits
  5. 29 Jul, 2005 11 commits
    • Sven Neumann's avatar
      increased spacing. · 5071edb1
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppageselector.c: increased spacing.
      5071edb1
    • Sven Neumann's avatar
      added "tools-foreground-select" to the Selection Tools menu. · f4adf361
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* menus/image-menu.xml.in: added "tools-foreground-select" to the
      	Selection Tools menu.
      
      	* app/tools/gimpforegroundselecttool.c: resolved clashing mnemonic.
      f4adf361
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · b8fc8e60
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/stock-tool-foreground-select-16.png
      	* themes/Default/images/tools/stock-tool-foreground-select-22.png:
      	added placeholder for yet-to-be-drawn tool icon.
      
      	* libgimpwidgets/gimpstock.[ch]: register it.
      
      	* app/tools/gimpforegroundselecttool.c: use it.
      
      	* app/widgets/gimpclipboard.[ch] (gimp_clipboard_get_svg): return
      	a signed char pointer.
      
      	* app/actions/edit-commands.c
      	* app/tools/gimpinkoptions-gui.c: fixed signedness issues.
      b8fc8e60
    • Sven Neumann's avatar
      app/base/siox.[ch] pass progress_callback and progress_data to · a0265244
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.[ch]
      	* app/core/gimpdrawable-foreground-extract.c: pass progress_callback
      	and progress_data to siox_foreground_extract().
      a0265244
    • Sven Neumann's avatar
      added a progress parameter. · 2580f0c0
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-foreground-extract.[ch]: added a progress
      	parameter.
      
      	* app/tools/gimpforegroundselecttool.[ch]: changed the "select"
      	method to take a GimpDisplay instead of a GimpImage.
      
      	* tools/pdbgen/pdb/drawable.pdb
      	* app/tools/gimpforegroundselecttool.c: changed accordingly.
      
      	* app/pdb/drawable_cmds.c: regenerated.
      2580f0c0
    • Sven Neumann's avatar
      fixed signedness warnings. · 5ce9b4ec
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/jpeg/jpeg-load.c: fixed signedness warnings.
      5ce9b4ec
    • Sven Neumann's avatar
      added GimpForegroundExtractMode in preparation for other implementations · 23666d8f
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch]: added GimpForegroundExtractMode
      	in preparation for other implementations to be added in the future.
      
      	* libgimp/gimpenums.c.tail
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/gimpdrawable-foreground-extract.[ch]
      	* app/tools/gimpforegroundselecttool.c
      	* tools/pdbgen/pdb/drawable.pdb: added the mode parameter.
      
      	* app/pdb/drawable_cmds.c
      	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
      23666d8f
    • Sven Neumann's avatar
      added casts to silent signedness warnings. · 26b69166
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-utils.c (gimp_config_string_append_escaped):
      	added casts to silent signedness warnings.
      26b69166
    • Sven Neumann's avatar
      no antialiasing for the foreground selection tool (yet). · 74345379
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpselectionoptions.c (gimp_selection_options_gui): no
      	antialiasing for the foreground selection tool (yet).
      74345379
    • Sven Neumann's avatar
      added gimp_scan_convert_render_value(), a variant of · a5abd453
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpscanconvert.[ch]: added
      	gimp_scan_convert_render_value(), a variant of
      	gimp_scan_convert_render() that allows to pass the foreground value.
      
      	* app/tools/gimpfreeselecttool.[ch]: added a virtual "select" method.
      
      	* app/tools/Makefile.am
      	* app/tools/gimp-tools.c
      	* app/tools/gimpforegroundselecttool.[ch]: added a rough first
      	version of foreground selection tool based on the SIOX algorithm.
      	Work in progress...
      
      	* app/widgets/gimphelp-ids.h: added help-id for the new tool.
      a5abd453
    • Sven Neumann's avatar
      minor cleanup. · 81b81e33
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpfreeselecttool.c: minor cleanup.
      81b81e33
  6. 28 Jul, 2005 2 commits
    • Sven Neumann's avatar
      minor cleanup. · fde49937
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.c (siox_foreground_extract): minor cleanup.
      fde49937
    • Sven Neumann's avatar
      added gimp_undo_stack_get_depth(). · 0728f76b
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpundostack.[ch]: added gimp_undo_stack_get_depth().
      
      	* app/widgets/gimpimagepropview.[ch]: display number and memory
      	usage of undo/redo steps.
      
      	* app/core/gimpimage-merge.c: fixed signedness issue.
      0728f76b