From Jerome.Vouillon at pps.jussieu.fr Mon Mar 6 12:21:33 2006 From: Jerome.Vouillon at pps.jussieu.fr (Jerome.Vouillon@pps.jussieu.fr) Date: Mon, 6 Mar 2006 12:21:33 -0500 Subject: [Unison-hackers] [unison-svn] r118 - trunk/src Message-ID: <200603061721.k26HLX7T007629@canfield.cis.upenn.edu> Author: vouillon Date: 2006-03-06 12:21:31 -0500 (Mon, 06 Mar 2006) New Revision: 118 Modified: trunk/src/uitext.ml Log: Bug fixed: in text mode, all synchronizations was aborted after the first failure From ben at opendarwin.org Sat Mar 18 18:22:47 2006 From: ben at opendarwin.org (Ben Willmore) Date: Sat, 18 Mar 2006 15:22:47 -0800 Subject: [Unison-hackers] Mac UI improvements Message-ID: Here is a patch: http://socrates.berkeley.edu/~benwill/toolbar.patch and a .tar.gz containing binary files: http://socrates.berkeley.edu/~benwill/toolbar.tar.gz that make the following improvements to the Mac UI: * Replace 'Open', 'New' etc buttons with a toolbar for common actions, based on the GTK one * Improve validation logic for menu items * Make sure a tableView row is selected after update * Enlarge the ConnectingView so the window zooms less often * Enlarge the PreferencesView to make room for longer entries * Update the ConnectingView faster when it appears * Fix bug where status text would write on top of old values * Use fixed-width font for detailsTextView & increase window size so it fits * Slightly improve the icon Most of the toolbar icons are (c) Jasper Hauser, and are under a license that allows them to be freely redistributed as part of a software package (e.g. inclusion in SVN is OK), but not inclusion in a new software package. Jasper also asks for a mention of his website (http://www.jasperhauser.nl/icon/) on the Unison website. See uimac/LICENSE.icons for details. If this is problematic, I can probably make some (less good) icons. I would be happy if an SVN-enabled person would take a look at them and commit them if considered worthy. Cheers, Ben From yoderj at gmail.com Mon Mar 20 12:24:04 2006 From: yoderj at gmail.com (Josiah Yoder) Date: Mon, 20 Mar 2006 12:24:04 -0500 Subject: [Unison-hackers] Mac UI improvements In-Reply-To: References: Message-ID: I'm Josiah Yoder, I'm a user of Unison for about a year or so now, and find it really useful. It took some time, but I was able to get Unison to compile on Solaris and Linux with the version that I currently use, 1.12.0. This is working well with Windows, too! I thought it would be fun to get a little bit involved, so I'm joining the hackers list. I think Unison is great for keeping my "home" and "school" locations together, among other things. I'm not going to spend a whole lot of time "hacking Unison" maybe an hour or two every other week, but I thought I'd say "hi" I'm curious who the active members of Unison-Hackers are. I'm also curious if there's anyone who replies to the unison-users newbie requests. I've seen a few posts over the last few days that haven't been answered. I have guesses (like there really isn't a way to not delete files that are removed), but I'm wondering if any of you guys answer those posts. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.seas.upenn.edu/pipermail/unison-hackers/attachments/20060320/8bc21b61/attachment.html From cade at cade.org Mon Mar 20 22:15:01 2006 From: cade at cade.org (Cade Thacker) Date: Mon, 20 Mar 2006 22:15:01 -0500 Subject: [Unison-hackers] add unison via ssh to a C#.NET project Message-ID: <135e55a40603201915k5d64d6adna4c952bca686bc35@mail.gmail.com> Hello all, I did a good bit of Google searching for this topic and I did not find a lot which lead me to one of two conclusions. 1) I'm on to something cool that I contribute back 2) I'm am looking out at a graveyard of efforts that failed I hope the answer is #1, but I fear it is #2. Anyway, on to the question. What I want to do is to build a Window's service via Visual Studio 2005 that will run unison over ssh and sync peoples home computers to a linux box via ssh. All of my users are Windows XP. So the question is pretty simple. Is this a crazy idea? If this is a crazy idea, can you explain so I understand why? Would rsync be a better options for this type of project? As my manager once said to me: "I just don't know what I don't know". My background is I am a Java/PHP/C# web programmer. I do not have any Windows level programming experience, but I want to learn, and am pretty stubborn. Thanks for your responses. -- --cade From drayside at MIT.EDU Mon Mar 20 23:13:55 2006 From: drayside at MIT.EDU (Derek Rayside) Date: Mon, 20 Mar 2006 23:13:55 -0500 (EST) Subject: [Unison-hackers] add unison via ssh to a C#.NET project In-Reply-To: <135e55a40603201915k5d64d6adna4c952bca686bc35@mail.gmail.com> References: <135e55a40603201915k5d64d6adna4c952bca686bc35@mail.gmail.com> Message-ID: Somebody wrote to this list (or the users list) about this a few months ago. See if you can find the list archives on that. If memory serves, the main issue is listening to file system events efficiently. Running unison in a loop is not the most efficient solution. I think it's possible to register to listen to file system events, but I've never done any Windows systems programming. Unison is written in OCaml. You can probably link it with C# code. I think there was also some list traffic on compiling unison with a .NET dialect of ML. Check the archives. Maybe my memory is foggy. It's probably worth thinking about why you need to write a bunch of C# code, instead of just a unison profile and/or a simple batch file (which is what I've done for some friends on Windows). It's not that hard to just run unison on Windows. I usually spend more time tweaking the configuration file than the script that runs it. On Mon, 20 Mar 2006, Cade Thacker wrote: > Hello all, > I did a good bit of Google searching for this topic and I did not find > a lot which lead me to one of two conclusions. > > 1) I'm on to something cool that I contribute back > 2) I'm am looking out at a graveyard of efforts that failed > > I hope the answer is #1, but I fear it is #2. > > Anyway, on to the question. What I want to do is to build a Window's > service via Visual Studio 2005 that will run unison over ssh and sync > peoples home computers to a linux box via ssh. All of my users are > Windows XP. > > So the question is pretty simple. Is this a crazy idea? If this is a > crazy idea, can you explain so I understand why? Would rsync be a > better options for this type of project? > > As my manager once said to me: "I just don't know what I don't know". > > My background is I am a Java/PHP/C# web programmer. I do not have any > Windows level programming experience, but I want to learn, and am > pretty stubborn. > > Thanks for your responses. > > -- > > --cade > _______________________________________________ > Unison-hackers mailing list > Unison-hackers at lists.seas.upenn.edu > http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers > From bcpierce at cis.upenn.edu Tue Mar 21 06:57:41 2006 From: bcpierce at cis.upenn.edu (Benjamin Pierce) Date: Tue, 21 Mar 2006 11:57:41 +0000 Subject: [Unison-hackers] Mac UI improvements In-Reply-To: References: Message-ID: <12539A76-C3BD-445C-9F4F-00DB3C9F7E53@cis.upenn.edu> Welcome to the gang, Josiah. > I'm curious who the active members of Unison-Hackers are. I'm also > curious if there's anyone who replies to the unison-users newbie > requests. There are quite a few people (including me) who try to reply to questions. But as Unison gets more popular, the questions come thicker and faster! If you've got any spare cycles, a hand with this would be most appreciated. - Benjamin From bcpierce at cis.upenn.edu Tue Mar 21 08:01:04 2006 From: bcpierce at cis.upenn.edu (Benjamin Pierce) Date: Tue, 21 Mar 2006 13:01:04 +0000 Subject: [Unison-hackers] add unison via ssh to a C#.NET project In-Reply-To: References: <135e55a40603201915k5d64d6adna4c952bca686bc35@mail.gmail.com> Message-ID: <904B701C-01BE-4E81-AE3A-F13B7A6BAE47@cis.upenn.edu> > Unison is written in OCaml. You can probably link it with C# code. > I think there was also some list traffic on compiling unison with > a .NET > dialect of ML. Check the archives. Maybe my memory is foggy. There was a bit of discussion of the possibility of converting Unison to F#, Don Syme's .NET dialect of OCaml. I haven't looked closely at what would be involved, but my guess is that it would be manageable but take some work -- for example, F# doesn't provide functors, which Unison uses (sparingly), so there would be a little code rearrangement needed. - Benjamin From alan.schmitt at polytechnique.org Wed Mar 22 10:51:14 2006 From: alan.schmitt at polytechnique.org (Alan Schmitt) Date: Wed, 22 Mar 2006 16:51:14 +0100 Subject: [Unison-hackers] Unicode and OS X Message-ID: Hello, I've found again the web page describing the issues of file names with accents on HFS+, which probably explains why synchronizing accented filenames across heterogeneous platforms causes problems: http://developer.apple.com/technotes/tn/tn1150.html#UnicodeSubtleties Alan -- Alan Schmitt The hacker: someone who figured things out and made something cool happen. .O. ..O OOO -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.seas.upenn.edu/pipermail/unison-hackers/attachments/20060322/ac1bdcb4/PGP.pgp From ben at opendarwin.org Sat Mar 25 17:11:05 2006 From: ben at opendarwin.org (ben@opendarwin.org) Date: Sat, 25 Mar 2006 17:11:05 -0500 Subject: [Unison-hackers] [unison-svn] r119 - in trunk/src: . ubase uimac uimac/English.lproj/MainMenu.nib Message-ID: <200603252211.k2PMB5bK007810@canfield.cis.upenn.edu> Author: ben Date: 2006-03-25 17:10:46 -0500 (Sat, 25 Mar 2006) New Revision: 119 Added: trunk/src/uimac/English.lproj/MainMenu.nib/keyedobjects.nib Modified: trunk/src/RECENTNEWS trunk/src/mkProjectInfo.ml trunk/src/ubase/depend trunk/src/uimac/English.lproj/MainMenu.nib/info.nib trunk/src/uimac/English.lproj/MainMenu.nib/objects.nib trunk/src/uimac/MyController.h trunk/src/uimac/MyController.m trunk/src/uimac/ProfileTableView.h trunk/src/uimac/ProfileTableView.m trunk/src/uimac/ReconTableView.h trunk/src/uimac/ReconTableView.m trunk/src/uimac/Unison.icns Log: Several minor fixes for Mac GUI: * Fix bug where status text wrote on top of old values * Make reconitem details update after scan * Make connectingView update faster * Make connectingView the same size as updatesView to minimise zooming * Make sure an item is selected in updatesView after scan * Use fixed-width font for details and enlarge updatesView so it doesn't wrap * Enlarge preferencesView slightly * Tidy headers * Clean up menu item validation code * Update copyright message to 2006 From ben at opendarwin.org Sat Mar 25 17:29:52 2006 From: ben at opendarwin.org (ben@opendarwin.org) Date: Sat, 25 Mar 2006 17:29:52 -0500 Subject: [Unison-hackers] [unison-svn] r120 - in trunk/src: . uimac uimac/English.lproj/MainMenu.nib uimac/uimac.xcodeproj Message-ID: <200603252229.k2PMTqdT008042@canfield.cis.upenn.edu> Author: ben Date: 2006-03-25 17:29:46 -0500 (Sat, 25 Mar 2006) New Revision: 120 Modified: trunk/src/RECENTNEWS trunk/src/mkProjectInfo.ml trunk/src/uimac/English.lproj/MainMenu.nib/classes.nib trunk/src/uimac/English.lproj/MainMenu.nib/info.nib trunk/src/uimac/English.lproj/MainMenu.nib/keyedobjects.nib trunk/src/uimac/English.lproj/MainMenu.nib/objects.nib trunk/src/uimac/MyController.h trunk/src/uimac/MyController.m trunk/src/uimac/PreferencesController.h trunk/src/uimac/ReconTableView.h trunk/src/uimac/ReconTableView.m trunk/src/uimac/uimac.xcodeproj/project.pbxproj Log: Add Toolbar for common actions to the Mac GUI, similar to the GTK2 one. It replaces various buttons. From ben at opendarwin.org Sat Mar 25 17:34:49 2006 From: ben at opendarwin.org (ben@opendarwin.org) Date: Sat, 25 Mar 2006 17:34:49 -0500 Subject: [Unison-hackers] [unison-svn] r121 - in trunk/src: . uimac uimac/toolbar Message-ID: <200603252234.k2PMYnPC008161@canfield.cis.upenn.edu> Author: ben Date: 2006-03-25 17:34:40 -0500 (Sat, 25 Mar 2006) New Revision: 121 Added: trunk/src/uimac/UnisonToolbar.h trunk/src/uimac/UnisonToolbar.m trunk/src/uimac/toolbar/ trunk/src/uimac/toolbar/add.tif trunk/src/uimac/toolbar/go.tif trunk/src/uimac/toolbar/left.tif trunk/src/uimac/toolbar/merge.tif trunk/src/uimac/toolbar/quit.tif trunk/src/uimac/toolbar/restart.tif trunk/src/uimac/toolbar/right.tif trunk/src/uimac/toolbar/save.tif trunk/src/uimac/toolbar/skip.tif Modified: trunk/src/RECENTNEWS trunk/src/mkProjectInfo.ml Log: Add toolbar-related files missing from previous commit From ben at opendarwin.org Sun Mar 26 13:01:19 2006 From: ben at opendarwin.org (ben@opendarwin.org) Date: Sun, 26 Mar 2006 13:01:19 -0500 Subject: [Unison-hackers] [unison-svn] r122 - in trunk/src: . uimac Message-ID: <200603261801.k2QI1Jt7024916@canfield.cis.upenn.edu> Author: ben Date: 2006-03-26 13:01:17 -0500 (Sun, 26 Mar 2006) New Revision: 122 Modified: trunk/src/RECENTNEWS trunk/src/mkProjectInfo.ml trunk/src/uimac/UnisonToolbar.m Log: Mac GUI: Fix merge toolbar item From ben at opendarwin.org Sun Mar 26 15:50:23 2006 From: ben at opendarwin.org (Ben Willmore) Date: Sun, 26 Mar 2006 12:50:23 -0800 Subject: [Unison-hackers] [unison-svn] r121 - in trunk/src: . uimac uimac/toolbar In-Reply-To: <43361743-D4D0-46AC-BF56-C87251EEE488@cis.upenn.edu> References: <200603252234.k2PMYnPC008161@canfield.cis.upenn.edu> <43361743-D4D0-46AC-BF56-C87251EEE488@cis.upenn.edu> Message-ID: On 3/26/06, Benjamin Pierce wrote: > * It would be great to have a "Diff" button. I have mostly-complete diff UI code. There's just one thorny problem. On OSX, the diff thread sometimes dies with EINTR. This is reproducible with the current text UI -- just press 'd' rapidly to request lots of diffs, and some of the time you'll get the error: Error in diffing files: Interrupted system call [waitpid()] This happens _every_ time when called from the GUI. I'm using Fink's ocaml 3.09.1. Anyway, this is way beyond me. If someone can fix it, I'll add the diff GUI code. Ben P.S. There is some discussion here: http://72.14.203.104/search?q=cache:79gq8dkmNxYJ:caml.inria.fr/archives/200208/msg00001.html+%22Interrupted+system+call%22+caml&hl=en&gl=us&ct=clnk&cd=2 From trevor at research.att.com Mon Mar 27 14:04:30 2006 From: trevor at research.att.com (Trevor Jim) Date: Mon, 27 Mar 2006 14:04:30 -0500 Subject: [Unison-hackers] [unison-svn] r121 - in trunk/src: . uimac uimac/toolbar In-Reply-To: References: <200603252234.k2PMYnPC008161@canfield.cis.upenn.edu> <43361743-D4D0-46AC-BF56-C87251EEE488@cis.upenn.edu> Message-ID: <1D8B7293-0D33-43EF-870E-D395CBC9E837@research.att.com> > I have mostly-complete diff UI code. There's just one thorny problem. > On OSX, the diff thread sometimes dies with EINTR. You see interrupted system calls because we have installed signal handlers... usually the thing to do is just resume the call. An example of this can be seen at the very end of src/os.ml. Unfortunately in this case the call to waitpid seems to come from the lwt code. Only Jerome understands this code :-). Jerome, can you fix? -Trevor From ben at opendarwin.org Wed Mar 29 01:32:52 2006 From: ben at opendarwin.org (ben@opendarwin.org) Date: Wed, 29 Mar 2006 01:32:52 -0500 Subject: [Unison-hackers] [unison-svn] r123 - in trunk/src: . uimac Message-ID: <200603290632.k2T6WqbX008903@canfield.cis.upenn.edu> Author: ben Date: 2006-03-29 01:32:46 -0500 (Wed, 29 Mar 2006) New Revision: 123 Modified: trunk/src/RECENTNEWS trunk/src/mkProjectInfo.ml trunk/src/uimac/main.m Log: Mac UI: Fix line wrapping in error messages From ben at opendarwin.org Wed Mar 29 07:49:43 2006 From: ben at opendarwin.org (ben@opendarwin.org) Date: Wed, 29 Mar 2006 07:49:43 -0500 Subject: [Unison-hackers] [unison-svn] r124 - trunk/src Message-ID: <200603291249.k2TCnhpS014000@canfield.cis.upenn.edu> Author: ben Date: 2006-03-29 07:49:37 -0500 (Wed, 29 Mar 2006) New Revision: 124 Modified: trunk/src/RECENTNEWS trunk/src/files.ml trunk/src/mkProjectInfo.ml Log: Jerome's fix for calling diff on the Mac, which would previously fail when interrupted. From bcpierce at cis.upenn.edu Wed Mar 29 08:45:03 2006 From: bcpierce at cis.upenn.edu (Benjamin Pierce) Date: Wed, 29 Mar 2006 15:45:03 +0200 Subject: [Unison-hackers] [unison-svn] r124 - trunk/src In-Reply-To: <200603291249.k2TCnhpS014000@canfield.cis.upenn.edu> References: <200603291249.k2TCnhpS014000@canfield.cis.upenn.edu> Message-ID: > Jerome's fix for calling diff on the Mac, which would previously > fail when interrupted. Good! I wouldn't be surprised if this helps with the problems I've experienced with merging as well... - Benjamin From ben at opendarwin.org Wed Mar 29 21:54:20 2006 From: ben at opendarwin.org (ben@opendarwin.org) Date: Wed, 29 Mar 2006 21:54:20 -0500 Subject: [Unison-hackers] [unison-svn] r125 - in trunk/src: . uimac uimac/English.lproj/MainMenu.nib uimac/toolbar uimac/uimac.xcodeproj Message-ID: <200603300254.k2U2sKSV025922@canfield.cis.upenn.edu> Author: ben Date: 2006-03-29 21:54:08 -0500 (Wed, 29 Mar 2006) New Revision: 125 Added: trunk/src/uimac/toolbar/diff.tif Modified: trunk/src/RECENTNEWS trunk/src/mkProjectInfo.ml trunk/src/uimac/English.lproj/MainMenu.nib/classes.nib trunk/src/uimac/English.lproj/MainMenu.nib/info.nib trunk/src/uimac/English.lproj/MainMenu.nib/keyedobjects.nib trunk/src/uimac/English.lproj/MainMenu.nib/objects.nib trunk/src/uimac/MyController.h trunk/src/uimac/MyController.m trunk/src/uimac/ReconItem.h trunk/src/uimac/ReconItem.m trunk/src/uimac/ReconTableView.h trunk/src/uimac/ReconTableView.m trunk/src/uimac/UnisonToolbar.m trunk/src/uimac/uimac.xcodeproj/project.pbxproj trunk/src/uimacbridge.ml Log: Mac GUI: Add basic diff functionality From ben at opendarwin.org Thu Mar 30 16:15:42 2006 From: ben at opendarwin.org (ben@opendarwin.org) Date: Thu, 30 Mar 2006 16:15:42 -0500 Subject: [Unison-hackers] [unison-svn] r126 - in trunk/src: . uimac Message-ID: <200603302115.k2ULFgkP009499@canfield.cis.upenn.edu> Author: ben Date: 2006-03-30 16:15:39 -0500 (Thu, 30 Mar 2006) New Revision: 126 Modified: trunk/src/RECENTNEWS trunk/src/mkProjectInfo.ml trunk/src/uimac/ReconTableView.h trunk/src/uimac/ReconTableView.m Log: Mac GUI: Fix bug where controls were sometimes disabled when called with 'unison profilename' because the order in which objects receive awakeFromNib is variable. From ben at opendarwin.org Fri Mar 31 01:48:32 2006 From: ben at opendarwin.org (ben@opendarwin.org) Date: Fri, 31 Mar 2006 01:48:32 -0500 Subject: [Unison-hackers] [unison-svn] r127 - in trunk/src: . uimac uimac/English.lproj/MainMenu.nib Message-ID: <200603310648.k2V6mWpD017373@canfield.cis.upenn.edu> Author: ben Date: 2006-03-31 01:48:27 -0500 (Fri, 31 Mar 2006) New Revision: 127 Modified: trunk/src/RECENTNEWS trunk/src/mkProjectInfo.ml trunk/src/uimac/English.lproj/MainMenu.nib/info.nib trunk/src/uimac/English.lproj/MainMenu.nib/keyedobjects.nib trunk/src/uimac/English.lproj/MainMenu.nib/objects.nib trunk/src/uimac/MyController.m trunk/src/uimac/ReconTableView.m Log: Mac GUI: Restrict window resizes to prevent user from breaking UI Add missing type declaration From ben at opendarwin.org Fri Mar 31 13:40:48 2006 From: ben at opendarwin.org (ben@opendarwin.org) Date: Fri, 31 Mar 2006 13:40:48 -0500 Subject: [Unison-hackers] [unison-svn] r128 - in trunk/src: . uimac Message-ID: <200603311840.k2VIemfk027960@canfield.cis.upenn.edu> Author: ben Date: 2006-03-31 13:40:46 -0500 (Fri, 31 Mar 2006) New Revision: 128 Modified: trunk/src/RECENTNEWS trunk/src/mkProjectInfo.ml trunk/src/uimac/MyController.m trunk/src/uimacbridge.ml Log: Small Mac GUI improvements: * During sync, scroll updates table to the bottommost item that is being updated * Fix display of status and diff error messages From ben at opendarwin.org Fri Mar 31 15:09:50 2006 From: ben at opendarwin.org (ben@opendarwin.org) Date: Fri, 31 Mar 2006 15:09:50 -0500 Subject: [Unison-hackers] [unison-svn] r129 - in trunk/src: . uimac Message-ID: <200603312009.k2VK9o4Q029051@canfield.cis.upenn.edu> Author: ben Date: 2006-03-31 15:09:48 -0500 (Fri, 31 Mar 2006) New Revision: 129 Modified: trunk/src/RECENTNEWS trunk/src/mkProjectInfo.ml trunk/src/uimac/MyController.m trunk/src/uimac/ReconTableView.m Log: Mac GUI -- fix reconitem table: * Remove keyboard focus when there are no reconitems. * Disable keypresses when their actions are inappropriate (e.g. after sync) * Also fix version numbers and formatting in RECENTNEWS