Commit Graph

25429 Commits

Author SHA1 Message Date
Martin Nordholts 9956fb5348 libgimp: Clarify semantics of gimp_export_image() without format_name 2009-07-21 12:44:26 +02:00
Martin Nordholts 03e9d6de71 Fix more g_mapped_file_free() warnings 2009-07-20 23:08:49 +02:00
Massimo Valentini c78f7d1382 Bug 570353 – first time open of .svg file ignores the requested units
The resolution used to convert the sizes between pixels and units was
only set initially and never updated.
2009-07-20 23:04:41 +02:00
Massimo Valentini e0f21468d4 Bug 555777 – Export to MNG animation fails
'mng_putchunk_plte' and 'mng_putchunk_trns' both copy  the array passed in
as if it was full size even when it is only partly used. This commit wraps
their calls passing the arrays dimensioned correctly.

In function 'respin_cmap', when 'find_unused_ia_colour' returns an index
suitable for transparency the number of colors in the colormap, the
following loop used to access three values beyond the end of the array
'before'.

Finally fix a typo in a call to mng_putchunk_text().
2009-07-20 22:55:43 +02:00
Martin Nordholts 580b932c8c po: Update POTFILES.in 2009-07-20 17:51:29 +02:00
Massimo Valentini b28b0e4687 Bug 493778 – metadata plug-in crashes on some images
The problem is that the parser adds an empty property value when
parsing an empty Alt-array, "<rdf:Alt/>".

But when it is encoded it is expected to be in the form of a NULL
terminated array of pairs of property values, with the result that the
NULL terminator is considered the second element of the first pair and
the loop encoding these properties goes beyond the end of the array,
thus dereferencing invalid pointers.

This commit alters the parser to avoid adding dummy values when empty
rdf:Alt, rdf:Bag and rdf:Seq elements are found.
2009-07-20 17:51:21 +02:00
Martin Nordholts cfbcdbd207 app: Add WM debug output 2009-07-20 13:16:30 +02:00
Martin Nordholts 6318349bf8 app: Add GIMP_LOG_WM
Add GIMP_LOG_WM domain to be used for window management related
output.
2009-07-20 13:16:30 +02:00
Martin Nordholts 1c0dea5772 app: Use gtk_window_set_title() instead of gdk_window_set_title()
Get rid of the last calls to gdk_window_set_title() and instead use
gdk_window_set_title(). The gdk_window_set_title() calls in
gimpdisplayshell-title.c is a legacy from the initial import of the
project.
2009-07-20 13:16:28 +02:00
Martin Nordholts bacc1361cc Update Swedish translation of default tags 2009-07-20 12:48:24 +02:00
Martin Nordholts 37aca17f3d data: Change default 'circle' tag to 'round'
Change default 'circle' tag to 'round' since 'round' is a bit more
general and doesn't have a strict mathematical definition.
2009-07-20 12:48:12 +02:00
Martin Nordholts 5ad570e3cc Fix compilation errors
Fix compilation errors with obvious fixes.
2009-07-20 12:48:05 +02:00
Martin Nordholts b2b2b41e62 Get rid of artificial compiler warnings
Get rid of artificial compiler warnings generated with the #warning
directive. They pollute the build output and don't work as incentives
for fixing stuff.
2009-07-20 12:47:59 +02:00
Michael Natterer e564cc2e4e Fix motion event processing on the tag popup's scroll arrows
Should work properly now wrt detecting the different speed
areas and stopping scolling upon leaving the arrow.
2009-07-18 19:58:33 +02:00
Martin Nordholts 20aa60ac8c app: Fix a free cell renderer for GimpLanguageEntry
We must set the text column with
gtk_entry_completion_set_text_column() in order to get a free cell
renderer.
2009-07-18 19:56:10 +02:00
Michael Natterer 84fd35d832 Connect to widget signals in init() instead of constructor() 2009-07-18 19:34:42 +02:00
Michael Natterer 48a8b89bea Only redraw the affected tags when prelight changes, not the entire widget 2009-07-18 19:31:21 +02:00
Michael Natterer 5d76dd9bc5 Fix unprelighting of the prelighted tag when there is no hit on any tag 2009-07-18 19:23:26 +02:00
Michael Natterer 24209f7625 Use g_value_dup_object() inatead of g_value_get_object() and g_object_ref() 2009-07-18 18:57:15 +02:00
Michael Natterer 6fd729cfb6 Remove the possibility to disable mnemonics (bug #120034)
There is GtkSettings:gtk-enable-mnemonics: now, so there is no
reason to do the same in GIMP:

* app/config/gimpguiconfig.[ch]: turn "menu-mnemonics" into a dummy.

* app/dialogs/preferences-dialog.c: remove its GUI.

* app/widgets/gimpactionfactory.[ch]
* app/widgets/gimpactiongroup.[ch]: remove infrastructure for disabling
  menu mnemonics.

* app/actions/actions.c: bye bye glue code.
2009-07-18 17:51:04 +02:00
Michael Natterer 0d81ce9717 Bug 446171 – select content by click on layer icon
* app/widgets/gimplayertreeview.c (gimp_layer_tree_view_layer_clicked):
  when ALT is pressed, select the layer's alpha. SHIFT and CONTROL work
  as usual to add, subtract and intersect.

* app/widgets/gimpchanneltreeview.c
* app/widgets/gimpvectorstreeview.c: add "clicked" handlers here too
  and do the same select-on-alt-click thing.
2009-07-18 16:59:43 +02:00
Martin Nordholts 99ce3bd8b2 Bug 120563 – Add an easy way to use the default comment
Add a 'Use default comment' button to the Comment tab in Image
Properties that if clicked sets the image comment to the default
comment set in Preferences.
2009-07-18 09:38:58 +02:00
Sven Neumann cb4aec187f Update license to LGPL version 3 here as well. 2009-07-16 22:37:09 +02:00
Massimo Valentini 65c21b6bc3 Bug 567466 – PNG comment not found if more than 1 tEXt chunks
Fix an oversight: only the first tEXt chunk of a PNG was considered,
though repeatedly, when looking for the comment.
2009-07-16 22:24:59 +02:00
Massimo Valentini 48a6b0c59c Bug 585665 – Exporting to PSD with a blank text layer creates a corrupt file
Use write_gchar() to write an empty string, not write_gint16().
2009-07-16 22:21:40 +02:00
Mason Thomas fc66ca5169 Clamp levels after input changes applied. 2009-07-16 22:00:38 +02:00
Martin Nordholts b6f574ab38 POTFILES.skip data/tags 2009-07-16 20:18:19 +02:00
Martin Nordholts 7d7c053ae1 po-tags: Add Swedish translation of default tags 2009-07-16 20:18:19 +02:00
Martin Nordholts b604553bbe data: Add translatable default tags on some brushes 2009-07-16 20:18:19 +02:00
Martin Nordholts 93f664f429 data: Fix tags intltool-merge paths 2009-07-16 20:18:18 +02:00
Alexandre Prokoudine aa7c1d3267 Updated Russian translation 2009-07-16 19:26:37 +04:00
Alexandre Prokoudine 07dcd8ce10 Updated Russian translation 2009-07-16 17:48:22 +04:00
Martin Nordholts f455e5c56e Add 'General' section to NEWS 2009-07-15 21:29:25 +02:00
Michael Natterer e805cb0cf4 Use gtk_dialog_get_content_area() instead of dialog->vbox 2009-07-15 18:57:12 +02:00
Michael Natterer 997111bf0a Use gtk_dialog_get_content_area() instead of dialog->vbox 2009-07-15 16:19:32 +02:00
Michael Natterer 4da5ed3a8b Use gtk_widget_get_window() instead of widget->window 2009-07-15 15:02:31 +02:00
Michael Natterer 2d442e4576 Use gtk_widget_get_window() instead of widget->window 2009-07-15 14:52:27 +02:00
Michael Natterer 2bfc48df74 Use accessors instead of sealed GTK+ members 2009-07-15 14:29:43 +02:00
Michael Natterer 65421aa0b6 Use accessors instead of widget->style and widget->window 2009-07-15 04:05:24 +02:00
Michael Natterer 84e933d80b Use accessors instead of widget->window and widget->style 2009-07-15 03:58:30 +02:00
Michael Natterer facb13fdba Use GtkOrientable API instead of accessing range->orientation directly 2009-07-15 01:53:30 +02:00
Martin Nordholts 0d94e6e931 Enable automake silent-rules by default
Enable silent build rules by default, requires at least
Automake-1.11. Disable by either passing --disable-silent-rules to
configure or passing V=1 to make.
2009-07-14 20:25:02 +02:00
Martin Nordholts c6798bc247 plug-ins: Use string literal as format in metadata plug-in 2009-07-14 12:28:01 +02:00
Martin Nordholts 7976f21a35 plug-ins: Remove unused read_extended_data_block() in file-psd.c 2009-07-14 12:27:58 +02:00
Martin Nordholts e2f080b9d7 Fix typo in NEWS 2009-07-14 12:27:53 +02:00
Martin Nordholts d86a7c0044 Add Makefile.am rule to generate ChangeLog from git log
Add Makefile.am rule to generate ChangeLog from git log copied from
pango and Behdad Esfahbod.
2009-07-13 13:43:21 +02:00
Alexandre Prokoudine e1fd003d95 Updated Russian translation 2009-07-13 13:37:17 +04:00
Martin Nordholts e2c18a4d02 po-python: Add text-brush.py to POTFILES.in 2009-07-13 10:09:13 +02:00
Martin Nordholts a46fbe82dd Cleanup NEWS
Sort items into groups and roughly order of importance.
2009-07-13 09:49:56 +02:00
Michael Natterer c9171a3fbf Clean up various calls to the response() callback
(gimp_image_map_tool_control): call gimp_image_map_tool_response() directly
instead of gtk_dialog_response().

(gimp_image_map_tool_key_press): must not call response() if there is
no dialog (if the tool wasn't used yet).
2009-07-12 17:14:08 +02:00