2006-12-03 Tristan Van Berkom * NEWS: Rolling 3.1.1 2006-12-03 Vincent Geddes * src/glade-palette.[ch]: - Refactor GladePalette code slightly - Selector button can now be hidden. - Palette items are now implemented as toggle buttons. * src/glade-palette-item.[ch]: GladePaletteItem is now a subclass of GtkToggleButton instead of GtkRadioButton. * src/glade-app.c, src/glade-fixed.c, src/glade-placeholder.c: update for change in GladePalette API. * src/glade-design-layout.c: Improved drawing code. * src/glade-project-window.c: - Refactored recent files code. - Added "Widget Selector" button to main toolbar. Is an external selector button for the palette - Fixed #373255 - "Doesn't warn about unsaved document on quit" * pixmaps/selector.png: New selector button. 2006-11-30 Juan Pablo Ugarte * widgets/gnome.xml.in: removed glade_gnome_about_dialog_get_children() * src/glade-gnome.c: Code cleanup o removed every g_return_if_fail() o removed glade_gnome_about_dialog_get_children() o glade_gnome_dpe_set_property() reworked. (lots of function merged) o glade_gnome_dps_set_property() fixed. 2006-11-28 Juan Pablo Ugarte * src/glade-widget-adaptor.c: o reference adaptor->type class in glade_widget_adaptor_constructor() because gwa_setup_properties() and gwa_list_signals() need this. o added extra checks in adaptor methods g_type_is_a (G_OBJECT_TYPE (object), adaptor->type) now we can safelly get rid of checks in the plugin code. 2006-11-22 Juan Pablo Ugarte * configure.in: added PYGTK_REQ_MAYOR, PYGTK_REQ_MINOR and PYGTK_REQ_MICRO to config.h * src/glade-python.c: check for pygobject >= 2.12.0 * src/glade-python-gwa.override: fixed packing property bug in glade_python_support_init_value() * src/glade-python-gwa.c: updated. * src/glade-project-window.c: show clipboard. * src/glade-catalog.c: check catalog's language is valid. * src/glade-binding.c: added a warning message when we can not load a module. 2006-11-22 Andreas Köhler * src/glade-design-view.h: dllexported functions with LIBGLADEUI_API. 2006-11-21 Tristan Van Berkom * src/glade-property.c: Fixed a segfault in glade_widget_dup(), some things are done before setting the "class", so I made sure not to touch the class member during object construction time. 2006-11-21 Juan Pablo Ugarte * configure.in: Added python/pygtk checks. * src/Makefile.am: added glade-binding.[ch] and BUILD_PYTHON rules * src/glade-app.c: o added glade_scripts_dir and glade_bindings_dir globals o loading / unloading bindings. * src/glade-binding.[ch]: GladeBinding support this is the glue code between glade core and bindings modules. * src/glade-catalog.c: support for loading catalogs supported by bindings, added language member to GladeCatalog. * src/glade-marshallers.list: added new marshallers BOOLEAN:STRING and BOOLEAN:OBJECT,STRING * src/glade-paths.sh.in: added GLADE_BINDINGSDIR and GLADE_SCRIPTSDIR. * src/glade-popup.c: added support for GWAAction (shows context actions as menu items) * src/glade-project-window.c: added window which a console for each GladeBinding that provide a console. * src/glade-python-gwa.c: GladeWidgetAdaptor python wrapper. * src/glade-python-gwa.[defs override]: files used by pygtk-codegen-2.0 to create glade-python-gwa.c * src/glade-python.c: GladeBinding plugin for python language. * src/glade-widget-adaptor.[ch]: o added GWAAction support. o added "action-activated" signal o added glade_create_reason_get_type() so the enum can be exposed in bindings as a GEnum. o added "adaptor" property to glade-widget-class this way non C catalog plugins can define the GladeWidgetAdaptor derived class. o setup binding scripts as actions. o added glade_widget_adaptor_emit_action_activated() (used in glade-popup.c) * src/glade-widget.[ch]: added "action-activated" signal. * src/glade.h: added GLADE_TAG_LANGUAGE, GLADE_TAG_ACTION_GROUP, GLADE_TAG_ACTION, GLADE_TAG_STOCK, glade_scripts_dir and glade_bindings_dir. 2006-11-20 Tristan Van Berkom * src/glade-property.c: - glade_property_set_enabled(), when enableing a property, sync its value incase it has any visual feedback. - removed the horrid code that dealt with the project and selection when calling glade_widget_rebuild() - use new glade_widget_object_set_property()/glade_widget_child_set_property(). * src/glade-widget.c: - glade_widget_rebuild(), added the afore mentioned horrid code - doesnt seem so horrid over here. - added apis to proxy property setting onto the object (via the gwa). - Now sync all properties again at sync_custom_props() time (since there's no set_function anymore and property->class->virtual isnt enough). * src/glade-design-layout.c: Added commented alternative code for resizing, TODO remove the direct property setting stuff and handle it somewhere appropriate. * src/glade-fixed.c: Commented out a g_return_if_fail and temporarily put an if (statement) return; need to work on handling events differently now (its no big deal, there are just some extra events now comming from the toplevels at focus change times and stuff that are irrelevent to the glade widgets and so the code complains). * src/glade-gnome.c, src/glade-gtk.c: Ported to the new api for set_property/get_property/verify_property. * src/glade-property-class.[ch]: Removed get/set/verify property backend hooks * src/glade-widget-adaptor.[ch]: Added get/set/verify property backend hooks, now the adaptor is a solid self-contained proxy to the plugin. 2006-11-09 Juan Pablo Ugarte * src/glade-catalog.[ch]: o manage all GModules with a hash table. o added glade_catalog_modules_close() * src/glade-app.c: o call glade_catalog_modules_close() when the app finalize. o removed unnecesary headers. * src/glade-gnome.c: fixed some warnings. * src/glade-utils.c: slight optimization in function glade_util_get_type_from_name (), check if type is already registered. * src/glade.h: removed unneeded #ifdef GLADE_H check. * src/glade-widget-adaptor.[ch]: o removed module member from GladeWidgetAdaptorPriv since now we keep all the openned modules inside glade-catalog.c o added glade_abort_if_derived_adaptors_exist(). 2006-10-29 Vincent Geddes * src/glade-project-window.c: - Use the new GtkRecent API, and make it screen aware. - Added the notion of a 'default_path' for file open/save operations. Replaces the previous recent-file based implementation. - Hide statusbar grip when window is in maximised state. - Set a reasonable default size for props editor and tree. * src/glade-popup.c: Removed the "Properties" context action as it doesn't really make sense in the single-window ui. * widgets/gtk+.xml.in: Added some displayable values for the GtkWindow::type-hint property. 2006-10-27 Tristan Van Berkom * NEWS: Rolling 3.1.0