1. 07 Feb, 2006 3 commits
  2. 06 Feb, 2006 1 commit
    • Sven Neumann's avatar
      connect-after to "realize" and "size-allocate" signals of the preview area · 539ff359
      Sven Neumann authored
      2006-02-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.c: connect-after to "realize" and
      	"size-allocate" signals of the preview area and call the
      	set-cursor method from the callback.
      
      	* libgimpwidgets/gimpscrolledpreview.c: no need to explicitely set
      	the cursor now that the virtual method is used correctly.
      
      	* libgimp/gimpzoompreview.c: implement set-cursor and set the move
      	cursor in accordance with the zoom factor.
      539ff359
  3. 30 Jan, 2006 1 commit
    • Sven Neumann's avatar
      moved GIMP_PARAM defines from here ... · 7b24dd8e
      Sven Neumann authored
      2006-01-30  Sven Neumann  <sven@gimp.org>
      
      	* app/config/config-types.h: moved GIMP_PARAM defines from here ...
      
      	* libgimpbase/gimpparam.h: ... to this new files.
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbasetypes.h: include the new header file.
      
      	* libgimp/gimpfontselectbutton.c
      	* libgimpconfig/gimpcolorconfig.c
      	* libgimpthumb/gimpthumbnail.c
      	* libgimpwidgets/gimpcellrenderercolor.c
      	* libgimpwidgets/gimpcellrenderertoggle.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpcolordisplay.c
      	* libgimpwidgets/gimpcontroller.c
      	* libgimpwidgets/gimpdialog.c
      	* libgimpwidgets/gimpenumcombobox.c
      	* libgimpwidgets/gimpintcombobox.c
      	* libgimpwidgets/gimppageselector.c
      	* libgimpwidgets/gimppreview.c
      	* libgimpwidgets/gimppreviewarea.c
      	* libgimpwidgets/gimpzoommodel.c
      	* modules/cdisplay_colorblind.c
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/cdisplay_lcms.c
      	* modules/cdisplay_proof.c
      	* modules/controller_linux_input.c
      	* modules/controller_midi.c: use the GIMP_PARAM defines to avoid
      	unnecessary string allocations.
      7b24dd8e
  4. 25 Jan, 2006 2 commits
    • Sven Neumann's avatar
      added a priv pointer to the instance struct and changed the GET_PRIVATE() · 3e30eeb6
      Sven Neumann authored
      2006-01-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpzoompreview.[ch]: added a priv pointer to the
      	instance struct and changed the GET_PRIVATE() macro to access the
      	private data via that pointer.
      3e30eeb6
    • Sven Neumann's avatar
      libgimpwidgets/gimpintcombobox.[ch] libgimpwidgets/gimppageselector.[ch] · b614bf5e
      Sven Neumann authored
      2006-01-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpintcombobox.[ch]
      	* libgimpwidgets/gimppageselector.[ch]
      	* libgimpwidgets/gimpzoommodel.[ch]: added a priv pointer to the
      	instance struct and changed the GET_PRIVATE() macro to access the
      	private data via that pointer.
      
      	* libgimpwidgets/gimpscrolledpreview.[ch]
      	* libgimpwidgets/gimpwidgets.def: added a priv pointer to the
      	instance struct and moved all private data to the
      	GimpScrolledPreviewPrivate struct. Added freeze/thaw methods so
      	that derived widgets can be implemented without accessing private
      	data.
      
      	* libgimp/gimpzoompreview.c: changed accordingly.
      
      	* libgimp/gimpfontselectbutton.[ch]: let the priv pointer be an
      	anonymous void pointer.
      b614bf5e
  5. 04 Jan, 2006 1 commit
    • Michael Natterer's avatar
      fixed docs for gimp-context-push/pop. · 999f58b8
      Michael Natterer authored
      2006-01-04  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/context.pdb: fixed docs for gimp-context-push/pop.
      
      	* app/pdb/context_cmds.c
      	* libgimp/gimpcontext_pdb.c: regenerated.
      999f58b8
  6. 02 Jan, 2006 2 commits
    • Simon Budig's avatar
      added a bunch of missing symbols. · dd564add
      Simon Budig authored
      2006-01-02  Simon Budig  <simon@gimp.org>
      
      	* libgimp/gimp.def: added a bunch of missing symbols.
      dd564add
    • Michael Natterer's avatar
      tools/pdbgen/pdb/context.pdb added gimp-context-get/set-paint-method which · d78aaac8
      Michael Natterer authored
      2006-01-02  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/context.pdb
      	* libgimp/gimp.def: added gimp-context-get/set-paint-method which
      	get/set the context's paint-info by name. Use these functions to
      	stroke with any paint method (still only with its default paint
      	options).
      
      	* app/pdb/context_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpcontext_pdb.[ch]: regenerated.
      d78aaac8
  7. 29 Dec, 2005 4 commits
    • Simon Budig's avatar
      new function: image_add_vectors · 0f0a0f4b
      Simon Budig authored
      2005-12-29  Simon Budig  <simon@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: new function:
      	    image_add_vectors
      
      	* tools/pdbgen/pdb/vectors.pdb: new functions:
      	    vectors_get_strokes
      	    vectors_stroke_get_point_at_dist
      	    vectors_stroke_close
      
      	removed nonfunctional undo code (that does not belong here anyways)
      	and fixed a bug in [...]_cubicto.
      
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpvectors_pdb.[ch]: regenerated.
      0f0a0f4b
    • Simon Budig's avatar
      extended gimp_bezier_stroke_new_ellipse() with an "angle" parameter. · 3c257b69
      Simon Budig authored
      2005-12-29  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpbezierstroke.[ch]: extended
      	gimp_bezier_stroke_new_ellipse() with an "angle" parameter.
      	* app/vectors/gimpvectors-import.c: changed accordingly, untabbified.
      
      	* tools/pdbgen/pdb/vectors.pdb: added PDB-wrappers for
      	      vectors_bezier_stroke_new_moveto
      	      vectors_bezier_stroke_lineto
      	      vectors_bezier_stroke_conicto
      	      vectors_bezier_stroke_cubicto
      	      vectors_bezier_stroke_new_ellipse
      
      	Undo does not work properly yet.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpvectors_pdb.[ch]: regenerated.
      3c257b69
    • Michael Natterer's avatar
      renamed GIMP_PDB_PATH to GIMP_PDB_VECTORS and add the former as an alias · a0d231b3
      Michael Natterer authored
      2005-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch] (enum GimpPDBArgType): renamed
      	GIMP_PDB_PATH to GIMP_PDB_VECTORS and add the former as an alias
      	for the latter.
      
      	* libgimp/gimp.h (union _GimpParamData): added back d_path member
      	to maintian source compatibility.
      
      	* tools/pdbgen/pdb.pl
      	* libgimp/gimp.c
      	* app/pdb/procedural_db.c
      	* app/plug-in/plug-in-params.c
      	* libgimpbase/gimpprotocol.[ch]
      	* plug-ins/pygimp/pygimp-pdb.c
      	* plug-ins/script-fu/siod-wrapper.c: s/GIMP_PDB_PATH/GIMP_PDB_VECTORS/
      
      	* app/pdb/image_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpimage_pdb.c
      	* libgimp/gimpvectors_pdb.c
      	* tools/pdbgen/enums.pl: regenerated.
      a0d231b3
    • Simon Budig's avatar
      gimp_vectors_[gs]et_locked renamed to _linked for consistency. · 949fa77a
      Simon Budig authored
      2005-12-29  Simon Budig  <simon@gimp.org>
      
      	* tools/pdbgen/pdb/vectors.pdb:
      	   gimp_vectors_[gs]et_locked  renamed to _linked for consistency.
      
      	   gimp_vectors_[gs]et_tattoo, gimp_vectors_get_image: new.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpvectors_pdb.[ch]: regenerated
      949fa77a
  8. 28 Dec, 2005 1 commit
    • Simon Budig's avatar
      tools/pdbgen/pdb/image.pdb Added new functions for the vectors PDB API. · cbea6791
      Simon Budig authored
      2005-12-28  Simon Budig  <simon@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/vectors.pdb: Added new functions for the vectors
      	PDB API. Minor cleanups. Please try to use them and test:
      
      	  gimp_image_get_active_vectors
      	  gimp_image_set_active_vectors
      	  gimp_image_get_vectors_by_tattoo
      	  gimp_image_lower_vectors
      	  gimp_image_lower_vectors_to_bottom
      	  gimp_image_raise_vectors
      	  gimp_image_raise_vectors_to_top
      	  gimp_image_remove_vectors
      
      	  gimp_vectors_get_locked
      	  gimp_vectors_set_locked
      	  gimp_vectors_get_name
      	  gimp_vectors_set_name
      	  gimp_vectors_get_visible
      	  gimp_vectors_set_visible
      	  gimp_vectors_stroke_get_length
      	  gimp_vectors_stroke_remove
      	  gimp_vectors_stroke_scale
      
      	* libgimp/gimp.[ch]: renamed the unused d_path to d_vectors and
      	use it. Untabbified.
      
      	* devel-docs/libgimp/tmpl/gimpvectors.sgml
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpvectors_pdb.[ch]: Regenerated
      
      	* app/vectors/gimpstroke.h: minor cleanup.
      cbea6791
  9. 20 Dec, 2005 1 commit
  10. 14 Dec, 2005 1 commit
  11. 13 Dec, 2005 1 commit
    • Sven Neumann's avatar
      let the private wire methods live in the GIMP namespace. Declare internal · 4467e1cd
      Sven Neumann authored
      2005-12-13  Sven Neumann  <sven@gimp.org>
      
              * libgimpbase/gimpwire.[ch]: let the private wire methods live in
              the GIMP namespace. Declare internal functions as such and prefix
              them with an underscore.
      
              * libgimp/gimp.c
              * libgimp/gimptile.c
              * libgimpbase/gimpbase.def
              * libgimpbase/gimpprotocol.c
              * app/plug-in/plug-in-message.[ch]
              * app/plug-in/plug-in-run.c
              * app/plug-in/plug-in.c: changed accordingly.
      4467e1cd
  12. 06 Dec, 2005 1 commit
  13. 22 Nov, 2005 2 commits
  14. 06 Nov, 2005 1 commit
    • Sven Neumann's avatar
      Added support for binary relocation by means of binreloc, largely based on · 39e866d9
      Sven Neumann authored
      2005-11-06  Sven Neumann  <sven@gimp.org>
      
      	Added support for binary relocation by means of binreloc, largely
      	based on a patch by Hongli Lai:
      
      	* m4macros/Makefile.am
      	* m4macros/binreloc.m4: new file providing a macro to check for
      	binreloc support.
      
      	* acinclude.m4
      	* configure.in: use the macro.
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpreloc.[ch]: new files providing binreloc support
      	on Linux.
      
      	* libgimpbase/gimpenv.[ch]: use binreloc, provide a function to
      	initialize the environment machinery.
      
      	* libgimpbase/gimpbase.def: updated.
      
      	* app/Makefile.am: fiddle with the LDFLAGS for binreloc.
      
      	* app/main.c (main): gimp_env_init(FALSE).
      
      	* libgimp/gimp.c (gimp_main): gimp_env_init(TRUE).
      39e866d9
  15. 02 Nov, 2005 2 commits
  16. 29 Oct, 2005 1 commit
  17. 25 Oct, 2005 2 commits
    • Sven Neumann's avatar
      add G_GNUC_INTERNAL to declaration of wrapped PDB functions. · dc4757ce
      Sven Neumann authored
      2005-10-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/lib.pl: add G_GNUC_INTERNAL to declaration of
      	wrapped PDB functions.
      
      	* libgimp/gimpchannel_pdb.h
      	* libgimp/gimpdrawable_pdb.h
      	* libgimp/gimpgimprc_pdb.h
      	* libgimp/gimpimage_pdb.h
      	* libgimp/gimplayer_pdb.h
      	* libgimp/gimpplugin_pdb.h
      	* libgimp/gimpproceduraldb_pdb.h
      	* libgimp/gimpprogress_pdb.h
      	* libgimp/gimpselection_pdb.h
      	* libgimp/gimpunit_pdb.h: regenerated.
      
      	* libgimp/gimptile.h
      	* libgimp/gimpunitcache.h
      	* libgimpthumb/gimpthumb-utils.h
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimphelpui.h: declare internal functions as such
      	using G_GNUC_INTERNAL.
      dc4757ce
    • Sven Neumann's avatar
      added getter and setter for path visibility (bug #319617). · a0fa08c1
      Sven Neumann authored
      2005-10-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/paths.pdb: added getter and setter for path
      	visibility (bug #319617).
      
      	* app/pdb/internal_procs.c
      	* app/pdb/paths_cmds.c
      	* libgimp/gimppaths_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      a0fa08c1
  18. 17 Oct, 2005 1 commit
    • Sven Neumann's avatar
      added run-mode parameter to file_open_layer(). · 69122276
      Sven Neumann authored
      2005-10-17  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-open.[ch]: added run-mode parameter to
      	file_open_layer().
      
      	* app/dialogs/file-open-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/widgets/gimplayertreeview.c: pass GIMP_RUN_INTERACTIVE to
      	file_open_layer().
      
      	* tools/pdbgen/pdb/fileops.pdb: export file_open_layer() to the PDB
      	as file-load-layer.
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpfileops_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      69122276
  19. 09 Oct, 2005 2 commits
  20. 08 Oct, 2005 1 commit
  21. 05 Oct, 2005 2 commits
    • Sven Neumann's avatar
      capitalization and other string changes. · f5527875
      Sven Neumann authored
      2005-10-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpprocbrowserdialog.c: capitalization and other string
      	changes.
      
      	* libgimpwidgets/gimpbrowser.c: string unification. Set the
      	message label italic.
      
      	* plug-ins/common/plugin-browser.c: use ngettext() for plural forms.
      f5527875
    • Sven Neumann's avatar
      libgimp/gimpaspectpreview.c added missing API docs. · d4d69df6
      Sven Neumann authored
      2005-10-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpaspectpreview.c
      	* libgimp/gimpzoompreview.c: added missing API docs.
      
      2005-10-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpgrid.sgml: added new Grid PDB API.
      
      	* libgimp/tmpl/gimpzoompreview.sgml: updated.
      d4d69df6
  22. 02 Oct, 2005 1 commit
    • David Odin's avatar
      added a new function: gimp_zoom_preview_get_factor(), which is a proxy to · 66d00503
      David Odin authored
      * libgimp/gimpzoompreview.[ch]: added a new function:
        gimp_zoom_preview_get_factor(), which is a proxy to get the zoom
        factor of the zoom model used by the zoom preview.
        Also renamed the zoom field of the private data of gimpzoompreview to
        model, since it is a gimpzoommodel.
      
      * libgimp/gimpui.def: added gimp_zoom_preview_get_factor.
      
      * plug-ins/common/nova.c: use gimp_zoom_preview_get_factor to
        correctly handle the position of the nova at various zoom level.
        There still are problems if there is a selection before when running
        this plugin.
      66d00503
  23. 01 Oct, 2005 2 commits
    • David Odin's avatar
      added VOID__DOUBLE_DOUBLE marshaller. · 9af9bae0
      David Odin authored
      * libgimpwidgets/gimpwidgetsmarshal.list: added VOID__DOUBLE_DOUBLE
       marshaller.
      
      * libgimpwidgets/gimpzoommodel.[ch]: new signal: "zoomed", emitted
        when the zoom factor changes.  This signal have the old factor and the
        new factor as argument.
      
      * libgimp/gimpzoompreview.c: use the "zoomed" signal instead of the
        "notify::value" one. This allow to use the old and new factors to keep
        the preview centered on the same point.
      9af9bae0
    • David Odin's avatar
      call gtk_adjustment_value_changed in addition to gtk_adjustment_changed, · 95f8702d
      David Odin authored
      * libgimp/gimpzoompreview.c: call gtk_adjustment_value_changed in
        addition to gtk_adjustment_changed, so the offsets are correctly
        updated.
      95f8702d
  24. 30 Sep, 2005 1 commit
    • Sven Neumann's avatar
      app/core/core-enums.[ch] moved GimpGridStyle enum to libgimpbase. · f6b37095
      Sven Neumann authored
      2005-09-30  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]
      	* libgimpbase/gimpbaseenums.[ch]: moved GimpGridStyle enum to
      	libgimpbase.
      
      	* app/core/gimpimage-grid.h: indentation.
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/grid.pdb: applied slightly modified patch by
      	Sylvain FORET that adds a PDB API for the image grid.
      
      	* app/pdb/grid_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpgrid_pdb.[ch]
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/groups.pl: (re)generated.
      
      	* libgimp/gimp.def
      	* libgimpbase/gimpbase.def: updated.
      f6b37095
  25. 29 Sep, 2005 1 commit
    • Michael Natterer's avatar
      removed the "wrap" from gimp_progress_set_text() so it shows up as libgimp · e3da6be9
      Michael Natterer authored
      2005-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/progress.pdb: removed the "wrap" from
      	gimp_progress_set_text() so it shows up as libgimp function again.
      
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* libgimp/gimpprogress.[ch]: changed the old
      	gimp_progress_set_text() to gimp_progress_set_text_printf() and
      	added gimp_progress_init_printf(). (did this because the method of
      	calling init(NULL) followed by set_text("foo") caused popup
      	progress windows to be resized after they were shown).
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* plug-ins/*/*.c: use gimp_progress_init_printf() instead of
      	init(NULL) plus set_text(foo) and changed users of set_text() to
      	use set_text_printf().
      e3da6be9
  26. 28 Sep, 2005 2 commits
    • Tor Lillqvist's avatar
      Fix typo. · a8967ba3
      Tor Lillqvist authored
      2005-09-28  Tor Lillqvist  <tml@novell.com>
      
      	* libgimp/gimp.def: Fix typo.
      a8967ba3
    • Sven Neumann's avatar
      renamed newly added function to gimp_preview_get_controls(). Increased row · 3670d4c3
      Sven Neumann authored
      2005-09-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.[ch]: renamed newly added function to
      	gimp_preview_get_controls(). Increased row padding for controls.
      
      	* libgimpwidgets/gimpwidgets.def
      	* libgimp/gimpzoompreview.c: changed accordingly.
      
      	* libgimpbase/gimputils.c (gimp_enum_get_value): ref the enum
      	class instead of only peeking at it.
      
      	* libgimpwidgets/gimpzoommodel.c (gimp_zoom_button_new): set a
      	tooltip on zoom buttons that only show an icon.
      3670d4c3