Commit Graph

701 Commits

Author SHA1 Message Date
Lauri Alanko 5c5c73f3f5 Misc cleaning up here and there. Note that since the ids were used
to detect if an image still exists, some things may, for now,
access freed images and break. This will be fixed once proper
destroy handlers are added.
1998-06-30 01:14:36 +00:00
Matt Wilson 69a60a9f57 updated todo 1998-06-29 15:33:42 +00:00
scott 2aa993b136 Added a mutex on the swapfile itself to avoid a potential race condition.
Added a mutex on the swapfile itself to avoid a potential race condition.
--sg
1998-06-29 00:33:16 +00:00
Lauri Alanko faeaa7cc23 Removed most of the image id system. They're still used with pdb.
At quick glance, nothing seems to be broken, but if things weird
	out, blame me.

	Now just the same for layers, channels and displays...
1998-06-29 00:24:44 +00:00
Manish Singh 7a4579dbf2 don't use app private includes
-Yosh
1998-06-28 17:10:10 +00:00
Lauri Alanko 3897b71b72 Started doing a GtkObjectifying framework, and started cleaning images
from all sorts of ugly dependencies.
1998-06-28 10:39:58 +00:00
Tim Janik 81d0e43059 return a GtkType value and initialize the GtkTypeInfo structure correctly.
Sun Jun 28 08:32:20 1998  Tim Janik  <timj@gtk.org>

        * app/layer.c (gimp_layer_mask_get_type):
        (gimp_layer_get_type):
        * app/drawable.c (gimp_drawable_get_type):
        * app/channel.c (gimp_channel_get_type):
        return a GtkType value and initialize the GtkTypeInfo structure
        correctly.

        * app/layer.h:
        * app/drawable.h:
        * app/channel.h:
        provide GIMP_TYPE_* and GIMP_IS_*_CLASS() macros.
1998-06-28 08:01:38 +00:00
Manish Singh 83e02a396f minor unused variable warning cleanup
* app/interface.c: minor unused variable warning cleanup

* plug-ins/bumpmap/bumpmap.c: another warning cleanup

* plug-ins/flame/flame.c: time(NULL) instead of time(0)

* plug-ins/gpc/Makefile.am
* plug-ins/megawidget/Makefile.am: install in $libdir instead of
$gimpplugindir since they *are* libs. Some archs try to exec them, and it
barfs

-Yosh
1998-06-28 06:33:38 +00:00
EDT 1998 Adrian Likins 14560bb94c fix from Scott Goehring for a thread deadlock
Sun Jun 28 00:23:52 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/tile.c : fix from Scott Goehring for a thread deadlock

-adrian
1998-06-28 05:34:46 +00:00
Manish Singh 2f7b84ae4d add procedural_db_get_data_size and gimp_get_data_Size functions from Nick Lamb
-Yosh
1998-06-27 00:23:43 +00:00
Tuomas Kuosmanen 9904afe3b2 Splash-screen update ... updated first the wrong version of the image
/tigert
1998-06-26 20:08:48 +00:00
Tuomas Kuosmanen c8dfc0ffc6 Yet Another Splash Screen /tigert 1998-06-26 19:37:21 +00:00
Tuomas Kuosmanen 1502aa9786 Made the splash-screen min-width a little smaller to fit the eye-candy
splash-screen better  /tigert
1998-06-26 19:31:39 +00:00
Manish Singh 06617b91c2 define DIVIDE here too (auf, script-fu sucks)
* plug-ins/script-fu/scripts.c: define DIVIDE here too (auf, script-fu sucks)

* plug-ins/illusion/illusion.c: parse gtkrc

-Yosh
1998-06-26 18:09:55 +00:00
Manish Singh edb4e825e0 corrected typo
* app/Makefile.am: corrected typo

* app/bezier_select.c
* app/rect_select.[ch]: merged in bezier extend patch by Raphael
FRANCOIS (fraph@ibm.net)

* app/menus.c: restored "lost" menu items and shortcuts
These really aren't tools.. maybe they should go somewhere else?

* plug-ins/Lighting/lighting_main.c: added gimp_displays_flush

-Yosh
1998-06-26 08:03:50 +00:00
PDT 1998 Adrian Likine 85a8d85e91 Some cosmetic changes to better reflect the development stage of gimp.
Thu Jun 25 17:25:01 PDT 1998 Adrian Likine <adrian@gimp.org>

        * Makefile.am:
        * app/app_procs.c:
        * gimp1_1_splash.ppm: Some cosmetic changes to
        better reflect the development stage of gimp.

hey, yosh said it was okay...  duck...

-adrian
1998-06-26 00:30:12 +00:00
Tuomas Kuosmanen 1ed4e9c8f8 Changed the unit labels a bit so they are consistent on both units-menus
/tigert
1998-06-25 18:43:44 +00:00
Manish Singh 8612d50ec1 compile everything with -D_REENTRANT
* configure.in: compile everything with -D_REENTRANT

* app/menus.c: fix for default accel (wrong X char)

* libgimp/gimpenums.h: make DIVIDE_MODE visible

* plug-ins/gif/gif.c: make it less verbose again

-Yosh
1998-06-24 05:31:18 +00:00
Sven Neumann ac1e12f8e7 Oops, of course I should have changed gimprc.in, not gimprc.
--Sven
1998-06-23 22:58:55 +00:00
Sven Neumann 77ecc77a8f Moved the (last-tip-shown xx) entry to sessionrc. You might want to
delete that line from your gimprc, but it works fine without doing so.


--Sven
1998-06-23 22:50:16 +00:00
Sven Neumann efd46c7a67 The lc-dialog can now be opened from the toolbox-menu. Did that in
preparation for auto-opening dialogs on start-up.


--Sven
1998-06-23 21:28:22 +00:00
Manish Vachharajani e6a03c8573 Ok, try to at least have eraser work for non-xinput devices 1998-06-23 03:41:59 +00:00
Manish Vachharajani 8403ce3308 Fixed eraser pressure sensitivity for non-tablet devices and added Changelog entry 1998-06-23 03:24:19 +00:00
People doing a 16 bpc version of gimp 3fd4710963 file gimp16.sgml was initially added on branch HOLLYWOOD. 1998-06-22 23:46:21 +00:00
Sven Neumann 6f2bd5a301 Hopefully fixed a memory hole I introdiced in the preferences-dialog.
--Sven
1998-06-22 22:14:28 +00:00
Sven Neumann aa608690f8 Made a new icon for the new ink tool. IMHO it fits better to the rest of the
icons. Can always be changed if someone creates a better one...


--Sven
1998-06-22 21:38:36 +00:00
Adrian Likins 7ee605514b just a minor fix up for sven.. in color_select.c and plug_in.c
just a minor fix up for sven.. in color_select.c and plug_in.c

-adrian
1998-06-22 20:28:48 +00:00
Sven Neumann d16b3aba04 Rough outline of session-managment. A new config
file 'sessionrc' is written and the position of some windows is
remembered. Still has some problems (offset by wm decorations).
Can be switched off in the preferences.
1998-06-22 17:30:40 +00:00
CDT 1998 Larry Ewing db79dc64df app/bezier_select.c app/commands.[ch] app/devices.c app/disp_callbacks.c
Sun Jun 21 15:16:46 CDT 1998 Larry Ewing <lewing@gimp.org>

	* app/bezier_select.c
	* app/commands.[ch]
	* app/devices.c
	* app/disp_callbacks.c
	* app/interface.c
	* app/menus.c
	* app/pixmaps.h
	* app/tools.[ch]
	* app/undo.c: Lots of changes to the way tools are intialized and
	accessed.  All information about a tool type is now contained in a
	single ToolInfo array.  There are still some small issues to
	adress about tool groups and we need some way of getting menu
	ordering/grouping to work better (plug-ins need this too).  There
	is still much to be done, but this is the next in cleaning up the
	tools.

	* app/posterize.[ch]
	* app/threshold.[ch]
	* app/histogram_tool.[ch]
	* app/hue_saturation.[ch]
	* app/levels.[ch]
	* app/brightness_contrast.[ch]
	* app/by_color_select.[ch]
	* app/color_balance.[ch]
	* app/curves.[ch]: Changed the *_initalize function prototypes from
	gpointer to GDisplay, to allow better type chacking and provide a
	uniform interface for all the dialog tools.
1998-06-21 20:17:21 +00:00
Owen Taylor 2d46c61b87 Set active_tool before updating device status dialog.
Sun Jun 21 15:49:43 1998  Owen Taylor  <otaylor@gtk.org>

	* app/tools.c (tools_select): Set active_tool before
	updating device status dialog.
1998-06-21 19:55:33 +00:00
Manish Vachharajani 343574c669 Make eraser sensitive to pressure from xinput devices 1998-06-21 15:37:48 +00:00
Manish Singh 2938ed8b18 Fixes for new library versioning
-Yosh
1998-06-21 05:09:59 +00:00
Manish Singh c5e341a351 Do pthread stuff right.
-Yosh
1998-06-20 18:52:48 +00:00
scott 255d684379 include config.h so we can tell if we're doing threads. (GIMP's includes
include config.h so we can tell if we're doing threads.  (GIMP's
includes are f*ck*d.)  --sg
1998-06-20 18:34:38 +00:00
scott 33f5dcc92d Modified tile swapping to preswap dirty tiles, using a thread if threads
Modified tile swapping to preswap dirty tiles, using a thread if
threads are enabled in configure or a gtk_timeout if they're not.  The
code appears stable but could use improvement.  Be careful when
working in here; there are four sets of semaphores and getting the
locking wrong will cause deadlocks or tile corruption.  I'll try to
write up a document describing what's going on in here sometime soon.
--sg
1998-06-20 17:09:32 +00:00
Manish Singh b14c299a7c Forgot I reversioned libgck also...
-Yosh
1998-06-20 04:34:20 +00:00
Manish Singh 757044c137 implemented PDB interface for changing the g_message handler
* plug-ins/gif/gif.c: g_printized "no comment" warning

-Yosh
1998-06-19 23:45:54 +00:00
EDT 1998 Adrian Likins ced712746d more updates
Fri Jun 18 16:12:51 EDT 1998 Adrian Likins <adrain@gimp.org>

        * TODO: more updates

-adrian
1998-06-19 21:24:34 +00:00
Manish Singh db28c2a313 libgimp versioning stuff
-Yosh
1998-06-19 19:47:34 +00:00
Owen Taylor 77b19d2d99 Shift the range to smaller brushes. (1/8 - 25 pixel radius, instead of
Thu Jun 18 23:11:36 1998  Owen Taylor  <otaylor@gtk.org>

	* app/ink.c: Shift the range to smaller brushes.
	(1/8 - 25 pixel radius, instead of 1-100 pixels)
1998-06-19 03:16:42 +00:00
Manish Singh f075fec795 acconfig.h config.h.in added --with-threads (taken from gtk+ configure.in)
* acconfig.h
* config.h.in
* configure.in: added --with-threads (taken from gtk+ configure.in)

* libgimp/Makefile.am: ugly hack to force libgimpi.a to get rebuilt since
libgimp.la compilations screws up the deps. Fixes relinking on make install.

* configure.in
* plug-ins/Makefile.am: other cleanups

* libgimp/gimp.c
* app/plug_in.c: pass INT32 instead of INT8 for gdisp_id since that's the
correct type

* app/preferences_dialog.c
* plug-ins/script-fu/script-fu-server.c
* plug-ins/tileit/tileit.c: warning fixups
1998-06-19 01:45:03 +00:00
Owen Taylor 95118f347f Removed calls to gtk_container_[dis/en]able_resize()
Thu Jun 18 21:20:12 1998  Owen Taylor  <otaylor@gtk.org>

	* app/interface.c app/tools.c: Removed calls to
	  gtk_container_[dis/en]able_resize()

Thu Jun 18 21:03:33 1998  Owen Taylor  <otaylor@gtk.org>

	* app/interface.c (create_display_shell): Set the resize
	mode on the statusbar to prevent the window from being
	unnecessarily auto-shrunk.

	* plug-ins/gfig/gfig.c (my_gtk_label_set): Removed unused
	function using deprecated gtk_container_need_resize()

Thu Jun 18 16:31:16 1998  Owen Taylor  <otaylor@gtk.org>

	* app/blob.c: Try to prevent overflows when drawing ellipses)
	(fixes the ink => line bug for big sizes)
1998-06-19 01:39:02 +00:00
Sven Neumann 0a1c208a5d Samll changes to the preferences dialog.
Fixed two woarning Adrian introduced yesterday in the file_new_dialog.


--Sven
1998-06-18 16:54:56 +00:00
Adrian Likins 13b564ecaf added some stuff in preparation for making a preference -adrian
* app/gimprc.[ch]: added some stuff in preparation for
        making a preference
-adrian
1998-06-18 06:23:19 +00:00
EDT 1998 Adrian Likins f8c7cbb5ad updated the spinbuttons to use the new api
Wed Jun 17 23:52:13 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/file_new_dialog.c: updated the spinbuttons
        to use the new api

-adrian
1998-06-18 05:04:01 +00:00
Sven Neumann 5ed22def4a The middle mouse button now pops up the menu as well as the third
when clicking on the layer/channel. This should help users that use
a tablet and don't have a right mouse button (like me).


--Sven
1998-06-18 01:04:45 +00:00
Sven Neumann 51b1e61d3f Fixed a bug I introduced with the new mem_size_unit for the tile_cache_size.
Applied a patch from Jay Cox. Reimplements selection_grow, selection_shrink
and selection_border using new algorithms => faster and nicer results.


--Sven
1998-06-17 19:17:00 +00:00
Sven Neumann ef05e30ea4 Default "save_window_positions_on_exit" to FALSE until I know why
gdk_window_get_position() doesn't work properly when the window was
never moved. gdk_window_get_geometry() seems to have the same problem.


--Sven
1998-06-17 10:11:12 +00:00
Sven Neumann 8f8cef6219 Started to implement some sort of session-managment. Right now it only saves
a few window-positions (more to come). I plan to move the saving out of
gimprc into a seperate file and add more stuff like last openend image etc.
Any help is appreciated...


--Sven
1998-06-17 00:18:46 +00:00
CDT 1998 Larry Ewing 8e6f42e4cf added menu entry and changed loop bounds to get the new ink tool
Tue Jun 16 15:06:19 CDT 1998 Larry Ewing <lewing@gimp.org>

	* app/interface.c:
	* app/menus.c: added menu entry and changed loop bounds to get the
	new ink tool functioning properly

	* app/tools.[ch]: added new and free funcs to the ToolInfo struct,
	and began small cleanup of tools
1998-06-16 20:09:19 +00:00