Commit Graph

1816 Commits

Author SHA1 Message Date
Manish Singh b8bb67bdfa cosmetic change
* 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
1999-06-21 20:04:04 +00:00
Marc Lehmann f6fdc9cf79 see plug-ins/perl/Changes 1999-06-21 19:03:48 +00:00
Tuomas Kuosmanen cf1a647574 The button reorganization. /tig 1999-06-21 05:46:32 +00:00
Tuomas Kuosmanen 7404ec7c48 Changed the Delete layer button to be on the right edge. For consistency
I will do this to all the notebook tabs, probably later today. /Tigert
1999-06-21 04:02:24 +00:00
Yukihiro Nakai 81124dce15 ja.po: Japanese translation update from SHIRASAKI Yasuhiro.
ja.po: Japanese translation update from SHIRASAKI Yasuhiro.
1999-06-21 02:16:09 +00:00
Yukihiro Nakai e1ac5b8ba8 Add Japanese tips text from SHIRASAKI Yasuhiro.
Add Japanese tips text from SHIRASAKI Yasuhiro.
1999-06-21 02:13:58 +00:00
Tor Lillqvist 12938f1b6f Update version.
* libgimp/gimpfeatures.h.win32: Update version.

	* app/file_new_dialog.c: Include gimpcontext.h.

	* app/gdisplay.c: Don't pass a pointer as an int parameter,
	pass the result of an inequality comparison to zero.

	* app/makefile.msc: Add new files.

	* plug-ins/makefile.msc: Build the ps plug-in, too.

	* plug-ins/ps/ps.c: Add code to use a "real" output file, not a
 	pipe (needed with Win32 port of ghostscript).

	Use g_strdup_printf() instead of separate g_malloc() and sprintf()
 	calls. No need to check failure of g_malloc(), it aborts on
 	failure. Open files in binary mode.

	(Win32:) Use indirect command line file to guard for too long
 	command line. (Not sure if this is really needed.) Use the
 	gswin32c program.
1999-06-21 00:23:55 +00:00
Michael Natterer aacac3adcc Eeeeek, checked in from the wrong tree before. Fortunately, only one
one file was old...
1999-06-21 00:00:48 +00:00
Michael Natterer a72dbe86b4 connect to the user context's "display_changed" and to the image context's
1999-06-21  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/context_manager.c: connect to the user context's
	"display_changed" and to the image context's "remove" signal to
	avoid dangling references and to set the menu sensitivity on
	display change.

	* app/disp_callbacks.c
	* app/file_new_dialog.c
	* app/fileops.c
	* app/gdisplay.c
	* app/gdisplay_ops.c
	* app/gimpcontext.c
	* app/interface.[ch]: entirely moved the active display stuff to
	the user context:

	- The active display is set by any event in the display shell,
	  by File/New and File/Open.
	- gdisplay_delete() resets the active display to NULL if we
	  deleted the active display.
	- Reduced gdisplay_active() to a single statement returning the
	  context's active display. Should replace it by a macro.
	- gdisplay_flush_whenever() sets the menu sensitivity for the
	  active display.
	- Removed global variable popup_shell since it was only set all
	  the time but never used. I guess it's original job is now done
	  by the context anyway.
	- gdisplay_set_menu_sensitivity() works with gdisp == NULL.
	- There are mysterious Gdk-CRITICALs if both <Image> and one of
	  it's sub-menus are teared-off. Probably a gtk+ bug.

	To do all this stuff at a central place, there needs to be a
	GimpSet of displays (and ideally, GDisplay should be a GtkObject).

	* app/commands.c
	* app/lc_dialog.c: fixed segfaults happening with teared-off menus.
1999-06-20 23:29:34 +00:00
Tuomas Kuosmanen 1446497832 new icon for delete button (layers, channels, paths, whatever)
I hope this wont break anything. Tomorrow is a better day to hack some C :)

Tig
1999-06-20 21:26:16 +00:00
Michael Natterer 142ccb742d app/commands.c app/disp_callbacks.c app/gdisplay.c app/lc_dialog.c applied
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.
1999-06-20 13:53:15 +00:00
Asbjørn Pettersen 910832363b xjt fix 1999-06-20 12:58:08 +00:00
Asbjørn Pettersen d93ea4d8c2 <sys/types.h> before <sys/stat.h> 1999-06-20 12:57:30 +00:00
Michael Natterer aef2a0331a added some functions. Still does nothing.
1999-06-19  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/gimpcontext.[ch]: added some functions. Still does nothing.

	* app/bezier_select.c
	* app/devices.c
	* app/tools.[ch]: removed global variable active_tool_type
	because it was always equal to active_tool->type.
1999-06-19 20:20:59 +00:00
Seth Burgess 01155dd8c7 Don't use FLIP (enum of 11) in place of FLIP_INFO
(fixed flip tool bug)
1999-06-19 03:41:02 +00:00
Seth Burgess a6b48f32b7 Unbroke the devices previews in the devices dialog. 1999-06-19 01:11:49 +00:00
Kjartan Maraas 3ea54d565b 264: fixed a typo. s/mix/min.
1999-06-19  Kjartan Maraas  <kmaraas@online.no>

		* CML_explorer:264: fixed a typo. s/mix/min.
1999-06-19 00:26:21 +00:00
Kjartan Maraas aa3ddd6286 Updated translation.
1999-06-19  Kjartan Maraas  <kmaraas@online.no>

		* no.po: Updated translation.
1999-06-18 23:30:07 +00:00
Michael Natterer 1134c030a3 app/Makefile.am new files. Currently only init and destroy the static
1999-06-18  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/Makefile.am
	* app/context_manager.[ch]: new files. Currently only init and
	destroy the static contexts (user, standard and default).

	* app/app_procs.c: call the context manager's init and free
	functions. Still have to figure out the right time to do this.

	* app/gimpcontext.[ch]: alpha version 0.0.1 :-)

	Features:
	- Each context has a name
	- Attributes: opacity, paint mode, image, display
	- Signal emission on attribute change
	- Possibility to set a "parent" context
	- Each attribute can be defined or undefined. In the latter case
	  the values are taken from the parent context.
	- Possibility to pass a template and parent context to the
	  constructor
	Bugs:
	- Many attributes/functions still missing
	- It's connected to nothing
1999-06-18 18:29:27 +00:00
BST 1999 Adam D. Moss 1d6e4d5eec Fixed a problem with hidden/unaffected colour channels.
Fri Jun 18 18:25:24 BST 1999  Adam D. Moss  <adam@gimp.org>

	* app/paint_funcs.c: Fixed a problem with hidden/unaffected
	colour channels.
1999-06-18 17:34:29 +00:00
Sven Neumann f8a0c294c2 small fixes...
--Sven
1999-06-18 09:16:33 +00:00
Seth Burgess ef67644a02 Fixed --no-data and -n (that I broke). Gave indexed palette a default height.
Seth <sjburges@gimp.org>
Modified Files:
 	ChangeLog app/colormap_dialog.i.c app/devices.c
 	app/indicator_area.c app/interface.c
----------------------------------------------------------------------
1999-06-18 04:22:19 +00:00
Sven Neumann fb2d95a20a Dropped the COMMON_MODIFIERS_MASK define, since it isn't used anymore.
--Sven
1999-06-17 21:57:34 +00:00
Marc Lehmann 5fa1df3fc5 see plug-ins/perl/Changes 1999-06-17 21:24:48 +00:00
Sven Neumann 227021fce1 Implemented horizontal and vertical lines for the paint_tools using CTRL
and MOD1. Changed the Scale tool to use the same modifiers.

Default the Crop tool to the old-fashioned behaviour (crop and dont_enlarge).


--Sven
1999-06-17 20:34:50 +00:00
Michael Natterer aaa3ef2161 app/Makefile.am new files. Does nothing yet. Checked in because I found
1999-06-17  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/Makefile.am
	* app/gimpcontext.[ch]: new files. Does nothing yet. Checked in
	because I found some bugs while hacking it:

	* libgimp/gimpchainbutton.[ch]
	* libgimp/gimpfileselection.[ch]
	* libgimp/gimppatheditor.[ch]
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimpunitmenu.[ch]: fixed some cut & paste bugs and some
	gtk 1.0 artefacts in the object class initialisation code.
1999-06-17 19:13:08 +00:00
Michael Natterer e99df484f0 the tree title doesn't behave like a button anymore. Made the thumbnail
1999-06-17  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/preferences_dialog.c: the tree title doesn't behave like a
	button anymore.
	Made the thumbnail option look like the other option menus.
1999-06-17 15:01:01 +00:00
Marc Lehmann 603cc706f5 see plug-ins/perl/Changes 1999-06-16 19:26:46 +00:00
Marc Lehmann c6ca37b9fb see plug-ins/perl/Changes 1999-06-15 21:51:12 +00:00
Tor Lillqvist 0030397f7d Oops, po dirs have own ChangeLogs. 1999-06-14 22:26:52 +00:00
Tor Lillqvist 9308c80a02 po/makefile.msc New files.
* po/makefile.msc
	* po-plug-ins/makefile.msc: New files.
1999-06-14 22:24:15 +00:00
Tor Lillqvist 776cd54ca9 Mention using GNU gettext.
* 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.
1999-06-14 22:18:02 +00:00
Marc Lehmann dddfa3a900 see plug-ins/perl/Changes 1999-06-14 20:09:00 +00:00
Seth Burgess 8c9544675b Added ability to turn off the brush and pattern indicators.
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
1999-06-14 02:23:53 +00:00
Marc Lehmann 13a6519f0c *** empty log message *** 1999-06-12 21:54:15 +00:00
Marc Lehmann 1d9fc22acd see plug-ins/perl/Changes 1999-06-12 21:29:06 +00:00
Marc Lehmann f72dbf5800 see plug-ins/perl/Changes 1999-06-11 19:35:23 +00:00
Marc Lehmann 2721b4ce1f see plug-ins/perl/Changes 1999-06-11 19:30:13 +00:00
Manish Singh 72cb65c2d1 Add $(INTLLIBS)
-Yosh
1999-06-10 19:20:43 +00:00
Vincent Renardias d09e4aafcf Updated.
* Updated.
1999-06-09 10:13:46 +00:00
Marc Lehmann d414f6017a see plug-ins/perl/Changes 1999-06-08 23:36:45 +00:00
Manish Singh 0986af0ad9 dummy file
-Yosh
1999-06-08 22:56:17 +00:00
Kjartan Maraas 3f31639e04 added no to ALL_LINGUAS
1999-06-08  Kjartan Maraas  <kmaraas@online.no>

		* configure.in: added no to ALL_LINGUAS
1999-06-08 21:47:00 +00:00
Kjartan Maraas d4d2dde69f Added norwegian translation.
1999-06-08  Kjartan Maraas  <kmaraas@online.no>

		* Added norwegian translation.
1999-06-08 21:38:14 +00:00
Marc Lehmann 833d3490a5 see plug-ins/perl/Changes 1999-06-08 19:49:58 +00:00
Marc Lehmann 0c853f0e59 see plug-ins/perl/Changes 1999-06-08 19:16:42 +00:00
Sven Neumann dbdecb1f77 Correctly set the sensitivity of the up/down buttons taking into account if
the next layer has an alhpa channel.


--Sven
1999-06-08 09:14:09 +00:00
Sven Neumann 93452ea4d6 Only install the tool cursor if we are inside a selected region.
--Sven
1999-06-07 23:15:18 +00:00
Sven Neumann 52f8d96885 Corrected the line breaks in the ChangeLog ;-)
--Sven
1999-06-07 22:40:31 +00:00
Sven Neumann cff5ff7187 Overworked the line preview. Sorry for the inconvenience, but it has always
worked here due to a bug in icewm. Should work much better now, also it still
isn't perfect (yet).

Had to change the standard toggle key for all toggleable tools to
<Ctrl> since <Shift> collides with line drawing in the Convolver tool.


--Sven
1999-06-07 22:38:20 +00:00