Commit Graph

2582 Commits

Author SHA1 Message Date
Michael Natterer 3ed7073f9a fill empty "default" with a "break" (#9431). g_path_is_absolute wants a
2000-04-26  Michael Natterer  <mitch@gimp.org>

	* app/free_select.c: fill empty "default" with a "break" (#9431).
	* libgimp/gimpenv.c: g_path_is_absolute wants a parameter (#9400).
2000-04-26 00:17:54 +00:00
Nick Lamb /GIMP d30b81dcfa Better 0.88 -- 1.0.6 compatibility patch 2000-04-25 21:57:46 +00:00
Sven Neumann 32f37d07f4 (hopefully) fixed a buffer overflow pointed
out by Oleg V. Andrjushenko <oandr@itec.cn.ua>


--Sven
2000-04-25 12:32:10 +00:00
Manish Singh 84c7ea0507 fix Nick's embarassing bug found by tigert
-Yosh
2000-04-25 10:53:51 +00:00
Nick Lamb /GIMP 07269dca52 PNG - Workaround for ABI bustage discovered in libpng 1.0.6, try not to
hurt users potentially still stuck with 0.88 or 0.89
2000-04-25 03:57:03 +00:00
Michael Natterer 8018d99e22 fixed the "Resize Canvas" segfault.
2000-04-24  Michael Natterer  <mitch@gimp.org>

	* app/commands.c: fixed the "Resize Canvas" segfault.
2000-04-24 18:40:40 +00:00
Sven Neumann f2c3ad960c added transform_2d PDB procedure as suggested
by David Hodson <hodsond@ozemail.com.au>


--Sven
2000-04-24 15:22:57 +00:00
Tuomas Kuosmanen f3b1b71a2f new splash for the prerelease.. /tigert 2000-04-23 21:36:14 +00:00
Tor Lillqvist 2041747fc6 Add gimp_ui_init.
2000-04-23  Tor Lillqvist  <tml@iki.fi>

* libgimp/gimpui.def: Add gimp_ui_init.

* libgimp/makefile.{cygwin,msc} (gimpui_OBJECTS): Add gimpui.

* app/makefile.{cygwin,msc}
* plug-ins/makefile.{cygwin,msc}: New installation directory.

* app/datafiles.c (is_script): Must not g_free() value returned by
g_getenv().

* plug-ins/gdyntext/font_selection.c: Don't include gdkx.h with
GTk+ 1.3.
2000-04-23 20:27:41 +00:00
Sven Neumann 874edfd0fd cleaned up the messy spanish translation someone added
fixed compiler warnings, changed some gints to gbooleans

cleaned up namespace and documentation

updated libgimp documentation



--Sven
2000-04-22 23:49:34 +00:00
Manish Singh 70e94e8408 $GIMP_DATA_DIR and $GIMP_PLUGIN_DIR support
* gimp.m4: $GIMP_DATA_DIR and $GIMP_PLUGIN_DIR support

-Yosh
2000-04-22 23:49:34 +00:00
Manish Singh 4ff5948fe6 1.1.20 stuff
-Yosh
2000-04-22 19:47:01 +00:00
Garry R. Osgood 0b0742afdc app/bezier_select.c Closes the most recent bezier segfault report; about
2000-04-22 Garry R. Osgood <gosgood@idt.net>
* app/bezier_select.c
Closes the most recent bezier segfault report;
about plotting anchor points on- and off-image.
unable to cite because bugs.gnome.org is not
well. Andrew Thomas handled the only other
buglet I'm aware of at this time.
2000-04-22 18:48:51 +00:00
BST 2000 dfb76fdb64 app/bezier_select.c
Sat Apr 22 14:01:06 BST 2000 <alt@gimp.org>

	* app/bezier_select.c

	Fixed problem pointed out by Garry R. Osgood (manipulating
	control points where curve is closed). Thanks
	again Garry for pointing it out.
2000-04-22 13:09:44 +00:00
Manish Singh b3496287b4 gimpsignal.[ch] needs to go into libgimp, since it is used in gimp.c
* libgimp/Makefile.am: gimpsignal.[ch] needs to go into libgimp,
since it is used in gimp.c

* libgimp/gimpsignal.c: use g_error instead of gimp_fatal_error

* plug-ins/common/png.c: typo fix for Nick's previous commit

-Yosh
2000-04-21 18:37:25 +00:00
Nick Lamb /GIMP 60abc739ea PNG Fixed for Sven and Felix, but loads partial or damaged images too.
No more warnings either.
2000-04-21 18:14:48 +00:00
Garry R. Osgood e079a173fc app/main.c libgimp/Makefile.am libgimp/gimp.c libgimp/gimpsignal.c (New )
2000-04-21 Garry R. Osgood <gosgood@idt.net>
* app/main.c
* libgimp/Makefile.am
* libgimp/gimp.c
* libgimp/gimpsignal.c (New )
* libgimp/gimpsignal.h (New )
Patch by Austin Donnelly <austin@gimp.org> to
address #2742. (I took the liberty of moving it to
libgimp for general consumption, & fixed a typo)
Thanks due to Tim Mooney
<mooney@dogbert.cc.ndsu.nodak.edu> for testing
this on various flavors of OSF/1 boxes where
#2742 seemed especially common.
2000-04-21 16:42:11 +00:00
Nick Lamb /GIMP f60992f5c7 Revert Sven's changes 2000-04-21 01:38:36 +00:00
Sven Neumann c148ec9040 applied patch provided by KANDA Toshihiro <candy@ops.dti.ne.jp>.
Should fix bug #7329.


--Sven
2000-04-20 19:37:39 +00:00
Sven Neumann 91b78678b0 correctly initialize the bumpmap offsets
* plug-ins/common/bumpmap.c: correctly initialize the bumpmap
  offsets

* plug-ins/common/png.c: (load_image) if the PNG cannot be loaded,
  return -1 instead of some uninitialized integer


--Sven
2000-04-20 19:00:40 +00:00
Michael Natterer f622c86817 gimprc.in default to restore_session == TRUE so first time users really
2000-04-20  Michael Natterer  <mitch@gimp.org>

	* gimprc.in
	* app/gimprc.c: default to restore_session == TRUE so first time
	users really see the automatically opened dialogs.

	* app/session.[ch]: also open "Tool Options" if no sessionrc
	exists. Moved the harcoded initial positions away from the top and
	left edges of the screen to avoid dialogs which appear underneath
	panels. Also arranged the four default dialogs non-overlapping.
2000-04-20 17:09:41 +00:00
Michael Natterer 63dc6ed333 app/fuzzy_select.c app/selection_options.h moved the "Threshold" scale
2000-04-20  Michael Natterer  <mitch@gimp.org>

	* app/fuzzy_select.c
	* app/selection_options.h
	* app/tool_options.c: moved the "Threshold" scale from the fuzzy
	select options to the selection options structure, so none of the
	selection tools needs it's own tools options structure.

	* app/bucket_fill.c: moved "Threshold" after "Sample Merged" as in
	the fuzzy select options.
2000-04-20 15:57:13 +00:00
Michael Natterer 66e1b6f680 using the GimpPixmap here was a bad idea because showing/hiding the pixmap
2000-04-20  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpfileselection.[ch]: using the GimpPixmap here was a
	bad idea because showing/hiding the pixmap widgets is no solution
	(somebody may call gtk_widget_show_all() and we suddenly see both
	pixmaps, eek).
	Reverted it to use GtkPixmap and gtk_pixmap_set().
2000-04-20 15:48:00 +00:00
jtl 91d956d412 *** empty log message *** 2000-04-20 15:31:56 +00:00
Nick Lamb /GIMP 1a910b3bb2 TIFF plug-in LZW patent stuff (add JPEG, DEFLATE, deprecate LZW) 2000-04-20 04:38:31 +00:00
Michael Natterer 236e4856c0 app/bucket_fill.c app/by_color_select.c app/fuzzy_select.c made the
2000-04-19  Michael Natterer  <mitch@gimp.org>

	* app/bucket_fill.c
	* app/by_color_select.c
	* app/fuzzy_select.c
	* app/preferences_dialog.c: made the "default_threshold" gimprc
	variable work as advertized:

	- initialize the thresholds with it.
	- use it for "Reset".
	- added a widget to the "Tool Options" preferences page.
	- noticed that the "Reset" button of "By Color Select" doesn't
	  behave like all the other "Reset" buttons and changed it to
	  reset the ui, not the selection.
	  (There is now a "None" button and because it was so trivial, I
	  couldn't resist to add "All" and "Invert" buttons, too)

	* libgimp/Makefile.am
	* libgimp/gimpui.c: new file.
	* libgimp/gimpui.h: new function gimp_ui_init() which will be
	called by all plugins which have a ui (not only by those with a
	preview because plugins should always follow gimp's colormap
	installation policy).

	Could someone please check if the FIXME stuff in the function
	is the right thing to do (TM). Does GdkRGB allocate the correct
	colors for the widgets in all cases or do we have to find another
	way to ensure this across processes (gtk instances)?
2000-04-19 14:02:05 +00:00
Sven Neumann 4e875998e1 i18n fix
--Sven
2000-04-19 13:24:11 +00:00
Michael Natterer 9fc1fc6a4b fixed all files to include the i18n stuff correctly and don't mess up
2000-04-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/gdnytext/*: fixed all files to include the i18n stuff
	correctly and don't mess up Gimp's locale setup. Fixes #7878.
2000-04-19 11:02:36 +00:00
Michael Natterer d03906ed9e Creating the user's gimp directory may take some time on NFS, so users may
2000-04-18  Michael Natterer  <mitch@gimp.org>

        * app/user_install.c: Creating the user's gimp directory may take
        some time on NFS, so users may be tempted to press the "Continue"
        button again.
        Inform the user that this step may take some time and set the
        "Continue" and "Cancel" buttons insensitive until finished.
2000-04-18 15:04:30 +00:00
Sven Neumann 93e043e966 updated INSTALL removed color-cycling script applied gimp-simon-20000417-0
updated INSTALL
removed color-cycling script
applied gimp-simon-20000417-0


--Sven
2000-04-18 12:09:47 +00:00
Sven Neumann fca88457a8 i18n fixes and code cleanup
--Sven
2000-04-17 23:28:55 +00:00
Michael Natterer a645167a3c install gimp's colormap to avoid flickering on 8 bit displays.
2000-04-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/helpbrowser/helpbrowser.c (open_browser_dialog):
	install gimp's colormap to avoid flickering on 8 bit displays.
2000-04-17 14:34:28 +00:00
Michael Natterer 085f9b6e55 block all canvas events while resizing the display so the standard canvas
2000-04-16  Michael Natterer  <mitch@gimp.org>

	* app/gdisplay_ops.c (gdisplay_shrink_wrap): block all canvas
	events while resizing the display so the standard canvas "expose"
	and "configure" handlers are not called.
	This optimization is valid because shrink_wrap's caller has to do
	a full recalculation and expose of the gdisplay anyway.
	For the same reason, I removed the calls to gdisplay_expose_full()
	and bounds_checking() from shrink_wrap.

	This should also fix the double exposes Austin reported some time
	ago. I hope it does not re-break yesterday's fix :)

	* app/gdisplay_ops.[ch]: removed unused function
	gdisplay_resize_image().

	* app/scale.c (resize_display): do a full expose if one of the
	"resize_display" or "redisplay" parameters is TRUE.
2000-04-16 12:38:44 +00:00
jtl 5c816c6b38 *** empty log message *** 2000-04-16 12:10:24 +00:00
jtl 7f5fbf42ff *** empty log message *** 2000-04-15 22:40:05 +00:00
Manish Singh 71e5fefec9 tightened the regexs for build tool sanity checks
* autogen.sh: tightened the regexs for build tool sanity checks

* configure.in: more gtkxmhtml lib fixes (blargh)

-Yosh
2000-04-15 21:50:19 +00:00
Michael Natterer 89d3e0d8ef after resizing the display, check if the window manager placed it
2000-04-15  Michael Natterer  <mitch@gimp.org>

	* app/gdisplay_ops.c (gdisplay_shrink_wrap): after resizing the
	display, check if the window manager placed it offscreen and
	center it in that case.
2000-04-15 20:08:04 +00:00
Michael Natterer 554b9a344e s/0/FALSE/
2000-04-15  Michael Natterer  <mitch@gimp.org>

	* app/disp_callbacks.c: s/0/FALSE/

	* app/gdisplay_ops.c (gdisplay_shrink_wrap): removed all the
	gtk_drawing_area_size(), show/hide and gtk_main_iteration() stuff
	and don't touch the drawing area at all.

	Instead, use brute force on gdisp->shell:
	1. gtk_widget_size_allocate(gdisp->shell)
	2. gdk_window_resize(gdisp->shell->window)

	(tested with Sawmill, Enlightenment and twm)
2000-04-15 16:00:19 +00:00
Michael Natterer 0608a9920d fixed a compiler warning.
2000-04-14  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpdialog.c: fixed a compiler warning.
2000-04-14 18:05:13 +00:00
Michael Natterer 1226dc6c13 when re-drawing a dirty brush, clear it's preview area first.
2000-04-14  Michael Natterer  <mitch@gimp.org>

	* app/brush_select.c: when re-drawing a dirty brush, clear it's
	preview area first.
2000-04-14 16:33:47 +00:00
Nick Lamb /GIMP 2c76f50834 Purple isn't a good BG color, code clean-up/ compiler gagging 2000-04-14 15:21:14 +00:00
Sven Neumann 28757ba176 applied gimp-kevint-000413-0 and gimp-mattias-000414-0
--Sven
2000-04-14 08:59:52 +00:00
Matt Wilson 9a78ace59e updated for 1.1.19, reworked filespec generation routines, cleaned up
2000-04-13  Matt Wilson  <msw@redhat.com>

	* gimp.spec: updated for 1.1.19, reworked filespec generation
	routines, cleaned up %files sections
2000-04-13 21:31:04 +00:00
Nick Lamb /GIMP 092c854615 Save 1-bit, 2-bit and 4-bit PNG if appropriate 2000-04-13 04:48:56 +00:00
Michael Natterer b88a1ff1ff push an undo group when adding horizontal and vertical guides with
2000-04-13  Michael Natterer  <mitch@gimp.org>

	* app/measure.c: push an undo group when adding horizontal and
	vertical guides with Ctrl+Alt.
2000-04-13 00:23:10 +00:00
Sven Neumann 9a55c77635 use GIMP_HAVE_PARASITES instead of _PARASITES_H, which wasn't defined
* plug-ins/common/gif.c: use GIMP_HAVE_PARASITES instead of
_PARASITES_H, which wasn't defined anymore. Makes comment
parasites work with GIFs again.

* app/measure.c: pressing ALT anywhere outside the handles allows
to move the measure lines.


--Sven
2000-04-12 21:21:36 +00:00
Sven Neumann 21effbe95b updated the tool icons and added new ones. Removed the dvi and ps files
* docs/quick_reference.tar.gz: updated the tool icons and added
new ones. Removed the dvi and ps files from the tarball. Added
a TODO which describes what needs to be done to update the
quick_reference for gimp-1.2. Any volunteers?


--Sven
2000-04-12 20:42:52 +00:00
Sven Neumann 5278c08a2d applied gimp-cornwell-000412-0
--Sven
2000-04-12 20:09:21 +00:00
Sven Neumann 2ad8b65d9e applied (and hacked) gimp-kevint-000411-0 which should fix bug #8568
a few small changes to message strings and updates to the german translation


--Sven
2000-04-12 14:20:46 +00:00
Nick Lamb /GIMP ec4edaaa67 i18n-related changes necessary to fix #6698 and #8680. non-English users
please test and report if this doesn't improve things for you.
2000-04-11 22:27:00 +00:00