Commit Graph

27055 Commits

Author SHA1 Message Date
Michael Natterer e82e09307c app: increase vector loading float array size
xcf_load_vector(): the size of GIMP_COORDS_DEFAULT_VALUES has changed,
so the array has must be large enough to hold all its members.
2010-01-31 21:38:19 +01:00
Sven Neumann 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
Sven Neumann 48a393f44f Bug 607888 - "Fractal Explorer" string in the filter's title bar is always in English
Mark dialog title for translation.
2010-01-31 21:02:49 +01:00
Martin Nordholts 523c599baa app: Simplify gimp_dockbook_init() a bit 2010-01-31 20:22:24 +01:00
Martin Nordholts 02d3874eb7 app: Only add "gimp-toolbox" dock to "gimp-toolbox-window" 2010-01-31 20:21:17 +01:00
Martin Nordholts bf92270051 app: Don't crash when the toolbox dock window don't have docks
Session files from GIMP 2.6 don't need to have docks in the toolbox
top-level. Don't crash on that, instead add a "gimp-toolbox" dock
during sessionrc parsing.
2010-01-31 19:04:51 +01:00
Martin Nordholts 1438b9b31c app/tests: Make sessionrc more realistic
GIMP 2.6 can't have a toolbox top-level with an empty dock, remove the
dock. This gives us a more realistic test.
2010-01-31 19:04:51 +01:00
Michael Natterer 499b0f1a49 Lower libpng requirement to 1.2.37 to make them stop whining 2010-01-31 17:54:14 +01:00
Michael Natterer 08b7709535 Bug 604820 - GEGL Operation "path" crashes GIMP
Blacklist "gegl:path".
2010-01-31 17:36:56 +01:00
Michael Natterer 74bf91cb63 Bug 603711 - Crashes when using path tool
gimp_display_shell_get_*_coord(): initialize the coords with
GIMP_COORDS_DEFAULT_VALUES allGimpCoords members get initialized.
2010-01-31 17:19:51 +01:00
Michael Natterer 98818f91cf Fix GimpCoords' default initializer
Add #define GIMP_COORDS_DEFAULT_DIRECTION and include it in
GIMP_COORDS_DEFAULT_VALUES so coords using it are not partly
uninitialized.
2010-01-31 14:30:08 +01:00
Michael Natterer 2db98792dc Bug 607242 - GIMP 2.7.0 fails to build against libpng 1.4.0
Depend on the libpng version that is in debian testing (1.2.42) and
use png_set_expand_gray_1_2_4_to_8() instead of the deprecated
png_set_gray_1_2_4_to_8().
2010-01-31 11:56:36 +01:00
Michael Natterer a6d052f774 Bug 607140 - Tags not saved for Paint Dynamics resources on GIMP restart
(gimp_restore): add the dynamics container to the tag cache.
2010-01-31 11:31:19 +01:00
Martin Nordholts 8ba9700ddb Bug 597368 - Widget spacing around canvas steals working space
Remove spacing between the canvas and the surrounding widgets so that
that space can be used for the actual canvas itself instead.
2010-01-30 08:59:28 +01:00
Martin Nordholts a3be9db88c devel-docs: For completeness, distribute all *.txt files 2010-01-30 08:07:33 +01:00
Martin Nordholts f77c400957 app/tests: Generalize gimp_test_utils_set_gimp2_directory()
Support both builddir and srcdir with
gimp_test_utils_set_gimp2_directory() so we can have gimpdir-output in
the build dir.
2010-01-30 08:07:24 +01:00
Martin Nordholts 97bbde6e5b app/tests: Distribute sessionrc-expected 2010-01-30 08:06:09 +01:00
Alexandre Prokoudine 0e6ac8b806 Bug 560572 - Updated ps-menurc for PS CS4 2010-01-30 08:06:09 +01:00
Martin Nordholts 985f2ae093 app/tests: Create gimpdir-output properly
The rule check-local is run after the tests themselves are run, so
make the tests depend on this directory to be created instead.
2010-01-30 08:06:09 +01:00
Martin Nordholts 71368e9c3b po-*: Skip plug-ins/ui
make distcheck complains otherwise
2010-01-30 08:06:09 +01:00
Miloš Popović 21c775c257 Fixed some strings in Serbian translations 2010-01-29 21:21:22 +01:00
Martin Nordholts 3612ef2d76 app: Have separate output gimpdir for test cases
Make our test cases write gimpdir files in a dedicate output directory
by changing GIMP2_DIRECTORY at runtime. This ends the writing to the
source directory which make distcheck doesn't like, and it also allows
us to have a separate expected sessionrc for the session management
test. In that test we load a GIMP 2.6 formated sessionrc but write one
updated for 2.8.

We perform this change by passing the builddir through an environment
variable to the test cases. The patch also does some generalizations
in gimp-app-test-utils.c and adapts test cases accordingly.

Also do an adjustment in sessionrc on the toolbox size since
GIMP/GTK+/X/whatever has a tendency to adjust that during runs. The
new size is stable for the moment.
2010-01-29 18:33:22 +01:00
Martin Nordholts 5d9dde1d47 libgimpbase: Support changing GIMP2_DIRECTORY at run-time
In order to be able to change GIMP2_DIRECTORY during run-time, check
for changes to GIMP2_DIRECTORY in gimp_directory().

This is typically useful in test case where you could read from one
GIMP2_DIRECTORY at start-up and then write to a different
GIMP2_DIRECTORY at shut down.

The documentation for this function does not suggest that the value is
cached and thus the old behavior can be considered a bug. It is hard
to imagine why anyone would change GIMP2_DIRECTORY at run-time in a
script for example and *not* expect gimp_directory() to return the
updated gimp_dir.
2010-01-29 18:33:21 +01:00
Russell Kyaw 35906c38b3 Added Burmese (Myanmar) translation 2010-01-29 18:25:41 +02:00
Miloš Popović aa2059c5d9 Fixed some strings in Serbian translations 2010-01-29 00:59:53 +01:00
Michael Natterer dc05c2687e libgimp: add a frame around the color areas again, but only one frame around both 2010-01-24 23:55:36 +01:00
Miloš Popović 2784984059 Updates and Fixed some Serbian translations 2010-01-24 15:45:27 +00:00
Jon Nordby bd8af017f5 Bug 605366 - OpenRaster support
Add basic OpenRaster support. At the very least, this allows
multi-layered .ora files to be shared between MyPaint and GIMP.
2010-01-24 09:01:33 +01:00
Martin Nordholts 835d1b9661 devel-docs: Update gimp-schedule.ods
Some single-window mode tasks are completed, and some bugs on the 2.8
milestone have been postponed. New estimated release candidate date is
2010-12-27, but I expect more bugs and features to be de-scoped. The
updated estimates are put in a new snapshot, i.e. put in a new column.
2010-01-23 11:39:26 +01:00
Martin Nordholts d008b6db69 devel-docs: In the schedule, have snapshots instead of updating
In the schedule, instead of changing estimates, let's have snapshots
of them. That way we can track how our estimate moves.
2010-01-23 11:39:26 +01:00
Claude Paroz 66a47f6b7a Updated French translation 2010-01-23 11:07:31 +01:00
Claude Paroz 436bdd8d89 Updated French translation
Contributed by Julien Hardelin and Claude Paroz
2010-01-23 10:05:36 +01:00
Kretynofil 6522fdc9b7 Bug 598344 - Make 'Current' and 'Old' colors in color selector adjacent
Make the color selector more slick by removing some UI cruft and
putting the 'Current' and 'Old' color fields right next to each other.
2010-01-23 09:31:05 +01:00
Adi Roiban d31b7c4f5e Update Romanian translation 2010-01-23 01:56:38 +02:00
Martin Nordholts c094736f83 app: Remove accidentally commited g_printerr() 2010-01-22 21:00:17 +01:00
Martin Nordholts ba37aaa532 app: Support multi-column DnD in toolbox window
Add a drag handler to the toolbox so it's possible to create
multi-column docks in the toolbox dock window.
2010-01-22 20:48:34 +01:00
Martin Nordholts 613b330bc0 app: Clarify why we need URI drop target on toolbox 2010-01-21 21:00:31 +01:00
Martin Nordholts 1093462ae9 app: Merge 'global_toolbox_factory' into 'global_dock_factory'
Get rid of 'global_toolbox_factory' and manage everything dock-related
with 'global_dock_factory'. The whole of 'global_toolbox_factory' was
a big special-case and getting rid of it makes it easier to extend the
session management with e.g. single-window mode dock functionality.

To get rid of 'global_toolbox_factory' we, roughly, have to
 * Replace 'global_toolbox_factory' with 'global_dock_factory'
   everywhere. We can also get rid of lots of code that did special
   things for the "toolbox" factory.
 * Make the use or interaction with the toolbox explicit in some
   places. For example, a function gimp_dock_window_has_toolbox() has
   been introduced.
 * Make GimpSessionInfoDock have an 'identifier' parameter so we can
   differentiate between the "gimp-dock" and "gimp-toolbox" dock
   types.
2010-01-20 18:29:54 +01:00
Martin Nordholts dd8b867852 app: Kill #if-zeroed GimpContext code that doesn't seem to be needed 2010-01-19 23:18:30 +01:00
Martin Nordholts 2604db71a8 app: Don't yell in FIXME, explain instead 2010-01-19 23:15:37 +01:00
Martin Nordholts 84dd0d5241 app: Remove windows_commands_get_toolbox(), use dialog variant
Remove windows_commands_get_toolbox() and use dialogs_get_toolbox()
instead.
2010-01-19 23:05:45 +01:00
Martin Nordholts 66197c5d11 app: global_dock_window_factory -> global_dock_factory
Rename back global_dock_window_factory to
global_dock_factory. Renaming to global_dock_window_factory was done
under the assumption that there would be a separate factory that would
create non-toplevel dockables, but I don't expect this to happen in
the forseeable future.
2010-01-19 22:40:06 +01:00
Martin Nordholts 56a8cb68a8 app: Have dialog factory entries for the dock windows
Let dock windows have proper GimpDialogFactory entries. This allows us
to get rid of a lot of ugly mostly duplicated code. This also makes us
ready the merge the dock window and toolbox factories which will soon
be done. A few things should be noted:

 * We adjust the wrap box aspect ratio in the toolbox to avoid having
   the toolbox dock window explode

 * We make sure that we still can handle sessionrc files from GIMP 2.6
   and older
2010-01-19 22:24:17 +01:00
Martin Nordholts 862ae52d4e devel-docs: Add a paragraph about sessionrc 2010-01-19 22:24:17 +01:00
Petr Kovar 11e8ff8db6 Updated Czech translation by Marek Cernocky
Reviewed by: Lucas Lommer.
2010-01-17 22:04:01 +01:00
Michael Natterer eac902d065 libgimp: use gtk_widget_get_visible() instead of GTK_WIDGET_VISIBLE() 2010-01-17 16:51:48 +01:00
Khaled Hosny 5876d1d5e6 Updated Arabic translation 2010-01-17 13:24:00 +02:00
Khaled Hosny cc94e5f608 Fix renamed file 2010-01-17 13:24:00 +02:00
Martin Nordholts 8c10d1c451 app/tests: Add simple tests to switch to and from single-window mode 2010-01-17 10:43:16 +01:00
Khaled Hosny 4c9fd7cffb Updated Arabic translation 2010-01-17 11:24:05 +02:00