1. 17 Jul, 2008 5 commits
  2. 16 Jul, 2008 14 commits
  3. 14 Jul, 2008 7 commits
    • Sven Neumann's avatar
      fixed documentation (bug #542972). · 66b0b1d4
      Sven Neumann authored
      2008-07-15  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/edit.pdb: fixed documentation (bug #542972).
      
      	* app/pdb/edit-cmds.c
      	* libgimp/gimpedit_pdb.c: regenerated.
      
      
      svn path=/trunk/; revision=26193
      66b0b1d4
    • Sven Neumann's avatar
      added new PDB function gimp-palette-get-colors that retrieves all colors · f92a070f
      Sven Neumann authored
      2008-07-14  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/palette.pdb: added new PDB function
      	gimp-palette-get-colors that retrieves all colors from a palette
      	in a single call. Based on patches from bug #332206.
      
      	* app/pdb/palette-cmds.c
      	* app/pdb/internal-procs.c
      	* libgimp/gimppalette_pdb.[ch]: regenerated.
      	
      	* libgimp/gimp.def: updated.
      
      
      svn path=/trunk/; revision=26192
      f92a070f
    • Sven Neumann's avatar
      added support for color arrays. · bad4568f
      Sven Neumann authored
      2008-07-14  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: added support for color arrays.
      
      
      svn path=/trunk/; revision=26191
      bad4568f
    • Sven Neumann's avatar
      added mapping from GIMP_TYPE_COLOR_ARRAY to GIMP_PDB_COLORARRAY. · cf9768e5
      Sven Neumann authored
      2008-07-14  Sven Neumann  <sven@gimp.org>
      
      	* app/pdb/gimp-pdb-compat.c 
      (gimp_pdb_compat_arg_type_from_gtype):
      	added mapping from GIMP_TYPE_COLOR_ARRAY to GIMP_PDB_COLORARRAY.
      
      
      svn path=/trunk/; revision=26190
      cf9768e5
    • Sven Neumann's avatar
      Add new PDB data type PDB_COLORARRAY for using arrays of GimpRGB colors as · 81131c0b
      Sven Neumann authored
      2008-07-14  Sven Neumann  <sven@gimp.org>
      
      	Add new PDB data type PDB_COLORARRAY for using arrays of GimpRGB
      	colors as argument or return value.
      
      	* libgimpbase/gimpbaseenums.[ch] (enum GimpPDBArgType): replaced
      	the unused GIMP_PDB_BOUNDARY with GIMP_PDB_COLORARRAY.
      
      	* libgimpbase/gimpprotocol.h: increased GIMP_PROTOCOL_VERSION.
      	(struct _GPParam): added d_colorarray entry to the union.
      
      	* libgimpbase/gimpprotocol.c
      	* libgimp/gimp.[ch]
      	* app/pdb/gimp-pdb-compat.c
      	* app/plug-in/plug-in-params.c
      	* app/plug-in/gimpplugin-message.c
      	* tools/pdbgen/pdb.pl: deal with the new data type.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* plug-ins/pygimp/pygimp-pdb.c
      	* plug-ins/script-fu/scheme-wrapper.c: handle the new data type.
      
      
      svn path=/trunk/; revision=26189
      81131c0b
    • Sven Neumann's avatar
      changed cursor key event prefix from "key-" to "cursor-". · fbbf39e1
      Sven Neumann authored
      2008-07-14  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcontrollerkeyboard.c: changed cursor key event
      	prefix from "key-" to "cursor-".
      
      	* etc/controllerrc: changed accordingly. Also removed default
      	bindings for cursor keys without modifiers as many tools use the
      	cursor keys already.
      
      
      svn path=/trunk/; revision=26188
      fbbf39e1
    • Sven Neumann's avatar
      added some line breaks to improve readability. · eeed0029
      Sven Neumann authored
      2008-07-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c
      	(gimp_display_shell_scale_setup): added some line breaks to
      	improve readability.
      
      
      svn path=/trunk/; revision=26187
      eeed0029
  4. 13 Jul, 2008 13 commits
    • Martin Nordholts's avatar
      Rephrase latest ChangeLog entry. · ba5661b4
      Martin Nordholts authored
      svn path=/trunk/; revision=26186
      ba5661b4
    • Martin Nordholts's avatar
      Allow to choose what axes to center on. · 805a3f5f
      Martin Nordholts authored
      2008-07-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scale.[ch]
      	(gimp_display_shell_center_image): Allow to choose what axes to
      	center on.
      
      	(gimp_display_shell_scale_fill)
      	(gimp_display_shell_scale_fit_in): Explicitly center on both axes.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_fill): Center
      	the image in the filled display shell. Rather hackish, but seems
      	to work fine.
      
      svn path=/trunk/; revision=26185
      805a3f5f
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/gimpdbusservice.[ch] removed here ... · f56bc849
      Sven Neumann authored
      2008-07-13  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpdbusservice.[ch]
      	* app/widgets/dbus-service.xml: removed here ...
      
      	* app/gui/Makefile.am
      	* app/gui/gimpdbusservice.[ch]
      	* app/gui/dbus-service.xml: ... and moved here.
      	(gimp_dbus_service_activate): raise the first display instead of
      	the toolbox.
      
      	* app/gui/gui-unique.c (gui_unique_win32_idle_open): same change
      	here, raise the display instead of the toolbox.
      
      	* app/unique.c: changed accordingly.
      
      
      svn path=/trunk/; revision=26184
      f56bc849
    • Sven Neumann's avatar
      app/unique.c on Win32, if the gimp binary is started without filenames, · e6e549a2
      Sven Neumann authored
      2008-07-13  Sven Neumann  <sven@gimp.org>
      
      	* app/unique.c
      	* app/gui/gui-unique.c: on Win32, if the gimp binary is started
      	without filenames, raise the toolbox, just as we do in the DBus
      	code path.
      
      
      svn path=/trunk/; revision=26183
      e6e549a2
    • Sven Neumann's avatar
      removed trailing whitespace · 8746d0d0
      Sven Neumann authored
      svn path=/trunk/; revision=26182
      8746d0d0
    • Aurimas Juška's avatar
      check for NULL pointer to prevent crash when there are no filenames · 7ea57f5c
      Aurimas Juška authored
      2008-07-13  Aurimas Juška  <aurisj@svn.gnome.org>
      
      	* app/unique.c (gimp_unique_win32_open): check for NULL pointer to
      	prevent crash when there are no filenames provided.
      
      
      svn path=/trunk/; revision=26179
      7ea57f5c
    • Martin Nordholts's avatar
      Get rid of non-intelligent scrollbar stepper sensitivity code. · fe0d07de
      Martin Nordholts authored
      2008-07-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new): Get rid
      	of non-intelligent scrollbar stepper sensitivity code.
      
      	* app/display/gimpdisplayshell-scroll.c
      	(gimp_display_shell_scroll_clamp_offsets): Add intelligent
      	scrollbar stepper sensitivity code.
      
      svn path=/trunk/; revision=26178
      fe0d07de
    • Martin Nordholts's avatar
      Consistency cleanup. · 60fb7eda
      Martin Nordholts authored
      2008-07-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.c
      	(gimp_display_shell_setup_hscrollbar_with_value): Consistency
      	cleanup.
      
      svn path=/trunk/; revision=26177
      60fb7eda
    • Martin Nordholts's avatar
      New function. (gimp_display_shell_scale_fill) · 909e46c9
      Martin Nordholts authored
      2008-07-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scale.c
      	(gimp_display_shell_center_image): New function.
      	(gimp_display_shell_scale_fill)
      	(gimp_display_shell_scale_fit_in): Center the image at the end.
      
      svn path=/trunk/; revision=26176
      909e46c9
    • Martin Nordholts's avatar
      Use gimp_display_shell_get_scaled_image_size() instead of inaccurately · 59a5825e
      Martin Nordholts authored
      2008-07-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.c
      	(gimp_display_shell_setup_hscrollbar_with_value)
      	(gimp_display_shell_setup_vscrollbar_with_value): Use
      	gimp_display_shell_get_scaled_image_size() instead of inaccurately
      	calculate that information locally.
      
      svn path=/trunk/; revision=26175
      59a5825e
    • Martin Nordholts's avatar
      BORDER_PEN_WIDTH is a normal constant, no need for voodoo. · a93373fd
      Martin Nordholts authored
      2008-07-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpnavigationeditor.c
      	(gimp_navigation_editor_popup): BORDER_PEN_WIDTH is a normal
      	constant, no need for voodoo.
      
      svn path=/trunk/; revision=26170
      a93373fd
    • Martin Nordholts's avatar
      New function that contains logic previously kept in · e0cf43ae
      Martin Nordholts authored
      2008-07-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]
      	(gimp_display_shell_get_scaled_image_size): New function that
      	contains logic previously kept in gimp_display_shell_draw_area().
      
      	* app/display/gimpdisplayshell-draw.c
      	(gimp_display_shell_draw_area): Use the new function.
      
      svn path=/trunk/; revision=26168
      e0cf43ae
    • Martin Nordholts's avatar
      Don't ask gimp_display_shell_set_initial_scale() for display size, we · 121849e7
      Martin Nordholts authored
      2008-07-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_fill): Don't
      	ask gimp_display_shell_set_initial_scale() for display size, we
      	don't care anyway.
      
      svn path=/trunk/; revision=26167
      121849e7
  5. 12 Jul, 2008 1 commit
    • Martin Nordholts's avatar
      The following change is conceptually based on a patch by Alexia Death and · 4aeaa83f
      Martin Nordholts authored
      2008-07-12  Martin Nordholts  <martinn@svn.gnome.org>
      
      	The following change is conceptually based on a patch by
      	Alexia Death and implements the core functionality for
      	bug #362915.
      
      	* app/display/gimpdisplayshell-scroll.[ch]
      	(gimp_display_shell_scroll_clamp_offsets): Clamp the offsets in
      	such a way that allows to scroll beyond the image border.
      
      	(gimp_display_shell_setup_hscrollbar_with_value)
      	(gimp_display_shell_setup_vscrollbar_with_value): Put common
      	scrollbar range setup code here.
      
      	* app/display/gimpdisplayshell-scale.c
      	(gimp_display_shell_scale_setup): Use above helper functions for
      	setting up scrollbar range.
      
      	* app/display/gimpdisplayshell-callbacks.c: Handle adjustment of
      	the scrollbar range when they are about to change value.
      
      	* app/display/gimpdisplayshell.c: Always keep the scrollbar
      	steppers sensitive to user input.
      
      svn path=/trunk/; revision=26166
      4aeaa83f