Commit Graph

28470 Commits

Author SHA1 Message Date
bdd1cea93a Updated Traditional Chinese translation (Hong Kong and Taiwan) 2010-10-30 19:55:58 +08:00
186b037f94 app: formatting 2010-10-29 10:33:57 +02:00
59a4e70b86 app: don't reserve a height for the statusbar label's icon
Reserve only a width. The height gets ignored by GTK+ 2.x and breaks
layout positioning in GTK+ 3.x which uses pango-cairo for all text
rendering.
2010-10-29 10:31:04 +02:00
dcdc09872d Bug 631934 - Interaction between Old text parameters and new region specific text attributes
This patch inserts GimpText's property values as attributes into the
rendered markup and work transparently for both the tool options and
the text PDB API.
2010-10-29 04:45:12 +02:00
0da7773bb5 Updated Catalan (Valencian) translation 2010-10-29 00:33:19 +01:00
5111498e11 More input validation in the psd load plugin
plug-ins/file-psd/psd-load.c: Avoid dereferencing a random pointer
on chn_a[cidx].data[i] when comp_mode is unrecognized.
Spotted by Mikael Magnusson <mikachu@gmail.com>.
2010-10-28 20:34:44 +02:00
0829e5b028 app: simplify how the colormap editor sets FG/BG colors
Set the FG/BG on the widget's own context and remove the "selected"
signal and its callback in dialogs-constructors.c
2010-10-28 03:09:53 +02:00
112ca01064 app: bye bye deprecated GtkPreview
Use a GimpPaletteView for the colormap editor.
2010-10-28 02:16:52 +02:00
32d5d1681b app: don't crash if the palette is NULL 2010-10-28 02:16:52 +02:00
9dee789cfd app: emit "update" when the viewable goes away via the weak notify 2010-10-28 02:16:51 +02:00
d899328a1c app: some updates in the new colormap palette proxy code
- update the palette when single colormap entries change
- set the palette to 16 columns
- add an accessor for the palette
2010-10-28 02:16:51 +02:00
6e01b28502 Updated italian translation 2010-10-27 23:52:09 +02:00
e8df164366 app: Add dynamics selector to the tool options 2010-10-27 21:49:24 +03:00
a27b6f5f47 app: keep a GimpPalette around that proxies the image's indexed colormap
and add it to the palette factory as internal object. Work in progress
on the way to getting rid of the ugly code in the colormap editor.
2010-10-27 15:40:43 +02:00
d1307a84a4 app: return TRUE from button_press() so the event doesn't get to the notebook 2010-10-27 15:39:52 +02:00
f46122b862 app: add lots of accessors to GimpPalette
and use them all over the place instead of directly accessing the struct.
2010-10-27 14:36:44 +02:00
5931fe5312 app/tests: test-tools.c formating 2010-10-26 19:06:32 +02:00
8c65edcc55 app: make GimpScaleComboBox build with GTK+ >= 2.23.1 2010-10-26 16:40:41 +02:00
d3c97238a3 app/tests: Fix inludes of non-UI tests
Eventually we might want to be more strict, but I think it will be
fine to depend on UI headers in non-UI tests. Non-UI tests just means
we don't need to initalize the UI.
2010-10-26 14:35:06 +02:00
4fd051cc0d app/tests: Remove invalid redeclaration
I forgot this...
2010-10-26 14:34:10 +02:00
fc8ab634a8 app/tests: Add '/gimp-tools/crop_tool_can_crop' test
Begin adding a new set of tests meant to test tools. The first test is
a regression test for "Bug 315255 - SIGSEGV, while doing a crop".
2010-10-26 14:23:09 +02:00
e7b7bb7136 app/tests: Make gimp_ui_get_ui_manager() a global test util
Make gimp_ui_get_ui_manager() a global test util and make
gimp_test_utils_create_image() return void, clients can reach the new
image and display from the Gimp instance.
2010-10-26 14:23:09 +02:00
62ece2ff18 app/tests: Make gimp_ui_synthesize_key_event() a global test util 2010-10-26 14:23:09 +02:00
edff4949bc app: Call gimp_log_init() in test init functions
Call gimp_log_init() in test init functions so we can use the
GIMP_DEBUG env var.
2010-10-26 14:23:09 +02:00
c33b287dab app: Register GimpToolAction for gimp_enum_get_value_name()
Register GimpToolAction so we can use gimp_enum_get_value_name() on
it.
2010-10-26 14:23:08 +02:00
73d2f44210 app: Add some GimpRectangleTool GIMP_LOG() messages 2010-10-26 14:23:08 +02:00
ee81f23f0a app: Add gimp_enum_get_value_name() utility function 2010-10-26 14:23:08 +02:00
3d82d40f5b app/tests: Improve gimp_test_utils_set_env_to_subdir() hint
Improve gimp_test_utils_set_env_to_subdir() hint by making it stand
out more from normal gdb output.
2010-10-26 14:23:08 +02:00
1e747cbb19 app: Update gimp_display_shell_transform_xy_f() gtk-doc
gimp_display_shell_transfrom_xy() is removed.
2010-10-26 14:22:53 +02:00
2056042e96 app/tests: Add gimp_test_utils_create_image() 2010-10-26 14:22:53 +02:00
9e6f5000a5 app/tests: Give possible solution to 'keyboard_zoom_focus' failing 2010-10-26 14:21:27 +02:00
6fc4c42298 Bug 348183 - palette editor doesn't show all palette colors
Remove a crack eventbox and a double crack alignment and suddenly the
widget behaves properly. I have no idea what "important" feature I
killed with that removal, but the whole palette editing code needs
some serious chopping soon.
2010-10-25 22:54:55 +02:00
356690da1c Updated Danish translation 2010-10-24 17:34:17 +02:00
b072e75833 file-jpeg: Make cinfo struct static so asynchronous saves don't crash
The plug-in already makes a copy of the cinfo struct for asynchronous
save, but it seems that somewhere inside cinfo, a pointer points to
another region in this struct. So, everything is copied as-is, and
the pointer ends up pointing to somewhere in the save_image() stack
which is gone when that function returns.
2010-10-23 17:23:22 +05:30
150983ac60 po/ru.po: Fixed typos spotted by Maxim S. Barabash 2010-10-23 02:19:46 +04:00
64ed52144a Update indentation 2010-10-23 00:39:03 +05:30
60d24b4c04 app: get rid of #ifdef USE_CAIRO_REGION almost everywhere
get replaced by GDK region functions and use the cairo region
functions unconditionally all over the place.
2010-10-22 19:58:11 +02:00
40797f1fd4 Bump down cairo version for USE_CAIRO_REGION 2010-10-22 22:45:59 +05:30
4998863806 file-jpeg: Fix a crash when toggling settings in preview mode
This patch cancels the GSource for background_jpeg_save() and calls it
synchronously to free resources. Without this patch, multiple GSources
for background_jpeg_save() get setup and result in a crash.
2010-10-22 22:23:42 +05:30
71ab7f4291 app: cairo_translate() by allocation.x,y 2010-10-22 18:46:57 +02:00
8140df304a app/tests: Don't depend on UI in test-xcf.c 2010-10-21 21:12:54 +02:00
784a1ce2a9 app: Initialize and restore GIMP in gimp_init_for_testing()
We should initialize and restore GIMP also in gimp_init_for_testing(),
not only in gimp_init_for_gui_testing(), because also non-UI tests
needs e.g. plug-ins to be available.
2010-10-21 21:12:50 +02:00
81410e0a5f app/tests: Exit properly in test-core.c to avoid broken wire
Exit properly in test-core.c to avoid broken wire causing the warning:

  LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
2010-10-21 21:12:46 +02:00
8f8ea74d1f app: return TRUE from button and motion callbacks because we handled the events 2010-10-21 13:19:51 +02:00
199804bce5 app: fix alphabetic order 2010-10-21 12:02:49 +02:00
8a1517f18b app: properly select icon view items
so that they are visually selected also when the widget never got
focus.
2010-10-21 11:53:41 +02:00
c60e29254b app: don't try to set properties of a NULL icon view 2010-10-21 11:38:58 +02:00
7cfda8cc33 app: use pango_cairo_show_layout() instead of a GdkPangoRenderer 2010-10-20 19:25:03 +02:00
83407d230c app: build with GSEAL_ENABLE (don't access widget->requisition) 2010-10-20 19:09:54 +02:00
c8bef14682 app: fix Makefile.am formatting 2010-10-20 19:04:32 +02:00