Commit Graph

362 Commits

Author SHA1 Message Date
hasufell 394b450e51
Rm comment to fix generation of haddock docs
Unfortunately it seems to be not supported to document individual
parameters of these kind of contructs.
2014-10-06 23:02:09 +02:00
hasufell 685a525c72
Limit public Meshparser API 2014-10-06 22:54:43 +02:00
hasufell 94dd75fb37
Limit public Gtk API 2014-10-06 22:51:54 +02:00
hasufell 98a1b367d5
Style 2014-10-06 22:19:46 +02:00
hasufell b98d8be723
Limit public API in Diagram 2014-10-06 22:15:10 +02:00
hasufell 330049fde6
Rename showEmptyRectB and emptyRect to showWhiteRectB and whiteRect 2014-10-06 21:22:32 +02:00
hasufell c35eb704d3
Avoid shadowing of variables 2014-10-06 21:12:18 +02:00
hasufell 8547122be6
Make the diagram API more abstract
In particular we now have the data type 'Diag' which
can be used to concatenate multiple Diagrams via mconcat while
keep the properties and VTable across all of them consistent.
2014-10-06 21:11:28 +02:00
hasufell 69026edf83
Simplify and improve extension handling
The functions should be safe now and all known corner cases
seem to work.
2014-10-06 02:26:04 +02:00
hasufell 0ee52c5bdd
Improve haddock documentation 2014-10-05 21:47:00 +02:00
hasufell d5b8eeeb49
Add algorithm combo box
Currently a no-op.
2014-10-05 21:41:51 +02:00
hasufell 6c728324fd
Rm obsolete centerX/centerY 2014-10-05 21:33:22 +02:00
hasufell d69647dcd3
Add all other modules to the cabal file 2014-10-05 21:12:08 +02:00
hasufell 94baf12023
Add about dialog 2014-10-05 20:54:42 +02:00
hasufell 191325f77a
Don't expand/fill the filechooserButton 2014-10-05 20:23:54 +02:00
hasufell 262982673a
Improve error handling 2014-10-05 20:08:58 +02:00
hasufell d33683cb82
Refactor GUI API 2014-10-05 19:32:36 +02:00
hasufell 1fb87d8e1e
Style 2014-10-05 18:43:10 +02:00
hasufell 522ad2b452
Allow specifying the diagram dimensions in the GUI 2014-10-05 18:41:41 +02:00
hasufell 6c677d55b8
Fix parsing error 2014-10-05 18:09:49 +02:00
hasufell 197dc99058
Allow more control over the dimensions 2014-10-05 18:09:24 +02:00
hasufell 6e2873ece1
Improve haddock documentation 2014-10-05 15:57:31 +02:00
hasufell 5976ba984e
Style 2014-10-05 15:57:18 +02:00
hasufell f46d47c827
Loosen the version constraints for base a bit 2014-10-05 15:51:41 +02:00
hasufell ae019e86ed
Style 2014-10-05 15:50:52 +02:00
hasufell 884a8a3121
Use a proper API for default parameters 2014-10-05 15:50:42 +02:00
hasufell 22d7ea501d
Rm redundant import 2014-10-05 15:30:07 +02:00
hasufell c7c0fdd500
Style 2014-10-05 15:27:48 +02:00
hasufell c95e003228
Make API suck less 2014-10-02 20:59:27 +02:00
hasufell e14805dcce
Fix drawing area when other windows overlap 2014-10-02 20:57:49 +02:00
hasufell 0ab6a15d4e
Draw two lines for both x and y-axis 2014-10-02 20:07:49 +02:00
hasufell c018304319
Don't draw borders for the white square 2014-10-02 14:37:51 +02:00
hasufell cb53b2b61d
Improve default file chooser settings
If the user hasn't specified a file on CLI, the button
now correctly shows "None" and has $HOME as start dir.
2014-10-02 14:36:23 +02:00
hasufell d39180a723
Style 2014-10-02 14:30:08 +02:00
hasufell 1ca38186e8
Switch to glade 2014-10-02 14:29:56 +02:00
hasufell 3bfb84e1c7
Rename startGUI to makeGUI 2014-10-02 13:14:16 +02:00
hasufell 80b5286095
Style improvements 2014-10-02 13:13:58 +02:00
hasufell 8f806ab42c
Update .gitignore 2014-10-01 23:09:09 +02:00
hasufell 860e7af61d
Improve error handling
Checks the file extension before attempting to read the file.
Also allow empty argument list.
2014-10-01 23:08:58 +02:00
hasufell 9272ff32d4
Fix cmpExt
So that cmpExt "foo" "foo" will not yield a false positive.
2014-10-01 23:03:09 +02:00
hasufell 5e5408422b
Improve haddock documentation 2014-10-01 23:02:43 +02:00
hasufell 545c5365e9
Limit min scale to 0.1 to avoid errors 2014-10-01 21:49:39 +02:00
hasufell 7f20f3ff5b
Allow changing the thickness of dots
By achieving that we have introduced the DiagProp data type
which can be enhanced in the future.
2014-10-01 21:48:31 +02:00
hasufell 3c140832bc
Allow setting a startFile via cli 2014-10-01 21:47:54 +02:00
hasufell fc80b95665
Refactor drawing/saving, improve modularity 2014-10-01 20:52:07 +02:00
hasufell eaafccd544
Move gui related stuff to Gtk module 2014-10-01 20:26:57 +02:00
hasufell d0f524167a
Add utility functions for file handling 2014-10-01 20:18:45 +02:00
hasufell aec00c7e4d
Rm useless filterValidCoords, refactor inRange 2014-10-01 20:17:59 +02:00
hasufell eaaa699035
Improve inline doc 2014-10-01 20:16:02 +02:00
hasufell 824ae57a05
Add GPL-2 LICENSE file 2014-10-01 20:15:00 +02:00