1. 02 Aug, 2018 1 commit
  2. 31 Dec, 2017 1 commit
  3. 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).
      7668ca51
  4. 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
  5. 22 May, 2012 1 commit
  6. 18 May, 2012 1 commit
  7. 04 May, 2012 1 commit
    • Juan Pablo Ugarte's avatar
      Added glade_init() · 9bb800e7
      Juan Pablo Ugarte authored
      Made glade_app_get_config() returna  static pointer so that it can be used before creating a GladeApp
      9bb800e7
  8. 11 Oct, 2011 1 commit
  9. 23 Jan, 2011 1 commit
    • 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
  10. 09 Jan, 2011 1 commit
  11. 05 Jan, 2011 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-app.h, gladeui/glade-base-editor.h, gladeui/glade-catalog.h, · 0a046221
      Tristan Van Berkom authored
      	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.
      0a046221
  12. 04 Jan, 2011 2 commits
  13. 03 Jan, 2011 3 commits
    • 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
    • Tristan Van Berkom's avatar
      * Another major refactor, tasks accomplished: · 51f4b3f3
      Tristan Van Berkom authored
      	  - 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(-)
      51f4b3f3
    • Tristan Van Berkom's avatar
      * gladeui/glade-app.[ch]: · d4835f02
      Tristan Van Berkom authored
      	  - 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.
      d4835f02
  14. 30 Dec, 2010 1 commit
  15. 28 Dec, 2010 1 commit
  16. 17 Dec, 2010 1 commit
    • Tristan Van Berkom's avatar
      * gladeui/glade-app.[ch]: Added glade_app_queue_selection_changed() · 45d30477
      Tristan Van Berkom authored
      	* 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.
      45d30477
  17. 16 Dec, 2010 1 commit
  18. 12 Oct, 2010 1 commit
    • Tristan Van Berkom's avatar
      2010-10-12 Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com> · 0b6f713f
      Tristan Van Berkom authored
      	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.
      0b6f713f
  19. 29 Jun, 2010 1 commit
  20. 20 Jan, 2009 1 commit
    • Juan Pablo Ugarte's avatar
      added GladeDesignLayout::widget-event signal. Patch by Pavel Kostyuchenko · 9f6a6732
      Juan Pablo Ugarte authored
      * gladeui/glade-design-layout.[ch]: added GladeDesignLayout::widget-event
        signal. Patch by Pavel Kostyuchenko (bug 542337).
      
      * gladeui/glade-accumulators.[ch]: added glade_integer_handled_accumulator()
      
      * gladeui/glade-signal-editor.[ch], gladeui/glade-signal-editor.[ch],
        gladeui/glade-app.[ch], src/glade-window.c: 
        "Improvement of GladeSignalEditor" Bug 540691 by Pavel Kostyuchenko.
      
      * plugins/gnome/glade-gnome.c: Fixed compiler warnings in
        glade_gnome_bonobodockitem_get_props()
      
      svn path=/trunk/; revision=2094
      9f6a6732
  21. 22 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      Fixed adjustments when values are null in libglade mode · 3e54b226
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor-property.c: Fixed adjustments when values are null in
      	libglade mode
      
      	* plugins/gtk+/gtk+.xml.in: Reorganized groups, added some more metadatas
      
      	* plugins/gtk+/glade-convert.c: 
      	  - Convert "text" property of TextView to a textbuffer and text property 
      	    in builder format.
      	  - Convert "tooltip" <--> "tooltip-text"
      	
      	* gladeui/glade-popup.c, gladeui/glade-inspector.c: enhanced menu for 
      	inspector empty spots (paste toplevels)
      
      	* gladeui/glade-editor-property.c: Adjustments in libglade had bugs, hardcoded
      	default values here and made sure object is NULL on default.
      
      	* gladeui/glade-widget.[ch]: Removed glade_widget_project_notify()
      
      	* gladeui/glade-command.c: 
      	  - glade_command_remove() implicitly makes commands to unset any properties 
      	    reffering to the object being removed from the project.
      	  - project conversions now cleanup unsupported widgets/properties
      
      	* gladeui/glade-palette.c, gladeui/glade-app.c: Moved toplevel widget creation
      	code from gladeapp to gladepalette.
      
      
      svn path=/trunk/; revision=1955
      3e54b226
  22. 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
      351a89ed
  23. 10 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Now load insensitive when widgets are unsupported, and use a warning icon · 5a3db79a
      Tristan Van Berkom authored
      
      	* gladeui/glade-palette-item.c, gladeui/glade-palette.c,
      	gladeui/glade-palette-item.h, gladeui/glade-palette.h:
      	Now load insensitive when widgets are unsupported, and use
      	a warning icon when they are deprecated, use tooltips from
      	glade_project_verify_adaptor ().
      
      	* gladeui/glade-app.[ch]: Added glade_app_check_get_project ()
      
      	* gladeui/glade-project.c, gladeui/glade-project.h: fix some mistakes
      
      
      svn path=/trunk/; revision=1791
      5a3db79a
  24. 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
      1dd08365
  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
      c9edd8b0
  26. 17 Jul, 2007 1 commit
    • Tristan Van Berkom's avatar
      Removed glade_app_widget_event() and the "widget-event" signal · 6ae429f3
      Tristan Van Berkom authored
      	* gladeui/glade-app.[ch]: Removed glade_app_widget_event() and the "widget-event"
      	  signal
      
      	* gladeui/glade-design-layout.c: Expose glade_design_layout_widget_event() to
      	  be used internally by GladeWidget (no longer listening to "widget-event" signal
      	  on glade-app).
      
      	* gladeui/glade-widget.c: glade_widget_event_private() Find the parenting
      	  GladeDesignLayout and dispatch the event through glade_design_layout_widget_event()
      	  (this fixes multiple projects recieving the same events, bug 456013).
      
      
      svn path=/trunk/; revision=1481
      6ae429f3
  27. 11 Jul, 2007 1 commit
  28. 04 Jul, 2007 1 commit
    • Vincent Geddes's avatar
      New method glade_app_new(). · 741d228a
      Vincent Geddes authored
      	* gladeui/glade-app.h, gladeui/glade-app.c: New method glade_app_new().
      
      	* src/glade-project-window.h, src/glade-project-window.c: Renamed
      	  to glade-window.h and glade-window.c respectively. GladeWindow now
      	  subclasses GtkWindow instead of GladeApp (#449928).
      
      svn path=/trunk/; revision=1433
      741d228a
  29. 21 Jun, 2007 1 commit
    • Vincent Geddes's avatar
      Misc cleanups. · a89d528d
      Vincent Geddes authored
      	* gladeui/glade-app.[ch], gladeui/glade-widget-adaptor.c: Misc cleanups.
      
      svn path=/trunk/; revision=1381
      a89d528d
  30. 20 Jun, 2007 2 commits
    • Vincent Geddes's avatar
      New Inspector implementation. - The Inspector no longer records session · 552ea457
      Vincent Geddes authored
              * gladeui/glade-inspector.[ch]: New Inspector implementation.
                - The Inspector no longer records session data. 
                - GtkTreeModel of inspector is now synchronised with project data
                  in an incremental fashion, instead of being totally rebuilt on changes.
                
              * gladeui/glade-project-view.[ch]: Removed.
              
              * gladeui/glade-app.[ch]: Remove glade_app_add_project_view(). Inspectors
                are now managed by the frontend.
                
              * src/glade-project-window: A unique GladeInspector is associated with        
                each open project. These inspectors are stored in a GtkNotebook. 
      
      svn path=/trunk/; revision=1370
      552ea457
    • Tristan Van Berkom's avatar
      - Added Drag/Resize button in the toolbar · 3a903cdd
      Tristan Van Berkom authored
      
      	* src/glade-project-window.c: 
      	  - Added Drag/Resize button in the toolbar
      
      	* gladeui/glade-design-layout.c: More reliable pointer handling
      
      	* gladeui/glade-app.c: New pointer-mode property
      	
      	* gladeui/glade-fixed.c, gladeui/glade-placeholder.c, gladeui/glade-palette.c:
      	  Use pointer-mode to set pointer interaction mode
      
      	* gladeui/glade-builtins.c: Added trailing end marker on the stock list
      	  enum paramspec.
      
      
      svn path=/trunk/; revision=1368
      3a903cdd
  31. 06 Jun, 2007 1 commit
  32. 21 Apr, 2007 1 commit
    • Vincent Geddes's avatar
      Performed house cleaning. - Use g_slice_new where appropriate. - Hide · 81f6e840
      Vincent Geddes authored
      	* glade-id-allocator.c, glade-id-allocator.h: Performed house cleaning.
                - Use g_slice_new where appropriate.
                - Hide private implementation details.
                - Added g_return_if_fail guards.
                
              * gladeui/glade-project.c: Use GladeIDAllocator for allocating unsaved numbers.
      
      svn path=/trunk/; revision=1264
      81f6e840
  33. 12 Apr, 2007 1 commit
    • Vincent Geddes's avatar
      Auto-generate `gladeui.def' for DLL symbol exports. Remove · 48cacc47
      Vincent Geddes authored
      	* gladeui/Makefile.am: Auto-generate `gladeui.def' for DLL symbol
      	  exports. Remove -DINSIDE_LIBGLADEUI from libgladeui_1_la_CPPFLAGS.
      
      	* gladeui/glade-accumulators.h, gladeui/glade-app.h,
      	  gladeui/glade-base-editor.h, gladeui/glade-binding.h,
      	  gladeui/glade-builtins.h, gladeui/glade-catalog.h,
      	  gladeui/glade-clipboard-view.h, gladeui/glade-clipboard.h,
      	  gladeui/glade-command.h, gladeui/glade-custom.h,
      	  gladeui/glade-debug.h, gladeui/glade-design-view.h,
      	  gladeui/glade-editor-property.h, gladeui/glade-editor.h,
      	  gladeui/glade-fixed.h, gladeui/glade-palette.h,
      	  gladeui/glade-parameter.h, gladeui/glade-placeholder.h,
      	  gladeui/glade-project-view.h, gladeui/glade-project.h,
      	  gladeui/glade-property-class.h, gladeui/glade-property.h,
      	  gladeui/glade-signal-editor.h, gladeui/glade-utils.h,
      	  gladeui/glade-widget-adaptor.h, gladeui/glade-widget.h,
      	  gladeui/glade.h:
      	  Remove LIBGLADEUI_API function attributes.
      
      	* plugins/gnome/glade-gnome.c, plugins/gtk+/glade-gtk.c,
      	  plugins/gtk+/glade-gtk.h:
      	  Remove GLADEGTK_API and GLADEGNOME_API function attributes.
      
      svn path=/trunk/; revision=1248
      48cacc47
  34. 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
                  libgladeui.
                - 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
                g_type_class_add_private().
      
      svn path=/trunk/; revision=1090
      f81607b3
  35. 08 Feb, 2007 1 commit
    • Vincent Geddes's avatar
      Replaced C++ style comments with the more portable ISO C syntax. · 5b14b631
      Vincent Geddes authored
              * gladeui/*.[ch]: Replaced C++ style comments with the more portable ISO C syntax.
                
              * gladeui/glade-app.[ch]: Use the G_DEFINE_TYPE() and
                g_type_class_add_private() idioms for registering the class.
                
              * README.cvs: Renamed to 'README.svn'.
              
              * plugins/gtk+/icons/16x16/Makefile.am, plugins/gtk+/icons/22x22/Makefile.am:
                Added some icons.
                
              * src/glade-project-window.c: Set the label for the Selector toolbutton.
      
      svn path=/trunk/; revision=1080
      5b14b631
  36. 01 Feb, 2007 1 commit
    • Tristan Van Berkom's avatar
      Changed the hierarchy changed signal for a "widget-event" signal. · 13cd1b35
      Tristan Van Berkom authored
      
      	* gladeui/glade-app.[ch]: Changed the hierarchy changed signal
      	  for a "widget-event" signal.
      
      	* gladeui/glade-design-layout.c: Catch the "widget-event" signal
      	  and propagate the event from there, dont raise the event_window anymore.
      
      	* gladeui/glade-widget.c: 
      	  - Removed "enter-notify-event"
      	  - Catch "event" signal on GtkWidget instances and forward
      	    the event to GladeApp
      	  - When handling selection and SHIFT is down, dont stop emmission
      	    (better handling of drag/resize)
      
      	* gladeui/glade-fixed.c: Only drag/resize with shift down
      	
      	* gladeui/glade-marshallers.list: added new marshaller
      
      
      svn path=/trunk/; revision=1066
      13cd1b35