Commit Graph

2867 Commits

Author SHA1 Message Date
b55591ca04 Bug 614153 - Importing PDF files with long titles
Ellipsize the title label.
2010-03-28 12:34:38 +02:00
cbb815c203 Bug 600112 - blur-gauss-selective.exe crashes
Allocate buffers with some extra padding as the MMX instructions
used in matrixmult_mmx() may read more than strictly necessary.
2010-03-12 21:01:44 +01:00
1aeb315ecf undef GTK_DISABLE_DEPRECATED in many places which undef GSEAL_ENABLE
because the widget flag access macros (e.g. GTK_WIDGET_REALIZED) are
now deprecated in GTK+ master.
2010-03-06 23:14:29 +01:00
0f275bfdc9 plug-ins: Don't initialize va_list to NULL, it's not portable 2010-02-17 19:10:24 +01:00
ac1baa5374 plug-ins: Change MNG capability from LAYERS_AS_ANIMATION to LAYERS
When NULL is passed as format_name to gimp_export_image(), there is no
dialog where the user can make choices. Having the capability
GIMP_EXPORT_CAN_HANDLE_LAYERS_AS_ANIMATION in this case in practice
means "always merge". So to allow MNG animations, change to just
GIMP_EXPORT_CAN_HANDLE_LAYERS. We don't need to offer merging in the
export options since MNG is a format explicitly for animation, so if
there are enough layers, we'll always export as an animation.

Also set a tooltip explaining why the animation options are disabled
when they are disabled.
2010-02-16 20:02:57 +01:00
7cdd99feac Bug 596427 - Can't export to animated GIF
Add an 'As Animation' toggle to the GIF export options. If checked,
the GIF will be written as an animation. Only enable it on images with
more than on layer though. Add the new GIFSaveVals as_animation member
last so we don't break gimp_get_data() of old data. The fix moves the
GIF options fetching to *before* gimp_export_image(). If as-animation,
we simply pass GIMP_EXPORT_CAN_HANDLE_LAYERS to capabilities so the
layers are kept.
2010-02-16 20:02:57 +01:00
d9862b21c1 plug-ins: Move save_image() code out of options fetching code for GIF
Make the save_image() code out of the options fetching code for GIF to
make this more independent.
2010-02-16 20:02:57 +01:00
5c154c17dc plug-ins: Port file-gif-save.c to Glade + GtkBuilder 2010-02-16 20:02:56 +01:00
84b8ec1f5c plug-ins: Minor readability improvement in GIF's save_dialog()
Add an animation_supported boolean to GIF's save_dialog().
2010-02-16 20:02:56 +01:00
034bd0427f Bug 609056 - Exporting to Alias PIX format fails
Apply patch from Saul Goode which fixes a typo that made exporting to
PIX impossible.
2010-02-10 12:51:46 +01:00
8e31261caa plug-ins: fix build rules for web-browser plug-in in plugin-defs.pl 2010-02-03 20:57:11 +01:00
edb41221c6 plug-ins: drop gee and gee-zoom plug-ins
These plug-ins used to be used as easter-eggs and have only been
available thru the PDB. Since they are not useful except for the fun
of staring at the weird code, we can as well remove them entirely.
2010-02-03 20:39:02 +01:00
b499d01a71 Bug 608188 - a few strings in Save as... > Raw image data dialog are always in English
Add missing call to INIT_18N().
2010-01-31 21:11:11 +01:00
d2406fd4c3 plug-ins: move the UI file to datadir/ui/plug-ins/plug-in-file-png.ui 2010-01-12 22:02:51 +01:00
9317bb4548 plug-ins: fix error reporting and a compiler warning 2010-01-12 21:12:40 +01:00
7c32f5442a plug-ins: Check for errors when loading file-png.ui
Check for errors when loading file-png.ui. Still continue execution
though even if an error occurs, because the user can still export.
2010-01-09 20:03:58 +01:00
b883d59411 Bug 606372 - Saving to .ppm fails on indexed colorspace
Don't change the pointer to the colormap and then attempt to free it.
2010-01-09 12:12:12 +01:00
0abf5cc4f0 Use Glade + GtkBuilder for file-png.c save_dialog()
To give us experience with Glade + GtkBuilder, use it for the save
dialog in the PNG plug-in. The layout is as good as
identical. Mnemonics still works and strings are still translated.
2010-01-08 21:16:10 +01:00
e8ff034ab5 Bug 605237 - the "Antialiasing..." message in the progress bar does not show translated
Add missing call to INIT_I18N().
2009-12-23 23:56:45 +01:00
5aa82f3b6d PAT: sanitize input data
Guard against bogus values of ph.width, ph.height and document why there
are no allocation overflows.
2009-12-09 17:04:45 +01:00
b053021a29 GBR: more input data sanitation
Guard against bh.width or bh.height > GIMP_MAX_IMAGE_SIZE, only allow
valid values of bh.bytes.
2009-12-09 17:01:34 +01:00
869dcd7be1 GBR: sanitize input data
Guard against bogus zero width, height, bytes and allocation overflows.
2009-12-09 17:01:34 +01:00
a9671395f6 PCX: Avoid allocation overflows.
Multiplying gint values may overflow unless cast into a larger type.
2009-12-09 16:32:29 +01:00
ed7f48be05 PCX: sanitize input data
Harden PCX plugin against bad width, height.
2009-12-09 15:40:13 +01:00
fd3ab6ac2b Normalized naming of the file type, added missing , in sentences, fixed a typo 2009-11-30 03:31:35 +03:00
825fab3dd0 Bug 602761 - plug-in-grid: Parameters Horizontal/Vertical Spacing and Horizontal/Vertical Offset are reversed
Add "Lines" to the "Horizontal" and "Vertical" labels to clarify
what exactly is affected.
2009-11-24 14:58:28 +01:00
028b66beba Bug 602761 - plug-in-grid: Parameters Horizontal/Vertical Spacing and Horizontal/Vertical Offset are reversed
Revert commits bc099a98f3 and
c77781de89 from Jul 27 2006;
also changed refval boundaries of the "width" size entries
in the spirit of the original fix, only reversed.

Rationale: the "horizontal" parameters all have to affect the
horizontal *lines*, so have an effect in *vertical* direction.

Will commit a label change on top to clarify this.
2009-11-24 14:49:17 +01:00
85b8d9668e Modified UI to include default timing
This patch makes two modifications to the UI: listing in the
'Playback speed' combo was changed from percentage values to X
factors, and a new combo was added for 'Default framerate'. The
latter includes common framerates which are used to define the
default duration on unmarked frames. Due to the way in which the
GTK+ timeout function is defined, the framerates and duration values
for this new combo use rounded integer values.
2009-11-20 20:56:09 +01:00
724302020b plug-ins: remove redundant comment
Remove a comment that caused a false positive when searching for
deprecated GTK+ symbols. ChangeLogs don't belong into plug-in code
anyway.
2009-11-09 09:40:57 +01:00
525347d9f6 Remove deprecated glib symbol: g_mapped_free 2009-11-09 09:28:12 +01:00
018e8b0d29 Build with GSEAL_ENABLE and #undef it where accessors are missing 2009-10-17 20:31:57 +02:00
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
06673f27e2 Use various GTK+ accessors instead of object->member 2009-10-10 15:10:57 +02:00
85274ea1f3 Use gtk_widget_get_window() instead of widget->window 2009-10-10 15:10:57 +02:00
e267783c22 Use gtk_widget_get_window() instead of widget->window 2009-10-10 15:10:57 +02:00
641c2f4e22 Use gtk_widget_get_window() instead of widget->window 2009-10-10 15:10:57 +02:00
02b1566249 Use accessors instead of widget->window and adjustment->value 2009-10-10 15:10:56 +02:00
b41bca97fb Use gtk_container_child_get() instead of table->children 2009-10-10 15:10:56 +02:00
055d10f366 Use gtk_adjustment_get_value() instead of adjustment->value 2009-10-10 15:10:56 +02:00
0458da1832 Use accessors instead of widget->window and adjustment->value 2009-10-10 15:10:56 +02:00
9f77899bf1 Use gtk_adjustmenr_get_value() instead of adjustment->value 2009-10-10 15:10:55 +02:00
1e47f5c67c Use gtk_widget_get_window() instead of widget->window 2009-10-10 15:10:55 +02:00
7a6fe273b7 Formatting fix. Argh. 2009-10-03 00:13:01 +02:00
73071e4618 Fix crasher and behaviour in the GBR plugin for the GRAYA case. 2009-10-02 22:07:46 +02:00
f6eed71a5c plug-ins: Register .data as extension for raw data loader
In order to allow raw data files to be loaded without the need to
explicitly select the file type, make the raw data loader use the
extension ".data".
2009-08-22 10:41:03 +02:00
322be18790 remove trailing whitespace 2009-08-18 08:53:12 +02:00
ada56e5c2c plug-ins: Improve JPEG2000 error messages
Improve JPEG2000 error messages by using g_set_error() so we don't
throw many different errors in the users face, and make each error
unique and descriptive instead of using the same message regardless of
the type of error.
2009-08-17 23:34:18 +02:00
29d9a94fd0 Bug 522483 – use gtk_show_uri() instead of calling firefox directly
Use gtk_show_uri() instead of g_spawn_async() on a browser.
2009-08-08 15:26:34 +02:00
f8930a5aaf plug-ins: Translate win32 error messages in web-browser.c 2009-08-08 10:31:11 +02:00
f712a316df Bug 589674 – "Send by Email" does not update "Filename"
Use g_filename_display_basename() so it doesn't choke on non-utf8
filenames.
2009-08-01 18:39:18 +02:00