[darcs-devel] darcs patch: Freshen GUI code so that it compiles. (and 14 more)

Eric Kow eric.kow at gmail.com
Mon Jan 30 18:40:44 PST 2006


The main contribution of these patches is the standalone graphical interface.

Notes: 
- first 3 patches resent because of dependencies.
- tests seem to run unusually slow with --with-wx 
  just my imagination?
- to run the standalone gui, either darcs --gui or wxDarcs 

Sat Jan 21 01:08:18 CET 2006  Eric Kow <eric.kow at loria.fr>
  * Freshen GUI code so that it compiles.

Sat Jan 21 01:10:49 CET 2006  Eric Kow <eric.kow at loria.fr>
  * Reimplement flexible GUI widget for whatsnew.
  
  The current implementation was not working, maybe as a result of
  a wxhaskell or WxWidgets bug in which resized widgets lose their
  new sizes when the parent window is resized.
  
  The new implementation works around this by displaying patches in
  tree form.  Each node is a patch summary, and expanding that node
  reveals the full patch.
  

Sat Jan 21 01:43:25 CET 2006  Eric Kow <eric.kow at loria.fr>
  * Enable GUI on MacOS X with /Developer/Tools/Rez.
  
  Without this command, the darcs GUI does not take focus under MacOS X.
  

Sun Jan 22 22:57:29 CET 2006  Eric Kow <eric.kow at gmail.com>
  * Fix layout bugs in GUI (buttons were being hidden).
  
  For some reason, scrolled windows seem to need to be inside of panels
  for them to behave correctly when their parent windows are resized. 
  Otherwise they hide the button bars used in Record and SelectChanges.
  
  Also, slightly simplify GUI code to avoid proliferation of widgets.
  

Thu Jan 26 00:57:31 CET 2006  Eric Kow <eric.kow at gmail.com>
  * Refactor calls to Rez in makefile (OS X).

Sun Jan 29 01:44:45 CET 2006  Eric Kow <eric.kow at gmail.com>
  * (GUI) Create GuiUtils.lhs, move tree widget code to it.
  
  Also, simplify the tree widget code.  This file will provide a 
  central place for various graphical odds and ends.  
  

Mon Jan 30 14:44:03 CET 2006  Eric Kow <eric.kow at gmail.com>
  * Remove tabs in graphical output.
  
  Wxhaskell has trouble when tabs are included in the text to be
  displayed.  We quietly convert these tabs into spaces.
  

Mon Jan 30 16:35:30 CET 2006  Eric Kow <eric.kow at gmail.com>
  * Add a SubGui flag.
  
  The SubGui flag enables commands to be run under a main GUI. 
  The idea is that wxhaskell's start function really does not
  like to be called more than once, so we avoid calling it 
  a second time if a main gui already has done so.
  

Mon Jan 30 16:37:53 CET 2006  Eric Kow <eric.kow at gmail.com>
  * Abstract the patch-viewer widget.
  
  We shouldn't care how the patch-viewer is implemented.
  

Mon Jan 30 21:10:41 CET 2006  Eric Kow <eric.kow at gmail.com>
  * Make unpull, unrecord, obliterate accept --gui.
  
  This also has the side effect of them accepting --interactive.
  

Mon Jan 30 22:53:23 CET 2006  Eric Kow <eric.kow at gmail.com>
  * Add a lock mechanism for graphical interfaces.
  
  Add a distinct lock for the GUI.  What makes this lock different is
  that taking and setting the lock are done seperately, instead of 
  using an atomic operation like withRepoLock.  This allows us to 
  assign the releasing of the lock to GUI events like closing a window.
  
  This would be useful for a standalone interface to prevent weird 
  race conditions, for example, from mulitple Record windows being open.
  Note that withLock is not enough for this purpose; the lock would 
  already be released before the user even touches the window.
  

Tue Jan 31 00:26:08 CET 2006  Eric Kow <eric.kow at gmail.com>
  * Send darcs commands' output to log (gui only).
  
  If running in SubGui mode, darcs commands send their output to wxWidgets log
  instead of stdout, because under the standalone gui, this output would
  otherwise be hidden.
  

Tue Jan 31 02:20:36 CET 2006  Eric Kow <eric.kow at gmail.com>
  * Add a standalone graphical interface.
  
  The gui code prior to this patch allows graphical darcs forms to be run from
  the command line.  This builds off that functionality by adding a graphical
  front-end, allowing users to access these forms with a click of a button.
  In other words, this allows users to run darcs without the command line.
  
  Much more work will have to be done on this front end before it is as usable as
  the command-line darcs, but hopefully patch shall kick things off.
  

Tue Jan 31 02:24:39 CET 2006  Eric Kow <eric.kow at gmail.com>
  * Scripts and makefile target to distribute wxDarcs on OS X.
  
  Creates an application bundle and a .dmg file.
  

Tue Jan 31 02:31:07 CET 2006  Eric Kow <eric.kow at gmail.com>
  * Correct compilation of gui code in console mode.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 147358 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20060131/3c0e6cbb/attachment.bin


More information about the darcs-devel mailing list