ChangeLog 492 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2011-01-28  Tristan Van Berkom <tristanvb@openismus.com>

	* gladeui/glade-xml-utils.h, gladeui/glade-widget-adaptor.[ch], gladeui/glade-widget.[ch]:
	  Added <add-child-verify-function> semantics to query the plugin if it's ok to add
	  a said "child" to an adaptors widget "parent" and warn the user about it in context.

	* gladeui/glade-project.c: Check glade_widget_add_verify() when pasting widgets

	* gladeui/glade-command.c: Check glade_widget_add_verify() from glade_command_create()

	* gladeui/glade-popup.c: Allow "Add widget here" action to appear for any project object
	  and rely on glade_command_create() to warn the user via glade_widget_add_verify() if
	  adding the widget fails.

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added <add-child-verify-function> support to
	GtkContainer, GtkMenuShell, GtkMenuItem, GtkToolBar, GtkToolItem, GtkToolPalette, GtkToolItemGroup,
	GtkActionGroup, GtkTextTagTable adaptors.

19
20
21
22
23
24
2011-01-27  Tristan Van Berkom <tristanvb@openismus.com>

	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Added support for GtkRecentFilter
	  as well as reading and writing the new <mime-types> <patterns> and <applications> tags
	  that are recently added to GtkRecentFilter's GtkBuildable implementation.

25
26
27
28
	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Added support to GtkFileFilter
	  for reading and writing the new <mime-types> and <patterns> tags
	  that are recently added to GtkFileFilter's GtkBuildable implementation.

29
30
	* plugins/gtk+/gtk+.xml.in: Added GtkRecentManager to the palette.

31
32
33
34
35
36
37
38
39
40
41
42
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.

43
44
45
	* gladeui/glade-popup.c: Fixed property popup to not show DevHelp link when the property
	  is a virtual one.

46
47
2011-01-25  Juan Pablo Ugarte <juanpablougarte@gmail.com>

48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
	* 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()
71

72
73
74
75
2011-01-24  Tristan Van Berkom <tristanvb@openismus.com>

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

76
77
	* plugins/gtk+/glade-attributes.c: Relicensing to LGPL.

78
79
80
81
82
83
84
85
86
87
88
89
90
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.

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

94
95
96
97
98
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).

99
100
101
102
	* 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.

103
104
105
106
107
108
109
110
111
112
113
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

114
115
116
117
118
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.

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

121
122
123
124
125
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.

126
127
128
129
130
131
132
	* 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.

133
134
135
136
137
	* 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.

138
139
140
	* gladeui/glade-builtins.c: Removed _() annotations for strings that dont need to be
	translated.

141
142
143
144
	* 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.

145
146
147
148
2011-01-15  Emilio Pozuelo Monfort <pochu27@gmail.com>

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

149
150
151
152
153
154
155
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()

156
157
158
159
	* gladeui/glade-app.c:
	* gladeui/glade-signal-editor.c:
	Added "signal-editor-created" signal

160
161
162
163
2011-01-13  Javier Jardón <jjardon@gnome.org>

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

164
165
166
167
2011-01-13  Javier Jardón <jjardon@gnome.org>

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

168
169
170
171
2011-01-13  Tristan Van Berkom <tristanvb@openismus.com>

	* NEWS, configure.ac: Rolling Glade 3.9.1

172
173
174
175
176
177
178
179
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.

180
181
182
	* plugins/gtk+/glade-attributes.c: Fixed mismatching PangoAttributeType with GType,
	closes bug 597045.

183
184
185
	* plugins/gtk+/gtk+.xml.in: Readjusted displayable values so they are available
	  for palette enums.

186
187
188
189
190
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).

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

193
194
195
196
	* 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).

197
198
199
200
	* 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.

201
202
203
204
	* 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).

205
206
207
208
209
210
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.

211
212
213
214
215
216
217
	* 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()

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

220
221
222
	* 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.

223
224
225
226
227
228
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).

229
230
231
232
	* 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).

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

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

237
238
239
240
	* 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.

241
242
243
244
	* 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).

245
246
247
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Write GtkToolButton menu children
	out as "menu" special child type.

248
249
250
251
	* plugins/gtk+/gtk+.xml.in:
	  - Made all GdkColor type properties optional, closes bug 457969
	  - Disabled all the irrelevant "-set" properties of GtkTextTag.

252
253
254
	* 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).

255
256
257
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Add support for adding texttags to
	texttagtable.

258
259
	* plugins/gtk+/gtk+.xml.in: Disable the GtkToolButton:menu property.

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

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

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

268
269
270
	* 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).

271
272
273
	* src/glade-window.c: Fix possible crash when saving new project. bug 622635, fix
	by Martin Schlemmer.

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

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

279
280
281
	* 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.

282
283
284
285
286
287
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).

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

290
291
292
293
294
	* 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.

295
296
297
	* gladeui/glade-builtins.c: Fixed redundant registering of displayable values for
	stock items.

298
299
300
	* 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.

301
302
303
304
	* 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.

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

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

310
311
312
313
2011-01-07  Emilio Pozuelo Monfort <pochu27@gmail.com>

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

314
315
316
317
318
2011-01-07  Emilio Pozuelo Monfort <pochu27@gmail.com>

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

319
320
321
322
323
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.

324
2011-01-07  Tristan Van Berkom <tristanvb@openismus.com>
325
326
327
328

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

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

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

335
336
337
338
339
340
341
	* 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.

342
343
344
345
2011-01-06  Tristan Van Berkom <tristanvb@openismus.com>

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

346
347
2011-01-06  Tristan Van Berkom <tristanvb@openismus.com>

348
349
	* NEWS: Rolling Glade 3.9.0

350
351
352
353
354
355
356
357
358
359
360
361
	* 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.

362
363
364
	* gladeui/glade-project.c: Show selected widget when selection changes and
	Cancel any queued selection from glade_project_selection_changed.

365
366
367
368
369
370
	* 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.

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

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

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

380
381
	* docs/gladeui.types: Removed GladeFixed and added GladeSignal.

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

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

386
387
388
389
390
391
392
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.

393
394
395
396
	* 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.

397
398
399
	* gladeui/glade-clipboard.[ch], gladeui/glade-project.c:
	Privatized GladeClipboard members.

400
401
402
	* gladeui/glade-command.[ch], gladeui/glade-project.c, src/glade-window.c:
	Privatized GladeCommand members.

403
404
405
	* gladeui/glade-placeholder.[ch], gladeui/glade-popup.c:
	Privatized GladePlaceholder members.

406
407
408
409
410
411
412
413
414
415
416
	* 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

417
418
419
420
421
422
423
424
425
426
	* 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.

427
428
	* gladeui/glade-editor.c: Make the editor notebook scrollable.

429
430
431
	* gladeui/glade-signal.[ch], gladeui/glade-signal-editor.c, gladeui/glade-command.c,
	gladeui/glade-widget.c: Made GladeSignal a GObject.

432
433
434
435
2011-01-04  Johannes Schmid <jhs@gnome.org>

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

436
437
438
439
440
441
442
443
444
445
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).

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

448
449
	* gladeui/glade-cell-renderer-icon.[ch]: Privatizing members.

450
451
	* Adding padding to classes in various files.

452
453
	* gladeui/glade-editor.[ch]: Privatized members of GladeEditor.

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

456
457
458
459
	* gladeui/glade-editor-property.[ch]: Privatized members of GladeEditorProperty.

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

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

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

465
466
467
	* 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).

468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
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.

486
487
488
489
490
491
492
493
494
495
496
497
498
	* 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(-)

499
500
501
502
	* 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.
503

504
505
506
507
508
509
510
	* 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.

511
512
513
514
515
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.

516
517
518
519
520
	* 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).

521
522
523
	* 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.

524
525
526
527
	* 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.

528
529
530
531
	* 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).

532
533
534
	* Made GladeWidgetAdaptor internalize *everything* into a private data structure,
	21 files changed, 694 insertions(+), 670 deletions(-)

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

538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
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.

553
554
555
	* Made GladeWidget internalize *everything* into a private data structure,
	33 files changed, 1318 insertions(+), 1230 deletions(-)

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

559
560
561
562
563
	* 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.

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

567
568
569
	* Made GladeProperty internalize *everything* into a private data structure,
	17 files changed, 766 insertions(+), 592 deletions(-)

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

572
573
574
575
576
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.

577
	* plugins/gtk+/glade-gtk.c: Fixed loaded state of use-action-appearance so that it always
578
579
580
581
582
	  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).
583

584
	* m4/python.m4: Applying patch to allow better builds on win32, patch by Dieter Verfaillie,
585
586
	  bug 634978.

587
588
	* 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
589
590
591
592
593
2010-12-30  Christian Persch <chpe@gnome.org>

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

594
595
596
597
598
599
600
601
602
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.

603
604
605
606
607
	* 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).

608
609
610
611
612
613
614
615
616
617
618
619
	* 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

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

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

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

626
627
628
	* 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
629
630
631
632
2010-12-29  Javier Jardón <jjardon@gnome.org>

	* configure.ac: Use upstream gettext

633
634
635
636
2010-12-29  Javier Jardón <jjardon@gnome.org>

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

637
638
639
640
641
642
643
644
645
646
647
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.

648
649
650
651
652
653
	* 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.

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

656
657
658
	* Whole tree updated to remove all notion of project conversions and dual project formats,
	  no more libglade.

659
660
	* Fixing distcheck, bumping version to 3.9.0

661
662
663
664
665
666
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.

667
668
669
670
671
672
673
674
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.

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

678
679
680
	* gladeui/glade-widget-adaptor.c: Uncommenting some code that for some reason
	  got "fallout" from the offscreen branches.

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

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

687
688
689
690
2010-12-26  Tristan Van Berkom <tristanvb@openismus.com>

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

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

693
694
695
	* 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

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

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

701
702
703
704
705
706
707
708
709
710
711
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.

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

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

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

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

721
722
723
724
725
2010-12-22  Tristan Van Berkom <tristanvb@openismus.com>

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

726
727
728
729
730
731
	* 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

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

734
735
736
737
738
739
740
	* 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.

741
742
743
	* 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'.

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

746
747
748
749
750
751
752
753
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.

754
755
756
757
758
759
760
761
762
763
	* 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.

764
765
766
767
768
769
770
771
772
773
774
775
776
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.

777
778
2010-12-20  Tristan Van Berkom <tristanvb@openismus.com>

779
780
781
782
783
784
	* 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).

785
786
787
788
789
790
	* 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.

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

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

797
798
799
800
801
	* 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).

802
803
804
805
806
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).

807
808
809
	* 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.

810
811
812
813
	* 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.

814
815
816
817
818
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).

819
820
821
	* 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.

822
823
824
825
	* 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.

826
827
828
829
2010-12-17  Tristan Van Berkom <tristanvb@openismus.com>

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

830
831
	* gladeui/glade-property-class.c: Properly order object properties

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

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

837
838
	* Marking ChangeLog, this is where 3.7.2 was rolled.

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

	* NEWS, configure.ac: Rolling 3.7.2.

843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
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.

859
860
861
862
	* plugins/gtk+/glade-gtk.c:
	  - Defensively avoid crash when setting entry icon tooltips
	  - Add version check macro to compile with GTK+ 2.20

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

866
867
868
	* 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).

869
870
871
872
873
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).

874
875
876
877
	* 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.

878
879
880
	* 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).

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

883
884
885
	* 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.

886
887
888
	* 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).

889
890
891
892
893
894
895
896
897
898
	* 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.

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

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

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

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

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

910
911
912
913
914
915
916
917
918
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.

919
920
921
922
923
924
925
926
	* 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).

927
928
929
930
931
	* 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.

932
933
934
935
936
937
938
	* 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>.

939
940
941
	* gladeui/glade-project.c: Fix glade_project_fix_object_props() to copy the
	  list which risks changing order while iterating.

942
943
944
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Avoid warnings when
	  loading glade files.

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

948
949
950
	* gladeui/glade-palette.c: Add a label in a box to the palette items to avoid
	  the evil ellipsization.

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

953
954
955
956
957
958
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.

959
960
961
962
963
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
964
	in the tree. We simply ignore that for now as it doesn't
965
966
	cause any harm in the tree model.

967
968
969
970
971
972
973
974
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

975
976
977
978
979
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.

980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
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.

999
1000
1001
1002
2010-10-11  Tristan Van Berkom <tristanvb@openismus.com>

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

1003
1004
1005
1006
1007
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.

1008
1009
1010
1011
1012
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

1013
1014
1015
1016
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:
1017
	  "Initially Complete"/"Whether this page will initially be marked as complete
Tristan Van Berkom's avatar
Tristan Van Berkom committed
1018
	  regardless of user input." (closes bug 529595).
1019

1020
1021
2010-08-29  Tristan Van Berkom <tristanvb@openismus.com>

1022
1023
1024
1025
1026
1027
1028
	* 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
1029
	  was failing to display information about frame labels and internal action
1030
	  areas and such.
1031

1032
1033
1034
1035
1036
	* 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.

1037
2010-08-26  Tristan Van Berkom <tristanvb@openismus.com>
1038
1039
1040
1041

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

1042
1043
1044
1045
1046
1047
	* 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.

1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
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).

1060
1061
1062
1063
1064
	* 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).

1065
1066
1067
1068
2010-06-10  Javier Jardón <jjardon@gnome.org>

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

1069
1070
1071
1072
1073
1074
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>
1075
1076
1077

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

1078
1079
1080
1081
1082
1083
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>
1084

1085
1086
	* configure.ac, NEWS: Rolling Glade 3.7.1

1087
1088
1089
	* 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.

1090
1091
1092
1093
1094
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
1095
	  object itself a dockable widget and remove some cruft api (bug 618020)
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106

	* 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.

1107
1108
1109
1110
2010-05-01  Javier Jardón <jjardon@gnome.org>

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

1111
1112
2010-04-01  Tristan Van Berkom <tvb@gnome.org>

1113
	* gladeui/glade-project.c:
1114
1115
1116
1117
	  - 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.
1118

1119
1120
1121
1122
1123
1124
1125
1126
1127
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.

1128
	* src/glade-window.c:
1129
1130
	  - 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
1131
	  - Added option to show/hide statusbar in the View menu and session data.
1132
1133
1134
1135

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

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

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

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

1144
1145
1146
1147
1148
1149
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).

1150
1151
1152
1153
	* 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.

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

1157
1158
2010-03-29  Tristan Van Berkom <tvb@gnome.org>

1159
1160
1161
	* gladeui/glade-editor-property.[ch]: 
	  - Added glade_editor_property_show_object_dialog()
	  - Give object dialogs a bigger default size and hide the column headers
1162
	  - Fixed an assertion and page-size != 0 for adjustment properties in libglade mode
1163
1164
1165
1166

	* 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
1167
1168
	  - Now show an icon and tooltip in rows for signals that are only
	    supported in the future, refresh them when support changes.
1169
	  - Dont show swapped column in libglade mode
1170
1171
	  - 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)
1172

1173
1174
1175
	* 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
1176
1177

	* gladeui/glade-project.c:
1178
1179
1180
1181
1182
1183
	  - 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.
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193

	* 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.

1194
1195
1196
1197
1198
1199
1200
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.

1201
1202
1203
1204
1205
	* 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]

1206
1207
1208
1209
1210
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.

1211
1212
1213
1214
1215
1216
1217
1218
1219
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).

1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
	* 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.

1230
	* gladeui/glade-xml-utils.h: Added "swapped" attribute definition
1231
1232

	* gladeui/glade-signal.c: Added "swapped" attribute and read/write from xml, swapped attribute is
1233
1234
1235
1236
1237
1238
	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.

1239
1240
2010-03-27  Tristan Van Berkom <tvb@gnome.org>

1241
	* gladeui/glade-marshallers.list, gladeui/glade-placeholder.c:
1242
1243
1244
1245
1246
1247
1248
	  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()

1249
	* plugins/gtk+/glade-gtk.c:
1250
1251
1252
1253
1254
	  - 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
1255
	  - Check for type compatibility before setting cell renderer attributes
1256
1257
1258
1259
1260
	  - 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).
1261

1262
1263
1264
1265
1266
1267
1268
	* 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.

1269
1270
1271
	* plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c: 
	  allow model data with explicitly G_TYPE_INVALID types.

1272
1273
1274
1275
1276
1277
1278
1279
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.

1280
1281
1282
1283
1284
1285
1286
1287
1288
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).

1289
	* plugins/gtk+/gtk+.xml.in, plugins/gnome/gnome.xml.in, plugins/gnome/canvas.xml.in,
Tristan Van Berkom's avatar
Tristan Van Berkom committed
1290
	plugins/gtk+/gtkunixprint.xml.in: Added missing displayable values and rooted out latest
1291
1292
1293
1294
1295
1296
1297
1298
	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).

1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
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.

1310
1311
1312
1313
1314
1315
1316
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.

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

1319
1320
1321
1322
1323
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).

1324
1325
1326
1327
1328
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).

1329
1330
1331
1332
1333
1334
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.

1335
1336
1337
1338
1339
1340
1341
1342
1343
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"

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

1346
1347
	* configure.ac, NEWS: Rolling Glade 3.7.0

1348
1349
1350
1351
1352
1353
	* 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.

1354
1355
1356
1357
1358
1359
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.

1360
1361
1362
	* plugins/gtk+/gtk+.xml.in: Fixed translation details pointed out by Johannes H. Jensen
	  in bug 607348.
	
1363
1364
1365
1366
2010-03-10  Javier Jardón <jjardon@gnome.org>

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

1367
1368
1369
1370
2010-03-09  Tristan Van Berkom <tvb@gnome.org>

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

1371
1372
1373
1374
1375
2010-03-09  Tristan Van Berkom <tvb@gnome.org>

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

1376
1377
1378
1379
1380
1381
	* 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

1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
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).

1400
1401
1402
1403
2010-01-28  Javier Jardon <jjardon@gnome.org>

	* README: Glade requires GTK+ >= 2.20

1404
2009-12-18  Javier Jardón <jjardon@gnome.org>
Javier Jardón's avatar
Javier Jardón committed
1405
1406
1407

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

1408
2009-12-04  Javier Jardón <jjardon@gnome.org>
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420

	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

1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
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

1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
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

1446
1447
1448
1449
2009-09-14  Tristan Van Berkom <tvb@gnome.org>

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

1450
1451
1452
1453
1454
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).

1455
1456
2009-06-29  Tristan Van Berkom <tvb@gnome.org>

1457
1458
	* configure.ac, NEWS: Rolling Glade 3.6.7
	
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
	* 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).

1471
1472
1473
1474
1475
1476
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.

1477
1478
1479
1480
1481
1482
1483
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).

1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
	* 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).
1502

1503
1504
2009-06-22  Tristan Van Berkom <tvb@gnome.org>

Tristan Van Berkom's avatar
Tristan Van Berkom committed
1505
1506
	* configure.ac, NEWS: Rolling Glade 3.6.6
	
1507
	* gladeui/glade-app.c, gladeui/Makefile.am: Find quartz specific runtime prefix
Tristan Van Berkom's avatar
Tristan Van Berkom committed
1508
	using ige_mac_bundle_get_path() (bug 586551)
1509

1510
1511
1512
1513
1514
1515
1516
	* 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.
	
1517
1518
1519
1520
2009-06-20  Tristan Van Berkom <tvb@gnome.org>

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

1521
1522
1523
1524
	* 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)

1525
1526
1527
1528
1529
	* 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).

1530
1531
	* gladeui/glade-xml-utils.h, gladeui/glade-editor-property.c: Use GtkComboBox
	instead of deprecated GtkOptionMenu (Sam Thursfield - bug 572756).
1532
1533
1534

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

1535
1536
1537
1538
1539
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)

1540
1541
2009-06-15  Tristan Van Berkom <tvb@gnome.org>

Tristan Van Berkom's avatar
Tristan Van Berkom committed
1542
	* plugins/gtk+/gtk+.xml.in: Make assistant page-titles translatable (bug 503146), marked since 2.10 on
1543
1544
1545
1546
1547
	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).
	
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
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).

1562
1563
1564
1565
1566
1567
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).

1568
2009-06-06  Tristan Van Berkom <tvb@gnome.org>
1569
1570

	* NEWS: Rolling Glade 3.6.4
1571
1572
1573
1574
	
	* plugins/gtk+/glade-gtk.c: Sync up size requests of fixed/layout children
	at load time (bug 584334).

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

1577
	* configure.ac, NEWS: Updating for 3.6.4 ... [ NOT ROLLED YET ]
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588

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.

1589
1590
1591
1592
1593
1594
1595
1596
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.

1597
1598
1599
1600
2009-04-29  Tristan Van Berkom <tvb@gnome.org>

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

1601
1602
1603
1604
1605
1606
1607
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

1608
2009-04-22  Tristan Van Berkom <tvb@gnome.org>
1609
1610
1611
1612

	* NEWS, configure.ac: Rolling 3.6.3
	
	* plugins/gtk+/gtk+.xml.in: Removed buggy query dialog from notebook (closing bug 578727).
1613
1614
1615
1616
	
	* 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).

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

1620
1621
1622
1623
2009-04-22  Davyd Madeley <davyd@madeley.id.au>

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

1624
1625
1626
1627
1628
1629
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.

1630
1631
2009-04-18  Tristan Van Berkom <tvb@gnome.org>

1632
1633
1634
	* 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).

1635
1636
1637
1638
1639
	* 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).

1640
1641
2009-04-15  Tristan Van Berkom <tvb@gnome.org>

1642
1643
1644
	* configure.ac, NEWS, data/gladeui.pc.in: Bumping
	required GTK+ version in the .pc and rolling 3.6.2.