ChangeLog 424 KB
Newer Older
Sven Neumann's avatar
Sven Neumann committed
1
2
3
4
2004-09-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c: some code cleanup.

5
6
7
8
9
10
11
12
13
14
15
16
2004-09-13  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/file-open-dialog.[ch]: removed function
	file_open_dialog_show() and changed internal function
	file_open_dialog_create() to file_open_dialog_new().

	* app/dialogs/dialogs.c
	* app/dialogs/dialogs-constructors.[ch]: made it completely
	managed by the dialog factory.

	* app/actions/file-commands.c: create it using the dialog factory.

17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
2004-09-13  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* app/Makefile.am: added new directory app/dialogs and link
	libappdialogs.c into the gimp binary.

	* app/gui/Makefile.am
	* app/gui/gui-types.h
	* app/gui/gui-vtable.c
	* app/gui/gui.c

	* app/gui/about-dialog.[ch]
	* app/gui/authors.h
	* app/gui/color-notebook.[ch]
	* app/gui/convert-dialog.[ch]
	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs.[ch]
	* app/gui/file-dialog-utils.[ch]
	* app/gui/file-new-dialog.[ch]
	* app/gui/file-open-dialog.[ch]
	* app/gui/file-open-location-dialog.[ch]
	* app/gui/file-save-dialog.[ch]
	* app/gui/grid-dialog.[ch]
	* app/gui/info-dialog.[ch]
	* app/gui/info-window.[ch]
	* app/gui/module-browser.[ch]
	* app/gui/offset-dialog.[ch]
	* app/gui/palette-import-dialog.[ch]
	* app/gui/preferences-dialog.[ch]
	* app/gui/quit-dialog.[ch]
	* app/gui/resize-dialog.[ch]
	* app/gui/resolution-calibrate-dialog.[ch]
	* app/gui/stroke-dialog.[ch]
	* app/gui/tips-dialog.[ch]
	* app/gui/tips-parser.[ch]
	* app/gui/user-install-dialog.[ch]: removed these files...

	* app/dialogs/Makefile.am
	* app/dialogs/dialogs-types.h

	* app/dialogs/*.[ch]: ...and added them here. Changed some
	filenames like module-browser -> module-dialog.

	* app/app_procs.c
	* app/actions/actions-types.h
	* app/actions/actions.c
	* app/actions/dialogs-actions.c
	* app/actions/dialogs-commands.c
	* app/actions/dockable-commands.c
	* app/actions/drawable-commands.c
	* app/actions/edit-commands.c
	* app/actions/file-commands.c
	* app/actions/gradient-editor-commands.c
	* app/actions/image-commands.c
	* app/actions/layers-commands.c
	* app/actions/palettes-commands.c
	* app/actions/select-commands.c
	* app/actions/templates-commands.c
	* app/actions/templates-commands.h
	* app/actions/vectors-commands.c
	* app/actions/view-commands.c
	* app/display/gimpdisplayshell-cursor.c
	* app/display/gimpdisplayshell-title.c
	* app/display/gimpdisplayshell.[ch]
	* app/tools/gimpcroptool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimptransformtool.[ch]
	* app/tools/gimpvectortool.c
	* app/widgets/gimpcolormapeditor.[ch]
	* app/widgets/gimpcolorpanel.c
	* app/widgets/gimpgradienteditor.[ch]
	* app/widgets/gimppaletteeditor.[ch]
	* app/widgets/gimptoolbox-color-area.c
	* menus/toolbox-menu.xml.in
	* tools/authorsgen/authorsgen.pl: changed accordingly.

96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
2004-09-13  Michael Natterer  <mitch@gimp.org>

	Restore binary compatibility of the wire protocol that was
	broken by the recent GPConfig changes:

	* libgimpbase/gimpprotocol.[ch] (struct _GPConfig)
	(_gp_config_read)
	(_gp_config_write): argh, we can't use the two bytes padding
	because that's just a binary compatible struct change, but inserts
	two bytes into the byte stream that goes over the wire. Use the
	first two bytes of the former "gdouble gamma" instead.

	* app/plug-in/plug-in-run.c (plug_in_run)
	* libgimp/gimp.c (gimp_config): changed accordingly.

111
112
113
114
115
2004-09-13  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.c: simulate the behaviour of GNU gettext and
	look at the LANGUAGE environment variable if the locale is not "C".

116
117
118
119
120
2004-09-13  Simon Budig  <simon@gimp.org>

	* app/tools/gimpcroptool.c: Fix trailing whitespace introduced by me.
	/me hides embarrassed in a corner...   :)

Simon Budig's avatar
Simon Budig committed
121
122
123
124
2004-09-13  Simon Budig  <simon@gimp.org>

	* app/tools/gimpcroptool.c: Fix warnings and coding style.

125
126
127
128
129
2004-09-12  Nathan Summers  <rock@gimp.org>

	* app/tools/gimpcroptool.c: disable crop and resize buttons while the 
	operation is being processed.  Fixes #152372.

130
131
132
133
134
2004-09-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/aa.c (aa_dialog): use a combo box for format
	selection.

135
136
137
138
139
2004-09-12  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppixelrgn.c: fixed gtk-doc comments, removed trailing
	whitespace.

David Odin's avatar
David Odin committed
140
141
142
143
2004-09-12  DindinX  <david@dindinx.org>

	* libgimp/gimppixelrgn.c: some more fixes by nomis.

144
145
146
147
148
2004-09-12  DindinX  <david@dindinx.org>

	* libgimp/gimppixelrgn.c: nomis helped me to make some correction to
	the documentation.

David Odin's avatar
David Odin committed
149
150
151
152
2004-09-12  DindinX  <david@dindinx.org>

	* libgimp/gimppixelrgn.c: more documentation.

153
154
155
156
157
158
159
160
2004-09-11  DindinX  <david@dindinx.org>

	* plug-ins/common/edge.c: added a default value (TRUE) for the
	update_preview toggle.

	* plug-ins/common/wind.c: ported to GimpPreviewArea, so the preview is
	much more useful now.

161
162
163
164
165
2004-09-11  DindinX  <david@dindinx.org>

	* libgimp/gimppixelrgn.c: added some gtk-doc documentation to pixel
	region related functions. (work in progress)

166
167
168
169
170
171
172
173
174
175
176
177
178
2004-09-11  Simon Budig  <simon@gimp.org>

	* app/widgets/gimpdialogfactory.[ch]: Added boolean parameter to
	gimp_dialog_factories_toggle to make it possible to ensure a visible
	toolbox.
	
	* app/actions/dialogs-commands.c: Use the new parameter to ensure
	toolbox visibility after the last image window closes.

	* app/display/gimpdisplayshell-callbacks.c: Changed accordingly.

	Fixes bug #137057 (the discussion is in bug #152285)

179
180
181
182
183
2004-09-11  DindinX  <david@dindinx.org>

	* plug-ins/common/edge.c: ported to GimpPreviewArea. 100 less lines of
	code and much more features!

184
185
186
187
2004-09-11  DindinX  <david@dindinx.org>

	* plug-ins/common/oilify.c: some code cleanup and small optimisations.

Sven Neumann's avatar
Sven Neumann committed
188
189
190
191
2004-09-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/xpm.c (query): fixed spelling.

192
193
194
195
2004-09-10  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* app/widgets/gimperrorconsole.c: fix typo

196
197
198
199
200
2004-09-10  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorselect.c: untabified, removed useless
	inclusion of <gdk/gdkkeysyms.h>.

201
202
203
204
205
2004-09-10  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorselect.c: ported to GimpPreviewArea.
	Destroy the GdkGC in unrealize() instead of in finalize().

206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
2004-09-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview-dnd.c
	(gimp_container_tree_view_drop_status): always call
	gdk_drag_status() before returning FALSE.

	(gimp_container_tree_view_drag_motion): never return FALSE, an
	impossible drop location is now reported by calling
	gdk_drag_status() above. Always returning TRUE makes sure
	gimp_container_tree_view_drag_leave() is called unconditionally
	and can remove the scroll_timeout set in drag_motion().

	Fixes bug #152193 and many other obscure DND crashes caused by the
	scroll_timeout being invoked after the widget is destroyed.

221
222
223
224
225
2004-09-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/xpm.c: improved PDB blurb and help. Very loosely
	based on a patch attached to bug #151912.

226
227
228
229
230
231
232
233
234
235
236
237
238
239
2004-09-10  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_thumb):
	also handle GRAY and GRAYA thumbnails.

	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/image.pdb: corrected documentation for
	_gimp_drawable_thumbnail() and _gimp_image_thumbnail().

	* app/pdb/drawable_cmds.c
	* app/pdb/image_cmds.c
	* libgimp/gimpdrawable_pdb.c
	* libgimp/gimpimage_pdb.c: regenerated.

240
241
242
243
244
2004-09-10  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.c: fixed positioning of the
	navigation marker and handling of motion events.

245
246
247
248
249
2004-09-10  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.c
	* libgimpwidgets/gimppreviewarea.c: documented new functions.

250
251
252
253
254
255
2004-09-09  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.c
	* libgimpwidgets/gimppreview.[ch]: added a navigation popup
	similar to the one in the image window. Needs some more work.

256
257
258
259
260
261
262
263
2004-09-09  DindinX  <david@dindinx.org>

	* libgimpwidgets/gimppreviewarea.c: added a utility function
	gimp_preview_area_queue_draw(), which queue the right part of the
	preview to be redrawn. And use it in all the drawing functions. This
	fix a problem where the preview wasn't updated correctly after a
	resize.

264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
2004-09-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/cartoon.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/gauss.c
	* plug-ins/common/grid.c
	* plug-ins/common/neon.c
	* plug-ins/common/noisify.c
	* plug-ins/common/photocopy.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/spread.c
	* plug-ins/common/struc.c
	* plug-ins/common/unsharp.c: pack all drawable previews expanding.
	Also did some general cleanups like consistently naming the dialog
	variable "dialog" and the main vbox "main_vbox".

283
284
285
286
287
2004-09-09  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: right-align the preview for RTL
	layouts.

288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
2004-09-09  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.[ch]: allow to set a maximum size
	and center the preview area if its allocation extends the maximum.

	* libgimpwidgets/gimppreview.[ch]: derive from GtkVBox, moved the
	toggle button out of the table and put the table into an aspect
	frame. Added an API to set the preview boundaries. Set the maximum
	size of the GimpPreviewArea from that function.

	* libgimpwidgets/gimpwidgets.def: added new entries.

	* libgimp/gimpdrawablepreview.c: use gimp_preview_set_bounds().

	* plug-ins/common/gauss.c: pack the preview widget so that it
	resizes with the dialog.

305
306
307
308
309
310
2004-09-09  DindinX  <david@dindinx.org>

	* libgimpwidgets/gimppreviewarea.c (gimp_preview_area_blend)
	(gimp_preview_area_mask): optimized the case where both buffers have
	the same alpha for a given pixel.

311
312
313
314
315
316
317
318
319
320
2004-09-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpviewrendererbrush.c
	* app/widgets/gimpviewrendererdrawable.c
	* app/widgets/gimpviewrenderergradient.c
	* app/widgets/gimpviewrendererimage.c
	* app/widgets/gimpviewrendererimagefile.c
	* app/widgets/gimpviewrendererlayer.c
	* app/widgets/gimpviewrenderervectors.c: purely cosmetic cleanup.

321
322
323
324
325
326
2004-09-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppdbdialog.c (gimp_pdb_dialog_constructor): use
	g_type_name(dialog_type) instead of just "pdb dialog" as name for
	the dialog's private context.

327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
2004-09-09  Michael Natterer  <mitch@gimp.org>

	* app/gui/convert-dialog.[ch] (convert_dialog_new): changed
	GimpDisplay* parameter to GimpProgress* because that's what it's
	used for.

	* app/actions/image-commands.c (image_convert_cmd_callback):
	changed accordingly.

	* app/gui/convert-dialog.c: massively cleaned up internals. Use a
	GimpViewableButton + GimpContainerEntry combo as in text options
	for selecting the custom palette. Use a filtered container which
	contains only palettes with a maximum of 256 colors.
	Fixes bug #136574

342
343
344
345
346
347
348
349
350
351
352
353
354
355
2004-09-09  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-open-location-dialog.[ch]: changed
	file_open_location_dialog_show() to
	file_open_location_dialog_new() and return the dialog.

	* app/gui/dialogs.c
	* app/gui/dialogs-constructors.[ch]: added a constructor for it
	and let the dialog factory manage it entirely.

	* app/actions/file-commands.c
	(file_open_location_dialog_cmd_callback): use the dialog factory
	to create it.

356
357
358
359
360
361
362
363
364
365
366
367
2004-09-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdialogfactory.c
	(gimp_dialog_factory_dialog_new_internal): renamed parameter
	"gboolean raise_if_found" to "return_existing" and added
	additional parameter "gboolean present".

	(gimp_dialog_factory_dialog_new)
	(gimp_dialog_factory_dialog_raise)
	(gimp_dialog_factory_dockable_new): pass both parameters (passing
	"present" as "raise_if_found" was not quite correct).

David Odin's avatar
David Odin committed
368
369
370
371
2004-09-08  DindinX  <david@dindinx.org>

	* libgimpwidgets/gimppreviewarea.c: fixed a stupid typo.

Sven Neumann's avatar
Sven Neumann committed
372
373
374
375
376
2004-09-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.c (gimp_preview_area_fill):
	optimized solid color fills.

377
378
379
380
381
2004-09-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.c: factored out common code.
	Reduced indentation level by closing a switch earlier.

382
383
2004-09-08  DindinX  <david@dindinx.org>

384
	* libgimpwidgets/gimppreviewarea.c: (gimp_preview_area_blend)
385
386
387
	use gimp_preview_area_draw when the opacity is 0 or 255, instead of
	duplicating code.

Sven Neumann's avatar
Sven Neumann committed
388
389
2004-09-07  Sven Neumann  <sven@gimp.org>

Sven Neumann's avatar
Sven Neumann committed
390
391
	* libgimpwidgets/gimpwidgets.def: added new entries.

Sven Neumann's avatar
Sven Neumann committed
392
393
	* libgimpwidgets/test-preview-area.c: fit output into 80 columns.

Sven Neumann's avatar
Sven Neumann committed
394
395
396
	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw): some
	code cleanup.

397
398
399
400
401
2004-09-07  DindinX  <david@dindinx.org>

	* libgimpwidgets/test-preview-area.c: added some tests for
	gimp_preview_area_blend() and gimp_preview_area_mask().

402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
2004-09-07  DindinX  <david@dindinx.org>

	* libgimpwidgets/gimppreviewarea.c
	* libgimpwidgets/gimppreviewarea.h: added two functions:
	gimp_preview_area_blend() to draw the blending of two buffers with
	an opacity parameter, and gimp_preview_area_mask() to draw the
	blending of two buffers, with a mask buffer. The code still needs some
	polish, though.

	* libgimp/gimpdrawablepreview.c
	* libgimp/gimpdrawablepreview.h: use gimp_preview_area_mask() in
	gimp_drawable_preview_draw(), so the previews are now much more
	accurate (respecting the selection, if any).

	Also made the buf parameter of gimp_drawable_preview_draw() a pointer
	to constants.

419
420
421
422
423
424
425
2004-09-07  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-draw.c
	(gimp_display_shell_draw_grid): #define the constant crosshair
	size for the INTERSECTION grid style instead of using an eeky
	"const gint".

426
427
428
429
430
431
432
433
2004-09-07  Michael Natterer  <mitch@gimp.org>

	* app/gui/dialogs.c (toplevel_entries): added a foreign entry
	"gimp-file-open-loaction-dialog".

	* app/gui/file-open-location-dialog.c: register the dialog
	with the toplevel dialog factory so it remembers its position.

434
435
436
437
438
439
440
441
442
443
2004-09-07  Michael Natterer  <mitch@gimp.org>

	* app/actions/context-actions.c
	* app/actions/context-commands.[ch]: applied a heavily modified
	patch from David Gowers which adds actions to modify the context's
	paint_mode. Fixes bug #151471.

	* menus/image-menu.xml.in: added them to the (commentd out)
	"Context" submenu.

444
445
446
447
448
449
2004-09-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/edge.c: indentation and whitespace cleanup.

	* plug-ins/common/struc.c: minor coding style issues.

450
451
452
453
454
455
456
2004-09-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xwd.c (query): applied patch from Alan Horkan
	which improves the blurb and help texts. Fixes bug #151912.

	Unrelated: did coding style / indentation cleanup in the whole file.

457
458
459
460
461
2004-09-07  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_set_uri):
	simplified the code that selects an image file by its URI.

462
463
464
465
466
467
2004-09-07  Simon Budig  <simon@gimp.org>

	* app/widgets/gimpviewrendererbrush.c: Added an indicator for
	generated brushes. Pretty straightforward, suggestions for
	improvements are welcome.

David Odin's avatar
David Odin committed
468
469
470
471
2004-09-06  DindinX  <david@dindinx.org>

	* plug-ins/common/struc.c: added a preview.

472
473
474
475
476
477
478
479
2004-09-06  Simon Budig  <simon@gimp.org>

	* app/tools/gimpcroptool.c: reordered info_dialog_hide() and
	crop_tool_crop_image(), which avoids the repeated popping up
	of the info dialog and avoids a crash.

	Fixes bug #151712

480
481
482
483
484
485
486
2004-09-05  DindinX  <david@dindinx.org>

	* plug-ins/common/cartoon.c: use gimp_preview_invalidate() where
	appropriate.

	* plug-ins/common/photocopy.c: Added a preview.

Sven Neumann's avatar
Sven Neumann committed
487
488
489
490
491
492
493
2004-09-05  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 2.1.5.
	
	* app/widgets/gimpfiledialog.c (gimp_file_dialog_set_uri): select
	the image file, not only the folder it lives in. Fixes bug #151638.

David Odin's avatar
David Odin committed
494
495
496
497
2004-09-05  DindinX  <david@dindinx.org>

	* plug-ins/common/cartoon.c: Added a preview.

498
499
500
501
502
503
504
2004-09-05  Simon Budig  <simon@gimp.org>

	* plug-ins/common/autocrop.c: fix handling of layers with an
	offset. Resize the image before cropping when the covered area
	of a layer is partially outside the image area. Make math more
	comprehensible.

505
506
507
508
509
510
511
2004-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/convmatrix.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/flame/flame.c: renamed functions from doit() to
	something less silly.

Sven Neumann's avatar
Sven Neumann committed
512
513
514
515
2004-09-05  Sven Neumann  <sven@gimp.org>

	* Made 2.1.4 release.

516
517
518
519
520
2004-09-05  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/image.pdb: improved documentation for
	gimp_image_resize_to_layers

521
	* libgimp/gimp.def: added gimp_image_resize_to_layers
522
523
524
525

	* app/pdb/image_cmds.c
	* libgimp/gimpimage_pdb.c: regenerated

526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
2004-09-05  Simon Budig  <simon@gimp.org>

	* app/core/gimpimage-resize.[ch]: Implement function to resize
	the image to contain all layers completely. Untabified.

	* app/actions/image-actions.c
	* app/actions/image-commands.[ch]
	* app/widgets/gimphelp-ids.h
	* menus/image-menu.xml.in: Make it available in the GUI.

	* tools/pdbgen/pdb/image.pdb: Make it available in the PDB.

	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpimage_pdb.[ch]: regenerated.

David Odin's avatar
David Odin committed
542
543
544
545
2004-09-04  DindinX  <david@dindinx.org>

	* plug-ins/common/noisify.c: ported to GimpDrawablePreview.

546
547
548
2004-09-04  Michael Schumacher <schumaml@cvs.gnome.org>

	* libgimp/gimp.def
549
550
551
	* libgimpbase/gimpbase.def
	* libgimpwidgets/gimpwidgets.def: added the check(erboard) related
	entries
552

553
554
555
556
557
558
559
2004-09-04  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.[ch]: pass a GdkEventButton to
	gimp_preview_area_menu_popup().

	* libgimpwidgets/gimppreview.c: implement GtkWidget::popup_menu().

560
561
562
563
564
565
2004-09-04  DindinX  <david@dindinx.org>

	* libgimpwidgets/gimppreview.c: Changed the way we attach the preview
	area frame to the table so very small drawables don't cause a
	malicious bug.

David Odin's avatar
David Odin committed
566
567
568
569
2004-09-04  DindinX  <david@dindinx.org>

	* plug-ins/common/sel_gauss.c: ported to GimpDrawablePreview.

David Odin's avatar
David Odin committed
570
571
572
573
2004-09-04  DindinX  <david@dindinx.org>

	* plug-ins/common/sharpen.c: ported to GimpDrawablePreview.

574
575
576
577
578
579
580
2004-09-03  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.[ch]: added
	gimp_preview_area_menu_popup(). Not completely finished yet...

	* libgimpwidgets/gimppreview.c: use the new function.

581
582
583
584
585
586
587
588
2004-09-03  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_set_drawable):
	take care of setting the colormap for indexed drawables.

	* libgimpwidgets/gimppreview.c (gimp_preview_area_event): pan with
	the first mouse button only. We will need the other buttons.

Sven Neumann's avatar
Sven Neumann committed
589
590
591
592
2004-09-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c: ported to GimpDrawablePreview.

Sven Neumann's avatar
Sven Neumann committed
593
594
595
596
597
598
599
2004-09-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plasma.c (plasma_dialog): left-align the preview.

	* plug-ins/common/grid.c (dialog): pack the preview as in other
	plug-in dialogs and embed it into a GtkFrame.

600
601
602
603
604
2004-09-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdevicestatus.c: removed "Configure input
	devices" button. Fixes bug #150177.

605
606
607
608
609
610
611
2004-09-03  Simon Budig  <simon@gimp.org>

	* app/gui/info-window.c: Applied modified patch by Kevin Cozens
	that implements a "Comments" tab in the image info dialog.

	Fixes bug #151719.

612
613
614
615
616
2004-09-03  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.c (CHECK_COLOR): swapped light
	and gray checks to get a checkerboard that matches the image window.

617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
2004-09-03  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpprotocol.h (struct _GPConfig): replaced the
	never used "gdouble gamma" with 8 reserved gint8 and stuffed two
	gint8 behind "gint8 show_tool_tips" where they fit in in a binary
	compatible way due to 32bit aligning of the following "gint32
	min_colors". Use the latter ones for "check_size" and
	"check_type".

	* libgimpbase/gimpprotocol.c (_gp_config_read,write): changed
	accordingly to pass the new stuff over the wire.

	* app/plug-in/plug-in-run.c: ditto. Pass the transpareny values
	from GimpDisplayConfig to plug-ins.

	* libgimp/gimp.[ch] (gimp_config): remember the new config values.
	(gimp_check_size,type): new functions returning the new config values.

	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_init):
	use the new values to configure preview->area accordingly.

638
639
640
641
642
643
644
645
646
647
648
649
2004-09-03  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpchecks.h
	* libgimpbase/gimplimits.h: moved check size and check color
	defines. It makes a lot more sense to keep them in gimpchecks.h.

	* libgimpbase/gimpchecks.c (gimp_checks_get_shades): documented.

	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw):
	added a sanity check so we don't crash if the drawable pointer
	should ever be NULL here.

650
651
652
653
654
655
656
657
658
659
660
661
2004-09-02  Helvetix Victorinox  <helvetix@gimp.org>

	* app/composite/gimp-composite-*test.c: a regression test now
	iterates over 8388625 pixels per pass.

	* app/composite/gimp-composite-mmx.c
	* app/composite/gimp-composite-sse.c
	* app/composite/gimp-composite-sse2.c:
	Ensured that a clobbered condition code register is reflected in
	the clobbered register list for each asm() statement.
	This should FIX bug #147013.

662
663
664
665
666
667
668
669
670
671
2004-09-03  Sven Neumann  <sven@gimp.org>

	* libgimpbase/Makefile.am
	* libgimpbase/gimpchecks.[ch] added gimp_checks_get_shades().

	* app/base/temp-buf.c
	* app/display/gimpdisplayshell-render.c
	* libgimpwidgets/gimppreviewarea.c: use the new function instead
	of replicating these numbers in three different places.

672
673
674
675
676
677
678
2004-09-03  DindinX  <david@dindinx.org>

	* plug-ins/gimpressionist/*.c: made the code much more readable by
	applying the gimp's coding standard (intentation, space, etc.), and
	remove the GTK_DISABLE_DEPRECATED warnings, since these files don't use
	any deprecated stuff anymore.

679
680
681
682
683
684
685
2004-09-02  Michael Schumacher <schumaml@cvs.gnome.org>

	* libgimp/gimpui.def
	* libgimpbase/gimpbase.def
	* libgimpwidgets/gimpwidgets.def: added the preview and progress
	related entries  

686
687
688
689
690
691
692
693
694
695
696
2004-09-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/neon.c
	* plug-ins/common/noisify.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/spread.c
	* plug-ins/common/unsharp.c: fixed various coding style and naming
	issues and added some missing signal connections to update the new
	previews.

697
698
699
700
701
702
703
2004-09-02  DindinX  <david@dindinx.org>

	* plug-ins/common/despeckle.c: don't assume the preview has always the
	same size, and do the memory allocation in preview_update(). As a side
	effect, this fix a segfault :-).  Also save the preview toggle state
	between invocations.

704
705
706
707
708
709
710
711
2004-09-02  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c (check_combos): light and
	dark check color were swapped for GIMP_CHECK_TYPE_GRAY_CHECKS.

	* libgimpwidgets/gimppreviewarea.[ch]: added "check-size" and
	"check-type" properties and draw the checkerboard accordingly.

712
713
714
715
716
717
718
719
720
721
722
723
724
2004-09-02  Sven Neumann  <sven@gimp.org>

	* app/base/base-enums.[ch]
	* libgimpbase/gimpbaseenums.[ch]: moved GimpCheckSize and
	GimpCheckType enums to libgimpbase. Correctly prefix the enum
	values.

	* app/base/temp-buf.c
	* app/config/gimpdisplayconfig.c
	* app/display/gimpdisplayshell-render.c
	* app/pdb/fileops_cmds.c
	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.

725
726
727
728
729
730
731
732
733
2004-09-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_ok)
	* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
	use a GString for assembling the commands string instead of
	g_sprintf()ing into a buffer. Removes the need for a separate loop
	over all args to determine the buffer's length and makes the
	remaining code smaller and more readable.

734
735
736
737
738
739
740
741
742
2004-09-02  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: made gimp_preview_draw() public,
	added some gtk-doc comments.
	(gimp_preview_toggle_callback): immidiately invalidate the preview.
	
	* plug-ins/common/gauss.c (gauss): fixed (and simplified) handling
	of zero radii by using the new GimpPreview API.

743
744
2004-09-01  Helvetix Victorinox  <helvetix@gimp.org>

745
746
747
748
749
	* app/composite/gimp-composite-mmx.[ch]: Added
	gimp_composite_addition_va8_va8_va8_mmx().

	* app/composite/make-installer.py: Regression tests now include
	printing the image type for each test.
750

751
752
753
754
755
	* app/composite/gimp-composite-mmx-test.c
	* app/composite/gimp-composite-regression.c
	* app/composite/gimp-composite-sse-test.c
	* app/composite/gimp-composite-sse2-test.c
	* app/composite/gimp-composite-x86.h: regenerated.
756

757
758
759
760
761
762
763
764
765
766
2004-09-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/borderaverage.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/diffraction.c
	* plug-ins/common/illusion.c
	* plug-ins/common/polar.c
	* plug-ins/common/ripple.c
	* plug-ins/common/spread.c
	* plug-ins/common/video.c: don't pass run_mode to
767
	gimp_rgn_iterator_new(), it's unused. Removes the need for it being
768
769
	a global variable.

770
771
772
773
774
775
2004-09-01  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplay.c
	* app/widgets/gimpprogressdialog.c: gracefully handle progress
	calls after the widget is destroyed. Re-fixes bug #150194.

776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
2004-09-01  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.[ch]
	* libgimpwidgets/gimppreview.[ch]: always show the "Preview" check
	button. Simplified the preview APIs, moved the "size" style
	property to the GimpPreview class.

	* etc/gtkrc: changed the example accordingly.

	* plug-ins/common/despeckle.c
	* plug-ins/common/gauss.c
	* plug-ins/common/neon.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/spread.c
	* plug-ins/common/unsharp.c: follow change in GimpDrawablePreview API.

793
794
2004-09-01  Michael Natterer  <mitch@gimp.org>

795
	* plug-ins/script-fu/script-fu-types.h (struct SFOption): changed
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
	"guint history" to "gint history".

	* plug-ins/script-fu/script-fu-interface.c: added callbacks for
	string entries and combo boxes and connect *all* widgets to callbacks.

	(script_fu_ok): don't touch the widgets at all but get the values
	directly now that the callbacks correctly write them to their
	structs.

	(script_fu_reset): don't copy the default values manually but
	simply set the default values on the widgets; their callbacks will
	do the rest.

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	added some line breaks and spaces to make it more readable.

812
813
814
815
816
817
818
819
820
821
2004-09-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/Makefile.am
	* libgimp/gimpui.h
	* libgimp/gimpuitypes.h
	* libgimp/gimpprogressbar.[ch]: new widget GimpProgressBar which
	automatically redirects any progress calls to itself while
	it exists.

	* plug-ins/script-fu/script-fu-interface.c: removed all progress
822
	callbacks and simply use a GimpProgressBar.
823

824
825
826
827
828
829
830
831
2004-09-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: set a busy cursor while the
	preview is being recalculated.

	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_original):
	do nothing if there's no drawable.

832
833
2004-09-01  Sven Neumann  <sven@gimp.org>

834
835
836
	* libgimpwidgets/gimppreviewarea.c (CHECK_COLOR): oops, swapped x
	and y variables.

837
838
	* libgimpwidgets/gimppreview.c: some minor changes, mainly cleanup.

839
840
841
842
843
844
845
846
847
848
849
850
2004-09-01  Manish Singh  <yosh@gimp.org>

	* plug-ins/pygimp/gimpfu.py
	* plug-ins/pygimp/gimpmodule.c: Hacked up support for the new
	progress interface. Emphasis on hacked.

	* plug-ins/pygimp/gimpmodule.c: Wrapped gimp_extension_enable(). Minor
	cleanups.

	* plug-ins/pygimp/pygimp-image.c
	* plug-ins/pygimp/pygimp-tile.c: Minor cleanups.

851
852
853
854
855
856
2004-08-31  Manish Singh  <yosh@gimp.org>

	* plug-ins/pygimp/plug-ins/gimpcons.py
	* plug-ins/pygimp/plug-ins/pdbbrowse.py: remove deprecated mainloop
	calls.

857
858
859
2004-09-01  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.c: increased default preview size to
Sven Neumann's avatar
Sven Neumann committed
860
	150 pixels. Added a border of 2 pixels around the bounding box of
861
862
863
864
865
866
	the selection.

	* libgimpwidgets/gimppreview.[ch]: only show the GDK_FLEUR cursor
	if there's something to pan. Set the correct page size on the
	scrollbar adjustments.

867
868
869
870
871
872
873
874
2004-09-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.[ch]: added new function
	gimp_preview_area_set_offsets().

	* libgimpwidgets/gimppreview.c: use the new function to let the
	checkerboard scroll with the preview.

875
876
877
878
879
880
881
882
883
2004-09-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: delay the emission of the
	"invalidated" signal using a timeout. Removed hack that used to
	invalidate the preview on button-release.
	
	* plug-ins/common/unsharp.c: no need to fiddle with the slider
	update policies any longer.

884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
2004-09-01  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdialogfactory.[ch]: added a boolean parameter to
	gimp_dialog_factory_dialog_new() to let the caller decide whether
	the window should be presented or not.

	* app/actions/dialogs-commands.c
	* app/actions/image-commands.c
	* app/actions/templates-commands.c
	* app/gui/gui-vtable.c
	* app/gui/gui.c
	* app/widgets/gimpsessioninfo.c: changed accordingly. Do not let
	gimp_dialog_factory_dialog_new() present the dialog if we need to
	change it after creation. This avoids annoying resizes, noticeable
	especially with the error dialog.

900
901
902
903
904
2004-08-31  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.c
	* libgimp/gimpdrawablepreview.c: converted tabs to spaces.

905
906
907
908
909
910
911
2004-08-31  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.c: added a style property for the
	minimum size.

	* etc/gtkrc: show how to adjust the size of GimpDrawablePreviews.

912
913
914
915
916
917
2004-08-31  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdatafactoryview.c
	(gimp_data_factory_view_activate_item): emit "clicked" on the
	edit_button only if it exists and is sensitive. Fixes bug #151343.

918
919
920
921
922
2004-08-31  Manish Singh  <yosh@gimp.org>

	* app/plug-in/plug-in.c (plug_in_open): cast plug_in_recv_message
	to GSourceFunc.

923
924
925
926
927
928
929
930
2004-08-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.c: handle the widget size dynamically.
	Hide scrollbars when there's nothing to scroll.

	* libgimp/gimpdrawablepreview.c: simplified a lot. The scrollbars
	are handled completely in the GimpPreview widget now.

931
932
933
934
935
2004-08-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.c: removed the hardcoded preview size,
	removed some redundant assertions.

936
937
938
939
940
941
942
943
944
945
946
947
948
2004-08-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.[ch]: removed the GUI code...
	Also did some minor cleanups.

	* plug-ins/script-fu/script-fu-interface.[ch]: ...and added it here.

	* plug-ins/script-fu/script-fu-types.h: new file keeping the
	various struct defs needed by both the above files.

	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/siod-wrapper.c: changed accordingly.

949
950
951
952
953
2004-08-31  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppreview.c (gimp_preview_toggle_callback):
	notify the "update" property on the preview, not the toggle.

954
955
956
957
958
2004-08-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.c: allow to pan the preview with all
	mouse buttons. Set a cursor to indicate that panning is possible.

959
960
961
962
963
964
2004-08-31  DindinX  <david@dindinx.org>

	* libgimpwidgets/gimppreview.c
	* libgimpwidgets/gimppreview.h: renamed the "updated" signal to
	"invalidated" and the confusing "update" virtual function to "draw".

965
	Gave the properties saner names, too.
966
967

	Removed _get_width and _get_height functions in favor of a _get_size
968
	one.
969

970
	Added gimp_preview_invalidate function that emits the "invalidated"
971
972
973
974
975
976
977
978
979
980
981
982
983
984
	signal if needed.

	* libgimp/gimpdrawablepreview.c
	* libgimp/gimpdrawablepreview.h: modified accordingly and fixed the
	scrollbar range.

	* plug-ins/common/despeckle.c
	* plug-ins/common/gauss.c
	* plug-ins/common/neon.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/spread.c
	* plug-ins/common/unsharp.c: modified accordingly.

985
986
987
988
989
990
2004-08-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: removed the script title
	label and moved the "About" button to the action_area. Minor
	cleanups.

991
992
993
994
995
996
997
998
999
1000
2004-08-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-transform.[ch]: added GimpProgress
	parameter to gimp_drawable_transform_affine().

	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: show progress for "blend"
	and all transform functions.

	* app/pdb/edit_cmds.c
For faster browsing, not all history is shown. View entire blame