1. 30 Oct, 2018 1 commit
  2. 02 Aug, 2018 1 commit
  3. 11 Jun, 2015 1 commit
  4. 17 Apr, 2014 1 commit
  5. 17 Dec, 2013 1 commit
  6. 11 Dec, 2013 1 commit
  7. 10 Dec, 2013 1 commit
    • Tristan Van Berkom's avatar
      Added GLADE_BUNDLED environment variable. · 7668ca51
      Tristan Van Berkom authored
      This environment variable is used to detect a bundled environment
      for which Glade will run on various 64bit linux systems.
      Currently we just avoid loading any catalogs except for the gtk+.xml
      catalog in the case of a bundled environment (but there may be
      some extra special cases to add, in order to ensure we don't integrate
      with the unknown running system).
  8. 13 Apr, 2013 1 commit
  9. 04 Apr, 2013 1 commit
    • Tristan Van Berkom's avatar
      Added Glade's first unit test (about time !) · f1543fca
      Tristan Van Berkom authored
      This patch clears the way for unit testing, some environment variables
      are added to ensure unit tests run on code that is not installed but
      in tree.
      The added test iterates over all widgets in the catalog, uses the
      adaptor to create a GladeWidget and asserts that the GladeWidget and
      it's internal object is finalized after unreferencing the GladeWidget.
  10. 18 May, 2012 1 commit
  11. 27 Apr, 2012 1 commit
  12. 20 May, 2011 1 commit
  13. 16 Jan, 2011 1 commit
  14. 02 Jan, 2011 1 commit
  15. 30 Dec, 2010 1 commit
  16. 29 Dec, 2010 1 commit
  17. 14 May, 2010 1 commit
    • Johannes Schmid's avatar
      Allow destroying (and recreation) of GladeApp object · 66e2d573
      Johannes Schmid authored
      That is what happens when a glade file is loaded in anjuta, then closes and opened again.
      Currently, we hold an extra reference on GladeApp to avoid destroying it but that's not clean
      of course and leaves a big mem leak.
      We cannot free the catalogs though as they register GTypes that we cannot unregister. Thus,
      we have to keep them in memory once they were loaded.
  18. 25 Mar, 2010 1 commit
  19. 29 Dec, 2008 1 commit
  20. 20 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      Added "supports" catalog element to supply supported formats, added · a8a21709
      Tristan Van Berkom authored
      	* gladeui/glade-xml-utils.h, gladeui/glade-catalog.[ch], 
      	gladeui/glade-widget-adaptor.[ch], gladeui/glade-property-class.[ch],
      	gladeui/glade-project.c, glade-palette-item.c: Added "supports" catalog element
      	to supply supported formats, added libglade-only and libglade-unsupported properties
      	for widget classes and property classes, those metadata will show up in the editor
      	like versioning info, in the verify logs as well, and the palette will adjust
      	sensitivity according to the new properties.
      	* plugins/gtk+/gtk+.xml.in, plugins/gnome/gnome.xml.in: Added supports
      	elements and marked widgets/properties as libglade-only/libglade-unsupported in
      	the gtk+ catalog.
      svn path=/trunk/; revision=1945
  21. 19 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      Now we have a conversion routine that is run in the plugin to convert some · 351a89ed
      Tristan Van Berkom authored
      	Now we have a conversion routine that is run in the plugin to
      	convert some data for one format to another (builder on the way...)
      	In this patch we use it to handle GtkAdjustment property conversions.
      	(NOTE: Completely undoable)
      	* gladeui/glade-editor-property.c: Made adjustment eprop fallback on
      	  object dialog in builder cases.
      	* gladeui/glade-command.[ch]: Added glade_command_set_project_format()
      	* gladeui/gldae-catalog.c, gladeui/glade-xml-utils.h: Added GladeProjectConvertFunc
      	* plugins/gtk+/Makefile.am, plugins/gtk+/glade-convert.c,
      	plugins/gtk+/gtk+.xml.in: New file to handle conversion routines, 
      	added some objects.
      svn path=/trunk/; revision=1935
  22. 24 Jul, 2008 1 commit
    • Juan Pablo Ugarte's avatar
      added name parameter to GladeCatalogInitFunc. · 94982e05
      Juan Pablo Ugarte authored
      * gladeui/glade-catalog.c: added name parameter to
      * python/glade-python.c: New plugin to support python widget
        at runtime.
      * m4/python.m4, glade3/configure.ac, plugins/Makefile.am,
        added python check and build rules.
      * gnome/glade-gnome.c: updated glade_gnomeui_init() prototype
      svn path=/trunk/; revision=1844
  23. 09 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Filled in all since, deprecated and builder-unsupported properties. · 1dd08365
      Tristan Van Berkom authored
      	* plugins/gtk+/gtk+.xml.in: Filled in all since, deprecated and
      	  builder-unsupported properties.
      	* gladeui/glade-widget.c, gladeui/glade-widget.h, gladeui/glade-widget-adaptor.c,
      	gladeui/glade-command.c, gladeui/glade-widget-adaptor.h,
      	gladeui/glade-utils.h, gladeui/glade-catalog.c, 
      	gladeui/glade-catalog.h, gladeui/glade-app.c, gladeui/glade-app.h, 
      	gladeui/glade-property-class.c, gladeui/glade-property-class.h, 
      	gladeui/glade-project.c, gladeui/glade-project.h:
      	Added versioning support, you can always chose the target version of
      	your project starting with gtk+ 2.8 - a project preferences dialog has
      	been added where you can switch your format, switch your target version
      	and test for incompatabilities. incompatability error dialogs are also
      	launched on save as. Target versions are saved to the glade file; 
      	TODO: patch GtkBuilder to test the required gtk+ version from
      	<requires lib="gtk+" version="2.8"> and at least warn, also let
      	third party widget developers test thier own versions using builder.
      	* gladeui/glade-xml-utils.h, gladeui/glade-xml-utils.c: routines
      	for parsing version numbers.
      	* gladeui/glade-utils.c: glade_util_ui_message() takes a widget to
      	embed arg now.
      svn path=/trunk/; revision=1780
  24. 07 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Run gtkdocize with --flavour=no-tmpl · c43aaea0
      Tristan Van Berkom authored
      	* autogen.sh: Run gtkdocize with --flavour=no-tmpl
      	* configure.ac: Require gtk-doc 1.9 and bump to 3.5.0 dev version.
      	* doc/gladeui-overrides.txt, doc/children.sgml, doc/tmpl/*: Removed unneeded.
      	* doc/gladeui-docs.sgml, doc/widgetclasses.sgml,
      	doc/catalogintro.sgml, doc/Makefile.am: Mega docs update, added new
      	files and completely rediscribed the catalog in its new form.
      	* gladeui/glade-design-view.c, gladeui/glade-widget.c, 
      	gladeui/glade-widget-adaptor.c, gladeui/glade-command.c,
      	gladeui/glade-widget-adaptor.h, gladeui/glade-base-editor.c,
      	gladeui/glade-widget-action.c, gladeui/glade-xml-utils.c,
      	gladeui/glade-utils.c, gladeui/glade-catalog.c, gladeui/glade-property.c,
      	gladeui/glade-project.c: Added some description statements to newly 
      	documented files, fixed some warnings in other sources.
      M    ChangeLog
      M    configure.ac
      M    doc/gladeui-docs.sgml
      M    doc/widgetclasses.sgml
      M    doc/catalogintro.sgml
      D    doc/gladeui-overrides.txt
      M    doc/Makefile.am
      D    doc/children.sgml
      D    doc/tmpl
      M    doc/gladeui-sections.txt
      M    doc/gladeui.types
      M    doc/properties.sgml
      M    gladeui/glade-design-view.c
      M    gladeui/glade-widget.c
      M    gladeui/glade-widget-adaptor.c
      M    gladeui/glade-command.c
      M    gladeui/glade-widget-adaptor.h
      M    gladeui/glade-base-editor.c
      M    gladeui/glade-widget-action.c
      M    gladeui/glade-xml-utils.c
      M    gladeui/glade-utils.c
      M    gladeui/glade-catalog.c
      M    gladeui/glade-property.c
      M    gladeui/glade-project.c
      M    autogen.sh
      svn path=/trunk/; revision=1775
  25. 25 Jul, 2007 1 commit
    • Tristan Van Berkom's avatar
      Loop through user defined search paths and load catalogs from there first. · c9edd8b0
      Tristan Van Berkom authored
      	* gladeui/glade-catalog.c: Loop through user defined search paths and load
      	  catalogs from there first.
      	* gladeui/glade-utils.c: Loop through user defined search paths for modules,
      	  then fallback on the compile time default, then fallback on default system
      	  library paths.
      	* gladeui/glade-app.h: Define env variables GLADE_MODULE_PATH & GLADE_CATALOG_PATH
      svn path=/trunk/; revision=1516
  26. 18 Jul, 2007 1 commit
    • Tristan Van Berkom's avatar
      fixed memory leaks of description strings in usage of · a19c419e
      Tristan Van Berkom authored
      	* gladeui/glade-command.[ch]: 
      	  fixed memory leaks of description strings in usage of glade_command_push_group()
      	* gladeui/glade-widget.[ch]: Added convenience apis to set sensitivity on
      	* gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.c: Added
      	  deep_post_create() vfunc, in this one you must always chain up to the parent.
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added "Add/Remove" parent
      	  feature (bug 343786), implemented types: Alignment, Viewport, Event Box, Frame,
      	  Aspect Frame, Scrolled Window, Expander, Table, Horizontal Box, Vertical Box,
      	  Horizontal Panes, Vertical Panes
      svn path=/trunk/; revision=1492
  27. 11 Jul, 2007 1 commit
  28. 02 Jul, 2007 1 commit
  29. 01 Jul, 2007 1 commit
  30. 01 Apr, 2007 1 commit
    • Vincent Geddes's avatar
      Renamed all icons. · 279700e4
      Vincent Geddes authored
              * plugins/gtk+/icons/*, plugins/gnome/icons/*: Renamed all icons.
              * gladeui/glade-project-view.c, gladeui/glade-widget-adaptor.[ch],
                gladeui/glade-palette-item.c, gladeui/glade-clipboard-view.c:
                Use GtkIconTheme for loading and managing widget icons.
                New "icon-name" property on GladeWidgetAdaptor.
              * gladeui/glade-catalog: Added catalog property "icon-prefix". The
                default value of this property is set to the catalog name.
              * gladeui/glade-app.c: Add GtkIconTheme search path for widget icons.
              * plugins/gtk+/icons/16x16/Makefile.am,
                plugins/gnome/icons/22x22/Makefile.am: Renamed icon files.
              * gladeui/glade-widget-adaptor.c: Use g_type_class_add_private().
              * doc/widgetclasses.sgml, doc/catalogintro.sgml: Update documentation.
      svn path=/trunk/; revision=1237
  31. 10 Feb, 2007 1 commit
    • Vincent Geddes's avatar
      - Added a private initialisation function `glade_init_check()' for · f81607b3
      Vincent Geddes authored
              * gladeui/glade.h, gladeui/glade-app.[ch]:
                - Added a private initialisation function `glade_init_check()' for
                - Removed the 'bad' public variables that defined various installation
                  paths. These paths can now be obtained from static class methods on
                  GladeApp (static as in the Java and C++ sense).        
              * src/main.c, src/glade-project-window.c, gladeui/glade-catalog.c,
                gladeui/glade-binding.c, gladeui/glade-cursor.c,
                gladeui/glade-palette.c gladeui/glade-widget-adaptor.c, 
                gladeui/glade-utils.c, bindings/python/glade-python.c: Use the new
                GladeApp methods for obtaining installation paths.
              * gladeui/glade-palette-box.[ch]: Use G_DEFINE_TYPE() and
      svn path=/trunk/; revision=1090
  32. 23 Jan, 2007 1 commit
  33. 22 Nov, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      added PYGTK_REQ_MAYOR, PYGTK_REQ_MINOR and PYGTK_REQ_MICRO to config.h · fce7b7af
      Juan Pablo Ugarte authored
      * 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
      * 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.
  34. 21 Nov, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      Added python/pygtk checks. · e29d9b0f
      Juan Pablo Ugarte authored
      * 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
      * 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.
      * glade-python-gwa.c: GladeWidgetAdaptor python wrapper.
      * glade-python-gwa.[defs override]: files used by pygtk-codegen-2.0
        to create glade-python-gwa.c
      * 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.
          <glade-widget-class name="Custom" adaptor="CustomAdaptor"/>
        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
  35. 09 Nov, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      o manage all GModules with a hash table. o added · 68308571
      Juan Pablo Ugarte authored
      * 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().
  36. 19 Oct, 2006 1 commit
  37. 05 Jul, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      fixed bug 343712 "Gnome stock items not recognized by glade-3" Added · 277a3973
      Juan Pablo Ugarte authored
      * src/glade-builtins.[ch]: fixed bug 343712
        "Gnome stock items not recognized by glade-3"
        Added glade_standard_stock_append_prefix () and reworked/optimized
        glade_standard_stock_get_type ()
      * src/glade-catalog.c: make every catalog init function be called before
        loading any of them.
      * src/glade-gnome.c: Added GNOME stock items using gtk_stock_add () in
        glade_gnomeui_init ()
  38. 25 Jun, 2006 1 commit
    • Tristan Van Berkom's avatar
      Added 'default-palette-state' element and attribute declarations. · ac959a05
      Tristan Van Berkom authored
      	* widgets/glade-catalog.dtd: Added 'default-palette-state'
      	  element and attribute declarations.
      	* widgets/gtk+.xml.in, widgets/gnome.xml.in:
      	  o Obsolete widget groups are now marked as unexpanded in the
      	    palette by default.
      	  o Add support for GtkIconView.
      	* src/glade-catalog.[ch], src/glade-palette.c:
      	  o Add support for parsing 'default-palette-state' catalog tag.
      	  o GladePalette now sets the expanded state for widget groups
      	    from glade_widget_group_get_expanded().
      	* glade-3.desktop.in: Add "GenericName" field, set
      	  to "User Interface Designer".
  39. 10 Jun, 2006 1 commit
  40. 02 Jun, 2006 1 commit