[darcs-devel] patch: Pass CFLAGS to assembler
Lennart Kolmodin
kolmodin at dtek.chalmers.se
Wed Aug 8 19:00:27 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Attached a patch to send the CFLAGS to the assembler, as it otherwise
will break arches like sparc which require the -mcpu flag while assembling.
Gentoo Linux has for quite some time applied this to the sources in
ebuilds, we thought it was time to give something back :)
// Lennart Kolmodin
- --
Gentoo-Haskell Dev
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGuhLL4txYG4KUCuERAtk5AKCIYwaWPjansYp46J1tAB7qwiHq4ACfXcEP
Xlwvr5/Cu8APSB0Epd1YuQI=
=hjBc
-----END PGP SIGNATURE-----
-------------- next part --------------
New patches:
[Pass CFLAGS to the assembler
Lennart Kolmodin <kolmodin at dtek.chalmers.se>**20070808181309
The CFLAGS must be passed to the assembler or the build will break on some
arches, like the -mcpu is essential on sparc.
] {
hunk ./autoconf.mk.in 22
-OPTCCFLAGS := $(addprefix -optc,$(CFLAGS) $(CPPFLAGS))
+OPTCCFLAGS := $(addprefix -optc,$(CFLAGS) $(CPPFLAGS)) $(addprefix -opta,$(CFLAGS))
}
Context:
[Use System.Directory.copyFile for file copying.
Kevin Quick <quick at sparq.org>**20070723071533]
[cut new merge code from old Commute module.
David Roundy <droundy at darcs.net>**20070801225540]
[add new Merge module.
David Roundy <droundy at darcs.net>**20070801205859]
[add marking of cancelled patches
David Roundy <droundy at darcs.net>**20070728000618]
[add (unused) "cancel" patches.
David Roundy <droundy at darcs.net>**20070727193153]
[add named primitive subpatch helpers.
David Roundy <droundy at darcs.net>**20070727185400]
[Fixed fancy_mergeFL and fancy_mergeFL_FL
Jason Dagit <dagit at codersbase.com>**20070725215429]
[Implemented fancy_mergeFL_FL2
Jason Dagit <dagit at codersbase.com>**20070626235249]
[Implemented fancy_mergeFL_FL
Jason Dagit <dagit at codersbase.com>**20070626230558]
[Added fancy_commute, still working on fancy_merge
Jason Dagit <dagit at codersbase.com>**20070623000136]
[Use readFilePS instead of readFile for 'show contents' command.
Eric Kow <eric.kow at loria.fr>**20070805190830]
[Fix 'show contents' documentation and help.
Eric Kow <eric.kow at loria.fr>**20070805142053]
[[issue141] Implement darcs show contents command.
Eric Kow <eric.kow at gmail.com>**20070802040813]
[Add test for show contents command.
Eric Kow <eric.kow at gmail.com>**20070801203053]
[Add test for issue467.
Eric Kow <eric.kow at gmail.com>**20070801184138]
[[issue467] changes --context --repodir
Eric Kow <eric.kow at gmail.com>**20070801184051]
[[issue316] Prompt for confirmation if amending someone else's patch.
Eric Kow <eric.kow at gmail.com>**20070731192845]
[Export the non-interactive part of get_author.
Eric Kow <eric.kow at gmail.com>**20070731190748]
[Move just_dir helper function to Darcs.FilePathUtils.
Eric Kow <eric.kow at gmail.com>**20070730193703]
[Rename fix_maybe_absolute and friends to something clearer.
Eric Kow <eric.kow at gmail.com>**20070730193603
As suggested by David.
]
[Rename (again) query/list to show.
Eric Kow <eric.kow at gmail.com>**20070730184757
Clarify the online help while we're at it.
]
[Fix conflicts between issue308 fix and amend-record metadata editing.
Eric Kow <eric.kow at gmail.com>**20070729191434]
[Do not run test suite if amending metadata only.
Eric Kow <eric.kow at gmail.com>**20070728055505]
[Add patchname to logfile when amending long comment.
Eric Kow <eric.kow at gmail.com>**20070728054752
And simplify use of unlines (we already detect trailing newline).
]
[Allow amend-record to edit metadata even if no changes are selected.
Eric Kow <eric.kow at gmail.com>**20070728053612]
[[issue161] Implement amend-record --edit-long-comment, etc.
Eric Kow <eric.kow at loria.fr>**20070727205233
Should also satisfy requests in issue77, issue276 and issue388.
]
[Catch bad patch names in record --pipe.
Eric Kow <eric.kow at loria.fr>**20070727203606
This appears to be a bug by which we have not yet been bitten.
]
[[issue389] Support record -m --prompt-long-comment.
Eric Kow <eric.kow at loria.fr>**20070727203503]
[Combine get_patchname with get_log in record command.
Eric Kow <eric.kow at loria.fr>**20070727203237
This probably makes the code longer, but more explicit and with
support for 'prior patchnames' (for amend-record).
]
[Add some rudimentary amend-record + metadata tests.
Eric Kow <eric.kow at loria.fr>**20070725211157]
[Fix conflict between unpull refactor and --no-deps.
Eric Kow <eric.kow at loria.fr>**20070805105818]
[Hide darcs unpull command.
Eric Kow <eric.kow at gmail.com>**20070730181138]
[Slightly refactor unpull (make it an alias).
Eric Kow <eric.kow at gmail.com>**20070728095057]
[mark dangerous code with a fixme.
David Roundy <droundy at darcs.net>**20070727012503]
[Fix typo.
Eric Kow <eric.kow at loria.fr>**20070805084445]
[Resolve conflicts between issue353 and GUI removal patches.
Eric Kow <eric.kow at loria.fr>**20070805061431]
[resurrect --no-deps [issue353]
Tommy Pettersson <ptp at lysator.liu.se>**20070801213028]
[make --no-deps work with obliterate, unrecord and unpull
Tommy Pettersson <ptp at lysator.liu.se>**20070801212519]
[make --no-deps work with push and send
Tommy Pettersson <ptp at lysator.liu.se>**20070801212256]
[fix typo
Tommy Pettersson <ptp at lysator.liu.se>**20070729225249]
[fix website in darcs.cgi.
David Roundy <droundy at darcs.net>**20070802220205]
[Resolve the expected conflict with 'resolv issue490 fix'
Eric Kow <eric.kow at loria.fr>**20070730204220]
[resolv issue490 fix in stable (will conflict with resolv in unstable)
Tommy Pettersson <ptp at lysator.liu.se>**20070729225410]
[Add test for issue308
Kevin Quick <quick at sparq.org>**20070723062114]
[Fix issue308: don't record empty patch with --ask-deps
Kevin Quick <quick at sparq.org>**20070728190329]
[add cancelled patch constructor.
David Roundy <droundy at darcs.net>**20070726180243]
[add unused Marked constructor to Patch.
David Roundy <droundy at darcs.net>**20070726003422]
[fix filenames on conflicted patch.
David Roundy <droundy at darcs.net>**20070726002029]
[Started fancy_merge
Jason Dagit <dagit at codersbase.com>**20070620220335]
[Added mergeFL and mergeFL_FL
Jason Dagit <dagit at codersbase.com>**20070619025004]
[move to pure record-access in Patch.Info.
David Roundy <droundy at darcs.net>**20070727001358]
[improve error message when unable to access a repository.
David Roundy <droundy at darcs.net>**20070726230517]
[Always use cloneFile for copying files.
Kevin Quick <quick at sparq.org>**20070723065621]
[Remove more GUI code.
Eric Kow <eric.kow at loria.fr>**20070727202816]
[Expose more PatchInfo parts and switch to record syntax.
Eric Kow <eric.kow at loria.fr>**20070725210644]
[Refactor amend-record test.
Eric Kow <eric.kow at loria.fr>**20070725194320]
[[issue386] Fix some --dry-run messages: "Would push" not "Pushing".
Eric Kow <eric.kow at loria.fr>**20070722211900]
[[issue313] Ensure that logfile for record has trailing newline.
Eric Kow <eric.kow at loria.fr>**20070722053200]
[Add a 'commit' command stub.
Eric Kow <eric.kow at loria.fr>**20070722053050]
[Remove GUI code and stuff to build it.
Eric Kow <eric.kow at loria.fr>**20070715110324
Suggested by Juliusz Chroboczek at FOSDEM 2006. The code is pretty harmless
in itself (it's hidden away by ifdefs), but potentially distracting.
]
[Makes non-repository paths in DarcsFlags absolute [issue427].
Zachary P. Landau <kapheine at divineinvasion.net>**20070724013425]
[Fix issue329: typing q for record --ask-deps records anyway with no deps.
Kevin Quick <quick at sparq.org>**20070718055426]
[Update test suite to account for mark-conflicts command.
Eric Kow <eric.kow at loria.fr>**20070722044435]
[Fix missing newline in inventory (issue412).
Eric Kow <eric.kow at loria.fr>**20070718210138
This simplifies third party scripts that have to parse the darcs inventory.
]
[Rename query to list; manifest to files.
Eric Kow <eric.kow at loria.fr>**20070718204703
query => list (with query as alias)
query manifest => list files (with manifest as alias)
query tags => list tags
Note that the list manifest and list files commands differ in that the
former displays directories by default and the latter does not.
]
[Refactor aliases and stubs (rm, unadd, resolve).
Eric Kow <eric.kow at loria.fr>**20070718201453]
[Add helpers command_alias and command_stub.
Eric Kow <eric.kow at loria.fr>**20070718200940]
[Add all pulled repos to _darcs/prefs/repos (issue368).
Eric Kow <eric.kow at loria.fr>**20070717180127]
[Implement apply --dry-run (issue37).
Eric Kow <eric.kow at loria.fr>**20070717103257]
[Do not set defaultrepo if --dry-run (issue186).
Eric Kow <eric.kow at loria.fr>**20070717101607]
[Add test for issue396.
Eric Kow <eric.kow at loria.fr>**20070717054431]
[Filter out empty filenames (issue396).
Eric Kow <eric.kow at loria.fr>**20070717054319]
[Always use permissive disambiguation of commands.
Eric Kow <eric.kow at loria.fr>**20070717051631]
[Use prettyException in clarify_errors (issue73).
Eric Kow <eric.kow at loria.fr>**20070717050732
This solves one of three bugs in issue73, namely that we blame the user
for darcs's own errors.
]
[Use Control.Exception.catch in Darcs.Utils
Eric Kow <eric.kow at loria.fr>**20070717050613
This affects helper functions like catchall and clarify_errors.
]
[Tweak padding in usage_helper (mark-conflicts needs an extra space).
Eric Kow <eric.kow at loria.fr>**20070716230013]
[Rename resolve to mark-conflicts (issue113).
Eric Kow <eric.kow at loria.fr>**20070716225635
Resolve is retained as a (hidden) alias.
]
[Make --directories the default in query manifest (issue456).
Eric Kow <eric.kow at loria.fr>**20070716220308]
[Allow --list-options even if command cannot be run (issue297).
Eric Kow <eric.kow at loria.fr>**20070716210631
If the command cannot be run, just print the possible flags, not the file args.
]
[Implement hidden commands.
Eric Kow <eric.kow at loria.fr>**20070716204107
This makes it possible to have command stubs or aliases without cluttering
the usage info.
]
[Implement command stubs 'rm', 'unadd', 'move' (issue127).
Eric Kow <eric.kow at loria.fr>**20070716202944
These hidden commands are either stubs (they print some text and quit) or
aliases (they do the same thing as some other command).
]
[Distinguish between strict and permissive disambiguation (regression).
Eric Kow <eric.kow at loria.fr>**20070715203256
Permissive disambiguation lets you handle the case where you supply a
supercommand and a flag (i.e. not a subcommand).
]
[Refactor parsing of command line arguments.
Eric Kow <eric.kow at loria.fr>**20070715200140]
[Rewrite disambiguate_commands.
Eric Kow <eric.kow at loria.fr>**20070715200119
This should make it more explicit what is going on.
]
[Fix supercommand --help (issue282).
Eric Kow <eric.kow at loria.fr>**20070715170843]
[Add crossref.png (issue485).
Eric Kow <eric.kow at loria.fr>**20070714230519]
[Fix conflicts with Kevin Quick's [DarcsRepo] stuff.
Eric Kow <eric.kow at loria.fr>**20070722193223]
[Added --nolinks option to request actual copies instead of hard-links for files.
Kevin Quick <quick at sparq.org>**20070613193742]
[Provide [DarcsFlag] command-line options to copyLocal
Kevin Quick <quick at sparq.org>**20070612041516]
[More concise --look-for-adds description.
Eric Kow <eric.kow at loria.fr>**20070708141727]
[Harmonise capitalisation (etc) in flags help.
Eric Kow <eric.kow at loria.fr>**20070708122719]
[fix repodir test cleanup
Tommy Pettersson <ptp at lysator.liu.se>**20070715183319]
[Define datarootdir early enough in autoconf.mk.in (issue 493).
Dave Love <fx at gnu.org>**20070714165441]
[Use listToMaybe instead of safehead.
Eric Kow <eric.kow at loria.fr>**20070708113613]
[Fix issue490 conflicts.
Eric Kow <eric.kow at loria.fr>**20070708112618]
[fix for issue 490
David Roundy <droundy at darcs.net>**20070629195741
This patch ensures that we never try to use a checkpoint
for a tag that isn't in a place where the inventory is
broken.
It's a little ugly because it also puts more of the checkpoint
handling code in Checkpoint, which required a refactor to avoid
import loops.
]
[Fix Makefile bug (symlink for bigpage.tex).
Eric Kow <eric.kow at loria.fr>**20070714192500]
[Canonize Andres Loeh and Daniel Gorin.
Eric Kow <eric.kow at loria.fr>**20070714200521]
[Sort tags file (Vim likes it that way).
Eric Kow <eric.kow at loria.fr>**20070708213833]
[Fix tags target in Makefile to account for mv to src.
Eric Kow <eric.kow at loria.fr>**20070708212921]
[Fix hscurl.c conflicts.
Eric Kow <eric.kow at loria.fr>**20070714195126]
[Fix issue420: User Agent size limit for curl gets is removed.
Kevin Quick <quick at sparq.org>**20070711225049]
[String parameters to libcurl are kept alive to conform with the api specification
dgorin at dc.uba.ar**20070622134144]
[work around < < problem in bigpage.html [issue483]
Tommy Pettersson <ptp at lysator.liu.se>**20070712233559
latex2html seems to misunderstand the sequence "\<" in verbatim mode, so I
split it into two verbatim sections. It appears to look the same, but it
could probably cause an unfortunate line break.
]
[Fix handling of --repo with relative paths.
Eric Kow <eric.kow at loria.fr>**20070714160336
We did not correctly deal with the case where the user passes in a directory
path via the --repo flag (cf --repodir). The fix is to make findRepository
properly aware of the --repo flag. This way, if we have been passed a --repo
argument, and the argument is a directory, we avoid calling seekRepo. Note
that we still have to keep the old code around too, to cover the case where
--repo is a URL.
]
[remove TODO from passing repodir.pl test
David Roundy <droundy at darcs.net>**20070530195104]
[fix links to wiki on web page (again)
Tommy Pettersson <ptp at lysator.liu.se>**20070630080403
(They aren't broken, but) change the /index.html/ part to /DarcsWiki/ as
David intended it.
]
[move URL for darcs.cgi to new server.
David Roundy <droundy at darcs.net>**20070629200757]
[add right-arrow with new name desired by new latex2html.
droundy at darcs.net**20070620233452]
[simplify C macro
David Roundy <droundy at darcs.net>**20070619011246]
[change wiki links on webpage to wiki.darcs.net
Tommy Pettersson <ptp at lysator.liu.se>**20070617095655]
[bump version to 1.1.0pre1
Tommy Pettersson <ptp at lysator.liu.se>**20070616202236]
[Make all of Patch work with gadts.
David Roundy <droundy at darcs.net>**20070615214613]
[Make Read work with gadts.
David Roundy <droundy at darcs.net>**20070615204731]
[fix Jason's code to work with gadts.
David Roundy <droundy at darcs.net>**20070615194704]
[fix type signature of ||| in Commute.lhs.
David Roundy <droundy at darcs.net>**20070615153019]
[when using type witnesses, always compile with -fglasgow-exts.
David Roundy <droundy at darcs.net>**20070615152847]
[Changed Patch to GADTs notation
Jason Dagit <dagit at codersbase.com>**20070615013022]
[conflicted commute now uses filterE
Jason Dagit <dagit at codersbase.com>**20070615003757]
[fixed conflict
Jason Dagit <dagit at codersbase.com>**20070615003733]
[added filterE
Jason Dagit <dagit at codersbase.com>**20070615002503]
[fixed conflicts
Jason Dagit <dagit at codersbase.com>**20070614230216]
[Implement read/show of Conflicted patches.
Jason Dagit <dagit at codersbase.com>**20070614215509]
[Implement Conflicted patches.
Jason Dagit <dagit at codersbase.com>**20070614205738]
[fix gadts in Viewing
David Roundy <droundy at darcs.net>**20070615011957]
[test gadt witnesses a bit
David Roundy <droundy at darcs.net>**20070615005140]
[make Commute work again with witnesses.
David Roundy <droundy at darcs.net>**20070615004552]
[cannot derive instances for gadts.
David Roundy <droundy at darcs.net>**20070615002830]
[convert Commute to gadts.
David Roundy <droundy at darcs.net>**20070614235440]
[make EqCheck derive Show.
David Roundy <droundy at darcs.net>**20070614212456]
[fix bug in context of :<
David Roundy <droundy at darcs.net>**20070614011916]
[export MyEq class
David Roundy <droundy at darcs.net>**20070614004407]
[gadtize (File/Dir)PatchType
David Roundy <droundy at darcs.net>**20070614001425]
[gadtize Show
David Roundy <droundy at darcs.net>**20070613211510]
[improve type of commute_to_end
David Roundy <droundy at darcs.net>**20070613203623]
[make gadt witnesses work with Core.
David Roundy <droundy at darcs.net>**20070613040231]
[make Ordered compile with gadt witnesses.
David Roundy <droundy at darcs.net>**20070613030137]
[Step 2 of gadts refactor
Jason Dagit <dagit at codersbase.com>**20070612234042]
[Commute has arguments backwards
Jason Dagit <dagit at codersbase.com>**20070612201646]
[clean up ordered data types
David Roundy <droundy at darcs.net>**20070530194023]
[use more expressive types than tuples
David Roundy <droundy at darcs.net>**20070530170100]
[start gadt stuff
David Roundy <droundy at darcs.net>**20070530011817]
[fix bug in hashed-inventory get
David Roundy <droundy at darcs.net>**20070530172527]
[add test to trigger yet another buggy case.
David Roundy <droundy at darcs.net>**20070422152651]
[check for gzopen directly in zlib
mail at andres-loeh.de**20070527103908
Without this change, configure will fail on systems having curl and zlib
in different locations. Because curl depends on zlib and is already detected
prior to zlib by the configure file, the AC_CHECK_FUNC check to curl will
succeed. Some combinations of pkgconfig/curl versions do no longer add the
-lz flag in its pkgconfig file, so darcs won't record -lz as a necessary
flag, and the build will fail later.
A different solution to the problem would be to move the whole check for
zlib to *before* the check for curl.
]
[Fix Windows build breakage.
Eric Kow <eric.kow at loria.fr>**20070520054713]
[Modernise imports of System.IO.
Eric Kow <eric.kow at loria.fr>**20070507192521
Note that some try/bracket/etc are now imported from Control.Exception.
]
[Use System.Process under Unix.
Eric Kow <eric.kow at loria.fr>**20070426194615]
[Remove conflictors unit tests.
Eric Kow <eric.kow at loria.fr>**20070513063537]
[Complete conflictors code removal.
Eric Kow <eric.kow at loria.fr>**20070513061545
Remove submerge_in_dir function, apparantly only used by the conflictors
code.
]
[remove unneeded (and unsafe) export from Patch.
David Roundy <droundy at darcs.net>**20070511005356]
[remove (unused) conflictor code
David Roundy <droundy at darcs.net>**20070511003956]
[Fix makefile conflict.
Eric Kow <eric.kow at loria.fr>**20070512194803]
[fix path to completion scripts
Peter Simons <simons at cryp.to>**20070511033227]
[Support makefile docdir/datarootdir variables.
Dave Love <fx at gnu.org>**20070507210129
Also avoid warnings from autoconf 2.61. The backward compatibility
stuff should be tidied up once requiring 2.61 is acceptable.
]
[cut unneeded pragma from SlurpDirectory.lhs
David Roundy <droundy at darcs.net>**20070505140749]
[Added prehooks
Jason Dagit <dagit at codersbase.com>**20070505202210]
[Use system for calling interactive cmds in Windows instead of rawSystem.
Eric Kow <eric.kow at loria.fr>**20070415132608
This lets us support switches, for example, in DARCS_EDITOR.
]
[resolve conflict.
David Roundy <droundy at darcs.net>**20070422213416]
[make copyInventory work for all permutations of repo formats.
David Roundy <droundy at darcs.net>**20070422155344]
[fix bug in Internal.
David Roundy <droundy at darcs.net>**20070422155324]
[add support for different kinds of get.
David Roundy <droundy at darcs.net>**20070422152934]
[fix strict get to a hashed repo from another.
David Roundy <droundy at darcs.net>**20070422151300
The trouble was that my clever idea of lazily downloading patches even
during a strict get didn't work, since we didn't have the source while
reading the patches the second time. One option would be to add that
source while applying patches the second time, but that seems like it'd
require a more tricky interface than just copying things strictly the first
time.
]
[don't print "partial repository" guess.
David Roundy <droundy at darcs.net>**20070422150603
This guess is all too often inaccurate, and with the new hashed
inventories, it'll be even more often inaccurate.
]
[remove redundant copyInventory.
David Roundy <droundy at darcs.net>**20070422144910]
[add tests for mixed inventories to hashed_inventory.sh.
David Roundy <droundy at darcs.net>**20070418234821]
[rewrite --lazy to be more flexible.
David Roundy <droundy at darcs.net>**20070416154113
This change makes it so we can handle a configured set of URLs for patch
origins. See the description in the Prefs.lhs documentation for details.
In addition, I've added a new --ephemeral option, which allows the user to
create repositories without any patch files at all (which seems a bit
scary, but potentially handy).
]
[fix test_scripts bug pointed out by Eric.
David Roundy <droundy at darcs.net>**20070421213635]
[fix FIXME for handling hashed+normal inventory at the same time.
David Roundy <droundy at darcs.net>**20070418215614
This fix also makes the tests pass with both inventory types enabled,
so I added that to the test suite. This was easier than I expected!
]
[remove unused export from RepoFormat.
David Roundy <droundy at darcs.net>**20070414174933]
[Modernise imports of Foreign.Ptr.
Eric Kow <eric.kow at loria.fr>**20070407102536]
[Make record_editor.pl test work under Windows.
Eric Kow <eric.kow at loria.fr>**20070415132932
I believe setting the PATH to '' was giving me libcurl4.dll complaints
under Windows.
Note also that this simplifies away part of a test, in that we were
initially trying to create stuff in a directory called 'temp dir2 " "',
but just creating the dir itself got so tricky that I just gave up and
switched to 'temp dir2', still with a space, no quotes.
]
[Make mv.pl test pass on Windows.
Eric Kow <eric.kow at loria.fr>**20070415114122
Fixed test count mismatch, and recovery of absolute path under msys.
]
[Include src/Darcs/Patch in makefile's SRC_DIRS.
Dave Love <fx at gnu.org>**20070415215139]
[Re-fix MAKEMANUAL.
Dave Love <fx at gnu.org>**20070415122733]
[Fix applyToWorking conflicts.
Eric Kow <eric.kow at loria.fr>**20070422060319
Was recorded against darcs stable post 1.0.9rc2.
]
[Fix MAKEMANUAL conflict.
Eric Kow <eric.kow at loria.fr>**20070413231608]
[Fix MAKEMANUAL make target.
Dave Love <fx at gnu.org>**20070410192153]
[Move packaging related stuff to its own directory (release).
Eric Kow <eric.kow at loria.fr>**20070401071845]
[Move extras to their own directory (tools).
Eric Kow <eric.kow at loria.fr>**20070401071734
Shell completion scripts, cgi.
]
[Move documentation to its own directory (doc).
Eric Kow <eric.kow at loria.fr>**20070401071635]
[Resolve Makefile conflict.
Eric Kow <eric.kow at loria.fr>**20070413231906]
[add support for partial and lazy downloading of hashed repos.
David Roundy <droundy at darcs.net>**20070405000616]
[add framework for lazily fetching hash files.
David Roundy <droundy at darcs.net>**20070403232223
This patch doesn't yet actually have any effect, but prepares
the way for changes to allow a variety of --partial that won't
have the downside of sometimes causing darcs to fail later,
since one can always download the patch files from the original
server.
]
[fix bug Eric pointed out (which has also now bitten me).
David Roundy <droundy at darcs.net>**20070404233317
This was a bug in the Checkpoint repo, where we assumed we were
looking at the current working directory, incorrectly.
]
[Fix unit.lhs import.
Eric Kow <eric.kow at loria.fr>**20070331194046
...due to sloppy scripting during the hierarchical shakeup.
]
[make --set-scripts-executable work with get and hashed inventories.
David Roundy <droundy at darcs.net>**20070329010828]
[Fix conflicts; adapt QueryTag to new hierarchical structure.
Eric Kow <eric.kow at loria.fr>**20070331191925]
[fix checkpoint handling with hashed inventories.
David Roundy <droundy at darcs.net>**20070330154325]
[fix bug in makefile regarding manual.
David Roundy <droundy at darcs.net>**20070330154259]
[whitespace cleanups in makefile.
David Roundy <droundy at darcs.net>**20070330152018]
[by default test hashed inventories plus normal.
David Roundy <droundy at darcs.net>**20070329010900]
[fail on error in get_patches_beyond_tag.
David Roundy <droundy at darcs.net>**20070328172408
This will expose any bugs where we use this function wrongly.
(As was the case in darcs check --partial with hashed inventories.)
]
[Fix manual compilation errors (due to source reorganisation).
Eric Kow <eric.kow at loria.fr>**20070313214302]
[Fix conflicts.
Eric Kow <eric.kow at loria.fr>**20070313210908]
[Modernise imports of Data.(Char|Int|List|Maybe).
Eric Kow <eric.kow at loria.fr>**20070313210805]
[Modernise imports of Control.Monad.
Eric Kow <eric.kow at loria.fr>**20070313205312]
[Modernise imports of System.Directory.
Eric Kow <eric.kow at loria.fr>**20070313205200]
[Correct compilation errors in win32 due to src reorganisation.
Eric Kow <eric.kow at loria.fr>**20070313210732]
[Move Haskell sources to src directory with hierarchical structure.
Eric Kow <eric.kow at loria.fr>**20070313200751
src
general modules, possibly to be spun off as non-darcs libraries
administrative stuff (e.g., modules generated by autoconf)
src/Darcs
darcs-specific modules, catch-all for modules I didn't know what
to do with
src/Darcs/Patch
core patch operations
src/Darcs/Repository
modules specific to the maintenance of the darcs repo, especially the _darcs
stuff
src/Darcs/Commands
the darcs commands, e.g. pull, record, whatsnew
]
[Move osx directory to src.
Eric Kow <eric.kow at loria.fr>**20070313200304]
[Move C files to src directory.
Eric Kow <eric.kow at loria.fr>**20070313200135]
[Add subdirectories for source files.
Eric Kow <eric.kow at loria.fr>**20070313194050]
[Extend GHCFLAGS override mechanism to allow for subdirectories.
Eric Kow <eric.kow at loria.fr>**20070313193917]
[In tests, don't assume diff has -u, -x flags.
Dave Love <fx at gnu.org>**20070305202838]
[Fixes for Solaris sh in tests: no $(...), test -e, or ! pipelines.
Dave Love <fx at gnu.org>**20070311170210]
[Fix conflicts related to --ssh-cm flag.
Eric Kow <eric.kow at loria.fr>**20070311205820]
[Fix test/ssh.sh conflicts.
Eric Kow <eric.kow at loria.fr>**20070311205156]
[Add changelog entries (file: quick) for pull --complement changes.
Kevin Quick <quick at sparq.org>**20070205185329]
[In tests, don't assume grep has -q and -x flags.
Dave Love <fx at gnu.org>**20070225114022]
[Fix bash-ism `export foo=' in tests.
Dave Love <fx at gnu.org>**20070225113216]
[Add send --output-auto-name information to the documentation.
Zachary P. Landau <kapheine at divineinvasion.net>**20070221014555]
[Add test for send --output-auto-name.
Zachary P. Landau <kapheine at divineinvasion.net>**20070221014501]
[Add --output-auto-name option to Send.
Zachary P. Landau <kapheine at divineinvasion.net>**20070221014327]
[More sed compliance on pull_compl test.
Eric Kow <eric.kow at loria.fr>**20070217073744]
[Fix pull_compl test sed compliance.
Kevin Quick <quick at sparq.org>**20070214033347]
[Add pull_compl test; note interesting duplicate repo elimination in docs.
Kevin Quick <quick at sparq.org>**20070206065236]
[change "current" to (or add) "pristine" in verbose message and doc
Tommy Pettersson <ptp at lysator.liu.se>**20070211191942]
[Resolve conflict between complement add and get_recorded_unsorted.
Kevin Quick <quick at sparq.org>**20070206071832]
[Added --complement to pull to allow "exclusion" repos
Kevin Quick <quick at sparq.org>**20070204181301]
[Correct test for quoted arguments in DARCS_EDITOR.
Eric Kow <eric.kow at loria.fr>**20070204211312
1) On MacOS X, grep lives in /usr/bin, not /bin
2) We shouldn't escape the double quotes because they're already protected
by the single quotes
]
[Restore working directory if no repository is found (issue385).
Zachary P. Landau <kapheine at divineinvasion.net>**20070203173440
seekRepo continues to go further up the directory tree looking for a
repository. If we are not in a repository, our current working directory
becomes /. This causes problems with code that falls back on creating
temporary files in the current directory. This patch will restore the
directory the user started in if seekRepo fails.
]
[refactor get_unrecorded.
David Roundy <droundy at darcs.net>**20070128231405
I've removed the [DarcsFlag] argument, and added two new functions
get_unrecorded_unsorted, and get_unrecorded_no_look_for_adds, which do what
they say. I think this simplifies its use, and cleans things up a tad. It
doesn't scale to many different ways to get_unrecorded, but I don't think
we want to go there.
]
[use (empty) opts to Repository in list_authors and make_changelog
Tommy Pettersson <ptp at lysator.liu.se>**20070128165840
They where left out in the opts Repository refactoring.
]
[fix bug triggered in replace.sh
David Roundy <droundy at darcs.net>**20070128002206
This bug was an annoying one that seemed to involve trouble caused by
unsafeInterleaveIO and the order of evaluation, since we change the working
directory. I've simplified the code significantly. Complicating the debug
process was a race condition caused by the lack of --ignore-times in
replace.sh, which was because darcs replace didn't accept that option.
]
[refactor: add opts into Repository.
David Roundy <droundy at darcs.net>**20070128000728]
[add test for replace that messes with unrecorded hunks
Tommy Pettersson <ptp at lysator.liu.se>**20070125153803]
[go back to using system for edit_file/view_file instead of exec (system 'cmd "$ARG"')
Benedikt Schmidt <beschmi at cloaked.de>**20070131162811]
[use TODO instead of pass for record_editor test
Benedikt Schmidt <beschmi at cloaked.de>**20070131161635]
[add some tests for edit_file and DARCS_EDITOR handling
Benedikt Schmidt <beschmi at cloaked.de>**20070131011526]
[Remove extraneous parentheses (RepoFormat).
Eric Kow <eric.kow at loria.fr>**20070127231359]
[make write_repo_format agree with read_repo_format (use | for separating properties)
Benedikt Schmidt <beschmi at cloaked.de>**20070126143752]
[Remove unused functions from Population.
Eric Kow <eric.kow at gmail.com>**20070107232034
The functions are not shown to be used by any other part of darcs.
Perhaps they should be restored if we ever get to work seriously on
libdarcs.
]
[Import IO.bracket instead of Control.Exception.bracket in Exec.
Eric Kow <eric.kow at loria.fr>**20070107211935
This makes darcs work on *nix the same way it did before Simon Marlow's
runProcess patch for Windows and my conflict-resolution tweaks.
]
[Import bracketOnError from Workaound instead of Control.Exception.
Eric Kow <eric.kow at gmail.com>**20061225212444
bracketOnError was introduced in GHC 6.6, whereas we want to support 6.4.1 and
higher.
]
[Fix conflicts and compile errors (Exec runProcess stuff).
Eric Kow <eric.kow at gmail.com>**20061225212423
Side A:
Simon Marlow: Use System.Process on Windows
Side B:
Edwin Thomson : Make Exec.lhs not import unneeded Control.Exception functions
when compiling on Windows.
Magnus Jonsson : Added rigorous error checking in exec
Compile errors in question were just import-related issues.
]
[Use System.Process on Windows
Simon Marlow <simonmar at microsoft.com>**20061129160710
This was an attempt to address "[issue218] Patch bundle failed hash",
but unfortunately it doesn't fix the problem. Still, System.Process
is a better way to invoke external commands these days.
For now, the new code only replaces the Windows version of exec. This
means that GHC 6.4 will be required to build darcs on Windows. Better
would be to add a configure test, but I ran out of time here.
]
[fix [issue370], darcs ignored args contained in VISUAL variable
Benedikt Schmidt <beschmi at cloaked.de>**20061220110807
given VISUAL="emacs -nw", darcs would run "emacs file" instead of
"emacs -nw file"
]
[Make annotate work on files with spaces in the name
edwin.thomson at businesswebsoftware.com**20061218094210
]
[Prettify exceptions in identifyRepository.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20061218025453]
[QP-encode bundles when putting to a remote repo.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20061218003034]
[fix pending bug in darcs get --tag.
David Roundy <droundy at darcs.net>**20061217225256
This patch addresses the bug displayed in Tommy's test:
Mon Dec 11 20:28:21 CET 2006 Tommy Pettersson <ptp at lysator.liu.se>
* add test for get --tag and pending
]
[fix issue360, with darcs mv foo foo.
David Roundy <droundy at darcs.net>**20061217212340]
[Separate comment from OPTIONS pragma for GHC 6.4 compatibility.
Eric Kow <eric.kow at gmail.com>**20061217041212
]
[Resolve conflicts in David's hashed_inventory optimize patches.
Eric Kow <eric.kow at loria.fr>**20061217031027
]
[Make hashed inventories support optimize and reordering.
David Roundy <droundy at darcs.net>**20061216193913]
[fix bug in haskell_policy check for HopefullyPrivate.
David Roundy <droundy at darcs.net>**20061210234453
Perhaps with this test, we can rename it to CertainlyPrivate? :)
]
[don't use HopefullyPrivate outside of Hopefully.
David Roundy <droundy at darcs.net>**20061210231623
The idea is to hide the Hopefully constructors, so I can hide some more
information in there, if I like, which should be handy for the hashed
inventories, and may also come in handy (for similar reasons) with git
repositories.
]
[change Maybe Patch to Hopefully Patch.
David Roundy <droundy at darcs.net>**20061210213536
This rather pervasive change move us to using a new Hopefully type, which
is similar to Either String for storing patches that may or may not exist.
This should improve error reporting. At a minimum it'll making easier to
improve error reporting.
]
[resolve conflict in white space.
David Roundy <droundy at darcs.net>**20061210211846]
[fix pending bug that broke several_commands.sh.
David Roundy <droundy at darcs.net>**20061209223916]
[make optimize less DarcsRepo-specific.
David Roundy <droundy at darcs.net>**20061209205755]
[eliminate DarcsRepo.am_in_repo.
David Roundy <droundy at darcs.net>**20061204153128
This patch is a Good Thing, even though repair and optimize don't yet
properly support anything bug old-fashioned repositories, because without
it, when using such repositories, one can find those command operating on a
different repository than intended (e.g. the test suite runs optimize on
the darcs repository itself). Now they'll fail as they ought to, when run
on a repo format they don't support.
]
[fix hashed inventory bug in add and prevent it happening again.
David Roundy <droundy at darcs.net>**20061204020823]
[make get and put reuse initialize code.
David Roundy <droundy at darcs.net>**20061203220833
This patch actually fixes put to properly accept and use any flags that
init accepts, which is a Good Thing. It also ensures that get behaves
consistently with init in the future. Also a Good Thing.
]
[make put work with hashed inventories (and test for this).
David Roundy <droundy at darcs.net>**20061203211141]
[fix new get to not mess up pending (fixes latest hashed_inventory.sh tests).
David Roundy <droundy at darcs.net>**20061203173722]
[add some more hashed_inventory.sh tests.
David Roundy <droundy at darcs.net>**20061203173207]
[fix more incompatible uses of DarcsRepo.
David Roundy <droundy at darcs.net>**20061203064355]
[make replace work with hashed inventories.
David Roundy <droundy at darcs.net>**20061203055452]
[Make get_tag test work with hashed inventories.
David Roundy <droundy at darcs.net>**20061203055019]
[make directory_confusion pass with hashed inventories.
David Roundy <droundy at darcs.net>**20061203035551
I'm not sure whether there is still a bug in the pending handling here, but
at least it doesn't crash...
]
[resolve conflicts
Tommy Pettersson <ptp at lysator.liu.se>**20061117222757
between 'clean up unrevert and pending handling'
and 'ignore failure from hSetBufferin'
]
[Resolve conflict in Resolution.lhs.
Eric Kow <eric.kow at loria.fr>**20061113032236
]
[External resolution can resolve conflicting adds
edwin.thomson at businesswebsoftware.com**20061106114755]
[Only copy files needed in external_resolution
edwin.thomson at businesswebsoftware.com**20061106114719]
[change message in 'darcs check' from "applying" to "checking" (issue147)
Tommy Pettersson <ptp at lysator.liu.se>**20061111154259]
[update annotate for hashed inventories
Jason Dagit <dagit at codersbase.com>**20061108033202
Fixes test suite failure for annotate on a repository with hashed inventory.
]
[make Get work with hashed inventory.
David Roundy <droundy at darcs.net>**20061101150901
This is inefficient, but it uses only the pre-existing refactored
functions, so it's the easiest approach. Later we can write an efficient
bit of code to do the same thing.
]
[make darcs check use Repository framework.
David Roundy <droundy at darcs.net>**20060927024514]
[fix parsing of hashed inventories.
David Roundy <droundy at darcs.net>**20060927024505]
[put Repository in Show class for debugging ease.
David Roundy <droundy at darcs.net>**20060927021202]
[add a bit of hashed inventory code.
David Roundy <droundy at darcs.net>**20060918173904]
[resolve conflicts
Tommy Pettersson <ptp at lysator.liu.se>**20061102184834
Merge Unrecord fix for checkpoints inventory with Repository code refactoring.
]
[Added --store-in-memory option for diff
edwin.thomson at businesswebsoftware.com**20061006122802
]
[Move RawMode into DarcsUtils to break cyclic imports on Win32
Josef Svenningsson <josef.svenningsson at gmail.com>**20061004120024]
[remove duplicate file names in fix_filepaths (fixes issue273)
Tommy Pettersson <ptp at lysator.liu.se>**20060929145335]
[add test for replace command with duplicated file name
Tommy Pettersson <ptp at lysator.liu.se>**20060929144008]
[Move bug reporting code to its own module.
Eric Kow <eric.kow at loria.fr>**20060928222826
Fixes circular dependency caused by David's unrevert cleanup (which moves
edit_file to DarcsUtil, thus causing it to depend on Exec) and Tommy's
exec patches (which add impossible.h to Exec, thus causing it to depend
on DarcsUtil).
]
[clean up unrevert and pending handling.
David Roundy <droundy at darcs.net>**20060917214136]
[Be explicit about timezone handling (issue220); assume local by default.
Eric Kow <eric.kow at gmail.com>**20060812102034
Except for the local timezone in the user interface, this patch is not
expected to change darcs's behaviour. It merely makes current practice
explicit:
- Assume local timezone when parsing date strings from the user
interface (previous behaviour was assuming UTC).
- Assume UTC timezone when parsing date strings from PatchInfo.
Newer patch date strings do *not* specify the timezone, so it
would be prudent to treat these as UTC.
- Disregard timezone information altogether when reading patch
dates (issue220). Note that this bug was not caused by assuming local
timezone, because legacy patch date strings explicitly tell you what
the timezone to use. The bug was caused by a patch that fixed
issue173 by using timezone information correctly. To preserve
backwards-compatability, we deliberatly replicate the incorrect
behaviour of overriding the timezone with UTC.
(PatchInfo.make_filename)
]
[Account for timezone offset in cleanDate (Fixes issue173).
Eric Kow <eric.kow at gmail.com>**20060610193049
]
[Fix merge conflicts.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060906191317]
[fix bug in pristine handling when dealing with multiple patches.
David Roundy <droundy at darcs.net>**20060731111404]
[fix ordering of operations to call pull_first_middles properly.
David Roundy <droundy at darcs.net>**20060730111409]
[fix bug in refactoring of get.
David Roundy <droundy at darcs.net>**20060726121655]
[refactor Population.
David Roundy <droundy at darcs.net>**20060716034837]
[add TODO for refactoring get_markedup_file.
David Roundy <droundy at darcs.net>**20060716034339]
[partial refactoring in annotate.
David Roundy <droundy at darcs.net>**20060716034319]
[don't use DarcsRepo in list_authors.
David Roundy <droundy at darcs.net>**20060716033450]
[I've now eliminated need to export DarcsRepo.write_patch.
David Roundy <droundy at darcs.net>**20060716033109]
[partially refactor Optimize.
David Roundy <droundy at darcs.net>**20060716032934]
[partial refactoring of Get.
David Roundy <droundy at darcs.net>**20060716031605]
[refactor amend-record.
David Roundy <droundy at darcs.net>**20060716021003]
[add TODO to refactor unrevert handling.
David Roundy <droundy at darcs.net>**20060716020247]
[refactor Unrecord, adding tentativelyRemovePatches.
David Roundy <droundy at darcs.net>**20060716015150]
[refactor tag.
David Roundy <droundy at darcs.net>**20060716011853]
[refactor Repository to allow truly atomic updates.
David Roundy <droundy at darcs.net>**20060716011245]
[TAG darcs-unstable-20060831
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060831191554]
[Test pull.pl, CREATE_DIR_ERROR: removed TODO now that directory name is printed in error message
Marnix Klooster <marnix.klooster at gmail.com>**20060304164033
Also removes a superfluous (and erroneous) chdir statement, which tried to
change to non-existing directory templ (last character was ell instead of one).
Also improves the description of this test.
]
[TAG 1.0.9
Tommy Pettersson <ptp at lysator.liu.se>**20070603213706]
Patch bundle hash:
31f7af08b4b60933ebab04a96b82fe468a3eb553
More information about the darcs-devel
mailing list