1. 24 Jul, 1999 1 commit
    • Michael Natterer's avatar
      set the "preserve" flag to FALSE. This way the tool doesn't have to detect · 9b9f3d10
      Michael Natterer authored
      1999-07-24  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/color_picker.[ch]: set the "preserve" flag to FALSE. This
      	way the tool doesn't have to detect drawable changes by itself.
      	Misc stuff like below.
      
      	* app/gradient.c: heavily changed the beast:
      
      	- Reviewed the whole ui code and indented it.
      	- Standard ui for all sub-dialogs.
      	- Handle the wm delete event of the sub-dialogs.
      	- "+" and "-" pixmaps instead of "zoom in" and "zoom out".
      	- Made the gradient preview resizable again.
      	- i18n fixes.
      	- Removed some code duplication in the sub-dialogs' cancel/delete
      	  callbacks.
      	- Grouped functions together and commented the groups and their
      	  prototypes.
      	- Didn't change any core functionality (just the ui).
      	- Please don't kill me, but I couldn't resist to indent most
      	  functions ;-)
      
      	* app/info_dialog.c: no need to call gettext() on a string which
      	was passed to a function (it's the job of the caller).
      
      	* app/ink.c: grab the pointer in the blob preview.
      
      	* app/palette.c: standardized the ui of the dialog and all it's
      	sub-dialogs, function header indentation, namespace cleanup.
      9b9f3d10
  2. 22 Jul, 1999 2 commits
    • Michael Natterer's avatar
      same cleanups as in my previous checkin. · 88648f40
      Michael Natterer authored
      1999-07-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/brightness_contrast.c: same cleanups as in my previous
      	checkin.
      
      	* app/gradient.c: made the gradient editor look like the other
      	dialogs. It's now possible to set the background color with
      	<Ctrl>+click. Indentation madness in all functions I modified.
      88648f40
    • Michael Natterer's avatar
      new ui for the "Layer Offset" dialog. · a4c1e8a5
      Michael Natterer authored
      1999-07-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/channel_ops.[ch]: new ui for the "Layer Offset" dialog.
      
      	* app/channels_dialog.c
      	* app/layers_dialog.c: major code cleanup: Folded some callbacks
      	into common ones, "widget" instead of "w", indentation, ...
      
      	* app/commands.c
      	* app/interface.[ch]
      	* app/global_edit.c: the query boxes must be shown by the caller
      	now. There's no need to split up the string for the message box
      	manually as the Gtk 1.2 label widget handles newlines corectly.
      	Added the "edge_lock" toggle to the "Shrink Selection" dialog.
      	Nicer spacings for the query and message boxes.
      
      	* app/ink.c: tried to grab the pointer in the blob preview but
      	failed. Left the code there as a reminder (commented out).
      
      	* app/menus.c: reordered <Image>/Select.
      
      	I was bored and grep-ed the sources for ancient or deprecated stuff:
      
      	* app/about_dialog.[ch]
      	* app/actionarea.[ch]
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/color_select.c
      	* app/convert.c
      	* app/devices.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/histogram_tool.[ch]
      	* app/info_window.c
      	* app/install.c
      	* app/ops_buttons.c
      	* app/palette.c
      	* app/palette_select.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/resize.c
      	* app/scale_toolc.c
      	* app/text_tool.c:
      	s/container_border_width/container_set_border_width/g,
      	s/sprintf/g_snprintf/g, replaced some constant string lengths with
      	strlen(x).
      
      	* app/bezier_select.c
      	* app/blend.c
      	* app/boundary.c
      	* app/errors.[ch]
      	* app/free_select.c
      	* app/gimpbrushlist.c
      	* app/gimprc.c
      	* app/iscissors.c
      	* app/main.c
      	* app/patterns.[ch]
      	* app/text_tool.c: namespace fanaticism: prefixed all gimp error
      	functions with "gimp_" and formated the messages more uniformly.
      
      	* app/gradient.c
      	* app/gradient_select.c: same stuff as above for the ui
      	code. There are still some sub-dialogs which need cleanup.
      
      	Did some cleanup in most of these files: prototypes, removed tons
      	of #include's, i18n fixes, s/w/widget/ as above, indentation, ...
      a4c1e8a5
  3. 07 Jun, 1999 1 commit
    • Tomas Ogren's avatar
      app/bucket_fill.c app/color_picker.c app/commands.c app/convolve.c · 6a6bc56c
      Tomas Ogren authored
      1999-06-07  Tomas Ogren  <stric@ing.umu.se>
      
      * app/bucket_fill.c app/color_picker.c app/commands.c app/convolve.c
      * app/crop.c app/flip_tool.c app/gimpunit.c app/global_edit.c
      * app/gradient.c app/histogram_tool.c app/magnify.c app/module_db.c
      * app/palette.c app/paths_dialog.c app/text_tool.c app/transform_tool.c
        Misc i18n fixes, partly ported from Egger-gimp
      6a6bc56c
  4. 29 May, 1999 1 commit
    • Manish Singh's avatar
      configure.in removed tips files, AC_SUBST GIMP_PLUGINS and GIMP_MODULES so · f2622e54
      Manish Singh authored
      * configure.in
      * Makefile.am: removed tips files, AC_SUBST GIMP_PLUGINS and
      GIMP_MODULES so you can easily skip those parts of the build
      
      * acinclude.m4
      * config.sub
      * config.guess
      * ltconfig
      * ltmain.sh: libtool 1.3.2
      
      * app/fileops.c: shuffle #includes to avoid warning about MIN and
      MAX
      
      [ The following is a big i18n patch from David Monniaux
        <david.monniaux@ens.fr> ]
      
      * tips/gimp_conseils.fr.txt
      * tips/gimp_tips.txt
      * tips/Makefile.am
      * configure.in: moved tips to separate dir
      
      * po-plugins: new dir for plug-in translation files
      
      * configure.in: add po-plugins dir and POTFILES processing
      
      * app/boundary.c
      * app/brightness_contrast.c
      * app/by_color_select.c
      * app/color_balance.c
      * app/convert.c
      * app/curves.c
      * app/free_select.c
      * app/gdisplay.c
      * app/gimpimage.c
      * app/gimpunit.c
      * app/gradient.c
      * app/gradient_select.c
      * app/install.c
      * app/session.c: various i18n tweaks
      
      * app/tips_dialog.c: localize tips filename
      
      * libgimp/gimpunit.c
      * libgimp/gimpunitmenu.c: #include "config.h"
      
      * plug-ins/CEL
      * plug-ins/CML_explorer
      * plug-ins/Lighting
      * plug-ins/apply_lens
      * plug-ins/autostretch_hsv
      * plug-ins/blur
      * plug-ins/bmp
      * plug-ins/borderaverage
      * plug-ins/bumpmap
      * plug-ins/bz2
      * plug-ins/checkerboard
      * plug-ins/colorify
      * plug-ins/compose
      * plug-ins/convmatrix
      * plug-ins/cubism
      * plug-ins/depthmerge
      * plug-ins/destripe
      * plug-ins/gif
      * plug-ins/gifload
      * plug-ins/jpeg
      * plug-ins/mail
      * plug-ins/oilify
      * plug-ins/png
      * plug-ins/print
      * plug-ins/ps
      * plug-ins/xbm
      * plug-ins/xpm
      * plug-ins/xwd: plug-in i18n stuff
      
      -Yosh
      f2622e54
  5. 23 Apr, 1999 1 commit
    • Manish Singh's avatar
      gave parasite undo a MISC_UNDO class for now so it compiles · b8c19394
      Manish Singh authored
      * app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
      so it compiles
      
      * app/tools_cmds.c: fix crop invoker to give correct args to
      crop_image
      
      * app/color_cmds.c: s/GRAY/GRAY_LUT/g;
      
      * app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
      brush_select_dialog, s/active_dialogs/brush_active_dialogs/
      
      * app/gimage_cmds.[ch]
      * app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
      function from gimage_cmds to channel_ops, export offset and duplicate
      
      * app/gimpbrushlist.[ch]: removed PDB procs
      
      * app/gradient.[ch]: removed PDB procs,
      
      * app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
      grad_active_dialogs, gradient_select_dialog
      
      * app/gradient_select.c: removed PDB procs,
      s/active_dialogs/grad_active_dialogs/
      
      * app/patterns.[ch]: removed PDB procs
      
      * app/pattern_select.[ch]: removed PDB procs,
      s/active_dialogs/pattern_active_dialogs/
      
      * app/procedural_db.c: removed PDB procs and supporting functions
      
      * app/procedrual_db.h: fiddled with enums
      
      * app/channel_cmds.[ch]
      * app/drawable_cmds.[ch]
      * app/parasite_cmds.[ch]: pdbgenned now, removed header files
      
      * app/gimpparasite.c: minor cleanup
      
      * app/internal_procs.c: use pdbgen stuff
      
      * app/tools_cmds.c
      * app/text_tool_cmds.c: updated from pdbgen
      
      * app/brushes_cmds.c
      * app/brush_select_cmds.c
      * app/gradient_cmds.c
      * app/gradient_select_cmds.c
      * app/patterns_cmds.c
      * app/pattern_select_cmds.c
      * app/procedural_db_cmds.c: new pdbgen files
      
      * app/Makefile.am: file shuffle (see above)
      
      -Yosh
      b8c19394
  6. 25 Mar, 1999 1 commit
    • Michael Natterer's avatar
      corrected a typo · 737aa1a0
      Michael Natterer authored
      1999-03-25  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* unitrc: corrected a typo
      
      	* app/commands.c
      	* app/global_edit.c
      	* app/gradient.c
      	* app/interface.[ch]
      	* app/palette.c
      	* app/paths_dialog.c: the query_[string|..]_boxes connect their
      	close callback to a user provided signal now.
      
      	* libgimp/gimpimage.c: gimp_image_get_unit() doesn't need a
      	g_return_if_fail()
      
      	* libgimp/gimpunitmenu.c: memory leak & compiler warning
      
      	* configure.in
      	* gimprc.in
      	* user_install
      	* user_install.bat
      	* plug-ins/Makefile.am
      	* plug-ins/FractalExplorer/*: added the FractalExplorer plugin.
      
      	* app/install.c: ditto and made the install help text more
      	editable by moving it to an array.
      737aa1a0
  7. 12 Mar, 1999 1 commit
    • Michael Natterer's avatar
      This is mostly unit stuff and code cleanup · 7fd5b7c1
      Michael Natterer authored
      1999-03-12  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
              This is mostly unit stuff and code cleanup
      
              * libgimp/gimpi.def: add some functions
      
              * libgimp/gimpsizeentry.[ch]: new function
              gimp_size_entry_set_refval_digits() which allows for float pixel
              input. SIGFPE bugfix from Yasuhiro Shirasaki
              <yasuhiro@awa.tohoku.ac.jp>, minor bugfixes.
      
              * libgimp/gimpunitmenu.[ch]: add a separator after "pixels",
              bugfixes.
      
              * app/interface.[ch]: split up the old query_string_box() into
              query_[string|int|float|size]_box(). All functions take an
              optional GtkObject* parameter and connect to that object's
              "destroy" signal, this fixes some segfaults. And a global
              s/container_border_width/container_set_border_width/
      
              * app/commands.s: grow, shrink, border, feather now use the
              query_size_box. Used MIN(xres,yres) for now for the pixel<->unit
              calculations. Fixed some memory leaks.
      
              * app/global_edit.c
              * app/gradient.c
              * app/palette.c
              * app/paths_dialog.c: changed the query_string_box() calls
      7fd5b7c1
  8. 20 Feb, 1999 1 commit
  9. 07 Feb, 1999 1 commit
    • Manish Singh's avatar
      fix setting of $localedir, and use $CONFIG_SHELL to run config.status · dea84972
      Manish Singh authored
      * configure.in: fix setting of $localedir, and use $CONFIG_SHELL
      to run config.status (variation upon gimp-joke-990122-1)
      
      * plug-ins/fp/fp_gtk.c: make label code consistent so we
      don't get confused (gimp-ruth-990131-0)
      
      * app/app_procs.c: toast stale swap files on startup
      
      * app/general.[ch]: removed prune_filename
      
      * app/by_color_select.c
      * app/colormap_dialog.i.c
      * app/fileops.c
      * app/gdisplay.c
      * app/gdisplay_ops.c
      * app/gimpbrush.c
      * app/gradient.c
      * app/info_window.c
      * app/menus.c
      * app/palette.c
      * app/patterns.c: s/prune_filename/g_basename/
      
      -Yosh
      dea84972
  10. 03 Feb, 1999 1 commit
    • Manish Singh's avatar
      libgimp/gimp.c app/datafiles.c app/docindex.c app/gimprc.c app/gradient.c · a4213cf8
      Manish Singh authored
      * libgimp/gimp.c
      * app/datafiles.c
      * app/docindex.c
      * app/gimprc.c
      * app/gradient.c
      * app/palette.c: use g_get_home_dir () instead of getenv ("HOME")
      
      * app/fileops.c: #warning is a gccism
      
      * app/invert.[ch]: minor cleanup
      
      * app/menus.c: more cleanups
      
      * app/blob.c: even more cleanups
      
      * libgimp/parasite.c: YACU
      
      * ltconfig
      * ltmain.sh: CVS libtool 1.2e
      
      * modules/Makefile.am: use -module and -avoid-version flags
      
      * lic/Makefile.am
      * mapcolor/Makefile.am
      * xbm/Makefile.am: don't link with libjpeg here
      
      -Yosh
      a4213cf8
  11. 21 Jan, 1999 1 commit
  12. 19 Jan, 1999 1 commit
    • jaycox's avatar
      make the edit button active if the default brush is a generated brush. · 99c0d4a1
      jaycox authored
      
      	* app/brush_select.c: make the edit button active if the default
       	brush is a generated brush.  Make sure brush spacing >= 1.0
      	* app/gimpbrushlist.c: do not add a brush to the brush list if it
       	failed to load
      	* app/gradient.c:  Fix typo that caused a crash with --no-data
      	* app/main.c: be more forgiving of fp rounding in gserialize tests
      99c0d4a1
  13. 15 Jan, 1999 1 commit
  14. 25 Dec, 1998 1 commit
  15. 16 Dec, 1998 1 commit
  16. 01 Dec, 1998 1 commit
  17. 23 Nov, 1998 1 commit
  18. 05 Nov, 1998 1 commit
    • GMT 1998 Andy Thomas's avatar
      app/gradient.c app/gradient_select.c · 66cd5c16
      GMT 1998 Andy Thomas authored
      Thu Nov  5 21:55:46 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>
      
      	* app/gradient.c
      	* app/gradient_select.c
      
      	Changes due to gtk+ updates. Clist have been changed recently
      	in gtk which required changes to source code. These changes
      	have only been tested with the gtk version that introduced these
      	changes. (so lets get all those updates going...)
      66cd5c16
  19. 04 Nov, 1998 1 commit
    • GMT 1998 Andy Thomas's avatar
      app/gradient.c app/Makefile.am · 08000c86
      GMT 1998 Andy Thomas authored
      
      Wed Nov  4 22:23:18 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>
      
      	* app/gradient.c
      	* app/Makefile.am
      
      	New files
      
      	* app/gradient_select.c
      	* app/gradient_header.h
      
      	Split gradient selector dialog out of the main gradient code.
      	New gradient headerfile that contains the key gradient structures
      	and #defines.
      08000c86
  20. 31 Oct, 1998 2 commits
    • GMT 1998 Andy Thomas's avatar
      app/gradient.c · 8475a4f8
      GMT 1998 Andy Thomas authored
      
      Sat Oct 31 21:47:14 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>
      
      	* app/gradient.c
      
      	Fixed for problems with renaming + fix for interactions between editor
      	and gradient selection popups.
      8475a4f8
    • GMT 1998 Andy Thomas's avatar
      app/gradient.c app/gradient.h app/internal_procs.c app/plug_in.c · d4ccd85a
      GMT 1998 Andy Thomas authored
      
      Sat Oct 31 14:57:40 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>
      
      	* app/gradient.c
      	* app/gradient.h
      	* app/internal_procs.c
      	* app/plug_in.c
      	* app/session.c
      	* app/session.h
      	* libgimp/Makefile.am
      	* libgimp/gimpmenu.h
      	* libgimp/app/gimprc.c
      	* libgimp/libgimpmenu.c
      	* plug-ins/script-fu/scripts/test-sphere.scm
      	* plug-ins/script-fu/script-fu-enums.h
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/script-fu/script-fu-scripts.c
      
      	New file:-
      
      	* libgimp/gimpgradientmenu.c
      
      	New gradient selector widget (smaller than the editor). This can now
      	be controlled via the PDB.
      
      	New widget which gives easy way to do gradient selections. This
      	new widget is used by script-fu (see the test->sphere script).
      
      	gradient.c needs to be split up (source is almost already split
      	I will complete this RSN).
      d4ccd85a
  21. 21 Oct, 1998 1 commit
  22. 12 Oct, 1998 1 commit
  23. 26 Aug, 1998 1 commit
  24. 03 Aug, 1998 1 commit
  25. 31 Jul, 1998 1 commit
  26. 11 Jul, 1998 1 commit
  27. 22 Jun, 1998 1 commit
  28. 07 Jun, 1998 1 commit
    • Tim Janik's avatar
      use GtkAccelLabel when creating a menuitems label seperatedly. · 11269e1e
      Tim Janik authored
      Sun Jun  7 11:04:38 1998  Tim Janik  <timj@gtk.org>
      
              * app/gradient.c (cpopup_create_menu_item_with_label): use GtkAccelLabel
              when creating a menuitems label seperatedly.
      
              * app/commands.h:
              * app/commands.c:
              (tips_dialog_cmd_callback):
              (filters_repeat_cmd_callback):
              (tools_select_cmd_callback): make use of the callback_action argument.
      
              * app/main.c (main): removed gtk_accelerator_table_set_mod_mask(),
              since gtk provides decent default values now.
      
              * app/layers_dialog.c:
              * app/interface.c:
              * app/indexed_palette.c:
              * app/channels_dialog.c:
              * app/buildmenu.c:
              conversions for use of GtkAccelGroup.
      
              * app/buildmenu.c:
              * app/gradient.c:
              installed accelerators are locked, because these code portions don't
              support accelerator saving.
      
              * ChangeLog:
              * ChangeLog.pre-1-0: ChangeLog split up.
      11269e1e
  29. 28 May, 1998 1 commit
    • Manish Singh's avatar
      gimp_message. libgimp also overrides g_message for all plugins. Converted · 1d95a05a
      Manish Singh authored
      * redid the error message handling. g_message now calls message_box or prints
      to console depending on whether the no_interface is set or not. gimp-message
      is also exported to the PDB as a wrapper to g_message, and libgimp has a new
      API: gimp_message. libgimp also overrides g_message for all plugins. Converted
      lots of messages in app/* to g_message. Made script-fu a little friendlier.
      
      * updated the regex code from grep 2.2
      
      * said goodbye to the old script-fu logo in script-fu.h
      
      -Yosh
      1d95a05a
  30. 26 May, 1998 1 commit
  31. 29 Apr, 1998 1 commit
  32. 14 Apr, 1998 3 commits
  33. 13 Apr, 1998 1 commit
  34. 10 Apr, 1998 1 commit
  35. 26 Mar, 1998 2 commits
    • Adrian Likins's avatar
      Fixed up --no-data so that the various *_init() routines always get · 380deeb2
      Adrian Likins authored
       * app/app_procs.c app/brush_select.c app/brushes.c
              app/brushes.h app/convert.c app/gradient.c app/gradient.h
              app/palette.c app/palette.h app/pattern_select.c app/patterns.c
              app/patterns.h:   Fixed up --no-data so that the various *_init()
              routines always get called, and so that when in interactive mode
              the data can be loaded by the user even when started with --no-data.
              Fixes the blend bug too...
      
      	yeah, sven scooped me... but i think this is still a needed patch...
      
      -adrian
      380deeb2
    • Sven Neumann's avatar
      Gimp crashed when the Blend Tool was used with a gradient and gimp was · b1a30ca8
      Sven Neumann authored
      started with the --no-data option. This is fixed now. grad_get_color_at()
      now returns a totally transparent black when no gradient is present.
      
      Additionally the gradient editor now behaves better when the window is
      resized. The resize code is still an ugly hack though.
      
      
      --Sven
      b1a30ca8