Commit Graph

2602 Commits

Author SHA1 Message Date
EDT 1999 Austin Donnelly 48c54f0f5a NEW FILES: app/scan_convert.c common code from free_select.c and
Mon Oct  4 01:46:46 EDT 1999  Austin Donnelly  <austin@gimp.org>

	NEW FILES:
	* app/scan_convert.c
	* app/scan_convert.h: common code from free_select.c and
	    bezier_select.c

	MODIFIED FILES:
	* app/disp_callbacks.c: Fix for bug #2517 - dragging colour swatch
	    to image with no layers causes segfault.  Something is
	    repainting empty images as white rather than chequerboard as
	    well, which still needs fixing.

	* app/free_select.c: move code out to scan_convert.c
	* app/free_select.h: use ScanConvertPoint not FreeSelectPoint
	* tools/pdbgen/pdb/tools.pdb: ScanConvertPoint again
	* app/tools_cmds.c: generated version of above.
1999-10-04 05:51:40 +00:00
Manish Singh b3a6662262 auto* stuff for helpbrowser
-Yosh
1999-10-04 02:23:41 +00:00
Olof S Kylander 31d282ff25 app/color_cmds.c
1999-10-04 Olof S Kylander <olof@gimp.org>

        * app/color_cmds.c

        removed the bug fix for 2306 and 2208
        It is autogen code so ...
1999-10-04 02:17:56 +00:00
Sven Neumann 09cab0b18b This was an easy one.
--Sven
1999-10-04 02:00:33 +00:00
Olof S Kylander 69b11b7343 app/color_cmds.c
1999-10-04 Olof S Kylander <olof@gimp.org>

        * app/color_cmds.c

        fixed bug report 2306 and 2208
1999-10-04 01:49:07 +00:00
Sven Neumann cdc3f6e779 more export stuff
--Sven
1999-10-03 23:48:33 +00:00
Olof S Kylander 29d5575655 app/airbrush_blob.c * app/xinput_airbrush.c A bit better airbrush. It is
1999-10-03 Olof S Kylander <olof@frozenriver.com>
        * app/airbrush_blob.c         * app/xinput_airbrush.c
        A bit better airbrush. It is still ugly but it now
        looks like airbrush. This is a tool for Wacom
        tables it is no use to use it with a mouse.
1999-10-03 21:21:01 +00:00
Sven Neumann a5c98f4b29 The Makefile.am is autogenerated, so do The Right Thing(TM) this time.
--Sven
1999-10-03 19:32:14 +00:00
Sven Neumann 2212b94fff Some updates for the Path-Tool.
Bye,
        Simon  (using Svens account)
1999-10-03 19:13:54 +00:00
Sven Neumann 7ccdba83bb Eeek, ChangeLog indentation!
--Sven
1999-10-03 18:58:40 +00:00
Sven Neumann 6a19448d82 Undestructive File Export(TM)
--Sven

CVS ----------------------------------------------------------------------
1999-10-03 18:54:54 +00:00
Michael Natterer 3ed87f4aa4 app/fileops.c app/menus.[ch] app/menus.h show a help page for all menu
1999-10-03  Michael Natterer  <mitch@gimp.org>

	* app/fileops.c
	* app/menus.[ch]
	* app/menus.h
	* app/plug_in.c: show a help page for all menu entries registered
	by plugins.
	Changed menus_create() to menus_create_item_from_full_path() which
	takes a single GimpItemFactoryEntry instead of an array as
	parameter.
1999-10-03 16:54:17 +00:00
Michael Natterer bbb7130577 forgot a file in the ChangeLog 1999-10-03 13:52:25 +00:00
Michael Natterer a11f33345d The GIMP Help System part II: press "F1" while browsing a menu to show the
1999-10-03  Michael Natterer  <mitch@gimp.org>

	The GIMP Help System part II: press "F1" while browsing a menu
	to show the help page for the menu entry you're currently over
	with the mouse.

	* app/color_notebook.c: all color selectors have to register with
	a help page now.

	* app/color_select.[ch]: register with a help string. Removed
	the dialog part of the files because it's use was deprecated
	anyway (use color notebooks instead).

	* app/colormap_dialog.i.c
	* app/colormap_dialog.p.h
	* app/palette.c
	* app/palette_select.c: use a color notebook instead of a color
	selector.

	* app/gimphelp.c
	* app/gimpui.c: minor changes.

	* app/gimprc.c: "use help" defaults to TRUE now.

	* app/lc_dialog.c
	* app/lc_dialogP.h: a special help function which shows the help
	for the currently selected notebook page.

	* app/menus.c: some weird code which catches "key_press_event"
	in all menu shells and pops up the corresp. help page for the
	selected item. Embedded the GtkItemFactoryEntry in a new
	GimpItemFactoryEntry to allow a help path to be stored.
	Will be partially exported and moved to gimphelp.[ch] later to
	catch key_press for plug-in menu items (don't try this now ;-)

	* app/app_procs.c
	* app/brush_edit.c
	* app/brush_select.c
	* app/channel_ops.c
	* app/channels_dialog.c
	* app/commands.c
	* app/convert.c
	* app/devices.c
	* app/file_new_dialog.c
	* app/fileops.c
	* app/gdisplay.c
	* app/gdisplay_color.c
	* app/gdisplay_color_ui.c
	* app/gdisplay_ops.c
	* app/global_edit.c
	* app/gradient.c
	* app/gradient_select.c
	* app/interface.c
	* app/layers_dialog.c
	* app/module_db.c
	* app/paths_dialog.c
	* app/pattern_select.c
	* app/preferences_dialog.c
	* app/qmask.c
	* app/resize.c
	* app/undo_history.c: changed all dialog constructors to point
	to the right place in the new help file structure.

	* configure.in
	* help/*: the basic new help file structure.

	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: register a help page.

	* plug-ins/helpbrowser/helpbrowser.c: load the help files
	according to the new help file structure.
1999-10-03 13:50:19 +00:00
Tor Lillqvist d28bd8b689 Change the GDK_WINDOWING_* stuff to be buildable with current CVS gtk+
1999-10-03  Tor Lillqvist  <tml@iki.fi>

* app/cursorutil.h app/session.c app/text_tool.c: Change the
GDK_WINDOWING_* stuff to be buildable with current CVS gtk+ (not
recommended for X11, but necessary for Win32).

* libgimp/gimp.c: Undef RGB from <windows.h> on Win32.

* app/makefile.{cygwin,msc} libgimp/makefile.{cygwin,msc} *
plug-ins/makefile.{cygwin,msc}: Add new files. Small changes for
current gtk+.

* plug-ins/common/animationplay.c: Win32 kludges.
1999-10-03 00:43:05 +00:00
Nick Lamb /GIMP e22687dac7 Now PNGs with colormaps and tRNS (ie transparency info) load properly
Still convert to RGB for the best results. Save support is TODO
1999-10-02 22:48:44 +00:00
Manish Singh 9cf42624c8 french translation updates from David Monniaux
-Yosh
1999-10-02 18:13:07 +00:00
Tim Janik 8bd6af2365 removed cruft (old test code) (run): commented config structure
Sat Oct  2 14:36:21 1999  Tim Janik  <timj@gtk.org>

        * plug-ins/common/csource.c: removed cruft (old test code)
        (run): commented config structure initialization.
        (save_image): put only the file's basename into the C comment.
        feature saving of macros instead of a plain structure, so the
        data can be used for third party structure initialization.
1999-10-02 12:54:08 +00:00
Kelly Martin de776fcb03 Update for the it locale from Daniele Medri <madrid@linux.it>
Update for the it locale from Daniele Medri <madrid@linux.it>

--klm
1999-10-02 02:19:18 +00:00
EDT 1999 Austin Donnelly 97140d8f15 Factored out common code from gimp_image_{raise,lower}_layer and
Fri Oct  1 19:05:04 EDT 1999  Austin Donnelly  <austin@gimp.org>

	* app/gimpimage.c: Factored out common code from
	    gimp_image_{raise,lower}_layer and
	    gimp_image_{raise_layer_to_top,lower_layer_to_bottom}.  They
	    now call gimp_image_position_layer() to do the real work.
	* app/gimpimage.h: gimp_image_position_layer() takes extra arg to
	    tell whether an undo should be pushed.
	* app/layers_dialog.c: reposition layer with undo.
	* app/undo.c: new undo type for layer reposition.  Layer rename
	    shouldn't dirty and clean the image twice!
	* app/undo.h: prototype for undo_push_layer_reposition().
	* app/undo_types.h: LAYER_REPOSITION_UNDO type.
1999-10-01 23:13:13 +00:00
Austin Donnelly 2b9629a0b2 fixed my email address 1999-10-01 19:28:48 +00:00
Austin Donnelly 4b4d3934db don't want sub-undo type undo_push_channel() takes ADD or REMOVE type
Fri Oct  1 15:18:34 1999  Austin Donnelly  <and1000@research.att.com>

	* app/channel.h: don't want sub-undo type
	* app/gimpimage.c: undo_push_channel() takes ADD or REMOVE type
	* app/undo.c: undo_push_channel() takes type.  More specific
	    CHANNEL_{ADD,REMOVE}_UNDO types.
	* app/undo.h: undo_push_channel() prototype.
	* app/undo_types.h: More specific CHANNEL_{ADD,REMOVE}_UNDO types.
1999-10-01 19:26:56 +00:00
Austin Donnelly 11409e97fb comment typo fix, plus add %D* to default image-title-format string, so
Fri Oct  1 12:46:12 1999  Austin Donnelly  <austin@gimp.org>

	* gimprc.in: comment typo fix, plus add %D* to default
	    image-title-format string, so people get a '*' in the titlebar
	    if their image is dirty.
	* app/fileops.c: initialise filename before using it.
	* app/gdisplay.c: empty parameter list () is K&R - should be
	    stronger (void) in ANSI C.
	* app/gimpdrawable.c: gimp_drawable_{dirty,clean} functions
	    removed - no one uses them anyway.  Parasite undo type is
	    proper parasite undo type, not MISC_UNDO.
	* app/gimpdrawableP.h: drawable dirty bit removed.
	* app/gimpimage.c: don't change the resolution if there's no
	    difference from the old one.  Call gdisplay_shrink_wrap() to
	    re-calculate scale factors and refresh the display on
	    resolution change.  Layer undo doesn't have sub-types
	    anymore, uses main UndoType instead.
	* app/layer.h: Remove LayerUndoType
	* app/qmask.c: fix qmask undo so it actually works.
	* app/undo.h: new types for undo_push_layer{,_mask} and
	    undo_push_qmask.
	* app/undo.c: change way group boundaries are represented:
	    each Undo has a group_boundary boolean set to TRUE if this is
	    the start or the end of a group, and the type of the Undo is
	    the group's type.  Within a group, each Undo keeps its own
	    type.  This allows pop funcs and free funcs to do
	    type-specific things (eg needed by layer and channel stuff).
	    Don't maintain per-drawable dirty flags anymore.   Floating
	    sel to layer and layer rename now uses meaningful undo types.
	* app/undo_types.h: more specific undo types:
	    LAYER_{ADD,REMOVE}_UNDO, LAYER_MASK_{ADD,REMOVE}_UNDO,
	    LAYER_RENAME_UNDO, and PARASITE_{ATTACH,DETACH}_UNDO.
	* app/undo_history.c: oops - undo stack was being placed into gtk
	    list in wrong order.
	* app/edit_selection.c: push more descriptive LAYER_DISPLACE_UNDO
	    rather than MISC_UNDO.
	* app/layers_dialog.c: better tagging of undo types
1999-10-01 18:43:24 +00:00
Asbjørn Pettersen cdf43f81f5 add parameter options 1999-10-01 15:16:15 +00:00
Zach Beane 8c76fd7052 Reverted the gimp-flip change I made that managed to be exactly wrong.
* plug-ins/script-fu/scripts/coolmetal-logo.scm: Reverted the
        gimp-flip change I made that managed to be exactly wrong.

-- Zach
1999-10-01 00:33:38 +00:00
Zach Beane 67607fbe87 Reverted gimp-flip bugfix that was a bug in itself. 1999-10-01 00:31:49 +00:00
BST 1999 Andy Thomas ff8579eae4 app/paintbrush.c
Thu Sep 30 23:06:47 BST 1999 Andy Thomas <alt@gimp.org>

	* app/paintbrush.c

	Fixed problem with stroking with the paintbrush tool.
	Stroking paths with fade/gradients now works again.
1999-09-30 22:12:58 +00:00
Tor Lillqvist adc6303532 Better workaround for GDK bug (gdk_image_get() sets the bpp field to
1999-09-30  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/wmf.c (load_image): Better workaround for GDK
bug (gdk_image_get() sets the bpp field to bits-per-pixel instead
of bytes-per-pixel).
1999-09-30 17:09:08 +00:00
Michael Natterer 064ed1754c "F1" for the indexed palette dialog.
1999-09-30  Michael Natterer  <mitch@gimp.org>

	* app/colormap_dialog.i.c: "F1" for the indexed palette dialog.
1999-09-30 11:20:08 +00:00
Michael Natterer 6afe31ff6a made the indentation consistent.
1999-09-30  Michael Natterer  <mitch@gimp.org>

	* app/gradient.c: made the indentation consistent.
1999-09-30 10:50:36 +00:00
Adam D. Moss 762a4cb35b very minor fix 1999-09-29 21:49:27 +00:00
BST 1999 Andy Thomas 2f392e82b4 app/colourmap_dialog.i.c app/gdisplay_ops.c app/palette.c
Wed Sep 29 21:56:52 BST 1999 Andy Thomas <alt@gimp.org>

	* app/colourmap_dialog.i.c
	* app/gdisplay_ops.c
	* app/palette.c

	1) Index palette dialog now registered so it gets hidden/shown when
	the "TAB key" is pressed in the canvas window.

	2) When the index palette is modified the changes are now shown
	immediately in all views.

	3) DND now works in the index palette.

	4) OK button when modifying a colour in the index palette
	dismisses the dialog correctly.

	5) DND in the colour palette viewer does not crash when no colours
	are selected.

	6) Corrected a problem with "New View". If your canvas is zoomed in
	and the image is offset in the display and a new view is requested
	the Canvas in the new view is corrupted. This bug is also in
	gimp 1.0.x
1999-09-29 21:18:23 +00:00
Tor Lillqvist 2888cfedaf Back out my change of 1999-09-14. It changed the semantics of the code,
1999-09-29  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/iwarp.c: Back out my change of 1999-09-14. It
changed the semantics of the code, the deform_area_vectors array,
and the two sequential loops in iwarp_deform() are really needed.
Sorry. Thanks to Garry R. Osgood for analysing this.
1999-09-29 19:33:56 +00:00
Sven Neumann c3a5070e5c undo for resolution and unit changes
--Sven
1999-09-29 16:44:52 +00:00
Sven Neumann de0379b94f helpbrowser hacking
--Sven
1999-09-29 14:35:04 +00:00
Sven Neumann 5c1c35415e updated iterator procedure for paper_tile plug-in
(patch from Wolfgang Hofer)


--Sven
1999-09-29 11:40:16 +00:00
Yukihiro Nakai 5d7b3fa197 Traslation update from Shirasaki Yasuhiro
Traslation update from Shirasaki Yasuhiro
1999-09-29 02:31:20 +00:00
CDT 1999 James Mitchell 7c9ff5934f Added from Daniele Medri <madrid@linux.it> 240 translated messages, 10
Tue Sep 28 20:54:45 CDT 1999 James Mitchell <mitchell@gimp.org>

        * plug-ins/perl/po/it.po: Added from Daniele Medri <madrid@linux.it>
	240 translated messages, 10 untranslated messages.
1999-09-29 01:58:10 +00:00
Kjartan Maraas 237fe212ef Updated Danish translation from Kenneth Christiansen <kenneth@ripe.dk>.
1999-09-29  Kjartan Maraas  <kmaraas@online.no>

	* da.po: Updated Danish translation from Kenneth
	Christiansen <kenneth@ripe.dk>.
1999-09-28 23:30:30 +00:00
Asbjørn Pettersen c4606f7930 add parse_absolute_gimprc_file() 1999-09-28 15:02:04 +00:00
Asbjørn Pettersen 207bdfb851 skip parse_absolute_gimprc_file() 1999-09-28 15:00:43 +00:00
Asbjørn Pettersen 727142eb19 add o files 1999-09-28 14:59:54 +00:00
Manish Singh 0f9e2dcabd Ack. Stupid debug line.
-Yosh
1999-09-28 00:31:39 +00:00
Manish Singh dbc143a61e revert that last set_locale change, it was bogus
* app/main.c: revert that last set_locale change, it was bogus

* app/gdisplay.c: don't update menu sensitivities when flushing
immediately, so that painting isn't slowed by it

-Yosh
1999-09-27 22:12:44 +00:00
Michael Natterer 002aa905db app/Makefile.am app/gimphelp.[ch] new files
1999-09-27  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/gimphelp.[ch]
	* app/gimpui.[ch]: new files

	* app/interface.[ch]
	* app/preferences_dialog.[ch]

	The GIMP Help System part 1: Press "F1" in any dialog to pop up
	the help page for this dialog.

	Moved the widget constructors from preferences_dialog.[ch] and the
	query boxes from interface.[ch] to gimpui.[ch].

	The dialog constructors take a help_func and a help_data
	parameter and install the "F1" accelerator which emits the new
	"help" signal.

	The "help" signal callback calls help_func(help_data) which finally
	has to call gimp_help() which in turn invokes the help browser.

	Still have to find a proper way to (1) prevent "F1" being assigned
	to some menu item and (2) to catch "F1" while browsing the menu
	trees in order to pop up the help for the selected item.

	* app/menus.c: a <Toolbox>/File/Help... menu item.
	* app/commands.[ch]: a command callback for the "Help..." menu item.

	* app/gimprc.[ch]: new boolean gimprc variable "use_help".

	* app/info_dialog.[ch]: pass a help function and data to the info
	dialog constructor.

	* app/tools.[ch]: store the tools help page names in the tool info
	structure. Export a special tools_help_func() which shows the help
	page for the active tool.

	* app/[all files calling a dialog constructor]: pass the dialog's
	help page to the constructor.

	Most dialogs are now created by gimp_dialog_new() which also sets
	up the action_area and the WM delete event callback, so I removed
	the resp. code from these files.

	Fixed some minor bugs and did some other stuff but didn't change
	any logic except dialog creation.

	* plug-ins/helpbrowser/helpbrowser.c: don't try to call a running
	help browser and don't install any menu path (all done in
	app/gimphelp.[ch] now).
1999-09-27 17:58:10 +00:00
Asbjørn Pettersen 46a53f0a7d add parse_add_directory_tokens() 1999-09-27 15:23:58 +00:00
Kelly Martin 412043dc7c Fixed a stupid typo.
Fixed a stupid typo.

--klm
1999-09-27 02:24:25 +00:00
Sven Neumann 1f103341c0 brush pipe animation in the brushes dialog too
--Sven
1999-09-26 21:16:37 +00:00
Sven Neumann 4695e3ae51 s/widget_draw/widget_queue_draw/
--Sven & Jtl
1999-09-26 11:35:01 +00:00
BST 1999 Adam D. Moss 62695195ae Fix bizarre typo and clean up a switch.
Sun Sep 26 10:56:26 BST 1999 Adam D. Moss <adam@gimp.org>

	* app/plug-in.c: Fix bizarre typo and clean up a switch.
1999-09-26 09:57:32 +00:00