1. 26 Aug, 1999 2 commits
  2. 24 Aug, 1999 3 commits
    • Manish Singh's avatar
      big i18n fix patch from SHIRASAKI Yasuhiro <yasuhiro@awa.tohoku.ac.jp>. Fixes · 3423edf7
      Manish Singh authored
      those pesky menu problems
      
      -Yosh
      3423edf7
    • Michael Natterer's avatar
      new function color_panel_set_color(). · ed7da929
      Michael Natterer authored
      1999-08-24  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/color_panel.[ch]: new function color_panel_set_color().
      
      	* app/color_picker.c: added a color panel to the color picker info
      	dialog and a toggle button to the color picker's tool options
      	which allows color updates to be effective in the info dialog
      	only.
      
      	* app/info_dialog.[ch]: changed the packing parameters of the info
      	table. Small fixes.
      
      	* app/palette.c: the name created for dropped colors contained " "
      	instead of "0".
      ed7da929
    • Michael Natterer's avatar
      app/channels_dialog.c app/color_area.c app/color_panel.c · bb0447f1
      Michael Natterer authored
      1999-08-24  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_panel.c
      	* app/color_select.c
      	* app/disp_callbacks.[ch]
      	* app/gimpdnd.[ch]: pass the widget to the color dnd callbacks.
      
      	* app/palette.c: color dnd for the palette dialog. Shift+click
      	toggles setting the FG/BG color now.
      bb0447f1
  3. 23 Aug, 1999 2 commits
    • BST 1999 Andy Thomas's avatar
      app/menus.c app/nav_window.c · 487642b0
      BST 1999 Andy Thomas authored
      Mon Aug 23 23:25:05 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/menus.c
      	* app/nav_window.c
      
      	Nav window code now handles boundary conditions correctly (ie
      	you can scroll to the edges of the image now).
      	It also has some key bindings:-
      
      	1) Arrow keys work as expected
      	2) =/- keys perform zoomin/zoomout. Note these keys are hardcoded
      	at present until (if) I find away of finding out how to get the
      	current accel. keys for these functions.
      	3) Space will raise the display window to the top of the window stack.
      	It also updates the preview. This will be changed to happen
      	automatically RSN.
      
      	Tearoff menus are now popped up and down (like other dialogs) when
      	the tab key is pressed in the image window.
      487642b0
    • Michael Natterer's avatar
      export bucket_fill_region(). · ef4cb06b
      Michael Natterer authored
      1999-08-23  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/bucket_fill.[ch]: export bucket_fill_region().
      
      	* app/channels_dialog.c: enabled dropping a color to a channel.
      
      	* app/color_area.c
      	* app/color_panel.c
      	* app/gimpdnd.[ch]: the whole color dnd is now done in a generic
      	function in gimpdnd.c (dnd of other types is still hacked in at
      	various places but will go to generic functions and callbacks as
      	well).
      
      	* app/disp_callbacks.[ch]
      	* app/interface.c: drop a color to the display to bucket fill the
      	selected region.
      ef4cb06b
  4. 22 Aug, 1999 2 commits
    • Michael Natterer's avatar
      app/color_area.[ch] app/color_panel.[ch] enabled dnd for colors · 1e08aa1e
      Michael Natterer authored
      1999-08-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/color_area.[ch]
      	* app/color_panel.[ch]
      	* app/gimpdnd.[ch]: enabled dnd for colors (compatible with the
      	standard gtk/gnome color dnd). The color selection is now invoked
      	on a real click, not on button_down to avoid confusion with dnd.
      
      	* app/channels_dialog.c
      	* app/disp_callbacks.c
      	* app/interface.c
      	* app/layers_dialog.c: minor dnd updates/fixes.
      
      	* app/channel.[ch]
      	* app/channel_pvt.h
      	* app/docindex.[ch]
      	* app/docindexif.[ch]
      	* app/drawable.[ch]
      	* app/floating_sel.c
      	* app/gimage.[ch]
      	* app/gimage_mask.c
      	* app/gimpdrawable.[ch]
      	* app/gimpdrawableP.h
      	* app/gimpimage.[ch]
      	* app/gimpimageP.h
      	* app/layer.[ch]
      	* app/layer_pvt.h
      	* app/undo.c
      	* app/xcf.c: wanted to do some s/int/gboolean/ in the layer files
      	where appropriate and found myself spending the whole night doing
      	a big code review for layers/channels/drawables/images:
      	s/int/gboolean/, s/<type>/g<type>/, lots of indentation, removed
      	some old global variables and deprecated functions, #include
      	cleanups, proper prototypes, copyright headers, ...
      1e08aa1e
    • Manish Singh's avatar
      version number bump · e0dc5cd9
      Manish Singh authored
      * configure.in: version number bump
      
      * autogen.sh
      * configure.in
      * app/Makefile.am: comment out gcg stuff, nobody seems to be using it
      
      * app/colormap_dialog.*: added generated files
      
      -Yosh
      e0dc5cd9
  5. 20 Aug, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am new file. Contains a function which creates dnd preview · 70407d28
      Michael Natterer authored
      1999-08-20  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/Makefile.am
      	* app/gimpdnd.c: new file. Contains a function which creates dnd
      	preview icons for all kinds of drawables.
      
      	* app/gimpdnd.h: added the new dnd types.
      
      	* app/channels_dialog.c: same dnd functions as in the layers
      	dialog. Fixed channels_dialog_flush(). Code cleanup.
      
      	* app/layers_dialog.c: enabled dnd for layer masks.
      
      	* app/disp_callbacks.c
      	* app/interface.c: dnd code generalization. The toolbox and the
      	display accept drop of any kind of drawable now.
      
      	* app/gimage.h
      	* app/gimpimage.[ch]: new function gimp_image_position_channel().
      
      	* app/layer.[ch]: new function layer_mask_get_layer().
      70407d28
  6. 19 Aug, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am new file containing the dnd data definitions. · 311c83b0
      Michael Natterer authored
      1999-08-19  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/Makefile.am
      	* app/gimpdnd.h: new file containing the dnd data definitions.
      
      	* app/disp_callbacks.[ch]
      	* app/interface.c: drop layers on the toolbox to create a new
      	image and on the display to copy it to the image's layer stack.
      
      	* app/layers_dialog.c: drop layer on the "New" button to create an
      	empty layer with the dropped layer's properties, to "Duplicate" to
      	duplicate it and on the trashcan to delete it.
      	Thanks to Andy for the ultra-cool dnd preview pixmap patch.
      
      	* app/layer.[ch]
      	* app/undo.c: renamed layer_mask() to layer_get_mask(). Prototyped
      	some function headers.
      
      	* app/disp_callbacks.c: Wheelmouse stuff: Shift+wheel scales the
      	display.
      
      	* app/airbrush.c
      	* app/eraser.c
      	* app/paint_options.h
      	* app/paintbrush.c
      	* app/pencil.c
      	* app/tool_options.c: moved the "Incremental" toggle to the
      	PaintOptions structure because it is used more often now.
      311c83b0
  7. 18 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Actually use the enum types GimpImageType, GimpImageBaseType, · f6858e21
      Tor Lillqvist authored
      	* app/*.[ch]: Actually use the enum types GimpImageType,
      	GimpImageBaseType, LayerModeEffects, PaintApplicationMode,
      	BrushApplicationMode, GimpFillType and ConvertPaletteType, instead
      	of just int or gint. Hopefully I catched most of the places
      	where these should be used.
      
      	Add an enum ConvolutionType, suffix the too general constants
      	NORMAL, ABSOLUTE and NEGATIVE with _CONVOL. Use NORMAL_MODE
      	instead of NORMAL in some places (this was what was intended). Fix
      	some minor gccisms.
      
      	* app/apptypes.h: New file. This file contains the above
      	enumeration types, and some opaque struct typedefs. It was
      	necessary to collect these in one header that doesn't include
      	other headers, because when we started using the above mentioned
      	types in the headers, all hell broke loose because of the
      	spaghetti-like cross-inclusion mess between headers.
      
      	(An example: Header A includes header B, which includes header C
      	which includes A. B uses a type defined in A. This is not defined,
      	because A hasn't defined it yet at the point where it includes B,
      	and A included from B of course is skipped as we already are
      	reading A.)
      f6858e21
  8. 12 Aug, 1999 2 commits
    • BST 1999 Andy Thomas's avatar
      app/commands.c app/commands.h app/disp_callbacks.c app/gdisplay.c · 2557c517
      BST 1999 Andy Thomas authored
      Thu Aug 12 21:38:53 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/commands.c
      	* app/commands.h
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gdisplay.h
      	* app/info_dialog.c
      	* app/info_dialog.h
      	* app/info_window.c
      	* app/info_window.h
      	* app/menus.c
      	* app/scale.c
      	* app/scroll.c
      	* app/scroll.h
      	* app/nav_window.c (new)
      	* app/nav_window.h (new)
      	* pixmap/dropper.xpm (new)
      
      	New "navigator" image (accessed via <Image>/Window Nav..). This gives
      	an outline of the location of the current view on an image. Eg if your
      	image window is only showing part of an image then the Window Navigation	window will outline the area viewed. You can "drag" the outlined
      	square around the viewport and the main image will scroll. Additional
      	a single click outside the square will center the image at that
      	location.
      
      	Also started to add additional information to a new page inside the
      	Window information dialog (currently only pixel value is shown).
      
      	Both these features are currently work in progress and unfinished.
      	In particular the Navigator does not keep in step with changes
      	to the basic image (however it does keep in step with image size changes	and if you modify the size of the image viewing window). It also
      	does not display the transparent areas of images very nicely.
      2557c517
    • Sven Neumann's avatar
  9. 04 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will · 933b8661
      Tor Lillqvist authored
      	* app/appenv.h: Define ROUND(), RINT(), SQR(), G_PI and
      	G_PI_4. The latter two will presumably eventually be in
      	GLib. RINT() calls rint() if we have it, otherwise adds 0.5 and
      	calls floor().
      
      	* app/*.c: Remove the multiple identical definitions of M_PI. Use
      	G_PI instead of M_PI. Remove ROUND() and rint() definitions. Use
      	RINT() instead of rint().
      933b8661
  10. 27 Jul, 1999 1 commit
    • jaycox's avatar
      more cursor support. new cursor fix that rounding error the right way this · bc0451b4
      jaycox authored
      
      	* app/clone.c: more cursor support.
      	* app/cursorutil.[ch], cursors/{bad,badmsk}: new cursor
      	* app/paint_core.c: fix that rounding error the right way this time.
      	* app/pixel_processor.c, app/pixel_region.c:  Lock the tiles while
      	they are being processed.  Only create new threads if the region
      	being processed is large enough to warrant it.
      bc0451b4
  11. 24 Jul, 1999 2 commits
    • Michael Natterer's avatar
      app/brush_select.c app/pattern_select.c wheelmouse support for the · 1899c612
      Michael Natterer authored
      1999-07-24  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/brush_select.c
      	* app/pattern_select.c
      	* app/gradient.c: wheelmouse support for the brush/pattern lists
      	and for the gradient preview.
      1899c612
    • 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
  12. 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
  13. 19 Jul, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c · 6c28319b
      BST 1999 Andy Thomas authored
      
      Mon Jul 19 23:40:56 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/indicator_area.c
      	* app/paths_dialog.c
      	* app/tools_cmds.c
      	* app/airbrush.c
      	* app/airbrush.h
      	* app/bezier_select.c
      	* app/paintbrush.c
      	* app/paintbrush.h
      	* app/clone.c
      	* app/clone.h
      	* app/eraser.c
      	* app/eraser.h
      	* app/convolve.c
      	* app/convolve.h
      	* app/smudge.c
      	* app/smudge.h
      	* app/dodgeburn.c
      	* app/dodgeburn.h
      	* app/internal_procs.c
      	* plug-ins/sel2path/sel2path.c
      	* tools/pdbgen/pdb/tools.pdb
      	* tools/pdbgen/enums.pl
      
      	1) Fixed the brushpreview popup problem where it remained onscreen
                 if the mouse button was released in another GTK window that accepted
      	   mouse events.
      
      	2) Selection to path now works on all types of images (it should have
      	   anyway).
      
      	3) Fixed PDB so you can once again use the PDB interfaces to the clone
      	   and airbrush tools.
      
      	4) PDB Function to add a path to an image now adds it correctly.
      
      	5) airbrush/paintbrush/clone/eraser/convolve New PDB functions that
                 use the options dialogs settings (or sane defaults if option dialog
                 not present)
      
      	6) Added PDB functions for Smudge & DodgeBurn tools.
      
      	7) Path stroke command (from the LCP dialog) can now use any of the
      	   painting tools (airbrush/paintbrush/clone/eraser/convolve/smudge/
                 dodgeburn except ink). Just have the tool selected when you
      	   press the stroke button.
      6c28319b
  14. 14 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      app/makefile.cygwin app/makefile.msc plug-ins/makefile.cygwin · fe1cc678
      Tor Lillqvist authored
      	* app/makefile.cygwin
      	* app/makefile.msc
      	* plug-ins/makefile.cygwin
      	* plug-ins/makefile.msc
      	* modules/makefile.cygwin
      	* modules/makefile.msc
      	* tools/gcg/makefile.cygwin: Various updates. GCC-compiled DLL
      	name change.
      
      	* app/context_manager.c: Include paint_options.h for prototype.
      
      	* app/gimpimage.c (gimp_image_initialize_projection): Break out of
       	loop as soon as possible.
      
      	* app/menus.c (menus_last_opened_cmd_callback): Check if referring
       	to entry not in list.
      
      	* app/module_db.c (valid_module_name): (Win32) Require module DLL
       	names to include name of compiler built with.
      
      	* app/paths_dialog.c (paths_draw_segment_points): No use to draw
       	lines if we have less that two points.
      
      	* app/qmask.c: Include stdio.h and floating_sel.h.
      
      	* libgimp/makefile.cygwin: New file.
      
      	* libgimp/Makefile.am:  Distribute above file.
      
      	* libgimp/gimp.def: Update.
      
      	* libgimp/gimpenv.c (gimp_directory): Don't warn about missing
       	home directory on Win32, it is perfectly natural.
      
      	* plug-ins/sel2path/global.h: Bypass unused declarations, some
      	of which clash with functions in MSVCRT.
      
      	* plug-ins/sel2path/math.c
      	* modules/colorsel_water.c: Define M_PI if necessary.
      
      	* plug-ins/sel2path/sel2path.c: Include config.h and
       	glib.h. Define rint() if needed.
      
      	* plug-ins/sel2path/vector.c: Include glib.h (for hypot() renaming
       	on Win32; In the MS C runtime, as hypot() is non-ANSI, it's called
       	_hypot(), sigh).
      
      	* plug-ins/sinus/sinus_logo.h: Use indexed format, it is easier on
       	some compilers than the huge string.
      fe1cc678
  15. 06 Jul, 1999 1 commit
  16. 04 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      Don't warn about missing home directory on Win32, it is perfectly natural. · b8e1ca28
      Tor Lillqvist authored
      	* libgimp/gimpenv.c (gimp_directory): Don't warn about missing
       	home directory on Win32, it is perfectly natural.
      
      	* app/color_notebook.c
      	* libgimp/color_selector.h: Bypass the declaration of the exported
       	functions in the header. (Caused different linkage error with MSC,
       	as they are declared dllexport in the source, but naturally not in
       	the header.)
      b8e1ca28
  17. 03 Jul, 1999 2 commits
  18. 02 Jul, 1999 1 commit
    • Michael Natterer's avatar
      the Tool structure is now allocated by a common constructor which sets · a60b2c2f
      Michael Natterer authored
      1999-07-02  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/[all tools]: the Tool structure is now allocated by a common
      	constructor which sets default values and provides default tool
      	action functions. To get rid of much code duplication there should
      	be a object hierarchy of tools.
      
      	* app/context_manager.c
      	* app/tools.[ch]: create and destroy private contexts for the
      	paint tools on startup and exit. They are not used yet.
      
      	* app/interface.c
      	* app/menus.c
      	* app/tools.h: num_tools is now exported in tools.h
      
      	* app/commands.c
      	* app/gdisplay.c
      	* app/menus.c: made "Toggle Selection" a toggleable menu item.
      a60b2c2f
  19. 21 Jun, 1999 2 commits
    • Michael Natterer's avatar
      namespace cleanups. · f1b5e1ae
      Michael Natterer authored
      1999-06-21  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/context_manager.c: namespace cleanups.
      
      	* app/commands.[ch]
      	* app/menus.c: moved the "Toggle Selection" menu entry to "View",
      	sprinkled some separators and made the layers/channels/paths popup
      	menus consistent with Tigert's last ops buttons change.
      
      	* app/fileops.c
      	* app/plug_in.c: check for gdisplay_active() returning NULL in
      	some more places.
      
      	* app/[all tool related files]:
      
      	- Turned the ToolAction and ToolState #define's into typedef'ed
      	  enums, so the compiler can do some more sanity checking.
      	- Removed one more unused global variable "active_tool_layer".
      	- Removed some #include's from tools.c.
      	- Standardized the individual tools' structure names.
      	- Moved showing/hiding the tool options to separate functions.
      	- Stuff...
      
      	* app/commands.c
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/tools.c: fixed the segfaults which happened when the image
      	of one of the tools which have dialogs (levels/posterize/...) was
      	deleted. My approach was to do stricter sanity checking and to set
      	some gdisplay pointers correctly where appropriate, so I can't
      	tell exactly where the bug was.
      	The curves tool now(??) updates on every _second_ display change
      	only, which is really obscure.
      	Finding/changing the display to operate on should definitely be
      	done by connecting to the user context's "display_changed"
      	signal.
      
      	* app/gimpset.c: emit the "remove" signal _after_ removing the
      	pointer from the set. If this was not a bug but a feature, please
      	let me know, we'll need two signals then.
      f1b5e1ae
    • Manish Singh's avatar
      cosmetic change · b8bb67bd
      Manish Singh authored
      * app/Makefile.am: cosmetic change
      
      * app/plug_in.c: reordered #includes to prevent MAX/MIN conflict
      
      * app/menus.c: removed the weird translation code in favor of
      the item factory translation function. This may have broken some
      .po files.. we'll see. Also, added some more tearoffs and made
      tearoffs appear automagically when plugins register menu entries.
      
      * libgimp/gimpimage.c
      * libgimp/gimpenums.h: redid the GOrientation enum to match the
      app. Removed special casing in the handler.
      
      * plug-ins/guillotine/guillotine.c: small clean up
      
      -Yosh
      b8bb67bd
  20. 20 Jun, 1999 1 commit
    • Michael Natterer's avatar
      app/commands.c app/disp_callbacks.c app/gdisplay.c app/lc_dialog.c applied · 142ccb74
      Michael Natterer authored
      1999-06-20  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/commands.c
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/lc_dialog.c
      	* app/menus.c: applied a patch from <Simon.Budig@unix-ag.org>
      	which implements tear-off-menus(!!!). Modified it to use the
      	GimpContext.
      	The sensitivity of the menu entries is not updated after
      	executing a command. This leaves the sensitivity in the state
      	before the command was executed (which is buggy). Will probably
      	have to update the sensitivity from gdisplays_flush().
      	Simon called the patch "temporary" but it looks pretty stable to
      	me. Please test it :-)
      
      	* app/context_manager.[ch]: minor changes.
      
      	* app/gimpcontext.[ch]: the user context keeps track of the
      	current display and image. The image is set automatically from
      	gimp_context_set_display().
      	Still have to figure out how this should interact with
      	gdisplay_active() (the current state is a hack).
      	Made the context attributes real GtkObject arguments.
      	Pass the changed attributes to the callbacks which connect to
      	the <attribute>_changed signals.
      
      	* app/gimpset.[ch]
      	* app/gimpsetF.h
      	* app/gimpsetP.h: made the gimpset properly derivable by adding
      	signal slots to the object class structure. Added copyright
      	headers.
      
      	* app/gimpsignal.[ch]: new type gimp_sigtype_double, copyright
      	header and my usual indentation fanaticism.
      142ccb74
  21. 19 Jun, 1999 2 commits
  22. 18 Jun, 1999 1 commit
  23. 14 Jun, 1999 2 commits
    • Tor Lillqvist's avatar
      Mention using GNU gettext. · 776cd54c
      Tor Lillqvist authored
      	* README.win32: Mention using GNU gettext.
      
      	* config.h.win32: Enable NLS stuff. Remove the X11 & Unix vs. Win32
      	feature test macros, we use those from glibconfig.h and gdkconfig.h.
      
      	* app/makefile.msc: Use gettext. New object files.
      
      	* app/batch.c: No need to include <io.h> on Win32.
      
      	* app/errorconsole.c
      	* app/plug_in.c
      	* app/tile_swap.c: Include <glib.h> early to get Win32 feature
      	test macros from <glibconfig.h>.
      
      	* app/gimpset.c: Remove unnecessary (?) warning.
      
      	* app/main.c
      	* libgimp/stdplugins-intl.h: If no LOCALEDIR defined
      	(as on Win32), use the "locale" subdir in gimp_data_directory().
      
      	* app/palette.c: Open palette file in text mode.
      
      	* app/session.c
      	* app/text_tool.c: Use GDK's GDK_WINDOWING feature test macro
      	if available, not WINDOWS_DISPLAY.
      
      	* libgimp/gimpfeatures.h.win32: Correct GIMP_VERSION.
      
      	* libgimp/makefile.msc: Use gettext.
      
      	* plug-ins/makefile.msc: Use gettext. Add some missing
       	plug-ins. Advice how to build "unofficial" plug-ins.
      
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/faxg3/faxg3.c
      	* plug-ins/gbr/gbr.c
      	* plug-ins/gz/gz.c: Include <glib.h> early.
      
      	* plug-ins/tga/tga.c: Include config.h, use HAVE_UNISTD_H.
      776cd54c
    • Seth Burgess's avatar
      Added ability to turn off the brush and pattern indicators. · 8c954467
      Seth Burgess authored
      Also fixed a small bug in the pattern code that let a pattern stay
      up if the user focussed on another widget before releasing mouse button.
      
      Modified Files:
       	ChangeLog app/devices.c app/gimprc.c app/gimprc.h
       	app/interface.c app/preferences_dialog.c app/indicator_area.c
      8c954467
  24. 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
  25. 06 Jun, 1999 4 commits
    • Tomas Ögren's avatar
      6d1d8375
    • Tomas Ögren's avatar
      Forgot this... · 9976520e
      Tomas Ögren authored
      9976520e
    • Tomas Ogren's avatar
      Misc l10n fixes · 79be4895
      Tomas Ogren authored
      1999-06-06  Tomas Ogren  <stric@ing.umu.se>
      
      * app/{color_notebook.c,color_select.c,lc_dialog.c,temp_buf.c,tool_options.c,tools.c}:
        Misc l10n fixes
      79be4895
    • Michael Natterer's avatar
      app/Makefile.am app/lc_dialog.[ch] app/lc_dialogP.h new files · ac98e8fa
      Michael Natterer authored
      1999-06-06  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/Makefile.am
      	* app/lc_dialog.[ch]
      	* app/lc_dialogP.h
      	* app/paths_dialogP.h: new files
      
      	* app/channels_dialog.[ch]
      	* app/layers_dialog.[ch]
      	* app/layers_dialogP.h
      	* app/paths_dialog.[ch]
      	* app/menus.[ch]
      	* app/file_new_dialog.c: modified
      
      	- Moved the toplevel L&C dialog code to lc_dialog.[ch]. Only
      	  these files need knowledge about how to create/update/...
      	  the sub-dialogs, so the corresp. functions are defined in
      	  lc_dialogP.h.
      	- The popup menus are now created by menus.c. The command
      	  callbacks are defined in [layers|channels|paths]_dialog.h.
      	- Private functions to be used by "friend files" are defined in
      	  [layers|paths]_dialogP.h.
      	- Changed the order of the ops_buttons in the paths dialog to
      	  match the order in the layers and channels dialogs.
      	- The paint mode menu and preview stuff still needs to go out of
      	  layers_dialog.[ch].
      	- I'm not sure about the keybindings in the layer dialog's "Stack"
      	  submenu because the list widget has it's own idea of PageUp/Down.
      	- Hopefully fixed the update problem with new images by calling
      	  lc_dialog_flush() after creating a new image.
      
      	* app/app_procs.c
      	* app/bezier_select.c
      	* app/commands.c
      	* app/floating_sel.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/paint_core.c
      	* app/preferences_dialog.c
      	* app/transform_core.c
      	* app/undo.c: changed #include's according to the new L&C file
      	structure.
      ac98e8fa