Commit graph

356 commits

Author SHA1 Message Date
Hylke Bons 1bbf352028 don't watch for addition of ~/SparkleShare subfolders 2011-05-22 23:51:12 +01:00
Hylke Bons e881206ab9 lib: update csproj file 2011-05-22 19:22:13 +01:00
Hylke Bons bd60da2627 lib: update csproj file 2011-05-22 19:21:20 +01:00
Hylke Bons 4d6ea9d707 Do host name checking the same way in back- and frontend 2011-05-22 19:08:14 +01:00
Hylke Bons 0167aef16a repo git: turn off garbage collection by default 2011-05-22 18:54:47 +01:00
Hylke Bons 4eb8abad8d listener base: code cleanup 2011-05-22 18:52:50 +01:00
Hylke Bons 00327a1eb0 repo: set HasUnsyncedChanges to true after a resolved conflict, so we'll push them later 2011-05-22 18:49:04 +01:00
Hylke Bons 2e6d8ac33e repo, listener base: make syncdown queue handle multiple channels 2011-05-22 18:37:36 +01:00
Hylke Bons b4329eb928 repo: also announce changes after a syncup->down->up 2011-05-22 18:12:40 +01:00
Hylke Bons b1950be6ff repo base: Syncup after a SyncDownBase triggered by an initial SyncUpBase. leave it to the remote_timer to push afterwards 2011-05-22 18:06:28 +01:00
Hylke Bons b18db88b61 repo: do a full SyncUpBase after a git rebase 2011-05-22 17:51:58 +01:00
Hylke Bons 37cd521d44 add debug info 2011-05-22 16:38:34 +01:00
Hylke Bons 442dc62980 repo git: fix compile error 2011-05-22 16:29:23 +01:00
Hylke Bons 0a91597291 repo git: push changes after conflict resolution 2011-05-22 16:27:06 +01:00
Hylke Bons 0a1fa73196 repo: get the remote changes if detected on a first connect 2011-05-22 16:05:35 +01:00
Hylke Bons c9a472ee80 helpers: make debug info easier to read by using whitespace 2011-05-22 16:04:28 +01:00
Hylke Bons 7be63b07c9 repo: tweak algorithm 2011-05-22 15:46:24 +01:00
Hylke Bons 16bfce692a build: fix build system 2011-05-22 12:42:22 +01:00
Hylke Bons 3e65a4fc94 build: move backend classes into subfolders 2011-05-22 12:28:14 +01:00
Hylke Bons fbfd8885ed use shorter Hg as class names instead of Mercurial 2011-05-22 01:15:46 +01:00
Hylke Bons 359ec616f9 listener: use one connection with multiple channels per server 2011-05-22 01:02:16 +01:00
Hylke Bons 3c1c0ed4f3 Rework and abstract the backend. Add basic Mercurial support 2011-05-20 01:55:49 +01:00
Hylke Bons 2168fa2ab9 save work 2011-05-19 17:07:42 +01:00
Hylke Bons 19aca9d238 listener: only reference relevant libs 2011-05-19 16:51:49 +01:00
Hylke Bons 50473764c8 listener: fix message queueing of last rework 2011-05-19 16:44:01 +01:00
Hylke Bons 73f2b2c2dd listener: move more logic from Irc to Base 2011-05-19 16:41:46 +01:00
Hylke Bons bd5fd01533 Edited SparkleLib/SparkleListenerBase.cs via GitHub 2011-05-19 08:14:50 -07:00
Hylke Bons cf54ba0ddd repo: abstract syncdown parts 2011-05-18 23:18:11 +01:00
Hylke Bons 9a4c950823 repo: block on commands in methods instead of starting in a new thread afterwards 2011-05-18 19:57:52 +01:00
Hylke Bons e13b4d8501 repo: move some member declarations up 2011-05-18 19:31:43 +01:00
Hylke Bons 4920d4a61d repo: give more members accessors 2011-05-18 19:12:45 +01:00
Hylke Bons f45eeefbd4 repo: rename RemoteOriginUrl to the more git agnostic Url 2011-05-18 17:00:02 +01:00
Hylke Bons 685fa91e47 repo: rename and reduce number of enums in SyncStatus. ditch IsSyncing member 2011-05-18 16:34:31 +01:00
Hylke Bons 04cc6debfd repo: use accessors for HasUnsyncedChanges 2011-05-18 14:03:50 +01:00
Hylke Bons 80289b499a repo: list up to 20 changes in the commit message 2011-05-17 22:37:22 +01:00
Hylke Bons d589a79a66 repo: fix whitespace in commit messages and remove some useless debuginfo 2011-05-17 20:40:14 +01:00
Hylke Bons d544400234 repo: fix bug where the first commit hash wasn't used for the channel name 2011-05-17 13:15:44 +01:00
Hylke Bons f887b28e45 Use 'revision' instead of 'hash' 2011-05-17 11:43:02 +01:00
Hylke Bons 1eac6ea67b repo: add Status member that gets updates dynamically 2011-05-17 02:54:38 +01:00
Hylke Bons be219a85dc repo: remove IsFetching and IsPushing members 2011-05-17 02:51:25 +01:00
Hylke Bons 7e301ea1d1 repo: rename CurrentHash to Revision 2011-05-17 01:29:51 +01:00
Hylke Bons 59f3bd6e8b repo: remove CommitEndedUpEmpty event 2011-05-17 01:17:40 +01:00
Hylke Bons d1a545d65f changeset: rename DateTime to Timestamp 2011-05-17 00:59:08 +01:00
Hylke Bons 2888d269e8 build: remove obsolete SparkleEvents class 2011-05-17 00:51:43 +01:00
Hylke Bons 13f78f4a7e repo: controller: use more git agnostic naming 2011-05-17 00:49:01 +01:00
Hylke Bons 032f9dbc55 repo: replace multiple events by one SyncStatusChanged event + enum 2011-05-17 00:15:23 +01:00
Hylke Bons a858d8e537 repo: remove unused Added event 2011-05-16 23:41:35 +01:00
Hylke Bons 0951760f1d repo: remove unused Commited event handler 2011-05-16 23:30:45 +01:00
Hylke Bons ef27c2f1b5 fetcher: remove unused arguments for the events 2011-05-16 23:16:56 +01:00
Hylke Bons bba6621218 fetchergit: remove TODO 2011-05-16 21:24:51 +01:00
Hylke Bons 68fc6499c5 Split up the fetcher code into FetcherBase and FetcherGit 2011-05-16 21:19:58 +01:00
Hylke Bons d22475de81 listener: use protected members instead of public and use base.x to access them 2011-05-16 21:19:19 +01:00
Hylke Bons 7235d9fa30 repo: use the first commit hash as an id for the repo and use that as the channel name' did not match any files 2011-05-14 18:11:31 +01:00
Hylke Bons 5f36f8a9e0 Replace abstract out Listener by ListenerBase + ListenerIrc 2011-05-14 18:10:24 +01:00
Hylke Bons 17b614121c repo: push changes after resolving a conflict 2011-05-14 03:18:38 +01:00
Hylke Bons dc61820baf helpers: fix whitespace and coding style 2011-05-11 20:29:43 +01:00
Hylke Bons 79e2cda777 controller: fetcher: Use and xml based config file and add temporary migration method 2011-05-10 00:30:33 +01:00
Hylke Bons 19a1eba8dd backend: Add IsUsablePath method and adjust related TODOs 2011-05-09 00:44:40 +01:00
Hylke Bons a29f7b32bc Add new backend class and a default backend. Add backend member to repo. 2011-05-09 00:04:53 +01:00
Hylke Bons 3322e46fc9 repo: fix coding style for private members 2011-05-08 23:01:07 +01:00
Hylke Bons 7f2b555e95 events: fix more whitespace 2011-05-08 20:43:12 +01:00
Hylke Bons 3795e1e1fa events: fix whitespace 2011-05-08 20:40:08 +01:00
Hylke Bons 26dfba06e3 events: listener: code cleanup 2011-05-08 20:35:43 +01:00
Hylke Bons 26a99679a7 controller: dispose the fetcher when we're done so it can be garbage collected 2011-05-08 20:35:26 +01:00
Hylke Bons 825ea5b200 fetcher: prepare for multibackend 2011-05-08 18:25:55 +01:00
Hylke Bons 2400fa6d6f repo: add debug info about conflict type when resolving 2011-05-07 13:08:56 +01:00
Hylke Bons daad99c38b update AUTHORS, and don't go on the slippery slope of using implicit typing 2011-05-05 00:07:02 +01:00
Gabriel Burt 2e638b9b02 repo: speed up by re-using Regex objects 2011-05-04 23:33:17 +01:00
Hylke Bons f07dd48d0d fetcher: remove the Cloning prefix from the events to make more sense grammatically 2011-05-03 18:30:51 +01:00
Hylke Bons f1bafe1834 fetcher: ignore file permission changes in new checkouts 2011-05-01 17:25:42 +02:00
Hylke Bons f9b2fbe724 Fix coding style and whitespace of all of SparkleLib 2011-05-01 15:40:46 +02:00
Hylke Bons d91a922782 repo: resolve any kind of rebase conflict 2011-04-30 02:42:48 +02:00
Hylke Bons d584367340 use absolute paths to move our version of conflicting file 2011-04-29 00:32:16 +02:00
Hylke Bons f01a3b41e4 save work on conflict resolution fix 2011-04-28 13:49:14 +02:00
Hylke Bons 28aa6d2305 repo: don't fetch changes when we're busy adding files 2011-04-27 18:44:59 +02:00
Hylke Bons a8ab0a2db4 repo: add support for renames and names with spaces in FormatCommitMessage method 2011-04-27 12:04:51 +02:00
Hylke Bons 43621431d9 [repo] Add a simple notification queue when disconnected, and send them when reconnected. 2011-04-23 15:56:05 +02:00
Hylke Bons 6213b95ef1 [repo] add back empty repo check without Git# 2011-04-21 23:14:44 +02:00
Hylke Bons ff779d6932 Use unicode for standardoutput. Fixes weird characters in logs but needs the latest mono 2011-04-21 19:45:11 +02:00
Bertrand Lorentz 1e88eab334 Remove GitSharp from the build and delete submodule 2011-04-21 17:15:32 +02:00
Hylke Bons 31289e984e Uncomment out conflict event. Fixes build errors 2011-04-21 16:49:26 +02:00
Hylke Bons 780ed8e751 Remote last bits of Git# code and comment out broken conflict resolution code 2011-04-21 15:46:46 +02:00
Hylke Bons 739f06b37b Don't rely on Git# for FormatCommitMessage () 2011-04-21 14:25:28 +02:00
Hylke Bons f3a3218848 remove unneeded gitsharp.* libs 2011-04-20 16:43:10 +02:00
Hylke Bons 22bf0a821a [repo] add todo 2011-04-20 16:40:17 +02:00
Hylke Bons 8ac8fee912 [repo] don't rely on Git# for username, email and remote url 2011-04-20 16:32:34 +02:00
Hylke Bons 1d3d5fe82a [repo] don't rely on Git# Directory property 2011-04-20 16:23:02 +02:00
Hylke Bons f5f80e9a8d [repo] Fix whitespace 2011-04-20 15:02:20 +01:00
Hylke Bons 9f0b0571a9 tmp 2011-04-17 12:22:20 +01:00
Hylke Bons 4eaa233bb6 Use git command for committing instead of GitSharp 2011-04-17 00:30:57 +01:00
Hylke Bons 062d705920 Use git command for getting the current hash instead of GitSharp 2011-04-17 00:19:42 +01:00
Hylke Bons 462fd68708 [repo] pull before pushing in every situation 2011-04-15 01:28:42 +01:00
Hylke Bons 695dbaddbe [repo] get remote changes beffore pushing changes that weren't pushed due to a disconnect 2011-04-15 00:56:02 +01:00
Hylke Bons e4720628cc Fix quit method 2011-03-27 13:56:36 +01:00
Hylke Bons 0080bdcf03 [repo] Fix the GetCommits regex to also parse GMT-n timezones 2011-03-24 00:50:08 +00:00
Hylke Bons b2253a06ff [paths] change the way git lookup is done 2011-03-23 23:14:50 +00:00
Hylke Bons e1fb9f8640 Merge branch 'master' of ssh://github.com/hbons/SparkleShare 2011-03-22 22:50:25 +00:00
Hylke Bons 520d6b8f3f [lib] Allow disabling of central notification server and fallback to own 2011-03-22 13:44:52 +00:00
Hylke Bons 5e6fadebe9 [osx] quickly fix the git path 2011-03-20 19:24:57 +00:00
Hylke Bons f60b64dce2 [commit] remove unneeded member 2011-03-20 16:26:56 +00:00
Hylke Bons e2e51624c9 [log] remove 'IsFileDump' workaround and move message code to controller 2011-03-20 14:59:35 +00:00
Hylke Bons dbf5d1158a New thread + spinner instead of freeze when opening big logs 2011-03-16 15:13:14 +00:00
Hylke Bons ec4785eec6 Show menu item icons on Fedora too 2011-03-16 00:01:37 +00:00
Hylke Bons 52a7d746fd [watcher] ignore files in .git/ 2011-03-13 22:26:01 +00:00
Hylke Bons b947908a46 Fix notifications 2011-03-13 02:07:47 +00:00
Hylke Bons 3bf278ffe2 [statusicon] update icons and add icons for pressed state syncing animation 2011-03-13 01:21:49 +00:00
Hylke Bons 3404ff774e [osx] Pop up a warning when the backend (git) isn't found. 2011-03-13 00:15:19 +00:00
Hylke Bons 34254d9ca5 Fix cloning problem and better debuginfo 2011-03-12 19:39:42 +00:00
Hylke Bons 393e0e6b06 [repo] add todo 2011-03-12 18:58:04 +00:00
Hylke Bons 05fe993b89 Use SparkleLib.IsRepo for folder checking 2011-03-12 18:36:03 +00:00
Hylke Bons be79dfdb06 Merge branch 'fetcher-fix'
Conflicts:
	SparkleLib/SparkleFetcher.cs
2011-03-12 17:58:53 +00:00
Hylke Bons 5da5926407 [fetcher] Fix InstallConfiguration method 2011-03-12 17:53:49 +00:00
Hylke Bons 714a55b32a [fetcher] no need to keep error message in memory 2011-03-12 16:18:36 +00:00
Hylke Bons 73bf910896 Merge branch 'master' of https://github.com/palango/SparkleShare into palango-master 2011-03-12 16:10:24 +00:00
Hylke Bons 8071a1331d [fetcher] set core.ignorecase to false for each folder 2011-03-12 15:38:49 +00:00
Hylke Bons 1f6304d205 [repo] quick fix to re-push changes after encountering a non fast-forward to origin master 2011-03-09 06:23:24 -08:00
Hylke Bons 5d8717d354 Add SparkleAbout to .csproj 2011-03-08 23:55:21 +00:00
Hylke Bons fd90f69da2 [repo] align regexes 2011-03-06 15:29:36 +00:00
Paul Lange 8a2694feaa Add some error messages 2011-03-06 16:07:16 +01:00
Hylke Bons 83572cf649 [listener] Use SparkleShare's dedicated notification server instead of irc.gnome.org 2011-03-04 18:31:02 +00:00
Hylke Bons 203334a6a2 Add some TODO's 2011-03-04 17:03:29 +00:00
Hylke Bons d523f13eac [repo] Not everything is file dumping 2011-03-04 16:50:41 +00:00
Hylke Bons 6153d40f89 Fix hang on commit logs > 4096 bytes 2011-03-04 15:57:22 +00:00
Hylke Bons 0005a76388 [repo] Replace gitsharp's AnyDifferences by own implementation 2011-03-04 14:01:29 +00:00
Hylke Bons 0911117e31 [fetcher] Ignore Omnigraffle autosave files 2011-03-04 05:30:11 -08:00
Hylke Bons 767b933cd5 Remove NotifySsharp from solution 2011-03-04 09:05:15 +00:00
Hylke Bons ac36a5cabc remove debug line 2011-03-03 12:08:50 +00:00
Hylke Bons 3061844ee7 Support showing merge commits in logs (and fix crashes caused by them being missing) 2011-03-03 12:06:25 +00:00
Hylke Bons 515d637182 [repo] fix crash caused by GetCommits(n) returning n-1 entries 2011-03-02 22:07:05 +00:00
Hylke Bons 1f52f24910 [repo] also push changes the user makes whilst we're syncing 2011-03-02 21:20:25 +00:00
Hylke Bons ab37a53f18 remove some leftover debug messages 2011-03-02 00:24:18 +00:00
Hylke Bons a1ba6f1b36 [repo] Fix NewCommit event not being fired 2011-03-01 23:42:00 +00:00
Hylke Bons bb5229d4d3 [notifications] Reconnect to the IRC server after a disconnect 2011-03-01 23:13:43 +00:00
Hylke Bons 60ffb7450d Redo GetCommits method withoug GitSharp. hopefully solves memory problem 2011-02-27 18:50:42 +00:00
Hylke Bons e333a759ae change wording a bit 2011-02-27 01:01:13 +00:00
Hylke Bons 28d06b4eeb Tweak irc notifications 2011-02-27 00:53:14 +00:00
Hylke Bons d8fb3493b9 [repo] Make time from event to push 5x shorter by using folder size checking 2011-02-26 23:57:48 +00:00
Hylke Bons 060811c428 [repo] only rely on exclude rules to add/ignore changes 2011-02-26 18:46:08 +00:00
Hylke Bons b2ef131d92 [repo] massive cleanup, use GitSharp and SparkleGit 2011-02-26 14:20:32 +00:00
Hylke Bons 444fceeb7e [listener] use a SHA-1 sum for the nick so no user info is shared 2011-02-24 01:43:06 +00:00
Hylke Bons 590ca49dbe [repo] state is polling when checking for remote changes 2011-02-24 01:42:13 +00:00
Hylke Bons 919ec8eea9 [repo] Fix compilation issue 2011-02-23 01:13:54 +00:00
Hylke Bons cd130483fc [repo] forgot to create commit message before rebasing 2011-02-23 00:21:30 +00:00
Hylke Bons 60b77c5fa1 [repo] Always commit before rebasing fetched changes in case something changed 2011-02-23 00:09:44 +00:00
Hylke Bons 43290d387e [paths] look for git using whereis 2011-02-22 22:58:01 +00:00
Hylke Bons 1a327ea0ad [repo] Fix pushing bug 2011-02-13 00:02:07 +00:00
Hylke Bons b51681c662 [log] Add a default buddy icon and prettify the event log 2011-02-13 00:02:06 +00:00
Hylke Bons 7ed60cc0a7 [repo] Run 'git gc' about every 10 commits 2011-02-13 00:02:06 +00:00
Hylke Bons da057026c7 [fetcher] Add more handy exclude rules 2011-02-12 23:55:27 +00:00
Hylke Bons 584312f88b [controller] Disable SSH host key checking temporarily for cloning 2011-02-06 01:10:15 +00:00