1. 13 Apr, 2013 2 commits
  2. 06 Apr, 2013 1 commit
  3. 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.
      f1543fca
  4. 01 Apr, 2013 2 commits
  5. 12 Mar, 2013 1 commit
  6. 31 Jan, 2013 1 commit
  7. 26 Nov, 2012 1 commit
  8. 31 Oct, 2012 1 commit
  9. 07 Oct, 2012 1 commit
  10. 02 Oct, 2012 1 commit
    • Juan Pablo Ugarte's avatar
      Added intitial support for runtime creation and loading of composite templates. · 856a93ad
      Juan Pablo Ugarte authored
      gladeui/glade-app.c: Load composite templates from G_USER_DIRECTORY_TEMPLATES
      
      gladeui/glade-project.[ch]
       o Added glade_project_dump_string()
       o Addes safe guards for NULL catalogs (composite template adaptors does not have a catalog)
      
      gladeui/glade-widget-adaptor.[ch]
       o Added template and template-path properties
       o Added glade_widget_adaptor_get_template() and
         glade_widget_adaptor_from_composite_template()
      
      gladeui/glade-composite-template.[ch]: Added support to load composite templates and export a widget as such.
      
      plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: added "Export as template" action
      856a93ad
  11. 28 Apr, 2012 1 commit
  12. 24 Mar, 2012 1 commit
  13. 06 Oct, 2011 1 commit
  14. 05 Apr, 2011 6 commits
    • Tristan Van Berkom's avatar
      ed7f2687
    • Tristan Van Berkom's avatar
      9bd0a637
    • Juan Pablo Ugarte's avatar
      * gladeui/glade-widget-adaptor.[ch]: · c447bffe
      Juan Pablo Ugarte authored
         o removed GladeGetInternalChildrenFunc, replaced by making GladeGetChildrenFunc
           base implementation return internal children
      
       * plugins/gtk+/glade-gtk.c: glade_gtk_container_get_children()
         chain up to parent implementation
      c447bffe
    • Juan Pablo Ugarte's avatar
      * gladeui/glade-widget-adaptor.[ch]: · 6c0314d5
      Juan Pablo Ugarte authored
         o added GladeGetInternalChildrenFunc class and base implementation method
         o removed glade_widget_adaptor_get_internal_children() function
         o gwa_internal_children_update_from_node() reworked to work with simplyfied <internal-children> format
           <internal-children>
             <object/>
             <object>
               <object/>
             </object>
           </internal-children>
      
       * plugins/gtk+/glade-gtk.c:
         o fixed glade_gtk_container_get_children() now uses new get_internal_children
         GWA method and purify the list to remove posible duplicates
      
       * plugins/gtk+/gtk+.xml.in:
         o update <internal-children> tag to new format
         o make GtkTreeViewColumn:widget property parentless-widget
      
       * src/glade-window.c: set project in inspector after finishing loading
         (25% improvment in loading time)
      6c0314d5
    • Juan Pablo Ugarte's avatar
      * glade/gladeui/glade-widget.c: · bc2b7577
      Juan Pablo Ugarte authored
         o glade_widget_constructor() do not set catalog defaults for internal widgets.
           (Fixes GtkDialog action area orientation)
      
       * plugins/gtk+/glade-gtk.c:
         o Fixed GtkBox virtual property size ()
         o Fixed GtkDialog derived classes placeholders creation.
         o Set GtkButton::stock property from "label" is "use-stok" is true.
           (Fixes bug in internal buttons with stock icons)
      bc2b7577
    • Juan Pablo Ugarte's avatar
      * gladeui/glade-widget-adaptor.[ch]: · e0b4eb9c
      Juan Pablo Ugarte authored
         o Added support for reading internal children declaration in the catalog
         o Added GWA base class get_internal_child implementation using gtk_buildable_get_internal_child()
         o Create internal children as specified in catalog in glade_widget_adaptor_post_create()
           before calling deep_post_create() and post_create() methods
         o new API glade_widget_adaptor_has_internal_children()
           glade_widget_adaptor_get_internal_children()
      
       * gladeui/glade-widget.[ch]:
         o Made GladeWidget::reason property readable
         o Added new API glade_widget_find_child()
      
       * plugins/gtk+/glade-gtk-action-widgets.[ch]:
         o reworked code from GtkDialog support to read and write widget actions special tags
           found in GtkDialog and GtkInfoBar widgets
      
       * plugins/gtk+/glade-gtk-info-bar.c: support code for reading and writing GtkInfoBar special tags
      
       * plugins/gtk+/glade-gtk.c:
         o Removed GtkBox, GtkDialog, GtkComboBox and GtkTreeView unused get_internal_child functions
         o Removed creation of internal children of GtkDialog, GtkColorSelectionDialog,
           GtkFontSelectionDialog, GtkComboBox and GtkTreeView.
         o Implemented GtkDialog action-widgets tag support using common code.
      
       * plugins/gtk+/gtk+.xml.in:
         o Added support for GtkInfoBar widget.
         o Defined internal children of GtkDialog, GtkColorSelectionDialog,
           GtkFontSelectionDialog, GtkComboBox, GtkInfoBar and GtkTreeView.
      
       * gladeui/glade-xml-utils.h: Added GLADE_TAG_INTERNAL_CHILDREN and GLADE_TAG_ANARCHIST tags
      
       * plugins/glade-catalog.dtd: added new syntax to catalog description
      e0b4eb9c
  15. 09 Mar, 2011 2 commits
  16. 03 Feb, 2011 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-editor-property.c, gladeui/glade-property-class.c, · 2cacedcc
      Tristan Van Berkom authored
      	gladeui/glade-widget-adaptor.c: Added support for GdkRGBA properties
      
      	* gladeui/glade-property.c: When loading properties, set the enabled flag at load time before
      	  syncing the property instead of after (so that backends can sync the property in the UI).
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Add notion of GdkRGBA properties to
      	GtkColorButton adaptor (so that the workspace driven dialog can also set rgba properties), and
      	make rgba properties optional and disabled by default.
      2cacedcc
  17. 30 Jan, 2011 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-xml-utils.h, gladeui/glade-widget-adaptor.[ch], gladeui/glade-widget.[ch]: · 1167ed50
      Tristan Van Berkom authored
      	  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.
      1167ed50
  18. 28 Jan, 2011 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-xml-utils.h, gladeui/glade-widget-adaptor.[ch], gladeui/glade-widget.[ch]: · 379eb295
      Tristan Van Berkom authored
      	  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.
      379eb295
  19. 23 Jan, 2011 2 commits
    • Juan Pablo Ugarte's avatar
      2011-01-22 Juan Pablo Ugarte <juanpablougarte@gmail.com> · 4cb61024
      Juan Pablo Ugarte authored
        * gladeui/glade-design-layout.[ch]:
          o added glade_design_layout_selection_set() (removed project dependency)
          o removed PointerRegion enum
          o reworked cursors pointer in an array to ease seting them
          o reemplazed 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
          o precompute child offset to optimize from-embeder to-embeder handlers
          o draw "pretty" selection
      
        * 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-adaptor.c: removed g_signal_override_class_handler() event marshalling hack.
      4cb61024
    • Juan Pablo Ugarte's avatar
      2011-01-13 Juan Pablo Ugarte <juanpablougarte@gmail.com> · 93195df1
      Juan Pablo Ugarte authored
        * gladeui/glade-widget-adaptor.c: added GtkWidget::event signal clash override
          for every registered class to marshal events to the corresponding GladeDesignLayout
      
        * gladeui/glade-design-layout.[ch]:
          o added new function derived from glade_design_layout_widget_event(),
            glade_design_layout_do_event() to marshall events from the override class handler
          o removed placeholder from glade_design_layout_find_inside_container()
      
        * gladeui/glade-widget.[ch]: moved IS_GLADE_WIDGET_EVENT macro to header.
      93195df1
  20. 18 Jan, 2011 1 commit
  21. 16 Jan, 2011 2 commits
  22. 08 Jan, 2011 1 commit
  23. 07 Jan, 2011 1 commit
  24. 05 Jan, 2011 2 commits
  25. 04 Jan, 2011 1 commit
  26. 03 Jan, 2011 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-app.[ch], gladeui/glade-command.c, gladeui/glade-editor.[ch], · cee72078
      Tristan Van Berkom authored
      	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.
      cee72078
  27. 02 Jan, 2011 2 commits
  28. 01 Jan, 2011 1 commit