Commit Graph

26609 Commits

Author SHA1 Message Date
Michael Natterer 2c05af036c Use gegl:over instead of gegl:normal 2009-11-27 21:11:26 +01:00
Michael Natterer 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
Michael Natterer 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
Mircea Purdea 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
Michael Natterer 938de3ac01 Simplify if()s a bit in dockable_toggle_view_cmd_callback() 2009-11-19 14:44:56 +01:00
Michael Natterer e466da8616 Plug memleak found by Nelson A. de Oliveira 2009-11-19 14:40:25 +01:00
Simon Budig 9cc8d78ff3 Harden the PSD plugin against integer overflows.
Issues discovered by Stefan Cornelius, Secunia Research, advisory SA37232
and CVE identifier CVE-2009-3909. Fixes bug .
2009-11-17 11:14:16 +01:00
神州散人 bc7519d1c5 Updated Simplified Chinese translations. 2009-11-17 15:32:42 +08:00
Simon Budig 0e440cb6d4 Fix the PSD structs to use signed ints for bounding box coordinates. 2009-11-17 01:13:52 +01:00
Kjartan Maraas be05769974 Updated Norwegian bokmål translation. 2009-11-16 18:37:57 +01:00
Kjartan Maraas c13193a8e1 Updated Norwegian bokmål translation. 2009-11-16 18:28:06 +01:00
Kjartan Maraas 0d12733f58 Updated Norwegian bokmål translation. 2009-11-16 18:26:10 +01:00
Nils Philippsen 16e6a37687 Ensure valid bit depths when reading BMP files. 2009-11-16 18:16:38 +01:00
Nils Philippsen f63ba36dd9 Use more defensive coding in plausibility check.
Use an equivalent division instead of multiplying values and checking if
they are more than G_MAXINT32, because divisions cannot overflow.
2009-11-16 17:30:43 +01:00
Nils Philippsen 43d57c6663 Make plausibility check easier to understand.
Explicitly check that Bitmap_Head.biHeight is not G_MININT32
instead of relying on ABS(G_MININT32) being negative.
2009-11-16 17:30:43 +01:00
Kjartan Maraas 7810dede39 Updated Norwegian bokmål translation. 2009-11-16 14:28:52 +01:00
Kjartan Maraas 411a6c0a43 Updated Norwegian bokmål translation. 2009-11-16 14:28:11 +01:00
Kjartan Maraas 3e6d5d5874 Updated Norwegian bokmål translation. 2009-11-16 14:25:14 +01:00
Michael Natterer b45454bc6c Make the popup arrow look sane again
Render the arrow to a temp GdkPixmap, turn it into a GdkPixbuf and set
the pixbuf as icon on the GtkEntry.
2009-11-15 21:35:34 +01:00
Martin Nordholts a685508713 app: Make GimpDockColumns listen to "dock-removed"
Make GimpDockColumns listen to "dock-removed", not "dockbook-removed",
when trying to figure out when to destroy itself. Fixes some crashes
when rearranging the UI, for example when doing this step-by-step:

1. Have two dock windows with one dockable each, say A and B
2. Move A to B's dock window and make it multi-column
3. Try to detach B, will result in a crash
2009-11-15 21:26:17 +01:00
Michael Natterer 79563b99c2 Use GtkEntry's icon feature instead of reimplementing our own popup arrow
Removes tons of code but looks ugly because it uses GTK_STOCK_GO_DOWN
currently, will fix that. Also did some random small cleanups and
removed unused members from the instance struct.
2009-11-15 20:30:57 +01:00
Martin Nordholts b5eae26c4b app: gimp_dock_columns_dock_book_remove() -> _removed() 2009-11-15 19:51:15 +01:00
Martin Nordholts 13bac61020 app: Move g_list_copy() out from gimp_dock_columns_get_docks()
Move g_list_copy() out from gimp_dock_columns_get_docks(). Fixes at
least one memory leak (in gimp_dock_window_get_dock()) and feels nicer
and more flexible.
2009-11-15 19:21:57 +01:00
Martin Nordholts 8a473663d5 app: Fix gimp_dock_separator_get_insert_pos(), we must return an index
The insert position for new column in GimpDockColumns was sometimes
wrong, the problem was in gimp_dock_separator_get_insert_pos() not
return an index but a GtkAnchorType. Convert from GtkAnchorType to an
insert index.
2009-11-15 16:10:59 +01:00
Martin Nordholts ae2f595f12 app: Remove empty GimpDocks from GimpDockColumns 2009-11-15 15:57:49 +01:00
Martin Nordholts 12530bfcf1 app: Add GimpDockColumns "dock-added" and "dock-removed" signals 2009-11-15 15:57:49 +01:00
Sven Neumann 474b5fdff3 Bug 601891 - gimp_image_get_selection returns None
The code used to make the assumption that the selection mask was
a layer. Actually it is a channel and changing the code accordingly
fixes the reported problem.
2009-11-14 16:50:42 +01:00
Michael Natterer 0715c58c13 Fix the find_widget_under_pointer() code to build with GSEAL_ENABLE 2009-11-11 21:01:21 +01: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
Simon Budig e3afc99b2f Harden the BMP plugin against integer overflows.
Issues discovered by Stefan Cornelius, Secunia Research, advisory SA37232
and CVE identifier CVE-2009-1570. Fixes bug .
2009-11-10 00:08:59 +01:00
Michael Natterer b6e57b11d3 Fix glitch in last commit to make it build 2009-11-09 19:20:08 +01:00
Sven Neumann 5fe5148368 plug-ins: clean up comment
Clean up a comment so that it doesn't cause a false positive when
looking for deprecated GTK+ symbols.
2009-11-09 19:08:48 +01:00
Sven Neumann 42e31b1cc8 libgimpwidgets: clean up comment
Rephrase a comment so that it does not cause a false positive when
looking for deprecated GDK symbols.
2009-11-09 19:07:54 +01:00
Sven Neumann 1339b5cd87 script-fu: remove dead code
Remove commented-out code that caused a false positive when
searching for deprecated GLib symbols.
2009-11-09 19:03:03 +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
Sven Neumann 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
Javier Jardón 525347d9f6 Remove deprecated glib symbol: g_mapped_free 2009-11-09 09:28:12 +01:00
Michael Natterer 659cf3743e Bug 593848 - FG color changed to black when FG-BG Editor tab created
When a color gets set on the module via GimpColorSelector::set_color(),
make sure that the result of its transformation to CMYK doesn't
get set back on GIMP. Also, when the color profile changes, make
sure we only re-transform the RGB value to CMYK and don't set that
result back on GIMP either.
2009-11-08 14:22:26 +01:00
Michael Natterer 3a8b59ada5 Use ${gimp_dir} and ${gimp_data_dir} in tags.xml
* app/core/gimpdata.c (gimp_data_get_identifier): check if the data's
  path starts with either of those and use the symbolic paths in that
  case.

* data/tags/gimp-tags-default.xml.in: use them here too instead of
  /home/martin/foo/bar/...

This way we can ship a default file that makes sense, and need much
less identifier remapping. The identifiers even stay the same when
upgrading GIMP.
2009-11-07 21:14:56 +01:00
Michael Natterer e4d8a36080 Store the active dynamics with the input device
Also remove cruft #include <stdio.h>
2009-11-07 17:39:02 +01:00
Michael Natterer 2651c2517b Bail our from expose() when the event doesn't come from entry->text_area 2009-11-06 12:04:58 +01:00
Michael Natterer dd3c1d5eb5 Use the standard system mouse cursor over the popup arrow 2009-11-05 22:48:11 +01:00
Simon Budig 68e1605666 Added workaround for the solaris-printf behaviour. 2009-11-05 10:55:00 +01:00
Petr Kovar c073804733 Updated Czech translation by Marek Cernocky 2009-11-04 21:30:58 +01:00
Michael Natterer 6a00a4ef22 Add comment why we implement focus_in_event() and focus_out_event() 2009-11-04 19:32:13 +01:00
Michael Natterer a4694d8a0a Optimize gimp_statusbar_replace_valist()
Don't replace anything if the status message didn't change. Gets rid
of quite some statusbar invalidations in many tools.
2009-11-03 15:49:18 +01:00
Michael Natterer ae70da3e72 Remove unused #define STATUSBAR_SIZE 200 2009-11-03 15:43:32 +01:00
Michael Natterer 8c07e52759 Don't let focus-in and focus-out on the canvas invalidate everything
Implement GtkWidget::focus_in_event() and ::focus_out_event() in
GimpCanvas and don't chanin up so the default handler never runs.
Remove code that tries to do the same in the canvas' tool events
callback.

The default impl invalidates the entire widget for no reason (the
canvas doesn't draw a focus indicator anyway), and the old solution
failed for empty displays and was constantly invalidating the entire
drop zone when the toplevel window gained or lost focus.
2009-11-03 13:58:36 +01:00
Michael Natterer 278e9c2771 Bug 600303 - gimp-remote not ready for GSEAL_ENABLE
Build with GSEAL_ENABLE
2009-11-03 09:08:47 +01:00
Miloš Popović bd6e87818a Updated Serbian translation 2009-11-03 00:40:35 +00:00