Commit Graph

291 Commits

Author SHA1 Message Date
Øyvind Kolås d1ced11415 plug-ins: add GEGL_CFLAGS to many Makefile.am's 2012-05-02 17:46:08 +02:00
Mukund Sivaraman e046056059 Bug #666751: Replace M_PI with G_PI 2011-12-23 14:47:34 +05:30
Mukund Sivaraman 1808e4cbc3 build: Fix the location of the libm dependency
The plug-ins use symbols in libm and that's why -lm is necessary, not
because libgimpmath uses it.
2011-12-12 23:42:52 +05:30
Nils Philippsen 09a6c7cf67 imagemap: explicitly specify library dependencies 2011-12-12 00:30:59 +05:30
Mukund Sivaraman 971b77d8c9 imagemap: Move variable to local block and delete dead assignment 2011-10-12 17:02:46 +05:30
Michael Natterer f1d4dde36a libgimpwidgets: add gdk_event_triggers_context_menu() to gimp3migration.[ch]
and remove gimp_button_event_triggers_context_menu() again. Update
all callers to use the new function.
2011-10-02 16:23:59 +02:00
Mukund Sivaraman fb6fea3b11 imagemap: Add missing include for gtk_box_new() 2011-10-02 19:44:28 +05:30
Michael Natterer 16817c666f libgimpwidgets: add gtk_scrollbar_new() to gimp3migration.[ch]
and use it all over the place.
2011-10-02 14:36:41 +02:00
Michael Natterer dcb4c6e34a plug-ins: use gtk_box_new() 2011-09-30 12:18:24 +02:00
Michael Natterer d92cd2f6c8 Add gimp_button_event_triggers_context_menu() and use it
instead of checking for event->button == 3, so context menus
work correctly on the Mac. Didn't change the image menu yet
because thet requires some more refactoring.
2011-09-19 00:47:23 +02:00
Michael Natterer ab3fe10275 plug-ins: remove some more -Wunused-but-set-variable 2011-05-15 21:12:49 +02:00
Mukund Sivaraman 7f635464b0 imagemap: Rebuild scanners 2011-04-27 21:12:40 +05:30
Mukund Sivaraman 56f08d682b imagemap: Add lexer options to not generate input and yyunput 2011-04-27 21:11:57 +05:30
Mukund Sivaraman d8a98bf7b3 imagemap: Rebuild parsers 2011-04-25 14:30:58 +05:30
Mukund Sivaraman 58002ed20e imagemap: Fix protos 2011-04-23 07:02:02 +05:30
Michael Natterer 7e6c026790 Globally use GDK_KEY_foo, remove the compat defines from widgets-enums.h 2011-04-11 23:43:03 +02:00
Michael Natterer 8c4d99f883 Bug 645456 - Inconsistent window (role) naming scheme
Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
2011-04-08 20:31:34 +02:00
Michael Natterer 569299523e Bug 641529 - Image Map plugin. The name of 2 buttons are not too clear
It can't hurt to have more obvious tooltips.
Changed to "Move Area to Top/Bottom".
2011-03-21 22:58:59 +01:00
Michael Natterer fcfb7cf160 Use the new g_[s]list_free_full() instead of foreach() and free() 2011-03-07 17:11:28 +01:00
Michael Natterer 38fd77f5e9 plug-ins: some more s/gtk_container_add/gtk_box_pack_start/ 2011-03-05 10:59:56 +01:00
Mikael Magnusson 203440521a plug-ins: imagemap, init map type to the default type set in preferences 2011-02-23 23:15:01 +01:00
Mikael Magnusson 6ea2f4881a plug-ins: imagemap, Don't show popup menu when button 1 is pressed
Showing the menu when dragging stuff around broke event handling in
various ways. Also only show the menu on right click.
2011-02-23 13:17:09 +01:00
Mikael Magnusson cc3f1e8a24 plug-ins: imagemap, don't run execute for sash when redoing
It adds event handlers expecting the mouse button to be down, but it
isn't, so everything broke.
2011-02-23 13:17:05 +01:00
Mikael Magnusson 8621807a9f plug-ins: imagemap, port to cairo 2011-02-23 13:17:04 +01:00
Mikael Magnusson e012caf1a3 plug-ins: imagemap, tabs to spaces 2011-02-23 13:17:02 +01:00
Martin Nordholts 136499d1ae plug-ins/imagemap: Kill #define COMMAND_PROTO
Kill #define COMMAND_PROTO and move its definition to the only client,
and get rid of warnings about defined functions not being used.
2010-09-03 09:06:12 +02:00
Michael Schumacher e77dd90fc0 Bug 574018 - Add a manifest to executables
Created a resource file for plug-ins and a rule to link it to them.
The application icon file is smaller than the default one, there's no
point in doubling the size of a plug-in executable just for an icon.

If no problems turn up, this will close the bug.
2010-09-01 08:24:45 +02:00
Michael Natterer 8b31211639 Fix the bulid after GtkNotebookPage got deprecated in gtk-2-22
In all GtkNotebook::switch_page() callbacks, simply replace
GtkNotebookPage* by gpointer.
2010-07-16 15:24:25 +02:00
Michael Natterer c6a2eaa5c4 plug-ins: use new item API instead of deprecated drawable API 2010-07-09 12:27:36 +02:00
Sven Neumann 5707f04066 plug-ins: remove dead code
Remove code that has been commented out long ago and that caused a
false positive when searching for use of deprecated GTK+ API.
2009-11-11 00:10:02 +01:00
Sven Neumann 8c49ecb2e5 plug-ins: remove dead code from the image-map plug-in
Remove code that has been commented out long ago when this plug-in
was ported from GtkCList to GtkTreeView.
2009-11-09 18:59:06 +01:00
Michael Natterer 018e8b0d29 Build with GSEAL_ENABLE and #undef it where accessors are missing 2009-10-17 20:31:57 +02:00
Martin Nordholts eb6bef33e4 Use gtk_widget_set_visible()
In places where the pattern

  if (show)
    gtk_widget_show (widget);
  else
    gtk_widget_hide (widget);

is used, change to

  gtk_widget_set_visible (widget, show);

Also do some other minor cleanups.
2009-10-17 15:07:34 +02:00
Michael Natterer 8eccf3e2eb Use GtkSelectionData's accessors 2009-10-09 23:02:23 +02:00
Michael Natterer 561c29522c Use various GTK+ accessors instead of struct->member 2009-10-09 23:02:23 +02:00
Michael Natterer 83d2541613 Use gtk_widget_get_window() instead of widget->window 2009-10-09 23:02:23 +02:00
Michael Natterer 01e8de8ab7 Use gtk_widget_get_window() instead of widget->window 2009-10-09 23:02:22 +02:00
Michael Natterer b2dd7d0ca3 Use gtk_widget_get_window() instead of widget->window 2009-10-09 23:02:22 +02:00
Michael Natterer 9c9306f653 Use GtkSelectionData's accessors 2009-10-09 23:02:22 +02:00
Michael Natterer e805cb0cf4 Use gtk_dialog_get_content_area() instead of dialog->vbox 2009-07-15 18:57:12 +02:00
Michael Schumacher eed061efbb Adding Microsoft Windows executables to the .gitignore files
All binaries have been added individually.
Old binaries are supposed to show up as untracked.
2009-06-19 00:14:17 +02:00
Manish Singh b64fe8779a Use gtk_orientable_set_orientation() instead of deprecated
gtk_toolbar_set_orientation()
2009-05-24 10:41:18 -07:00
Martin Nordholts 34b5e99905 Rename configure.in to configure.ac
Rename configure.in to configure.ac and update references to the
file. Configure.ac is the recomended and promoted name in the autoconf
manual.
2009-05-17 14:49:04 +02:00
Martin Nordholts 4d7a6b10d1 Added .gitignore files generated with git svn create-ignore.
svn path=/trunk/; revision=27972
2009-01-31 11:37:44 +00:00
Michael Natterer 4ea1437646 plug-ins/common/*.c plug-ins/color-rotate/color-rotate.c
2009-01-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/*.c
	* plug-ins/color-rotate/color-rotate.c
	* plug-ins/file-bmp/bmp.c
	* plug-ins/file-faxg3/faxg3.c
	* plug-ins/file-fits/fits.c
	* plug-ins/file-fli/fli-gimp.c
	* plug-ins/file-ico/ico.c
	* plug-ins/file-jpeg/jpeg.c
	* plug-ins/file-psd/psd-save.c
	* plug-ins/file-psd/psd.c
	* plug-ins/file-sgi/sgi.c
	* plug-ins/file-uri/uri.c
	* plug-ins/file-xjt/xjt.c
	* plug-ins/flame/flame.c
	* plug-ins/fractal-explorer/fractal-explorer.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/gradient-flare/gradient-flare.c
	* plug-ins/help-browser/help-browser.c
	* plug-ins/ifs-compose/ifs-compose.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/lighting/lighting-main.c
	* plug-ins/map-object/map-object-main.c
	* plug-ins/maze/maze.c
	* plug-ins/metadata/metadata.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/print.c
	* plug-ins/pygimp/gimpfu.py
	* plug-ins/script-fu/script-fu-script.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/selection-to-path/selection-to-path.c
	* plug-ins/twain/twain.c
	* plug-ins/win-snap/winsnap.c: document the "run-mode" parameter
	as we document enums for core procedures.


svn path=/trunk/; revision=27922
2009-01-19 20:11:36 +00:00
Michael Natterer d9b5207aa2 Change licence to GPLv3 (and to LGPLv3 for libgimp).
2009-01-17  Michael Natterer  <mitch@gimp.org>

	* all files with a GPL header and all COPYING files:

	Change licence to GPLv3 (and to LGPLv3 for libgimp).

	Cleaned up some copyright headers and regenerated the parsers in
	the ImageMap plugin.


svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Michael Natterer 099bc23234 add -Wmissing-format-attribute to CFLAGS.
2008-10-19  Michael Natterer  <mitch@gimp.org>

	* configure.in: add -Wmissing-format-attribute to CFLAGS.

	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_object.h
	* plug-ins/imagemap/imap_source.c
	* plug-ins/imagemap/imap_statusbar.h: add G_GNUC_PRINTF().


svn path=/trunk/; revision=27316
2008-10-18 23:05:56 +00:00
Michael Natterer 343b694195 plug-ins/file-fits/fits.c plug-ins/gimpressionist/gimpressionist.h
2008-09-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/file-fits/fits.c
	* plug-ins/gimpressionist/gimpressionist.h
	* plug-ins/gimpressionist/presets.c
	* plug-ins/gimpressionist/utils.c
	* plug-ins/gradient-flare/gradient-flare.c
	* plug-ins/ifs-compose/ifs-compose-storage.c
	* plug-ins/imagemap/imap_default_dialog.[ch]
	* plug-ins/imagemap/imap_object.h
	* plug-ins/map-object/map-object-ui.c: add const plus some minor
	unrelated cleanups.


svn path=/trunk/; revision=26964
2008-09-17 08:34:46 +00:00
Sven Neumann 8ec1d65a4a removed trailing whitespace
svn path=/trunk/; revision=26852
2008-09-04 08:37:32 +00:00
Michael Natterer edcd1e7810 libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.h
2008-08-29  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimphruler.[ch]
	* libgimpwidgets/gimpvruler.[ch]: remove separate H/VRuler classes.

	* libgimpwidgets/gimpruler.[ch]: add an "orientation" property
	instead. Add gimp_ruler_new().

	* libgimpwidgets/gimpwidgets.def: changed accordingly.

	* app/dialogs/resolution-calibrate-dialog.c
	* app/display/gimpdisplayshell.c
	* plug-ins/gfig/gfig-preview.c
	* plug-ins/imagemap/imap_preview.c: ditto.


svn path=/trunk/; revision=26810
2008-08-29 10:25:29 +00:00