Commit Graph

432 Commits

Author SHA1 Message Date
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 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 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
Manish Singh 4c7784d736 initialize progress_gdisp_ID field in plug_in_new so things don't crash
* app/plug_in.c: initialize progress_gdisp_ID field in plug_in_new so
things don't crash

* app/menus.c: use proper keycodes (?) for zoom accelerator defaults

* plug-ins/apply_lens/apply_lens.c: fixed a warning

-Yosh
1998-06-15 19:48:57 +00:00
Sven Neumann fe5a060988 *** empty log message *** 1998-06-15 12:44:51 +00:00
CDT 1998 Shawn T. Amundson 0e28e58749 Table spacings
Sun Jun 15 00:41:05 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/interface.c: Table spacings
1998-06-15 05:43:46 +00:00
CDT 1998 Shawn T. Amundson c943e5e1c8 Fixed progress code to account for when a plugin gets two progress inits
Sun Jun 14 23:41:17 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/plug_in.c: Fixed progress code to account for when
        a plugin gets two progress inits

        * app/interface.c: Fixed table allocation sickness.  Now use
        two tables, and a vbox instead of one table so things don't
        get expanded when they shouldn't.  This (table/table_inner)
        should be merged back to 1.0 tree.  The other resize bug is a
        gtkstatusbar bug.
1998-06-15 04:46:32 +00:00
CDT 1998 Shawn T. Amundson 127e98b5f7 app/gdisplay.c app/gdisplay.h app/interface.c app/plug_in.c app/plug_in.h
Sun Jun 14 21:16:42 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/gdisplay.c
        * app/gdisplay.h
        * app/interface.c
        * app/plug_in.c
        * app/plug_in.h
        * libgimp/gimp.c: added statusbar and progressbar, which
        the plugins now use if they have a gdisp.  Unfortunately
        this introduces a resize bug I wasn't able to fix
        immediately. ;-(
1998-06-15 02:25:27 +00:00
Owen Taylor b0e08ede22 Added new files for handling scan-converted convex polygons. (From gsumi)
Sun Jun 14 18:37:06 1998  Owen Taylor  <otaylor@gtk.org>

	* Makefile.am app/blob.[ch] (blob_bounds): Added new files for
	handling scan-converted convex polygons. (From
	gsumi) (these will be moved out to a plug-in tool directory
	when such a thing exists)

	* app/ink.[ch]: New tool for drawing with a hard-edged
	pressure and tilt-sensitive brush.

	* gimprc.c interface.c paint_core.c pixmaps.h tools.[ch]
	All the modifications for adding a new tool. We need
	to fix this.
1998-06-14 22:42:36 +00:00
EDT 1998 Adrian Likins b94e12af2f cleaned up and expanded the todo
Sun Jun 14 16:03:29 EDT 1998 Adrian Likins <adrian@gimp.org>

        * TODO: cleaned up and expanded the todo

Yeah, I should really be doing something more useful...

-adrian
1998-06-14 21:13:39 +00:00
Manish Singh df89c082ba don't pop up dialog for informational "Too many colors?" message
* plug-ins/gif/gif.c: don't pop up dialog for informational "Too many colors?"
message

-Yosh
1998-06-14 07:51:52 +00:00
Manish Singh 17e6fb3043 install gimp.m4 too
* Makefile.am: install gimp.m4 too

* libgimp/gimpprotocol.[ch]
* libgimp/gimp.c
* app/plug_in.[ch]
* app/procedural_db.c: exported the gdisplay ID to the plugins, so they can
be smart about hooking on to status bars in the appropriate display shell

* libgimp/Makefile.am
* libgimp/gimp.c: make the plugins aware of $gimpdir for gtkrc parsing

-Yosh
1998-06-14 04:33:27 +00:00
EDT 1998 Adrian Likins 4adee211e6 */app/file_new_dialog.c: removed unsightly warnings, replace a 8 with a /
Sat Jun 13 16:52:34 EDT 1998 Adrian Likins <adrian@gimp.org>

        */app/file_new_dialog.c: removed unsightly warnings,
        replace a 8 with a / so it will work

-adrian
1998-06-13 22:05:22 +00:00
EDT 1998 Adrian Likins f41ab6bead */app/file_new_dialog.c: more file new tweaks, now uses spinbuttons. I'm
Sat Jun 13 15:46:55 EDT 1998 Adrian Likins <adrian@gimp.org>

        */app/file_new_dialog.c: more file new tweaks,
        now uses spinbuttons. I'm still not sure this change is
        for the better, let me know.

-adrian
1998-06-13 20:57:23 +00:00
EDT 1998 Adrian Likins e32944e870 *app/file_new_dialog.c app/file_new_dialog.h: app/gloal_edit.c: added
Fri Jun 12 14:17:54 EDT 1998 Adrian Likins <adrian@gimp.org>

        *app/file_new_dialog.c
        app/file_new_dialog.h:
        app/gloal_edit.c:  added behaviour so that the
        new file size will default to the current cut buffer
        if its "fresh"

-adrian
1998-06-12 19:43:55 +00:00
Manish Singh c999667757 Changed log
-Yosh
1998-06-12 06:38:04 +00:00
Owen Taylor 9e2b6b31ac Create/resize the pixmap on every expose CONFIGURE event, not just on the
Thu Jun 11 00:34:51 1998  Owen Taylor  <otaylor@gtk.org>

	* app/color_area.c (color_area_events): Create/resize
	the pixmap on every expose CONFIGURE event, not just
	on the first expose event.

Thu Jun 11 00:02:15 1998  Owen Taylor  <otaylor@gtk.org>

	* app/interface.c (create_toolbox): Create the color
	area before showing the window, so that the window gets
	created at the right size. [ This doesn't actually fix
	much, but it is better to do that way ]
1998-06-11 04:36:22 +00:00
Owen Taylor a8f8421292 Stop signal emission so that button doesn't grab the pointer away from the
Wed Jun 10 14:17:44 1998  Owen Taylor  <otaylor@gtk.org>

	* app/disp_callbacks.c (gdisplay_origin_button_press):
	Stop signal emission so that button doesn't grab the
	pointer away from the menu.
1998-06-10 18:15:48 +00:00
Owen Taylor c639350d4e app/brushes.c app/drawable.c app/patterns.c app/procedural_db.c
Tue Jun  9 19:47:19 1998  Owen Taylor  <otaylor@gtk.org>

	* app/brushes.c app/drawable.c app/patterns.c
	  app/procedural_db.c plug-ins/script-fu/script_fu_server.c

	Fixes for warnings generated by changing GCompareFunc
	and GHashFunc to take const arguments.
1998-06-10 17:20:56 +00:00
EDT 1998 Adrian Likins 74913fd591 *app/file_new_dialog.c: more fiddling with file_new. the resoution unit
Tue Jun  9 16:08:20 EDT 1998 Adrian Likins <adrain@gimp.org>

        *app/file_new_dialog.c: more fiddling with file_new.
        the resoution unit optionmenu should work now. Just
        need to get the optionmenus remembering history.

-adrian
1998-06-09 21:21:23 +00:00
EDT 1998 Adrian Likins 868f435e61 *confiure.in: corrected small type concering jpeg test (warning printed
Tue Jun  9 12:36:57 EDT 1998  Adrian Likins <adrian@gimp.org>

        *confiure.in: corrected small type concering jpeg test
        (warning printed out "chekcing for jpeg.h" instead of
        jpeglib.h)

-adrian
1998-06-09 17:47:45 +00:00
Manish Singh c5ac15e0a9 add declaration to get interface.c to compile
* app/disp_callbacks.h: add declaration to get interface.c to compile

* autogen.sh: make sure we know about ACLOCAL_FLAGS

* I went on a compiler warning pogrom

-Yosh
1998-06-09 11:41:13 +00:00
Sven Neumann 4d12855242 Added a popup menu to the upper left corner of the image window.
Updated pagecurl plug-in.


--Sven
1998-06-09 09:20:46 +00:00
Manish Singh 838e68b9eb use @gimpdir@ instead of hardcoding .gimp
* gimptool.in: use @gimpdir@ instead of hardcoding .gimp

* app/palette.c: remove unnecessary gtk_widget_destroy for menus that have
already been removed (from Shuji Narazaki)

-Yosh
1998-06-09 05:05:52 +00:00
Manish Singh 5cc38d44a2 divide paint mode stuff
-Yosh
1998-06-09 04:04:43 +00:00
Owen Taylor 46d0250869 Simple pressure sensitivity.
Mon Jun  8 22:09:07 1998  Owen Taylor  <otaylor@gtk.org>

	* app/airbrush.c: Simple pressure sensitivity.
1998-06-09 02:06:33 +00:00
Manish Singh 51b8deb9e5 unref the itemfactories instead of destroying them (from timj)
* app/menus.c: unref the itemfactories instead of destroying them (from timj)

-Yosh
1998-06-09 00:50:32 +00:00
Manish Singh db8b85fdae added a hex triplet to the color selector. It updates on focus_leave for
* app/color_select.[ch]: added a hex triplet to the color selector. It
updates on focus_leave for now, so I bet there are some interface nits...

* app/fileops.c: add an #include to quell a warning

-Yosh
1998-06-09 00:25:28 +00:00
Manish Singh 474041c8d0 fix stupid <Separator>
-Yosh
1998-06-08 23:18:49 +00:00
EDT 1998 Adrian Likins 3064336f92 *app/commands.c *app/file_new_dialog.[ch] *app/prefereces_dialog.[ch]:
Mon Jun  8 16:39:19 EDT 1998 Adrian Likins <adrian@gimp.org>

        *app/commands.c
        *app/file_new_dialog.[ch]
        *app/prefereces_dialog.[ch]: split up command.c
        into three files, commands.c, file_new_dialog.c,
        and preferences.c

        *app/Makefile.am: change to incorporate the new files

        *TODO: more feature ideas
1998-06-08 21:53:45 +00:00
Chris Lahey cd800c27d2 Added some includes. 1998-06-08 08:38:16 +00:00
EDT 1998 Adrian Likins 07e825786e *app/commands.c: more fiddling with the file_new dialog. More stuff hooked
Sun Jun  7 19:30:22 EDT 1998 Adrian Likins <adrian@gimp.org>

        *app/commands.c: more fiddling with the file_new dialog.
        More stuff hooked up and working, but still not finished.

        *TODO: filling in more wishlist stuff

-adrian
1998-06-08 00:47:35 +00:00
Manish Singh 28d7e1dcc5 some ui fixes
-Yosh
1998-06-07 23:27:28 +00:00