Commit graph

2633 commits

Author SHA1 Message Date
Manish Singh 115ba5e9db treat INT8s are guint8 internally, as a bandaid to address bug #2208 and
friends.

-Yosh
1999-11-09 00:23:14 +00:00
GMT 1999 Andy Thomas c34edd8f74 app/gimprc.c
Mon Nov  8 23:06:06 GMT 1999 Andy Thomas <alt@gimp.org>

	* app/gimprc.c

	Fixed problem (crash/corruption) when saving preferences.
	Seems like the mem-leaks fixing in this area was a little
	over zealous.
1999-11-08 23:45:58 +00:00
Marc Lehmann 9e274a7164 see plug-ins/perl/Changes 1999-11-08 20:06:21 +00:00
Marc Lehmann 1efdbb0eee see plug-ins/perl/Changes 1999-11-08 17:39:13 +00:00
GMT 1999 Austin Donnelly 4d93809fec delay the showing of the full-size pattern, brush or gradient by 150ms as
Sun Nov  7 18:59:22 GMT 1999  Austin Donnelly  <austin@gimp.org>

	* app/gimpcontextpreview.c: delay the showing of the full-size
	    pattern, brush or gradient by 150ms as the brush and pattern
	    selector dialogs currently do.  Also, only generate a "click"
	    event if the user has clicked quickly, ie, the mouse up event
	    came before the timeout caused the popup to be displayed).

	* app/gimprc.c: default image size now 983x857, in an attempt to
	    flush out problems to do with large images, images with
	    incomplete tiles around the edges, and images with
	    width != height.  Non-square pixels and other resolution stuff
	    will come in at a later stage when we've got the first round
	    of problems fixed.

	* app/gradient.c: don't allow two gradients with the same name -
	    replace the first.  Mainly this stops us having two "Default"
	    gradients if you start up with --no-data.

	* app/interface.c: can now create an indicator panel in the
	    toolbox even if we have --no-data, since we have built-in
	    defaults now.
1999-11-07 19:03:43 +00:00
GMT 1999 Austin Donnelly c64eb45ecb fix button resize behaviour. Closes Bug#3350. Also, i18n stuff for state
Sun Nov  7 15:41:07 GMT 1999  Austin Donnelly  <austin@gimp.org>

	* app/module_db.c: fix button resize behaviour.  Closes Bug#3350.
	    Also, i18n stuff for state names, and make them a little
	    prettier.
1999-11-07 15:38:14 +00:00
Sven Neumann a265c91c65 plugged more memleaks
--Sven
1999-11-06 18:19:41 +00:00
Sven Neumann c05b97ec0b Reverted my latest change. It disturbed image rendering.
* app/gdisplay.h: Reverted my latest change. It disturbed image
        rendering.

--Sven
1999-11-06 14:32:21 +00:00
Sven Neumann 4ef93a309d forgot the regenerate this file after the last change to drawable.pdb
--Sven
1999-11-06 13:57:35 +00:00
Sven Neumann bcba164475 app/drawable_cmds.c some PDB names weren't changed here but in all
* app/drawable_cmds.c
        * tools/pdbgen/pdb/drawable.pdb: some PDB names weren't changed here
        but in all plug-ins and scripts.

--Sven
1999-11-06 13:17:53 +00:00
Sven Neumann 3333ca348d fixed a crash on Cancel that occured due to bad list handling
* app/gdisplay_color_ui.c: fixed a crash on Cancel that occured
        due to bad list handling

        * app/module_db.c: indentation madness, no changes

        * app/nav_window.c: set the zoom label and slider first, then
        update the preview. Gives better user feedback. This is now what
        bugreport #3354 suggest, but it comes close.

        * plug-ins/common/plugindetails.c: tried to fix the strange resizing
        of the dialog. Should fix bug #3352.

--Sven
1999-11-06 03:03:26 +00:00
Sven Neumann 558271ff3b when moving layers/masks freeze the undo after the first move to avoid
* app/edit_selection.c: when moving layers/masks freeze the undo
        after the first move to avoid that each and every small movements
        puts an undo on the stack. Significantly speeds up layer moves
        and especially the undo of a layer move.

        * app/gdisplay.h: correct rounding errors

        * app/gimpimage.c: correctly display floating selections in the
        composite_preview instead of ignoring them

        * app/channels_dialog.c
        * app/layers_dialog.c
        * app/lc_dialog.c: s/gtk_widget_draw/gtk_widget_queue_draw/

--Sven
1999-11-05 14:39:04 +00:00
GMT 1999 Andy Thomas ff80bf7fdd app/gradient_select_cmds.c tools/pdbgen/pdb/gradient_select.pdb
Thu Nov  4 22:06:24 GMT 1999 Andy Thomas <alt@gimp.org>

	* app/gradient_select_cmds.c
	* tools/pdbgen/pdb/gradient_select.pdb

	Fixed crash when main gradient dialog is opened and
	one lauched via the PDB interface (ie scriptfu) is also open.
1999-11-04 22:17:05 +00:00
Sven Neumann 8498428592 get rid of compiler warnings
* app/channel.c: get rid of compiler warnings

        * app/histogram_tool.c
        * app/histogram_tool.h: added a gradient below the histogram so
        it looks more like the curves and levels tool

        * app/gimpbrushpipe.c
        * libgimp/parasiteio.c
        * libgimp/parasiteio.h: plugged another mem-leaks. At least
        The GIMP now starts without leaking memory...

--Sven
1999-11-04 19:50:14 +00:00
Sven Neumann aa2358fb26 Oh, how I love memprof !!
--Sven
1999-11-04 00:03:27 +00:00
GMT 1999 Austin Donnelly f0fdd64fd3 tag text undo group with TEXT_UNDO rather than silly EDIT_PASTE_UNDO.
Wed Nov  3 22:36:21 GMT 1999 Austin Donnelly  <austin@gimp.org>

	* app/text_tool.c: tag text undo group with TEXT_UNDO rather than
	    silly EDIT_PASTE_UNDO.
	* app/undo.c: TEXT_UNDO name
	* undo_types.h: new type: TEXT_UNDO, plus fix numbering to make it
	    consistent (overlapping enums are bad).
1999-11-03 22:34:32 +00:00
Nick Lamb /GIMP 13ed6f270d Updated BMP file plug-in from Alexander Schulz 1999-11-03 18:47:35 +00:00
Stanislav Brabec 337d4f3a25 czech translate update 1999-11-03 17:54:47 +00:00
Michael Natterer 58877ccd21 connect to the "realize" signal of the dialog's top-level eventbox, not
1999-11-03  Michael Natterer  <mitch@gimp.org>

	* app/paths_dialog.c: connect to the "realize" signal of the
	dialog's top-level eventbox, not the vbox.
1999-11-03 15:17:56 +00:00
Michael Natterer 0302ed0a10 app/brush_select.[ch] app/gradient.c app/gradient_select.[ch]
1999-11-03  Michael Natterer  <mitch@gimp.org>

	* app/brush_select.[ch]
	* app/gradient.c
	* app/gradient_select.[ch]
	* app/interface.[ch]
	* app/palette.c
	* app/pattern_select.[ch]: allow dragging a brush/pattern/... from
	the selections with mouse2 without changing the active element in
	the dialog.

	* app/channels_dialog.c
	* app/color_area.c
	* app/color_panel.c
	* app/color_select.c
	* app/colormap_dialog.i.c
	* app/devices.c
	* app/gimpcontextpreview.[ch]
	* app/gimphelp.[ch]
	* app/gimpui.[ch]
	* app/indicator_area.c
	* app/interface.[ch]
	* app/layers_dialog.c
	* app/lc_dialog.c
	* app/ops_buttons.[ch]
	* app/paths_dialog.c
	* app/preferences_dialog.c
	* app/tools.[ch]: wrapped gtk_tooltips_set_tip() with
	gimp_help_set_help_data() and moved it to gimphelp.[ch].

	This should (hopefully) be the final state of the help system. The
	New function allows a "private tip" to be set without a visible
	tooltip. This way the tooltips inspector (shift+F1) can search for
	help data in the parent containers of the clicked widget. E.g. the
	ops buttons in the layers dialog have private tips like
	"#new_layer" which gets composed with the help data of the layers
	dialog notebook page resulting in a complete help path.

	Allow mouse2 for all dnd operations. Mouse1 still works like before.
1999-11-03 09:58:46 +00:00
Manish Singh 46c8110fdf fake pixmap from alt's screenshot cause he forgot to cvs add
-Yosh
1999-11-03 01:37:20 +00:00
GMT 1999 Andy Thomas 67bc1a6a0d app/undo.h app/undo.c app/undo_history.c pixmaps/question.xpm
Tue Nov  2 22:50:31 GMT 1999 Andy Thomas <alt@gimp.org>

	* app/undo.h
	* app/undo.c
	* app/undo_history.c
	* pixmaps/question.xpm

	Fixed undo history so it shows a dummy image if the preview
	image has not already been generated. The actual image
	could probably do with an artists hand ;-)
	Also mask operations are shown as such in the previews.

	* app/lc_dialog.c

	Fixed rounding error in preview when width << height.

	* plug-ins/common/jpeg.c

	Always freeze the undo stack for any of the image export types.
	Anyone know why this was not the case to start with?
1999-11-02 23:05:55 +00:00
Sven Neumann ebc892e783 Hopefully fixed the damned Script-Fu bug!
--Sven
1999-11-02 21:48:53 +00:00
Tomas Ogren b2317dcdb2 Updated
1999-11-01  Tomas Ogren  <stric@ing.umu.se>

* sv.po: Updated
1999-11-01 21:06:38 +00:00
Manish Singh eec4da82f4 1.1.11 stuff
-Yosh
1999-11-01 17:29:48 +00:00
Sven Neumann e26e778d9a app/drawable_cmds.c applied (a modified version of) a patch from Garry R.
* app/drawable_cmds.c
        * tools/pdbgen/pdb/drawable.pdb: applied (a modified version of) a
        patch from Garry R. Osgood <gosgood@idt.net> that should fix bug #2202
        and problems with the Warp plug-in.

        * app/main.c
        * po-plug-ins/POTFILES.in
        * plug-ins/common/mail.c: applied a patch from
        SHIRASAKI Yasuhiro <yasuhiro@awa.tohoku.ac.jp> that handles i18n issues         and fixes a problem in the mail plug-in.
        ( Could someone please check if the change to app/main.c is the right
          thing to do ?! )

        * po-plug-ins/POTFILES.in
        * plug-ins/common/grid.c
        * plug-ins/gap/iter_ALT/gen/plug_in_grid_iter_ALT.inc:
        checked in a new version of the Grid plug_in developed by
        Tom Rathborne <tomr@aceldama.com> and me.

--Sven
1999-11-01 12:36:23 +00:00
Sven Neumann 35cb0fa47e libgimp/Makefile.am new widget which provides a simple button with a color
* libgimp/Makefile.am
        * libgimp/gimpcolorbutton.[ch]: new widget which provides a simple
        button with a color preview together with a completely wired
        gtk_color_select_dialog. Color dnd will be added next.

        * libgimp/gimpchainbutton.c
        * libgimp/gimpchainbutton.h: cleaned up the code a bit and provided
        a destroy function which takes care of freeing the memory allocated
        for the pixmaps/bitmaps (well at least I hope it does).

        * libgimp/gimpunit.c: some cases were handled wrong in
        gimp_unit_get_digits().

        * plug-ins/megawidget/megawidget.c: follow the GUI conventions when
        building the action_area and internationalized the code.

        * plug-ins/common/CML_explorer.c: fixed a typo

--Sven
1999-10-31 21:00:32 +00:00
Tor Lillqvist 26199cae67 Use the generic (UTF-8 based) makefile.cygwin from gtk+.
1999-10-31  Tor Lillqvist  <tml@iki.fi>

* makefile.cygwin: Use the generic (UTF-8 based) makefile.cygwin
from gtk+.

* makefile.msc: Remove.

* ko.po: Add a space at the end of one message, otherwise
it got somehow mangled by native2ascii.
1999-10-31 11:05:57 +00:00
Tor Lillqvist dd9122cda0 Use the generic (UTF-8 based) makefile.cygwin from gtk+.
1999-10-31  Tor Lillqvist  <tml@iki.fi>

* makefile.cygwin: Use the generic (UTF-8 based) makefile.cygwin
from gtk+.

* makefile.msc: Removed.
1999-10-31 11:00:59 +00:00
Tor Lillqvist 595360fd30 Add a couple of missing commas between names. Add UTF-8 versions of
1999-10-31  Tor Lillqvist  <tml@iki.fi>

* app/about_dialog.c (scroll_text): Add a couple of missing commas
between names. Add UTF-8 versions of non-ASCII names for the new
UTF-8 based Win32 GDK.
1999-10-31 10:37:03 +00:00
Michael Natterer 56d10ac481 app/gimpdnd.c remove the remaining defines of GRAD_CHECK_SIZE and include
1999-10-30  Michael Natterer  <mitch@gimp.org>

	* app/gimpdnd.c
	* app/undo_history.c: remove the remaining defines of
	GRAD_CHECK_SIZE and include libgimp/gimplimits.h instead.

	* app/undo_history.c: connect to the image's "rename" signal to
	update the window title.

	* app/disp_callbacks.c
	* app/gdisplay.c
	* app/info_window.[ch]: did the same for the info dialog.
	The info window has to remember the gdisplay to disconnect from
	the image's "rename" signal, so I removed the gdisplay parameter
	from the update functions.
1999-10-30 17:49:50 +00:00
Michael Natterer b9e8623397 forgot to set "connected" flag after connecting to the dnd signals of a
1999-10-30  Michael Natterer  <mitch@gimp.org>

	* app/gimpdnd.c: forgot to set "connected" flag after connecting
	to the dnd signals of a specific widget, so the dnd stuff
	connected to these signals for every dnd data type (resulting ie
	in multiple bucket fills when dropping a color/pattern to the
	canvas).
1999-10-30 16:16:08 +00:00
Michael Natterer 12366a9a7c removed the GimpImage "destroy" callback because we already get notified
1999-10-30  Michael Natterer  <mitch@gimp.org>

	* app/lc_dialog.c: removed the GimpImage "destroy" callback
	because we already get notified of this event by connecting to the
	image context's "remove" signal.
1999-10-30 13:17:31 +00:00
Michael Natterer 8d371c1961 added a private tooltip to the ops_buttons structure. Removed
1999-10-30  Michael Natterer  <mitch@gimp.org>

	* app/ops_buttons.[ch]: added a private tooltip to the
	ops_buttons structure. Removed ops_buttons_set_insensitive().

	* app/channels_dialog.c
	* app/layers_dialog.c
	* app/paths_dialog.c
	* app/lc_dialog.c: let the ops button's private tips point at the
	already existing help pages. Minor fixes.
1999-10-30 13:01:15 +00:00
Michael Natterer b3144e7ccc app_procs.c app/commands.[ch] app/interface.c app/menus.c app/session.c
1999-10-30  Michael Natterer  <mitch@gimp.org>

	* app_procs.c
	* app/commands.[ch]
	* app/interface.c
	* app/menus.c
	* app/session.c
	* app/tools.[ch]: namespace cleanups: changed the
	"tools_options_*" functions to "tool_options_*" and prefixed all
	dialog menu callbacks with "dialogs_*".
	Allow dropping a tool to the tool options dialog.

	* app/bezier_select.c: change the active tool using context
	functions.

	* app/dialog_handler.[ch]: replaced the uppercase datatype names
	by standard mixed upper/lowercase ones. Provide a function to
	register the fileload dialog instead of accessing it as global
	variable.

	* app/disp_callbacks.c: switch to the move tool using context
	functions. Fixed the drop color/pattern functions to convert the
	dropped thing to the dest. image's color space.

	* app/fileops.c: don't export the fileload dialog as global
	variable but register it with the dialog handler instead.

	* app/paths_dialog.[ch]: replaced all the uppercase struct names
	defined here by mixed upper/lowercase. Introduced a
	"set_menu_sensitivity" function like in layers/channels instead of
	calling single button on/off functions from various places.
	Added a menu entry for "Selection to Path".
1999-10-30 10:39:48 +00:00
Tor Lillqvist ac6f345eab Fix a couple of bugs: Must call make_canvas if necessary when handling
1999-10-30  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/wmf.c: Fix a couple of bugs: Must call
make_canvas if necessary when handling CreateFontIndirect. Must
call gdk_gc_set_foreground with the pen colour when handling
LineTo (strange that this hasn't showed up before). Added lots of
debugging printouts (behind #ifdef DEBUG).
1999-10-30 10:08:19 +00:00
Nick Lamb /GIMP cb1e0ba121 Fix #3179 (Revert uses wrong filename) 1999-10-30 09:15:18 +00:00
Manish Singh 5e360d628e shut up cvs
-Yosh
1999-10-29 16:25:05 +00:00
Marc Lehmann 99c67fd950 see plug-ins/perl/Changes 1999-10-29 15:15:02 +00:00
Michael Natterer 4a3a57f8ce app/brush_select.c app/gradient_select.c call the PDB callback from the
1999-10-29  Michael Natterer  <mitch@gimp.org>

	* app/brush_select.c
	* app/gradient_select.c
	* app/pattern_select.c: call the PDB callback from the context
	callback because it gets called on every change.

	* app/interface.c: the tool buttons had the wrong private tooltips
	attached.

	* app/gimphelp.c: call the help browser with plug_in_run() instead
	of procedural_db_execute() to make it really ansynchronous.
	Added a GtkTipsQuery tooltips inspector which gets invoked by
	<Shift>+F1. Did some illegal juggling with the tips_query's
	"parent" pointer which may cause problems, so I made the stuff
	disable-able with #ifdef's.
	Is there a proper way to create a tips_query widget without having
	to show it somewhere??
1999-10-29 14:15:55 +00:00
BST 1999 Andy Thomas e5528e6cd8 app/gimpimage.c
Thu Oct 28 23:22:34 BST 1999 Andy Thomas <alt@gimp.org>

	* app/gimpimage.c

	Fixed memory leak with image is deleted.

	* plug-ins/common/jpeg.c

	Fixed the way the plugin added layers. Preview stuff does not now
	get corrupted.
1999-10-28 22:47:56 +00:00
Marc Lehmann 7fd9c0b661 Added again. 1999-10-28 22:47:31 +00:00
Marc Lehmann 9bccbdff05 Remove, add, etc... 1999-10-28 22:47:12 +00:00
Marc Lehmann f9dee425d2 see plug-ins/perl/Changes 1999-10-28 22:46:02 +00:00
Marc Lehmann 3a88c33682 *** empty log message *** 1999-10-28 22:45:22 +00:00
Marc Lehmann d816d51238 delete, remove, add, delete, remove... 1999-10-28 22:44:51 +00:00
Manish Singh 859f586af7 One more fix to get a clean runnable build
-Yosh
1999-10-28 19:09:02 +00:00
Michael Natterer 79e27e984a More context & dnd stuff... 1999-10-28 15:05:49 +00:00
Asbjørn Pettersen d518393284 add <time.h> for time_t 1999-10-28 09:48:14 +00:00
Manish Singh 9dde955361 Make it build
-Yosh
1999-10-28 02:06:19 +00:00