ChangeLog 491 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
2011-01-26  Tristan Van Berkom <tristanvb@openismus.com>

	* plugins/gtk+/Makefile.am, plugins/gtk+/glade-string-list.[ch]: Added Boxed type
	  and GladeEditorProperty to manage/edit a list of strings that can be translatable.
	  This property editor uses a treeview and supports reordering of rows with Drag'n'Drop
	  as well as deletion of rows using the 'Delete' key. Every row can have individual
	  i18n information set via the common i18n dialog.

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Add GtkComboBoxText support
	  to Glade and use the GladeStringList boxed type to edit the list of translatable
	  items.

13
14
15
	* gladeui/glade-popup.c: Fixed property popup to not show DevHelp link when the property
	  is a virtual one.

16
17
2011-01-25  Juan Pablo Ugarte <juanpablougarte@gmail.com>

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
	* gladeui/glade-design-layout.[ch]:
	o Made GladeDesignLayout an offscreen container, all its children are redirected offscreen
	  and composited later on. This allow us drawing "pretty" selections over widgets.
	o added new function derived from glade_design_layout_widget_event(),
	  glade_design_layout_do_event() to marshal events from the override class handler
	o added glade_design_layout_selection_set()
	o reworked cursors pointer in an array to ease setting them.
	o replaced glade_design_layout_get_pointer_region () with gdl_get_activity_from_pointer()
	o removed call to gtk_widget_size_allocate() in glade_design_layout_update_child()
	  fixes rendering glith while resizing

	* gladeui/glade-design-view.c: set layout selection on project's selection-changed signal

	* gladeui/glade-app.[ch]:
	o added glade_app_do_event()
	o set custom gdk event handler to marshal event to GladeDesignLayouts using
	  glade_design_layout_do_event()

	* gladeui/glade-utils.[ch]: removed unused function glade_util_draw_selection_nodes()

	* gladeui/glade-widget.[ch]:
	o moved IS_GLADE_WIDGET_EVENT macro to header.
	o replaced glade_widget_connect_signal_handlers() with glade_widget_add_events()
41

42
43
44
45
2011-01-24  Tristan Van Berkom <tristanvb@openismus.com>

	* 41 files: Fixed typo in LGPL License file headers.

46
47
	* plugins/gtk+/glade-attributes.c: Relicensing to LGPL.

48
49
50
51
52
53
54
55
56
57
58
59
60
2011-01-22  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-command.[ch]: Removed glade_command_set_naming_policy().

	* gladeui/glade-project.[ch]: Removed naming policy, object ids are always unique.

	* gladeui/glade-editor-property.c, glade-property-class.[ch], gladeui/glade-property.c,
	gladeui/glade-signal-editor.c, gladeui/glade-utils.[ch], gladeui/glade-widget.c,
	gladeui/glade-xml-utils.h, plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-icon-sources.c,
	plugins/gtk+/glade-model-data.c: Removed 'widget' argument from
	glade_property_class_make_gvalue_from_string() and from glade_utils_value_from_string() since
	you never need a common ancestor to search a widget by name anymore.

61
62
63
	* gladeui/glade-project.[ch], src/glade-window.c: Edit->Preferences becomes File->Properties
	along with some internal renames (closes bug 609485).

64
65
66
67
68
2011-01-21  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-palette.c: Dont strdup the adaptor names in the local hash table (those
	  strings are constant data, no need to dup them).

69
70
71
72
	* gladeui/glade-base-editor.c: Fixed many memory leaks in this rusty code, fixed nasty
	  bug where type_edited() was using the wrong enum to fetch the current type name, fixed
	  to make "Add Item" button always add items to the root.

73
74
75
76
77
78
79
80
81
82
83
2011-01-20  Johannes Schmid <jhs@gnome.org>

	* gladeui/glade-signal-model.c:
	Add the "swapped" property of the signal to the dnd string

	* gladeui/glade-signal-editor.c:
	Fix creating of the rich dnd icon with proper cairo drawing
	(thanks to Benjamin Otte)

	* gladeui/glade-app.c: Bring back "signal-editor-created" signal

84
85
86
87
88
2011-01-19  Tristan Van Berkom <tristanvb@openismus.com>

	* plugins/gtk+/gtk+.xml.in: Remove GtkTreeSelection from the palette, it's only available
	  as the internal selection of a GtkTreeView.

89
90
	* gladeui/glade-editor-property.c, gladeui/glade-widget-adaptor.c: Pluggin more memory leaks.

91
92
93
94
95
2011-01-16  Tristan Van Berkom <tristanvb@openismus.com>

	* plugins/gtk+/glade-gtk.c: Fixed warnings from glade_gtk_box_get_first_blank() when
	  project closes.

96
97
98
99
100
101
102
	* gladeui/glade-project.[ch]:
	  - Added glade_project_widget_changed() to manually notify a "row-change"
	  - Add property references to the MISC_COLUMN (i.e. "Image Widget of button1" texts).

	* gladeui/glade-widget.c: Notify widget row changes when parentless widget references
	  are added/removed from a widget.

103
104
105
106
107
	* gladeui/glade-catalog.c, gladeui/glade-inspector.c, gladeui/glade-property-class.c,
	gladeui/glade-utils.c, gladeui/glade-widget-adaptor.c, gladeui/glade-widget.c,
	gladeui/glade-xml-utils.c, plugins/gtk+/glade-gtk.c:
	Plugging leaks found with valgrind.

108
109
110
	* gladeui/glade-builtins.c: Removed _() annotations for strings that dont need to be
	translated.

111
112
113
114
	* gladeui/glade-project.c, gladeui/glade-property-class.c, gladeui/glade-widget-adaptor.c,
	gladeui/glade-widget.c, plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-model-data.c:
	Plugged more leaks found with valgrind.

115
116
117
118
2011-01-15  Emilio Pozuelo Monfort <pochu27@gmail.com>

	* plugins/gtk+/Makefile.am: Don't install .in files.

119
120
121
122
123
124
125
2011-01-15  Johannes Schmid <jhs@gnome.org>

	* gladeui/glade-app.c: glade_app_get() should always return
	the single instance and create it if necessary

	* gladeui/glade-editor.[ch]: Remove glade_editor_set_signal_editor()

126
127
128
129
	* gladeui/glade-app.c:
	* gladeui/glade-signal-editor.c:
	Added "signal-editor-created" signal

130
131
132
133
2011-01-13  Javier Jardón <jjardon@gnome.org>

	* glade3.doap: Update doap file to glade.doap instead glade3.doap

134
135
136
137
2011-01-13  Javier Jardón <jjardon@gnome.org>

	* configure.ac: The bugzilla product is now glade instead glade3

138
139
140
141
2011-01-13  Tristan Van Berkom <tristanvb@openismus.com>

	* NEWS, configure.ac: Rolling Glade 3.9.1

142
143
144
145
146
147
148
149
2011-01-13  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-signal-model.c: Watch the "support-changed" signal on GladeWidget and
	  update support warnings on dummy rows as well as emit "row-changed" for all rows

	* gladeui/glade-signal-editor.c: Left align the warning icon and expand the first
	  row of the signal tree when loading a widget.

150
151
152
	* plugins/gtk+/glade-attributes.c: Fixed mismatching PangoAttributeType with GType,
	closes bug 597045.

153
154
155
	* plugins/gtk+/gtk+.xml.in: Readjusted displayable values so they are available
	  for palette enums.

156
157
158
159
160
2011-01-12  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-palette.c: Fixed leaking project (set_project NULL when
	  palette is disposed fixes it).

161
162
	* gladeui/glade-widget.c: Fixed access of NULL project at glade_widget_show/hide time.

163
164
165
166
	* gladeui/glade-signal.c: Fire a warning when signal class is not found for signal
	  read in by glade_signal_read from the xml (this happens because GTK+-3 removes some
	  signals).

167
168
169
170
	* plugins/gtk+/glade-gtk.c, data/icons/Makefile.am, data/icons/fixed-bg.png,
	plugins/gtk+/fixed-bg.xpm: Now draw the GtkFixed/GtkLayout pattern in a "draw"
	signal callback.

171
172
173
174
	* gladeui/glade-placeholder.c, data/icons/placeholder.png, data/icons/Makefile.am:
	Restored the old placeholder pattern that is softer on the eyes than the big
	squares (not to mention about 100 less lines of code).

175
176
177
178
179
180
2011-01-10  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-signal-model.[ch]:
	  - Fixed indentation
	  - Relicense as LGPL as Johannes Schmid said that was ok.

181
182
183
184
185
186
187
	* gladeui/glade-signal-editor.c:
	  - Fixed <click here> column to always show up italic insensitive when
	    no object is selected.
	  - Fixed the <type here> text to come back and not add any signal when
	    the first signal of a type is added with a NULL handler
	  - Fixed devhelp icon visibility to not show when !glade_util_have_devhelp()

188
189
	* gladeui/glade-widget.c: Dont set packing properties onto internal widgets.

190
191
192
	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Expose internal GtkTreeSelection
	child of GtkTreeView so that "changed" signal can be connected to. Fixes bug 383766.

193
194
195
196
197
198
2011-01-09  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-design-layout.c: Fixed to not hide widgets when removing
	them from the layout (no longer needed trickery for the toplevel, makes parentless
	widget property references work properly).

199
200
201
202
	* gladeui/glade-project.c: Fixed the project to maintain the loading flag until
	parse-finished is fired (so that it can be checked when setting the final object
	properties).

203
204
	* plugins/gtk+/glade-gtk.c: Fixed loaded state of toolitemgroup custom label widget.

205
206
	* plugins/gtk+/gtk+.xml.in: Added translatable/multiline to entry tooltip properties

207
208
209
210
	* gladeui/glade-command.[ch]: Exposed glade_command_add() internal command so that
	plugins can create command groups that play with adding/removing widgets inline without
	creating copies of them.

211
212
213
214
	* plugins/gtk+/glade-gtk.c: Fixed add/remove parent commands so that they work with
	parentless widget references (i.e. you can add a parent to a GtkToolItemGroup's label widget
	or a GtkButton's image widget, or remove the parent of a child of a label-widget, etc).

215
216
217
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Write GtkToolButton menu children
	out as "menu" special child type.

218
219
220
221
	* plugins/gtk+/gtk+.xml.in:
	  - Made all GdkColor type properties optional, closes bug 457969
	  - Disabled all the irrelevant "-set" properties of GtkTextTag.

222
223
224
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added replace-child-function to
	gtkmenutoolbutton code (incase the child is rebuilt for construct-only purposes).

225
226
227
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Add support for adding texttags to
	texttagtable.

228
229
	* plugins/gtk+/gtk+.xml.in: Disable the GtkToolButton:menu property.

230
231
232
	* gladeui/glade-editor.c: Make query dialog come with a "Create" button instead
	of an "OK" button, closes bug 503621.

233
234
	* plugins/gtk+/gtk+.xml.in: Setting some default HIG values for widgets as per bug 349447.

235
236
237
	* src/glade-window.c: Fixed use of uninitialized variables in warning messages,
	bug 634325, fix by Alex Merry.

238
239
240
	* plugins/gtk+/glade-column-types.c: Fixed crash when user performs Drag'n'Drop of
	< enter column here > and no columns are yet added (fixes bug 633943).

241
242
243
	* src/glade-window.c: Fix possible crash when saving new project. bug 622635, fix
	by Martin Schlemmer.

244
245
	* gladeui/glade-app.[ch], gladeui/glade-base-editor.c: Removed glade_app_set/get_transient_parent()

246
247
248
	* src/glade-window.c: Added idle function to raise the undocked windows at startup time,
	closes bug 475421.

249
250
251
	* src/glade-window.c: Applied patch by Sergio García Lobo to fix bug 487656 and provide
	mnemonic key access to "Text beside icons" palette option.

252
253
254
255
256
257
2011-01-08  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-utils.[ch], gladeui/glade-widget.c, gladeui/glade-builtins.c,
	gladeui/glade-widget-adaptor.c, gladeui/glade-editor-property.c:
	Removed glade_util_class_implements_interface() in favor of g_type_is_a() (closes bug 455734).

258
259
	* gladeui/glade-utils.[ch]: Some cleanup in glade-utils, removed lots of obsolete stuff.

260
261
262
263
264
	* gladeui/glade-utils.[ch], gladeui/glade-widget.c, gladeui/glade-project.c,
	gladeui/glade-popup.c, gladeui/glade-placeholder.c: Removed global selection list
	from glade-utils, selection can only be placed on widgets and only be controlled
	by their owning project.

265
266
267
	* gladeui/glade-builtins.c: Fixed redundant registering of displayable values for
	stock items.

268
269
270
	* plugins/gtk+/gtk+.xml.in: Made plugin target from 2.20, 2.22, 2.24 and 3.0, updated
	new properties and signals introduced with 3.0.

271
272
273
274
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Made GtkToolBar:icon-size an
	optional property to discourage its use and gave it similar treatment as the
	toolbar-style property.

275
276
	* gladeui/glade-command.c: Ensure that menus can be added to menutoolbuttons.

277
278
279
	* plugins/Makefile.am, plugins/glade-tool-item-group-editor.[ch], plugins/gtk+.xml.in,
	plugins/glade-gtk.c: Added support for editing GtkToolPalette.

280
281
282
283
2011-01-07  Emilio Pozuelo Monfort <pochu27@gmail.com>

	* configure.ac: Bump the minimum GTK+ version to 2.99.0.

284
285
286
287
288
2011-01-07  Emilio Pozuelo Monfort <pochu27@gmail.com>

	* configure.ac: Remove "GTK+ version" from the summary, we always
	build against GTK+ 3 now.

289
290
291
292
293
2011-01-07  Emilio Pozuelo Monfort <pochu27@gmail.com>

	* data/glade.desktop.in.in: Execute 'glade' since that's the name
	of the binary now.

294
2011-01-07  Tristan Van Berkom <tristanvb@openismus.com>
295
296
297
298

	* gladeui/glade-inspector.c: Updated to use GtkStyleContext to set the italic &
	insensitive color for the < search widgets > entry.

299
300
301
	* plugins/gtk+/glade-model-data.c: Removed sequential editing mode, avoid
	crashers when focus/start-editing next cell.

302
303
304
	* plugins/gtk+/glade-gtk.c: Added accelerator and tooltip-text properties
	  to menu items and toolitems in the menu editor (fixes bug 510083).

305
306
307
308
309
310
311
	* gladeui/glade-editable.[ch], plugins/gtk+/.. [ All GladeEditable editors ].
	GladeEditable now watches the project for changes and updates itself by way
	of the base class implementation (and is fixed for removed widgets that no
	longer have a project pointer available), also glade_editable_block/unblock()
	is added for implementations to avoid firing implicit loads while executing
	commands... all custom editors updated to lose much code.

312
313
314
315
2011-01-06  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-signal.c: Fixed glade_signal_load() careless mistake after GObjectifying.

316
317
2011-01-06  Tristan Van Berkom <tristanvb@openismus.com>

318
319
	* NEWS: Rolling Glade 3.9.0

320
321
322
323
324
325
326
327
328
329
330
331
	* gladeui/glade-command.c: Immediately select newly added widgets.

	* gladeui/glade-editor.c: Optimized GladeEditor
	Now GladeEditor instead of removing/adding the cached page for
	a said widget class will simply show/hide it (except for packing
	pages which are generated always on the fly), keeping them all
	in a vbox widget and using show/hide improves time to selection
	change.

	Also release all cached pages in ->dispose() (which was leeking) and
	ensure the class field always gets the same height.

332
333
334
	* gladeui/glade-project.c: Show selected widget when selection changes and
	Cancel any queued selection from glade_project_selection_changed.

335
336
337
338
339
340
	* src/glade-window.c: Added one palette per project, setting the palette's project
	requires that every item update itself for the support for the project target version,
	this was causing notebook page switches between projects to be very slow (actually
	costing an entire second), with one palette for each project the project switch
	is drastically improved.

341
342
343
	* gladeui/glade-palette.c: Removing the "root" create button, thats now accounted for
	  by the palette's context menu.

344
345
346
	* gladeui/glade-app.c: Changed session file glade-3.conf -> glade.conf so that session
	  files dont overlap with parallel installed 3.8.x

347
348
349
	* gladeui/glade-project.[ch]: Removed "previewable" flag/property, now as a GladeWidgetAction
	  of the GtkWidget adaptor this is unneeded and unused.

350
351
	* docs/gladeui.types: Removed GladeFixed and added GladeSignal.

352
353
	* gladeui/Makefile.am: Added glade-signal-class.h to installed headers.

354
355
	* po/POTFILES.in: Updated for GladeFixed changing place and for addition of glade-signal-class.c

356
357
358
359
360
361
362
2011-01-05  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/Makefile.am, gladeui/glade-signal-class.[ch], gladeui/glade-widget-adaptor.c,
	gladeui/glade-signal-editor.c, plugins/gtk+/glade-accels.c:

	Added glade-signal-class.[ch] as an opaque type.

363
364
365
366
	* gladeui/glade-signal.[ch], gladeui/glade-project.c, gladeui/glade-widget.c,
	gladeui/glade-signal-editor.c, gladeui/glade-command.c: Made GladeSignal an
	opaque structure with accessors.

367
368
369
	* gladeui/glade-clipboard.[ch], gladeui/glade-project.c:
	Privatized GladeClipboard members.

370
371
372
	* gladeui/glade-command.[ch], gladeui/glade-project.c, src/glade-window.c:
	Privatized GladeCommand members.

373
374
375
	* gladeui/glade-placeholder.[ch], gladeui/glade-popup.c:
	Privatized GladePlaceholder members.

376
377
378
379
380
381
382
383
384
385
386
	* gladeui/glade-widget-action.[ch], gladeui/glade-widget-adaptor.c, gladeui/glade-widget.[ch],
	gladeui/glade-popup.c, plugins/gtk+/glade-gtk.c, src/glade-window.c:
	- Privatized members of GladeWidgetAction
	- Created glade_widget_action_class_new() and some accessors for better code in
	  the adaptor
	- GWActionClass is now on the slice allocator
	- Added glade_widget_action_set/get_visible()
	- Removed glade_widget_remove[_pack]_action()
	- Plugin makes actions invisible instead of removing them
	- Everything updated for new sealed api

387
388
389
390
391
392
393
394
395
396
	* gladeui/Makefile.am: slight reordering in build

	* gladeui/glade-app.h, gladeui/glade-base-editor.h, gladeui/glade-catalog.h,
	gladeui/glade-design-layout.h, gladeui/glade-design-view.h, gladeui/glade-editable.h,
	gladeui/glade-editor-property.h, gladeui/glade-named-icon-chooser-dialog.h,
	gladeui/glade-project.h: Aligning some indentation in headers, adding padding
	to core object classes for possible future expansion.

	Glade core api now officially sealed and ABI stable.

397
398
	* gladeui/glade-editor.c: Make the editor notebook scrollable.

399
400
401
	* gladeui/glade-signal.[ch], gladeui/glade-signal-editor.c, gladeui/glade-command.c,
	gladeui/glade-widget.c: Made GladeSignal a GObject.

402
403
404
405
2011-01-04  Johannes Schmid <jhs@gnome.org>

	* data/gladeui-2.0.pc.in: Fix include paths and library name

406
407
408
409
410
411
412
413
414
415
2011-01-04  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-palette.[ch], gladeui/glade-project.[ch], gladeui/glade-app.[ch],
	  src/glade-window.c:
	  - Removed glade_app_get_palette()
	  - Moved "pointer-mode" property from GladeApp to GladeProject
	  - Palette now in charge of driving pointer mode on the project it's registered to
	  - GladeWindow now watches/sets the pointer mode on the currently set project (with
	    its "selector" and "drag/resize" toolbuttons).

416
417
	* gladeui/glade-app.h: Cleanup a bit, and removed an unused prototype.

418
419
	* gladeui/glade-cell-renderer-icon.[ch]: Privatizing members.

420
421
	* Adding padding to classes in various files.

422
423
	* gladeui/glade-editor.[ch]: Privatized members of GladeEditor.

424
425
	* gladeui/glade-editor-table.[ch]: Privatized members of GladeEditorTable.

426
427
428
429
	* gladeui/glade-editor-property.[ch]: Privatized members of GladeEditorProperty.

	* plugins/gtk+/*.c: updated all custom editors to used eprop accessors now

430
431
432
	* gladeui/glade-fixed.[ch] --> plugins/gtk+/glade-fixed.[ch]:
	Instead of privatizing GladeFixed, moved it to be a detail of the plugin backend.

433
434
	* gladeui/glade-design-view.c: Made it a no-show-all widget.

435
436
437
	* gladeui/glade-inspector.c: Fixed to not access the treeview from set_project()
	  (since we do it in expose and the view gets destroyed without us unsetting the pointer).

438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
2011-01-03  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-app.[ch]:
	  - Removed "update-ui" signal, This signal was encouraging bad behaviour and too much
	    action on every project change.
	  - Removed glade_app_create_undo/redo_button().

	* gladeui/glade-project.c: Stop calling glade_app_update_ui ().

	* gladeui/glade-window.c:
	  - Listen to GladeProject::changed instead of update-ui and only update the
	    undo/redo actions when the active project changes.
	  - Remove the preview toolbutton
	  - Add tooltips to important actions

	* plugins/gtk+/gtk+.xml.in: Mark the "preview" action as "important" so it shows
	  up in the app toolbar automatically.

456
457
458
459
460
461
462
463
464
465
466
467
468
	* Another major refactor, tasks accomplished:
	  - Removed GladeApp selection handling, only on the project now
	  - Removed "Copy" as a command, copying widgets no longer dirty documents (bug 546873)
	  - Removed GladeApp "active_project" concept, every interaction is associated with
	    a GladeProject
	  - Simplified GladeClipboard, the clipboard now only has a list of widgets and
	    not a "selection", everything is removed from the clipboard when new widgets are
	    added there.
	  - GladePalette now has a "project" property and does not need to be refreshed
	    by an external entity.

	19 files changed, 652 insertions(+), 1135 deletions(-)

469
470
471
472
	* gladeui/glade-project.c, gladeui/glade-id-allocator.c: Dont index unallocated
	  memory when releasing a widget name that was never allocated (this can happen
	  for loaded widgets with a number), fixes crash when setting naming policy for
	  glom_developer.glade.
473

474
475
476
477
478
479
480
	* gladeui/glade-app.[ch], gladeui/glade-command.c, gladeui/glade-editor.[ch],
	gladeui/glade-popup.c, gladeui/glade-project.c, gladeui/glade-signal-editor.c,
	gladeui/glade-widget-adaptor.c, src/glade-window.c, src/main.c:
	- Removed glade_app_get_editor(), Now the editor is not overly-refreshed by the
	  core and editors can be created at will, the core doesnt need to hold on to one.
	- Also, "gtk-doc-search" signal has been moved from the GladeEditor to the GladeApp.

481
482
483
484
485
2011-01-02  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-project.c: Fixed GladeProject to only ever report widgets that are
	  actually in the project from the GtkTreeModel interface.

486
487
488
489
490
	* gladeui/glade-command.c: Fixed segfault introduced by my recent GladeProperty migration

	* gladeui/glade-editor-property.c: Avoid infinite recursion when committing properties more
	  aggressively (found that editing text properties now make some recursion for some reason).

491
492
493
	* gladeui/glade-project.c: Export glade_project_verify_property() to allow verification of
	  a single property instead of the whole widget when a property changes.

494
495
496
497
	* gladeui/glade-command.c: Removed explicit calls to glade_app_update_ui in command->collapse
	  implementations... GladeProject already emits this after collapsing whenever the project
	  changes.

498
499
500
501
	* src/glade-window.c: Dont refresh notebook tabs at every update-ui, just for the appropriate
	  project when the appropriate data changes (speeds up editing, with latest changes editing labels
	  in huge projects is smooth).

502
503
504
	* Made GladeWidgetAdaptor internalize *everything* into a private data structure,
	21 files changed, 694 insertions(+), 670 deletions(-)

505
506
507
	* Made GladePropertyClass completely opaque and created loads of api and updated all sources:
	20 files changed, 1152 insertions(+), 643 deletions(-)

508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
2011-01-01  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-command.[ch], Added GladeProject member to base command structure, now
	  all commands reffer to that structure instead of trying to pull a project pointer from
	  a widget.

	* gladeui/glade-project.c: Unset project pointer on widgets when they leave the project,
	  manage an "in_project" flag on widgets to differenciate the moment when they widgets are
	  loading and have the project pointer but are still not added to the project yet. Also speed up
	  glade_project_has_object() by not traversing the list but simply checking the widget's project
	  and in_project flag.

	* gladeui/glade-widget.[ch]: Added the "in_project" flag to GladeWidget, fixed glade_widget_rebuild
	  to save the previous project pointer.

523
524
525
	* Made GladeWidget internalize *everything* into a private data structure,
	33 files changed, 1318 insertions(+), 1230 deletions(-)

526
527
528
	* gladeui/glade-project.[ch], gladeui/glade-widget.c, gladeui/glade-command.c:
	  Removing legacy 'old_project' argument from glade_project_add_object().

529
530
531
532
533
	* gladeui/Makefile.am, gladeui/glade-editor.c, gladeui/glade-property-class.[ch],
	gladeui/glade-property.c, gladeui/glade-xml-utils.h, po/POTFILES.in:
	Completely removed GladeParameter, a legacy unused mechanism to store parameters in
	the glade catalog for later retrieval from the plugin.

534
535
536
	* gladeui/glade-clipboard.h, gladeui/glade-app.c: Removed clipboard->view member and
	  make GladeApp properly destroy the clipboard when disposing.

537
538
539
	* Made GladeProperty internalize *everything* into a private data structure,
	17 files changed, 766 insertions(+), 592 deletions(-)

540
541
	* gladeui/glade-widget-adaptor.h, gladeui/glade-property-class.h: Removed some obsolete macros.

542
543
544
545
546
2010-12-31  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-project.c: Further fixing project dispose cycle, still leaking a little
	  bit of memory for large projects but no crashes.

547
	* plugins/gtk+/glade-gtk.c: Fixed loaded state of use-action-appearance so that it always
548
549
550
551
552
	  loads as FALSE if there is no "related-action" at load time (closes bug 582882).

	* gladeui/glade-property.c: Fixed glade_property_dup() to not incidentally sync the property
	  object's value as a consequence of dupping (backend uses this to write properties with custom
	  values and does not expect that).
553

554
	* m4/python.m4: Applying patch to allow better builds on win32, patch by Dieter Verfaillie,
555
556
	  bug 634978.

557
558
	* plugins/gtk+/gtk+.xml.in: Setting "can-focus" as "save-always" for all widgets (bug 638079).

Tristan Van Berkom's avatar
Tristan Van Berkom committed
559
560
561
562
563
2010-12-30  Christian Persch <chpe@gnome.org>

	* plugins/gtk+/glade-attributes.c: Use locale-independent strtod &
	dtostr. Fixes bug 616787

564
565
566
567
568
569
570
571
572
2010-12-30  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.c, plugins/gtk+/glade-gtk.c,
	plugins/gtk+/gtk+.xml.in:
	  Removed the boolean "fixed" property for catalogs and replaced it with a "create-widget-function"
	tag that allows the backend to create a GladeWidget derived object to handle instances in
	the runtime, modified the backend appropriately to create a GladeFixed for widgets that were
	using the "fixed" property.

573
574
575
576
577
	* configure.ac: Fixed package name to be 'glade' and not 'glade3', this was
	  screwing up the installation directory and loading catalogs/modues for GTK+ 2.x.
	  (i.e. from ${prefix}/share/glade3/catalogs instead of ${prefix}/share/glade/catalogs
	  which is the new path).

578
579
580
581
582
583
584
585
586
587
588
589
	* ALL SOURCE FILES: Removed 8-space indentation, reformatted all code with:
	indent   \
	--braces-after-if-line   \
	--case-brace-indentation0   \
	--case-indentation2   \
	--braces-after-struct-decl-line   \
	--line-length80   --no-tabs  \
	--dont-line-up-parentheses   \
	--continuation-indentation4 \
	--continue-at-parentheses  \
	--honour-newlines  --tab-size8  --indent-level2 -nbbo

590
591
	* plugins/gtk+/gtk+.xml.in: Updated catalog for 2.22 and 2.24 symbols.

592
593
	* gladeui/glade-base-editor.c, gladeui/glade-command.c: Avoid setting a null name on a widget.

594
595
	* gladeui/glade-base-editor.c: Remove restriction for only GtkContainer widgets.

596
597
598
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added editor to edit
	  GtkAction/GtkActionGroup hierarchies.

Javier Jardón's avatar
Javier Jardón committed
599
600
601
602
2010-12-29  Javier Jardón <jjardon@gnome.org>

	* configure.ac: Use upstream gettext

603
604
605
606
2010-12-29  Javier Jardón <jjardon@gnome.org>

	* autogen.sh, configure.ac: Modernize autotools configuration

607
608
609
610
611
612
613
614
615
616
617
2010-12-29  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-base-editor.c, gladeui/glade-editor-property.c,
	gladeui/glade-editor-table.c, gladeui/glade-editor-table.h,
	plugins/gtk+/glade-activatable-editor.c, plugins/gtk+/glade-button-editor.c,
	plugins/gtk+/glade-entry-editor.c, plugins/gtk+/glade-image-editor.c,
	plugins/gtk+/glade-image-item-editor.c, plugins/gtk+/glade-label-editor.c,
	plugins/gtk+/glade-label-editor.h, plugins/gtk+/glade-tool-button-editor.c:
	Removed the GtkTables and use GtkGrid in property editors so that line wrapping
	is hieght-for-width.

618
619
620
621
622
623
	* gladeui/glade-editor-property.c: Make all input widgets want to expand.

	* plugins/gtk+/glade-cell-renderer-editor.c: Fixed to use a GtkGrid to align the
	  properties and do height-for-width, also now use GtkComboBox:fixed-width = FALSE
	  to allow popups to show the full column values instead of the old hack in place.

624
625
	* gladeui/glade-design-view.c: Made loading progress bar nicer looking and ellipsizing.

626
627
628
	* Whole tree updated to remove all notion of project conversions and dual project formats,
	  no more libglade.

629
630
	* Fixing distcheck, bumping version to 3.9.0

631
632
633
634
635
636
2010-12-28  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/Makefile.am, gladeui/glade.h, gladeui/glade-clipboard.c, gladeui/glade-app.[ch],
	  src/glade-window.c, gladeui/glade-clipboard-view.[ch]:
	Removed GladeClipboradView completely.

637
638
639
640
641
642
643
644
2010-12-27  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-project.c: Fixed glade-project to unset the loading flag when
	  loading project dependancies are not satisfied and there is an early return.

	* gladui/glade-editor-property.c: Set a width-chars on the eprop label so that
	  line wrapping kicks in.

645
646
647
	* gladeui/glade-editor-property.c: Align property labels left instead of right
	  (get back the old look and feel).

648
649
650
	* gladeui/glade-widget-adaptor.c: Uncommenting some code that for some reason
	  got "fallout" from the offscreen branches.

651
652
653
	* gladui/glade-placeholder.c: Made GladePlaceholder Implement GtkScrollable so
	  as to avoid warnings when using placeholders inside scrolled windows.

654
655
656
	* gladeui/glade-widget-adaptor.[ch]: Removed the '->scrollable' flag on the adaptor
	  class in favor of just checking if the class type implements GtkScrollable

657
658
659
660
2010-12-26  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-previewer.c: Added include <locale.h> for setlocale() (bug 638035).

661
662
	* gladeui/glade-placeholder.c: Removed debug printing and some unused variables.

663
664
665
	* gladeui/glade-design-layout.c: Make sure to hide widgets going out of the workspace
	  so that embedded toplevels dont "pop out" of the workspace

666
667
	* src/glade-close-button.c: Made the close button in notebook tabs smaller.

668
669
670
	* gladeui/glade-widget.c: Reduce processing of events by not running the
	  widget lookup event redirection for events we're not interested in.

671
672
673
674
675
676
677
678
679
680
681
2010-12-23  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-widget.c: Check if object is actually in the parent when rebuilding
	  (for setting construct properties during a load process).

	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Added glade_gtk_treeview_replace_child(),
	  this was never needed before since treeview columns did not have construct-only properties
	  (so they did not hit "rebuild" codepaths).

	* gladeui/glade-placeholder.[ch]: Make GladePlaceholder use an event window and have no window.

682
683
	* gladeui/glade-design-layout.c: Fixed child allocation cycle to not move the parent's window.

684
685
	* gladeui/glade-utils.c: Fix selection code (and removed lots of lines in doing so)

686
687
	* gladeui/glade-design-layout.c: Re-fixed child allocation to allocate at least the requisition.

688
689
690
	* gladeui/glade-design-layout.c: Fixed search-for-inner widget and placeholder algorithm, now
	  it loops less and actually finds the widgets.

691
692
693
694
695
2010-12-22  Tristan Van Berkom <tristanvb@openismus.com>

	* Making offscreen-gtk3 branch compile again after merging master,
	  also making libgladeui library libgladeui-2.

696
697
698
699
700
701
	* plugins/gtk+/glade-gtk.c: Removing some combobox entry stuff, reenabling
	  the fixed_layout stuff

	* plugins/gtk+/gtk+.xml.in: Removing Ruler classes, added GtkBox, GtkPaned, GtkButtonBox
	  base classes that are now instantiatable

702
703
	* gladeui/glade-previewer.c: Fixed to not use gtk_set_locale().

704
705
706
707
708
709
710
	* gladeui/glade-design-layout.[ch]: Reverted to GtkBin class, cannot do this
	  with a GtkEventBox (the child gets a separate allocation and we use the border,
	  we're really better with priv->event_window).

	* gladeui/glade-widget.c: Fixed to not access GLADE_DESIGN_LAYOUT (widget)->child which
	  doesnt (and shouldnt) exist.

711
712
713
	* data/...: mv gladeui-3.0.pc.in gladeui-2.0.pc.in (its libgladeui-2.0, not 3.0), also
	  moved glade-3.desktop.in.in to glade.desktop.in.in, new app name is 'glade'.

714
715
	* src/glade-window.c: Fixed style for notebook tab progress bar to be set with css.

716
717
718
719
720
721
722
723
2010-12-22  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-project.[ch]: Removed dialog and added "load-progress" signal

	* gladeui/glade-app.c: Protect against commands executed on loading projects

	* src/glade-window.c: Added load progressbar to notebook tabs.

724
725
726
727
728
729
730
731
732
733
	* gladeui/glade-project.c: Added "parse-began" signal

	* gladeui/glade-design-view.c: Hide workspace and show load progress
	  while loading so that one cannot access project widgets during the load
	  (insensitive workspace was problematic and causing some loaded project
	  windows to be permanently insensitive).

	* src/glade-window.c: Avoid any messups during project load, cannot close
	  projects while they are loading, etc.

734
735
736
737
738
739
740
741
742
743
744
745
746
2010-12-21  Tristan Van Berkom <tristanvb@openismus.com>

	Added loading objects dialog with progress and cancel.

	* src/main.c: Display window before loading command line specified projects.

	* gladeui/glade-project.[ch]: Added dialog that pops up when about to load
	  a large project with glade_project_push_project() to push the progress and
	  glade_project_load_cancelled() to check and abort while loading the project.

	* gladeui/glade-widget.c, gladeui/glade-widget-adaptor.c: Push progress and
	  abort loading when project indicates the user cancelled the load.

747
748
2010-12-20  Tristan Van Berkom <tristanvb@openismus.com>

749
750
751
752
753
754
	* plugins/gtk+/glade-label-editor.c: Dont add invisible properties to the editor,
	  instead the invisible editor-property gets tied to the life-cycle of the table
	  it would have been added to (since recently glade_editor_property() explicitly
	  shows/hides properties according to if thier widget actually has an instance
	  of the property).

755
756
757
758
759
760
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.[ch]: Added
	  glade_column_type_new() to create a GladeColumnType struct properly using
	  g_slice_new0(). An occurance of allocating the struct with g_new0 was causing
	  Glade to crash when freeing the block with g_slice_free (bug 637563). Many
	  big thanks to Benjamin Otte for tracking down the problem.

761
762
763
	* gladeui/glade-project.c: Applying Marco Diego Aurélio Mesquita's patch to
	  make the project preview only preview toplevels.

764
765
766
	* gladeui/glade-editor.c: Fixed class header of GladeEditor to update when
	  widgets unload (patch by Marco Diego Aurélio Mesquita, bug 637541).

767
768
769
770
771
	* gladeui/glade-editor-property.c, gladeui/glade-property.c, gladeui/glade-widget.c,
	  plugins/gtk+/glade-gtk.c: Fixing some discrepincies searching for properties as
	  regular properties or packing properties. Now the conflicting "position" property
	  on a GtkPaned widget packed into a GtkBox widget works properly (bug 637475).

772
773
774
775
776
2010-12-19  Tristan Van Berkom <tristanvb@openismus.com>

	* plugins/gtk+/glade-gtk.c: Fix alpha_sort_box_children() to give a consistent
	  order to placeholders (bug 637534 fix by Marco Diego Aurélio Mesquita).

777
778
779
	* plugins/gtk+/glade-gtk.c: Removed alpha_sort_box_children(), project needs to be
	  sorted with box children by position, loading process depends on this.

780
781
782
783
	* gladeui/glade-widget.[ch]: Hide glade_widget_set_object(), improved reference count
	  balancing and fixed segfaults upon closing projects that contain filechooser dialogs
	  referenced by filechooserbuttons.

784
785
786
787
788
2010-12-18  Tristan Van Berkom <tristanvb@openismus.com>

	* src/Makefile.am, gladeui/Makefile.am, plugins/gtk+/Makefile.am, plugins/gnome/Makefile.am:
	  Fixed makefiles as per bug 521713 (patch initially by Daniel Macks).

789
790
791
	* gladeui/glade-editor-property.c: Hide editor properties when the property is not available
	  on the widget, bug 585299, fix by Marco Diego Aurélio Mesquita.

792
793
794
795
	* gladeui/glade-editor-property.c: Unload currently loaded property in
	  glade_editor_property_load_by_widget() when a NULL widget is specified or the property
	  is not found.

796
797
798
799
2010-12-17  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-project.c: Restore proper sorting of objects at save time.

800
801
	* gladeui/glade-property-class.c: Properly order object properties

802
803
	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Alphabetically sort GtkBox children for save.

804
805
806
	* plugins/gtk+/glade-gtk.c, po/*.po: Fixed 'controled' typo with updates to po files, patch
	  by Matt Woelfel for bug 633957.

807
808
	* Marking ChangeLog, this is where 3.7.2 was rolled.

809
810
811
812
2010-12-17  Tristan Van Berkom <tristanvb@openismus.com>

	* NEWS, configure.ac: Rolling 3.7.2.

813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
2010-12-17  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-app.[ch]: Added glade_app_queue_selection_changed()

	* gladeui/glade-command.c: queue selection changes when widgets are added, this
	  avoids synchrounously poking the model when the selection changes various times
	  in a command sequence such as changing a menu item's type.

	* gladeui/glade-base-editor.c: Dont call glade_command_create/delete() directly
	  in change-type, keep delegating this work to build-child/delete-child signals.

	* gladeui/glade-widget.[ch]: Added glade_widget_is_ancestor()

	* gladeui/glade-utils.c: Change glade_util_find_iter_by_widget() to use
	  glade_widget_is_ancestor() and speed up searches a little this way.

829
830
831
832
	* plugins/gtk+/glade-gtk.c:
	  - Defensively avoid crash when setting entry icon tooltips
	  - Add version check macro to compile with GTK+ 2.20

833
834
835
	* plugins/gtk+/glade-gtk.c: Fixed crashes when textview's buffer is deleted, fix
	  by Martin Schlemmer, bug 609748.

836
837
838
	* gladeui/glade-project.c: Fixed crasher when adjusting project naming policy (bug 622528,
	  thanks goes to Sébastien Granjoux and Martin Schlemmer for looking at this one).

839
840
841
842
843
2010-12-16  Tristan Van Berkom <tristanvb@openismus.com>

	* plugins/gtk+/glade-gtk.c: Avoid using gtk_combo_box_set_entry_text_column directly (build
	  for GTK+ 2.20).

844
845
846
847
	* gladeui/glade-project.c: Notify iter changes when the widget name changes, increment project
	  iter stamp before notifying row-inserted (old iters are invalid, the new iter persists),
	  fixed leaked GtkTreePath when rows are inserted.

848
849
850
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Fixed GtkComboBox to handle cell-layout
	  children as well as the possible internal entry (fixes bug 581580).

851
852
	* doc/Makefile.am: For master branch, change doc build to link against libgladeui-2 library.

853
854
855
	* gladeui/glade-base-editor.c: Fixed glade_base_editor_dispose to not access the signal
	  editor, it's automatically destroyed as being a child of the editor.

856
857
858
	* plugins/gtk+/glade-gtk.c: Set added treeviewcolumns to fixed sizing mode if the
	  treeview is set to use fixed height mode (closing bug 596480).

859
860
861
862
863
864
865
866
867
868
	* gladeui/glade-inspector.c:
	  - Avoid changing project selection when selection is cleared, selection get's cleared
	    when the user changes a widget name and a filter is applied (removing the entry from
	    the filtered model), avoiding syncing project selection avoids making the editor disappear
	    when the user changes a widget name (fixes bug 604322).
	  - Also plugged some leaked objects retrieved by gtk_tree_model_get().

	* gladeui/glade-editor-table.c: Fire a warning when entry is edited with no widget
	  loaded, also change the ->loading flag strategy for blocking signal emission instead.

869
870
	* plugins/gtk+/glade-gtk.c: Fixed floating project menus when context menu is fired (bug 141714).

871
872
873
	* gladeui/glade-project.[ch], gladeui/glade-app.[ch], src/glade-window.c: Removed notion
	  of project "instance_count" which is now unused.

874
875
	* plugins/gtk+/gtk+.xml.in: Setting dialog type-hint default to Dialog (closes old bug 459917)

876
877
	* gladeui/glade-project.c: Removing frame shadow (and label) from project preferences (bug 574098).

878
879
	* plugins/gtk+/gtk+.xml.in: default adjustment page size -> 0 (bug 585085).

880
881
882
883
884
885
886
887
888
2010-12-15  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-project.c: Cleanup glade_project_remove_object(), make sure row_deleted is
	  fired before modifying internal data structures (and dont use the glade_util_ function
	  to find a widget iter).

	* plugins/gtk+/glade-gtk.c: Fixed errors when undoing the addition of notebook pages.
	  The problem at length was an issue of orphaned project widgets left in the project model.

889
890
891
892
893
894
895
896
	* gladeui/glade-widget.[ch], gladeui/glade-project.c, plugins/gtk+/glade-gtk.c: Cleanup
	  object ref count cycles, now GladeProject just releases all widgets from the project
	  and keeps a reference to the GladeWidget instead of the GObject, GladeWidget is now
	  GInitiallyUnowned and GladeProject assumes ownership when objects are added to the
	  project (glade-gtk.c in this patch avoids needlessly adding a widget to the project
	  that will be implicitly added, now glade-gtk.c does not directly manually add any
	  widgets to the project).

897
898
899
900
901
	* gladeui/glade-widget.c, gladeui/glade-project.c: Fixed some final things with
	  new GInitiallyUnowned strategy, push superuser mode at dispose time so that
	  the plugin doesnt screw up, also hold a ref to widgets being rebuilt since
	  they can go out and into the project.

902
903
904
905
906
907
908
	* plugins/gtk+/glade-gtk.c: Make sure any manually created glade widgets pass
	  through glade_widget_add_child() and get a proper ref from the parent (fixing
	  more last minute crahsers).

	* gladeui/glade-utils.c: Fixed crasher bug 628233 partially using patch by
	  ramz <ramanathan.nitt@gmail.com>.

909
910
911
	* gladeui/glade-project.c: Fix glade_project_fix_object_props() to copy the
	  list which risks changing order while iterating.

912
913
914
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Avoid warnings when
	  loading glade files.

915
916
917
	* plugins/gtk+/gtk+.xml.in: Ignore "resize-mode" property incase of crashes
	  (as reported in bug 622996).

918
919
920
	* gladeui/glade-palette.c: Add a label in a box to the palette items to avoid
	  the evil ellipsization.

921
922
	* plugins/gtk+/glade-gtk.c: Fixed crash with notebook rebuilding children (bug 365462).

923
924
925
926
927
928
2010-12-14  Tristan Van Berkom <tristanvb@openismus.com>

	* Reverted 3.0 commit, now targetting this branch to the final GTK+ 2.x chapter

	* Reverted the commit that removes the old fashioned "Custom Widget" handling.

929
930
931
932
933
2010-11-12  Johannes Schmid <jhs@gnome.org>

	* gladeui/glade-project.c:
	project-model: Don't be picky about non-existing children
	It is sometimes possible that children are added before their parents
934
	in the tree. We simply ignore that for now as it doesn't
935
936
	cause any harm in the tree model.

937
938
939
940
941
942
943
944
2010-11-05  Matthias Clasen <mclasen@redhat.com>

	* gladeui/glade-command.c:
	* gladeui/glade-editor-property.c:
	* gladeui/glade-widget.c:
	* plugins/gtk+/glade-convert.c:
	Bug 630690 - drop GtkObject use

945
946
947
948
949
2010-10-15  Matthias Clasen <mclasen@redhat.com>

	* src/glade-window.c: Removed specific resize-grip handling as now
	  resize-grips are implemented on GtkWindow directly.

950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
2010-10-12  Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>

	Implemented preview feature for Glade.

	* gladeui/Makefile.am, gladeui/glade-previewer.c: Added program to preview
	  glade files.

	* gladeui/glade-project.[ch]: Implemented glade_project_preview() to spawn a
	  child preview process, reap it when it dies and close all previews when
	  project closes.

	* src/glade-window.c: Added toolbar button to spawn the preview.

	* gladeui/glade-xml-utils.[ch]: Added glade_xml_dump_from_context().

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added actions to preview a widget.

	* gladeui/glade-app.[ch]: Added glade_app_get_bin_dir() for resolving of previewer path.

969
970
971
972
2010-10-11  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-inspector.c: Fixed project leakage at dispose time.

973
974
975
976
977
2010-10-09  Tristan Van Berkom <tristanvb@openismus.com>

	* configure.ac: Default GTK+ version is 3.0, compiling --with-gtk=2.0 is
	  just a hack to enable building glade for 2.0 while it doesnt run for 3.0.

978
979
980
981
982
2010-08-30  Matthias Clasen <mclasen@redhat.com>

	* gladeui/glade-inspector.c, gladeui/glade-named-icon-chooser-dialog.c:
	Some build fixes to help compile against GTK+ 3.0

983
984
985
986
2010-08-30  Tristan Van Berkom <tristanvb@openismus.com>

	* plugins/gtk+/glade-gtk.c: Enable GtkAssistant(child):complete property
	  and override property name and tooltip for the Glade environment to say:
987
	  "Initially Complete"/"Whether this page will initially be marked as complete
Tristan Van Berkom's avatar
Tristan Van Berkom committed
988
	  regardless of user input." (closes bug 529595).
989

990
991
2010-08-29  Tristan Van Berkom <tristanvb@openismus.com>

992
993
994
995
996
997
998
	* gladeui/glade-project.[ch]:
	  - Applied Johannes Schmid's changes in bug 623879.
	  - Added MISC column to the project model (displayable information
	    about whether the widget is an internal child of a composite widget
	    or a frame's label or notebook's tab).

	* gladeui/glade-inspector.c: Fixed regression in the inspector; inspector
999
	  was failing to display information about frame labels and internal action
1000
	  areas and such.
1001

1002
1003
1004
1005
1006
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
	  Fixed GtkComboBox/GtkIconView popup actions (was missing
	  the GtkWidgetClass actions such as add/remove parent)
	  Fixes bug 628146.

1007
2010-08-26  Tristan Van Berkom <tristanvb@openismus.com>
1008
1009
1010
1011

	* plugins/gtk+/glade-gtk.c: Fixed glade_gtk_frame_add_child() to remove any previous
	  placeholders.

1012
1013
1014
1015
1016
1017
	* gladeui/glade-project.c:
	  - Simplified code to use glade_widget_get_children() instead
	    of glade_widget_adaptor_get_children()
	  - Added treemodel stamp and attempt to stamp and validate all
	    GtkTreeIters.

1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
2010-06-15  Tristan Van Berkom <tvb@gnome.org>

	* configure.ac: Require GTK+ 3.0 and change package domain from glade3 -> glade

	* src/Makefile.am, gladeui/Makefile.am: application 'glade-3' -> 'glade', 
	  library libgladeui-1 -> libgladeui-2

	* plugins/Makefile.am, plugins/gnome/*: Removed libgnomeui support.

	* plugins/gtk/gtk+.xml.in, plugins/gtk/glade-gtk.c: Removed all reference to
	  deprecated GTK+ widgets (anything removed in 3.0).

1030
1031
1032
1033
1034
	* gladeui/Makefile.am, gladeui/glade-custom.[ch]: Removed support for old
	  fashioned custom widgets from glade-2.

	* plugins/python/Makefile.am: Fixed to link with new core library (libgladeui-2).

1035
1036
1037
1038
2010-06-10  Javier Jardón <jjardon@gnome.org>

	* m4/python.m4: quote the definition of AM_CHECK_PYMOD

1039
1040
1041
1042
1043
1044
2010-06-10  Javier Jardón <jjardon@gnome.org>

	* gladeui/glade-utils.c: Use gtk_show_uri() instead custom code
	* src/glade-window.c: Use the same api (based in gtk_show_uri()) to show the help and urls.

2010-06-10  Javier Jardón <jjardon@gnome.org>
1045
1046
1047

	* src/glade-window.c: Fix the user and developer url location

1048
1049
1050
1051
1052
1053
2010-05-15  Tristan Van Berkom <tvb@gnome.org>

	* gladeui/glade-project.c: Fixed crasher on cross-project copy paste by reordering
	  the sequence of events in glade_project_add_object().

2010-05-14  Tristan Van Berkom <tvb@gnome.org>
1054

1055
1056
	* configure.ac, NEWS: Rolling Glade 3.7.1

1057
1058
1059
	* gladeui/glade-widget.c: Added some clarification to the docs of glade_widget_get_children(),
	  fixed glade_widget_get_children() to not call g_list_append() in a loop.

1060
1061
1062
1063
1064
2010-05-14  Johannes Schmid <jhs@jsschmid.de>

	* gladeui/glade-app.c: Allow destruction/recreation of the GladeApp object

	* gladeui/glade-signal-editor.[ch]: Some refactoring to make the signal editor
1065
	  object itself a dockable widget and remove some cruft api (bug 618020)
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076

	* gladeui/glade-project.[ch]: Implement GtkTreeModel

	* gladeui/glade-base-editor.c, gladeui/glade-editor.c: Adjust for new signal
	  editor api

	* gladeui/glade-inspector.c: Remove duplicate store and use the the GladeProject
	  as the store directly.

	* src/glade-window.c: Removed some code related to old signal editor api cruft.

1077
1078
1079
1080
2010-05-01  Javier Jardón <jjardon@gnome.org>

	* gladeui/glade-signal-editor.c: Do not show the event box in signal editor

1081
1082
2010-04-01  Tristan Van Berkom <tvb@gnome.org>

1083
	* gladeui/glade-project.c:
1084
1085
1086
1087
	  - Display GTK+ in caps and always assume GTK+ as a project dependency
	    (so that empty projects still depend on GTK+ for display purposes).
	  - Stop showing preferences at project new time (now we have tooltips that tell you this stuff),
	    finally closing bug 574095.
1088

1089
1090
1091
1092
1093
1094
1095
1096
1097
2010-03-31  Tristan Van Berkom <tvb@gnome.org>

	* gladeui/glade-signal-editor.c: Moved unrefs from finalize --> dispose, unload the loaded
	  widget and disconnect from support-changed signal, avoid clearing liststore when its owning
	  view is destroyed and we're unsetting the widget in ->dispose.

	* src/Makefile.am, src/glade-close-button.[ch]: Using Paolo Borelli's close button code for notebook
	  tab close buttons.

1098
	* src/glade-window.c:
1099
1100
	  - Added option to disable toolbar in View menu and session data (bug 586194).
	  - Added option to show notebook tabs for open projects also in the View menu and session data.
Tristan Van Berkom's avatar
Tristan Van Berkom committed
1101
	  - Added option to show/hide statusbar in the View menu and session data.
1102
1103
1104
1105

	* gladeui/glade-palette.c: Made "both" mode use text horizontally again, still get alot of unwanted 
	  ellipsize here.

1106
	* gladeui/glade-project.c: Added the targets-changed signal to refresh views with data about
1107
1108
	  target project versions (notebook tabs).

1109
1110
1111
	* gladeui/glade-base-editor.c: Fixed to unref in ->dispose() and to unset the loaded widget
	  in the signal editor when doing so.

1112
1113
	* gladeui/glade-signal-editor.c: Save some space in treeview column headers.

1114
1115
1116
1117
1118
1119
2010-03-30  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Block the glade_gtk_text_buffer_changed()
	  handler when updating the buffer text (this feedback loop was causing segfaults when undoing
	  modifications to a text buffer's text).

1120
1121
1122
1123
	* gladeui/glade-signal-editor.c: Fixed access to signal name in object dialog hander (was a crasher).

	* gladeui/glade-widget.c: Fixed GladeWidget to update support warnings on newly added signals.

1124
1125
1126
	* plugins/gtk+/gtk+.xml.in: Removed GtkUIManager as its not really editable in Glade but still
	  asks for an icon at startup.

1127
1128
2010-03-29  Tristan Van Berkom <tvb@gnome.org>

1129
1130
1131
	* gladeui/glade-editor-property.[ch]: 
	  - Added glade_editor_property_show_object_dialog()
	  - Give object dialogs a bigger default size and hide the column headers
1132
	  - Fixed an assertion and page-size != 0 for adjustment properties in libglade mode
1133
1134
1135
1136

	* gladeui/glade-signal-editor.c: 
	  - Use glade_editor_property_show_object_dialog() to select project objects for signal user data.
	  - Added tooltips for the column headers
1137
1138
	  - Now show an icon and tooltip in rows for signals that are only
	    supported in the future, refresh them when support changes.
1139
	  - Dont show swapped column in libglade mode
1140
1141
	  - Reordered support icon to come before the signal name and let the column be user
	    resizable along with the others (non-resizable unellipzised signal name columns expand over time)
1142

1143
1144
1145
	* gladeui/glade-widget-adaptor.h, gladeui/glade-property-class.h: Added some version checking macros.

	* gladeui/glade-signal.[ch]: Add support warning meta data to signals
1146
1147

	* gladeui/glade-project.c:
1148
1149
1150
1151
1152
1153
	  - Simplify code with new version checking macros
	  - Do the verify on signals for widgets as well as project warnings
	    (update the signals a verify time).

	* gladeui/glade-widget.c: GladeWidget takes a new "support-changed" to broadcast support changes
	  on the widget.
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163

	* gladeui/glade-popup.c: Allow adding new actions to action groups from the palette ("Add widget here").

	* plugins/gtk+/glade-accels.[ch]: Moved individual accelerator [de]serialization here, special integration
	  for action types, for actions only show one accelerator and dont load/save the "activate" signal name.

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added support for GtkActionGroup <--> GtkAction
	  relationships and support for editing/loading/saving of accelerators which can be associated with
	  actions inside an action group.

1164
1165
1166
1167
1168
1169
1170
2010-03-28  Tristan Van Berkom <tvb@gnome.org>

	* gladeui/Makefile.am, gladeui/glade-cell-renderer-icon.[ch]: Added activatable pixbuf renderer

	* gladeui/glade-signal-editor.c: Use new activatable pixbuf renderer to render a devhelp icon
	  and fire signal contextual devhelp searches.

1171
1172
1173
1174
1175
	* plugins/gtk+/glade-model-data.c, plugins/gtk+/glade-attributes.c: Use GladeCellRendererIcon
	  instead of GladeCellRendererButton which was more convoluted (included only an icon when editing).

	* plugins/gtk+/Makefile.am: Removed glade-cell-renderer-button.[ch]

1176
1177
1178
1179
1180
2010-03-28  Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>

	* gladeui/glade-base-editor.c: Avoid GtkEntry feedback loop with g_signal_handlers_block_by_func(),
	fixes bug 609612.

1181
1182
1183
1184
1185
1186
1187
1188
1189
2010-03-28  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in:
	  - Sync attributes when they are set to be used directly and not by the model (fixes loaded state
	    of explicitly set cell renderer properties). 
	  - Fix last patch to reset cellrenderer attributes from a GladeProperty::value-changed signal
	    instead of the property mutator implementation (as the "columns" property is construct-only
	    and the widget is rebuilt - property reference lists are unavailable at ->set_property time).

1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
	* gladeui/glade-widget-adaptor.[ch]: Add a "scrollable" flag on the adaptor class vtable
	  introspected by checking if (widget_class->set_scroll_adjustments_signal) != 0.

	* gladeui/glade-utils.[ch]: Added glade_util_check_and_warn_scrollable() to check and warn the
	  user if they are trying to add a non-scrollable widget to a scrolled window.

	* gladeui/glade-app.c, gladeui/glade-popup.c, gladeui/glade-placeholder.c, plugins/gtk+/glade-gtk.c: 
	Consult glade_util_check_and_warn_scrollable() before executing commands that introduce objects
	to the project.

1200
	* gladeui/glade-xml-utils.h: Added "swapped" attribute definition
1201
1202

	* gladeui/glade-signal.c: Added "swapped" attribute and read/write from xml, swapped attribute is
1203
1204
1205
1206
1207
1208
	always saved, if its missing on load and user_data (object) is set, we assume a swapped default.

	* gladeui/glade-signal-editor.c: Allow toggling "swapped" flag of a signal if user data is set.

	* gladeui/glade-widget.c: Account for new signal "swapped" flag when modifying local signals.

1209
1210
2010-03-27  Tristan Van Berkom <tvb@gnome.org>

1211
	* gladeui/glade-marshallers.list, gladeui/glade-placeholder.c:
1212
1213
1214
1215
1216
1217
1218
	  Make GladePlaceholder a scrollable widget (hypothetically) to avoid runtime warnings.

	* plugins/gtk+/gtk+.xml.in: Disabled "has-separator" of GtkMessageDialog as it ignores the separator
	  and the setting is useless (not to mention setting it causes runtime warnings: fixes bug 587288).

	* gladeui/glade-project.[ch]: Expose glade_project_get_target_version()

1219
	* plugins/gtk+/glade-gtk.c:
1220
1221
1222
1223
1224
	  - check project target gtk+ version to decide initial state
	    of GtkEntry::buffer.
	  - Substitute the old manual evaluation with GPC_VERSION_CHECK()
	  - Avoid critical warnings when setting GtkColorButton properties to NULL
	  - Avoid critical warnings when setting GtkComboBoxEntry::text-column < 0
1225
	  - Check for type compatibility before setting cell renderer attributes
1226
1227
1228
1229
1230
	  - Clear cell renderer attributes before setting liststore column types and resync them after
	    (Avoids cricital warnings where the underlying data types changed and dont match the properties
	    of the renderers)
	  - Fill in the gaps in model data while loading some columns with non serializable types
	    (fixes severe bug: model data was loaded with missing columns of data).
1231

1232
1233
1234
1235
1236
1237
1238
	* gladeui/glade-property-class.h: Created convenience macro GPC_VERSION_CHECK

	* gladeui/glade-utils.c: Allow loading of libraries installed in optional non-system prefixes;
	  (so that GtkSourceView catalog is buildable and usable from your jhbuild environment)
	  assume a path that is: ${prefix}/lib/glade3/modules/../../ and search it after the initial 
	  module search path.

1239
1240
1241
	* plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c: 
	  allow model data with explicitly G_TYPE_INVALID types.

1242
1243
1244
1245
1246
1247
1248
1249
2010-03-26  Tristan Van Berkom <tvb@gnome.org>

	* gladeui/glade-palette.c: Left aligned and ellipsize end widget group titles (restored normal
	  Glade palette behavior) and added tooltip to group title (closing bug 558983).

	* src/glade-window.c: Added an idle function to reload GtkPaned positions from the session data
	  in the case the window fires up maximized.

1250
1251
1252
1253
1254
1255
1256
1257
1258
2010-03-25  Tristan Van Berkom <tvb@gnome.org>

	* gladeui/Makefile.am, gladeui/glade-palette.c:
	  - Removed glade-palette-box.[ch], glade-palette-expander.[ch] and glade-palette-item.[ch].
	  - Integrated GtkToolPalette as the internal implementation of Glade's palette (bug 613956).

	* plugins/gtk+/glade-gtk.c: Fix some remaining crashes from the GSEAL() stuff (GtkBoxChild
	  invalid type dereferencing).

1259
	* plugins/gtk+/gtk+.xml.in, plugins/gnome/gnome.xml.in, plugins/gnome/canvas.xml.in,
Tristan Van Berkom's avatar
Tristan Van Berkom committed
1260
	plugins/gtk+/gtkunixprint.xml.in: Added missing displayable values and rooted out latest
1261
1262
1263
1264
1265
1266
1267
1268
	resulting startup warnings for GTK+ 2.20.

	* gladeui/glade-widget-adaptor.[ch]: Save the original missing icon name if the icon was
	  not found.

	* gladeui/glade-catalog.c: Print a summery of all missing icon names for thier classes
	  (cleans up start up warnings).

1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
2010-03-25  Federico Mena Quintero  <federico@novell.com>

	* plugins/gtk+/gtk+.xml.in: bgo#594231 - Fix the orientation of
	GtkVBox and other vertically-oriented widgets.  We disable the
	"orientation" property on those widgets, so that we can use the
	values that GTK+ actually provides.  GTK+ does not currently
	report the right defaults for those widgets, so the final values
	were being overwritten - so vboxes appeared horizontal.  In the
	future we will make GtkBox et al instantiable so the user can
	really have orientable containers.

1280
1281
1282
1283
1284
1285
1286
2010-03-24  Tristan Van Berkom <tvb@gnome.org>

	* gladeui/glade-signal.[ch]: Broke api of glade_signal_write(), this api should never
	  be called outside of the Glade core so its a soft api break.

	* gladeui/glade-widget.c: Call glade_signal_write() with the current project format, fixes bug 600031.

1287
1288
	* plugins/gtk+/gtk+.xml.in: Flag 'save-always' for 'can-focus' property on GtkEntry.

1289
1290
1291
1292
1293
2010-03-20  Javier Jardón <jjardon@gnome.org>

	* gladeui/glade-builtins.c: Use g_timeout_add_seconds() instead of g_timeout_add()
	  (gnome goal bug 581255).

1294
1295
1296
1297
1298
2010-03-20  Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>

	* src/glade-window.c: Save maximized window state of main window and
	  all dockable editors in the session data (fixes bug 607670).

1299
1300
1301
1302
1303
1304
2010-03-17  Christian Persch  <chpe@gnome.org>

	* gladeui/glade-xml-utils.c: Save glade files with UTF-8 encoding
	This avoid putting character entities for non-ASCII characters in the
	extractable strings. Bug #596205.

1305
1306
1307
1308
1309
1310
1311
1312
1313
2010-03-11  Aaron Brown  <aaron.j.brown@hotmail.com>

	* src/glade-window.c: Changed "Close without saving" acelerator key
	  from 'c' to 'w', fixes bug 612538.

2010-03-10  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/gtk+.xml.in: Marked GtkSpinner since="2.20"

1314
1315
2010-03-10  Tristan Van Berkom <tvb@gnome.org>

1316
1317
	* configure.ac, NEWS: Rolling Glade 3.7.0

1318
1319
1320
1321
1322
1323
	* plugins/gtk+/gtk+.xml.in: Removed alot of virtually defined properties that were not available 
	  in GTK+ 2.14, now they are available.

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-entry-editor.c: Enhanced the GtkEntry editor
	  to allow the user to chose between the "text" and the "buffers" exclusively.

1324
1325
1326
1327
1328
1329
2010-03-10  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/glade-model-data.c: Fixed crasher when double freeing the data tree
	  in some idle handlers (idle handlers needed for advanced focus handling/keynav), fixes crash bug 608011.
	  Also make sure to create the adjustment with a 0 page size.

1330
1331
1332
	* plugins/gtk+/gtk+.xml.in: Fixed translation details pointed out by Johannes H. Jensen
	  in bug 607348.
	
1333
1334
1335
1336
2010-03-10  Javier Jardón <jjardon@gnome.org>

	* plugins/gtk+/gtk+.xml.in: Deprecated GtkGammaCurve and GtkCurve

1337
1338
1339
1340
2010-03-09  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/gtk+.xml.in: Deprecated input dialog

1341
1342
1343
1344
1345
2010-03-09  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/glade-gtk.c: Fixed GtkBox & GtkTable regressions introduced
	  by GSEAL patches.

1346
1347
1348
1349
1350
1351
	* plugins/gtk+/gtk+.xml.in: Updated newly added symbols in GTK+ on widgets already
	  in the catalog; added new objects from GTK+:
	  - GtkEntryBuffer
	  - GtkSpinner
	  - GtkCellRendererSpinner

1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
2010-03-09  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.[ch], 
	  plugins/gtk+/glade-model-data.c: Allow litteral string values for 
	  column types in the tree store editor, Glade will serialize/deserialize
	  the string litterally and if there is a valid type returned from
	  g_type_from_name() (i.e. a valid introduced type by that name); then 
	  that GType will be used to setup the column types of runtime treestores
	  in the project; otherwise it will use G_TYPE_POINTER for those columns.

	  This closes bug 597095.

2010-03-09  Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>

	* gladeui/glade-project.c: Avoid collapsing commands when a project is freshly saved
	  (this fixes a false "unmodified" state after changing the same property before and
	  after project save).

1370
1371
1372
1373
2010-01-28  Javier Jardon <jjardon@gnome.org>

	* README: Glade requires GTK+ >= 2.20

1374
2009-12-18  Javier Jardón <jjardon@gnome.org>
Javier Jardón's avatar
Javier Jardón committed
1375
1376
1377

	* doc/gladeui-docs.sgml: Fix doc location link

1378
2009-12-04  Javier Jardón <jjardon@gnome.org>
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390

	Use accessor functions instead direct access. Second patch

	GTK+ 2.19.0 is now the required version
	I've used all the GTK+ 2.19.1 api available, still missing:
	GTK_WIDGET_UNSET_FLAGS (widget, GTK_TOPLEVEL);
	GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
	GTK_WIDGET_REALIZED ()
	GTK_WIDGET_MAPPED ()

	https://bugzilla.gnome.org/show_bug.cgi?id=594957

1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
2009-12-04  Javier Jardón <jjardon@gnome.org>

	Use accessor functions instead direct access.

	GTK+ 2.17.10 is now the required version
	I've used all the GTK+ 2.18.* api available, still missing:
	GTK_WIDGET_UNSET_FLAGS (widget, GTK_TOPLEVEL);
	GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
	GTK_WIDGET_REALIZED ()
	GTK_WIDGET_MAPPED ()
	GTK_VIEWPORT ()->bin_window
	GTK_ENTRY ()->editing_canceled

	https://bugzilla.gnome.org/show_bug.cgi?id=594957

1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
2009-11-09  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Disable default saving behaviour of order dependant 
	GtkAdjustment properties and installed glade_gtk_adjustment_write_widget() to write the properties out
	in the following order: "lower", "upper", "value" (fixes bug 578484).

2009-10-12  Javier Jardon <jjardon@gnome.org>

	* configure.ac: Support silent build when using automake >= 1.11

1416
1417
1418
1419
2009-09-14  Tristan Van Berkom <tvb@gnome.org>

	* gladeui/glade-widget.c: Fixed crasher while copying internal widgets (bug 595156)

1420
1421
1422
1423
1424
2009-07-01  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/glade-gtk.c: Fixed loading state of assigned GtkTreeModels of GtkCellRendererCombo
	objects (bug 566928).

1425
1426
2009-06-29  Tristan Van Berkom <tvb@gnome.org>

1427
1428
	* configure.ac, NEWS: Rolling Glade 3.6.7
	
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
	* configure.ac, gladeui/glade-app.c: Added --enable-mac-bundle configure option to
	special case runtime path lookups to bundling builds.

	* gladeui/glade-popup.[ch]: Added glade_popup_is_popup_event () to check the correct
	GdkEventButton state for a context menu (in a platform independant way).

	* gladeui/glade-base-editor.c, gladeui/glade-editor-property.c, gladeui/glade-palette-item.c,
	gladeui/glade-placeholder.c, gladeui/glade-widget.c, gladeui/glade-inspector.c: Use new
	popup function to detect whether to show a context menu or not (bug 587128).

	* gladeui/glade-base-editor.c: Fixed crashes with editable treeview column types (bug 586715).

1441
1442
1443
1444
1445
1446
2009-06-27  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/gtk+.xml.in, glade/gtk+/glade-gtk.c: Fixed GtkTextView crashes when
	editing the textview in line, now we update the associated GtkTextBuffer:text property
	if available or the GtkTextView:text virtual property when in libglade mode.

1447
1448
1449
1450
1451
1452
1453
2009-06-25  Tristan Van Berkom <tvb@gnome.org>

	* gladeui/glade-property.c: glade_property_sync_impl(), dont sync properties
	that are the primary property of that klass for the said widget (properties
	can float outside of widget->properties in some cases, shouldnt effect the
	widget though).

1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
	* plugins/gtk+/glade-gtk.c: 
	  - glade_gtk_button_write_widget (), make stock button labels save as 
	    non-translatable automatically (bug 352446).
	  - Added sync_use_appearance() to reset the use-appearance property when local
	    widget property updates demand that the appearance be resynchronized (this
	    is actually a bug in GTK+ somewhere).
	  - Avoid tampering with the virtual GtkBox:size property while loading a project.
	
	* plugins/gtk+/gtk+.xml.in: Attributed use-action-appearance property with "needs-sync"
	for better chances at a good visual result when copy/pasting etc.

	* plugins/gtk+/glade-activatable-editor.c: Reverse order in which the image is
	removed from GtkImageMenuItems (so that mucking with stock doesnt recreate one
	2 lines further), now image menu items with controlling actions dont get orphaned images.
	
	* gladeui/glade-widget-adaptor.c: Sync remaining properties at load time
	which were not specified in the glade file (now the use-action-appearance
	property shows up right even if default and not present in the Glade file).
1472

1473
1474
2009-06-22  Tristan Van Berkom <tvb@gnome.org>

Tristan Van Berkom's avatar
Tristan Van Berkom committed
1475
1476
	* configure.ac, NEWS: Rolling Glade 3.6.6
	
1477
	* gladeui/glade-app.c, gladeui/Makefile.am: Find quartz specific runtime prefix
Tristan Van Berkom's avatar
Tristan Van Berkom committed
1478
	using ige_mac_bundle_get_path() (bug 586551)
1479

1480
1481
1482
1483
1484
1485
1486
	* gladeui/glade-project.c: Added algorythm to introspect lowest possible
	version of GTK+ to depend on for a project, this helps cases where the 
	versioning data is missing, instead of defaulting to latest which may
	cause problems for people specifically targetting GTK+ 2.12 (bug 586046).
	
	* plugins/gtk+/gtk+.xml.in: Mark accel-groups property as since GTK+ 2.16.
	
1487
1488
1489
1490
2009-06-20  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/gtk+.xml.in: Make GtkMessageDialog texts translatable (bug 586063)

1491
1492
1493
1494
	* gladeui/glade-clipboard-view.c, gladeui/glade-command.c, gladeui/glade-property-class.c,
	gladeui/glade-utils.c, plugins/gtk+/glade-gtk.c: Replaced symbols with new glib 
	variants (Sam Thursfield - bug 572756)

1495
1496
1497
1498
1499
	* src/glade-window.c, gladeui/glade-editor-property.c,
	plugins/gtk+/glade-accels.c, plugins/gtk+/glade-cell-renderer-button.c, 
	plugins/gtk+/glade-gtk.c:
	Replace use of deprecated GTK+ functions (Sam Thursfield - bug 572756).

1500
1501
	* gladeui/glade-xml-utils.h, gladeui/glade-editor-property.c: Use GtkComboBox
	instead of deprecated GtkOptionMenu (Sam Thursfield - bug 572756).
1502
1503
1504

	* src/glade-window.c: Case the GTK+ version and call non-deprecated symbols when in GTK+ 2.16 (bug 572756).

1505
1506
1507
1508
1509
2009-06-18  James Liggett <jrliggett@cox.net>
	
	* gladeui/glade-widget.c: Make sure that the project view is not 
	NULL in glade_widget_show. (bug 585860)

1510
1511
2009-06-15  Tristan Van Berkom <tvb@gnome.org>

Tristan Van Berkom's avatar
Tristan Van Berkom committed
1512
	* plugins/gtk+/gtk+.xml.in: Make assistant page-titles translatable (bug 503146), marked since 2.10 on
1513
1514
1515
1516
1517
	some assistant properties.

	* gladeui/glade-editor-property.c: show resource dialog button when creating (seems we
	were relying on a show_all() call that isnt called for packing properties).
	
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
2009-06-12  Tristan Van Berkom <tvb@gnome.org>

	* configure.in, NEWS: Rolling Glade 3.6.5 (added more output in configure.ac
	config summery).

	* gladeui/glade-project.[ch], gladeui/glade-command.c, gladeui/glade-inspector.c: 
	Really fixing widget naming policies again, this time I hope it sticks (bug 580745).

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Fixed dissapearing
	dialogs on ESC (bug 582559)

	* plugins/python/Makefile.am: Fixed relocated link problems with python 
	plugin build (bug 582982, patch by Arun Raghavan).

1532
1533
1534
1535
1536
1537
2009-06-11  Tristan Van Berkom <tvb@gnome.org>

	* configure.ac, src/Makefile.am, src/glade-window.c: Use ige-mac-integration
	if available for quartz builds (set the menubar as the application menu and
	correctly handle the quit button).

1538
2009-06-06  Tristan Van Berkom <tvb@gnome.org>
1539
1540

	* NEWS: Rolling Glade 3.6.4
1541
1542
1543
1544
	
	* plugins/gtk+/glade-gtk.c: Sync up size requests of fixed/layout children
	at load time (bug 584334).

1545
1546
2009-05-27  Tristan Van Berkom <tvb@gnome.org>

1547
	* configure.ac, NEWS: Updating for 3.6.4 ... [ NOT ROLLED YET ]
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558

2009-05-27  Tristan Van Berkom <tvb@gnome.org>

	* gladeui/glade-base-editor.c, gladeui/glade-inspector.c, gladeui/glade-palette-item.c,
	gladeui/glade-placeholder.c, gladeui/glade-widget.c: Made Glade barely usable on the Mac,
	now all popup menus will popup on (GDK_MOD[1-3]_MASK && event->button == 1) as well as
	on (event->button == 3) since Mac is missing the right mouse button and ports X server
	setup doesnt seem to emulate it.

	* gladeui/glade-property-class.c: Add me to authors.

1559
1560
1561
1562
1563
1564
1565
1566
2009-05-17  Juan Pablo Ugarte <juanpablougarte@gmail.com>

	* gladeui/glade-base-editor.c: fixed bug in glade_base_editor_add_default_properties()
	  It was setting the wrong type model.

	* gladeui/glade-widget-adaptor.c: use parent icon if none is found for the class
	  This helps a lot for custom composite widget.

1567
1568
1569
1570
2009-04-29  Tristan Van Berkom <tvb@gnome.org>

	* gladeui/glade-project.c: Check project naming policy at add_object() time (bug 580745).

1571
1572
1573
1574
1575
1576
1577
2009-04-24  Juan Pablo Ugarte <juanpablougarte@gmail.com>

	* plugins/gtk+/glade-gtk.c:
	  o fixed icon source state write bug on write_icon_sources()
	  o fixed loading bug in glade_gtk_icon_factory_read_sources()
	    we either use g_list_append() or steal/insert to add new icon sources

1578
2009-04-22  Tristan Van Berkom <tvb@gnome.org>
1579
1580
1581
1582

	* NEWS, configure.ac: Rolling 3.6.3
	
	* plugins/gtk+/gtk+.xml.in: Removed buggy query dialog from notebook (closing bug 578727).
1583
1584
1585
1586
	
	* plugins/gtk+/glade-gtk.c: Made Atk proxy objects always have unique names (at
	least as unique as the widget they are created for) (bug 579565).

1587
1588
1589
	* src/glade-window.c: Removed hard coded size request to palette (Bug 579624)
	(added some default pane positions).

1590
1591
1592
1593
2009-04-22  Davyd Madeley <davyd@madeley.id.au>

	* plugins/gtk+/glade-gtk.c: Fixed output format for GtkLabel attributes (bug 579793).

1594
1595
1596
1597
1598
1599
2009-04-21  Juan Pablo Ugarte <juanpablougarte@gmail.com>

	* doc/gladepython.sgml: added Glade Python plugin documentation.
	
	* doc/gladeui-docs.sgml, doc/Makefile.am: added reference to the new docs.

1600
1601
2009-04-18  Tristan Van Berkom <tvb@gnome.org>

1602
1603
1604
	* plugins/gtk+/gtk+.xml.in: Fixed GtkButton to only allow real stock items,
	gave GtkImage a default icon-size of GTK_ICON_SIZE_BUTTON (better than invalid).

1605
1606
1607
1608
1609
	* plugins/gtk+/glade-activatable-editor.c, 
	gladeui/glade-editor-property.c: Maintain current widget selection
	during commits of related-action (was causing crashes when the
	selection changed as a result of a commit, bug 578869).

1610
1611
2009-04-15  Tristan Van Berkom <tvb@gnome.org>

1612
1613
1614
	* configure.ac, NEWS, data/gladeui.pc.in: Bumping
	required GTK+ version in the .pc and rolling 3.6.2.
	
1615
1616
1617
1618
1619
1620
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: 
	Added glade_gtk_cell_renderer_read_widget() and now
	glade_gtk_cell_layout_read_child() doesnt load attributes
	if the object property has been explicitly specified in
	the Glade file (fixes bug 566928).

1621
1622
1623
1624
1625
1626
2009-04-07  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/glade-gtk.c: GtkWindow adaptor was skipping GtkWidget
	adaptor when chaining up in ->write_widget() (causeing atk props,
	accelerators and signals in libglade to be missed - bug 578211).

Tristan Van Berkom's avatar
Tristan Van Berkom committed
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
2009-04-06  Tristan Van Berkom <tvb@gnome.org>

	* plugins/gtk+/glade-button-editor.c: Properly initialize GValue on 
	stack (fix by Felix Riemann - bug 577822).

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-store-editor.c: 
	Disabled 'data' property for treestores (oops not supported by
	GtkBuilder, Bug 577685).

	* gladeui/[...].h: Fixed failed build on Msys/MinGW (Bug 576851 – 
	fix by Damon Register).
	
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
2009-03-25  Tristan Van Berkom <tvb@gnome.org>

	Fixed Mal-ordering of atk properties, signals and accelerators in
	Libglade format output.
	
	* gladeui/glade-widget.[ch]: Now export glade_widget_write_signals(),
	only write signals from the core when in builder format.

	* plugins/gtk+/glade-gtk.c: glade_gtk_widget_write_widget(), write
	properties out as "properties -> atk -> signals -> accelerators when
	in libglade format, leave signals to core when in builder format.