1
2008-11-21 Sven Neumann <sven@gimp.org>
5
2008-11-19 Sven Neumann <sven@gimp.org>
9
Bug 558454 – Plugin Map Color Range disappears from GIMP
11
* plug-ins/script-fu/scripts/Makefile.am
13
* plug-ins/script-fu/scripts/plug-in-compat.init: new file
14
providing compatibility with plug-ins from older GIMP
15
versions. Contains a reimplementation of plug-in-color-map based
16
on ideas and code from Eric Lamarque.
18
* plug-ins/script-fu/scheme-wrapper.c (tinyscheme_init): load the
19
plug-in-compat.init file.
21
2008-11-18 Martin Nordholts <martinn@svn.gnome.org>
25
Bug 559239 – Error while loading psd-data
27
* plug-ins/file-psd/psd-layer-res-load.c (load_layer_resource):
28
Layer resource data should not be padded.
30
2008-11-15 Sven Neumann <sven@gimp.org>
34
* app/display/gimpdisplayshell-scroll.[ch]: removed function
35
gimp_display_shell_scroll_get_scaled_viewport_offset() as it was
36
only returning -shell->offset_x and -shell->offset_y and it
37
started to show up in profiles.
39
* app/display/gimpdisplayshell-draw.c
40
* app/display/gimpdisplayshell-transform.c
41
* app/display/gimpdisplayshell-scale.c: use the shell offsets
44
2008-11-15 Martin Nordholts <martinn@svn.gnome.org>
48
Bug 560903 – Explicit zooming with e.g. '1' should handle
51
* app/display/display-enums.h: Added
52
GIMP_ZOOM_FOCUS_RETAIN_CENTERING_ELSE_BEST_GUESS.
54
* app/display/gimpdisplayshell-scale.c
55
(gimp_display_shell_scale_get_zoom_focus): Take the new enum into
56
account; if the image is centered, keep it centered, else use the
59
* app/actions/view-commands.c (view_zoom_explicit_cmd_callback):
60
Use the new enum for explicit zooming.
62
* app/display/display-enums.c: Regenerated.
64
2008-11-15 Martin Nordholts <martinn@svn.gnome.org>
68
Bug 560245 – Zoom selection always centered in the Navigation tab
70
* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
71
Also take the image center and not only the zoom focus point into
72
account when deciding whether or not to center the image after
75
2008-11-14 Sven Neumann <sven@gimp.org>
79
* app/display/gimpdisplayshell-preview.c
80
(gimp_display_shell_draw_quad): check that the resulting area has
81
positive width and height.
83
2008-11-13 Sven Neumann <sven@gimp.org>
87
Bug 559292 – SOTA Chrome cannot accept different textures
89
* app/pdb/gimppdb-utils.c (gimp_pdb_image_is_base_type)
90
(gimp_pdb_image_is_not_base_type): gimp_object_get_name() may
91
return NULL for images. Use gimp_image_get_uri() instead.
93
2008-11-11 Sven Neumann <sven@gimp.org>
97
Bug 560375 – Clearing an already empty document history crashes GIMP
99
* app/actions/documents-commands.c (documents_clear_cmd_callback):
100
gtk_recent_manager_purge_items() may return 0 but not set an
103
2008-11-11 Michael Natterer <mitch@gimp.org>
107
Bug 559580 – Image windows need better default locations
109
* app/display/gimpdisplayshell.c (gimp_display_shell_style_set):
110
Only set GDK_HINT_USER_POS on the empty display because it gets a
111
position set by gimp. All other displays should be placed by the
112
window manager. Fixes all displays appearing at 0,0.
114
2008-11-11 Sven Neumann <sven@gimp.org>
118
Bug 560283 – "Scale image..." causes distortion around edges.
120
* app/paint-funcs/scale-region.c (scale): corrected fix for
123
2008-11-11 Sven Neumann <sven@gimp.org>
127
* plug-ins/common/file-pdf.c: fixed size of the GimpParam array
128
used for the return values.
130
2008-11-10 Martin Nordholts <martinn@svn.gnome.org>
134
Bug 559716 – Changing crop size in Crop Tool Options can make UI
137
* app/tools/gimprectangletool.c: Accept a broader range of x, y,
138
width and height values from the tool options so we don't end up
139
in an infinite signal emission loop.
141
2008-11-10 Michael Natterer <mitch@gimp.org>
145
* app/core/gimpdrawable-curves.c (gimp_drawable_curves_explicit):
146
use GIMP_CURVE_FREE, not _SMOOTH. Fixes the resp. PDB call.
148
2008-11-09 Martin Nordholts <martinn@svn.gnome.org>
152
Bug 558549 – Stroking a single-point path with a paint tool
155
* app/paint/gimppaintcore-stroke.c
156
(gimp_paint_core_stroke_vectors): Return an error message if there
157
were not enough points to stroke.
159
* app/dialogs/stroke-dialog.c (stroke_dialog_response): Guard
160
against crashes if an implementator forgets to set an error.
162
2008-11-09 Martin Nordholts <martinn@svn.gnome.org>
166
* app/display/gimpdisplayshell-scale.c
167
(gimp_display_shell_scale_update_rulers): Avoid critical warnings
168
when converting an image window with a unit other than pixels into
169
a the empty image window. Probably fixes some of the crashes
170
reported by Windows users.
172
2008-11-04 Sven Neumann <sven@gimp.org>
176
* app/display/gimpdisplayshell-dnd.c
177
(gimp_display_shell_drop_uri_list): when dropping multiple images
178
to the empty image window, open them as seperate images.
180
2008-11-04 Sven Neumann <sven@gimp.org>
182
* app/file/file-procedure.c
183
* app/file/file-save.c
184
* app/pdb/gimpprocedure.c: be careful when passing literal strings
187
2008-11-03 Michael Natterer <mitch@gimp.org>
191
Bug 559015 – Move tool gives bad information about px moved
193
* app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_init):
194
set cursor precision to PIXEL_BORDER because that's what the move
197
Unrelated: set CENTER_CROSS_SIZE to an odd number so it's drawn
200
2008-10-31 Sven Neumann <sven@gimp.org>
202
Bug 558660 – help behavior for locales without manual translation
204
* app/widgets/gimphelp.c (gimp_help_user_manual_is_installed):
205
as a fallback check for the english user manual.
207
2008-10-30 Sven Neumann <sven@gimp.org>
209
* configure.in: bumped version to 2.6.3 (interface age 3).
211
2008-10-30 Sven Neumann <sven@gimp.org>
213
* Made 2.6.2 release.
215
2008-10-30 Sven Neumann <sven@gimp.org>
217
Backed out this change for now as it causes problem with some
220
Bug 556896 – Dialogs don't get minimized with single image window
222
* app/display/gimpdisplayshell.c
223
* app/display/gimpdisplay-foreach.[ch]
224
* app/widgets/gimpdialogfactory.[ch]: merged changes from trunk.
225
Hide the toolbox and docks if the last display is iconified.
226
Unhide them if a display is uniconified.
228
2008-10-29 Sven Neumann <sven@gimp.org>
232
Bug 557950 – Scaling in Gimp 2.6 is much slower than in Gimp 2.4
234
* app/paint-funcs/scale-region.c: don't do multi-pass scaling
235
when we are scaling up.
237
2008-10-29 Martin Nordholts <martinn@svn.gnome.org>
241
Bug 558215 – unit and zoom entries in Statusbar not visible
243
* app/display/gimpdisplayshell-callbacks.c
244
(gimp_display_shell_canvas_size_allocate): Don't try to be clever,
245
call gimp_display_shell_scaled() whenever the canvas size changes
246
so a newly created display shell gets updated properly.
248
2008-10-29 Sven Neumann <sven@gimp.org>
252
Bug 558451 – Cannot build GIMP using Sun CC on Solaris 2.8
254
* app/pdb/gimp-pdb-compat.c
255
* app/gegl/gimpoperationtilesink.c
256
* app/gegl/gimpoperationtilesource.c
257
* app/tools/gimpgegltool.c: applied patches from Eric Lamarque
258
fixing the build using Sun CC on Solaris.
260
2008-10-29 Sven Neumann <sven@gimp.org>
264
Bug 558420 – projection incorrect with alpha-less layers
266
* app/core/gimpprojection-construct.c (gimp_projection_initialize):
267
need to initialize the projection if the covering layer is not
270
2008-10-28 Martin Nordholts <martinn@svn.gnome.org>
274
Bug 556603 – Zoom region always zooms in center of image
276
* app/tools/gimpmagnifytool.c (gimp_magnify_tool_button_release):
277
When zooming with a click, use gimp_display_shell_scale() instead
280
2008-10-25 Michael Natterer <mitch@gimp.org>
284
Bug 557870 – "Qmask" message popping up here and there
286
* app/display/gimpdisplayshell-title.c
287
(gimp_display_shell_format_title): use
288
gimp_viewable_get_description() instead of gimp_object_get_name()
289
for displaying the active drawable's name so the quick mask and
290
the floating selection have the same names as in the
291
layers/channels dialogs.
293
2008-10-24 Sven Neumann <sven@gimp.org>
295
Bug 557705 – compatibility with GEGL > 0.0.20
297
* app/core/gimpdrawable-brightness-contrast.c
298
* app/core/gimpdrawable-invert.c
299
* app/tools/gimpbrightnesscontrasttool.c: choose GEGL operation
300
names based on the GEGL version we are being used with.
302
2008-10-24 Sven Neumann <sven@gimp.org>
304
Bug 557705 – compatibility with GEGL > 0.0.20
306
* app/gegl/gimp-gegl-utils.[ch]: added gimp_gegl_check_version(),
307
a run-time GEGL version check.
309
* app/core/gimpimagemap.c (gimp_image_map_apply): use the new
310
function to determine the names of the GEGL ops to use.
312
2008-10-24 Sven Neumann <sven@gimp.org>
314
Bug 556896 – Dialogs don't get minimized with single image window
316
* app/display/gimpdisplayshell.c
317
* app/display/gimpdisplay-foreach.[ch]
318
* app/widgets/gimpdialogfactory.[ch]: merged changes from trunk.
319
Hide the toolbox and docks if the last display is iconified.
320
Unhide them if a display is uniconified.
322
2008-10-24 Sven Neumann <sven@gimp.org>
326
Bug 556248 – Scaling gives 'jagged' edges
328
* app/paint-funcs/scale-region.c (scale): calculate pixel
329
contributions based on pixel centers, not on pixel origins.
331
2008-10-23 Michael Natterer <mitch@gimp.org>
335
* app/plug-in/gimppluginprocframe.c
336
(gimp_plug_in_proc_frame_dispose): set proc_frame->procedure to
337
NULL *after* calling gimp_plug_in_cleanup(). Fixes the crash on
338
windows in bug #557061 (but not the bug).
340
2008-10-23 Sven Neumann <sven@gimp.org>
344
* configure.in: removed check for Carbon and added a test for the
345
target OS being Darwin instead.
347
* app/config/gimpguiconfig.c: use PLATFORM_OSX instead of
348
HAVE_CARBON to determine the default "web-browser" command.
350
2008-10-22 Sven Neumann <sven@gimp.org>
354
* plug-ins/print/print-preview.c (print_preview_leave_notify_event):
355
check the crossing mode and don't unset the "inside" flag when the
356
event is caused by a pointer grab/ungrab.
358
2008-10-22 Martin Nordholts <martinn@svn.gnome.org>
362
Bug 556804 – Zoom drop down doesn't update
364
* app/display/gimpdisplayshell-scale.c
365
* app/display/gimpdisplayshell-callbacks.c: Fix calls to
366
gimp_display_shell_scaled() when Resize window on zoom is enabled.
368
2008-10-22 Sven Neumann <sven@gimp.org>
372
Bug 524615 – Print not to scale
374
* plug-ins/print/print.c: set the unit for dimensions on the Cairo
375
context used for printing to GTK_UNIT_PIXELS.
377
* plug-ins/print/print-draw-page.c (print_draw_page): changed the
378
Cairo scale factors accordingly. Seems to fix printing on Windows.
380
2008-10-22 Sven Neumann <sven@gimp.org>
384
* app/widgets/gimpprogressbox.c: set box->progress to NULL in
385
destroy() and check for progress being NULL in various places so
386
we don't crash on API calls after the widget is destroyed.
388
2008-10-22 Sven Neumann <sven@gimp.org>
392
Bug 555246 – gimp crashes when a file is opened while a preview is
395
* app/widgets/gimpthumbbox.c: set box->progress to NULL in
396
destroy() and check for progress being NULL in various places so
397
we don't crash on API calls after the widget is destroyed.
399
2008-10-22 Sven Neumann <sven@gimp.org>
403
Bug 556741 – Alpha layer automatically added (in psd format) but
406
* plug-ins/file-psd/psd-save.c: applied patch from Dennis Ranke
407
that flattens the projection for indexed images.
409
2008-10-22 Sven Neumann <sven@gimp.org>
413
* app/widgets/gimpfiledialog.c: set dialog->progress to NULL in
414
destroy() and check for progress being NULL in various places so
415
we don't crash on API calls after the widget is destroyed.
417
2008-10-21 Sven Neumann <sven@gimp.org>
421
* app/tools/gimpgegltool.c (gimp_param_spec_duplicate):
422
GEGL_IS_PARAM_SPEC_PATH() became GEGL_IS_PARAM_SPEC_FILE_PATH()
425
* app/tools/gimpgegltool.c (gimp_gegl_tool_dialog): for the
426
combo-box, strip known prefixes from the GEGL operation names and
429
2008-10-21 Sven Neumann <sven@gimp.org>
431
* app/tools/gimpgegltool.c (gimp_gegl_tool_operation_blacklisted):
432
make the operations blacklist work with GEGL >= 0.0.21.
434
2008-10-21 Sven Neumann <sven@gimp.org>
438
* app/actions/file-commands.c (file_open_recent_cmd_callback): ref
439
the GimpDisplay and GimpImageFile objects while holding a
440
reference to them. Fixes a potential crash if GIMP is closed while
441
the image is being loaded.
443
2008-10-20 Sven Neumann <sven@gimp.org>
447
* app/widgets/gimperrorconsole.c (gimp_error_console_init): don't
448
make the font size even smaller. We already use a smaller font in
451
2008-10-17 Sven Neumann <sven@gimp.org>
455
* plug-ins/file-psd/psd-save.c (xfwrite): fixed handling of empty
456
strings. Don't quit silently, write an error message to stderr at
459
2008-10-17 Sven Neumann <sven@gimp.org>
463
* app/core/gimp.[ch]: added signal Gimp::image-opened to announce
464
that an image has been loaded and a display was created for it.
466
* app/file/file-open.c (file_open_with_proc_and_display): call
467
gimp_image_opened() to emit the new signal.
469
* app/gui/dbus-service.xml
470
* app/gui/gimpdbusservice.[ch]: propagate the 'opened' signal to
471
listeners of the "org.gimp.GIMP.UI" DBus service.
473
* app/gui/gui-unique.c: formatting.
475
2008-10-14 Sven Neumann <sven@gimp.org>
479
* themes/Default/images/stock-gegl.svg
480
* themes/Default/images/stock-gegl-22.svg
481
* themes/Default/images/stock-gegl-22.png: remove white from the
482
shadow to render correctly on dark backgrounds.
484
2008-10-14 Sven Neumann <sven@gimp.org>
488
* app/widgets/gimpdialogfactory.c (gimp_dialog_factory_add_dialog):
489
let new docks appear at the pointer position.
491
2008-10-13 Sven Neumann <sven@gimp.org>
495
Bug 556182 – Could you please explain a few strings [I18N]
497
* plug-ins/pygimp/plug-ins/py-slice.py: added translator comments.
499
2008-10-10 Michael Natterer <mitch@gimp.org>
503
* app/tools/gimpmovetool.c (gimp_move_tool_button_release): flush
504
the image after setting active items back from temporarily
505
selected ones. Fixes menu item sensitivity.
507
2008-10-09 Sven Neumann <sven@gimp.org>
511
Bug 555697 – build fails if configured with --without-libjpeg
513
* plug-ins/Makefile.am: applied patch from Simon Zilliken that
514
disables the build of the PSD plug-in if JPEG support is disabled.
516
2008-10-09 Michael Natterer <mitch@gimp.org>
520
This is not exactly a bugfix-only commit, but fixing this bug
521
was the original reason for all the curve and image map tool
522
refactorings that went into 2.6. It would be silly not to
523
fix it just because I simply forgot to hack the final step of
524
enabling all the new code. The two new translatable strings are
525
a PITA, sorry about that; but better than still only exporting
526
the old curves and levels formats in 2.6.
528
Bug 134956 – Curves tool doesn't save free curves
530
* app/core/gimpmarshal.list
531
* app/widgets/gimpsettingsbox.[ch]: add signal "file-dialog-setup"
532
and emit it when the export/import file chooser is fully
533
constructed. Callbacks can then do additional things to the
534
dialog, like adding custom buttons.
536
* app/tools/gimpcurvestool.h
537
* app/tools/gimplevelstool.h: add boolean member
540
* app/tools/gimpcurvestool.c
541
* app/tools/gimplevelstool.c (gimp_*_tool_dialog): connect to
542
the settings box' "file-dialog-setup".
544
(gimp_*_tool_export_setup): new callback which adds a toggle to
545
the file choosers that allows to export to the old format.
546
Default saving the new format, we defaulted to the old one before.
548
(gimp_*_tool_settings_export): check the "export_old_format"
549
boolean and only save the cruft format if it is TRUE; chain up
550
otherwise, which generically saves the new format.
552
* app/tools/gimplevelstool.c (gimp_levels_tool_settings_import):
553
add the same file format detection code as in the curves tool
554
so it transparently loads old and new levels files.
556
2008-10-09 Michael Natterer <mitch@gimp.org>
560
* app/gegl/gimpcurvesconfig.c (gimp_curves_config_save_cruft):
561
when saving a curve of type GIMP_CURVE_FREE, don't use
562
gimp_curve_get_point() because that returns nothing for free
565
(gimp_curves_config_load_cruft): reset the curve before loading it.
567
* app/core/gimpcurve.c (gimp_curve_get_point): instead of above
568
mentioned uninitialized nonsense, at least return -1,-1 for free
571
2008-10-09 Sven Neumann <sven@gimp.org>
573
* configure.in: bumped version to 2.6.2 (interface age 2).
1
575
2008-10-09 Sven Neumann <sven@gimp.org>
3
577
* Made 2.6.1 release.