ChangeLog 903 KB
Newer Older
Tor Lillqvist's avatar
Tor Lillqvist committed
1
2
3
4
5
6
7
8
9
10
2002-12-26  Tor Lillqvist  <tml@iki.fi>

	* app/Makefile.am (EXTRA_DIST): Drop makefile.mingw{,.in}.

	* libgimp/gimp.c: Define LIBGIMP_COMPILATION.
	(gimp_main) [Win32] Use g_ascii_strcasecmp().

	* libgimp/gimp.def: Add _readchannel (used by libgimpui).

	* libgimp/gimp.h: Fix minor typo in comment
11

12
	* libgimpproxy/Makefile.am
Tor Lillqvist's avatar
Tor Lillqvist committed
13
14
15
16
17
18
	* libgimptool/Makefile.am
	* libgimp/Makefile.am: Similar additions for Win32 as in the other
	libgimp*/Makefile.am files: Use -no-undefined. Conditionally link
	to ../lib*/*.la as needed. Use the .def file. Produce MS style
	import library if possible. Install and uninstall import
	libraries. Don't distribute makefile.mingw{,.in}.
19

20
21
22
23
24
25
26
27
	* libgimpproxy/gimpproxy.def
	* libgimptool/gimptool.def: New files.

	* libgimptool/glue.c: New file. Used on Win32 to be able to link
	at run-time against entries in the main executable that has loaded
	the libgimptool DLL. (If I understand correctly how things are
	supposed to work, this will be either gimp.exe or
	tool-safe-mode.exe, but that doesn't matter.)
28

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
2002-12-23  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* libgimp/gimpmiscui.c (gimp_fixme_preview_new): make sure preview
	structure is correctly initialized.

	* libgimp/gimpmisc.[ch] (gimp_pixel_fetcher_put_pixel): added new
	routine to gimpmisc.

2002-12-23  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/common/plasma.c: better use of libgimp routines, code
	clean-up

	* plug-ins/common/grid.c (doit): fixed small problem in preview when
	displaying images with an alpha channel.

	* plug-ins/Lighting/lighting_main.c (run): fixed #81479 ("Repeat Last" 
	incorrectly enabled if Lighting Effects plug-in is cancelled)

48
49
50
51
52
53
54
55
56
57
2002-12-23  Tor Lillqvist  <tml@iki.fi>

	* configure.in: When bulding with GCC for Win32, use either
	-fnative-struct or -mms-bitfields depending on GCC version. Don't
	output the build/.../Makefiles, the build subdir isn't needed here
	any longer (see 2001-02-17 entry by Hans Breuer). Don't output the
	*/makefile.mingw as they are seriously obsolete anyway.

	* Makefile.am (SUBDIRS): Remove build subdir here, too.

Tor Lillqvist's avatar
Tor Lillqvist committed
58
	* libgimpcolor/Makefile.am (EXTRA_DIST)
Tor Lillqvist's avatar
Tor Lillqvist committed
59
60
	* libgimpmath/Makefile.am (EXTRA_DIST)
	* libgimpbase/Makefile.am (EXTRA_DIST): Drop makefile.mingw{,.in}.
Tor Lillqvist's avatar
Tor Lillqvist committed
61

62
63
64
	* libgimpmodule/Makefile.am (INCLUDES): Add GMODULE_CFLAGS.
	(LIBADD): Add GMODULE_LIBS.

65
66
67
68
69
70
71
72
73
74
75
76
77
	* libgimpwidgets/Makefile.am: Similar additions for Win32 as in
	the other libgimp*/Makefile.am files: Use -no-undefined. Use the
	.def file. Produce MS style import library if possible. Install
	and uninstall import libraries.
	(AM_CPPFLAGS) Define LT_RELEASE and LT_CURRENT_MINUS_AGE.
	(libgimpwidgets_1_3_la_sources) Include libgimp-glue.c

	* libgimpwidgets/libgimp-glue.c: Bypass whole file unless Win32.
	(dynamic_resolve): Try both the libtool style DLL name and Hans
	Breuer's naming scheme.
	(gimp_*) Replace duplicated code snippets with calls of a
	preprocessor macro.

Maurits Rijk's avatar
Maurits Rijk committed
78
79
80
81
82
83
84
85
86
2002-12-21  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/imagemap/imap_csim.l: add "<string.h> to remove warning.

	* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated 

	* plug-ins/imagemap/imap_csim.y: fix for #97776 (Imagemap can't read 
	CSIM files after itself)

87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
2002-12-20  Sven Neumann  <sven@gimp.org>

	* app/config/Makefile.am
	* app/config/gimpconfig-blurbs.h: removed ...
	
	* app/config/gimprc-blurbs.h: ... and readded under this
	name. Should have never been named with a gimpconfig prefix since
	it's not part of the generic GimpConfig system.

	* app/config/config-types.h
	* app/config/gimpbaseconfig.c
	* app/config/gimpconfig-dump.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpdisplayconfig.c
	* app/config/gimpguiconfig.c: changed accordingly.

Michael Natterer's avatar
Michael Natterer committed
103
104
105
106
2002-12-20  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf.c: use G_N_ELEMENTS().

Sven Neumann's avatar
Sven Neumann committed
107
108
109
110
111
2002-12-20  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig.c (gimp_config_serialize): check the return
	value of close().

112
113
114
115
2002-12-20  Nathan Summers  <rock@gimp.org>

	* app/xcf/xcf-write.[ch]
	* app/xcf/xcf-save.c
Sven Neumann's avatar
Sven Neumann committed
116
117
118
	* app/xcf/xcf.c: ported the fix for bug #101340 over from the
	stable branch.  Uses GError to report errors, unlike the stable
	version, which uses a pointer to gboolean.
Michael Natterer's avatar
Michael Natterer committed
119

Sven Neumann's avatar
Sven Neumann committed
120
121
	* app/xcf/xcf-seek.[ch]: check the return value of fseek and ftell
	for errors.  Return FALSE and set GError if an error is detected.
122
123
124
125
126
127
128

	* app/xcf/xcf-load.c: since the xcf-seek functions use GError now,
	added a NULL for the error parameter.  Added basic error checking
	on the return value of the xcf-seek functions.  In the future,
	changing xcf-load.c to use GError more completely should be
	considered.

129
130
2002-12-19  Maurits Rijk  <lpeek.mrijk@consunet.nl>

Sven Neumann's avatar
Sven Neumann committed
131
	* plug-ins/common/grid.c: replaced preview code by calls to libgimp
132

Sven Neumann's avatar
Sven Neumann committed
133
134
135
	* plug-ins/imagemap/imap_file.c
	* plug-ins/imagemap/imap_menu.c: use g_file_test funcs to test if
	a file already exists instead of a call to fstat().
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151

2002-12-19  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/common/wind.c (dialog_box)
	* plug-ins/common/nova.c (nova_center_create)
	* plug-ins/common/max_rgb.c (dialog)
	* plug-ins/common/jigsaw.c (dialog_box)
	* plug-ins/common/flarefx.c (flare_center_create)
	* plug-ins/common/illusion.c
	* plug-ins/common/glasstile.c: add parameter to call to 
	gimp_fixme_preview_new

	* libgimp/gimpmiscui.[ch] (gimp_fixme_preview_new): Added boolean
	parameter has_frame to put the preview into a frame. Preview now
	also handles indexed images correctly.

152
153
154
155
2002-12-19  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorscales.c: mark "Scales" for translation.

156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
2002-12-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch]: added utility functions
	gimp_get_mod_name_[shift|control|alt]() and gimp_get_mod_separator()
	which get the translated strings for "Shift", "Ctrl", "Alt" and "+"
	from GtkAccelLabelClass to force consistency between menu
	accelerators and other modifiers displayed in the GUI.
	Made the format string to display the modifier ("<%s>")
	translatable separately.

	* app/gui/file-open-dialog.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimperasertool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimpmagnifytool.c
	* app/tools/gimpmovetool.c
	* app/tools/transform_options.c
	* app/widgets/gimpchannellistview.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimpitemlistview.c
	* app/widgets/gimpvectorslistview.c: use the new functions instead
	of hardcoding the modifier names over and over again.

	* app/tools/transform_options.c: made a scale_entry out of the
	grid density spinbutton.

186
187
188
189
190
2002-12-19  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolordisplay.c (gimp_color_display_class_init):
	initialize all class members with default values.

191
192
193
194
2002-12-19  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmodule.c: use g_message/g_print consistently.

195
196
197
198
199
2002-12-19  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpdrawable.c (gimp_drawable_attch_new_parasite):
	s/drawable/drawable_ID/ to match the header.

200
201
202
203
204
205
206
207
208
209
210
2002-12-18  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c: replaced lots of "gpointer data"
	parameters of local callbacks by GimpCurvesTool* and
	GimpLevelsTool* pointers. Makes the code shorter and more
	readable. Some random cleanup.

	* app/tools/gimphistogramtool.c: fixed type of "parent_class"
	pointer.

211
212
213
214
215
216
217
218
219
220
2002-12-18  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_new): fixed
	ascii-art to match current widget hierarchy.

	* app/display/gimpdisplayshell-handlers.c: fixed typos so we
	actually connect to notify::monitor-[xy]resolution. Expose and
	flush the display in the handler so the resolution change becomes
	visible.

221
222
223
224
225
226
227
2002-12-18  Michael Natterer  <mitch@gimp.org>

	* modules/cdisplay_colorblind.c (cdisplay_colorblind_get_type)
	* modules/cdisplay_gamma.c (cdisplay_gamma_get_type)
	* modules/cdisplay_highcontrast.c (cdisplay_contrast_get_type):
	s/select_info/display_info/

228
229
230
231
232
2002-12-18  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpgradientmenu.c (gimp_gradient_select_widget): match
	the parameter name in the header to please gtk-doc.

233
234
235
236
237
238
239
240
241
242
243
244
245
246
2002-12-17  Manish Singh  <yosh@gimp.org>

	* app/core/gimpenvirontable.[ch]: added some rudimentary support
	to prepend values to existing environment variables. You can do
	"separator name=value" now. API change to gimp_environ_table_add
	for it too. Also added some error checking.

	* app/gui/gui.c: change to new above API

	* plug-ins/pygimp/Makefile.am: write ": PYTHONPATH=" out to env
	file

	* po/POTFILES.in: add gimpenvirontable.c

247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
2002-12-17  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/gimpressionist/Presets/*: changed all \010 in strings by
	\012 so that the g_strcompress/g_strescape pair now works correctly.
	
	* plug-ins/gimpressionist/sizemap.c
	* plug-ins/gimpressionist/orientmap.c: reordered Apply/Cancel/Ok
	buttons in dialogs.

	* plug-ins/gimpressionist/presets.c 
	* plug-ins/gimpressionist/paper.c 
	* plug-ins/gimpressionist/brush.c
	* plug-ins/gimpressionist/gimpressionist.[ch]: replace deprecated
	GtkList by GtkTreeView widgets.

262
2002-12-17  Maurits Rijk  <lpeek.mrijk@consunet.nl>
263
264
265
266
267
268

	* plug-ins/Lighting/lighting_ui.[ch] 
	* plug-ins/Lighting/lighting_preview.c: applied patch from Jeroen
	Lamain. Dragging of lightsource is more smoothly now plus you can 
	now also drag directional lights.

269
270
2002-12-17  Nathan Summers  <rock@gimp.org>

271
272
273
274
	* libgimp/gimpbrushmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppatternmenu.c: documented all publically visible
	functions
275

276
	* libgimp/gimpmenu.h: fixed a typo
277

Nate Summers's avatar
Nate Summers committed
278
279
2002-12-17  Nathan Summers  <rock@gimp.org>

280
281
282
	* libgimp/gimp.[ch]
	* libgimp/gimpdrawable.c
	* libgimp/gimpimage.c: added some documentation
Nate Summers's avatar
Nate Summers committed
283

284
285
286
287
2002-12-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/perl/Gimp.pm: merged fix for #84884 from stable branch.

288
289
290
291
292
293
2002-12-17  Sven Neumann  <sven@gimp.org>

	* app/main.c: merged fix for #71409 from stable branch.

	* plug-ins/common/jpeg.c: merged fix for #75398 from stable branch.

294
295
296
297
298
299
300
301
302
303
304
2002-12-17  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptransformtool.c
	* app/tools/transform_options.[ch]: replaced the totally unclear
	(to the user) way we used to calculate the number of grid lines
	from the value entered in the "Density" spinbutton by a system
	where the user has the choice between the number of grid lines to
	display and the spacing between the displayed grid lines. Replaced
	the "Show Grid" toggle by an option menu to choose the grid type
	from. (idea from drc on #gimp).

305
306
307
308
309
310
2002-12-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/spheredesigner.c: use g_ascii_dtostr() to
	serialize floats.

311
312
313
314
315
2002-12-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/ps.c (save_ps_setup): applied a patch from
	Henrik Brix Andersen <brix@gimp.org> which fixes bug #101263.

316
317
318
319
320
2002-12-16  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_colorblind.c: use scientific terms and added an
	approximation formula for tritanopia.

321
322
323
324
325
326
327
2002-12-16  Michael Natterer  <mitch@gimp.org>

	* modules/Makefile.am
	* modules/cdisplay_colorblind.c: added a display filter which will
	simulate the vision of people with color-deficiency to address
	bug #101256. Didn't know any scientific name or any correct formula,
	so I just added the framework plus the approximation formula from
328
	the bug report. Will need some more work to become useable.
329

330
331
332
333
334
2002-12-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/noisify.c (noisify_func): sorry, you can only
	declare a variable at the beginning of a block.

335
336
337
338
339
2002-12-16  Sven Neumann  <sven@gimp.org>

	* docs/Wilber_Construction_Kit.xcf.gz: more Wilber gadgets added by
	Guillermo S. Romero.

340
341
342
343
344
345
346
347
348
349
2002-12-15  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/common/displace.c
	* plug-ins/common/ripple.c
	* plug-ins/common/shift.c
	* plug-ins/common/spread.c
	* plug-ins/common/tileit.c
	* plug-ins/common/noisify.c: code clean-up, fixed memory leak,
	better use of libgimp routines.

350
351
352
2002-12-15  Sven Neumann  <sven@gimp.org>

	* app/gui/user-install-dialog.c: set text and base colors as well
Sven Neumann's avatar
Sven Neumann committed
353
354
	to make the user installation dialog work on dark themes. Fixes
	bug #86187.
355

356
357
358
359
360
2002-12-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sel_gauss.c: applied a patch from Toby Smith
	that fixes bug #90968.

Michael Natterer's avatar
Michael Natterer committed
361
362
363
364
2002-12-14  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-ins.c (plug_ins_proc_def_add): fixed a comment.

365
366
367
368
369
2002-12-14  Manish Singh  <yosh@gimp.org>

	* app/config/gimpconfig-params.c (gimp_param_memsize_get_type):
	size should be from GParamSpecULong, not GParamSpecUInt.

370
371
372
373
374
375
376
2002-12-14  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.[ch]
	(gimp_display_shell_set_menu_sensitivity): renamed paramater
	"update_popup" to "popup_only" because it's less confusing. Fixed
	the function to update the popup correctly for shell = NULL.

377
378
379
380
381
382
383
384
2002-12-14  Michael Natterer  <mitch@gimp.org>

	* app/gui/plug-in-commands.c (plug_in_repeat_cmd_callback):
	use gdisp->gimage->gimp instead of the_gimp.

	* app/tools/gimpimagemaptool.c: pass update_popup == FALSE to
	gimp_display_shell_set_menu_sensitivity().

385
386
387
388
389
390
2002-12-14  Sven Neumann  <sven@gimp.org>

	* app/gui/plug-in-commands.c (plug_in_repeat_cmd_callback): data
	is not a Gimp pointer if this function is called from an image
	menubar. Use the_gimp instead of crashing.

391
392
393
394
395
2002-12-14  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpimagemaptool.c: made it compile after Mitch's
	changes.

396
397
398
399
400
401
402
403
2002-12-14  Michael Natterer  <mitch@gimp.org>

	Changed menubar showing/hiding to work like rulers and statusbar:

	* app/config/gimpconfig-blurbs.h
	* app/config/gimpdisplayconfig.[ch]: renamed "menu_bar_per_display"
	to "show_menubar". Removed GIMP_PARAM_RESTART flag.

404
	* app/display/gimpdisplayshell.[ch]: changed shell->item_factory to
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
	shell->menubar_factory plus shell->popup_factory and always create
	both of them. Added "gboolean update_popup" to
	gimp_display_shell_set_menu_sensitivity() and call it recursively
	with update_popup == TRUE if the display it is called for is the
	active one.

	* app/display/gimpdisplay.c
	* app/display/gimpdisplayshell-callbacks.c: changed accordinly.

	* app/gui/gui.c: ditto. Set the menu sensitivity of new displays.

	* app/gui/menus.c: added "<Image>/View/Toggle Menubar" menu item.
	Moved some factory initialization code from gimpdisplayshell.c
	here.

	* app/gui/view-commands.[ch]: added
	view_toggle_menubar_cmd_callback(). Update the menu sensitivity
	manually in all callbacks which don't call gimp_image_flush().

	* app/gui/preferences-dialog.c (prefs_dialog_new): moved the "Show
	Menubar" toggle to the "Appearance" frame of the "Image Windows"
	page. Added an own frame for the display zoom/scaling settings.

	(preferences_dialog_create): Attach config_copy and config_orig
	using g_object_set_data_full() instead of just g_object_set_data()
	plus a g_object_weak_ref().

	(prefs_default_resolution_callback): set the resolution for both
	fields of the "size_sizeentry" instead of setting it for "x"
	twice.

436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
2002-12-14  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/imagemap/imap_preferences.c: make sure that undo level
	is at least 1. Fixes #97771

	* plug-ins/imagemap/imap_file.c: fixes #92750

2002-12-13  Maurits Rijk  <lpeek.mrijk@consunet.nl>
	
	* plug-ins/imagemap/imap_settings.c
	* plug-ins/imagemap/imap_source.[ch]: remove usage of deprecated
	GtkText widget

	* plug-ins/imagemap/arrow_up.xpm
	* plug-ins/imagemap/arrow_down.xpm: removed.

	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_misc.[ch]: clean-up some code since we now
	only use stock icons.

	* plug-ins/imagemap/imap_selection.c: use GTK stock icons for arrow up
	and arrow down.

	* plug-ins/imagemap/imap_default_dialog.c: code clean-up

461
2002-12-13 Sven Neumann  <sven@gimp.org>
462
463
464
465
466
467
468
469
470
471

	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/selection.pdb: merged fix for bug #96284 from
	stable branch.

	* app/pdb/drawable_cmds.c
	* app/pdb/selection_cmds.c
	* libgimp/gimpdrawable_pdb.c
	* libgimp/gimpselection_pdb.c: regenerated.

472
473
2002-12-13  Sven Neumann  <sven@gimp.org>

474
475
	* plug-ins/common/tiff.c: merged fix for #97352 from stable branch.

476
477
478
	* app/display/gimpdisplayshell.c (gimp_display_shell_shrink_wrap):
	merged fix for #79486 from stable branch.

479
480
481
482
483
484
485
2002-12-13  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpintl.h
	* libgimp/libgimp-intl.h
	* plug-ins/script-fu/script-fu-scripts.c: removed remaining usage
	of ENABLE_NLS.

486
487
488
489
490
491
492
493
494
2002-12-13  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/image.pdb: added new PDB function
	gimp_image_is_dirty() on request of Wolfgang Hofer (#77508).

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

Maurits Rijk's avatar
Maurits Rijk committed
495
496
497
498
499
500
501
502
503
2002-12-12  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/gimpressionist/color.c
	* plug-ins/gimpressionist/general.c
	* plug-ins/gimpressionist/gimpressionist.[ch]
	* plug-ins/gimpressionist/placement.c
	* plug-ins/gimpressionist/presets.c: last bunch of changes to solve
	#81963.

504
505
506
507
508
2002-12-12  Sven Neumann  <sven@gimp.org>

	* app/gui/preferences-dialog.c (prefs_color_button_add): create the
	color button for the canvas padding color using GIMP_COLOR_AREA_FLAT.

509
510
511
512
513
514
2002-12-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/ripply-anim.scm: applied a patch from
	Chris Purnell <cjp@lost.org.uk> that adds the possibility to
	specify the edge behaviour (#83767).

515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
2002-12-10  Michael Natterer  <mitch@gimp.org>

	The unbelievable happened: a menu bar per display (optionally)

	* app/widgets/gimpitemfactory.[ch]: Added the possibility to have
	more than one item factory per <Prefix>. Added
	gimp_item_factories_set_foobar() variants of all functions which
	set menu item properties (label, sensitive, ...). Removed
	the #ifndef ENABLE_NLS code since that's no longer possible.

	* app/widgets/gimptoolbox.c: made it robust againt the <Image>
	factory not existing at the time of toolbox creation.

	* app/config/gimpconfig-blurbs.h
	* app/config/gimpdisplayconfig.[ch]: added boolean
	"menu_bar_per_display" property.

	* app/gui/preferences-dialog.c: added a toggle for the new option.

	* app/gui/menus.[ch]: added menus_get_new_image_factory() as
	temporary solution. Will add a GimpMenuFactory which creates the
	item factories soon.

	* app/display/gimpdisplayshell.c: add the menu bar if requested.
	Changed widget packing slightly for the menu bar case.

	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
	Currently there is no right-click popup menu when we have a menu
	bar. This will change soon.

	* app/gui/file-dialog-utils.c
	* app/gui/gui.c: use gimp_item_factories_set_foo().

	* app/gui/channels-commands.c
	* app/gui/dialogs-commands.c
	* app/gui/dialogs-constructors.c
	* app/gui/drawable-commands.c
	* app/gui/edit-commands.c
	* app/gui/file-commands.c
	* app/gui/image-commands.c
	* app/gui/layers-commands.c
	* app/gui/plug-in-commands.c
	* app/gui/select-commands.c
	* app/gui/tools-commands.c
	* app/gui/vectors-commands.c
	* app/gui/view-commands.c: per-display item factories pass the
	GimpDisplay as user_data to callbacks, not a Gimp. Changed all
	return_if_no_foo() macros to handle both cases.

	Cleaned up the plug-in menu stuff:

	* app/plug-in/plug-in-types.h: removed PlugInMenuEntry type.

	* app/plug-in/plug-ins.[ch]: added plug_ins_proc_def_add() as
	counterpart to plug_ins_proc_def_remove(). Added
	plug_ins_locale_domain() as counterpart to plug_ins_help_path().
	Remember the locale domains just as the help paths. Changed
	plug-in initialization so that their menus can be created multiple
	times.

	* app/plug-in/plug-in.[ch]: use plug_ins_proc_def_add() instead of
	doing it manually.

	* app/gui/plug-in-menus.[ch]: added plug_in_menus_init() which
	just registers the locale domains. Changed plug_in_make_menu() to
	take a list of proc_defs, not plug_ins_defs so it can be used
	after plug-in query.

583
584
585
586
587
2002-12-10  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c: fixed typo, use "gimp->no_interface" instead of
	simply "no_interface" in the "exit" handler.

Maurits Rijk's avatar
Maurits Rijk committed
588
589
590
591
592
593
594
595
596
597
598
2002-12-10  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/gimpressionist/brush.c
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/gimpressionist/paper.c
	* plug-ins/gimpressionist/presets.c
	* plug-ins/gimpressionist/sizemap.c
	* plug-ins/gimpressionist/orientmap.c: more changes to make 
	gimpressionist look like a standard GIMP plug-in (#81963) plus lots
	of code clean-up.

599
600
601
602
603
2002-12-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call): fixed
	color_list iteration for GIMP_PDB_COLOR args. Closes bug #100696.

604
605
606
607
608
2002-12-06  Hans Breuer  <hans@breuer.org>

	* plug-ins/common/winclipboard.c : need to adjust the data 
	pointer for BI_BITFIELDS bitmaps, fixes #99246

609
610
611
612
613
614
615
616
2002-12-06  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintcore.c: no need to include app_procs.h here.

	* app/display/gimpdisplay-foreach.c (gimp_displays_dirty)
	(gdisplays_check_valid): don't use the global the_gimp. Removed
	inclusion of app_procs.h.

617
618
619
620
621
622
623
624
625
2002-12-05  Michael Natterer  <mitch@gimp.org>

	Cleaned up the exit process:

	* app/core/gimp.[ch]: added an "exit" signal which carries a
	"gboolean kill_it" parameter and has a boolean return value.
	Added gimp_boolean_handled_accumulator() so the emission of "exit"
	can be stopped by returning TRUE from a callback.  Removed
	gimp_shutdown() from the public API and made it "exit"'s default
626
	implementation. Added gimp_exit() to emit the signal.
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645

	* app/core/gimpmarshal.list: added BOOLEAN__BOOLEAN marshaller.

	* app/gui/gui.[ch]: Replaced public functions gui_shutdown() and
	gui_exit() by "exit" callbacks. g_signal_connect_after() the
	latter so the shutdown order is correct.

	* app/app_procs.[ch]: removed app_exit() and connect to "exit".
	Split the exit stuff into normal and connect_after callbacks as
	above.

	* app/batch.c
	* app/gui/file-commands.c
	* tools/pdbgen/pdb/misc.pdb
	* app/widgets/gimptoolbox.c: call gimp_exit() instead of
	app_exit(). Don't #include "app_procs.h".

	* app/pdb/misc_cmds.c: regenerated.

646
647
648
649
650
2002-12-05  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrushpipe.c: use the same string as in
	gimpbrushpipe.c to reduce the number of translatable strings.

Sven Neumann's avatar
Sven Neumann committed
651
652
653
654
655
656
657
658
659
660
2002-12-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c (render_image_tile_fault):
	removed useless assignments.

	* plug-ins/common/aa.c: removed wrong assertions that caused the
	plug-in to crash on images with odd width or height (#100344).
	Added support for RGB images as well as alpha channel while I was
	on it.

661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
2002-12-04  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am: added -DGIMP_APP_GLUE_COMPILATION to
	AM_CPPFLAGS.

	* app/appenv.h
	* app/batch.h
	* app/errors.h: #error if it is not defined to keep these files
	from being included from anywhere else.

	* app/app_procs.h: added just a #warning because some places still
	need "the_gimp" and app_exit().

	* app/libgimp_glue.h: #ifdef the #error the same way as the other
	headers do.

677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
2002-12-03  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplay-foreach.[ch]: renamed
	gdisplays_reconnect() to gimp_displays_reconnect() and added a
	"Gimp" parameter.

	* app/gui/file-commands.c
	* tools/pdbgen/pdb/display.pdb: changed accordingly.

	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/palette_select.pdb
	* tools/pdbgen/pdb/pattern_select.pdb: some irrelevant
	code cleanups to make them look the same.

	* tools/pdbgen/pdb/message.pdb: changed $desc from "Interface"
	to "Message procedures".

	* tools/pdbgen/pdb/transform_tools.pdb: changed $desc from
	"Tool procedures" to "Transform Tool procedures".

	* app/pdb/brush_select_cmds.c
	* app/pdb/display_cmds.c
	* app/pdb/gradient_select_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/palette_select_cmds.c
	* app/pdb/pattern_select_cmds.c: regenerated.

705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
2002-12-03  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorbutton.c: named the menu separator
	"/fg-bg-separator", not just "/---".

	* app/widgets/gimpcolorpanel.[ch]: added a GimpContext pointer to
	get FG/BG from. Don't use "the_gimp" and don't include
	"app_procs.h".  Added gimp_color_panel_set_context(). Hide the
	FG/BG menu entries if we have no context.

	* app/gui/channels-commands.c
	* app/gui/preferences-dialog.c
	* app/gui/qmask-commands.c
	* app/display/gimpdisplayshell.c: set the color_panel's context.

Sven Neumann's avatar
Sven Neumann committed
720
721
722
723
2002-12-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: made it a lot less deprecated.

724
725
726
727
728
729
730
2002-12-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: removed broken code that used
	to update the preview when the user releases the button after
	moving a slider. Instead set the range to UPDATE_DELAYED and
	update the preview on "value_changed". Fixes bug #97350.

731
732
733
734
735
736
737
738
739
740
741
742
743
744
2002-12-03  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/display.pdb
	* tools/pdbgen/pdb/layer.pdb: applied a modified version of a
	patch from Wolfgang Hofer <hof@gimp.org> that adds two new PDB
	functions needed for GAP: gimp_displays_reconnect() and
	gimp_layer_new_from_drawable() (bug #77508).

	* app/pdb/display_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/layer_cmds.c
	* libgimp/gimpdisplay_pdb.[ch]
	* libgimp/gimplayer_pdb.[ch]: regenerated.

745
746
747
748
749
750
2002-12-03  Sven Neumann  <sven@gimp.org>

	* app/tools/tool_manager.c (tool_manager_control_active): check
	for gdisp != NULL to avoid to crash when being called from
	indexed_ok_callback().

751
752
753
754
755
2002-12-03  Sven Neumann  <sven@gimp.org>

	* configure.in: do as the gtk+ folks did and replace the gtk-doc
	version check with an all-sh version (#99216).

756
757
758
759
760
761
762
763
2002-12-02  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c (gimp_data_save): don't check filename for
	internal GimpData objects because they are never saved.

	* app/config/gimprc.c: made verbose an object property so that its
	value is copied by gimp_config_duplicate().

764
765
766
767
768
2002-12-02  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-blurbs.h
	* app/config/gimpconfig-dump.c: minor changes.

769
770
771
772
773
2002-12-02  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-serialize.c: fixed serialization of empty
	string properties that I broke yesterday.

774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
2002-12-02  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdata.[ch]: use GError for reporting load/save
	errors. Added gimp_data_error_quark() and a GimpDataError enum.
	Made simple virtual functions out of save(), get_extension()
	and duplicate() because they don't need to be signals.

	* app/core/gimpbrush.[ch]
	* app/core/gimpbrushgenerated.[ch]
	* app/core/gimpbrushpipe.[ch]
	* app/core/gimpgradient.[ch]
	* app/core/gimppalette.[ch]
	* app/core/gimppattern.[ch]: changed accordingly. Set data->dirty
	to FALSE in each _load() function.

	* app/core/gimpdatafactory.[ch]: report GError messages here.
	Changed the ugly factory->path pointer location hack to
	factory->path_property_name and get the path from
	factory->gimp->config. Added gimp_data_factory_data_duplicate()
	implementation which was already declared in the header.

	* app/core/gimp.c: pass the path property name to
	gimp_data_factory_new().

	* app/widgets/gimpdatafactoryview.c: removed the duplicate
	implementation and call gimp_data_factory_data_duplicate().

	* app/core/gimpgradient.[ch]: added gimp_gradient_save_as_pov().

	* app/gui/gradients-commands.c: removed save_as_pov implementation
	and call gimp_gradient_save_as_pov().

Sven Neumann's avatar
Sven Neumann committed
806
807
808
809
810
811
812
813
814
2002-12-01  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-blurbs.h: small cleanup.

	* app/config/gimpconfig-serialize.[ch]: export more functionality.

	* app/config/gimpconfig-dump.c: added some code to dump a
	commented version of the system-wide gimprc with default values.

815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
2002-12-01  Sven Neumann  <sven@gimp.org>

	* app/core/core-types.h: prefix PIXELS and POINTS with GIMP
	instead of SIZE so we don't break the libgimp API without a good
	reason.

	* app/pdb/text_tool_cmds.c
	* tools/pdbgen/enums.pl: regenerated.

	* libgimp/gimpmisc.[ch]: removed gimp_timer functions since the
	GTimer API is simple enough and doesn't need to be wrapped.

	* plug-ins/common/newsprint.c
	* plug-ins/common/unsharp.c: use GTimer.

830
831
832
833
834
2002-12-01  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpdatafiles.c: s/S_ISLINK/S_ISNLK/ (was never
	compiled before Hans fixed the #ifdef).

835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
2002-11-30  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/common/flarefx.c: 
	* plug-ins/common/jigsaw.c: 
	* plug-ins/common/nova.c
	* plug-ins/common/wind.c
	* plug-ins/common/illusion.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/max_rgb.c: replace preview code by calls to libgimp

	* libgimp/Makefile.am: added gimpmiscui.[ch]
	* libgimp/gimpmiscui.[ch]: new files. For now contain effect preview
	stuff collected from several plug-ins. Warning: this is NOT the new
	effect preview widget I'm writing, just a first step to cleaning up a
	lot of plug-ins.

Hans Breuer's avatar
updated    
Hans Breuer committed
851
852
853
854
855
856
857
858
859
860
861
862
2002-11-30  Hans Breuer  <hans@breuer.org>

	* */makefile.msc */*/makefile.msc : updated

	* themes/Default/images/makefile.msc : new file
	* themes/Default/makefile.msc : removed

	* libgimpwidgets/gimpwidgets.def : updated

	* app/core/core-types.h : renamed PIXELS and POINTS
	to SIZE_* to avoid clashes with system headers
	* app/pdb/text_tool_cmds.c : updated ...
863
	* tools/pdbgen/enums.pl : ... by renaming here too.
Hans Breuer's avatar
updated    
Hans Breuer committed
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892

	* app/widgets/gimphistogrambox.c : <string.h> for memcpy()
	* app/widgets/gimppropwidgets.c : <string.h> for strlen()

	* app/config/gimpconfig.c : on win32 rename always fails
	if the destination file exists. Delete it first.

	* libgimp/gimp.def : removed all '_'-prefixed exports
	* plug-ins/common/iwarp.c : replace _gimp_layer_copy()
	with gimp_layer_copy(), gimp_layer_add_alpha()

	* libgimp/gimpmisc.c : ported gimp_timer funcs to use
	g_timer to be more portable

	* libgimpbase/gimpdatafiles.c : there are no symlinks on 
	win32, inverted to #ifndef G_OS_WIN32 as it was meant.

	* libgimpbase/gimpbase.def libgimpmodule/gimpmodule.def 
	  libgimpwidgets/gimpwidgets.def : updated externals

	* plug-ins/common/randomize.c plug-ins/common/sinus.c :
	don't initialize more than the defined struct size

	* plug-ins/common/warp.c : removed unneeded unistd.h and
	signal.h include

	* regexrepl/regexrepl.def : (new file) needed to build 
	as DLL

893
894
895
896
897
898
899
900
901
902
2002-12-01  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp.[ch]: added "gboolean use_shm" to the Gimp struct
	and to gimp_new().

	* app/app_procs.c: pass "use_shm" to gimp_new().

	* app/plug-in/plug-in.c (plug_in_init): get "use_shm" from the
	passed "gimp".  Don't include "appenv.h" and "app_procs.h".

903
904
905
906
907
908
909
910
2002-11-30  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpnavigationview.c: no need to include "appenv.h"

	* app/tools/gimpinktool.c: pass InkOptions as user_data to the
	ink_type_update() callback so we don't need to get them from
	"the_gimp". Removed inclusion of "app_procs.h".

911
912
913
914
915
916
917
2002-11-30  Michael Natterer  <mitch@gimp.org>

	* app/paint-funcs/paint-funcs.[ch]: added "gboolean use_mmx"
	parameter to paint_funcs_setup(). Don't #include "appenv.h".

	* app/base/base.c: pass "use_mmx" to paint_funcs_setup().

918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
2002-11-30  Michael Natterer  <mitch@gimp.org>

	* app/base/base-types.h: removed the global "base_config" variable.

	* app/base/base.[ch]: added "gboolean use_mmx" to base_init().
	Don't #include "appenv.h". Pass around more parameters to reduce
	the usage of the global "paint_options" pointer.

	* app/app_procs.c: pass "use_mmx" to base_init().

	* app/base/temp-buf.c: pass "temp_path" around internally. Declare
	"base_config" extern and added a #warning.

	* app/core/gimpdata.[ch]
	* app/core/gimpbrush.[ch]
	* app/core/gimpbrushgenerated.[ch]
	* app/core/gimpbrushpipe.[ch]
	* app/core/gimpgradient.[ch]
	* app/core/gimppalette.[ch]
	* app/core/gimppattern.[ch]: added "gboolean stingy_memory_use"
	parameters to all _new(), _load() and _duplicate() functions.

	* app/core/gimpmarshal.list: GimpData::duplicate needs an
	OBJECT__BOOLEAN marshaller now.

	* app/core/gimpdatafactory.[ch]: added a "Gimp" pointer so the
	factory can find the config. Pass base_config->stingy_memory_use
	to the GimpData functions changed above.

	* app/core/gimp-gradients.c
	* app/core/gimp.c
	* app/core/gimppalette-import.c
	* app/gui/palettes-commands.c
	* app/widgets/gimpdatafactoryview.c: changed accordingly.

	* app/core/gimpcontext.c: get "stingy_memory_use" from
	context->gimp->config.

956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
2002-11-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp.[ch]: added gimp->edit_config which is a copy of
	gimp->config except for GIMP_PARAM_RESTRT options. Create it in
	gimp_set_config() which must be called before anything else after
	gimp_new(). Install "notify" handlers between the both to keep
	them up-to-date. Enable auto saving for the edit_config.

	* app/app_procs.c: call gimp_set_config().

	* tools/pdbgen/pdb/gimprc.pdb: use gimp->edit_config here so we
	don't accidentially change GIMP_PARAM_RESTART values from the PDB.

	* app/pdb/gimprc_cmds.c: regenerated.

	* app/gui/preferences-dialog.c: use gimp->edit_config as the base
	for all prefs operations. Disable auto saving while the prefs
	dialog is open. No need any more to parse the saved gimprc to get
	GIMP_PARAM_RESTART values. Removed GIMP_PARAM_RESTART special
	hacks because edit_config handles them transparently for us.

	Unrelated:

	* app/core/gimpimage.c (gimp_image_init): initialize active_vectors.

	* app/gui/gui.c (gui_image_disconect): when the last image
	disappears, show the toolbox only if the image had a display.

984
985
986
987
2002-11-29  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.c: more useful debugging output.

988
989
990
2002-11-29  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_pixmap_button_new):
991
	use gtk_label_new_with_mnemonic().
992
993
994
995

	* plug-ins/common/uniteditor.c: Treeviewized and undeprecated.
	Removed all static variables. Cleanup.

996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
2002-11-28  Sven Neumann  <sven@gimp.org>

	* app/config/Makefile.am
	* app/config/gimpconfig-params-blurbs.h: removed ...
	* app/config/gimpconfig-blurbs.h: ... and readded under this name.
	Defined all missing blurb definitions to NULL.

	* app/config/gimpconfig-params.h: added a blurb parameter to all
	GIMP_CONFIG_INSTALL_PROP_* macros.
	
	* app/config/gimpbaseconfig.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpdisplayconfig.c
	* app/config/gimpguiconfig.c: register blurbs with the GimpRc
	properties.

	* app/config/gimpconfig-serialize.c: do proper line-breaking for
	comments.

	* app/core/gimpcontext.c
	* app/widgets/gimpdeviceinfo.c: register NULL blurbs here.

1018
1019
1020
1021
1022
1023
2002-11-28  Michael Natterer  <mitch@gimp.org>

	* app/config/Makefile.am
	* app/config/gimpconfig-params-blurbs.h: new file defining
	blurbs for config param specs. Not used yet.

1024
1025
1026
1027
1028
1029
1030
1031
2002-11-28  Sven Neumann  <sven@gimp.org>
	
	* app/config/Makefile.am
	* app/config/gimpconfig-dump.c: added the basic infrastructure for
	a utitily that dumps the GimpRc object.

	* app/config/gimpconfig-serialize.c: dump object blurbs as comments.

1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
2002-11-27  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpairbrush.[ch]
	* app/paint/gimpclone.[ch]
	* app/paint/gimpconvolve.[ch]
	* app/paint/gimpdodgeburn.[ch]
	* app/paint/gimperaser.[ch]
	* app/paint/gimppaintoptions.[ch]
	* app/paint/gimpsmudge.[ch]: it's hard to paint without a context
	to get color, brush etc. from. Added "context" parameters to
	all paint options constructors.

	* tools/pdbgen/pdb/paint_tools.pdb: pass gimp_get_current_context()
	to the constructors. Fixes bug #99557.

	* app/pdb/paint_tools_cmds.c: regenerated.

	* app/tools/gimpairbrushtool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimperasertool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpsmudgetool.c: changed accordingly.

	* app/tools/paint_options.c: ditto. Don't set
	paint_options->context here because we also need it in the
	no-interface case above.

1063
1064
1065
1066
1067
1068
1069
1070
1071
2002-11-27  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/autostretch_hsv.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/threshold_alpha.c: use gimpmisc region iterator 
	funcs.

1072
1073
1074
1075
1076
1077
1078
2002-11-27  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc.[ch]: added (yet unused) autosave feature.

	* app/core/gimpbrush.c
	* app/core/gimpbrushpipe.c: simplified user-visible messages.

Sven Neumann's avatar
Sven Neumann committed
1079
1080
1081
1082
1083
2002-11-27  Sven Neumann  <sven@gimp.org>

	* app/gui/preferences-dialog.c (preferences_dialog_create):
	added a missing cast to please the compiler.

1084
1085
1086
1087
1088
2002-11-26  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/colorify.c: use gimpmisc region iterator funcs.

1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
2002-11-26  Michael Natterer  <mitch@gimp.org>

	* app/config/gimprc.[ch]: added "gboolean verbose" to GimpRc and
	its constructor. Print messages only if verbose == TRUE.

	* app/gui/user-install-dialog.[ch]: changed accordingly.

	* app/app_procs.c: ditto. No need any more to parse unitrc before
	calling user_install_dialog_create().

	* app/gui/preferences-dialog.c: ditto. Added the static
1100
	prefs_dialog pointer again so our local help func finds the
1101
1102
	current notebook page.

1103
1104
1105
1106
2002-11-26  Jakub Steiner <jimmac@ximian.com>

	* themes/Default/images/preferences/image-title.png:
	unique icon. Nothing too fancy though.
Jakub Steiner's avatar
Jakub Steiner committed
1107
	* themes/Default/images/preferences/input-devices.png:
1108
	fix the border a little
1109

1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
2002-11-25  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/common/newsprint.c: timer funcs are now in gimpmisc.

	* plug-ins/common/unsharp.c: timer funcs are now in gimpmisc. Removed
	unused/non-working preview stuff. Will be restored once I finished
	a general preview widget for plug-ins.

	* plug-ins/common/colortoalpha.c
	* plug-ins/common/vinvert.c: use gimpmisc region iterator funcs.

2002-11-25  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* libgimp/gimpmisc.[ch]: added 2 new functions (gimp_timer_start and
	gimp_timer_stop) for timing purposes. Also added 2 general region
	iterator functions, used in numerous plug-ins.

1127
1128
1129
1130
1131
1132
1133
2002-11-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_file_dest_add): changed order of
	calls to gimp_dnd_data_dest_add() so that "text/uri-list" is
	preferred over "text/plain" and "_NETSCAPE_URL". Fixes dropping
	multiple files from nautilus.

1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
2002-11-25  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig-utils.[ch]: added gimp_config_diff()
	which returns the difference beween two GimpConfig objects
	as a GList of GParamSpecs.

	* app/config/gimpconfig-params.c (gimp_param_color_cmp): compare
	the colors as integers to get rid of rounding foobar.

	* app/config/gimpconfig-serialize.c: use gimp_config_diff().

	* app/display/gimpdisplayshell-handlers.c: only need to call
	gimp_display_shell_scale_setup() on resolution change if the
	display is not in dot-for-dot mode.

	* app/display/gimpdisplayshell.c: changed a separator in the
	padding color menu.

	* app/gui/dialogs.c: made the prefs dialog a singleton again.

	* app/gui/preferences-dialog.c: Should be fully functional again:
	Apply GIMP_PARAM_CONFIRM properties on "OK". Save gimprc on "OK".
	Parse a temporaty GimpRc on dialog creation to get the current
	GIMP_PARAM_RESTART values. Use gimp_config_diff() for all config
	comparisons.

1160
1161
1162
1163
1164
1165
1166
1167
2002-11-25  Manish Singh  <yosh@gimp.org>

	* libgimpbase/gimpwire.c: using a union like that may not be
	completely portable. Use a guint8 array instead. One wonders
	if we really need to support the off-chance someone will make
	a distributed gimp framework with this current incarnation
	of the wire protocol.

1168
1169
1170
1171
1172
1173
1174
2002-11-25  Manish Singh  <yosh@gimp.org>

	* libgimpbase/gimpwire.c: use a union instead of separate types to 
	read/write doubles so we don't violate C's aliasing rules. Fixes
	bug #85249.

2002-11-24  Manish Singh  <yosh@gimp.org>
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196

	* tools/pdbgen/pdb/image.pdb: moved FINITE definition to $extra
	code. Changed to use #elif, much cleaner.

	* app/pdb/image_cmds.c: regenerated

	* app/core/gimpenvirontable.[ch]: added support for app internal
	environment variable settings. These override any *.env files if
	there are collisions. Not sure on that policy. Also, envp is now
	generated on the first get_envp call.

	* app/gui/gui.[ch]: added gui_environ_init, which uses
	gimp_environ_table_add. Moved the setting of DISPLAY to here.
	Added setting of GDK_DISPLAY instead for the fb backends. Hm,
	perhaps GDK should do this itself...

	* app_procs.c: call gui_environ_init.

	* libgimpwidgets/gimpcolorscale.c
	* libgimpwidgets/gimpcolorscales.c: #include <string.h> for
	strlen and memcpy.

1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
2002-11-24  Dave Neary  <bolsh@gimp.org>

	* libgimpwidgets/gimpwidgets.c
	* libgimpwidgets/gimpwidgets.h
	* plug-ins/common/blur.c
	* plug-ins/common/plasma.c
	* plug-ins/common/randomize.c
	* plug-ins/common/sinus.c
	* plug-ins/common/snoise.c
	* plug-ins/gflare/gflare.c
	* plug-ins/maze/algorithms.c
	* plug-ins/maze/maze.c
	* plug-ins/maze/maze.h
	* plug-ins/maze/maze_face.c: Changed the gimp random seed
	widget's behaviour and made associated changes in
	plug-ins that use it.

Sven Neumann's avatar
Sven Neumann committed
1214
1215
1216
1217
1218
2002-11-24  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_color_button_press): fixed menu path.

1219
1220
1221
1222
1223
2002-11-24  Sven Neumann  <sven@gimp.org>

	* libgimp/gserialize.[ch]: removed from CVS, may always be pulled
	out of the Attic if needed again.

1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
2002-11-24  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpdisplayconfig.c: removed GIMP_PARAM_RESTART from
	"marching-ants-speed".

	* app/display/gimpdisplayshell-selection.[ch]: removed the "speed"
	parameter from the constructor and get the speed from
	GimpDisplayConfig when starting the ants.

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

	* app/display/gimpdisplayshell-handlers.c: connect to
	notify::marching-ants-speed and restart the ants in the handler.

	* app/gui/preferences-dialog.c: Added an own frame for the
	canvas padding color. Even more cleanup.

	* themes/Default/images/preferences/Makefile.am
	* themes/Default/images/preferences/image-title.png: new image
1243
	for the new page, copied image-windows.png
1244

1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
2002-11-23  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig-utils.[ch]: removed
	gimp_config_values_equal().

	* app/config/gimpconfig-serialize.c
	* app/config/gimpconfig.c: use g_param_values_cmp() instead so
	our registered compare methods are used.

	* app/config/gimpdisplayconfig.[ch]: added "canvas_padding_mode"
	and "canvas_padding_color" properties.

	* app/display/display-enums.[ch]: added enum GimpDisplayPaddingMode
	which can be one of { theme, light check, dark check, custom }.

	* app/display/gimpdisplay.h
	* app/display/gimpdisplay-handlers.c: removed cached monitor
	resolution values...

	* app/display/gimpdisplayshell.[ch]: ...and added them here. Added
	padding state as in GimpDisplayConfig. Added utility function
	gimp_display_shell_set_padding() which hides all the details.
	Added the new padding modes to the padding color button's context
	menu.

	* app/display/gimpdisplayshell-callbacks.[ch]: don't fiddle
	with colors manually but use gimp_display_shell_set_padding()
	in realize() and in the color button callbacks.

	* app/display/gimpdisplayshell-handlers.c: connect to
	notify::monitor-[xy]resolution and
	notify::canvas-padding-[mode|color] and update accordingly.

	* app/widgets/gimppropwidgets.[ch]: added
	gimp_prop_color_button_new().

	* app/widgets/gimpdialogfactory.[ch]: added
	gimp_dialog_factories_session_clear() (unimplemented).

	* app/gui/preferences-dialog.c: added widgets for padding mode and
	color. Removed some callbacks by connecting the functions they
	called directly. Cleanup.

Jakub Steiner's avatar
Jakub Steiner committed
1288
1289
1290
1291
1292
2002-11-23  Jakub Steiner <jimmac@ximian.com>

	* themes/Default/images/preferences/folders-environ.png:
	replace the generic folder

1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
2002-11-22  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.[ch]: keep a pointer to the
	nav_ebox in the GimpDisplayShell struct.

	* app/display/gimpdisplayshell-handlers.c: connect to
	notify::navigation-preview-size and set the button insensitive for
	GIMP_PREVIEW_SIZE_NONE. Also destroy an existing nav_popup so it
	will be automatically re-created on the next click.  Connect to
	notify::image-title-format and notify::image-status-format and
	update them accordingly.

	* app/display/gimpnavigationview.c: don't try any voodoo in
	gimp_navigation_view_init(). Removed the notify handler.
	Set the popup's size in gimp_navigation_view_new_private().

	* app/gui/preferences-dialog.c: removed the #if 0'ed combo boxes
	and added an own sub-page for the image title and status format.
	Select the possible values using a GtkTreeView.  Some more
	cleanup.

1314
1315
1316
1317
1318
1319
2002-11-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppropwidgets.c: added gimp_prop_entry_new(),
	factored lots of stuff out to local utility functions, added some
	comments to the header, cleanup.

1320
1321
1322
1323
1324
1325
1326
1327
2002-11-22  Sven Neumann  <sven@gimp.org>

	* app/gui/preferences-dialog.c: allow to configure whether tips
	are shown on startup.

	* app/gui/tips-dialog.c: threw out lots of code and use
	gimp_prop_check_button_new() instead.

1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
2002-11-21  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/common/blinds.c: use gimp_get_bg_guchar

	* libgimp/gimpmisc.[ch]: added gimp_pixel_fetcher routine with 
	wrapmode and generic get background color routine (gimp_get_bg_guchar)

	* plug-ins/common/edge.c: : use gimp_pixel_fetcher routines

2002-11-21  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c: use gimp_pixel_fetcher routines

1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
2002-11-21  Sven Neumann  <sven@gimp.org>

	* app/config/gimpdisplayconfig.[ch]
	* app/config/gimpguiconfig.[ch]: moved navigation_preview_size to
	GimpDisplayConfig.

	* app/gui/preferences-dialog.c: offer the full choice of
	GimpPreviewSizes for the navigation preview size.

	* app/display/gimpnavigationview.c: multiply the preview size by 3
	to get reasonable values. Added some broken code that connects to
	notify::navigation-preview-size.

	* etc/gimprc.in: updated accordingly.

1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
2002-11-21  Michael Natterer  <mitch@gimp.org>

	* app/base/tile-cache.[ch]: added tile_cache_init() and
	tile_cache_exit() as public functions.

	* app/base/base.c: call them. Connect to GimpBaseConfig's
	notify::tile-cache-size.

	* app/core/gimpimage.c: connect to notify::transparency-type and
	notify::transparency-size and call
	gimp_image_invalidate_layer_previews() in the callback.

	* app/display/gimpdisplay-foreach.[ch]: removed
	gdisplays_expose_full().

	* app/display/gimpdisplayshell-handlers.c: connect to
	notify::transparency-type and notify::transparency-size and expose
	the shell in the callback.

	* app/display/gimpdisplayshell-render.[ch]: added render_init()
	and render_exit() functions and connect to
	notify::transparency-type and notify::transparency-size for
	setting up the render buffers.

	* app/gui/gui.c: call the new functions instead of render_setup().
	Connect to notify::show-tool-tips.

	* app/gui/preferences-dialog.c: copy values between the global
	config object and it's local copy only when they have changed.
	Wrap setting of lots of values in g_object_[freeze|thaw]_notify().
	Added lots of mnemonics.

	* app/gui/resolution-calibrate-dialog.c: added mnemonics.

	* app/widgets/gimppropwidgets.c: g_object_set() the values edited
	by the gimp_prop_coordinates() much less often by remembering the
	old values and setting them only when they have changed.

1395
1396
1397
2002-11-21  Sven Neumann  <neo@wintermute>

	* app/gui/preferences-dialog.c (prefs_dialog_new): don't set the
1398
	default resolution unit from the monitor resolution entry.
1399
1400
1401
1402

	* app/gui/user-install-dialog.c: use the new GimpPropWidgets. The
	monitor resolution setup may need some more tweaking ...

1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
2002-11-20  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/common/whirlpinch.c
	* plug-ins/common/polar.c
	* plug-ins/common/mblur.c: use pixel_fetcher routines that are now in
	libgimp.

2002-11-20  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* libgimp/Makefile.am: added gimpmisc.[ch]

	* libgimp/gimp.h: include gimpmisc.h

	* libgimp/gimpmisc.[ch]: new files, containing all kinds of 
	miscellaneous routines factored out from different plug-ins. They stay
	here until their API has crystalized a bit and we can put them into 
	the file where they belong.

1421
1422
1423
1424
1425
1426
1427
1428
1429
2002-11-20  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/common/whirlpinch.c
	* plug-ins/common/waves.c
	* plug-ins/common/polar.c
	* plug-ins/common/warp.c
	* plug-ins/common/displace.c: replaced all implementations of bilinear 
	func by call to gimp_bilinear_8/16

1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
2002-11-20  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc.c: made object properties from the gimprc
	filenames. Use NULL to set to the default values.

	* app/app_procs.c
	* app/gui/user-install-dialog.[ch]: don't pass a gimp pointer to
	the user installation dialog. All it needs to know are the
	alternative gimprc names if such are given on the command-line.

1440
1441
1442
1443
1444
1445
2002-11-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/gimppropwidgets.[ch]: new files containing
	constructors for views on GObject properties.

1446
	* app/gui/Makefile.am: build the preferences dialog again.
1447
1448
1449
1450

	* app/gui/dialogs-constructors.c
	* app/gui/dialogs.c
	* app/gui/menus.c: added it back to the dialog system (as a non
1451
	singleton to give the new model <-> view stuff some testing).
1452
1453
1454

	* app/gui/preferences-dialog.c: here it is again, using property
	view widgets. Lots of stuff removed & simplified. Some things
1455
	still #if 0'ed and/or non-working. No saving yet ...
1456

1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
2002-11-20  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc.[ch]: store the gimprc filenames in the
	GimpRc object; will become properties later.

	* app/app_procs.c: use the new GimpRc API and added the
	functionality back that allows to specify different gimprc
	files on the command-line.

	* app/gui/user-install-dialog.c: don't work on the real gimprc
	object but create one for the install procedure and save it.

1469
1470
1471
1472
1473
1474
2002-11-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpenummenu.[ch]: added *_new_with_values() and
	*_new_with_values_valist() variants to make enum menu creation
	even more customizable.

1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
2002-11-20  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig-params.h: added GIMP_PARAM_RESTART and
	GIMP_PARAM_CONFIRM flags and changed all param spec macros
	to have a "flags" parameter.

	* app/config/gimpbaseconfig.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpdisplayconfig.c
	* app/config/gimpguiconfig.c: tag the values which need restart or
	confirmation with the resp. flags. Changed all macro calls
	accordingly.

	* app/core/gimpcontext.c
	* app/widgets/gimpdeviceinfo.c: changed macro calls accordingly.

1491
1492
1493
1494
1495
1496
2002-11-20  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig.h:
	s/gimp_config_equal/gimp_config_is_equal_to/ to match the
	implementation.

1497
1498
2002-11-20  Sven Neumann  <sven@gimp.org>

1499
	* app/gui/user-install-dialog.c: don't access the global base_config
1500
1501
	which is not initialized at this point.

1502
1503
1504
1505
1506
1507
1508
1509
1510
2002-11-20  Dave Neary  <bolsh@gimp.org>

	* plug-ins/maze/maze.[ch]
	* plug-ins/maze/algorithms.c
	* plug-ins/maze/maze_face.c: Changed occurreces of
	timeseed to defaultseed to more accurately reflect what
	happens with the g_rand* functions. Sorry for missing one
	earlier & temporarily breaking the build :~}

Sven Neumann's avatar
Sven Neumann committed
1511
2002-11-20  Sven Neumann  <sven@gimp.org>
Sven Neumann's avatar
Sven Neumann committed
1512
1513
1514
1515
1516

	* plug-ins/maze/maze.[ch]
	* plug-ins/algorithms.c: make it compile. I'm not sure if this is the
	correct fix though...

1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
2002-11-20  Dave Neary  <bolsh@gimp.org>

	* configure.in
	* app/core/gimpbrushpipe.c
	* app/gui/about-dialog.c
	* app/paint-funcs/paint-funcs-generic.h
	* app/paint-funcs/paint-funcs.c
	* libgimpmath/gimpmath.h
	* libgimpwidgets/gimpwidgets.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/blur.c
	* plug-ins/common/cubism.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/jigsaw.c
	* plug-ins/common/lic.c
	* plug-ins/common/noisify.c
	* plug-ins/common/nova.c
	* plug-ins/common/papertile.c
	* plug-ins/common/plasma.c
	* plug-ins/common/randomize.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/shift.c
	* plug-ins/common/sinus.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/snoise.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/spread.c
	* plug-ins/common/warp.c
	* plug-ins/common/wind.c
	* plug-ins/flame/cmap.c
	* plug-ins/flame/flame.c
	* plug-ins/flame/libifs.c
	* plug-ins/gflare/gflare.c
Sven Neumann's avatar
Sven Neumann committed
1554
	* plug-ins/gimpressionist/gimpressionist.[ch]
1555
1556
1557
1558
	* plug-ins/gimpressionist/plasma.c
	* plug-ins/gimpressionist/repaint.c
	* plug-ins/ifscompose/ifscompose_utils.c
	* plug-ins/maze/algorithms.c
Sven Neumann's avatar
Sven Neumann committed
1559
	* plug-ins/maze/maze.[ch]
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
	* plug-ins/mosaic/mosaic.c: Change all occurrences of RAND_MAX,
	G_MAXRAND, rand(), srand(), lrand48(), srand48(), random(),
	srandom(), RAND_FUNC and SRAND_FUNC to the appropriate g_rand*
	equivalent. Programs which require seed setting for reproducible
	results, and anything in the core, gets a dedicated GRand * for
	the lifetime required. Programs which only ever used random
	numbers for tossing a coin, rolling a dice, etc use g_random
	functions. For the rest, judgement was used. Where it was easy, a
	GRand * object was used and g_rand_* functions were
	preferred. This fixes bug #67386 in HEAD.

1571
1572
1573
1574
1575
1576
2002-11-19  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* libgimpcolor/gimpbilinear.c (gimp_bilinear): fixed bug that could
	happen with negative values of parameter x or y. Same bug in
	gimp_bilinear_8, gimp_bilinear_16 and gimp_bilinear_32.

1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
2002-11-19  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/gimpressionist/brush.c
	* plug-ins/gimpressionist/color.c
	* plug-ins/gimpressionist/general.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/gimpressionist/gimpressionist.[ch]
	* plug-ins/gimpressionist/orientation.c
	* plug-ins/gimpressionist/orientmap.c
	* plug-ins/gimpressionist/paper.c
	* plug-ins/gimpressionist/placement.c
	* plug-ins/gimpressionist/plasma.c
	* plug-ins/gimpressionist/ppmtool.[ch]
	* plug-ins/gimpressionist/presets.c
	* plug-ins/gimpressionist/preview.c
	* plug-ins/gimpressionist/repaint.c
	* plug-ins/gimpressionist/size.c
	* plug-ins/gimpressionist/sizemap.c: lots and lots of changes. 
	gimpressionist now looks more or less like other plug-ins, using
	gimp_scale widgets for data entry, the gimp_color_button for color
	selection, the OK and Cancel button at the bottom, etc. There are still
	a few things left to do, mostly more code clean-up.

1600
1601
1602
1603
1604
2002-11-19  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppatheditor.[ch]: added new function
	gimp_path_editor_set_path().

1605
1606
1607
1608
1609
2002-11-19  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-params.[ch]: derive GimpParamSpecMemsize
	from GParamSpecULong.

Manish Singh's avatar
Manish Singh committed
1610
1611
1612
1613
2002-11-19  Manish Singh  <yosh@gimp.org>

	* data/environ/Makefile.am: really fix a comment

Sven Neumann's avatar
Sven Neumann committed
1614
1615
1616
1617
2002-11-18  Sven Neumann  <sven@gimp.org>

	* app/app_procs.c: added a missing include.

1618
1619
1620
1621
1622
2002-11-18  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am
	* app/general.[ch]: we don't need these any longer.

1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
2002-11-18  Sven Neumann  <sven@gimp.org>

	Finally landed the new GimpConfig based gimprc parser. It's not
	finished yet but we need to start somewhere. This release removes
	the old gimprc.[ch] files. The gimprc format changes slightly, but
	the changes are minimal. The Preferences dialog is temporarily
	disabled since it still needs to be ported. If you are are afraid,
	stay away from CVS for a few days ;-)

	* app/Makefile.am
	* app/gimprc.[ch]: removed the old gimprc system.

	* app/base/Makefile.am
	* app/base/base-config.[ch]: removed these files in favor of
	config/gimpbaseconfig.[ch].

	* app/core/Makefile.am
	* app/core/gimpcoreconfig.[ch]: removed these files in favor of
	config/gimpcoreconfig.[ch].

	* app/config/Makefile.am
	* app/config/config-types.h: moved typedefs into this new file.

	* app/config/gimpbaseconfig.[ch]
	* app/config/gimpcoreconfig.[ch]
	* app/config/gimpdisplayconfig.[ch]
	* app/config/gimpguiconfig.[ch]
	* app/config/gimprc.[ch]
	* app/config/test-config.c: brought into shape for real use.

	* app/base/base-types.h: include config/config-types.h here. Added
	a global GimpBaseConfig *base_config variable to ease migration.

	* app/gui/Makefile.am: temporarily disabled the preferences dialog.

	* app/app_procs.c
	* app/undo.c
	* app/undo_history.c
	* app/base/base.[ch]
	* app/base/gimphistogram.c
	* app/base/pixel-processor.c
	* app/base/temp-buf.c
	* app/base/tile-cache.c
	* app/core/core-types.h
	* app/core/gimp-documents.c
	* app/core/gimp.c
	* app/core/gimpbrush.c
	* app/core/gimpbrushgenerated.c
	* app/core/gimpcontext.c
	* app/core/gimpdrawable-transform.c
	* app/core/gimpimage-new.c
	* app/core/gimpimage.c
	* app/core/gimpimagefile.c
	* app/core/gimpmodules.c
	* app/core/gimppattern.c
	* app/display/Makefile.am
	* app/display/gimpdisplay-handlers.c
	* app/display/gimpdisplay.[ch]
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-handlers.c
	* app/display/gimpdisplayshell-layer-select.c
	* app/display/gimpdisplayshell-render.c
	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpdisplayshell-scroll.c
	* app/display/gimpdisplayshell-selection.c
	* app/display/gimpdisplayshell.[ch]
	* app/display/gimpnavigationview.c
	* app/file/file-save.c
	* app/gui/device-status-dialog.c
	* app/gui/dialogs-constructors.c
	* app/gui/file-commands.c
	* app/gui/file-new-dialog.c
	* app/gui/file-open-dialog.c
	* app/gui/file-save-dialog.c
	* app/gui/gui.c
	* app/gui/menus.c
	* app/gui/paths-dialog.c
	* app/gui/resize-dialog.c
	* app/gui/session.c
	* app/gui/test-commands.c
	* app/gui/tips-dialog.c
	* app/gui/tips-dialog.h
	* app/gui/user-install-dialog.c
	* app/gui/view-commands.c
	* app/paint/gimppaintcore.c
	* app/plug-in/plug-in.c
	* app/plug-in/plug-ins.c
	* app/tools/gimpbezierselecttool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpmagnifytool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimppainttool.c
	* app/tools/gimppathtool.c
	* app/tools/gimptexttool.[ch]
	* app/tools/selection_options.c
	* app/tools/tools.c
	* app/tools/transform_options.c
	* app/widgets/gimphelp.c
	* app/widgets/gimpitemfactory.c
	* app/widgets/gimpselectioneditor.c
	* app/xcf/xcf-load.c
	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/gimprc.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/layer.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: use the new config system
	instead of the old gimprc stuff.

	* etc/gimprc.in
	* etc/gimprc_user.in: adapted to the new gimprc format. Will update
	the man-page later...

	* app/pdb/fileops_cmds.c
	* app/pdb/gimprc_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/layer_cmds.c
	* app/pdb/transform_tools_cmds.c
	* libgimp/gimpgimprc_pdb.c: regenerated.
	
2002-11-18  Sven Neumann  <sven@gimp.org>
1748

1749
1750
1751
1752
	* app/config/gimpconfig-deserialize.c
	(gimp_config_deserialize_properties): improved error message for
	the special case of store_unknown_tokens == TRUE.

1753
1754
1755
	* app/config/gimpconfig.c (gimp_config_add_unknown_token): try to
	substitute paths of the form ${foo} in the unknown token value.

1756
1757
1758
	* app/config/gimpconfig-deserialize.c (gimp_config_deserialize_enum):
	allow numbers when deserializing enum values.

1759
1760
	* data/environ/Makefile.am: fixed a comment.

1761
1762
1763
1764
1765
1766
1767
1768
2002-11-18  Sven Neumann  <sven@gimp.org>

	* data/images/Makefile.am
	* data/images/gimp_splash.gif: removed old animated splash.

	* data/images/gimp_splash.png: a new splash screen for 1.3.11
	created by Jakub Steiner <jimmac@ximian.com>.

1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
2002-11-18  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptransformtool.[ch]: removed public function
	gimp_transform_tool_transform_tiles() and made it the default
	implementation of the transform() virtual function. Added
	"const gchar *progress_text" to GimpTransformTool so it is
	available for the new default implementation. Cleanup.

	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c: removed transform() implementations
	and set transform_tool->progress_text accordingly. Even more
	cleanup.

1784
1785
1786
1787
2002-11-18  Sven Neumann  <sven@gimp.org>

	* autogen.sh: try automake-1.7 if automake-1.6 is not available.

1788
1789
1790
1791
1792
2002-11-18  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpdialog.c: forgot to remove the
	"_delete_event_" stuff's documentation.

Michael Natterer's avatar
Michael Natterer committed
1793
1794
1795
1796
2002-11-18  Michael Natterer  <mitch@gimp.org>

	* app/tools/tool_manager.c: removed unneeded #includes.

1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
2002-11-18  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpdialog.c: removed the "feature" of creating
	dialogs without action area by passing "_delete_event_" as button
	text. Also changed the delete_event() implementation: don't
	remember a callback and call it manually but gtk_widget_activate()
	the button for which "connect_delete" was passed as TRUE.

	* app/gui/test-commands.c: added a "Close" button to the multi view.

	* app/gui/brush-select.[ch]
	* app/gui/gradient-select.[ch]
	* app/gui/palette-select.[ch]
	* app/gui/pattern-select.[ch]: ditto. Removed the "context"
	parameter of the *_select_new() functions. All sorts of cleanups
	in all dialogs.

	* app/gui/convert-dialog.c
	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/palette_select.pdb
	* tools/pdbgen/pdb/pattern_select.pdb: changed accordingly.

	* app/pdb/brush_select_cmds.c
	* app/pdb/gradient_select_cmds.c
	* app/pdb/palette_select_cmds.c
	* app/pdb/pattern_select_cmds.c: regenerated.

1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
2002-11-18  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprotatetool.c (roatate_angle_changed): compare the
	old and new angle using an epsilon of 0.0001 degrees so we don't
	get double "angle changed" because of rounding foobar.

	* app/tools/gimptransformtool.c: made GimpTransformTool subclasses
	which don't use the grid (namely the flip tool) work correctly
	again by looking at transform_tool->use_grid more often.

1835
1836
1837
1838
1839
1840
2002-11-18  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcontainer.c (gimp_container_get_child_by_name):
	accept a NULL name and return NULL. Fixes warnings when starting
	gimp w/o a gimprc.

1841
1842
1843
1844
1845
2002-11-18  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcursor.c: removed commented out and unused
	cruft, cleanup.

1846
1847
1848
1849
1850
1851
2002-11-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox.c (gimp_toolbox_new): add a file dnd
	dest for the toplevel toolbox widget too. Makes gimp-remote work
	again.

1852
1853
1854
1855
1856
1857
2002-11-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdrawablelistview.c: removed #undef
	GTK_DISABLE_DEPRECATED and #warning because we don't use
	deprecated stuff here.

1858
1859
1860
1861
1862
1863
1864
2002-11-17  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontext.c (gimp_context_set_default_colors,
	gimp_context_swap_colors): g_return_if_fail() earlier to clarify
	things (There was a bug in 1.2 which was fixed only accidentially
	in HEAD).

1865
1866
1867
1868
1869
2002-11-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.h: added GTK_TARGET_SAME_APP flag
	to GIMP_TARGET_BUFFER.

1870
1871
1872
1873
1874
1875
1876
2002-11-17  Michael Natterer  <mitch@gimp.org>

	* app/gui/color-notebook.c (color_notebook_new_internal): removed
	the non-dialog variant (all color notebooks have "Cancel" and "OK"
	buttons again). We have the color dockable which can be always
	open now and don't need this hack any more.

1877
2002-11-16  Manish Singh  <yosh@gimp.org>
1878
1879
1880
1881
1882
1883
1884

	* app/plug-in/plug-in.c: use g_spawn_async now. If the OS/2 port
	is still being maintained, there needs to be work done Glib side.
	If not, we should probably drop the other support code.

	* app/plug-in/plug-in.h: remove unused Win32 only structure members

Michael Natterer's avatar
Michael Natterer committed
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
2002-11-14  Michael Natterer  <mitch@gimp.org>

	Transform tool cleanup:

	* libgimptool/gimptoolenums.[ch]: removed the TransformState enum.

	* app/tools/gimptransformtool.[ch]: don't dispatch everything
	through the transform() virtual function. Added new vitrual
	functions dialog(), prepare(), motion() and recalc(). Do only the
	actual transform in transform(). Moved lots of logic which was
	duplicated in each subclass' transform() here. Cleanup.

	* app/tools/gimpfliptool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c: changed accordingly: moved code from
	transform() to the other method imlementations. Removed duplicated
	logic which is now done by our parent class. Makes everything
	smaller and more readable.

	InfoDialog cleanup:

	* app/gui/info-dialog.c: removed the "delete_event" callback so
	InfoDialog users can decide themselves what to do.

	* app/gui/info-window.c
	* app/tools/gimpmeasuretool.c: changed accordingly.

	* app/tools/gimpcolorpickertool.c: ditto. Moved info_dialog
	creation to a utility function to improve code readbility.

	* app/tools/gimpcroptool.c: ditto. Added a "Cancel" button which
	really cancels the tool instead of just hiding the dialog.

	* app/tools/gimptransformtool.c: added a "Cancel" button here too.

1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
2002-11-14  Michael Natterer  <mitch@gimp.org>

	* app/gui/tools-commands.c (tools_select_cmd_callback): removed
	the old hack which sets tool->gdisp. Fixes bug #98056.

	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_initialize):
	set tool->gdisp here because the hack was there for tools which
	implement initialize() and show dialogs when selected from the
	menu. Also fixed wrong paramater to gimp_viewable_dialog_new().

1932
1933
1934
1935
1936
1937
2002-11-12  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintcore.c: check for NULL masks returned from
	the brush scaler. Should fix crashes with buggy input devices.
	Fix suggested by Jim Meyer <jim@dsdd.org> (#91067).

1938
1939
1940
1941
2002-11-12  Michael Natterer  <mitch@gimp.org>

	* app/gui/menus.c: use GTK_STOCK_REMOVE for "<Dialogs>/Remove Tab".

1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
2002-11-11  Manish Singh  <yosh@gimp.org>

	* autogen.sh: don't say "Now type 'make'" if configure failed.

	* app/core/Makefile.am
	* app/core/core-types.h 
	* app/core/gimpenvirontable.[ch]: Implemented GimpEnvironTable,
	keeps an envp array built from system environment and *.env files.

	* app/core/gimp.[ch]: keep a GimpEnvironTable around.

	* app/gimprc.c
	* app/config/gimpcoreconfig.[ch]
	* app/core/gimpcoreconfig.h
	* app/gui/preferences-dialog.c
	* app/gui/user-install-dialog.c: environ-path config stuff

	* themes/Default/images/preferences/Makefile.am
	* themes/Default/images/preferences/folder-environ.png: just copied
	folder.png here, need a better one.

	* app/plug-in/plug-in.c: quick hack to use the envp in the
	GimpEnvironTable. Only on unix now, should really port the
	code to use g_spawn_*.

	* data/misc/user_install
	* etc/gimprc.in: add environ-path stuff

	* data/environ/Makefile: creates system environ directory.
 
	* data/environ/default.env: sample env file info.

	* data/Makefile.am
	* configure.in: added data/environ dir

	* plug-ins/pygimp/Makefile.am: python module files get put in
	$(gimpplugindir)/python now, install pygimp.env to point to it.

	* plug-ins/pygimp/doc/Makefile.am: minor clean up.

1982
1983
1984
1985
1986
2002-11-09  Manish Singh  <yosh@gimp.org>

	* plug-ins/common/png.c: allow setting compression level 0 from
	the UI.

1987
1988
1989
1990
1991
1992
1993
2002-11-10  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
	the transformed tile_manager has always an alpha channel, so use
	gimp_drawable_type_with_alpha() when creating a layer from it
	using gimp_layer_new_from_tiles(). Fixes bug #98053.

1994
1995
1996
1997
1998
1999
2002-11-09  Manish Singh  <yosh@gimp.org>

	* app/widgets/gimppreview.[ch]: use a low priority idle handler to
	queue redraws, since we really want updates when nothing else is
	going on.

2000
2001
2002
2003
2004
2005
2006
2002-11-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimpvectorslistview.c: don't undefine
	GTK_DISABLE_DEPRECATED here, since these files don't use any
	deprecated functions.

2007
2008
2009
2010
2011
2012
2002-11-09  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/common/sinus.c (sinus_dialog): applied a patch from Yeti to
	fix #81965 (Sinus filter doesn't use the 'standard' gimp_random_seed 
	widget.) + some minor changes to make it work.

2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2002-11-08  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/imagemap/imap_object.c (object_get_icon): first go at fixing
	#97771. Not finished yet.

2002-11-07  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/rcm/rcm_callback.c (rcm_units_string): replaced "???" by
	"unknown" to avoid compiler complaining about trigraphs.
	* plug-ins/rcm/rcm_callback.[ch]: have callback functions return the
	right type (gboolean iso gint).

	* plug-ins/rcm/rcm_misc.c (rcm_render_circle): fixed potential memory
	leak

2002-11-07  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/maze/handy.c: removed superfluous function declarations 
	plus some minor clean-up.

	* plug-ins/common/smooth_palette.c (dialog): replaced "Search Time" by
	"Search Depth" (#82492)

	* plug-ins/gfig/gfig.c (gfig_op_menu_create): replaced "Save as..." by
	"Save As..." (solves #92469)

	* plug-ins/MapObject/arcball.c: remove external function declarations 
	already defined in arcball.h
2041

2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2002-11-08  Sven Neumann  <sven@gimp.org>

        * plug-ins/script-fu/script-fu-scripts.c
        * plug-ins/script-fu/interp_slib.c
        * plug-ins/script-fu/interp_sliba.c: use locale-independant
        functions to convert between strings and numbers so that Script-Fu
        doesn't get confused in locales that don't use a dot as the
        decimal point (#98014).

        * plug-ins/common/papertile.c: applied a patch from David Necas
        that makes the color button work again (#97976).

2054
2002-11-07  Dave Neary  <bolsh@gimp.org>
2055

2056
2057
2058
2059
	* plug-ins/common/xbm.c: Applied patch from Raphael
	Quinet to suppress printing of comments in XBM files.
	Closes bug #82763.

Sven Neumann's avatar
Sven Neumann committed
2060
2061
2062
2063
2002-11-07  Sven Neumann  <sven@gimp.org>

	* Made 1.3.10 release.

Sven Neumann's avatar
Sven Neumann committed
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2002-11-07  Sven Neumann  <sven@gimp.org>

	* Makefile.am: removed mydistcheck hook.

	* app/base/Makefile.am
	* app/paint-funcs/Makefile.am: removed automake-1.4 and 1.5 specific
	stuff; made it work correctly for srcdir != builddir.

	* tools/pdbgen/Makefile.am: do not to write into the source tree.

2074
2075
2076
2077
2078
2079
2080
2002-11-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpbrushpreview.c
	(gimp_brush_preview_render_timeout_func): fixed a bug spotted
	by Jim Meyer (#97911) and added a missing call to
	gtk_widget_queue_draw().

2081
2082
2083
2084
2002-11-07  Sven Neumann  <sven@gimp.org>

	* HACKING: mention the automake-1.6 requirement.

2085
2086
2087
2088
2089
2002-11-06  Manish Singh  <yosh@gimp.org>

	* acinclude.m4: third times the charm. Python support macros
	moved here.

2090
2091
2092
2093
2002-11-06  Manish Singh  <yosh@gimp.org>

	* configure.in: remove automake 1.4 special casing here too

Manish Singh's avatar
Manish Singh committed
2094
2095
2096
2097
2098
2099
2002-11-06  Manish Singh  <yosh@gimp.org>

	* autogen.sh: require automake 1.6

	* m4compat: removed, unneeded now

2100
2101
2102
2103
2104
2002-11-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/papertile.c: applied a patch from Toby Smith
	that moves the call to gimp_drawable_mask_bounds() to the filter()
	function so that the filter is applied to the correct selection
Sven Neumann's avatar
Sven Neumann committed
2105
	even if it changed after the plug-in dialog was opened (#83971).
2106
2107

	* plug-ins/common/unsharp.c (unsharp_mask_dialog): allow larger
Sven Neumann's avatar
Sven Neumann committed
2108
	values for the radius (as suggested in #92250).
2109
2110
2111
2112
2113

	* plug-ins/common/png.c: applied patch from Raphael Quinet that
	untoggles the "Save background color" option for images w/o an
	alpha channel (#92395).

2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2002-11-06  Sven Neumann  <sven@gimp.org>

	* app/base/base.c (base_init): don't say we'd use MMX if it is
	disabled.

	* libgimpmodule/gimpmodule.[ch]
	* app/gui/module-browser.c: changed enum values and user-visible
	strings to saner values.

	* libgimpmodule/gimpmoduledb.c
	* plug-ins/tools/tool-safe-mode.c: made them less verbose.

2126
2127
2128
2129
2130
2002-11-06  Dave Neary  <bolsh@gimp.org>

	* plug-ins/common/png.c: Removed cruft from file,
	 including unclear comments and redundant code.

2131
2132
2133
2134
2135
2136
2137
2138
2139
2002-11-06  Sven Neumann  <sven@gimp.org>

	* app/xcf/xcf-save.c
	* app/xcf/xcf.c: save as XCF version 2 if one of the new layer
	modes is used.

	* plug-ins/gflare/gflare.c: fixed #97766 along with a couple of
	other GUI issues.

2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2002-11-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mapcolor.c: fixed stupid bug that caused this
	plug-in to map to undefined values. Spotted by David Necas (#97780).

	* tools/authorsgen/contributors: added some names.

	* AUTHORS
	* app/gui/authors.h: regenerated.

2150
2002-11-05  Sven Neumann  <sven@gimp.org>
2151
2152

	* plug-ins/gflare/gflare.c: applied a couple of patches from
2153
2154
2155
	David Necas <yeti@physics.muni.cz> that fix various issues with
	the GFlare plug-in. Most of these were introduced when doing the
	(still unfinished) port to GTK+-2.0 (#97761, #97764, #97765).
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170

	Did some more changes while I was on it...

	* plug-ins/gflare/gflares/Bright_Star
	* plug-ins/gflare/gflares/Classic
	* plug-ins/gflare/gflares/Default
	* plug-ins/gflare/gflares/Distant_Sun
	* plug-ins/gflare/gflares/GFlare_101
	* plug-ins/gflare/gflares/GFlare_102
	* plug-ins/gflare/gflares/Hidden_Planet: applied a patch from
	yeti@physics.muni.cz that changes the names to use spaces instead
	of underscores (#97763).

2002-11-05  Sven Neumann  <sven@gimp.org>

2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
	* app/base/base-enums.h
	* app/paint-funcs/paint-funcs-generic.h
	* app/paint-funcs/paint-funcs.c
	* app/widgets/gimpwidgets-constructors.c: applied a patch from
	Guillermo S. Romero that adds three new layer modes (Softlight,
	Grain Extract and Grain Merge, #97686).

	* app/base/base-enums.c
	* app/pdb/brush_select_cmds.c
	* app/pdb/brushes_cmds.c
	* app/pdb/layer_cmds.c
	* app/pdb/misc_tools_cmds.c
	* app/widgets/gimpwidgets-constructors.c
	* libgimp/gimpenums.h
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
	
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2002-11-05  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorselector.[ch]: added virtual functions
	set_toggles_visible() and set_toggles_sensitive(). Added a
	stock_id. Emit "color_changed" and "channel_changed" on
	set_color() and set_channel() resp.

	* libgimpwidgets/gimpcolornotebook.[ch]: implement the new
	methods.  Added gimp_color_notebook_set_has_page() to control
	which selectors a notebook contains.

	* libgimpwidgets/gimpcolorscales.[ch]: removed the toggle
	API and implement the new methods.

	* libgimpwidgets/gimpcolorselect.c: added toggle buttons for the
	channels so the widget doesn't need external ones.

	* app/gui/color-notebook.c: changed accordingly.

	* libgimpwidgets/gimpstock.[ch]
	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-color-triangle-16.png: added a
	(bad) icon for the triangle color selector.

	* modules/colorsel_triangle.c: use the new icon.
	* modules/colorsel_water.c: use the "Paintbrush" icon for now.

	* app/widgets/gimpcoloreditor.[ch]: new widget for editing the
	FG/BG color featuring a color notebook, stock buttons for
	selecting the pages and a GimpPickButton.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h: changed accordingly.

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs.c: added a dockable wrapper for GimpColorEditor.

	* app/gui/menus.c: added it to the menus. Also added separate
	Layers, Channels and Paths entries. Bind <ctrl>L to the new
	callback so it doesn't always create a new layers dialog.

2229
2230
2231
2232
2233
2234
2235
2002-11-05  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmodule.c: on error, always close the module
	using gimp_module_close(), not g_module_close() so all stuff gets
	reset. Set module->state *after* calling gimp_module_close().
	Added more error checking & messages.

2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2002-11-04  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppickbutton.[ch]: new GtkButton subclass
	implementing the pick-from-everywhere eyedropper known from
	GtkColorSel. Code shamelessly stolen from there.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.

2246
2247
2248
2249
2250
2251
2002-11-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdock.c (gimp_dock_class_init): connect
	book_removed()'s default implementation correctly so dock auto
	destruction on last dockbook removal works again.

Sven Neumann's avatar
Sven Neumann committed
2252
2253
2254
2255
2002-11-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/gimp_color_window.c: use stock buttons.

2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2002-11-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppreview.[ch]: removed idle rendering and render
	the preview on "expose" if needed. Renamed gimp_preview_render()
	to gimp_preview_update(). Cleanup.

	* app/widgets/gimpimagefilepreview.c
	* app/widgets/gimpselectioneditor.[ch]
	* app/widgets/gimptoolinfopreview.c: changed accordingly.

2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2002-11-03  Garry R. Osgood <grosgood@rcn.com>
	
	* configure.in defined GIMP_ENABLE_MMX. Current value 0; to disable
	related MMX code in app/paint-funcs/paint-funcs.c and 
	app/paint-funcs/paint-funcs-mmx.h
	* app/paint-funcs/paint-funcs.c
	* app/paint-funcs/paint-funcs-mmx.h MMX code bracketed by above
	define Closes #86290 and #90969 by expediency: bugs were not in
	MMX assembly, but in the revised wrapper introduced on 2001-11-19,
	which does not accommodate correctly macros designed to run the
	MMX code selectively. Rather than revert, discussion on bug report
        thread opted to disable such 'MMX microoptimizations' for now, and 
	get the design correct first in pure C. See bug report and caveats
	in paint-funcs-mmx.h
	
2281
2282
2283
2284
2285
2286
2002-11-02  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorarea.[ch]: simplified the code and
	improved the performance by getting rid of the idle function.
	Simply rerender the buffer on expose if necessary.

2287
2288
2289
2290
2291
2002-11-02  Sven Neumann  <sven@gimp.org>

	* app/display/gimpprogress.c (gimp_progress_update): force an update
	of the progress bar (#97459, reported by Akkana).

2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2002-11-01  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-open-dialog.[ch]: added "gimage" and "uri"
	parameters to file_open_dialog_show(). If an image is passed, go
	to that image's directory, for an uri, preselect the file.
	Fixes bug #96779.

	* app/gui/menus.c: pass "action" to file_open_cmd_callback() so we
	can distinguish if it was invoked from the toolbox or an image.

	* app/gui/file-commands.[ch]: if invoked from an image, pass it to
	file_open_dialog_show().

	* app/widgets/gimpdocumentview.c: pass the selected document's uri
	to file_open_dialog_show().

	* app/gui/file-save-dialog.c: use gimp_image_get_filename()
	instead of fiddling with the image's uri manually.

2311
2312
2313
2314
2315
2316
2002-11-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdataeditor.c
	* app/widgets/gimpimageview.c: changed some debugging output to
	say "TODO: ...".

2317
2318
2319
2320
2321
2322
2002-11-01  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorscale.[ch]: improved preformance by
	rendering the buffer only when needed for an expose instead of
	after each color/channel change.

2323
2324
2325
2326
2327
2002-11-01  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorscale.c (gimp_color_scale_render): no
	need to assign "d = buf" twice.

2328
2329
2330
2331
2332
2002-11-01  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/stock-reset-16.png: finally a Reset icon
	from Jakub Steiner <jimmac@ximian.com>.

2333
2334
2335
2336
2337
2338
2002-11-01  Michael Natterer  <mitch@gimp.org>

	* libgimpcolor/gimpcolorspace.h (gimp_rgb_to_hsv4): "rgb" and
	"hsv" parameters were swapped in the header. All users however
	used the function as implemented, not as documented.

2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2002-11-01  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 1.3.10.

	* app/tools/gimpfliptool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimppathtool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimptexttool.c
	* app/tools/gimpvectortool.c: use shorter strings for the dockable
	tabs.

2355
2356
2357
2358
2359
2360
2361
2362
2002-10-31  Sven Neumann  <sven@gimp.org>

	* app/gui/color-notebook.c: make the dialog a "normal" window if
	it is created w/o an action area (#97364).

	* plug-ins/Lighting/lighting_preview.c: removed use of deprecated
	GDK functions.

2363
2364
2365
2366
2367
2368
2369
2370
2002-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/sel_gauss.c:
	applied a patch from Guillermo S. Romero that extends the range of
	valid radii to > 0.0 for these blur plug-ins (#97166).
	
2371
2372
2002-10-31  Sven Neumann  <sven@gimp.org>

2373
2374
2375
	* app/gui/dialogs-constructors.c: don't add "Options" to the
	tools name when setting the dockbook tab label.

2376
2377
2378
	* app/gui/color-notebook.c: removed the white and black color
	buttons since white and black are trivial to select anyway.

2379
2380
2381
2382
2383
2384
2385
2002-10-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorscale.[ch]: removed rgb and hsv parameters
	from gimp_color_scale_new().

	* libgimpwidgets/gimpwidgets.c: changed accordingly.

2386
2387
2388
2389
2390
2002-10-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorscale.c: made inverted and flippable work
	correctly.

2391
2392
2393
2394
2395
2002-10-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorscale.c: added the missing bits for
	channel == GIMP_COLOR_SELECTOR_ALPHA and for vertical orientation.

Sven Neumann's avatar
Sven Neumann committed
2396
2397
2398
2399
2400
2401
2402
2002-10-30  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am: install gimpcolorscale.h.

	* libgimpwidgets/gimpcolorscale.c: changed the sliders to black
	and white arrows.

2403
2404
2405
2406
2407
2408
2409
2002-10-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdata.[ch] (gimp_data_delete_from_disk): don't
	g_message() on error but return a GError.

	* app/widgets/gimpdatafactoryview.c: show the message here.

2410
2411
2412
2413
2002-10-30  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdevices.c: don't #include "core/gimpbrush.h"

Michael Natterer's avatar