1. 30 Jul, 2007 1 commit
    • Juan Pablo Ugarte's avatar
      removed every extra documentation, we keep them empty just because · 2d57d53f
      Juan Pablo Ugarte authored
      * doc/tmpl/*.sgml: removed every extra documentation, we keep them empty just
        because otherwise the build fails.
      
      * doc/gladeui-docs.sgml, doc/gladeui-sections.txt, doc/gladeui.types: updated
        (GladeWidgetClass  replaced by GladeWidgetAdaptor)
      
      * gladeui/glade-editor.c, gladeui/glade-editor-property.c, gladeui/glade-parameter.c,
        gladeui/glade-widget.c, gladeui/glade-fixed.c, gladeui/glade-clipboard.c,
        gladeui/glade-inspector.[ch], gladeui/glade-widget-adaptor.[ch], gladeui/glade-command.c,
        gladeui/glade-command.h, gladeui/glade-base-editor.[ch], gladeui/glade-palette.[ch],
        gladeui/glade-utils.c, gladeui/glade-signal-editor.c, gladeui/glade-app.c,
        gladeui/glade-placeholder.c, gladeui/glade-property.c, gladeui/glade-property-class.c,
        gladeui/glade-project.c, gladeui/glade-clipboard-view.c:
        Added section's short and long description. (moved from tmpl)
      
      
      svn path=/trunk/; revision=1523
      2d57d53f
  2. 21 Jun, 2007 1 commit
    • Vincent Geddes's avatar
      Fix "missing prototype" errors reported by gcc due to increased warning · d6cfd1e4
      Vincent Geddes authored
      	* plugins/gnome/glade-gnome.h,
      	  plugins/gtk+/glade-gtk.c
      	  plugins/gtk+/glade-gtk.h
      	  plugins/gtk+/Makefile.am,
      	  plugins/gnome/glade-gnome.c,
      	  plugins/gnome/Makefile.am,
      	  src/glade-project-window.c,
      	  gladeui/glade-editor-property.c,
      	  gladeui/glade-parameter.c,
      	  gladeui/glade-widget.c,
      	  gladeui/glade-command.c,
      	  gladeui/glade-palette.c,
      	  gladeui/glade-utils.c,
      	  gladeui/glade-accumulators.c,
      	  gladeui/glade-palette.h,
      	  gladeui/glade-binding.h,
      	  gladeui/glade-app.c,
      	  gladeui/glade-property.c,
      	  gladeui/glade-builtins.c,
      	  gladeui/glade-project.c,
      	  gladeui/Makefile.am: Fix "missing prototype" errors reported by
      	  gcc due to increased warning level (-Wmissing-prototypes). Added
      	  glade-gnome.h with function prototypes as well.
      
      svn path=/trunk/; revision=1384
      d6cfd1e4
  3. 30 Mar, 2007 1 commit
    • Christian Persch's avatar
      Don't use atoi/atof. Bug #414358. · af3c6c7f
      Christian Persch authored
      2007-03-30  Christian Persch  <chpe@gnome.org>
      
      	* gladeui/glade-parameter.c: (glade_parameter_get_integer),
      	(glade_parameter_get_float):
      	* gladeui/glade-xml-utils.c: (glade_xml_get_property_int): Don't use
      	atoi/atof. Bug #414358.
      
      svn path=/trunk/; revision=1235
      af3c6c7f
  4. 23 Jan, 2007 1 commit
  5. 17 Jan, 2007 1 commit
    • Christian Persch's avatar
      Include config.h. · 3c4caead
      Christian Persch authored
      2007-01-17  Christian Persch  <chpe@svn.gnome.org>
      
      	* src/glade-accumulators.c:
      	* src/glade-base-editor.c:
      	* src/glade-binding.c:
      	* src/glade-clipboard.c:
      	* src/glade-cursor.c:
      	* src/glade-debug.c:
      	* src/glade-design-layout.c:
      	* src/glade-design-view.c:
      	* src/glade-gnome.c:
      	* src/glade-id-allocator.c:
      	* src/glade-palette-box.c:
      	* src/glade-palette-expander.c:
      	* src/glade-palette-item.c:
      	* src/glade-parameter.c:
      	* src/glade-placeholder.c:
      	* src/glade-signal.c:
      	* src/glade-xml-utils.c: Include config.h.
      
              * src/glade-app.c: (glade_app_init): Bind the gettext domain. Bug
      	#397429.
      
      svn path=/trunk/; revision=1043
      3c4caead
  6. 06 Dec, 2005 1 commit
    • Tristan Van Berkom's avatar
      Modified Files: ChangeLog po/az.po po/en_CA.po po/es.po po/ja.po po/ms.po · cf473018
      Tristan Van Berkom authored
      
      Modified Files:
       	ChangeLog po/az.po po/en_CA.po po/es.po po/ja.po po/ms.po
       	po/nn.po po/no.po po/pl.po po/pt.po po/ru.po po/sv.po po/ta.po
       	po/tr.po po/uk.po po/zh_CN.po src/glade-app.c src/glade-app.h
       	src/glade-catalog.c src/glade-catalog.h src/glade-command.c
       	src/glade-cursor.c src/glade-debug.c
       	src/glade-editor-property.c src/glade-editor.c src/glade-gtk.c
       	src/glade-id-allocator.c src/glade-palette.c
       	src/glade-parameter.c src/glade-placeholder.c
       	src/glade-popup.c src/glade-project-view.c
       	src/glade-project-window.c src/glade-project.c
       	src/glade-property-class.c src/glade-property.c
       	src/glade-signal-editor.c src/glade-signal.c src/glade-utils.c
       	src/glade-widget-class.c src/glade-widget.c src/main.c
      
        Updated land address for the Free Software Foundation in Boston.
      cf473018
  7. 31 Jul, 2005 1 commit
    • Tristan Van Berkom's avatar
      Cleared up property->class references, Added comments, Made spin button · 81ed8652
      Tristan Van Berkom authored
      
      	* src/glade-editor.c: Cleared up property->class references, Added comments,
      	  Made spin button adjustments from the class, not from Glade Parameters.
      
      	* src/glade-parameter.[ch]: Removed convenience create_adjustement function,
      	  Certain data found in the xml file is parsed directly onto the class data and
      	  others are dynamicly added through glade params, for this reason I'm
      	  depricating use of glade-parameters in the core code, glade-parameters can
      	  be kept around as a usefull configuration mechanism for plugin writers.
      
      	* src/glade-gtk.c:
      	    - Added special enum type & pspec for GtkImage
      	    - Now GtkImage uses one of three methods to save
      	        o Filename
      	        o Stock
      	        o Icon Theme
      	      the appropriate controls are disabled & enabled
      	      accordingly and survive a save/load with no custom
      	      property help.
      	    - Icon Size is disabled if a Pixel Size is specified
      	      (as pixel size takes precedence on this object).
      	    - Removed pointless unfinished API doc headers, the core
      	      (i.e. libgladeui) could well be documented for use by
      	      plugin writers and application writers (like anjuta for
      	      instance) but in the plugin its pretty pointless.
      
      	* src/glade-property-class.[ch]:
      	    - Fiddled with g_critical outputs
      	    - Added glade_property_class_make_adjustment
      	    - Added LIBGLADEUI_API to func headers.
      
      	* src/glade-property.[ch]: Added glade_property_reset()/glade_property_default()
      	* src/glade-widget.[ch]: Added glade_widget_property_reset(),
      	  glade_widget_pack_property_reset(), glade_widget_property_default(),
      	  glade_widget_pack_property_default().
      
      	* src/glade.h: Added definitions for defaults in editor adjustments.
      
      	* widgets/gtk+.xml: Added information for GtkImage properties.
      81ed8652
  8. 15 Nov, 2004 1 commit
    • Ivan Wong's avatar
      - add option "--verbose". - add POPT_AUTOHELP. - use dynamic version of · 675274fa
      Ivan Wong authored
      2004-11-13  Ivan Wong  <email@ivanwong.info>
      
      	* main.c, src/glade.h:
      	  - add option "--verbose".
      	  - add POPT_AUTOHELP.
      	  - use dynamic version of popt on win32.
      
      	* src/glade-editor.c: Some compilers don't know __FUNCTION__,
      	  G_GNUC_FUNCTION is better.
      
      	* src/glade-gtk.c:
      	  - GLADEGTK_API should precede return type.
      	  - glade_gtk_button_set_stock() now checks "use-underline" when "stock"
      	     is restored to glade-none.
      
      	* src/glade-menu-editor.c: MSVC doesn't know #warning,
      	  use #pragma message for that.
      
      	* src/glade-property-class.[ch]:
      	  - MSVCRT.dll hasn't got strtoll(), use _atoi64() for that.
      	  - add orig_def for storing the orginal default value that
      	    is overridden by a custom default.
      
      	* src/glade_plugin.def: added glade_editor_load_widget.
      
      	* src/glade-editor.c, src/glade-gtk.c, src/glade-parameter.c,
      	  src/glade-property-class.c, src/glade-transform.c, src/glade-widget.c:
      	  fixed some signed/unsigned mismatch and truncation warnings that only
      	  appears in MSVC.
      675274fa
  9. 04 Oct, 2004 1 commit
  10. 15 Aug, 2003 1 commit
    • Joaquin Cuenca Abela's avatar
      set 0.01 as the step for float and double parameters. parse the · 029c8fb4
      Joaquin Cuenca Abela authored
      2003-08-15  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>
      
      	* src/glade-parameter.c: set 0.01 as the step for float and double parameters.
      	* src/glade-widget-class.c: parse the PostCreateFunction value on
      	glade_widget_class_extend_with_file.
      	* widgets/gtkwindow.xml: put again the PostCreateFunction to set a reasonable
      	default size for a window.
      	* widgets/gtkmessagedialog.xml: reuse this xml file.
      	* widgets/*.xml: remove some unneed tags, as name and generic_name, as now
      	there are defined on gtk-base and gtk-additional.xml files.
      029c8fb4
  11. 07 Aug, 2003 1 commit
  12. 21 Apr, 2003 1 commit
  13. 12 Aug, 2001 1 commit
    • Chema Celorio's avatar
      try to fix gettext support. Duno why translations are not working. Feel · 8b9ec736
      Chema Celorio authored
      2001-08-11  Chema Celorio  <chema@celorio.com>
      
      	* src/glade.h: try to fix gettext support. Duno why translations are not
      	working. Feel free to fix it ;-).
      
      	* src/glade-widget.c (glade_property_refresh): implement
      	(glade_widget_new): clean widget creation
      	(glade_widget_new_full): ditto
      	(glade_widget_get_from_gtk_widget): ditto
      	(glade_widget_apply_property_from_node): impl.
      	(glade_widget_new_from_node): impl.
      
      	* src/glade-property.c : port to GValue
      	* src/glade-property.h: ditto
      
      	* src/glade-property-class.c : port to GValue
      	* src/glade-property-class.h : ditto
      
      	* src/glade-project.c (glade_project_new_from_node): implement.
      	(glade_project_open_from_file): implement.
      	(glade_project_open): implemnt.
      
      	* src/glade-project-view.h (struct _GladeProjectViewClass): add a
      	selection_update signal.
      
      	* src/glade-project-view.c (glade_project_view_populate_model_real): add a
      	add_childs parameter
      	(glade_project_view_selection_update): implment (not yet working)
      
      	* src/glade-parameter.c (glade_parameter_adjustment_new): port to GValue
      
      	* src/glade-palette.c (glade_palette_clear): impl.
      
      	* src/glade-gtk.c: port to GValue from string
      	(glade_gtk_box_set_size): impl.
      
      	* src/glade-editor.c (glade_editor_property_changed_*): use g_property_set_foo
      	rather than g_property_changed_foo.
      	port to GValues from string
      
      	* src/glade-choice.c (glade_choice_list_new_from_node): use _TAG_ENUM and
      	not _CHOICES
      
      	* src/glade-catalog.c: remove <config.h>
      
      	* src/Makefile.am (SUBDIRS): remove tests
      8b9ec736
  14. 04 Aug, 2001 1 commit
    • Chema Celorio's avatar
      add a packing argument. (glade_widget_set_default_options): we now set the · 4aec257b
      Chema Celorio authored
      2001-08-04  Chema Celorio  <chema@celorio.com>
      
      	* src/glade-widget.c (glade_widget_set_default_options_real): add a packing
      	argument.
      	(glade_widget_set_default_options): we now set the default options in two
      	steps. Firts the object properties and
      	(glade_widget_set_default_packing_options): secondly the packing properties.
      	The packing properties are applied after the widget is appended to the container
      
      	* src/glade-property-class.c (glade_property_class_get_default_from_spec):
      	default is now a member of GladePropertyClass not a GladeParameter.
      
      	* src/glade-parameter.c (glade_parameter_adjustment_new): get the default
      	from the parameters only if def was not specified. Added a default variable
      	to the function.
      
      	* src/glade-packing.c: add file. Takes care of container packing related
      	stuff.
      
      	* src/glade-gtk.c (glade_gtk_vbox_get_size): add the prototype, still
      	no content
      	(glade_gtk_vbox_set_size): ditto.
      
      	* src/glade-editor.c (glade_editor_load_packing_page): impl. Adds
      	the packing page.
      
      	* src/Makefile.am: add packging.[ch]
      
      	* src/glade-popup.c (glade_popup_create_menu): make the popup-menu
      	work. Select now works.
      
      	* src/glade-widget.h: remove ->popup. destroy it right away.
      
      2001-08-03  Chema Celorio  <chema@celorio.com>
      
      	* src/glade-widget-class.c (glade_widget_class_list_signals): plug a memleak
      	(glade_widget_class_compose_get_type_func): plug a memleak
      4aec257b
  15. 23 Jul, 2001 1 commit
    • Chema Celorio's avatar
      when saving a .xml file indent it as libxml did by calling SaveFormatFile · bbec1dc1
      Chema Celorio authored
      2001-07-23  Chema Celorio  <chema@celorio.com>
      
      	* src/glade-xml-utils.c (glade_xml_doc_save): when saving a .xml file indent
      	it as libxml did by calling SaveFormatFile and xmlKeepBlanksDefault.
      
      	* src/glade-xml-utils.h: hide the libxml internals (remove headers from the
      	.h file and into the .c file. Update all the code to not deal with libxml
      	structs directly. Changed the while loops that generated libxml nodes to for
      	loops. remove the skip_text macro and add glade_xml_node_is_comment so that
      	we can test the node for a node we should ignore (in the for loops).
      bbec1dc1
  16. 22 Jul, 2001 1 commit
    • Chema Celorio's avatar
      implement, new file. · 550709b2
      Chema Celorio authored
      2001-07-22  Chema Celorio  <chema@celorio.com>
      
      	* src/glade-utils.c (glade_util_path_is_writable): implement, new file.
      
      	* src/glade-property.c (glade_property_write): implement.
      
      	* src/glade-widget.c (glade_widget_write): add content.
      
      	* src/glade-xml-utils.c (glade_xml_set_value): fix a lot of the broken issues.
      	Don't confuse properties for node content. Use GladeXmlNode as API entry.
      	Lots of small new functions, lots of cleanup.
      550709b2
  17. 09 Jul, 2001 1 commit
    • Chema Celorio's avatar
      check if g_module_supported is TRUE in here, if it isn't there is no point · f25dd18f
      Chema Celorio authored
      2001-07-09  Chema Celorio  <chema@celorio.com>
      
      	* src/main.c (glade_init): check if g_module_supported is TRUE
      	in here, if it isn't there is no point in running glade2
      
      	* src/glade.h (GLADE_TAG_SET_FUNCTION): add the new tags beeing
      	used in the .xml files
      
      	* src/glade-xml-utils.c (glade_xml_get_boolean): accept
      	"TRUE" and "FALSE" as valid (before only "True" & "False")
      
      	* src/glade-widget.c (glade_widget_button_press): return FLASE
      	so that the emision continues (fixes clicking over items)
      	(glade_widget_button_release): ditto
      
      	* src/glade-widget-class.h: add the spec function prototypes
      
      	* src/glade-widget-class.c (glade_widget_class_get_specs): move
      	here from glade_propery_class.
      	(glade_widget_class_find_spec): ditto
      	(glade_widget_class_dump_param_specs): implement
      
      	* src/glade-property.h: add the headers for the _double functions
      
      	* src/glade-property.c (glade_property_new_from_string): handle
      	double type
      	(glade_property_changed_double): implement
      	(glade_property_get_double): impl.
      
      	* src/glade-property-class.h: add _TYPE_DOUBLE and _TYPE_OBJECT
      	remove class->gtk_arg add class->id. Fixed the code all over
      	to use ->id and ->name correctly.
      	- add children for child objects and set_function to set properties
      	that gtk is not exposing
      
      	* src/glade-property-class.c: add frames for handling _TYPE_OBJECT
      	no content tho
      	(glade_property_get_parameter_numeric_default):
      	(glade_property_get_parameter_numeric_min):
      	(glade_property_get_parameter_numeric_max): impl.
      	(glade_property_get_parameters_numeric): clean
      	(glade_property_class_get_set_function): implement but not use yet
      	cause I could not get it to work. Use glade_gtk_get_set_function_hack
      	for now.
      	(glade_property_class_new_from_node): change to reflect new changes
      	in .xml format
      
      	* src/glade-project-window.c (glade_project_window_query_properties):
      	use ->id and not ->name
      
      	* src/glade-placeholder.c (glade_placeholder_add): s/Size/size
      	s/Rows/rows since we use class->id and not class->name
      
      	* src/glade-parameter.c (glade_parameter_adjustment_new): make
      	the increment 1 so that integers can be changed if the increment
      	is not specified
      
      	* src/glade-palette.c (glade_palette_init): set the policy of the
      	pallete (which is a gtkwindow)
      
      	* src/glade-editor.h: add GladeEditorNumericType to share functions
      	that interact with numbers
      
      	* src/glade-editor.c (glade_editor_property_changed_numeric): handle
      	integers, floats and doubles. rename from _changed_integer
      	(glade_editor_create_input): handle double
      	(glade_editor_property_load_double): impl.
      
      	* src/Makefile.am: add glade-gtk.[ch]
      
      	* src/glade-property-class.c (glade_property_class_get_set_function):
      	implement
      
      	* widgets/gtk*.xml: clean lots of files, changed the format it is now
      	a lot better.
      
      	* src/glade-gtk.c (glade_gtk_entry_set_text): implement
      	(glade_gtk_get_set_function_hack): implement a temp hack to find
      	function pointers at run time, i could not make gmodule work.
      f25dd18f
  18. 29 Jun, 2001 1 commit
  19. 28 Jun, 2001 1 commit
  20. 21 Jun, 2001 1 commit
  21. 19 Jun, 2001 1 commit