1. 10 May, 2019 1 commit
  2. 09 May, 2019 1 commit
  3. 16 Nov, 2014 1 commit
  4. 25 Sep, 2014 1 commit
  5. 31 Jan, 2014 2 commits
  6. 04 May, 2013 1 commit
  7. 18 Nov, 2012 1 commit
  8. 03 Oct, 2012 1 commit
    • Hans Breuer's avatar
      svg: initial (hidden) shape import - no round-trip yet · feb6fbf3
      Hans Breuer authored
      If dropping a shape file to the diagram/toolbox the SVG filter
      will get asked to load it. This get rid of 'Not a Dia File' from
      the digram exporter as final fallback.
      
      I wrote the functionality to diagnose the main point misplacement
      using Steffen's "Shape Design" shapes, but import_shape_info() is
      far from complete for round-trip - not sure where to store the extra
      information ...
      feb6fbf3
  9. 16 Sep, 2012 1 commit
    • Hans Breuer's avatar
      [substitute] move Diagram::selection_changed signal to base class · 433627f1
      Hans Breuer authored
      For the new object_substitute() facility an object within the active
      selection can change. While object-add and object-remove already were
      signals on DiagramData selection-changed was not. But it should
      because DiagramData::selected is also managed in the base class.
      
      When objects are added/removed the Diagram react on the signal to
      update it's content, i.e. calls object_add_updates(obj, dia);
      433627f1
  10. 27 Jul, 2012 1 commit
  11. 21 Jul, 2012 1 commit
    • Hans Breuer's avatar
      Reduce GUI coupling by passing DiaContext* down to lib/objects/plug-ins · 7be2dcff
      Hans Breuer authored
      A lot of low level code was using message_warning() and friends.
      While convenient this had multiple issues:
       - message boxes were popped up asynchronous with the task
       - a single task could create multiple dialogs
       - the messages were loosing context (or did not gain it)
       - the classification had to be done by the callee
         (if it's an error, warning or info depends on the caller)
       - message_*() was also used for programmers errors
      
      ToDo:
       check all dia_context_release() to do sth useful with the content
        - decide between warning and error by return value of the
          function taking the context
        - maybe do some in display showing like gedit (for import & drop)
      
       convert also the save/export stuff to use DiaContext
        - finally activate autosave in thread
        - get rid of dia_message_filename()
        - get rid of strerror() use - it had utf-8 issues
      7be2dcff
  12. 01 Jul, 2011 1 commit
  13. 02 Jun, 2011 1 commit
  14. 30 Jan, 2011 1 commit
  15. 02 Jan, 2011 1 commit
    • Hans Breuer's avatar
      Fix selection after Ungroup · 493067e9
      Hans Breuer authored
      The selection of objects did not include the just "released"
      objects because diagram_select_list() was called before the
      objects were "visible" to the diagram.
      493067e9
  16. 20 Oct, 2010 1 commit
  17. 30 Jul, 2010 1 commit
  18. 12 Jun, 2009 1 commit
  19. 31 May, 2009 3 commits
  20. 14 Feb, 2009 1 commit
    • Hans Breuer's avatar
      cleanup to remember the original path of an import file (bug #570862) and · 92097366
      Hans Breuer authored
      2009-02-14  Hans Breuer  <hans@breuer.org>
      
      	* app/diagram.c(diagram_load_into) : cleanup to remember the original
      	path of an import file (bug #570862) and also avoid to not simply save
      	the newly created diagram without asking for confirmation of the 
      	filename. Also reflect the filename in the window title.
      
      
      svn path=/trunk/; revision=4275
      92097366
  21. 31 Jan, 2009 1 commit
    • Hans Breuer's avatar
      get rid of nearly unmaintainable UpdatableMenuItems and a lot of · 8d1a3b4c
      Hans Breuer authored
      2009-01-31  Hans Breuer  <hans@breuer.org>
      
      	* app/display.[ch] app/diagram.[ch] app/menus.[ch] : get rid of nearly
      	unmaintainable UpdatableMenuItems and a lot of ui-variant-specific code
      	by dynamic action lookup when updating sensitivity. This not only fixes
      	bug #527565 but also bug #322190 and allows ...
      	* app/interface.c : make Tool accelerator single key strokes - e.g. no
      	more <alt><shift>L to draw a line but just "L" - another benefit of the
      	dedicated test edit mode ;) - bug #439854.
      
      
      svn path=/trunk/; revision=4238
      8d1a3b4c
  22. 20 Jan, 2009 1 commit
    • Hans Breuer's avatar
      implement "Objects/Move to layer above/below" (maintaining connections · d030e7fd
      Hans Breuer authored
      2009-01-20  Hans Breuer  <hans@breuer.org>
      
      	* app/undo.[ch] app/commands.[ch] app/menus.c app/diagram.c 
      	  data/*-ui. : implement "Objects/Move to layer above/below" 
      	(maintaining connections between layers). Fixes bug #59105.
      	* samples/undo-check.dia a diagram to play with the above
      
      svn path=/trunk/; revision=4211
      d030e7fd
  23. 02 Jan, 2009 1 commit
    • Hans Breuer's avatar
      Patch from Takao Fujiwara fixing bug #564850 – dia crashes on none UTF-8 · b572a1aa
      Hans Breuer authored
      2009-01-02  Hans Breuer  <hans@breuer.org>
      
      	Patch from  Takao Fujiwara fixing bug #564850  – dia crashes on none UTF-8
      	* app/diagram.c : don't initialize unused filename (with the wrong locale)
      	* app/filedlg.c : gtk_file_chooser_set_current_name() wants utf-8, not 
      	filename encoding
      	* plug-ins/cairo/diacairo.c : export_data() first filename already is in 
      	the GLib's filename encoding - but on win32 this is always utf-8, i.e. not 
      	appropriate to be used with cairo
      
      
      svn path=/trunk/; revision=4170
      b572a1aa
  24. 18 Dec, 2008 1 commit
    • Hans Breuer's avatar
      renamed to properties-dialog.* to have unique filenames (avoids debugger · c7edc980
      Hans Breuer authored
      2008-12-18  Hans Breuer  <hans@breuer.org>
      
      	* app/properties.[ch] : renamed to properties-dialog.* to have unique
      	filenames (avoids debugger confusion)
      	* app/Makefile.am app/makefile.msc app/makefile.mingw
      	  app/commands.c app/defaults.c app/diagram.c app/diagram_tree.c
      	  app/modify_tool.c : adapted accordingly
      
      	* app/properties-dialog.c : restored nullification of the static 
      	'object_part' on dialog destroy to avoid double destruction
      
      
      svn path=/trunk/; revision=4159
      c7edc980
  25. 14 Dec, 2008 1 commit
  26. 31 May, 2008 1 commit
    • Hans Breuer's avatar
      new files containing the initialization code ... ... removed here ... ... · 1721e7fb
      Hans Breuer authored
      2008-05-31  Hans Breuer  <hans@breuer.org>
      
      	* lib/libdia.[ch] : new files containing the initialization code ...
      	* app/app_procs.c : ... removed here ...
      	* plug-ins/python/diamodule.c : ... to be useable from here
      	* lib/Makefile.am lib/makefile.msc lib/libdia.def : adapted
      	
      	* app/diagram.c : there is no diagram_tree to update when not 
      	running interactively, also no display to update
      
      	[warningectomy]
      	* lib/diaarrowchooser.c lib/persistence.[ch] : constness
      	* lib/diagramdata.c : signedness
      	* lib/font.c : initialization
      
      
      svn path=/trunk/; revision=4062
      1721e7fb
  27. 11 May, 2008 1 commit
    • Hans Breuer's avatar
      removed dangling includes · 0ddb90dc
      Hans Breuer authored
      2008-05-11  Hans Breuer  <hans@breuer.org>
      
      	* app/diagram.c app/app_procs.c : removed dangling includes
      	
      
      
      svn path=/trunk/; revision=4019
      0ddb90dc
  28. 10 May, 2008 1 commit
    • Hans Breuer's avatar
      allows to find objects with empty bounding boxes like empty text. See bug · 57642eda
      Hans Breuer authored
      2008-05-10  Hans Breuer  <hans@breuer.org>
      
      	* plug-ins/python/select_empty.py : allows to find objects with empty
      	bounding boxes like empty text. See bug #99375.
      	* plug-ins/python/Makefile.am : install it
      	* app/display.c(selection_changed) : update menu sensitivity in the
      	signal handler for selection changed. Could replace a lot of explicit
      	updates, but is needed when the selection is changed from a plug-in
      	* app/diagram.c(diagram_update_menu_sensitivity) : maybe called with 
      	ddisplay_active() returning NULL, don't crash on that.
      
      
      svn path=/trunk/; revision=3994
      57642eda
  29. 25 Apr, 2008 1 commit
    • Hans Breuer's avatar
      all DiaRenderer::draw_string() methods were leaking their text_line use · 051e94fa
      Hans Breuer authored
      2008-04-25  Hans Breuer  <hans@breuer.org>
      
      	* lib/diagdkrenderer.c lib/diasvgrenderer.c lib/dialibartrenderer.c 
      	  app/diapsrenderer.c app/diapsft2renderer.c : all 
      	DiaRenderer::draw_string() methods	were leaking their text_line
      	* lib/textline.c(text_line_destroy) : use clear_layout_offset()
      	instead of leaking cached values
      	* lib/autoroute.c : othconn_set_points does not eat points
      	* app/diagram.c : return of diagram_get_name() must be free'd
      	* objects/standard/line.c : connpointline_create must be paired with
      	connpointline_destroy()
      	* objects/standard/outline.c : object_init() needs object_destroy()
      	* objects/UML/state.c : don't miss to free action strings
      	* objects/UML/transition.c : also leaking strings
      
      
      svn path=/trunk/; revision=3955
      051e94fa
  30. 19 Apr, 2008 1 commit
    • Hans Breuer's avatar
      put the modification mark ('*') in the window title like other programs · b0a8c497
      Hans Breuer authored
      2008-04-19  Hans Breuer  <hans@breuer.org>
      
      	* app/diagram.c : put the modification mark ('*') in the window title
      	like other programs do, ...
      	* app/display : ... remove "Diagram modified" from the statusbar ...
      	* app/create_object.c app/modify_tool.c : ... and clean out temporary 
      	positions in button_release
      	* app/interface.[ch] : removed specialized handling of modification for 
      	integrated ui, it is not needed anymore
      	
      	* app/tool.h : remove unused struct _ToolInfo
      	
      	* lib/textline.c : an empyt text created bogus ascent/descent, it used 
      	to mean the fonts ascent/descent. Fixes e.g. the positioning of 
      	'UML - LargePackage' label
      
      	* objects/standard/textobj.c(textobj_load) : intialize TextObj::attrs 
      	from TextObj::text (bug #528903, Leon Stringer)
      	* objects/Istar/goal.c objects/Istar/other.c objects/Jackson/domain.c
      	  objects/SADT/box.c : had a similar problem leaving attrs 
      	 uninitialized in their create method
      
      
      svn path=/trunk/; revision=3950
      b0a8c497
  31. 03 Dec, 2007 1 commit
  32. 28 Oct, 2007 1 commit
  33. 27 Oct, 2007 2 commits
  34. 21 Oct, 2007 1 commit
  35. 14 Oct, 2007 1 commit
    • Hans Breuer's avatar
      Next stab on dedicated text edit mode: text edit mode reflected in · 7789ad55
      Hans Breuer authored
      2007-10-14  Hans Breuer  <hans@breuer.org>
      
      	Next stab on dedicated text edit mode:
      	* app/textedit_tool.[ch] app/tool.[ch] app/cursors.[ch] 
      	app/interface.c app/Makefile.am app/makefile.msc data/display-ui.xml 
      	data/integrated-ui.xml data/popup-ui.xml : text edit mode 
      	reflected in toolbox, it is too different from normal modification
      	* app/diagram.c app/menu.c : make Cut, Copy, Paste, Delete 
      	and Duplicate menu entries insensitive when text is edited
      	* app/pixmaps/textedit.png : an ugly icon
      	* app/create_object.c app/disp_callbacks.c : deal with transitions 
      	from one tool to to the other
      	* app/textedit.[ch](textedit_activate_object): tell if editing started
      
      svn path=/trunk/; revision=3813
      7789ad55
  36. 16 Sep, 2007 1 commit
    • Hans Breuer's avatar
      move "Compressed saved files" to "Diagram defaults", the setting already · f84a860c
      Hans Breuer authored
      2007-09-16  Hans Breuer  <hans@breuer.org>
      
      	* app/preferences.c : move "Compressed saved files" to 
      	"Diagram defaults", the setting already beahved like the other
      	defaults. Fixes bug #439894.
      	* app/diagram.c : finally respect diagram defaults again, probably
      	broken with 0.95. Fixes bug #477451 
      
      
      svn path=/trunk/; revision=3782
      f84a860c