Hi all, these patches are the result of my attempt to learn Haskell little by little: I'm almost sure they aren't good enough [yet] to be accepted, but I really like to hear anything could help me.
The first one is just syntactic sugar, not related to the others, and it can go to /dev/null if not appropriate. The problem I'm trying to cure is with tools like tailor: it basically needs to get a list of patches that are missing, then it fetch those one by one committing each one on the target VCS. Tailor currently parses the output of "darcs pull --dry-run" to compute the hash of each patch, and then uses it to do a "darcs pull --match 'hash xxx'". This works "great", for patches born *after* around november 2003, while for older patches it fails to compute the hash (due a change in darcs handling of UTC timestamps, see comment near line 100 of Darcs/Patch/Info.lhs). Thank you, bye, lele. Wed May 14 19:40:50 CEST 2008 [EMAIL PROTECTED] * Wrap ShowRepo output within a <repository> tag, when asked for XML output Sat May 17 13:08:20 CEST 2008 [EMAIL PROTECTED] * Honour --xml-output when printing the patches in the "will do"/"would do" message Sat May 17 13:21:35 CEST 2008 [EMAIL PROTECTED] * Added --xml-output to the pull command This currently works only in tandem with --dry-run: it's needed by tools like `tailor`, which wants to know the exact list of patches darcs would pull, and then driving it to get one at a time, to commit each patch on the target system.
New patches: [Wrap ShowRepo output within a <repository> tag, when asked for XML output [EMAIL PROTECTED] hunk ./src/Darcs/Commands/ShowRepo.lhs 145 + when (XMLOutput `elem` opts) (putStr "<repository>\n") hunk ./src/Darcs/Commands/ShowRepo.lhs 154 + when (XMLOutput `elem` opts) (putStr "</repository>\n") [Honour --xml-output when printing the patches in the "will do"/"would do" message [EMAIL PROTECTED] hunk ./src/Darcs/Arguments.lhs 881 - $$ (vsep $ mapFL (showFriendly opts) patches) + $$ put_mode hunk ./src/Darcs/Arguments.lhs 887 - $$ (vsep $ mapFL (showFriendly opts) patches) + $$ put_mode + where put_mode = if XMLOutput `elem` opts + then (text "<patches>" $$ + vcat (mapFL (to_xml . info) patches) $$ + text "</patches>") + else (vsep $ mapFL (showFriendly opts) patches) [Added --xml-output to the pull command [EMAIL PROTECTED] This currently works only in tandem with --dry-run: it's needed by tools like `tailor`, which wants to know the exact list of patches darcs would pull, and then driving it to get one at a time, to commit each patch on the target system. ] hunk ./src/Darcs/Commands/Pull.lhs 37 - ssh_cm, umask_option, + ssh_cm, umask_option, xmloutput, hunk ./src/Darcs/Commands/Pull.lhs 103 + xmloutput, Context: [we don't need a reminder when there are no patches to pull. David Roundy <[EMAIL PROTECTED]>**20080516115858] [simplify init_tmp_repo. David Roundy <[EMAIL PROTECTED]>**20080516113713] [simplify calling of darcs in perl harness. David Roundy <[EMAIL PROTECTED]>**20080516113619] [clean up shell_harness just a tad. David Roundy <[EMAIL PROTECTED]>**20080516111416] [fix perl harness to use the right darcs. David Roundy <[EMAIL PROTECTED]>**20080516111316] [make pull_compl.sh a bit more verbose. David Roundy <[EMAIL PROTECTED]>**20080516110235] [remove unnecessary defaults-setting in pull_compl.sh David Roundy <[EMAIL PROTECTED]>**20080516105618] [Fixed problems with --with-static-libs Pekka Pessi <[EMAIL PROTECTED]>**20080515175414 When linking statically, the libraries must be listed last. Using LIBS/OPTLLIBS to collect libraries. ] [Zapped bash-ism from configure.ac. Pekka Pessi <[EMAIL PROTECTED]>**20080515150932] [Not using awk in configure.ac Pekka Pessi <[EMAIL PROTECTED]>**20080515131700 Plain sed does not grok +, use xx* instead of x+ ] [Resolve issue738: When pushing, remind user of patches to pull. Eric Kow <[EMAIL PROTECTED]>**20080515184714] [simplify update_roundup.pl. David Roundy <[EMAIL PROTECTED]>**20080515160802 This change also fixes the bug where a capitalized message such as "Resolved issue123:" would try to set a capitalized status. We just don't so that much generality, and the generality lead to bugs. ] [Resolve issue712: Rename --extended-help to --overview. Eric Kow <[EMAIL PROTECTED]>**20080515151414] [Do not react to darcs help --verbose Eric Kow <[EMAIL PROTECTED]>**20080515143125 It used to be the same as darcs --extended-help, but since we're renaming that to be darcs --overview, it seemed silly to be calling it 'verbose' ] [+strictness comment in FPS.hs [EMAIL PROTECTED] [Resolve issue845: Pass ssh's stderr to our stderr. Eric Kow <[EMAIL PROTECTED]>**20080514135504 This may have the side effect that users get *a lot* of scp output dumped on their screen, but false 'hanging' that Zooko reported seems like the greater evil. Note that darcs transfer-mode is not affected by this, so the only users that would see the extra output are those who are interacting with servers that don't have darcs 2 installed. ] [Canonize Pekka Pessi (again). Eric Kow <[EMAIL PROTECTED]>**20080513122318] [Use nilPS wherever possible Spencer Janssen <[EMAIL PROTECTED]>**20080513122834] [Remove unused UnsafeCatch module Spencer Janssen <[EMAIL PROTECTED]>**20080416090542] [pipeDocToPager runs no pager if pager is "". Pekka Pessi <[EMAIL PROTECTED]>**20080512154347 Darcs does not run pager if DARCS_PAGER environment variable has empty value (or PAGER, if DARCS_PAGER is not set). This is like man uses MANPAGER or PAGER environment variables. ] [Do pipeDocToPager withoutNonBlock. Pekka Pessi <[EMAIL PROTECTED]>**20080512154126 Pagers tend to fail if terminal is in non-blocking mode. ] [Added withoutNonBlock to Exec. Pekka Pessi <[EMAIL PROTECTED]>**20080512134145 Now pipeDoc runs pager process without non-blocking IO mode. ] [consistently indent index.html and make it validate Simon Michael <[EMAIL PROTECTED]>**20080418012452] [Do not fix DarcsFlag (Output "-"). Pekka Pessi <[EMAIL PROTECTED]>**20080512162005 -o- is used for output to stdout. ] [don't inline darcs_version. David Roundy <[EMAIL PROTECTED]>**20080511115315 There's no need to inline it, and doing so requires extra recompiles every time it changes. ] [use viewDocWith in printPatchPager and cut view_file function. David Roundy <[EMAIL PROTECTED]>**20080511115112] [only use pager on longer data. David Roundy <[EMAIL PROTECTED]>**20080511114957 This change also allows to print Docs to pager with whichever Printers we choose. ] [Restore creation of temporary file when calling a pager. Eric Kow <[EMAIL PROTECTED]>**20080510233252 The way runProcess works now, we have to redirect the pager's stdout (?). For the pager, since it's not writing to a terminal, the sane thing for it to do is to just behave like cat. For now we just go back to the old behaviour of calling the pager with a temporary file as an argument. The only difference here is that we create the temporary file in /tmp to avoid some of issue770. This is safe because it's only the pager that uses the file, not us. ] [resolve Issue803: add files back in that were manually moved on darcs mv. David Roundy <[EMAIL PROTECTED]>**20080509202630] [tiny wibble to make code a little more symmetric. David Roundy <[EMAIL PROTECTED]>**20080509195930] [resolve Issue739: compile with threaded runtime by default. David Roundy <[EMAIL PROTECTED]>**20080509195833 It turns out that the tempfile-removal cleanup wasn't particularly feasible without the threaded runtime. ] [resolve Issue776: add code to wait for forkIO error-reporting threads to exit. David Roundy <[EMAIL PROTECTED]>**20080509195804] [make pipeDoc use System.Process. David Roundy <[EMAIL PROTECTED]>**20080509193137 This one was tricky, because we need to forward stderr and stdout from the process. This ugly because of the limited API provided by System.Process. Ideally we'd let the child inherit both stderr and stdout, and we wouldn't need to have any of this forkIO and MVar complexity. ] [clean up execPipeIgnoreError to use System.Process. David Roundy <[EMAIL PROTECTED]>**20080509165812] [Create temporary files in the current directory. Eric Kow <[EMAIL PROTECTED]>**20080509153406 We don't know how openBinaryTempFile behaves with an empty string as the directory. ] [Create temporary files with openBinaryTempFile. Eric Kow <[EMAIL PROTECTED]>**20080509145636 Remove some mkstemp-related code which is no longer used. ] [Use System.Directory.getTemporaryDirectory to determine tmp location. Eric Kow <[EMAIL PROTECTED]>**20080509143035 This is more portable. For instance, it understands Windows's conventions. ] [corrected ratification... David Roundy <[EMAIL PROTECTED]>**20080509155411] [ratify Eric's use of readFile. David Roundy <[EMAIL PROTECTED]>**20080509150447] [Fall back to stdout if viewing a file with a pager fails. Eric Kow <[EMAIL PROTECTED]>**20080509122756 This is related to issue770. Note also that there is another function Darcs.External.viewDoc which does something similar. ] [simplify pull_compl.sh just a tad. David Roundy <[EMAIL PROTECTED]>**20080509120623] [ignore any errors in clean_pristine. David Roundy <[EMAIL PROTECTED]>**20080508203823 This will now be triggered when running repair, and should be essentially harmless. ] [cause check to fail if there are patches that remove non-empty files. David Roundy <[EMAIL PROTECTED]>**20080508201818] [resolve Issue815: enable rempair of "rm" patches that don't remove file contents. David Roundy <[EMAIL PROTECTED]>**20080508201713 Note that this doesn't fix the underlying bug that allowed these patches to be created, but at least it can help users with corrupt repositories. ] [support patch fixing in PatchInfoAnd. David Roundy <[EMAIL PROTECTED]>**20080507190933] [avoid using "which" command, which is buggy on SunOS. David Roundy <[EMAIL PROTECTED]>**20080507190521] [make patchSetToRepository work on hashed repositories. David Roundy <[EMAIL PROTECTED]>**20080507183543] [move comment to last line of compile attempts in aclocal.m4. David Roundy <[EMAIL PROTECTED]>**20080507145339] [resolve Issue817: fix bug in conflict-handling with darcs-2 semantics. David Roundy <[EMAIL PROTECTED]>**20080507144950 This bug was due to the buggy use of a buggy function called depends_uponFL. I've removed this function, and am making this note explicit so that noone else (including myself) will make the mistake of resurrecting this function from the past. ] [update copyright info in aclocal.m4 David Roundy <[EMAIL PROTECTED]>**20080507144721] [make conflict-fight-failure test a little more legible and verbose. David Roundy <[EMAIL PROTECTED]>**20080507134927] [Canonize Pekka Pessi. Eric Kow <[EMAIL PROTECTED]>**20080507130033] [Demonstrate conflict fight bug #817 Pekka Pessi <[EMAIL PROTECTED]>**20080507113647 Too deep conflict fight ends with Inconsistent patch w/ conflictor. Use make bugs_shell_format2 for demonstration. ] [Fix space issue in issue803.sh [EMAIL PROTECTED] [fix weird bug in harness.sh maybe? David Roundy <[EMAIL PROTECTED]>**20080506210002] [make harness.sh a little more verbose. David Roundy <[EMAIL PROTECTED]>**20080506191708] [translate whatsnew.pl into shell. David Roundy <[EMAIL PROTECTED]>**20080506145907] [document running a couple of tests. David Roundy <[EMAIL PROTECTED]>**20080506145001] [document that we now can just use "darcs" in shell tests. David Roundy <[EMAIL PROTECTED]>**20080506144944] [remove darcs wrapper from tests. David Roundy <[EMAIL PROTECTED]>**20080506144610] [don't set the IFS variable to null in harness. David Roundy <[EMAIL PROTECTED]>**20080506142954] [simplify uniqueoptions.sh David Roundy <[EMAIL PROTECTED]>**20080506142716] [simplify tests a bit more. David Roundy <[EMAIL PROTECTED]>**20080506141913] [clean up before running issue436.sh. David Roundy <[EMAIL PROTECTED]>**20080506135341] [fix space issue in test. David Roundy <[EMAIL PROTECTED]>**20080506135217] [avoid unnecessary complexity in tests. David Roundy <[EMAIL PROTECTED]>**20080506111116] [modernize steve-and-monica test. David Roundy <[EMAIL PROTECTED]>**20080506110739] [simplify code to avoid having to worry about spaces in test path. David Roundy <[EMAIL PROTECTED]>**20080506110534] [fix pull_many_files.pl test to search for GNU tar first Karel Gardas <[EMAIL PROTECTED]>**20080506065321] [bugfix, --ask-deps needs with_selected_changes_reversed to ask the right questions Tommy Pettersson <[EMAIL PROTECTED]>**20080504161526] [(re-)add with_selected_changes_reversed to SelectChanges Tommy Pettersson <[EMAIL PROTECTED]>**20080504161412 This function is needed for the --ask-deps options to Record. ] [add test for --ask-deps Tommy Pettersson <[EMAIL PROTECTED]>**20080501095450] [slightly-prettier way to avoid using system shell's test function. David Roundy <[EMAIL PROTECTED]>**20080505203320] [simplify workaround for broken cp. David Roundy <[EMAIL PROTECTED]>**20080505201614] [add testsuite workarounds for Solaris `cp' and `test' commands issues Karel Gardas <[EMAIL PROTECTED]>**20080505195605] [included files reordering to fix build warning on Solaris Karel Gardas <[EMAIL PROTECTED]>**20080505185453] [make issue538 test work with spaces in directories. David Roundy <[EMAIL PROTECTED]>**20080505184459] [de-tapify issue538.sh test. David Roundy <[EMAIL PROTECTED]>**20080505184239] [remove recommendation to use TAP output for shell tests. David Roundy <[EMAIL PROTECTED]>**20080505165808] [resolve Issue832: quote all instances of "$DARCS", "$ACTUAL_DARCS", "$PWD", and "$HOME" in the sh tests and test harness, as well as all other shell variables that get expanded in test scripts (a cursory glance suggested that none of them were actually intended to be split on whitespace and so are probably best quoted). [EMAIL PROTECTED] [Make curl_multi_timeout check work for static builds. Dmitry Kurochkin <[EMAIL PROTECTED]>**20080503212935] [Move curl_multi_timeout check outside of pipelining check. Dmitry Kurochkin <[EMAIL PROTECTED]>**20080503212708] [get rid of stupid debug messages. David Roundy <[EMAIL PROTECTED]>**20080503203650] [resolve conflict in aclocal.m4 David Roundy <[EMAIL PROTECTED]>**20080503195800] [Do LDFLAGS conversion without calling out to GHC, avoiding nasty characters in GHC commands Reinier Lamers <[EMAIL PROTECTED]>**20080503192456] [avoid putting a newline into GHCLIBS and/or GHCLDFLAGS. David Roundy <[EMAIL PROTECTED]>**20080503180805] [even more stupid debug messages. David Roundy <[EMAIL PROTECTED]>**20080503171055] [insert stupid debug code into configure script. David Roundy <[EMAIL PROTECTED]>**20080503162856] [resolve issue793: fix regression in 'before X' date matching Eric Kow <[EMAIL PROTECTED]>**20080502213535 It was probably introduced by trying to convert CalendarTimes to ClockTimes; when converting a zero CalendarTime to ClockTime, we get something before zero. ] [resolve issue245: more precise 'Bad token spec' error messages. Eric Kow <[EMAIL PROTECTED]>**20080502204426 I think this resolves issue371 as well. ] [Slight tidy up of English module. Eric Kow <[EMAIL PROTECTED]>**20080502201151] [mark issue803.sh test as a currently-failing bug. David Roundy <[EMAIL PROTECTED]>**20080502185438] [use bash in test. David Roundy <[EMAIL PROTECTED]>**20080502184149] [Fix test for issue 538 [EMAIL PROTECTED] [Added test for issue 538 [EMAIL PROTECTED] [issue 538: set scripts executable before test if user desires [EMAIL PROTECTED] [resolve Issue813: make configure test consult LDFLAGS and LIBS. David Roundy <[EMAIL PROTECTED]>**20080502160200] [add another test for Issue794. David Roundy <[EMAIL PROTECTED]>**20080502160111] [prefer catMaybes over list comprehension. David Roundy <[EMAIL PROTECTED]>**20080502153330] [Move repoformat bug to passing tests. Eric Kow <[EMAIL PROTECTED]>**20080501223603] [resolve issue794: don't stop on first repoformat success. Eric Kow <[EMAIL PROTECTED]>**20080501223923 Unfortunately, this bug means that older versions darcs might not be aware of potential forwards-compatibility issues, where the new, unrecognised lines in repoformat come after a familiar one. ] [doc: msmtp -t (for multiple recipients) Eric Kow <[EMAIL PROTECTED]>**20080501224701 When I used --sendmail-command="msmtp %t %<" to send a patch to the darcs darcs repository, I got the following error: PERM_FAILURE: Probe failed: Illegal To: address (invalid domain name): [EMAIL PROTECTED], darcs-users@darcs.net Using -t in sendmail mode causes msmtp to read the recipients from the message itself, which I suppose works better than passing them in via the command line. ] [Use `curl-config --static-libs` when building with static libs. Dmitry Kurochkin <[EMAIL PROTECTED]>**20080502115703] [resolve issue283: Make darcs help <cmd> consistent with darcs <cmd> --help. Nicolas Pouillard <[EMAIL PROTECTED]>**20080502123521 darcs help <cmd>, no longer print the darcs version. ] [resolve issue827: correct changes -i behaviour Eric Kow <[EMAIL PROTECTED]>**20080502090907 Promised old behaviour: Shall I view this patch? y - view this patch; keep going n - do not view this patch; keep going [DEFAULT] v - view this patch; keep going q - quit Actual old behaviour: Shall I view this patch? y - view this patch; stay put n - do not view this patch; keep going [DEFAULT] v - view this patch; stay put q - quit New behaviour: Shall I view this patch? y - view this patch; keep going n - do not view this patch; keep going [DEFAULT] v - view this patch; stay put q - quit ] [Correct changes -i help message. Eric Kow <[EMAIL PROTECTED]>**20080502090655] [Correct how darcs treats identical changes under darcs-2 format [EMAIL PROTECTED] [Added test for issue 803 [EMAIL PROTECTED] [reorder test suite around fact that test_unit takes so long. David Roundy <[EMAIL PROTECTED]>**20080501113207] [remove gitlib.{c,h.in} as it appears to be unused Jason Dagit <[EMAIL PROTECTED]>**20080501002306] [refactor "_darcs" to darcsdir variable Jason Dagit <[EMAIL PROTECTED]>**20080501042650] [change handling of hi files to use silly make rule as ghc docs suggest. David Roundy <[EMAIL PROTECTED]>**20080501105800] [enable automatic running of additional tests, as Gwern suggested. David Roundy <[EMAIL PROTECTED]>**20080501105606] [generalize the testing for external libraries. David Roundy <[EMAIL PROTECTED]>**20080430232912] [Use GHC instead of GCC to check for zlib availability (issue 813) [EMAIL PROTECTED] [resolve issue76: update docs on temp directory creation. Eric Kow <[EMAIL PROTECTED]>**20080430175713] [Add test for issue794. Eric Kow <[EMAIL PROTECTED]>**20080430165251] [doc: encourage new users to use --darcs-2 repositories. Eric Kow <[EMAIL PROTECTED]>**20080425172110 Note that this is sans explanation (in the getting started section). Maybe new users might be put off by the mystery flag? ] [doc: tell users about darcs-2 handling of identical patches. Eric Kow <[EMAIL PROTECTED]>**20080425172104 Do not bother talking about darcs-1 behaviour. ] [add test for darcs show bug. David Roundy <[EMAIL PROTECTED]>**20080430165425] [fix bug in configure script wrt HTTP package. David Roundy <[EMAIL PROTECTED]>**20080430165350] [cleanup in ShowAuthors: "as" is a bad variable name, since it's also a haskell keyword. David Roundy <[EMAIL PROTECTED]>**20080430161237] [add very simple test for show authors. David Roundy <[EMAIL PROTECTED]>**20080430161222] [Ordered.lhs: explain acronyms [EMAIL PROTECTED] [Prefs.lhs: add cabal intermediates to ignore [EMAIL PROTECTED] Re-send, not depending on rejected patches. ] [remove unused function ephemeral. David Roundy <[EMAIL PROTECTED]>**20080429163057] [remove unused compress/uncompress functions. David Roundy <[EMAIL PROTECTED]>**20080429162552] [remove unneeded --verify-hash flag (we always verify hashes). David Roundy <[EMAIL PROTECTED]>**20080429162303] [remove Stringalike module entirely. David Roundy <[EMAIL PROTECTED]>**20080429155919] [cut commented code (that would no longer compile). David Roundy <[EMAIL PROTECTED]>**20080429155455] [eliminate use of Stringalike in ReadMonad and friends. David Roundy <[EMAIL PROTECTED]>**20080429155158] [simplify ParserM David Roundy <[EMAIL PROTECTED]>**20080429153800] [make PatchInfo reading specific to PackedString. David Roundy <[EMAIL PROTECTED]>**20080429152300] [remove unused function test_patch. David Roundy <[EMAIL PROTECTED]>**20080429150504] [remove unused emptyFileContents. David Roundy <[EMAIL PROTECTED]>**20080429150154] [remove unused isExecutable function. David Roundy <[EMAIL PROTECTED]>**20080429145721] [Prefs.lhs: ignore .darcsrepo as well [EMAIL PROTECTED] Add it now, since we're going to get .darcsrepo at some point. ] [Prefs.lhs: ignore zsh-compiled files and Gentoo/X leftover files [EMAIL PROTECTED] [Prefs.lhs: ignore .git [EMAIL PROTECTED] [Prefs.lhs: ignore profiling intermediate files [EMAIL PROTECTED] [Diff.lhs, Prefs.lhs: add docs for 4096 optimization [EMAIL PROTECTED] [Diff.lhs: has_bin only inspects first 4096 characters [EMAIL PROTECTED] This is an optimization for large files, it saves running has_funky on gigs and gigs of data when pretty much all binary files give the truth away within a few characters. ] [fpstring.c: switch a memchr for memrchr [EMAIL PROTECTED] See <http://bugs.darcs.net/issue814>; memrchr speeds up is_funky quite a bit and thus helps whatsnew -s. It doesn't seem to break (any more) tests. ] [configure: more precise error messages about packages. Nicolas Pouillard <[EMAIL PROTECTED]>**20080424120226] [SlurpDirectory.lhs: remove apparently pointless aliases [EMAIL PROTECTED] [implement primitive fixing of removal of non-empty files. David Roundy <[EMAIL PROTECTED]>**20080428165532] [add framework for patch-fixing repair. David Roundy <[EMAIL PROTECTED]>**20080428153041] [correct mmap type signatures Jason Dagit <[EMAIL PROTECTED]>**20080428190837] [clean up genslurp_helper a tad. David Roundy <[EMAIL PROTECTED]>**20080423214457 I'm removing an unneeded unsafeInterleaveIO and am reformatting some of the indentation to make it clearer which else goes with which if. ] [grammar fix Ferenc Wagner <[EMAIL PROTECTED]>**20080426173243] [add checks for removal of non-empty files. David Roundy <[EMAIL PROTECTED]>**20080426120904] [remove git section from building_darcs.tex David Roundy <[EMAIL PROTECTED]>**20080424134245 Thanks to Nicolas Pouillard for pointing this out. ] [remove unneeded redundant adding of -lcurses (done by AC_SEARCH_LIBS). David Roundy <[EMAIL PROTECTED]>**20080423214404] [Give a clear error message when no suitable haddock is installed [EMAIL PROTECTED] [simplify configure a bit: if we're defining CPP symbols, no need to also use AC_SUBST. David Roundy <[EMAIL PROTECTED]>**20080423152121] [simplify makefile a bit. David Roundy <[EMAIL PROTECTED]>**20080423150529] [give proper error message when slurping fails to identify a file or directory. David Roundy <[EMAIL PROTECTED]>**20080423141737] [default to not coloring hunks. David Roundy <[EMAIL PROTECTED]>**20080423141725] [Use the lineColoring to prettify hunks with colors. Nicolas Pouillard <[EMAIL PROTECTED]>**20080420135252] [Add line coloring support in Printer and ColourPrinter. Nicolas Pouillard <[EMAIL PROTECTED]>**20080420135238] [Export Printer.(<?>). Nicolas Pouillard <[EMAIL PROTECTED]>**20080420135208] [Add two colors (cyan and magenta), but not use them yet. Nicolas Pouillard <[EMAIL PROTECTED]>**20080420122811] [Refactor a little the color handling. Nicolas Pouillard <[EMAIL PROTECTED]>**20080420122500] [slim down the makefile based on Gwern's changes to the configure script. David Roundy <[EMAIL PROTECTED]>**20080423131854] [configure.ac: export -lcurses for cabal [EMAIL PROTECTED] [configure.ac: export Curses as well [EMAIL PROTECTED] [Little style change. Nicolas Pouillard <[EMAIL PROTECTED]>**20080420122143] [Define unDoc as field of Doc. Nicolas Pouillard <[EMAIL PROTECTED]>**20080416075954] [Replace colour by color to uniformise a bit. Nicolas Pouillard <[EMAIL PROTECTED]>**20080416074742] [Canonize G. Branwen, P. Rockai, L. Komolodin and R. Lamers. Eric Kow <[EMAIL PROTECTED]>**20080422152346 All anonymous patches get assigned to Gwern. ] [doc tweak Eric Kow <[EMAIL PROTECTED]>**20080422151420] [resolve issue809: doc: darcs get is not lazy by default. Eric Kow <[EMAIL PROTECTED]>**20080422150809] [doc: darcs-2 is no longer experimental. Eric Kow <[EMAIL PROTECTED]>**20080422150736] [Rename ColourPrinter to ColorPrinter. Eric Kow <[EMAIL PROTECTED]>**20080421154043 We might as well standardize on American spelling in the code. ] [eliminate duplicate get_remote_repo in favor of list comprehensions. David Roundy <[EMAIL PROTECTED]>**20080421145642] [resolve issue792: Account for --remote-repo in defaultrepo code Eric Kow <[EMAIL PROTECTED]>**20080421144023] [Extend command_argdefaults to accept [DarcsFlag]. Eric Kow <[EMAIL PROTECTED]>**20080421143950] [Add a --remote-repodir flag (yet unused). Eric Kow <[EMAIL PROTECTED]>**20080421134352] [Account for pre-existing api-doc. Eric Kow <[EMAIL PROTECTED]>**20080421135155] [Create the api-doc dir if it does not exist. Eric Kow <[EMAIL PROTECTED]>**20080421134800] [replace '{-# OPTIONS' with '{-# OPTIONS_GHC' [EMAIL PROTECTED] These OPTIONS pragmas use GHC-isms; best practice is to make them GHC specific if they are GHC specific. Specifically: -fglasgow-exts is obviously GHC only. -cpp is used only by GHC AFAIK - hugs uses some hugscpp, YHC uses '--cpp' as does presumably NHC, JHC doesn't support cpp, and no idea about the others. However, this patch omits modifying "src/Darcs/ColourPrinter.lhs", "src/Workaround.hs", and "src/win32/CtrlC.hs" because I was uncertain whether '-fno-warn-orphans', '-w', and '-ffi' are actually GHC-only. ] [configure.ac: export -DHAVE_LIBWWW for CPP [EMAIL PROTECTED] [resolve issue795: Make 'darcs changes -i' behave more like other jobs. Eric Kow <[EMAIL PROTECTED]>**20080421105247 Old behaviour: Shall I continue to view changes? y - do not view this patch; keep going [DEFAULT] n - quit v - view this patch; keep going q - quit New behaviour: Shall I view this patch? y - view this patch; keep going n - do not view this patch; keep going [DEFAULT] v - view this patch; keep going q - quit ] [Undo a false refactor in SelectChanges. Eric Kow <[EMAIL PROTECTED]>**20080421104106 The new old code makes it clearer that text_view is only used by 'view changes' ] [Fix pluralization of patches using English module. David Roundy <[EMAIL PROTECTED]>**20080421121716] [configure.ac: move HAVE_CURL around [EMAIL PROTECTED] The dependency was inverted; we want to set HAVE_CURL before we test for Curl pipelining. ] [optimized get --to-match handling for darcs 1 repositories [EMAIL PROTECTED] [stringify.hs: rw to avoid multi-line string literal [EMAIL PROTECTED] The reason we want to avoid multi-line string literals is because GHC and CPP can break them quite badly if accidentally applied. In addition, no one is going to read Context.hs - it exists solely to be compiled. So removing the multi-line business in favor of one long string which will look exactly the same in the compiled binary causes no problems. And it can fix a big one - if Context.hs can't be compiled, obviously Darcs cannot. ] [configure.ac: restructure curl [EMAIL PROTECTED] We want to make sure HAVE_CURL shows up in CPP flags. ] [configure.ac: +mention why threaded is not default/doc [EMAIL PROTECTED] [rearrange bytestring tests so if it's not present we're quieter. David Roundy <[EMAIL PROTECTED]>**20080418212319] [configure.ac: fix bytestring checking [EMAIL PROTECTED] This changes bytestring to be default. However it checks twice: if either --disable-bytestring is set or bytestring can't be found, it won't pass on CPP -DHAVE_BYTESTRING. So this should work for Dr. Roundy's lack of bytestring. ] [remove unneeded check for termio.h. David Roundy <[EMAIL PROTECTED]>**20080417172427] [configure.ac: rm line [EMAIL PROTECTED] I can't even figure out how long ago Control.Monad was in a 'util' package. ] [we don't need Darcs.Patch.Check for darcs itself. David Roundy <[EMAIL PROTECTED]>**20080417150720] [remove hackish attempt to set GC parameters based on available memory. David Roundy <[EMAIL PROTECTED]>**20080416164105] [define forM_ since it is absent on GHC 6.4.1 [EMAIL PROTECTED] [make darcs build on win32 by conditionally compiling out a few bits that are unused or meaningless on win32 [EMAIL PROTECTED] [Don't let other configure flags change the type witnesses Lennart Kolmodin <[EMAIL PROTECTED]>**20080415210614 For example, when using --with-docs the type witnesses would be turned on, while with --without-docs they would not. This patch adresses this issue. ] [eliminate use of Haskell 98 library modules. David Roundy <[EMAIL PROTECTED]>**20080415214217] [add type witness declarations to Resolution David Roundy <[EMAIL PROTECTED]>**20080415165457] [move -cpp option into source files. David Roundy <[EMAIL PROTECTED]>**20080415144719] [Issue a warning when using --old-fashioned-inventory with a darcs-2 repository. Nicolas Pouillard <[EMAIL PROTECTED]>**20080414232715] [FastPackedString.hs: FastPackedString.hs: redefine linePS/unlinesPS [EMAIL PROTECTED] Turns out that my definitions were wrong - they differed and added a newline where the old FPS versions didn't. So I've rewritten the wrapper versions around ByteString, and checked them against the old ones with QuickCheck. With these fixes, a bytestring darcs seems to pass all the tests as a fps darcs. ] [remove unused Setup.lhs. David Roundy <[EMAIL PROTECTED]>**20080414190738] [roll back implementation of joke oops command. David Roundy <[EMAIL PROTECTED]>**20080414133342 Apparently it didn't actually work... rolling back: Tue Apr 8 07:58:56 PDT 2008 David Roundy <[EMAIL PROTECTED]> * resolve issue786: implement oops command. M ./src/Darcs/Commands/Tag.lhs -5 +47 M ./src/Darcs/TheCommands.lhs -1 +2 ] [just remove concatLenPS David Roundy <[EMAIL PROTECTED]>**20080411205303 It is never used in a performance-critical situation, so I'm voting to just trash it. I'd rather have fewer unsafe operations. ] [FastPackedString.hs: simplify concatLenPS, although this removes its strictness properties **20080411035327] [FastPackedString.hs: remove wfindPS **20080411035046 With better imports from bytestring, I believe it to be superfluous, and dangerous to leave around. ] [FastPackedString.hs: grmmr/sp **20080411034730] [FastPackedString.hs: rw linesPS using ByteString split **20080411032229] [doc updates [EMAIL PROTECTED] Convert all uses of 'http://darcs.net/repos/stable' to just darcs.net, since unstable and stable were merged together, and the old URL is a 404 for darcs getting. This is a real problem, see for example <http://reddit.com/info/6ewbq/comments/c03o6d5>. ] [fix typo in show_bug_help Matyas Janos <[EMAIL PROTECTED]>**20080408232600] [Raise a configure error when no Text.Regex module can be found. [EMAIL PROTECTED] [update README url links [EMAIL PROTECTED] [add a bit more debugging info to repository identification. David Roundy <[EMAIL PROTECTED]>**20080408151912] [resolve issue385: don't worry if we can't get local changes. David Roundy <[EMAIL PROTECTED]>**20080408151823] [add test for issue385. David Roundy <[EMAIL PROTECTED]>**20080408151808] [resolve issue786: implement oops command. David Roundy <[EMAIL PROTECTED]>**20080408145856] [fix URL in network test. David Roundy <[EMAIL PROTECTED]>**20080408145407] [fix manual bug. David Roundy <[EMAIL PROTECTED]>**20080407191736] [add new show bug command (hidden) to see what darcs will report if we encounter a bug. David Roundy <[EMAIL PROTECTED]>**20080407175410] [automatically work out the version of the stable release. David Roundy <[EMAIL PROTECTED]>**20080407171850] [set prefs again (they got lost on convert). David Roundy <[EMAIL PROTECTED]>**20080407171559] [update darcs repository URL. David Roundy <[EMAIL PROTECTED]>**20080407164601] [fix up website for new release. David Roundy <[EMAIL PROTECTED]>**20080407164010] [simplify determine_release_state.pl. David Roundy <[EMAIL PROTECTED]>**20080407153000] [make determine_release_state.pl use changes --count. David Roundy <[EMAIL PROTECTED]>**20080407152347] [add --count output option to changes. David Roundy <[EMAIL PROTECTED]>**20080407151825] [TAG 2.0.0 David Roundy <[EMAIL PROTECTED]>**20080407150638] Patch bundle hash: 428acaa666876335605263e0ea99c093496b7223
_______________________________________________ darcs-users mailing list darcs-users@darcs.net http://lists.osuosl.org/mailman/listinfo/darcs-users