monotone

monotone Mtn Source Tree

Root/ChangeLog

12006-07-22 Nathaniel Smith <njs@pobox.com>
2
3* NEWS: Set date, and it turns out AUTOMATE() was there in
40.27...
5
62006-07-21 Nathaniel Smith <njs@pobox.com>
7
8* AUTHORS: Add Thomas Moschny and Zack Weinberg.
9
10* UPGRADE, monotone.spec, visualc/config.h, win32/monotone.iss:
11* debian/changelog: Bump to version 0.28.
12
132006-07-21 Nathaniel Smith <njs@pobox.com>
14
15* monotone.texi (Workspace): Make the Warnings about pluck more
16Dire.
17
182006-07-21 Nathaniel Smith <njs@pobox.com>
19
20* NEWS: Update for 0.28.
21* tests/netsync_over_pipes/__driver__.lua: Remove no-longer-needed
22--debug.
23
242006-07-21 Nathaniel Smith <njs@pobox.com>
25
26* roster.cc (print_to): It is perfectly valid to have an attr set
27to the empty string (which is why we have whole "full_attr"
28annoyance). Remove incorrect I().
29
302006-07-21 Nathaniel Smith <njs@pobox.com>
31
32* roster.cc (check_restricted_cset, editable_roster_for_check):
33Tweak comments.
34
352006-07-21 Nathaniel Smith <njs@pobox.com>
36
37* configure.ac: Go ahead and bump the version number, to make
38distcheck happy.
39
402006-07-21 Derek Scherger <derek@echologic.com>
41
42* roster.cc (mark_roster_with_one_parent): remove std:: prefix
43(editable_roster_for_check): new class for checking cset
44application
45(check_restricted_cset): convert check to use cset.apply_to with
46editable_roster_for_check
47* tests/restrictions_with_deletes: un-xfail
48* tests/restrictions_with_renames_and_adds: un-xfail
49
502006-07-21 Thomas Moschny <thomas.moschny@gmx.de>
51
52* monotone.texi: Document command aliases 'mv', 'ci' and 'ls',
53motivated by savannah bug report #16923.
54
552006-07-20 Matt Johnston <matt@ucc.asn.au>
56
57* monotone.texi: avoid "to to".
58
592006-07-20 Zack Weinberg <zackw@panix.com>
60
61* Makefile.am (run_lua_tests): In generated script, pass command
62line arguments down to tester, and exec it.
63
642006-07-19 Derek Scherger <derek@echologic.com>
65
66* tests/restrictions_with_deletes/: new test for bugs in
67check_restricted_cset
68* testsuite.lua: add it
69
702006-07-19 Timothy Brownawell <tbrownaw@gmail.com>
71
72* NEWS: It's been about a month since the last release. Collect
73important-looking things from the changelog.
74
752006-07-19 Zack Weinberg <zackw@panix.com>
76
77* constants.cc (illegal_path_bytes_arr, illegal_path_bytes): Delete.
78* constants.hh (illegal_path_bytes): Delete.
79* paths.cc (has_bad_chars): Code set of forbidden characters
80explicitly here.
81
822006-07-18 Zack Weinberg <zackw@panix.com>
83
84* revision.cc (print_insane_revision): New function.
85(print_revision, write_insane_revision): Use it.
86
872006-07-16 Timothy Brownawell <tbrownaw@gmail.com>
88
89* tests/dump_on_crash: New test; check that debug dumps work.
90* testsuite.lua: Add it. Also, supply --confdir in safe_mtn.
91
922006-07-16 Timothy Brownawell <tbrownaw@gmail.com>
93
94* cmd.hh: Declare a string commands::hidden_group, that can be given
95as the group name to make a command invisible.
96* commands.cc: Make it work and use it for a new command, "mtn crash".
97
982006-07-16 Timothy Brownawell <tbrownaw@gmail.com>
99
100* monotone.cc: If we don't have a workspace and no dump file is
101specified, set the dumpfile to $CONFDIR/dump . Not tested; that would
102seem to need a reliable (not-a-bug) way to make monotone crash.
103
1042006-07-16 Lapo Luchini <lapo@lapo.it>
105
106* po/it.po: Updated and translated a few more strings (53 to go).
107
1082006-07-16 Timothy Brownawell <tbrownaw@gmail.com>
109
110* tests/revert_--missing_in_subdir/__driver__.lua: Make it
111line-ending safe.
112
1132006-07-15 Derek Scherger <derek@echologic.com>
114
115* tester.txt: wrap long lines and fix a couple spelling errors
116
1172006-07-15 Richard Levitte <richard@levitte.org>
118
119* po/sv.po: A few fuzzies to clear.
120
1212006-07-15 Nathaniel Smith <njs@pobox.com>
122
123* tests/diff_output_formats/: Use --no-show-encloser in the places
124where it used to not use --show-encloser.
125
1262006-07-15 Matt Johnston <matt@ucc.asn.au>
127
128* boost/format/feed_args.hpp: cast buf.pcount() to size_type as well,
129fixes compiling with boost 1.32.0 for sarge
130
1312006-07-14 Nathaniel Smith <njs@pobox.com>
132
133* cmd_files.cc (diff):
134* cmd_diff_log.cc (fdiff): Oops, rename OPT_SHOW_ENCLOSER here
135too.
136
1372006-07-14 Nathaniel Smith <njs@pobox.com>
138
139* app_state.cc (diff_show_encloser): Default to true.
140* options.hh (OPT_SHOW_ENCLOSER): Rename to OPT_NO_SHOW_ENCLOSER.
141* monotone.cc (coptions): Adjust accordingly -- rename switches to
142--no-show-encloser and --no-show-c-function, remove -p.
143(cpp_main): Adjust accordingly.
144
1452006-07-14 Alex Queiroz <alex@ventonegro.org>
146
147* po/pt_BR.po: More strings translated.
148
1492006-07-14 Richard Levitte <richard@levitte.org>
150
151* po/sv.po: One new string.
152
1532006-07-14 Nathaniel Smith <njs@pobox.com>
154
155* tests/revert_--missing_in_subdir/: Un-XFAIL.
156
1572006-07-14 Nathaniel Smith <njs@pobox.com>
158
159* work.cc (find_missing): Take a restriction, instead of building
160one from command line args.
161(find_unknown_and_ignored): Similarly.
162* cmd_list.cc (ls_missing, ls_unknown_or_ignored):
163* cmd_ws_commit.cc (add, drop): Adjust accordingly.
164(revert): Re-do --missing handling to work correctly.
165
1662006-07-14 Nathaniel Smith <njs@pobox.com>
167
168* restrictions.cc: Take file_path's instead of utf8 strings; make
169it the cmd_* files's responsibility to convert user input into
170properly typed data.
171* cmd.hh (args_to_paths): Convenience function to make this
172easier.
173* cmd_ws_commit.cc, cmd_merging.cc, cmd_list.cc, cmd_diff_log.cc:
174Use it.
175
1762006-07-14 Nathaniel Smith <njs@pobox.com>
177
178* tests/revert_file_to_base_revision/: Expect a proper error
179message.
180
1812006-07-13 Alex Queiroz <alex@ventonegro.org>
182
183* po/pt_BR.po: Fixed fuzzy translations and removed old ones.
184
1852006-07-13 Nathaniel Smith <njs@pobox.com>
186
187* cmd_ws_commit.cc (revert): Only require some restriction be
188passed if --missing is not passed. Print a proper error message
189when no restriction is given.
190
1912006-07-13 Nathaniel Smith <njs@pobox.com>
192
193* cmd_ws_commit.cc: Remove tabs.
194
1952006-07-13 Zack Weinberg <zackw@panix.com>
196
197* Makefile.am: Add explicit dependencies of object files on
198generated headers, to prevent parallel make issues.
199
200* revision.cc: Rename revision_set to revision_t,
201make_revision_set to make_revision, read_revision_set to
202read_revision, write_insane_revision_set to write_insane_revision,
203and write_revision_set to write_revision.
204* roster.cc: Rename flip_revision_set to flip_revision.
205* automate.cc, cmd_diff_log.cc, cmd_merging.cc, cmd_ws_commit.cc
206* database.cc, database.hh, database_check.cc, enumerator.cc
207* merge.cc, netsync.cc, packet.cc, rcs_import.cc, revision.hh
208* roster.cc roster.hh, work.cc: Update to match.
209
2102006-07-13 Timothy Brownawell <tbrownaw@gmail.com>
211
212* netsync.cc (session::process_*): Replace "W(msg); return false;"
213with "error(msg);" in several places, so the other side gets told why
214the connection is being killed.
215
2162006-07-13 Nathaniel Smith <njs@pobox.com>
217
218* tests/restrictions_with_renames_and_adds/__driver__.lua:
219* tests/diff_shows_renames/__driver__.lua: Add notes on possible
220fixes for these bugs.
221
2222006-07-13 Nathaniel Smith <njs@pobox.com>
223
224* tests/diff_shows_renames/__driver__.lua: Tests for bug in diff
225rename handling.
226
2272006-07-13 Richard Levitte <richard@levitte.org>
228
229* po/sv.po: One new string and a few fuzzies to fix.
230
2312006-07-13 Nathaniel Smith <njs@pobox.com>
232
233* tests/restrictions_with_renames_and_adds/: Tests for bugs in
234check_restricted_cset.
235
2362006-07-13 Nathaniel Smith <njs@pobox.com>
237
238* tester.lua, tester.txt: Add plain 'xfail' convenience function.
239* tests/revert_--missing_in_subdir/: A bunch of revert --missing
240tests.
241* roster.cc (check_restricted_cset): Add some MM()'s.
242
2432006-07-13 Nathaniel Smith <njs@pobox.com>
244
245* monotone.texi (Tree): Remove documentation of --lca and
246explicit_merge-with-ancestor.
247
2482006-07-12 Nathaniel Smith <njs@pobox.com>
249
250* std_hooks.lua (get_encloser_pattern): Add regexes for texinfo
251and latex, and disable enclosers for pure text.
252* monotone.texi (Hooks): Mention that there are default,
253language-specific regexen.
254
2552006-07-12 Nathaniel Smith <njs@pobox.com>
256
257* std_hooks.lua: Remove tabs.
258
2592006-07-12 Nathaniel Smith <njs@pobox.com>
260
261* cmd_merging.cc (merge): Small tweaks.
262* tests/merge_multiple_heads_1/__driver__.lua: Correctly document
263old algorithm.
264
2652006-07-12 Timothy Brownawell <tbrownaw@gmail.com>
266
267* tests/diff_output_formats/__driver__.lua: Needs canonicalization.
268
2692006-07-11 Zack Weinberg <zackw@panix.com>
270
271* diff_patch.cc (struct hunk_consumer): Change type of
272encloser_last_match and encloser_last_search from ssize_t to
273vector<string>::const_reverse_iterator.
274(hunk_consumer constructor): Initialize them with a.rend().
275(hunk_consumer::find_encloser): Restructure to do less pointer
276arithmetic. Add some invariant checks.
277
2782006-07-11 Zack Weinberg <zackw@panix.com>
279
280* cmd_merging.cc (merge_two): New function.
281(CMD(merge)): Rewrite again - only merge one pair of heads on each
282pass. Also, skip all the work of finding a good choice if there
283are only two heads. Use merge_two.
284(CMD(explicit_merge)): Use merge_two.
285
2862006-07-11 Richard Levitte <richard@levitte.org>
287
288* po/sv.po: Two new strings to translate.
289
2902006-07-10 Derek Scherger <derek@echologic.com>
291
292* restrictions.cc (node_restriction::includes,
293path_restriction::includes): handle --depth with empty restriction
294(test_include_depth_0_empty_restriction): new test for depth with
295empty restriction
296* restrictions.cc (add_restrictions_tests): add it to the testsuite
297* sanity.hh (dump): new template function for dumping variables
298when fiddling around or debugging
299(DUMP): macro wrapper for new dump function
300
3012006-07-10 Zack Weinberg <zackw@panix.com>
302
303* tests/diff_output_formats: Merge from mainline. Correct
304expected output where necessary. Use long switches in __driver__.lua.
305* diff_patch.cc (hunk_consumer::find_encloser): Use
306reverse_iterators instead of mucking with ssize_t.
307(unidiff_hunk_writer::flush_hunk)
308(ctxdiff_hunk_writer::flush_hunk): Scan what is about to be
309output, and give find_encloser exactly the right position.
310(make_diff): Collapse the overload that takes vectors of strings
311into its sole caller, the other overload. * diff_patch.hh: Remove
312prototype for deleted overload of make_diff.
313
3142006-07-10 Zack Weinberg <zackw@panix.com>
315
316* tests/database_is_closed_on_signal_exit/__driver__.lua: Invert
317sense of SIGSEGV test - expect database *not* to be cleaned up,
318consistent with main.cc. Remove xfail.
319
3202006-07-10 Zack Weinberg <zackw@panix.com>
321
322* configure.ac: Add test and workaround for gcc 4.1.[01] bug
323causing link to fail with a pile of multiple-definition errors.
324* .mtn-ignore: Add aclocal.m4 and all the files in m4/ that
325autoreconf --install likes to create.
326
3272006-07-10 Zack Weinberg <zackw@panix.com>
328
329* po/de.po, po/fr.po, po/it.po, po/ja.po, po/pt_BR.po: Re-msgmerge'd.
330
3312006-07-10 Richard Levitte <richard@levitte.org>
332
333* po/sv.po: A string got changed...
334
3352006-07-09 Nathaniel Smith <njs@pobox.com>
336
337* cmd_merging.cc (pluck): Restrictions support.
338* tests/pluck_restricted/__driver__.lua: New test.
339
3402006-07-09 Nathaniel Smith <njs@pobox.com>
341
342* roster.cc (check_sane_against): Take a temp_nodes_ok arg.
343(mark_roster_with_one_parent): Pass it.
344
3452006-07-09 Nathaniel Smith <njs@pobox.com>
346
347* cmd_merging.cc (pluck): Restructure to handle nids correctly.
348* tests/pluck_lifecycle/__driver__.lua: Fix and un-xfail.
349* roster.hh (make_roster_for_base_plus_cset): Fix typo.
350
3512006-07-08 Nathaniel Smith <njs@pobox.com>
352
353* roster.cc (mark_roster_with_no_parents)
354(mark_roster_with_one_parent): New functions.
355Plus tests, etc.
356
3572006-07-08 Nathaniel Smith <njs@pobox.com>
358
359* cmd_merging.cc (pluck): Check that revisions exist before using
360them.
361
3622006-07-08 Richard Levitte <richard@levitte.org>
363
364* cmd_files.cc (CMD(fdiff)): Make the synopsis match the
365convention used in the rest of the commands.
366* po/sv.po: Translate the new string.
367
3682006-07-08 Richard Levitte <richard@levitte.org>
369
370* po/sv.po: New string and a few fuzzies.
371
3722006-07-08 Matthew Gregan <kinetik@orcon.net.nz>
373
374* tests/pluck_lifecycle/__driver__.lua: New XFAILed test for a
375minor pluck bug.
376* testsuite.lua: Add it.
377
3782006-07-07 Zack Weinberg <zackw@panix.com>
379
380* diff_patch.cc: Add commentary on cxtdiff_hunk_writer algorithm.
381(cxtdiff_hunk_writer::advance_to): Flush pending mods before computing
382whether we need to make a new hunk.
383(unidiff_append_test): Remove.
384* cmd_files.cc (CMD(fdiff)): New debugging command.
385* tests/diff_output_formats: New test.
386* tests/(minor)_context_diff: Remove stub.
387* testsuite.lua: Update to match.
388
3892006-07-07 Timothy Brownawell <tbrownaw@gmail.com>
390
391* contrib/ChangeLog.sh: Make it work from anywhere in a workspace,
392not just the workspace root.
393
3942006-07-07 Nathaniel Smith <njs@pobox.com>
395
396* diff_patch.cc (make_diff): Add more notes on how diffs are
397interpreted.
398
3992006-07-07 Nathaniel Smith <njs@pobox.com>
400
401* diff_patch.cc (make_diff): Add notes on how 5 different diff
402parsing tools interpret diff headers.
403
4042006-07-07 Nathaniel Smith <njs@pobox.com>
405
406* cmd_diff_log.cc (dump_diffs): Oops again.
407
4082006-07-07 Nathaniel Smith <njs@pobox.com>
409
410* cmd_diff_log.cc (dump_diffs): Oops, fix typos.
411
4122006-07-07 Nathaniel Smith <njs@pobox.com>
413
414* diff_patch.cc (make_diff): Add a version that does a bit more
415work.
416* cmd_diff_log.cc (dump_diffs): Use it to simplify this code.
417
4182006-07-07 Nathaniel Smith <njs@pobox.com>
419
420* cmd_diff_log.cc: Remove tabs.
421
4222006-07-07 Nathaniel Smith <njs@pobox.com>
423
424* lcs.cc (_longest_common_subsequence): Trivial whitespace tweak.
425
4262006-07-07 Nathaniel Smith <njs@pobox.com>
427
428* cmd_merging.cc (pluck): Remove pointless call to
429maybe_update_inodeprints.
430
4312006-07-07 Timothy Brownawell <tbrownaw@gmail.com>
432
433* tester.cc: Add a newline to the help message.
434* tester.txt: Add a brief overview at the beginning.
435
4362006-07-06 Nathaniel Smith <njs@pobox.com>
437
438* tests/inodeprints/__driver__.lua: Add some sleep()s, so that the
439clever new inodeprints logic does not notice we are changing
440things very quickly and turn itself off.
441
4422006-07-06 Timothy Brownawell <tbrownaw@gmail.com>
443
444* Makefile.am: distcheck isn't happy that run_lua_tests doesn't get
445removed by distclean. I think it needs to be in DISTCLEANFILES ?
446
4472006-07-06 Timothy Brownawell <tbrownaw@gmail.com>
448
449Make 'mtn help' and 'mtn --help' exit with status 0 instead of 2.
450* app_state.{cc,hh}: requested_help is now in app_state
451* monotone.cc: requested_help is now in app_state. Also, check this
452when catching a usage, and exit with 0 instead of 2 if it's set.
453* commands.cc (CMD(help)): Set app.requested_help.
454* tests/basic_invocation_and_options/__driver__.lua:
455* tests/check_that_--xargs_and_-(at)_behave_correctly/__driver__.lua:
456* tests/empty_environment/__driver__.lua:
457* tests/test_the_help_command/__driver__.lua:
458Update to expect the new exit code.
459
4602006-07-06 Nathaniel Smith <njs@pobox.com>
461
462* unix/inodeprint.cc (inodeprint_file): Add some clever logic
463inspired by Martin Pool, to be somewhat more robust against clock
464issues. This should be ported to win32, but I don't know how; I
465also have no earthly idea how to test this new code.
466
4672006-07-06 Nathaniel Smith <njs@pobox.com>
468
469* cmd_merging.cc (pluck): Write a note to _MTN/log after each
470pluck.
471* tests/pluck_basics/__driver__.lua: Test for it.
472
4732006-07-07 Richard Levitte <richard@levitte.org>
474
475* po/sv.po: A new string to translate
476
4772006-07-06 Timothy Brownawell <tbrownaw@gmail.com>
478
479* tests/common/cvs.lua: Sleep after running CVS.
480* tester.lua: Adjust command handling somewhat, so the above works.
481* tests/*cvs*/__driver__.lua: Remove any sleep(1) lines. This is now
482handled automatically.
483
4842006-07-06 Timothy Brownawell <tbrownaw@gmail.com>
485
486* tests/importing_cvs_branches_with_correct_ancestory/__driver__.lua:
487Move a sleep(). Maybe it'll work reliably now?
488
4892006-07-06 Timothy Brownawell <tbrownaw@gmail.com>
490
491* tests/fail_cleanly_on_unreadable__MTN_options/__driver__.lua:
492Monotone now checks that it was given a command before it looks at
493_MTN. So, check that "mtn status" fails properly, instead of just "mtn".
494
4952006-07-06 Timothy Brownawell <tbrownaw@gmail.com>
496
497* tester.cc: New function, does approximately "chmod -R u+rwx".
498* tester.lua: Use this on things we copy from the test dir to the
499scratch dir. This should fix the failures on the distcheck buildbots.
500* tests/importing_cvs_with_vendor_imports_and_branches/__driver__.lua:
501* tests/importing_cvs_files_with_identical_logs/__driver__.lua:
502Add sleep() s between some of the CVS operations.
503
5042006-07-06 Alex Queiroz <alex@ventonegro.org>
505
506* po/pt_BR.po: Fuzzies cleared and more strings translated.
507
5082006-07-06 Richard Levitte <richard@levitte.org>
509
510* po/sv.po: Another fuzzy.
511
5122006-07-06 Richard Levitte <richard@levitte.org>
513
514* cmd_merging.cc (CMD(pluck)): A message said 'cherrypatch' when
515it should say 'pluck'.
516* po/sv.po: New strings to translate and a few fuzzies that needed
517changing.
518
5192006-07-05 Nathaniel Smith <njs@pobox.com>
520
521* tests/checking_a_few_command_specific_options/__driver__.lua
522(output): Fix test to actually work.
523
5242006-07-05 Nathaniel Smith <njs@pobox.com>
525
526* monotone.cc (cpp_main): Tyop in previous commit.
527
5282006-07-05 Nathaniel Smith <njs@pobox.com>
529
530* commands.cc (complete_command):
531* monotone.cc (cpp_main): Minor code cleanups.
532
5332006-07-05 Nathaniel Smith <njs@pobox.com>
534
535* tests/checking_a_few_command_specific_options/__driver__.lua:
536Add test for minor bug reported by Marcin 'hrw' Juszkiewicz.
537
5382006-07-05 Timothy Brownawell <tbrownaw@gmail.com>
539
540* tests/importing_cvs_branches_with_correct_ancestory/__driver__.lua:
541Add some sleep() s to (try to) fix intermittent failures, apparently
542caused by CVS using only timestamps for change detection.
543
5442006-07-05 Nathaniel Smith <njs@pobox.com>
545
546* diff_patch.cc (get_ancestral_roster): Update comment and add an
547invariant.
548
5492006-07-05 Timothy Brownawell <tbrownaw@gmail.com>
550
551* diff-patch.cc: Apply njs's patch to fix crash.
552* tests/merge_conflict_with_no_lca/__driver__.lua: Remove xfail.
553
5542006-07-05 Timothy Brownawell <tbrownaw@gmail.com>
555
556* tests/merge_conflict_with_no_lca: We don't want to crash when
557a merge has a content conflict but no lca.
558
5592006-07-05 Timothy Brownawell <tbrownaw@gmail.com>
560
561* randomfile.hh (file_randomizer::build_random_fork): When generating
562two consecutive 'insert' hunks where the inserts occur on opposite
563sides of the fork, insert spacer lines between the hunks. This
564prevents it from generating some real conflicts that were making some
565of the unit_tests (which expect cleanly mergable files) fail.
566
5672006-07-05 Timothy Brownawell <tbrownaw@gmail.com>
568
569* tester.lua: Use open_or_err more.
570
5712006-07-04 Alex Queiroz <alex@ventonegro.org>
572
573* po/pt_BR.po: A few more strings translated.
574
5752006-07-04 Timothy Brownawell <tbrownaw@gmail.com>
576
577* tester.cc: When setting env vars, don't take .c_str() of a temporary.
578
5792006-07-04 Graydon Hoare <graydon@pobox.com>
580
581* cmd_automate.cc: Fix for VC8 compatibility.
582* netxx_pipe.cc: Minor cleanups.
583* visualc/*.vcproj: Build fixes.
584
5852006-07-04 Graydon Hoare <graydon@pobox.com>
586
587* randomizer.{cc,hh}: Remove seed function.
588* randomfile.hh: Remove use of seed().
589* diff_patch.cc: Remove seeding arg from tester.
590
5912006-07-04 Graydon Hoare <graydon@pobox.com>
592
593* randomizer.{cc,hh}: New helpers for prngs.
594* Makefile.am (MOST_SOURCES): Add them.
595* charset.cc: Fix some missing initializers in unit tests.
596* randomfile.hh: Use randomizer, not rand().
597* roster.cc: Likewise.
598* refiner.{cc,hh}: Add random unit tester,
599and fix serious protocol-wedging bug.
600* unit_tests.{cc,hh}: Register refiner tests.
601
6022006-07-19 Thomas Moschny <thomas.moschny@gmx.de>
603
604* tests/automate_tags: Some basic tests for automate tags.
605* testsuite.lua: Activated new test.
606
6072006-07-04 Thomas Moschny <thomas.moschny@gmx.de>
608
609* automate.cc (AUTOMATE(tags)): New function: List all tags in
610basic_io format, possibly filtered by branch.
611* monotone.texi (Automation): Description of the new added.
612
6132006-07-02 Roberta Lazzeri <ripley@lapo.it>
614
615* po/it.po: Translated a few more strings to Italian (42 to go).
616
6172006-07-02 Timothy Brownawell <tbrownaw@gmail.com>
618
619* tester.txt: Short descriptions of the functions provided for use
620by testsuites.
621* testsuite.txt: Short descriptions of the functions provided for
622use by tests.
623
6242006-07-01 Thomas Moschny <thomas.moschny@gmx.de>
625
626* automate.cc (AUTOMATE(branches)): New function, almost similar
627to ls branches.
628* cmd_automate.cc (interface_version): Incremented.
629* monotone.texi (Automation): Description of the new command added.
630* tests/automate_branches/: Testing the new command.
631* testsuite.lua: Activated new test.
632
6332006-06-30 Thomas Moschny <thomas.moschny@gmx.de>
634
635* contrib/monotone.zsh_completion: New function
636 _mtn_files_changed, used by _mtn_commit and _mtn_revert. Renamed
637 and updated mtn_files_unmaintained. Minor fixes.
638
6392006-06-29 Thomas Moschny <thomas.moschny@gmx.de>
640
641* contrib/monotone.zsh_completion: Bugfix: completion for 'mtn ci'
642used _mtn_checkout(). Directory completion for --keydir and
643--confdir. Revised _mtn_commit(). Redirecting stderr to /dev/null
644while completing branches or known files.
645
6462006-06-28 Matthew Gregan <kinetik@orcon.net.nz>
647
648* hash_map.hh: %s/_T/T/g; _T is reserved for the implementation,
649and attempting to use it results in compile failures on OS X 10.3.
650
6512006-06-24 Richard Levitte <richard@levitte.org>
652
653* Changelog: Convert all CRLF to LF.
654* po/sv.po: A few more fuzzies to correct.
655
6562006-06-24 Lapo Luchini <lapo@lapo.it>
657
658* po/it.po: Updated and translated a few more strings (63 to go).
659Removed quotes around revision values.
660* app_state.cc, revision.cc, work.cc: removed a newline.
661
6622006-06-24 Thomas Moschny <thomas.moschny@gmx.de>
663
664* contrib/monotone.zsh_completion: Recommend installation into
665/usr/share/zsh/site-functions, as suggested by Steven E. Harris
666<seh@panix.com>. Add a note about per-user installation.
667
6682006-06-24 Matthew Gregan <kinetik@orcon.net.nz>
669
670* visualc/config.h: Bump version number to 0.27.
671* monotone.cc (cpp_main): Fix another 'monotone' vs 'mtn' in
672command output.
673* roster.cc (update_current_roster_from_filesystem): Use prog_name
674here too.
675
6762006-06-24 Marcel van der Boom <marcel@hsdev.com>
677
678* roster.cc (update_current_roster_from_filesystem): Change
679'monotone' to 'mtn' in an error message.
680
6812006-06-24 Thomas Moschny <thomas.moschny@gmx.de>
682
683* contrib/monotone.zsh_completion: Replace references to
684'monotone' with 'mtn'. Allow more than one standard option on the
685command line.
686
6872006-06-22 Richard Levitte <richard@levitte.org>
688
689* testsuite.lua: Make sure to set all NLS environment variables
690to "C", so tests don't fail when the default locale is non-
691english.
692
6932006-06-21 Matthew Gregan <kinetik@orcon.net.nz>
694
695* tests/empty_environment/__driver__.lua: Fix test on Cygwin--copy
696essential DLLs into current directory before emptying $PATH.
697* win32/monotone.iss: Remove hardcoded paths that were
698accidentally left in after debugging.
699
7002006-06-20 Matthew Gregan <kinetik@orcon.net.nz>
701
702* hash_map.hh: Add a specialization for unsigned long; fixes build
703on Cygwin/GCC 3.4. Thanks to Lapo Luchini for the original patch.
704* win32/monotone.iss: Add monotone logo to wizard (generated from
705figures/monotone-logo.svg). Sanity check key ID, branch name, and
706workspace path.
707* Makefile.am: Include win32/modpath.iss in EXTRA_DIST.
708
7092006-06-20 Alex Queiroz <alex@ventonegro.org>
710
711* po/pt_BR.po: Fixed remaining fuzzies.
712
7132006-06-20 Nathaniel Smith <njs@pobox.com>
714
715* tester.lua (open_or_err): New function.
716(pre_cmd): Use it. It should probably be used much more widely,
717but I'm not sure what I'm doing yet...
718
7192006-06-20 Nathaniel Smith <njs@pobox.com>
720
721* INSTALL: Update a little bit, in particular, give a newer boost
722download link in response to complaint on mailing list, and put
7231.9 version number on automake command line.
724
7252006-06-20 Nathaniel Smith <njs@pobox.com>
726
727* configure.ac: Remove autotest-related configury.
728Add magic AM_INIT_AUTOMAKE options to make tar handle the long
729filenames in the new test suite (automake 1.9 is now required).
730
7312006-06-20 Nathaniel Smith <njs@pobox.com>
732
733* Makefile.am (EXTRA_DIST): The auto* gods demand sacrifice;
734remove an extra / to balance previous change.
735(NB: apparently a trailing / on a directory in EXTRA_DIST does
736bizarre things.)
737Also, remove empty files tests/atconfig.in, tests/atlocal.in.
738
7392006-06-19 Nathaniel Smith <njs@pobox.com>
740
741* Makefile.am (EXTRA_DIST): Add missing \.
742
7432006-06-19 Nathaniel Smith <njs@pobox.com>
744
745* Makefile.am (EXTRA_DIST, BUILT_SOURCES_CLEAN):
746* database.hh, database.cc: Remove old dead views stuff.
747
7482006-06-20 Richard Levitte <richard@levitte.org>
749
750* po/sv.po: A fuzzy to clear.
751
7522006-06-20 Richard Levitte <richard@levitte.org>
753
754* cmd_automate.cc (AUTOMATE(interface_version),AUTOMATE(stdio)),
755cmd_list.cc (AUTOMATE(keys)): Don't send an empty string to
756gettext. Here's what xgettext said:
757
758cmd_automate.cc:68: warning: Empty msgid. It is reserved by GNU gettext:
759 gettext("") returns the header entry with
760 meta information, not the empty string.
761cmd_automate.cc:209: warning: Empty msgid. It is reserved by GNU gettext:
762 gettext("") returns the header entry with
763 meta information, not the empty string.
764cmd_list.cc:539: warning: Empty msgid. It is reserved by GNU gettext:
765 gettext("") returns the header entry with
766 meta information, not the empty string.
767
768I'm quite sure we don't want the header entry printed...
769
7702006-06-19 Alex Queiroz <alex@ventonegro.org>
771
772* po/pt_BR.po: Fixed several fuzzy translations.
773
7742006-06-19 Richard Levitte <richard@levitte.org>
775
776* Makefile.am (EXTRA_DIST): Make sure that all the files in
777examples/ get properly distributed as well.
778
7792006-06-19 Nathaniel Smith <njs@pobox.com>
780
781* cmd_automate.cc: #include <boost/function.hpp>, as requested in
782bug #16866 for boost 1.32.0 compatibility.
783
7842006-06-19 Derek Scherger <derek@echologic.com>
785
786* automate.cc (inventory): use path_restriction
787* cmd_diff_log.cc (diff,log):
788* cmd_list.cc (ls_known,ls_changed):
789* cmd_ws_commit.cc (revert,status,commit): use node_restrictions
790* restrictions.{cc,hh} (restriction): subclass into ...
791(node_restriction): ... this, operating on roster nodes and
792validated against roster paths
793(path_restriction): ... and this, operating on split paths and
794validated against workspace paths ; the unit_tests currently
795create directories {x,y}/{x,y} wherever they run to pass workspace
796path validation and this should probably be cleaned up
797* roster.{cc,hh} (make_restricted_csets,
798update_current_roster_from_filesystem,
799extract_path_set): use node_restrictions
800* work.{cc,hh} (find_missing): use node_restriction
801(find_unknown_and_ignored): use path_restriction
802* tests/ls_unknown_of_unknown_subdir/__driver__.lua: un-xfail
803and add output checks
804
8052006-06-18 Derek Scherger <derek@echologic.com>
806
807* cmd_ws_commit.cc (checkout): replace size check with call to
808workspace_root
809* paths.{cc,hh} (workspace_root): new function to test if a
810split_path is the workspace root
811* roster.cc (extract_path_set): replace size check with call to
812workspace_root
813
8142006-06-18 Ethan Blanton <elb@elitists.net>
815
816* std_hooks.lua: Call the lua function get_mtn_command(host)
817from get_netsync_connect_command in order to determine the
818monotone command on the remote host.
819* monotone.texi: Document get_mtn_command, update the
820get_netsync_connect_command definition to incorporate it.
821
8222006-06-17 Graydon Hoare <graydon@pobox.com>
823
824* Makefile.am: Permit building 'tester' with static boost.
825
8262006-06-17 Derek Scherger <derek@echologic.com>
827
828* testsuite.lua: fix references to renamed tests
829
8302006-06-17 Derek Scherger <derek@echologic.com>
831
832* tests/README: add a couple of notes on where to find test logs
833
8342006-06-17 Derek Scherger <derek@echologic.com>
835
836* tests/'heads':
837* tests/heads:
838* tests/'heads'_with_discontinuous_branches:
839* tests/heads_with_discontinuous_branches:
840* tests/trust_hooks_and_'trusted'_command:
841* tests/trust_hooks_and_trusted_command:
842rename tests to play nicer with find and xargs
843
8442006-06-17 Derek Scherger <derek@echologic.com>
845
846* tests/ls_unknown_of_unknown_subdir: new xfail test
847* testsuite.lua: insert in tests table
848
8492006-06-17 Timothy Brownawell <tbrownaw@gmail.com>
850
851* cmd.hh, commands.cc: Modify how command parameters description
852strings are handled.
853* cmd_automate.cc, cmd.hh: Use this to make the parameters for
854each automate subcommand be a parameter of the ATUOMATE() macro,
855instead of all being a big block in the automate command.
856* automate.cc, cmd_list.cc, cmd_automate.cc: Update AUTOMATE() usage.
857
8582006-06-18 Richard Levitte <richard@levitte.org>
859
860* po/sv.po: One new untranslated string and a couple of fuzzies.
861
8622006-06-17 Nathaniel Smith <njs@pobox.com>
863
864* configure.ac, debian/changelog, monotone.spec:
865* win32/monotone.iss, NEWS, UPGRADE: Bump version numbers to
8660.27.
867
8682006-06-17 Timothy Brownawell <tbrownaw@gmail.com>
869
870(see bug #15995, asking for a more comprehensive automate command set)
871Start splitting up automate.cc . There is now an AUTOMATE() macro in
872cmd.hh , similar to the CMD() macro. Individual automate commands can
873share a file with similar command-line commands, and many commands can
874be factored into an implementation with CMD() and AUTOMATE() wrappers
875to format input/output.
876* cmd.hh: Add stuff needed to define a new automate command.
877* cmd_automate.cc: This gets automate infrastructure similar to
878what commands.cc is for command-line commands. And automate stdio.
879* cmd_list.cc: "keys" and "certs" automate commands go here
880* automate.hh: No longer needed.
881* automate.cc: use AUTOMATE() macro for the automate commands that
882haven't got a new home yet.
883
8842006-06-16 Richard Levitte <richard@levitte.org>
885
886* examples/display_branches.lua: Enhanced to display how many
887times each branch cert appeared.
888
8892006-06-14 Alex Queiroz <alex@ventonegro.org>
890
891* monotone.texi: Added a trick about reusing code from the default
892hooks using Lua closures.
893
8942006-06-13 Derek Scherger <derek@echologic.com>
895
896* cmd_list.cc (ls_changed): roster friendly rewrite using existing
897select_nodes_modified_by_cset
898
8992006-06-12 Derek Scherger <derek@echologic.com>
900
901* cmd_merging.cc (get_roster): allow no arguments and default to
902value in _MTN/revision
903* std_hooks.lua: switch temporary file names from mt.XXX to
904mtn.XXX; update attr function docs; add java class files to
905standard ignore hook
906
9072006-06-11 Lapo Luchini <lapo@lapo.it>
908
909* po/it.po: Updated and translated a few more strings (68 to go).
910
9112006-06-10 Richard Levitte <richard@levitte.org>
912
913* po/sv.po: Clear 2 fuzzies. Change a %s to %d, corresponding to
914Lapo's change below.
915
9162006-06-09 Lapo Luchini <lapo@lapo.it>
917
918* database.cc: corrected a '%s' in a '%d', removed a couple of '\n'.
919* po/it.po: Updated and translated a few more strings (71 to go).
920
9212006-06-08 Matthew Gregan <kinetik@orcon.net.nz>
922
923* visualc/sqlite3.vcproj: Let SQLite build find our config.h.
924
9252006-06-08 Matt Johnston <matt@ucc.asn.au>
926
927* inodeprint.cc: convert to basic_io format.
928Silently skips reading old format files, then writes
929out the new format as per usual. Old mtn versions
930have no format checking so will read the (nonsensical)
931new format file without errors.
932
9332006-06-08 Matt Johnston <matt@ucc.asn.au>
934
935* boost/format/feed_args.hpp: 0 needs to be unsigned.
936* vocab.cc: #undef EXTERN before #defining it again
937
9382006-06-07 Patrick Mauritz <oxygene@studentenbude.ath.cx>
939
940* cert.cc:
941* charset.cc:
942* commands.cc:
943* keys.cc:
944* lua.cc:
945* netsync.cc:
946* netxx_pipe.cc:
947* rcs_import.cc:
948* schema_migration.cc:
949* simplestring_xform.cc:
950* txt2c.cc:
951* xdelta.cc: add some more using std::* directives.
952* boost/format/feed_args.hpp: std::streamsize might be signed
953
9542006-06-07 Matthew Gregan <kinetik@orcon.net.nz>
955
956* Makefile.am: Add new SQLite sources.
957* sqlite/*: Import SQLite 3.3.6.
958* Makefile.am, configure.ac: Test for fdatasync and usleep.
959
9602006-06-07 Nathaniel Smith <njs@pobox.com>
961
962* netxx_pipe.cc (simple_pipe_test): Another test failure,
963another klugey #ifdef...
964
9652006-06-07 Graydon Hoare <graydon@pobox.com>
966
967* netxx_pipe.cc (simple_pipe_test): Attempt to fix broken unit
968test.
969
9702006-06-05 Graydon Hoare <graydon@pobox.com>
971
972* sanity.{cc,hh}: Specialize formatters to number types.
973* NEWS: Mention some optimizations.
974
9752006-06-05 Matt Johnston <matt@ucc.asn.au>
976
977* NEWS: fix ssh:// syntax to match what works
978
9792006-06-04 Derek Scherger <derek@echologic.com>
980
981* NEWS: fix version typo
982
9832006-06-04 Nathaniel Smith <njs@pobox.com>
984
985* NEWS: Draft release notes for 0.27.
986
9872006-06-04 Nathaniel Smith <njs@pobox.com>
988
989* HACKING (Tip): Add some tips on tracking down unit test
990failures.
991
9922006-06-04 Richard Levitte <richard@levitte.org>
993
994* m4/ac_compile_check_sizeof.m4, m4/acx_pthread.m4: Updates
995contributed by Peter Simons <simons@cryp.to>.
996
9972006-06-03 Graydon Hoare <graydon@pobox.com>
998
999* *.{cc,hh}: Update editor mode lines.
1000
10012006-06-03 Graydon Hoare <graydon@pobox.com>
1002
1003* *.{cc,hh}: Update copyright notices.
1004
10052006-06-04 Richard Levitte <richard@levitte.org>
1006
1007* po/sv.po: Lots of fuzzies to fix.
1008
10092006-06-03 Graydon Hoare <graydon@pobox.com>
1010
1011* std_hooks.lua (merge3_xxdiff_cmd): Fix typo.
1012* cmd_diff_log.cc (dump_diffs): Undo overzealous removal of '\n'.
1013
10142006-06-03 Graydon Hoare <graydon@pobox.com>
1015
1016* {cert,charset,cleanup,cmd*}.{cc,hh}: Coppyright and formatting
1017fixes.
1018
10192006-06-03 Lapo Luchini <lapo@lapo.it>
1020
1021* *.cc *.hh: removed extra "\n" from translatable strings.
1022removed trailing spaces.
1023
1024* po/it.po: Updated to the new newline-less strings.
1025
10262006-06-03 Matthew Gregan <kinetik@orcon.net.nz>
1027
1028* win32/os_strerror.cc (os_strerror): Trim trailing newlines from
1029error string returned from FormatMessage.
1030
1031* sanity.{cc,hh} (format_base): Add dtor to delete pimpl.
1032
10332006-06-02 Lapo Luchini <lapo@lapo.it>
1034
1035* po/it.po: Updated and translated a few more strings (95 to go).
1036
10372006-06-02 Roberta Lazzeri <ripley@lapo.it>
1038
1039* po/it.po: Translated a few more and fuzzy strings to Italian (90 to go).
1040
10412006-06-01 Matthew Gregan <kinetik@orcon.net.nz>
1042
1043* visualc/monotone.vcproj: Add win32/os_strerror.cc to project.
1044
10452006-05-30 Richard Levitte <richard@levitte.org>
1046
1047* HACKING: A small correction about namespaces.
1048
10492006-05-29 Derek Scherger <derek@echologic.com>
1050
1051* HACKING: add note on using namespaces
1052* ROADMAP: remove janitorial items pertaining to namespaces and
1053splitting commands.cc
1054
10552006-05-29 Richard Levitte <richard@levitte.org>
1056
1057* po/sv.po: A new string to translate.
1058
10592006-05-29 Richard Levitte <richard@levitte.org>
1060
1061* std_hooks.lua (merge3_*_cmd): Make all the merge3 merge helpers
1062check the returned exit code of the merge program and generate an
1063error message if it fails.
1064(execute_confirm): Don't output an error message, that's the
1065caller's responsability.
1066(merge3): Follow the way the check of exit code is done elsewhere.
1067
10682006-05-29 Richard Levitte <richard@levitte.org>
1069
1070* std_hooks.lua (merge3): Check the exit code from the merging
1071program to detect failure. We could do that by strictly checking
1072if the output file exists, but since some programs, like meld,
1073don't produce a specific output file, that method is unsafe.
1074(execute_confirm): Check the exit code from the execute call,
1075and tell the user if something went wrong.
1076
10772006-05-28 Graydon Hoare <graydon@pobox.com>
1078
1079* AUTHORS: Minor touchups.
1080* ChangeLog: Fix capitalization.
1081* annotate.{cc,hh}:
1082* app_state.{cc,hh}:
1083* automate.{cc,hh}:
1084* lcs.cc:
1085* basic_io.{cc,hh}: Cosmetic and copyright fixes.
1086* configure.ac: Permit PCH for 4.* not 4.0*.
1087* cert.cc:
1088* charset.cc:
1089* cmd_diff_log.cc:
1090* cmd_merging.cc:
1091* cmd_ws_commit.cc:
1092* database.cc:
1093* ui.hh:
1094* unix/get_system_flavour.cc:
1095* xdelta.cc: Purge boost::format uses.
1096* sanity.{cc,hh}: Hide boost::format in pimpl.
1097
10982006-05-28 Derek Scherger <derek@echologic.com>
1099
1100* app_state.cc:
1101* charset.cc:
1102* cmd.hh:
1103* cmd_automate.cc:
1104* cmd_files.cc:
1105* cmd_key_cert.cc:
1106* cmd_list.cc:
1107* cmd_merging.cc:
1108* cmd_othervcs.cc:
1109* cmd_ws_commit.cc:
1110* commands.cc:
1111* database.cc:
1112* diff_patch.cc:
1113* keys.cc:
1114* restrictions.cc:
1115* restrictions.hh:
1116* revision.cc:
1117* schema_migration.cc:
1118* string_queue.cc:
1119* transforms.cc:
1120* txt2c.cc:
1121* update.cc:
1122* work.cc:
1123* xdelta.cc:
1124more namespace fixups
1125
11262006-05-28 Richard Levitte <richard@levitte.org>
1127
1128* po/sv.po: A few new and fuzzy strings to (re)translate.
1129
11302006-05-28 Matt Johnston <matt@ucc.asn.au>
1131
1132* std_hooks.lua (get_netsync_connect_command): quote patterns
1133so that remote shells won't expand them.
1134
11352006-05-28 Matthew Gregan <kinetik@orcon.net.nz>
1136
1137* visualc/config.h: Fix build: add typedef needed by recent
1138os_strerror changes.
1139* netxx_pipe.cc (Netxx::PipeCompatibleProbe::add): Compile fix for
1140Win32.
1141* win32/fs.cc (rename_clobberingly_impl): Fix crash with
1142VC8--calling convention for MoveFileEx was not correct (we
1143defaulted to cdecl, should have been using stdcall).
1144
1145* win32/monotone.iss: First pass at rewriting InnoSetup file for
1146modern versions of IS.
1147* win32/modpath.iss: Add Jared Breland's GPL-licensed IS script
1148for portable %PATH% modification.
1149
11502006-05-27 Matthew Gregan <kinetik@orcon.net.nz>
1151
1152* {unix,win32}/os_strerror.cc, platform.hh: Add OS-specific
1153wrapper around strerror().
1154* Makefile.am: Add new files.
1155* configure.ac: Define os_err_t based on detected OS.
1156* {unix,win32}/{fs,process}.cc, file_io.cc: Use new strerror
1157wrapper.
1158
1159* netxx/{resolve_gethostbyname,sockopt}.cxx: A couple more error
1160reporting cleanups.
1161
11622006-05-28 Graydon Hoare <graydon@pobox.com>
1163
1164* visualc/monotone.vcproj: Fix for package revision generation
1165(still not capturing workspace changes, but base rev)
1166
11672006-05-28 Graydon Hoare <graydon@pobox.com>
1168
1169* netcmd.cc: Fix build breakage in unit tests.
1170
11712006-05-28 Graydon Hoare <graydon@pobox.com>
1172
1173* app_state.cc (search_root): Initialize to current_root_path().
1174* paths.{cc,hh} (current_root_path): New function.
1175* win32/get_system_flavour.cc (processor_types): Fix typo.
1176
11772006-05-28 Lapo Luchini <lapo@lapo.it>
1178
1179* po/it.po: Translated a few more strings to Italian (105 to go).
1180
11812006-05-27 Derek Scherger <derek@echologic.com>
1182
1183* annotate.cc:
1184* app_state.cc:
1185* automate.cc:
1186* basic_io.cc:
1187* cert.cc:
1188* charset.cc:
1189* cmd_automate.cc:
1190* cmd_db.cc:
1191* cmd_diff_log.cc:
1192* cmd_list.cc:
1193* cmd_merging.cc:
1194* cmd_netsync.cc:
1195* cmd_packet.cc:
1196* cmd_ws_commit.cc:
1197* commands.cc:
1198* constants.cc:
1199* crypto_tests.cc:
1200* cset.cc:
1201* database.cc:
1202* database_check.cc:
1203* diff_patch.cc:
1204* enumerator.cc:
1205* epoch.cc:
1206* file_io.cc:
1207* globish.cc:
1208* hmac.cc:
1209* inodeprint.cc:
1210* key_store.cc:
1211* keys.cc:
1212* lcs.cc:
1213* legacy.cc:
1214* lua.cc:
1215* lua_hooks.cc:
1216* main.cc:
1217* merge.cc:
1218* merkle_tree.cc:
1219* mkstemp.cc:
1220* monotone.cc:
1221* mt_version.cc:
1222* netcmd.cc:
1223* netsync.cc:
1224* packet.cc:
1225* paths.cc:
1226* rcs_file.cc:
1227* rcs_import.cc:
1228* refiner.cc:
1229* revision.cc:
1230* roster.cc:
1231* roster_merge.cc:
1232* sanity.cc:
1233* schema_migration.cc:
1234* selectors.cc:
1235* simplestring_xform.cc:
1236* ui.cc:
1237* unit_tests.cc:
1238* vocab.cc:
1239* vocab_macros.hh:
1240* work.cc:
1241* xdelta.cc:
1242namespace fixups as described in the ROADMAP
1243
12442006-05-28 Richard Levitte <richard@levitte.org>
1245
1246* po/sv.po: Update two fuzzies.
1247
12482006-05-27 Derek Scherger <derek@echologic.com>
1249
1250* paths.cc (find_and_go_to_workspace): ensure that the current
1251directory is below the specified --root; issue a warning and abort
1252the search if it's not
1253* tests/t_invalid_root.at: new test
1254* testsuite.at: call it
1255
12562006-05-27 Derek Scherger <derek@echologic.com>
1257
1258* tests/t_invalid_root.at:
1259
12602006-05-27 Lapo Luchini <lapo@lapo.it>
1261
1262* po/it.po: Translated a few more strings to Italian (116 to go).
1263* netxx/resolve_gethostbyname.cxx: Reverted what I think was an
1264unwanted replace in r:0f1782f7e2348f991a0b8eeac03c45a72c8633a2
1265
12662006-05-26 Derek Scherger <derek@echologic.com>
1267
1268* automate.cc (automate_get_manifest_of, automate_get_file):
1269* cmd_merging.cc (get_roster): use roster_data instead of generic
1270data
1271* database.{cc,hh} (get_roster): rename to ...
1272(get_roster_version): ... this and move to a better spot
1273(put_roster): use roster_data
1274* database_check.cc (check_rosters_manifest,
1275check_rosters_marking): use roster_data
1276* roster.{cc,hh} (read_roster_and_marking,
1277write_roster_and_marking, write_manifest_of_roster,
1278calculate_ident, do_testing_on_one_roster, tests_on_two_rosters,
1279write_roster_test):
1280* transforms.{cc,hh} (calculate_ident): use roster_data
1281* vocab.cc: add dump template for roster_data
1282* vocab.hh: add roster_data typedef
1283* vocab_terms.hh: instantiate roster_data template, add
1284roster_data operator<<
1285
12862006-05-25 Matthew Gregan <kinetik@orcon.net.nz>
1287
1288* cmd_merging.cc (CMD(update)): Report branch switch after
1289reporting updated files so that the user is less likely to miss
1290the message.
1291
1292* netxx/osutil.cxx: Mark string table static const. Trim any
1293trailing line feeds from message returned from FormatMessage.
1294
1295* netxx/osutil.h: error_type is a DWORD on Win32.
1296
12972006-05-25 Derek Scherger <derek@echologic.com>
1298
1299* database.{cc,hh} (exists): indentation fix
1300(roster_version_exists, roster_exists_for_revision,
1301get_roster_links, get_roster_ids, delete_existing_rev_and_certs,
1302get_roster_id_for_revision, get_roster, put_roster):
1303* database_check.cc (check_rosters_manifest,
1304check_rosters_marking, check_roster_links, check_revisions,
1305report_rosters, check_db): replace hexenc<id> with roster_id
1306* transforms.{cc,hh} (calculate_ident): new roster_id variant
1307* vocab.cc (dump): new roster_id variant
1308* vocab.hh: typedef roster_id
1309* vocab_terms.hh: roster_id template instantiations
1310
13112006-05-24 Derek Scherger <derek@echologic.com>
1312
1313* cmd_merging.cc (merge_into_dir): use the_null_node rather than 0
1314
13152006-05-24 Matthew Gregan <kinetik@orcon.net.nz>
1316
1317* win32/get_system_flavour.cc: Report service pack number, if any
1318is installed. While here, make a few other tweaks based on
1319documentation in MSDN.
1320* win32/fs.cc: Add win32_strerror() and use it in
1321rename_clobberingly() rather than displaying a raw error number to
1322the user.
1323* netxx/osutil.{cxx,h}: Add OS-specific strerror function. This
1324continues to call strerror() on POSIX, and tries using
1325FormatMessage() and a built-in error message table on Win32.
1326* netxx/{accept,datagram,peer,probe_select,recvfrom}.cxx,
1327netxx/{resolve_gethostbyname,serverbase,socket,sockopt}.cxx,
1328netxx/{streambase,streamserver}.cxx: s/strerror/Netxx::str_error/g.
1329
13302006-05-23 Timothy Brownawell <tbrownaw@gmail.com>
1331
1332* tester.cc tester.lua: New files, which will eventually become a
1333new testsuite system.
1334* Makefile.am: Break sanity.* and dependencies out as
1335SANITY_CORE_SOURCES. Break lua.* and non-sanity dependencies out
1336as LUAEXT_SOURCES. Right now these are just included into MOST_SOURCES,
1337maybe compile them into .a files later? New target tester also
1338uses these.
1339
13402006-05-23 Richard Levitte <richard@levitte.org>
1341
1342* po/sv.po: A fuzzy to change.
1343
13442006-05-22 Graydon Hoare <graydon@pobox.com>
1345
1346* cmd_netsync.cc (serve): Make --no-transport-auth require --stdio.
1347
13482006-05-22 Graydon Hoare <graydon@pobox.com>
1349
1350* Makefile.am: Add uri.{cc,hh}.
1351* app_state.{cc,hh} (use_transport_auth): New state variable.
1352* cmd_netsync.cc (serve): Support use_transport_auth.
1353* constants.hh (netcmd_minsz): Remove dead byte count related to adler32.
1354* hmac.{cc,hh} (active): New state variable.
1355* lua.{cc,hh} (lua_hooks::hook_get_netsync_connect_command):
1356(lua_hooks::hook_use_transport_auth): New hooks.
1357* monotone.cc: Support --no-transport-auth.
1358* monotone.texi: Document all this stuff.
1359* netcmd.cc: Predicate hmac activity on hmac.is_active().
1360* netsync.cc: Parse URIs via lua, optionally disable transport auth.
1361* options.hh (OPT_NO_TRANSPORT_AUTH): New option.
1362* std_hooks.lua (get_netsync_connect_command):
1363(use_transport_auth): New default definitions.
1364* tests/t_netsync_pipe.at: New test.
1365* testsuite.at: Add new hooks and t_netsync_pipe.at.
1366* unit_tests.{cc,hh}: Support URI tests.
1367* uri.{cc,hh}: New files.
1368
13692006-05-22 Timothy Brownawell <tbrownaw@gmail.com>
1370
1371* file_io.{cc,hh} localized_file_io.{cc,hh}: Split off the functions
1372that use lua_hooks (to get localization settings) into a separate file.
1373* Makefile.am: Adjust for having new files.
1374* roster.cc work.cc diff_patch.cc cmd_diff_log.cc:
1375* cmd_files.cc cmd_ws_commit.cc: Adjust includes.
1376
13772006-05-22 Timothy Brownawell <tbrownaw@gmail.com>
1378
1379* transforms.{cc,hh} charset.{cc,hh} simplestring_xform.{cc,hh}:
1380Split up transforms.cc . Hex, base64, gzip, and ident stay in
1381transforms. Simple string stuff (no botan or idna) goes in
1382simplestring_xform. Charset stuff goes in charset.
1383* Makefile.am unit_tests.{cc,hh}: Adjust for having new files.
1384* 20 others: Adjust includes.
1385
13862006-05-22 Timothy Brownawell <tbrownaw@gmail.com>
1387
1388* work.{cc,hh} constants.{cc,hh}: Move attribute strings to constants.
1389* transforms.cc: Include constants.hh instead of work.hh .
1390* annotate.cc diff_patch.cc crypto_tests.cc: Fix includes.
1391
13922006-05-22 Timothy Brownawell <tbrownaw@gmail.com>
1393
1394* transforms.{cc,hh} revision.{cc,hh} roster.{cc,hh} file_io.{cc,hh}:
1395Move calculate_ident for revision_set and roster to those files. Move
1396calulate_ident for files to file_io.
1397* 10 others: Fix includes.
1398
13992006-05-22 Timothy Brownawell <tbrownaw@gmail.com>
1400
1401Do not include cert.hh from vocab.hh .
1402* vocab_macros.hh vocab.{cc,hh} cert.{cc,hh}: Move the type definition
1403macros to vocab_macros.hh, and move revision<cert> and manifest<cert>
1404to cert.{cc,hh} .
1405* Makefile.am: Adjust for having a new file.
1406* 12 others: Fix includes that relied on cert.hh being included
1407by vocab.hh .
1408
14092006-05-21 Timothy Brownawell <tbrownaw@gmail.com>
1410
1411Split lua.cc into two files: lua_hooks.cc gets the lua_hooks class
1412and the one callback that needs an app_state, lua.cc gets everything
1413else.
1414* lua.{cc,hh}: Rename to lua_hooks.{cc,hh}. Move almost everything
1415except the lua_hooks class to...
1416* lua.{cc,hh}: New files.
1417* Makefile.am: Adjust accordingly.
1418* app_state.hh file_io.cc keys.cc transforms.hh: Adjust includes to
1419account for rename.
1420
14212006-05-21 Richard Levitte <richard@levitte.org>
1422
1423* po/sv.po: Correct a translation that was clearly cut and pasted
1424but never changed. What was I thinking?
1425
14262006-05-21 Richard Levitte <richard@levitte.org>
1427
1428* debian/changelog: Updated from the latest Debian release.
1429
14302006-05-20 Graydon Hoare <graydon@pobox.com>
1431
1432* figures/monotone-logo.svg: Add.
1433
14342006-05-20 Derek Scherger <derek@echologic.com>
1435
1436* automate.cc: add basic_io symbols
1437(hook_get_revision_cert_trust, automate_certs): push symbols
1438(automate_keys): push symbols and hexenc's
1439* basic_io.{cc,hh}
1440(is_xdigit, is_alpha, is_alnum, is_space): move to vocab.hh
1441(push_hex_pair, push_hex_triple, push_str_pair, push_file_pair,
1442push_str_multi, push_str_triple, print_stanza): use symbol and
1443hexenc<id> in place of strings to avoid repeated/redundant
1444validations which account for 4% of the client profile of a fresh
1445pull of the monotone db
1446* cset.cc (print_cset): push symbols and hexenc's
1447* legacy.cc (read_dot_mt_attrs, extract_renames,
1448get_manifest_and_renames_for_rev): parse symbols
1449* revision.cc (print_edge, print_stanza): push symbols and hexenc's
1450* roster.cc (push_marking, print_to): push symbols and hexenc's
1451* vocab.cc (is_xdigit): move to vocab.hh
1452(verify): new verification for symbol type
1453* vocab.hh (is_xdigit, is_alpha, is_alnum, is_space): add functions
1454from basic_io.hh
1455* vocab_terms.hh (symbol): new ATOMIC type for basic_io symbols
1456which allow only [a-zA-Z0-9_]
1457
14582006-05-21 Timothy Brownawell <tbrownaw@gmail.com>
1459
1460Split lua.cc into two files: lua_hooks.cc gets the lua_hooks class
1461and the one callback that needs an app_state, lua.cc gets everything
1462else.
1463* lua.{cc,hh}: Rename to lua_hooks.{cc,hh}. Move almost everything
1464except the lua_hooks class to...
1465* lua.{cc,hh}: New files.
1466* Makefile.am: Adjust accordingly.
1467* app_state.hh file_io.cc keys.cc transforms.hh: Adjust includes to
1468account for rename.
1469
14702006-05-21 Richard Levitte <richard@levitte.org>
1471
1472* po/sv.po: Correct a translation that was clearly cut and pasted
1473but never changed. What was I thinking?
1474
14752006-05-21 Richard Levitte <richard@levitte.org>
1476
1477* debian/changelog: Updated from the latest Debian release.
1478
14792006-05-20 Graydon Hoare <graydon@pobox.com>
1480
1481* figures/monotone-logo.svg: Add.
1482
14832006-05-19 Richard Levitte <richard@levitte.org>
1484
1485* ui.cc (tick_write_count::write_ticks): Simplify the condition
1486to check if the count width needs to be changed.
1487
14882006-05-19 Richard Levitte <richard@levitte.org>
1489
1490* ui.hh (struct ticker), ui.cc (tick_write_count::ticker,
1491ticker::write_ticks): Keep track of the last total we were given
1492and recalculate the counter width each time we detect a change in
1493total. The reason is that the counter is sometimes display even
1494though the real total isn't figured out yet, which gives the old
1495stepwise increase of counter size instead of doing it in one go
1496when we have the real total.
1497
14982006-05-19 Richard Levitte <richard@levitte.org>
1499
1500* tests/t_quiet.at: Test that --quiet doesn't suppress warnings.
1501* tests/t_reallyquiet.at: New file. Test that --reallyquiet
1502suppresses progress meters and warnings.
1503* testsuite.at: Add t_reallyquiet.at.
1504
15052006-05-19 Richard Levitte <richard@levitte.org>
1506
1507* automate.cc (automate_certs): Change a warning disguised as a
1508progress meter into a real warning.
1509
1510* po/sv.po: Retranslate two fuzzies.
1511
15122006-05-19 Timothy Brownawell <tbrownaw@gmail.com>
1513
1514* tests/t_quiet.at: --quiet now allows warnings to still be printed
1515
15162006-05-19 Timothy Brownawell <tbrownaw@gmail.com>
1517
1518* sanity.cc: second sanity::set_quiet should be sanity::set_reallyquiet
1519
15202006-05-19 Richard Levitte <richard@levitte.org>
1521
1522* monotone.cc, options.hh, sanity.cc, sanity.hh: Do not suppress
1523warnings when --quiet is given. Add --reallyquiet which does
1524suppress warnings as well as everything that --quiet suppresses.
1525
15262006-05-18 Richard Levitte <richard@levitte.org>
1527
1528* po/sv.po: Forgot to unfuzzy a string.
1529
15302006-05-19 Matthew Gregan <kinetik@orcon.net.nz>
1531
1532* monotone.cc (cpp_main): Smarter stripping of ".exe" extension.
1533
15342006-05-18 Matthew Gregan <kinetik@orcon.net.nz>
1535
1536* testsuite.at, t_merge_lca.at: Rename to t_merge_7.at, tweak
1537comments to reflect that this used to test --lca, but now is
1538simply another merge test.
1539
15402006-05-18 Nathaniel Smith <njs@pobox.com>
1541
1542* options.hh, app_state.cc, monotone.cc:
1543* cmd_merging.cc (merge, propagate, merge_into_dir): Remove
1544OPT_LCA option.
1545
15462006-05-17 Richard Levitte <richard@levitte.org>
1547
1548* po/sv.po: Another fuzzy to re-translate.
1549
15502006-05-16 Timothy Brownawell <tbrownaw@gmail.com>
1551
1552* automate.cc: Uncomment automate_common_ancestors.
1553* tests/t_automate_common_ancestors.at, testsuite.at: Test it.
1554* monotone.texi: Document it.
1555* cmd_automate.cc: Add it to the command description for automate.
1556
15572006-05-17 Matt Johnston <matt@ucc.asn.au>
1558
1559* paths.cc (internal_string_to_split_path): move from cset.hh to
1560here, make it share the path splitting with fully_normalized_path().
1561(has_bad_chars): use lookup table to check bad chars.
1562(bad_component): don't compare string vs char* every time.
1563* roster.cc, cset.hh: internal_string_to_split_path changes
1564* vocab.cc (verify(hexenc<id>): .empty() rather than == ""
1565
15662006-05-16 Matt Johnston <matt@ucc.asn.au>
1567
1568* roster.cc (parse_from): don't use lexical_cast, avoid copying a
1569marking_t.
1570
15712006-05-15 Matt Johnston <matt@ucc.asn.au>
1572
1573* cmd_diff_log (log, dump_diffs): limit diffs to restricted files,
1574updated for new restrictions code.
1575* tests/t_log_diffs.at: A test for log --diffs
1576
15772006-05-14 Derek Scherger <derek@echologic.com>
1578
1579* database.cc (info): allow any number of rows to be returned from
1580query of next_roster_node_number
1581* tests/t_db_init_info.at: new test of info on a new database
1582* testsuite.at: call it
1583
15842006-05-14 Graydon Hoare <graydon@pobox.com>
1585
1586* netsync.cc: Fix invariant typo.
1587* merkle_tree.hh: Remove unused equal_to struct.
1588* hash_map.hh: Correct for Microsoft hash_map assumption
1589that the binary functor in the traits class is an order,
1590not just an equality predicate.
1591
15922006-05-14 Graydon Hoare <graydon@pobox.com>
1593
1594* netxx_pipe.{cc,hh}: Various cleanups to build on unix.
1595* netsync.cc (drop_session_associated_with_fd): New helper,
1596and use it everywhere we did sessions.erase() before.
1597
15982006-05-13 Graydon Hoare <graydon@pobox.com>
1599
1600* netsync.cc, netxx/probe.h, netxx_pipe.{cc,hh}: Adaptation of
1601Christof Petig's PipeStream work, with heavy modifications; seems
1602to work under win32 / visualc8 now.
1603
1604* options.hh (OPT_STDIO): New option.
1605* app_state.{cc,hh} (bind_stdio): Store it.
1606* monotone.cc (cpp_main): Parse it.
1607* cmd_netsync.cc (serve): Accept --stdio option for 'serve'.
1608* platform.hh (munge_argv_into_cmdline): Export on win32.
1609* win32/process.cc (munge_argv_into_cmdline): Make non-static.
1610* unit_tests.{cc,hh}: Add tests for pipes.
1611* visualc/monotone.vcproj: Add netxx_pipe.{cc,hh}
1612* Makefile.am: Likewise.
1613
16142006-05-13 Christof Petig <christof@petig-baender.de>
1615
1616(Originally from 2004-06-18, on a different branch)
1617
1618* netsync.cc:
1619(struct session): use PipeStream, pair of sockets
1620(find_wordend,parse_ssh_url): helper functions to parse an URL
1621(call_server): recognize ssh: and file: URLs
1622(serve_stdio): variant of serve_connections for stdio
1623(run_netsync_protocol): call serve_stdio if address is -
1624
16252006-05-14 Lapo Luchini <lapo@lapo.it>
1626
1627* po/it.po: Translated a few more strings to Italian (115 to go).
1628
16292006-05-14 Richard Levitte <richard@levitte.org>
1630
1631* po/sv.po: A fuzzy to correct.
1632
16332006-05-13 Matthew Gregan <kinetik@orcon.net.nz>
1634
1635* tests/t_automate_get_current_revision_id.at: Canonicalise output
1636before comparison--fixes test on Win32.
1637
16382006-05-13 Matt Johnston <matt@ucc.asn.au>
1639
1640* cmd_diff_log (log): don't get the roster unless we have restrictions.
1641
16422006-05-13 Timothy Brownawell <tbrownaw@gmail.com>
1643
1644* netsync.cc: (process_hello_cmd) Build our merkle tries after
1645replying to the server.
1646(call_server, serve_connections) Use instant timeout for our streams.
1647Looking at the netxx code, it appears that reads will select() using
1648the stream's timeout. Regardless of whether the stream has been set
1649non-blocking.
1650(call_server) Move maybe_step and maybe_say_goodbye to before we arm
1651the session.
1652(write_netcmd_and_try_flush) Uncomment the {read,write}_some calls.
1653
16542006-05-12 Nathaniel Smith <njs@pobox.com>
1655
1656* monotone.texi: Re-sync the two copyright blocks.
1657
16582006-05-12 Derek Scherger <derek@echologic.com>
1659
1660* testsuite.at (test_hooks.lua): ignore testsuite.log files
1661
16622006-05-12 Derek Scherger <derek@echologic.com>
1663
1664* database.cc (begin_transaction): ensure there are no pending
1665writes when a transaction begins
1666(rollback_transaction): clear any pending writes before rolling
1667back a transaction
1668
16692006-05-12 Derek Scherger <derek@echologic.com>
1670
1671* automate.cc (automate_get_base_revision_id,
1672automate_get_current_revision_id): new functions
1673(automate_command): call them
1674* cmd_automate.cc (automate): fix indentation and add entries for
1675new commands
1676* monotone.texi: document new commands
1677* tests/t_automate_get_base_revision_id.at:
1678* tests/t_automate_get_current_revision_id.at: new tests
1679* testsuite.at: call them
1680
16812006-05-12 Timothy Brownawell <tbrownaw@gmail.com>
1682
1683* lua.hh: Remove unused, unimplemented template lua_hooks::call_hook.
1684
16852006-05-12 Matt Johnston <matt@ucc.asn.au>
1686
1687* netsync.cc (process_hello_cmd): ask for passphrase before
1688doing merkle tree things.
1689
16902006-05-12 Matt Johnston <matt@ucc.asn.au>
1691
1692* merkle_tree.cc (bitset_to_prefix): use strings directly
1693rather than ostringstream for getting bitset blocks, ~10%
1694cpu time improvement for empty pull.
1695
16962006-05-12 Graydon Hoare <graydon@pobox.com>
1697
1698* xdelta.cc (apply_delta): Tolerate 0-length instructions.
1699
17002006-05-11 Patrick Mauritz <oxygene@studentenbude.ath.cx>
1701
1702* roster.cc: include proper header for srand, rand and prefix
1703srand, rand, search with std:: for sunpro
1704
17052006-05-11 Graydon Hoare <graydon@pobox.com>
1706
1707* xdelta.cc (read_num): New function.
1708(apply_delta): Rewrite to avoid string streams.
1709
17102006-05-10 Roberta Lazzeri <ripley@lapo.it>
1711
1712* po/it.po: Translated a few more strings to Italian (140 to go).
1713
17142006-05-09 Graydon Hoare <graydon@pobox.com>
1715
1716* xdelta.cc (copied_extent::operator<): Fix ordering bug which
1717caused an unfortunate degradation in inverse delta quality,
1718particularly on ChangeLogs.
1719
17202006-05-09 Derek Scherger <derek@echologic.com>
1721
1722* packet.cc (consume_file_delta): remove redundant file delta
1723verification
1724
17252006-05-09 Derek Scherger <derek@echologic.com>
1726
1727* automate.cc (automate_inventory): remove invalid assertion
1728* cmd_diff_log.cc (log): check for null revision id rather than
1729missing revision id
1730* commands.cc: remove unnecessary #include
1731(help): fix indentation
1732* netsync.cc: remove stale comment
1733
17342006-05-08 Roberta Lazzeri <ripley@lapo.it>
1735
1736* po/it.po: Changed translation of 'directory' to 'directory'.
1737
17382006-05-07 Roberta Lazzeri <ripley@lapo.it>
1739
1740* po/it.po: Translated a few more strings to Italian (148 to go).
1741
17422006-05-07 Graydon Hoare <graydon@pobox.com>
1743
1744* database.{cc,hh} (pending_writes): New fulltext write buffer,
1745gives about 20% performance gain on initial pull.
1746(database::have_pending_write): Helper function.
1747(database::load_pending_write): Likewise.
1748(database::cancel_pending_write): Likewise.
1749(database::schedule_write): Likewise.
1750(database::exists): Modify to use buffer.
1751(database::put_version): Likewise.
1752(database::put_file): Likewise.
1753(database::put_roster): Likewise.
1754
17552006-05-06 Lapo Luchini <lapo@lapo.it>
1756
1757* po/it.po: Translated a few more strings to Italian (162 to go).
1758
17592006-05-06 Richard Levitte <richard@levitte.org>
1760
1761* po/sv.po: New string to translate.
1762
17632006-05-06 Richard Levitte <richard@levitte.org>
1764
1765* INSTALL: Warn people not to run "make check" as root, since it
1766will cause failure of the tests. I jave no idea if there's any
1767such possiblity on Windows, someone else will have to fill that
1768in.
1769
17702006-05-06 Timothy Brownawell <tbrownaw@gmail.com>
1771
1772* database_check.cc (check_db_integrity_check): Replace F with FL.
1773
17742006-05-06 Nathaniel Smith <njs@pobox.com>
1775
1776Patch contributed by 'zecke'.
1777* database.cc (check_integrity):
1778* database_check.cc (check_db_integrity_check): Add a call to
1779PRAGMA integrity_check to 'db check'.
1780
17812006-05-05 Richard Levitte <richard@levitte.org>
1782
1783* po/sv.po: Retranslate a few changed strings.
1784
17852006-05-05 Nathaniel Smith <njs@pobox.com>
1786
1787* database.cc (info): Include count of total nodes allocated in
1788this db in 'db info' output.
1789
17902006-05-04 Nathaniel Smith <njs@pobox.com>
1791
1792* ChangeLog: fix whitespace.
1793
17942006-05-04 Nathaniel Smith <njs@pobox.com>
1795
1796* cmd_files.cc (annotate): Check whether file exists.
1797* tests/t_annotate.at: Test this check.
1798
17992006-05-04 Matt Johnston <matt@ucc.asn.au>
1800
1801* work.cc (editable_working_tree::apply_delta): filename argument
1802was missing for E() format string.
1803
18042006-05-02 Richard Levitte <richard@levitte.org>
1805
1806* po/sv.po: A few new strings to translate.
1807
18082006-05-02 Matthew Nicholson <matt@matt-land.com>
1809
1810* monotone.texi (Composite selectors): Added note about escaping in
1811selectors.
1812
18132006-05-02 Richard Levitte <richard@levitte.org>
1814
1815* commands.cc (commands::complete_command): Make sure to catch the
1816case of a unknown command, and treat it as a naughty.
1817
18182006-05-01 Nathaniel Smith <njs@pobox.com>
1819
1820* cmd_merging.cc (update): Hopefully clarify messages in the
1821different cases where target branch differs from current branch.
1822* tests/t_update_off_branch.at: Test all paths.
1823* ui.cc (warn): Use prefix_lines_with and mark "warning:" for
1824translation.
1825
18262006-05-01 Matthew Gregan <kinetik@orcon.net.nz>
1827
1828* win32/terminal.cc (have_smart_terminal): Simplify smart terminal
1829detection, since it doesn't really work anyway. We'll now default
1830to smart almost everywhere (except inside environments with
1831TERM=dumb or TERM=emacs). Users can override this with
1832--ticker=(dot|none) if need be.
1833
1834* win32/fs.cc (get_current_working_dir): Strip trailing backslash
1835from path, if present. Fixes bug #16442.
1836
18372006-05-01 Timothy Brownawell <tbrownaw@gmail.com>
1838
1839* automate.cc: "automate common_ancestors" was committed accidentally.
1840Comment it out until tests/documentation are ready.
1841
18422006-04-30 Graydon Hoare <graydon@pobox.com>
1843
1844* xdelta.{cc,hh} (invert_xdelta): New function.
1845* database.{cc,hh} (database::get_arbitrary_file_delta): Add.
1846(database::put_file_version): Use invert_xdelta.
1847* netsync.cc (session::note_file_delta):
1848Use get_arbitrary_file_delta.
1849
18502006-04-29 Richard Levitte <richard@levitte.org>
1851
1852* po/sv.po: Updated a fuzzy.
1853
18542006-04-29 Matt Johnston <matt@ucc.asn.au>
1855
1856* vocab.hh: removing superfluous string("") constructor shrinks mtn
1857binary by >100kB (from Benoît Dejean)
1858
18592006-04-28 Matthew Nicholson <matt@matt-land.com>
1860
1861* tests/t_escaped_selectors.at: Added. Tests escaped selectors.
1862* testsuite.at: Added t_escaped_selectors.at.
1863
18642006-04-28 Alex Queiroz <alex@ventonegro.org>
1865
1866* po/pt_BR.po: Translated more strings.
1867
18682006-04-28 Graydon Hoare <graydon@pobox.com>
1869
1870* contrib/color-logs.sh: Update to 'mtn'.
1871* enumerator.{cc,hh}: Expose parent map, cache certs.
1872* netsync.cc: Use caches in enumerator and refiners.
1873* refiner.hh (local_item_exists): New helper.
1874
18752006-04-28 Matthew Gregan <kinetik@orcon.net.nz>
1876
1877* database.cc (query::query): Allow query to be constructed
1878without an initial SQL command.
1879* database.cc (database::complete): Replace use of boost::format
1880with query; building the query.sql_cmd as we go. Fixes potential
1881SQL injection attacks.
1882
18832006-04-28 Alex Queiroz <alex@ventonegro.org>
1884
1885* po/pt_BR.po: Translated even more strings.
1886
18872006-04-27 Matthew Nicholson <matt@matt-land.com>
1888
1889* selectors.cc (parse_selector): Change boost::char_separator to
1890boost::escaped_list_separator to support branch names containing '/'.
1891
18922006-04-27 Timothy Brownawell <tbrownaw@gmail.com>
1893
1894* std_hooks.lua: Remove default validate_commit_message hook.
1895
18962006-04-27 Timothy Brownawell <tbrownaw@gmail.com>
1897
1898* hash_map.hh: Do things a little differently. Should make
1899instantiating different types of hash_map (like merkle_tree.hh does)
1900easier, slightly less dependent on the compiler/library. (Currently,
1901this should mostly be useful in the .visualc8 branch.)
1902* basic_io.hh cmd_list.hh rcs_file.cc rcs_import.cc unix/fs.cc: These
1903wouldn't compile with g++/stlport. Add includes, replace a
1904const_iterator with an iterator in rcs_import.cc
1905* database.cc interner.hh merkle_tree.hh vocab.cc xdelta.cc: Adjust
1906to match the new hash_map.
1907Compile-tested on g++ and g++ with stlport. Won't link when using
1908stlport, because my boost was compiled against g++'s normal stl.
1909
19102006-04-27 Daniel Carosone <dan@geek.com.au>
1911* monotone.texi: add a missing $ to a packet example, and an
1912introductory paragraph to the section. From Jeronimo Pellegrini,
1913with minor wording tweaks.
1914
19152006-04-27 Alex Queiroz <alex@ventonegro.org>
1916
1917* po/pt_BR.po: Translated more strings.
1918
19192006-04-27 Patrick Mauritz <oxygene@studentenbude.ath.cx>
1920
1921* cmd_list.cc: missing using std::sort; broke build with stlport4
1922
19232006-04-26 Timothy Brownawell <tbrownaw@gmail.com>
1924
1925* netsync.cc (serve_connections): Cycle through all results before
1926recalculating the probe. Netxx does not make this as simple as it
1927should be.
1928
19292006-04-26 Derek Scherger <derek@echologic.com>
1930
1931* automate.cc:
1932* cmd_diff_log.cc:
1933* cmd_list.cc:
1934* cmd_merging.cc:
1935* cmd_ws_commit.cc:
1936* commands.cc:
1937* work.cc: use explicit temp_node_id_sources everywhere
1938* tests/t_log_dir.at: remove stale comment
1939
19402006-04-25 Derek Scherger <derek@echologic.com>
1941
1942* cmd_*.cc: merge new restrictions changes in from commands.cc
1943split
1944* tests/t_log_dir.at: remove stale comment
1945* work.{cc,hh}(find_missing, find_unknown_and_ignored): move
1946these functions here from commands.cc split
1947
19482006-04-26 Nathaniel Smith <njs@pobox.com>
1949
1950* Makefile.am (package_full_revision_raw.txt): Pass --root to our
1951calls to mtn.
1952
19532006-04-25 Derek Scherger <derek@echologic.com>
1954
1955* restrictions.{cc,hh} (find_missing, find_unknown_and_ignored): move to...
1956* work.{cc,hh}: ...here since these are not really restriction things
1957* cmd_ws_commit.cc: sort includes and add work.hh to account for moves
1958
19592006-04-26 Timothy Brownawell <tbrownaw@gmail.com>
1960
1961* app_state.{cc,hh}: Overload set_restriction to take a path_set as
1962the list of paths to restrict to.
1963* cmd_ws_commit.cc: Use this to fix revert --missing.
1964
19652006-04-25 Timothy Brownawell <tbrownaw@gmail.com>
1966
1967* monotone.cc: --quiet forces --ticker=none
1968* tests/t_quiet.at: Check that --quiet turns off tickers.
1969* testsuite.at: Call it.
1970
19712006-04-25 Timothy Brownawell <tbrownaw@gmail.com>
1972
1973* lua.cc: There is now an "extract_classified_str" to go with
1974"extract_str", which doesn't log the value of the returned string.
1975Use this in hook_get_passphrase.
1976* tests/t_no_log_password.at: Test that the passphrase is not logged.
1977* testsuite.at: Call it.
1978
19792006-04-25 Timothy Brownawell <tbrownaw@gmail.com>
1980
1981* po/POTFILES.in: add cmd.hh and the cmd_*.cc files
1982
19832006-04-25 Richard Levitte <richard@levitte.org>
1984
1985* examples/000README.txt, examples/display_branches.lua: Start a
1986directory of small examples and other cool things you can do with
1987monotone. Contrary to the contrib directory, these files can
1988seldom be taken and used as they are, they usually need to get
1989integrated into some other file.
1990* debian/docs, debian/changelog: Make sure the examples directory
1991end up inside Debian's standard documentation directory, and
1992document this change.
1993
19942006-04-25 Nathaniel Smith <njs@pobox.com>
1995
1996* monotone.texi: Add Jeronimo to copyright holder list.
1997* AUTHORS: And the contributor list.
1998
19992006-04-25 Jeronimo Pellegrini <pellegrini@mpcnet.com.br>
2000
2001* monotone.texi (Using packets): New section, short tutorial
2002showing how packets work. (With some small fixups by Nathaniel.)
2003
20042006-04-25 Jeronimo Pellegrini <pellegrini@mpcnet.com.br>
2005
2006* monotone.texi: Replace many references to 'monotone' with
2007'mtn'.
2008
20092006-04-24 Derek Scherger <derek@echologic.com>
2010
2011* contrib/monotone.el (monotone-commit-complete): call line
2012removal function by it's actual name
2013
20142006-04-24 Derek Scherger <derek@echologic.com>
2015
2016* cmd_diff_log.cc (log): remove --recursive option from log;
2017directories are always recursive as with other restricted commands
2018* tests/t_log_dir.at: account for recursive directories
2019
20202006-04-23 Nathaniel Smith <njs@pobox.com>
2021
2022* commands.cc (attr): Use get_base_and_current_roster_shape
2023instead of doing a pointless workspace scan.
2024
20252006-04-23 Richard Levitte <richard@levitte.org>
2026
2027* po/sv.po: Clear a fuzzy.
2028
20292006-04-23 Richard Levitte <richard@levitte.org> & Alex Queiroz <alex@ventonegro.org>
2030
2031* lua.cc (monotone_includedir_for_lua): Tweak a spelling mistake.
2032Notified by Jeronimo Pellegrini <pellegrini@mpcnet.com.br>.
2033
20342006-04-23 Alex Queiroz <alex@ventonegro.org>
2035
2036* pt_BR.po: Fixed some fuzzy translations.
2037
20382006-04-21 Richard Levitte <richard@levitte.org>
2039
2040* contrib/usher.cc (fork_server): Make sure to append to already
2041existing log file.
2042
20432006-04-21 Richard Levitte <richard@levitte.org>
2044
2045* contrib/usher.cc (fork_server): Redirect the logs of the sub-
2046servers to log files instead of a pipe, and have the main
2047process read that file instead of the pipe.
2048(read_server_record): Complain about unrecognised commands, and
2049continue processing.
2050(reload_conffile): Parse the logdir command. Complain about
2051unrecognised commands, and continue processing.
2052
20532006-04-21 Alex Queiroz <alex@ventonegro.org>
2054
2055* Make clear in the "automate get_revision" documentation that
2056path stanzas are grouped under the corresponding "old_revision" one.
2057
20582006-04-21 Richard Levitte <richard@levitte.org>
2059
2060* contrib/usher.cc (server::set_hosts, server::set_patterns):
2061Explain a little more what is removed from what.
2062
20632006-04-21 Richard Levitte <richard@levitte.org>
2064
2065* contrib/usher.cc (server::set_hosts, server::set_patterns):
2066Write a warning saying that existing entries with the same host
2067or pattern are stripped of said host or pattern.
2068(server::set_patterns): Erasing the list node that we're iterating
2069on, then trying to go to the next node doesn't work. Save the
2070iterator, then increment it before erasing the node using the
2071saved value. No more segfaults. This is the same fix as was done
2072for server::set_hosts February 21st.
2073
20742006-04-21 Richard Levitte <richard@levitte.org>
2075
2076* po/sv.po: A fuzzy updated
2077
20782006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
2079
2080* commands.{cc,hh} cmd.hh cmd_*.cc Makefile.am: Split commands.cc into
2081lots of smaller files. Current grouping is semi-arbitrary by other
2082code called and general "what it does" concept.
2083
20842006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
2085
2086* tests/t_hook_helpers.at: New file: test some of the helper functions
2087for the lua hooks.
2088* testsuite.at: Add it.
2089
20902006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
2091
2092* commands.cc (commit): E() if the old end of a delta is missing.
2093
20942006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
2095
2096* tests/t_ls_changed.at: Also check that it detects added files/dirs.
2097
20982006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
2099
2100* tests/t_ls_epochs.at: New file: test "ls epochs" and
2101"ls epochs <branch>"
2102* testsuite.at: Add it.
2103
21042006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
2105
2106* tests/t_checkout_heads.at: New file: checkout should fail if there
2107are multiple heads.
2108* testsuite.at: Add it.
2109
21102006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
2111
2112* testsuite.at: NOT_ON_WIN32 seems to be broken. Fix it.
2113
21142006-04-19 Timtohy Brownawell <tbrownaw@gmail.com>
2115
2116* commands.cc (log): Make log accept --recursive, which makes
2117"log dir" log revisions where anything under dir/ changes.
2118* tests/t_log_dir.at: Remove XFAIL. Test logging at attr change.
2119* tests/t_help.at: New file, test the "help" command.
2120* tests/t_approve.at: New file, test the "approve" command.
2121* testsuite.at: Add the new tests.
2122
21232006-04-19 Matthew Gregan <kinetik@orcon.net.nz>
2124
2125* tests/t_mtn_ignore.at: Tweak test so it would have detected the
2126broken .mtn-ignore error handling fixed in the last commit.
2127
2128* std_hooks.lua (ignore_file): Fix up error handling for
2129non-existent .mtn-ignore files.
2130
21312006-04-18 Richard Levitte <richard@levitte.org>
2132
2133This change was contributed by Shaun Jackman <sjackman@gmail.com>
2134
2135* debian/changelog: Add missing Debian releases.
2136
2137* debian/rules: From Debian bug report #334999: FTBFS on
2138arm/hppa/m68k: please use g++-3.4
2139
21402006-04-17 Benoît Dejean <benoit@placenet.org>
2141
2142* po/fr.po: Fixed nœud spelling.
2143
21442006-04-15 Matthew Gregan <kinetik@orcon.net.nz>
2145
2146* tests/t_pidfile_log_permissions.at: Minor tweak to last change.
2147
2148* tests/t_empty_env.at: Remove LD_LIBRARY_PATH test; it was
2149causing the test to be skipped without good reason in too many
2150environments.
2151
2152* tests/t_ls_branches.at: Tweak include and exclude patterns to
2153avoid spurious glob expansion under MinGW.
2154
2155* tests/t_pidfile_log_permissions.at: Skip part of the test under
2156MinGW since we can't get UNIX permissions to map to the particular
2157NT permissions we'd need for this portion of the test.
2158
21592006-04-14 Richard Levitte <richard@levitte.org>
2160
2161* commands.cc (CMD(setup)): Make this a CMD_NO_WORKSPACE. The
2162reason is a use-case, when someone setup a new project as a
2163subdirectory of another project, and forgot to give the database
2164and branch for this new project, and thereby ended up having it
2165be in the same database and branch as the parent directory.
2166* tests/t_setup_workspace_in_workspace.at (setup in subdirectory),
2167testsuit.at: Add a test for it.
2168
21692006-04-14 Lapo Luchini <lapo@lapo.it>
2170
2171* po/it.po: Corrected an error (some "help command" were translated).
2172
21732006-04-14 Julio M. Merino Vidal <jmmv@NetBSD.org>
2174
2175* Makefile.am: Use sed instead of perl to add the stylesheet
2176reference in HTML files. Perl is not available in some systems
2177by default so this avoids an extra build-time dependency.
2178
21792006-04-12 Nathaniel Smith <njs@pobox.com>
2180
2181* unix/process.cc (read_umask): New function.
2182(make_executable): Use it.
2183* tests/t_executable_umask.at, testsuite.at: New test.
2184XFAILed, because of totally mysterious failure!
2185
21862006-04-12 Matthew Gregan <kinetik@orcon.net.nz>
2187
2188* monotone.cc (cpp_main): Use the entire path leaf for prog_name,
2189but strip ".exe" off if present.
2190
21912006-04-12 Richard Levitte <richard@levitte.org>
2192
2193* ui.cc (compose_count): Simplify for count/total ticks. There's
2194no need to calculate the maximum size every time, since
2195write_ticks has a specific test with the exact same effect.
2196(tick_write_count::write_ticks): Specialise the test for the
2197count/total case, since we know the exact maximum and therefore
2198don't need to make space for a ludicrously large number.
2199
22002006-04-12 Richard Levitte <richard@levitte.org>
2201
2202* ui.hh (struct ticker): Add a member count_size to hold the size
2203of the tick count output and a method set_count_size to modify it.
2204
2205* ui.cc (compose_count): New function to compose the count string
2206for a ticker. The code was moved from...
2207(write_ticks): ... here. If the tick's count_size is zero, use
2208compose_count to calculate the output string for a well chosen
2209large number and use its size as a default initial count size.
2210This is still updated dynamically if we get a count string size
2211that's still larger, but it should happen very rarely (when we get
2212a size of 1024 gibibytes or more, quite precisely).
2213
22142006-04-12 Matthew Gregan <kinetik@orcon.net.nz>
2215
2216* tests/t_pidfile_log_permissions.at: Spelling.
2217
22182006-04-12 Richard Levitte <richard@levitte.org>
2219
2220* po/sv.po: A few more fuzzies to change.
2221
22222006-04-12 Richard Levitte <richard@levitte.org>
2223
2224* contrib/usher.cc (fork_server): Set the C locale before
2225executing monotone itself. This is needed since usher is
2226trying to interpret the first line of monotone output, and
2227only understands the english message.
2228
22292006-04-12 Richard Levitte <richard@levitte.org>
2230
2231* po/sv.po: "ls branches" changed to take a pattern.
2232
22332006-04-12 Matthew Nicholson <matt@matt-land.com>
2234
2235* commands.cc (pid_file::pid_file): Move check for open pidfile until
2236after we attempt to open the file :).
2237
22382006-04-12 Matthew Gregan <kinetik@orcon.net.nz>
2239
2240* tests/t_pidfile_log_permissions.at: New test to check that we
2241fail properly if the specified pid or log file could not be
2242opened. Thanks to Matthew Nicholson for the bug report.
2243* testsuite.at: Add it.
2244* ui.cc (user_interface::redirect_log_to): Check that file is open.
2245* commands.cc (pid_file::pid_file): Ditto.
2246
22472006-04-11 Nathaniel Smith <njs@pobox.com>
2248
2249* UPGRADE: Add a note that all certs will be re-issued, and all
2250revids will change.
2251
22522006-04-12 Thomas Keller <me@thomaskeller.biz>
2253* po/README: Added small HOWTO for new translations
2254
22552006-04-11 Timothy Brownawell <tbrownaw@gmail.com>
2256
2257* merkle_tree.hh: make merkle_table be a hash_map instead of a map.
2258
22592006-04-11 Timothy Brownawell <tbrownaw@gmail.com>
2260
2261* commands.cc (ls_branches): Allow "ls branches <pattern>".
2262* tests/t_ls_branches.at: Test it.
2263
22642006-04-11 Richard Levitte <richard@levitte.org>
2265
2266* contrib/usher.cc (main): Small error. When -m was parsed, it
2267was saved as the path to mtn instead of its value.
2268
22692006-04-11 Matthew Gregan <kinetik@orcon.net.nz>
2270
2271* win32/make_io_binary.cc: Fix compile errors under MinGW.
2272
22732006-04-11 Henry Nestler <Henry@BigFoot.de>
2274
2275* contrib/mtbrowse.sh: Binary call to mtn
2276
22772006-04-11 Richard Levitte <richard@levitte.org>
2278
2279* netxx/resolve_getaddrinfo.cxx (resolve_hostname): monotone might
2280be compiled on a computer that has AI_ADDRCONFIG and run on one
2281that doesn't understand that flag. If the error EAI_BADFLAGS is
2282returned, try again without AI_ADDRCONFIG.
2283
22842006-04-10 Richard Levitte <richard@levitte.org>
2285
2286* contrib/usher.cc: Changed all reference to "monotone" to the new
2287"mtn". Submitted by Ethan Blanton <eblanton@cs.ohiou.edu>.
2288
22892006-04-09 Matthew Gregan <kinetik@orcon.net.nz>
2290
2291* paths.cc (file_path::file_path): MM() on source path.
2292
22932006-04-09 Timothy Brownawell <tbrownaw@gmail.com>
2294
2295* platform.hh (make_io_binary): new function, turn off textmode
2296"\n"->"\r\n" translation on Windows
2297* {win32,unix}/make_io_binary.cc: Implementations of said function.
2298* commands.cc (automate): Use said function so our output doesn't get
2299mangled. (Mostly important for "automate stdio".)
2300* Makefile.am: Add the new files.
2301
23022006-04-09 Nathaniel Smith <njs@pobox.com>
2303
2304* restrictions.{cc,hh}: Audit use of node id sources, and make a
2305number of functions take an explicit node_id_source argument.
2306* roster.cc (make_roster_for_base_plus_cset): Also take an
2307explicit node_id_source.
2308* commands.cc, automate.cc: Update to match new calling conventions.
2309
23102006-04-09 Nathaniel Smith <njs@pobox.com>
2311
2312* std_hooks.lua (accept_testresult_change): s/MT/_MTN/, thanks to
2313Alex Queiroz for the catch...
2314
23152006-04-08 Nathaniel Smith <njs@pobox.com>
2316
2317* NEWS: Finish paragraph that stopped in the
2318
23192006-04-08 Nathaniel Smith <njs@pobox.com>
2320
2321* configure.ac, debian/changelog, win32/monotone.iss:
2322* monotone.spec: Bump version number to 0.26.
2323* NEWS: Insert release time.
2324
23252006-04-08 Timothy Brownawell <tbrownaw@gmail.com>
2326
2327* commands.cc (process_netsync_args): fix crash when calling netsync
2328with an --exclude but no include argument.
2329* tests/t_netsync_no_include.at: netsync with --exclude but no
2330include should E(), not I().
2331* testsuite.at: call it
2332
23332006-04-08 Nathaniel Smith <njs@pobox.com>
2334
2335* monotone.texi: Several little content improvements, scattered
2336throughout.
2337(Automation): Document new rev and manifest formats. Document new
2338packet commands.
2339* database_check.cc: Add a comment to warn people that there are
2340detailed docs on this, so if they add new stuff they'll want to
2341add new docs too.
2342* automate.cc (automate_get_manifest_of, automate_get_revision):
2343Re-sync docs to manual.
2344(automate_packet_for_fdata): Fix copy/paste error in error
2345message.
2346
23472006-04-08 Nathaniel Smith <njs@pobox.com>
2348
2349* netxx/resolve_gethostbyname.cxx (resolve_hostname): #ifdef out
2350Win32-incompatible error reporting call.
2351
23522006-04-08 Nathaniel Smith <njs@pobox.com>
2353
2354* netsync.cc, annotate.cc: Turn all ticker labels from _() to
2355N_(), to match Benoît's changes to the ticker class.
2356
23572006-04-08 Nathaniel Smith <njs@pobox.com>
2358
2359* AUTHORS: Add Thomas Keller.
2360
23612006-04-08 Nathaniel Smith <njs@pobox.com>
2362
2363* Makefile.am (distcleancheck_listfiles): Third time's
2364the... charm?
2365
23662006-04-08 Matthew Gregan <kinetik@orcon.net.nz>
2367
2368* monotone.cc: Oops, needed to include
2369boost/filesystem/convenience.hpp too.
2370
2371* monotone.cc (cpp_main): Exclude .exe extension by using
2372fs::basename rather than path.leaf().
2373
23742006-04-08 Richard Levitte <richard@levitte.org>
2375
2376* netxx/resolve_gethostbyname.cxx (resolve_hostname),
2377* netxx/resolve_getaddrinfo.cxx (resolve_hostname): Include the
2378error string associated with the error returned by getaddrinfo()
2379and gethostbyname() in the exception text.
2380
2381* netsync.cc (serve_connections): When socket() fails in Netxx,
2382it throws a Netxx::Exception rather than a
2383Netxx::NetworkException, so we need to catch that as well. This
2384should solve the problems some have experienced when they don't
2385have a IPv6 stack and try to run a IPv6-enabled monotone.
2386
23872006-04-08 Richard Levitte <richard@levitte.org>
2388
2389* po/sv.po: A phrase was changed in command.cc...
2390
23912006-04-07 Richard Levitte <richard@levitte.org>
2392
2393* po/sv.po: A few untranslated ones appeared.
2394
23952006-04-07 Richard Levitte <richard@levitte.org>
2396
2397* po/sv.po: Fixed a fuzzy.
2398
23992006-04-07 Matthew Gregan <kinetik@orcon.net.nz>
2400
2401* Makefile.am: Syntax tweak. I bet this still won't work...
2402
2403* Makefile.am: Backticks don't nest, use $().
2404
24052006-04-07 Daniel Carosone <dan@geek.com.au>
2406
2407* monotone.texi: Update more examples to reflect new program
2408output for revisions and diffs and manifests.
2409
24102006-04-07 Matthew Gregan <kinetik@orcon.net.nz>
2411
2412* lua.cc, commands.cc: Tiny string cleanups.
2413
2414* Makefile.am (distcleancheck_listfiles): Fix up find(1) syntax.
2415
24162006-04-07 Daniel Carosone <dan@geek.com.au>
2417
2418* monotone.texi: Correct a copy/paste error, bug #15708
2419
24202006-04-07 Daniel Carosone <dan@geek.com.au>
2421
2422* figures/README: Revise to describe a better .png generation method
2423* figures/{manifest,file-id-manifest-id,revision-chaining,revision}.png:
2424Reregenerate accordingly
2425* figures/oo-figures.sxd: Source changes for the following:
2426* figures/{local,general}-workflow: "working copy" to "workspace", MT to _MTN
2427
24282006-04-07 Nathaniel Smith <njs@pobox.com>
2429
2430* Makefile.am (distcleancheck_listfiles): Another try at this...
2431
24322006-04-07 Nathaniel Smith <njs@pobox.com>
2433
2434* Makefile.am (distcleancheck_listfiles): Attempt to teach
2435distcheck that it's okay that distclean does not remove
2436package_revision.txt and package_full_revision_dist.txt files.
2437Untested, because the test is taking ages and I want to go to
2438sleep, so good luck :-).
2439
24402006-04-07 Nathaniel Smith <njs@pobox.com>
2441
2442* figures/README: Add note on PNGs.
2443* figures/{manifest,file-id-manifest-id,revision-chaining,revision}.png:
2444Regenerate PNGs.
2445
24462006-04-07 Nathaniel Smith <njs@pobox.com>
2447
2448* figures/oo-figures.sxd: Sigh, accidentally discarded the changes
2449I had to make since the fonts changed and the arrows/boxes became
2450incorrect. This redoes them, to approximately match the version
2451used to generate the current pdf files.
2452
24532006-04-07 Nathaniel Smith <njs@pobox.com>
2454
2455* figures/README: More notes.
2456* figures/oo-figures.sxd: No idea what changed about this file,
2457don't care.
2458* figures/{manifest,file-id-manifest-id,revision-chaining,revision}:
2459Finally managed to get proper pdfs out of OpenOffice. Committing
2460now before I have a chance to screw things up.
2461
24622006-04-06 Nathaniel Smith <njs@pobox.com>
2463
2464* figures/README: New file.
2465* figures/oo-figures.sxd: Write into the file the filename that
2466each figure should be exported to. I'll actually do the exports
2467later...
2468
24692006-04-07 Benoît Dejean <benoit@placenet.org>
2470
2471* ui.{cc,hh}: Use untranslated ticker name as key in ui.tickers
2472to prevent buggy translations from crashing monotone.
2473
24742006-04-07 Benoît Dejean <benoit@placenet.org>
2475
2476* po/fr.po: Fixed.
2477
24782006-04-07 Benoît Dejean <benoit@placenet.org>
2479
2480* po/fr.po: Replaced nice unicode arrows with long strings.
2481
24822006-04-07 Matthew Gregan <kinetik@orcon.net.nz>
2483
2484* monotone.cc: Remove libgen.h and basename(), replace with
2485equivalent from boost::filesystem.
2486
2487* sqlite/*: Import SQLite 3.3.5.
2488
2489* tests/t_mtn_ignore.at: Shuffle the output grepping tests a bit
2490to make failure cases more obvious.
2491
24922006-04-06 Nathaniel Smith <njs@pobox.com>
2493
2494* Makefile.am (mostlyclean-local): Delete
2495package_full_revision.txt, not package_full_revision_dist.txt.
2496
24972006-04-06 Nathaniel Smith <njs@pobox.com>
2498
2499* monotone.texi: Fix up the ascii diagrams in the early sections
2500to match current data formats. Fix up sample output similarly.
2501Fix even more places where we say "monotone" to refer to the
2502command.
2503* figures/oo-figures.sxd: Update graphical figures to match
2504current data formats.
2505
25062006-04-06 Nathaniel Smith <njs@pobox.com>
2507
2508* monotone.texi: Fix a bunch more places where we say "monotone"
2509to refer to the command name.
2510
25112006-04-06 Nathaniel Smith <njs@pobox.com>
2512
2513* monotone.texi: .mt-attrs? Never heard of it...
2514
25152006-04-06 Nathaniel Smith <njs@pobox.com>
2516
2517* po/LINGUAS: Add de.
2518
25192006-04-06 Nathaniel Smith <njs@pobox.com>
2520
2521* NEWS: Go ahead and add a note about sqlite 3.3, since
2522incompatibility with the 3.2 command line client has apparently
2523bitten at least two of us.
2524
25252006-04-06 Nathaniel Smith <njs@pobox.com>
2526
2527* Makefile.am (package_full_revision_*.txt): Try this again,
2528hopefully now 'distcheck' will work in a clean dir on systems that
2529have no mtn binary.
2530
25312006-04-06 Nathaniel Smith <njs@pobox.com>
2532
2533* UPGRADE: Expand and hopefully clarify 0.26 upgrading notes.
2534Also add a paragraph at the top to explain how the file is
2535organized (maybe this should have been there a long time ago...)
2536
25372006-04-06 Nathaniel Smith <njs@pobox.com>
2538
2539* NEWS: Complete (?) draft of 0.26 release notes.
2540
25412006-04-07 Satoru SATOH <ss@gnome.gr.jp>
2542
2543* po/ja.po: Updated Japanese translation.
2544
25452006-04-06 Richard Levitte <richard@levitte.org>
2546
2547* ui.cc (user_interface::output_prefix): Move the invariant
2548checking that prog_name isn't empty...
2549(user_interface::set_prog_name): here. The reason is that an
2550invariant generates a log, and that will generate another call
2551to this message, which will trigger the invariant again, which
2552generates a log, which...
2553In user_interface::output_prefix, still check if prog_name is
2554empty, and output something harmless if it is.
2555
25562006-04-05 Nathaniel Smith <njs@pobox.com>
2557
2558* NEWS: Start writing 0.26 release notes.
2559
25602006-04-05 Nathaniel Smith <njs@pobox.com>
2561
2562* roster.cc (unify_roster_oneway): Discover that this code is not
2563really composable with arbitrary node_id_sources; add an assertion
2564to document the real interface, and a comment explaining why this
2565is the case, and why it is a problem for workspace merge and db
2566check.
2567
25682006-04-05 Nathaniel Smith <njs@pobox.com>
2569
2570* database_check.cc (check_sane): Remove dead code.
2571
25722006-04-05 Richard Levitte <richard@levitte.org>
2573
2574* monotone.cc: Make sure prog_name gets the basename of the
2575program from argv[0], not the whole absolute path to it.
2576
2577* tests/t_commit_validate.at, tests/t_log_to_file.at: The monotone
2578logs are prefixed with the program name ('mtn'), not with
2579'monotone' any longer.
2580
25812006-04-05 Richard Levitte <richard@levitte.org>
2582
2583* mt_version.cc (get_version): Close the parenthesis.
2584
2585* po/sv.po: Fix a few fuzzy strings and translate a new one.
2586
25872006-04-05 Nathaniel Smith <njs@pobox.com>
2588
2589* sanity.cc (dump_buffer): Make the "discarding debug log"
2590slightly more informative.
2591
25922006-04-05 Nathaniel Smith <njs@pobox.com>
2593
2594* ui.{cc,hh}: Use the prog_name in output.
2595* app_state.cc (app_state::prog_name): Change default to 'mtn'.
2596Set the global ui object's prog_name whenever our prog_name is
2597set.
2598* monotone.cc (cpp_main): Use the new prog_name setter.
2599
26002006-04-05 Nathaniel Smith <njs@pobox.com>
2601
2602* monotone.cc (cpp_main): MM() our command line, LC_ALL, and full
2603version, so that they are always included in dump and debug
2604files.
2605
26062006-04-04 Nathaniel Smith <njs@pobox.com>
2607
2608* mt_version.{cc,hh} (get_version, get_full_version): New
2609functions. Also tweak --full-version output for readability.
2610
26112006-04-04 Nathaniel Smith <njs@pobox.com>
2612
2613* mt_version.cc (print_full_version): Include compiler
2614vendor/version, c++ stdlib vendor/version, and boost version in
2615--full-version output.
2616
26172006-04-04 Nathaniel Smith <njs@pobox.com>
2618
2619* Makefile.am: Yet another try at the package full revision stuff;
2620hopefully this version still works just as well as the old
2621versions, while also getting rid of the repeated "Generated from
2622cached data" messages.
2623
26242006-04-05 Lapo Luchini <lapo@lapo.it>
2625
2626* po/it.po: Changed "in/out" translations as graphical arrows.
2627
26282006-04-04 Matt Johnston <matt@ucc.asn.au>
2629
2630* tests/t_rosterify_empty_manifest.at: a test for rosterifying a db
2631that has empty manifests
2632
26332006-04-04 Matt Johnston <matt@ucc.asn.au>
2634
2635* revision.cc (construct_revisions_from_ancestry): all rosters must be
2636given a root node, even if all files have been dropped.
2637
26382006-04-04 Matt Johnston <matt@ucc.asn.au>
2639
2640* database.cc (database::dump): don't check schema of the db.
2641
26422006-04-04 Nathaniel Smith <njs@pobox.com>
2643
2644* roster.hh (class roster_t): Add massive comment about roster_t's
2645location tracking stuff. Conclusion: it is a little icky, but
2646it's icky in an overly conservative way that doesn't cause any
2647forseeable problems, so we'll leave it for now.
2648
26492006-04-04 Richard Levitte <richard@levitte.org>
2650
2651* po/sv.po: Updated and additional translations.
2652
26532006-04-02 Matthew Nicholson <matt@matt-land.com>
2654
2655* contrib/get_passphrase_from_file.lua: Added. This hook reads
2656passphrases from 'confdir/passphrases'.
2657
26582006-04-02 Matthew Nicholson <matt@matt-land.com>
2659
2660* contrib/ChangeLog.sh: Updated to reflect monotone name changes.
2661
26622006-04-02 Matthew Nicholson <matt@matt-land.com>
2663
2664* tests/t_pidfile.at: Added. Test's pid file cleanup.
2665* testsuite.at: Added new t_pidfile.at test.
2666
26672006-04-02 Richard Levitte <richard@levitte.org>
2668
2669* ui.cc (user_interface::redirect_log_to): Someone correctly
2670pointed out that the log gets clobbered. Now corrected.
2671
26722006-04-01 Lapo Luchini <lapo@lapo.it>
2673
2674* po/it.po: Translated a few more strings to Italian (170 to go).
2675
26762006-04-01 Benoît Dejean <benoit@placenet.org>
2677
2678* commands.cc (CMD(attr)): 2 more strings for I18N.
2679
26802006-04-01 Benoît Dejean <benoit@placenet.org>
2681
2682* xdelta.cc (apply_copy): Fixed warning.
2683
26842006-04-01 Lapo Luchini <lapo@lapo.it>
2685
2686* po/it.po: Translated a few more strings to Italian (205 to go).
2687
26882006-04-01 Petr Ovtchenkov <ptr at island.corbina.net>
2689
2690* xdelta.cc: avoid dereference of iterators at end()
2691
26922006-03-31 Nathaniel Smith <njs@pobox.com>
2693
2694* work.cc (apply_delta): Don't print file hashes when updating.
2695
26962006-03-31 Nathaniel Smith <njs@pobox.com>
2697
2698* commands.cc (update): Print branch name when updating.
2699
27002006-04-01 Henry Nestler <Henry@BigFoot.de>
2701
2702* contrib/mtbrowse.sh: Bookkeeping directory _MTN
2703
27042006-03-31 Lapo Luchini <lapo@lapo.it>
2705
2706* po/it.po: Translated a few more strings to Italian (243 to go).
2707
27082006-03-30 Nathaniel Smith <njs@pobox.com>
2709
2710* testsuite.at: Ah-hah, missed AT_TESTED. Should fix the
2711"monotone not found" errors people have reported.
2712
27132006-03-30 Henry Nestler <Henry@BigFoot.de>
2714
2715* mnt.1: '--bind' for serve on host, syntax from monotone.texi
2716
27172006-03-29 Nathaniel Smith <njs@pobox.com>
2718
2719* testsuite.at: Clean up the macros that call monotone a little.
2720
27212006-03-29 Nathaniel Smith <njs@pobox.com>
2722
2723* .mt-ignore: Rename to .mtn-ignore.
2724
27252006-03-29 Nathaniel Smith <njs@pobox.com>
2726
2727* NEWS: Set date.
2728
27292006-03-29 Nathaniel Smith <njs@pobox.com>
2730
2731* Makefile.am (package_revision.txt): Whoops, missed a few spots,
2732thanks to Marcel for the tip...
2733
27342006-03-29 Nathaniel Smith <njs@pobox.com>
2735
2736* INSTALL: mtn-related tweaks.
2737* monotone.spec, win32/monotone.iss: Untested mtn-related tweaks,
2738and bump version to 0.26pre3.
2739* debian/changelog: Bump version.
2740
27412006-03-29 Nathaniel Smith <njs@pobox.com>
2742
2743* NEWS: First pass at entry for 0.26pre3.
2744
27452006-03-28 Nathaniel Smith <njs@pobox.com>
2746
2747* revision.cc (construct_revisions_from_ancestry): Convert
2748.mt-ignore to .mtn-ignore. We have always been at war with
2749Oceania.
2750* tests/t_rosterify_mt_ignore.at, testsuite.at: Test it.
2751
27522006-03-28 Nathaniel Smith <njs@pobox.com>
2753
2754* std_hooks.lua (ignore_file): Read .mtn-ignore, not .mt-ignore.
2755* tests/t_mt_ignore.at, tests/t_add.at, testsuite.at: Adjust
2756accordingly.
2757* monotone.texi: Update accordingly.
2758
27592006-03-28 Nathaniel Smith <njs@pobox.com>
2760
2761* tests/t_case_insensitive__MTN.at, testsuite.at: New test.
2762
27632006-03-28 Matthew Nicholson <matt@matt-land.com>
2764
2765* contrib/monotone.bash_completion: Convert to use mtn instead of
2766monotone.
2767
27682006-03-28 Lapo Luchini <lapo@lapo.it>
2769
2770* AUTHORS: Added myself as translator.
2771
2772* po/it.po: Added Itailan translation.
2773
27742006-03-28 Richard Levitte <richard@levitte.org>
2775
2776* contrib/monotone.bash_completion: Make if complete mtn as well.
2777
2778* po/fr.po: Translation update.
2779
2780* po/sv.po: Translation update.
2781
2782* contrib/monotone-import.pl, contrib/monotone-import.pl: Change
2783MT to _MTN.
2784
27852006-03-28 Nathaniel Smith <njs@pobox.com>
2786
2787* tests/t_at_sign.at: Add a missing MTN_SETUP.
2788
27892006-03-28 Nathaniel Smith <njs@pobox.com>
2790
2791* tests/README, testsuite.at, tests/*.at: First pass at updating
2792tests for s/monotone/mtn/. NB: new tests should use MTN_SETUP and
2793MTN macros.
2794
27952006-03-28 Nathaniel Smith <njs@pobox.com>
2796
2797* Makefile.am: Build "mtn", not "monotone".
2798* monotone.1: Rename to...
2799* mtn.1: ...this.
2800
28012006-03-28 Nathaniel Smith <njs@pobox.com>
2802
2803* tests/*_MT*: Rename to reflect that they now test _MTN, not MT.
2804* testsuite.at: Update accordingly.
2805
28062006-03-28 Nathaniel Smith <njs@pobox.com>
2807
2808* tests/*.at: s/MT/_MTN/.
2809
28102006-03-28 Nathaniel Smith <njs@pobox.com>
2811
2812* testsuite.at: s/MT/_MTN/.
2813
28142006-03-28 Nathaniel Smith <njs@pobox.com>
2815
2816* monotone.texi: s/.db/.mtn/ everywhere. Also, s/MT:/MTN:/, and
2817s/MT/_MTN/ as appropriate.
2818* monotone.1: Likewise.
2819
28202006-03-28 Nathaniel Smith <njs@pobox.com>
2821
2822* paths.cc (file_path): Use in_bookkeeping_dir when joining paths,
2823instead of being clever. It should be just about as fast, and
2824means that there's only one code path that has to know how to
2825detect bookkeeping dirs.
2826* app_state.cc, automate.cc: Oops, forgot to hit save before.
2827s/MT/_MTN/.
2828
28292006-03-28 Nathaniel Smith <njs@pobox.com>
2830
2831* paths.cc (in_bookkeeping_dir): Argh. Really correct now!
2832Really!
2833(test_split_join): Another cut-and-paste error.
2834
28352006-03-28 Nathaniel Smith <njs@pobox.com>
2836
2837* paths.cc (test_split_join): Whoops, be more careful
2838copy-and-pasting within a single scope...
2839(in_bookkeeping_dir): Was totally wrong, make all the constants
2840correct...
2841
28422006-03-28 Nathaniel Smith <njs@pobox.com>
2843
2844* commands.cc (CMD_NO_MT): Rename to...
2845(CMD_NO_WORKSPACE): ...this.
2846* *.cc, *.hh: s/MT/_MTN/ (mostly in comments).
2847
28482006-03-28 Nathaniel Smith <njs@pobox.com>
2849
2850* commands.cc (get_log_message_interactively):
2851* std_hooks.lua (edit_comment): s/MT:/MTN:/
2852
28532006-03-28 Nathaniel Smith <njs@pobox.com>
2854
2855* paths.cc: s/MT/_MTN/ everywhere.
2856(in_bookkeeping_dir): Also apply the security kluge from 0.25.2,
2857where we define the bookkeeping dir case-insensitively.
2858Add tests for this.
2859
28602006-03-27 Nathaniel Smith <njs@pobox.com>
2861
2862* database.cc (check_format): Use .empty() instead of comparing
2863.size() to zero, trivial style cleanup.
2864(check_is_not_rosterified): New method.
2865* revision.cc (build_changesets_from_manifest_ancestry)
2866(build_roster_style_revs_from_manifest_style_revs): Call it.
2867* tests/t_rosterify_on_rosterified_db.at, testsuite.at: New test.
2868
28692006-03-27 Matthew Gregan <kinetik@orcon.net.nz>
2870
2871* idna/nfkc.c, popt/popt.c, popt/popt.h, popt/popthelp.c: Warning
2872cleanups.
2873
28742006-03-25 Matthew Gregan <kinetik@orcon.net.nz>
2875
2876* diff_patch.cc, hash_map.hh, lua/lua.h, mkstemp.cc, monotone.cc,
2877platform.hh, rcs_file.cc, sanity.hh, ui.cc, vocab.hh: config.h
2878cleanups--ensure it is included before any other includes, and
2879that we use "", rather than <>.
2880
2881* idna/version.c: Use STRINGPREP_VERSION rather than VERSION,
2882which just happens to be defined to the monotone version number.
2883
28842006-03-24 Richard Levitte <richard@levitte.org>
2885
2886* po/sv.po: Corrected all the fuzzy translations
2887* po/fr.po: Added some missing translations.
2888
28892006-03-24 Matthew Gregan <kinetik@orcon.net.nz>
2890
2891* database.cc (database::load): Analyze database after load.
2892(database::execute): Minor whitespace cleanup.
2893
28942006-03-23 Richard Levitte <richard@levitte.org>
2895
2896* tests/t_update_off_branch.at: Instead of retrying the update
2897by specifying the branch of the off-branch revision, check that
2898the branch specified in MT/options has changed automagically to
2899the intended revision's branch.
2900
29012006-03-22 Matthew Gregan <kinetik@orcon.net.nz>
2902
2903* database.{cc,hh}: Report page size and default cache size in 'db
2904info' output.
2905
29062006-03-22 Nathaniel Smith <njs@pobox.com>
2907
2908* key_store.cc (consume_key_pair, read_key_dir)
2909(ensure_in_database, write_key): Add some logging.
2910
29112006-03-22 Matt Johnston <matt@ucc.asn.au>
2912
2913* commands.cc (CMD(update)): update the workspace branch
2914to match a revision given with -r.
2915
29162006-03-22 Matt Johnston <matt@ucc.asn.au>
2917
2918* schema_migration.cc, database.cc: print a more helpful
2919error message when we fail in calculate_schema_id() (usually
2920because of locking). Don't bother telling the user what the
2921sqlite error number is (but still log it).
2922
29232006-03-20 Matthew Gregan <kinetik@orcon.net.nz>
2924
2925* configure.ac: Fix Windows identification test so that it doesn't
2926pass unexpected under Cygwin. Reported by Lapo Luchini.
2927
29282006-03-20 Matt Johnston <matt@ucc.asn.au>
2929
2930* configure.ac: use test -f rather than test -e, since Solaris's
2931/bin/sh doesn't have the latter.
2932
29332006-03-19 Matthew Gregan <kinetik@orcon.net.nz>
2934
2935* Makefile.am: Tidier versions of html and monotone.html targets,
2936thanks to Thomas Moschny for the patch.
2937
29382006-03-18 Matthew Gregan <kinetik@orcon.net.nz>
2939
2940* automate.cc (automate_inventory): Add an MM().
2941
2942* Makefile.am: Copy figures/ into two places for html target, and
2943don't attempt to copy std_hooks.lua over itself if we're building
2944in the src dir.
2945
29462006-03-18 Richard Levitte <richard@levitte.org>
2947
2948* Makefile.am (html): For the html target, figures/ and
2949std_hooks.lua should always be copied. Making it conditional
2950should only be done for the monotone.html target.
2951
29522006-03-18 Richard Levitte <richard@levitte.org>
2953
2954* Makefile.am (monotone.html, html): Only copy figures/ and
2955std_hooks.lua if the builder is in a separate build directory.
2956
29572006-03-18 Richard Levitte <richard@levitte.org>
2958
2959* tests/t_netsync_notes.at: Enhance the test by checking that a
2960netsync where no data is written to the database won't trigger
2961the note_netsync* hooks.
2962
29632006-03-18 Matthew Gregan <kinetik@orcon.net.nz>
2964
2965* Makefile.am: Fix a couple of cases where documentation was
2966failing to build. If you're building outside of the source dir we
2967need to copy figures/ and std_hooks.lua into the build dir.
2968
2969* win32/monotone.iss: Include zlib1.dll in installer package.
2970
2971* tests/t_empty_env.at: Copy zlib1.dll into the current directory
2972like we have to for libiconv-2.dll. While here, add a check for
2973LD_LIBRARY_PATH and cause the test to be skipped if it is set.
2974
2975* tests/t_netsync_notes.at: Canonicalise output in a few places so
2976that the test passes on CRLF platforms.
2977
29782006-03-18 Richard Levitte <richard@levitte.org>
2979
2980* netsync.cc (session): Only call the note_netsync hooks if
2981something has been written to the database. The reason is that
2982if those hooks are called from a server process and those hooks
2983are used to update another database (say, for viewmtn), it means
2984another run will be done with monotone to pull from the server,
2985which would trigger another call to the hooks, which would cause
2986another pull, which would cause those hooks to be called again,
2987...
2988
29892006-03-17 Richard Levitte <richard@levitte.org>
2990
2991* tests/t_netsync_notes.at: New test to check that the
2992note_netsync hooks work as they should.
2993* testsuite.at: Add the above test as well as the following
2994useful macros.
2995(BASE_MANIFEST): Gives the manifest identity of the base
2996revision.
2997(WORKING_MANIFEST): Gives the manifest identity of the workspace.
2998(CERTVALUE): Picks out the value of a specific cert from a given
2999revision.
3000(DATA): Like AT_DATA, but allows environment variables to be
3001expanded in the resulting file.
3002(NETSYNC_SETUP_WITH_NOTES): A variant of NETSYNC_SETUP that adds
3003note_netsync hooks.
3004
30052006-03-17 Richard Levitte <richard@levitte.org>
3006
3007* lua.cc, lua.hh (lua::hookshook_note_netsync_revision_received,
3008lua::hookshook_note_netsync_cert_received,
3009lua::hookshook_note_netsync_pubkey_received): Change them so nonce
3010comes last. It means that hooks written for the older inteface
3011(the once without nonce) will work transparently.
3012* monotone.texi (Hooks): Change the docs accordingly.
3013* netsync.cc (session::~session): Change the calls accordingly.
3014
30152006-03-17 Richard Levitte <richard@levitte.org>
3016
3017There are times when it is good to be able to prepare for a
3018bunch of calls to note_netsync* hooks, as well as to know when
3019there are not more such calls to be expected. To that end, I've
3020added note_netsync_start and note_netsync_end, and changed the
3021others to take the exact same nonce as those two. The purpose
3022of the nonce is to differentiate between different runs, if they
3023ever would run in parallel.
3024
3025* lua.cc, lua.hh (lua_hooks::hook_note_netsync_start,
3026lua_hooks::hook_note_netsync_end): Added methods.
3027(lua_hooks::hook_note_netsync_revision_received,
3028lua_hooks::hook_note_netsync_pubkey_received,
3029lua_hooks::hook_note_netsync_cert_received): Modified to take a
3030nonce.
3031* monotone.texi (Hooks): Documented.
3032* netsync.cc (session::~session): Modified to call
3033app.lua.hook_note_netsync_start and app.lua.hook_note_netsync_end
3034as well as the others with the nonce argument.
3035
30362006-03-16 Benoît Dejean <benoit@placenet.org>
3037
3038* commands.cc (log): Don't include <sys/time.h>, my mistake.
3039
30402006-03-16 Richard Levitte <richard@levitte.org>
3041
3042* revision.cc (construct_revisions_from_ancestry): Linguistics:
3043Close a parenthesis.
3044* po/sv.po: Translation update.
3045
30462006-03-15 Richard Levitte <richard@levitte.org>
3047
3048* diff_patch.cc (unidiff_hunk_writer::advance_to,
3049cxtdiff_hunk_writer::advance_to): Because ctx is a size_t, make
3050everything dealing with it a size_t as well. Keeps the compiler
3051quiet...
3052
30532006-03-15 Matt Johnston <matt@ucc.asn.au>
3054
3055* database.cc (db::load), schema.sql: PRAGMA page_size=8192
3056
30572006-03-13 Richard Levitte <richard@levitte.org>
3058
3059* tests/t_serve_ignores_mt_options.at: New test to check that
3060'monotone serve' really ignores the contents of an available
3061MT/options.
3062* testsuite.at: Use it.
3063
30642006-03-12 Timothy Brownawell <tbrownaw@gmail.com>
3065
3066* netsync.cc (session::maybe_note_epochs_finished): only begin the
3067other refinements if we're the client, as per the comment in refiner.cc
3068
30692006-03-14 Nathaniel Smith <njs@pobox.com>
3070
3071* revision.cc (construct_revisions_from_ancestry): Now with 17%
3072more helpfulness.
3073
30742006-03-12 Richard Levitte <richard@levitte.org>
3075
3076Some of the monotone commands don't really need to use the data
3077in MT/options. As a matter of fact, it's even a really bad idea
3078for some command, for example 'monotone serve'. We must still
3079check for the MT directory and read whatever is there, just
3080don't immediately use the data from MT/options. I've done it by
3081moving the code that processes the data from MT/options in
3082app_state::allow_workspace to another method, which is then used
3083separately.
3084
3085* app_state.cc, app_state.hh (app_state::allow_workspace): The
3086code that processes data from MT/options and uses the information
3087is now moved...
3088(app_state::process_options): ... here.
3089
3090* commands.cc (struct command, commands::process, CMD, CMT_NO_MT):
3091Add a per-command flag that says if the particular command needs
3092to bother with the workspace options or not. CMD_NO_MT is a new
3093macro to help define commands that don't.
3094(CMD(serve)): Change into...
3095(CMD_NO_MT(serve)): ... this.
3096
3097* monotone.cc (cpp_main): Changed the comment so it matches
3098reality.
3099
31002006-03-12 Matthew Gregan <kinetik@orcon.net.nz>
3101
3102* tests/t_dump_load.at: Don't canonicalise database dump output;
3103there should be no need to do so.
3104
31052006-03-12 Nathaniel Smith <njs@pobox.com>
3106
3107* monotone.texi (Selectors): Remove line noise.
3108Also, add an example for c:.
3109
3110* roster.cc (update_restricted_roster_from_filesystem): Put back
3111hint about drop --missing, revert --missing that was lost in
3112transition to rosters.
3113
31142006-03-12 Matthew Gregan <kinetik@orcon.net.nz>
3115
3116* configure.ac: Add a second sync_for_stdio test to work around a
3117bug in OS X.
3118
3119* testsuite.at: Changes to Perl and Python UNB64_COMMAND
3120invocations to work around some quoting issues broken/revealed in
3121my last change.
3122
31232006-03-12 Benoît Dejean <benoit@placenet.org>
3124
3125* commands.cc: log: retrieve changes summary and ancestors only when
3126needed.
3127
31282006-03-12 Benoît Dejean <benoit@placenet.org>
3129
3130* po/fr.po: Small fixes.
3131
31322006-03-12 Matthew Gregan <kinetik@orcon.net.nz>
3133
3134* paths.cc, annotate.cc, xdelta.cc: Fix the signed vs unsigned
3135warnings which have obvious solutions.
3136
3137* testsuite.at: Remove eval in UNB64_COMMAND and UNGZ_COMMAND; it
3138breaks testsuite tracing.
3139
3140* tests/t_database_check.at, tests/t_rosterify_attrs.at,
3141tests/t_rosterify_rename.at: Use POSIX syntax for tail.
3142
31432006-03-12 Richard Levitte <richard@levitte.org>
3144
3145* ChangeLog: Fixup after merge lossage.
3146
31472006-03-11 Matthew Gregan <kinetik@orcon.net.nz>
3148
3149* m4/prog_cxx_warnings.m4: Turn on extra warnings (-W) when using
3150GCC. Also disable 'unused variable' warnings (enabled by -W) for
3151now. This change only causes 8 new warnings (all of one
3152type--signed vs unsigned) to occur.
3153
3154* netxx/peer.cxx, netxx/sockaddr.cxx, netxx/sockaddr.h: Correct
3155the only six cases of type punning that occur (that GCC 4.1 can
3156detect, at least) in C++ code we compile. It is probably safe to
3157remove -fno-strict-aliasing from CXXFLAGS now.
3158
31592006-03-11 Benoît Dejean <benoit@placenet.org>
3160
3161* po/fr.po: Fixed encoding.
3162
31632006-03-10 Richard Levitte <richard@levitte.org>
3164
3165* po/fr.po: Small details to change.
3166
31672006-03-10 Matthew Gregan <kinetik@orcon.net.nz>
3168
3169* ROADMAP: Remove items that have been done and correct a typo.
3170
3171* COPYING: Update FSF address.
3172
3173* po/fr.po: Fix up broken msgstrs that were causing msgmerge to
3174choke.
3175
31762006-03-09 Richard Levitte <richard@levitte.org>
3177
3178* po/fr.po: Finished almost all untranslated things. I'm a
3179bit tired...
3180
31812006-03-09 Richard Levitte <richard@levitte.org>
3182
3183* po/fr.po: More translations done.
3184
31852006-03-09 Richard Levitte <richard@levitte.org>
3186
3187* po/fr.po: More translations done. Started using freedict
3188services.
3189
31902006-03-09 Richard Levitte <richard@levitte.org>
3191
3192* po/fr.po: More translations done. Some new standard
3193translations added.
3194
31952006-03-09 Richard Levitte <richard@levitte.org>
3196
3197* po/fr.po: More translations done. Note that I changed the
3198translation "cert" -> "cert" to "cert" -> "certif" because I
3199found a previous translation of the latter kind and liked it
3200better.
3201
32022006-03-08 Richard Levitte <richard@levitte.org>
3203
3204* po/fr.po: Translating more untranslated strings.
3205
32062006-03-08 Richard Levitte <richard@levitte.org>
3207
3208* po/sv.po: Traduce 2 new strings.
3209
32102006-03-08 Matt Johnston <matt@ucc.asn.au>
3211
3212* monotone.texi: mention merge_into_dir in the pivot_root description.
3213
32142006-03-08 Derek Scherger <derek@echologic.com>
3215
3216* work.{cc,hh} (get_current_restricted_roster,
3217get_base_and_current_restricted_roster): comment out
3218suspicious/unused functions
3219
32202006-03-08 Derek Scherger <derek@echologic.com>
3221
3222* tests/t_revert_file_blocked_by_dir.at: new XFAIL test for revert
3223* testsuite.at: call it
3224
32252006-03-08 Matthew Gregan <kinetik@orcon.net.nz>
3226
3227* tests/t_sink_has_extra_epochs.at: Er, and also check for branch
3228names rather than revisions in the output of 'ls branches'.
3229
3230* tests/t_sink_has_extra_epochs.at: Fix up subtle syntax error.
3231
3232* lru_cache.h: Rename some enums to avoid namespace collisions on
3233Win32.
3234
32352006-03-08 Joel Rosdahl <joel@rosdahl.net>
3236
3237* po/sv.po: Minor updates.
3238
32392006-03-08 Matthew Gregan <kinetik@orcon.net.nz>
3240
3241* monotone.texi: Spelling fixes.
3242
32432006-03-08 Nathaniel Smith <njs@pobox.com>
3244
3245* tests/t_disapprove_branch.at: I'm an idiot.
3246
32472006-03-08 Nathaniel Smith <njs@pobox.com>
3248
3249* tests/t_disapprove_branch.at: Actually add.
3250
32512006-03-08 Nathaniel Smith <njs@pobox.com>
3252
3253* tests/t_disapprove_branch.at, testsuite.at: Add a placeholder
3254test for disapprove's broken branch handling; from code
3255inspection, it is obviously broken. I don't have time to write a
3256real test right now, though, never mind fix it... but at least we
3257have an XFAIL and a comment...
3258
32592006-03-07 Matthew Gregan <kinetik@orcon.net.nz>
3260
3261* std_hooks.lua (ignore_file): Fixup after introduction of
3262dir_matches() helper. Visual SourceSafe stores metadata in named
3263files, not named directories.
3264
32652006-03-07 Richard Levitte <richard@levitte.org>
3266
3267* po/fr.po: Started on the untranslated strings.
3268
32692006-03-07 Richard Levitte <richard@levitte.org>
3270
3271* po/fr.po: Done all the fuzzy translations I could.
3272
32732006-03-06 Timothy Brownawell <tbrownaw@gmail.com>
3274
3275* tests/t_push_with_upstream_epochs.at: Test that we don't hang on a
3276one-way transfer where the sink has extra epochs.
3277* testsuite.at: call it
3278* tests/t_epoch.at: When we're setting epochs by hand, also try one
3279with an invalid length. It should N(), not I().
3280
32812006-03-06 Graydon Hoare <graydon@pobox.com>
3282
3283* lru_cache.hh (LRUCache::insert): Fix memory leak.
3284
32852006-03-06 Timothy Brownawell <tbrownaw@gmail.com>
3286
3287* tests/t_delete_dir.at: Check that drop on a non-empty dir
3288without --recursive doesn't work.
3289
32902006-03-06 Timothy Brownawell <tbrownaw@gmail.com>
3291
3292* app_state.{cc,hh}, options.hh, monotone.cc: Add a --recursive option.
3293* commands.cc (drop): accept --recursive
3294* work.cc (perform_deletions): obey --recursive
3295* tests/t_delete_dir{,_patch}.at, tests/t_subdir_drop.at:
3296use --recursive, remove XFAIL
3297* tests/t_add_intermediate_MT_path.at: reenable recursive drop section
3298
32992006-03-06 Richard Levitte <richard@levitte.org>
3300
3301* po/fr.po: More translations.
3302
33032006-03-05 Timothy Brownawell <tbrownaw@gmail.com>
3304
3305* commands.cc (db set_epoch): N() on the epoch size, so we don't I()
3306on it in database.cc .
3307* netsync.cc (maybe_note_epochs_finished): If we're in source_role,
3308epochs can be finished even if the refiner says we still have some
3309to receive.
3310* refiner.cc (begin_refinement): Add logging.
3311
33122006-03-05 Richard Levitte <richard@levitte.org>
3313
3314* po/fr.po: Add a translation guide, partly borrowed from
3315subversion, work on a translation update, partly done.
3316(this is done with Benoît's blessing)
3317
33182006-03-05 Richard Levitte <richard@levitte.org>
3319
3320* commands.cc (CMD(tag)): "revision version" seems a bit
3321redundant.
3322* po/sv.po: change the translation accordingly.
3323
33242006-03-05 Nathaniel Smith <njs@pobox.com>
3325
3326* monotone.texi (Hooks): Update merge2 and merge3 hook
3327documentation to reflect current reality.
3328
33292006-03-05 Graydon Hoare <graydon@pobox.com>
3330
3331* basic_io.{cc,hh}: Change printer to use static string buf.
3332* {automate,cset,revision,roster,work}.cc: Update to match.
3333* xdelta.cc: Minor optimizations.
3334
33352006-03-05 Graydon Hoare <graydon@pobox.com>
3336
3337* lru_cache.h: New file.
3338* AUTHORS: Mention Patrick.
3339* Makefile.am: Include file.
3340* basic_io.cc: Change uses of isxdigit, isalnum.
3341* botan/gzip.h: Reduce gzip to level 1.
3342* constants.cc (db_roster_cache_sz): Set to 7.
3343* database.cc: Use lru cache for vcache; add roster cache.
3344* hmac.cc: Instantiate "SHA-160" not "SHA-1"
3345(corrects lookup miss in botan's algorithm table).
3346* transforms.cc ({encode,decode}_hexenc): Specialize for idlen.
3347
33482006-03-05 Matthew Gregan <kinetik@orcon.net.nz>
3349
3350* work.cc: Remove single quotes from the new adding, dropping, and
3351renaming messages to make them consistent with the existing update
3352message.
3353
33542006-03-04 Derek Scherger <derek@echologic.com>
3355
3356* tests/t_revert_move_to_renamed_dir.at: new test for bug reported
3357by Thomas Keller
3358* testsuite.at: call it
3359
33602006-03-05 Richard Levitte <richard@levitte.org>
3361
3362* po/sv.po: A few changes.
3363
33642006-03-03 Nathaniel Smith <njs@pobox.com>
3365
3366* commands.cc (checkout): Oops, missed a format string
3367argument...
3368
33692006-03-03 Nathaniel Smith <njs@pobox.com>
3370
3371* std_hooks.lua (merge3_xxdiff_cmd): Pass --exit-with-merge-status
3372so as to get a meaningful exit code.
3373
33742006-03-03 Nathaniel Smith <njs@pobox.com>
3375
3376* commands.cc (update): Make plain update with multiple heads an
3377Error, not a Naughty.
3378(checkout): If a branch has multiple heads, list candidates, give
3379usage hint, and use Error instead of Naughty.
3380
33812006-03-31 Derek Scherger <derek@echologic.com>
3382
3383* restrictions.cc (get_nodes, merge_states): remove;
3384(add_paths, add_nodes, map_paths, map_nodes): simplify after above
3385cleanup and removal of implicit includes;
3386* restrictions.hh: remove stale comments
3387
33882006-03-30 Derek Scherger <derek@echologic.com>
3389
3390* commands.cc (status, ls_changed, commit, diff, revert): call
3391check_restricted_cset after make_restricted_csets
3392* restrictions.cc: remove implicit parents gunk and update
3393unit tests accordingly
3394* roster.{cc,hh} (check_restricted_cset): new function to issue a
3395nice message if required directories have been excluded
3396* tests/t_log_dir.at: un-XFAIL
3397
33982006-03-03 Derek Scherger <derek@echologic.com>
3399
3400* restrictions.cc (check_for_missing_additions): new function
3401(remap_paths): make static
3402(get_base_roster_and_working_cset): call check_for_missing_additions
3403* tests/t_restriction_excludes_parent.at: un-XFAIL
3404
34052006-03-03 Patrick Mauritz <oxygene@studentenbude.ath.cx>
3406
3407* commands.cc: remove rdata, certs, fdata and fdelta commands
3408from user interface, and move them to
3409* automate.cc: the automate interface as packet_for_rdata,
3410packets_for_certs, packet_for_fdata, packet_for_fdelta
3411* tests/t_bad_packets.at: adapt for 0.26 and for the changes above
3412
34132006-03-02 Derek Scherger <derek@echologic.com>
3414
3415testsuite.at: fix broken include of t_restriction_excludes_parent.at
3416
34172006-03-02 Derek Scherger <derek@echologic.com>
3418
3419* app_state.{cc,hh} (restriction_requires_parent): remove
3420* restrictions.cc (restrict_cset): remove call to
3421restriction_requires_parent
3422* restrictions.hh: remove unused struct
3423* tests/t_persistent_server_keys.at: use unrestricted commit to
3424avoid parent exclusion
3425* tests/t_restriction_with_exclude.at: remove bogus check
3426* tests/t_restrictions.at: work around excluded parents
3427* tests/t_revert_new_project.at: un-XFAIL
3428* tests/t_subdirs.at: work around excluded parents
3429* tests/t_restriction_excludes_parent.at: new XFAIL test for restrictions
3430that exclude required parent dirs
3431* testsuite.at: call it
3432
34332006-03-02 Emile Snyder <emile@alumni.reed.edu>
3434
3435add --unknown, when new files exist in new directories, would try
3436to add files multiple times.
3437
3438* commands.cc (CMD(add)): Call perform_additions() with correct
3439new boolean flag val to determine whether it recurses on the paths
3440we hand it.
3441* work.{cc,hh} (perform_additions): Use boolean flag to indicate
3442whether the paths should be treated as a set of starting points
3443for recursively adding entries, or a fixed set of paths.
3444* tests/t_add.at: Test that we are not getting the warning
3445messages when adding new files in new directories.
3446
34472006-03-01 Benoît Dejean <benoit@placenet.org>
3448
3449* po/fr.po: Updated French translation.
3450
34512006-03-01 Richard Levitte <richard@levitte.org>
3452
3453* po/sv.po: One small translation change.
3454
34552006-03-01 Matthew Gregan <kinetik@orcon.net.nz>
3456
3457* transforms.cc: Better use of appropriately typedefed types.
3458* transforms.cc: Don't assume wchar_t is wide enough to hold a
3459UCS-4 character.
3460* transforms.cc, transforms.hh: Add utf8_validate function and
3461some validity unit tests.
3462(system_to_utf8): Check that conversion has resulted in valid
3463UTF-8.
3464* paths.cc (file_path::file_path): Check that path is valid UTF-8.
3465
34662006-02-28 Matthew Gregan <kinetik@orcon.net.nz>
3467
3468* tests/t_mt_ignore.at: Fix test on MinGW/Win32.
3469
34702006-02-28 Matt Johnston <matt@ucc.asn.au>
3471
3472* commands.cc (CMD(merge)): don't say "misuse" if it's
3473just already merged.
3474
34752006-02-27 Benoît Dejean <benoit@placenet.org>
3476
3477* netsync.cc: Fixed string surgery.
3478One more string for i18n.
3479
34802006-02-27 Richard Levitte <richard@levitte.org>
3481
3482* po/sv.po: More translations.
3483
34842006-02-27 Timothy Brownawell <tbrownaw@gmail.com>
3485
3486* netsync.cc: more logging
3487
34882006-02-27 Richard Levitte <richard@levitte.org>
3489
3490* po/sv.po: Updated translation.
3491
34922006-02-26 Nathaniel Smith <njs@pobox.com>
3493
3494* revision.cc (parse_revision): Prepare for the future by giving a
3495more user-friendly error message on unknown format_version
3496strings.
3497
34982006-02-27 Richard Levitte <richard@levitte.org>
3499
3500* po/sv.po: Updated translations.
3501
35022006-02-26 Nathaniel Smith <njs@pobox.com>
3503
3504* schema_migration.cc (migrate): Provide a little more feedback
3505during migration, so it doesn't look like it's taking minutes and
3506minutes just to "calculate necessary migration steps".
3507
35082006-02-26 Timothy Brownawell <tbrownaw@gmail.com>
3509
3510Add a new command, merge_into_dir, to allow a project to include an
3511unrelated project as a subdir. Also add a show_conflicts command that
3512performs a dry-run merge and prints conflict counts.
3513* commands.cc: new commands, merge_into_dir and show_conflicts
3514* commands.cc (propagate): remove duplicated code; this now calls
3515merge_into_dir with a dir of '' (the empty string).
3516* monotone.texi: Document the new commands.
3517* tests/t_{merge_into_dir,show_conflicts}.at: Test the new commands.
3518* testsuite.at: Use the new tests.
3519* merge.{cc,hh}: Factor a store_roster_merge_result function out
3520of interactive_merge_and_store.
3521
35222006-02-26 Derek Scherger <derek@echologic.com>
3523
3524* tests/t_log_dir.at: new XFAIL test of log restricted to a single
3525directory
3526* testsuite.at: call it
3527
35282006-02-27 Matt Johnston <matt@ucc.asn.au>
3529
3530* monotone.cc, app_state.{cc,hh}, ...: print argv[0] when giving
3531usage of commands to run, rather than just "monotone"
3532
35332006-02-27 Matt Johnston <matt@ucc.asn.au>
3534
3535* std_hooks.lua (ignore_file, dir_matches): add dir_matches helper
3536to avoid including ignored dirs such as '.svn', since dirs now
3537actually exist.
3538
35392006-02-26 Nathaniel Smith <njs@pobox.com>
3540
3541* roster_merge.cc: Update notes on tests.
3542
35432006-02-25 Nathaniel Smith <njs@pobox.com>
3544
3545* work.cc (attach_node): Apparently the tests depend on update
3546clobbering existing non-versioned files... and we don't have a
3547good solution _anyway_, so just go back to clobbering them.
3548
35492006-02-25 Nathaniel Smith <njs@pobox.com>
3550
3551* cset.cc (root_dir_test, invalid_csets_test): Don't test that
3552root dir stuff fails. Test that it works.
3553
35542006-02-25 Nathaniel Smith <njs@pobox.com>
3555
3556* roster.cc (detach_node): Add missing invariant.
3557
35582006-02-25 Nathaniel Smith <njs@pobox.com>
3559
3560* roster_merge.cc (roster_merge): Fix strange merge-created
3561problem...
3562
35632006-02-25 Nathaniel Smith <njs@pobox.com>
3564
3565* work.cc (attach_node): This code should use path_exists, not
3566file_exists.
3567
35682006-02-24 Timothy Brownawell <tbrownaw@gmail.com>
3569
3570* netcmd.cc: Ignore protocol version field on usher_cmd packets. It
3571should now be possible to use an usher to redirect connections based
3572on netsync version.
3573* netcmd.hh: Remove unused netcmd::get_version() and
3574unused/unimplemented netcmd::netcmd(u8 version).
3575
35762006-02-24 Richard Levitte <richard@levitte.org>
3577
3578* commands.cc (ls_changed): I was a bit overly paranoid about the
3579possibilities with C++ and defined an explicit functor for the set
3580instead of relying on the automatic generation of less<file_path>.
3581Derek Scherger made me realise I was a bit overzealous, and this
3582change removes the explicit functor.
3583
35842006-02-23 Matthew Gregan <kinetik@orcon.net.nz>
3585
3586* enumerator.hh: Another GCC 4.1 compile fix.
3587
3588* tests/t_log_selectors.at: UnXFAIL.
3589
3590* commands.cc (complete): Refactor selector completion to enable
3591return of single or sets of completed revisions.
3592(CMD(log)): Do something sensible with selectors that return
3593multiple revisions.
3594
3595* tests/t_log_selectors.at: XFAILed test for bug #15877.
3596
3597* testsuite.at: Add it.
3598
3599* app_state.cc, app_state.hh, commands.cc, monotone.cc,
3600options.hh: Revert failed UI experiment: reenable logging merges
3601by default and rename --merges back to --no-merges.
3602
3603* contrib/color-logs.{conf,sh}, contrib/monotone-notify.pl,
3604contrib/monotone.el, tests/t_log_nofiles_nomerges.at,
3605testsuite.at: Handle --no-merges.
3606
3607* monotone.texi: Document --no-merges.
3608
36092006-02-23 Matt Johnston <matt@ucc.asn.au>
3610
3611* enumerator.{cc,hh}: avoid transferring deltas on both sides of merge
3612revisions, and prefer deltas to data when both are available.
3613See
3614https://savannah.nongnu.org/bugs/?func=detailitem&item_id=15846
3615
36162006-02-25 Derek Scherger <derek@echologic.com>
3617
3618* automate.cc (automate_inventory):
3619* commands.cc (status, ls_known, find_unknown_and_ignored,
3620find_missing, ls_changed, commit, diff, revert, log):
3621* roster.cc (update_current_roster_from_filesystem): add app_state
3622to restriction constructors
3623* restrictions.{cc,hh}: add support for --depth option and ignored
3624files in restrictions to match old functionality; clean up
3625constructors a bit
3626* tests/t_automate_get_manifest_of.at: add format_version stanza
3627to test manifest
3628* tests/t_restrictions.at: re-enable --depth tests
3629
36302006-02-22 Derek Scherger <derek@echologic.com>
3631
3632* automate.cc (automate_get_revision, automate_get_manifest_of):
3633merge fixups
3634* commands.cc (ls_changed): convert to new restrictions
3635(commit, update, revert):
3636* restrictions.cc:
3637* roster.cc: merge fixups
3638
36392006-02-20 Derek Scherger <derek@echologic.com>
3640
3641* restrictions.{cc,hh}: attempt to simplify and remove duplication
3642
36432006-02-20 Derek Scherger <derek@echologic.com>
3644
3645* commands.cc (status, ls_known, find_unknown_and_ignored,
3646find_missing, commit, diff, revert, log): add excludes to restrictions
3647* restrictions.{cc,hh}: preliminary support for excludes and unit
3648tests to see if it works
3649
36502006-02-13 Derek Scherger <derek@echologic.com>
3651
3652* app_state.{cc,hh}:
3653* globis.{cc,hh}: make exclude_patterns a vector rather than a
3654set so that restriction includes/excludes are of the same type
3655
36562006-02-21 Nathaniel Smith <njs@pobox.com>
3657
3658* work.cc (detach_node): This time for sure!
3659
36602006-02-21 Nathaniel Smith <njs@pobox.com>
3661
3662* work.cc (detach_node): Oops, x != y != !(x == y).
3663
36642006-02-21 Nathaniel Smith <njs@pobox.com>
3665
3666* roster_merge.cc: Fixup after merge.
3667
36682006-02-21 Nathaniel Smith <njs@pobox.com>
3669
3670* work.cc (detach_node): Check if we are passed the root dir, and
3671error out if so.
3672
36732006-02-21 Matt Johnston <matt@ucc.asn.au>
3674
3675* commands.cc (pid_file): newline-terminate the pid
3676
36772006-02-21 Richard Levitte <richard@levitte.org>
3678
3679* contrib/usher.cc (server::set_hosts): Erasing the list node that
3680we're iterating on, then trying to go to the next node doesn't
3681work. Save the iterator, then increment it before erasing the
3682node using the saved value. No more segfaults.
3683
36842006-02-21 Matthew Gregan <kinetik@orcon.net.nz>
3685
3686* sanity.hh: Work around roster_merge.cc compilation failure with
3687GCC 3.4.
3688
36892006-02-20 Richard Levitte <richard@levitte.org>
3690
3691* monotone.cc (cpp_main), options.hh, ui.cc (redirect_log_to),
3692ui.hh (struct user_interface): Add --log option, to redirect the
3693log lines to a file.
3694
3695* monotone.texi (OPTIONS): Document it.
3696
3697* po/sv.po: Translate help for this option to Swedish.
3698
3699* testsuite.at, tests/t_log_to_file.at: Test it.
3700
37012006-02-20 Matt Johnston <matt@ucc.asn.au>
3702
3703* database.cc (remove_version): get rid of dangling deltas,
3704don't try to put data or deltas if they already exist.
3705* tests/t_db_kill_rev_locally_2.at: un-XFAIL
3706
37072006-02-20 Matthew Gregan <kinetik@orcon.net.nz>
3708
3709* testsuite.at: Add an ADD_FILE variant that allows use of
3710alternate databases.
3711
3712* tests/t_netsync_permissions.at: Missed some cases of the
3713database locking race.
3714
37152006-02-19 Nathaniel Smith <njs@pobox.com>
3716
3717* ChangeLog: Fixup after xxdiff lossage.
3718
37192006-02-19 Nathaniel Smith <njs@pobox.com>
3720
3721* roster_merge.cc (make_lifecycle_objs): Fix test bug.
3722
37232006-02-19 Matthew Gregan <kinetik@orcon.net.nz>
3724
3725* testsuite.at: Add a REVERT_TO variant that allows use of
3726alternate databases.
3727
3728* tests/t_netsync_permissions.at: Attempt to avoid a database
3729locking race in this test that is causing spurious failures by
3730using the new REVERT_TO variant to cause revert to be performed
3731using the "client" database.
3732
37332006-02-19 Nathaniel Smith <njs@pobox.com>
3734
3735* roster.cc (shallow_equal): Publically expose.
3736* roster.cc, roster_merge.cc: Various compile fixes.
3737
37382006-02-19 Nathaniel Smith <njs@pobox.com>
3739
3740* roster_merge.{hh,cc}: Make terminology more consistent.
3741"marking_map" type -> "markings" name, "marking_t" type ->
3742"marking" name.
3743
37442006-02-19 Nathaniel Smith <njs@pobox.com>
3745
3746* roster.{hh,cc} (testing_node_id_source): Make this node source
3747available to unit tests in other files.
3748* roster_merge.cc (test_roster_merge_node_lifecycle): New test.
3749Still quite ugly.
3750
37512006-02-18 Nathaniel Smith <njs@pobox.com>
3752
3753* roster_merge.cc (roster_merge): Remove obsolete FIXME.
3754
37552005-10-19 Matthew A. Nicholson <matt@matt-land.com>
3756
3757* contrib/monotone.bash_completion: Update for 0.25.
3758
37592006-02-19 Matthew Gregan <kinetik@orcon.net.nz>
3760
3761* cset.hh (struct editable_tree): Add commit() member function to
3762editable_tree.
3763
3764* cset.cc (cset::apply_to): Call editable_tree::commit() after
3765applying any other changes.
3766
3767* roster.hh, roster.cc: Empty implementation of
3768editable_roster_base::commit().
3769
3770* work.hh, work.cc: Implementation of
3771editable_working_tree::commit() that ensures all detached nodes
3772have been reattached.
3773
3774* work.hh (struct editable_working_tree): Add map for tracking
3775path name mappings across node detach operations.
3776
3777* work.cc (editable_working_tree::detach_node): Insert path name
3778mappings into map.
3779(editable_working_tree::drop_detached_node,
3780editable_working_tree::attach_node): Report add/drop/rename
3781operations during workspace updates.
3782
3783* lua.cc: Use the safer luaL_check* rather than lua_to* in
3784monotone_*_for_lua functions.
3785
37862006-02-18 Markus Schiltknecht <markus@bluegap.ch>
3787
3788* tests/t_cvsimport_branch.at, testsuite.at: New XFAIL test for
3789cvs_import branch reconstruction.
3790
37912006-02-18 Matthew Gregan <kinetik@orcon.net.nz>
3792
3793* tests/t_log_nofiles_merges.at: Add test for the log options
3794--no-files and --merges.
3795
3796* testsuite.at: Add t_log_nofiles_merges.at.
3797
37982006-02-13 Nathaniel Smith <njs@pobox.com>
3799
3800* roster_merge.cc (log_conflicts): Tweak string.
3801Add list of tests needed.
3802
38032006-02-13 Nathaniel Smith <njs@pobox.com>
3804
3805* roster_merge.cc (is_clean): Simplify.
3806(add_roster_merge_tests):
3807* unit_tests.cc (init_unit_test_suite):
3808* unit_tests.hh (add_roster_merge_tests): Add unit test
3809boilerplate.
3810
38112006-02-18 Matthew Gregan <kinetik@orcon.net.nz>
3812
3813* tests/t_db_kill_rev_locally_2.at: Add an XFAIL test for a
3814kill_rev_locally bug reported by Daniel Carosone.
3815
3816* testsuite.at: Add t_db_kill_rev_locally_2.at.
3817
3818* sqlite/parse.h: Regenerated parse.h from pristine SQLite 3.3.4
3819source. The version committed in the 3.3.4 import had a bunch of
3820duplicate entries.
3821
3822* commands.cc (CMD(identify)): This isn't really a "workspace"
3823command--stick it under "debug" for lack of a better place.
3824
3825* commands.cc (CMD(refresh_inodeprints)): Check for a valid
3826workspace rather than failing with an invariant when run outside
3827of a workspace.
3828
3829* tests/t_revert_new_project.at: Add an XFAIL test for a bug where
3830reverting a file added in a new project will leave the workspace
3831in a bad state until MT/work is removed manually.
3832
3833* testsuite.at: Add t_revert_new_project.at.
3834
3835* app_state.cc, app_state.hh, commands.cc, monotone.cc,
3836options.hh: Add '--no-files' option to log to allow users to
3837exclude the list of files changed in each revision from the log
3838output.
3839
3840* monotone.texi: Document '--no-files', and '--next' and '--diffs'
3841while there.
3842
38432006-02-17 Matthew Gregan <kinetik@orcon.net.nz>
3844
3845* lua.cc, lua.hh, monotone.texi, std_hooks.lua, test_hooks.lua,
3846testsuite.at: Remove unused non_blocking_rng_ok hook.
3847
3848* sqlite/*: Import SQLite 3.3.4.
3849
38502006-02-16 Patrick Mauritz <oxygene@studentenbude.ath.cx>
3851
3852* netsync.cc (handle_new_connection): Netxx::Address.get_name()
3853returns NULL every now and then. if so, continue with "" instead
3854
3855* sqlite/parse.c: move #line under all #include directives so
3856the compiler can't be confused by it.
3857
38582006-02-14 Richard Levitte <richard@levitte.org>
3859
3860* Makefile.am (htmldir): Add variables so monotone.html is created
3861and installed automatically.
3862This is prompted by debian/monotone.html, which indicates
3863monotone.html should be available.
3864
3865* netsync.cc (serve_connections): Correct spelling.
3866
38672006-02-13 Matthew Gregan <kinetik@orcon.net.nz>
3868
3869* sanity.cc (sanity::dump_buffer): Fix a SEGV when we're in an
3870error unwind and about to ask the user to mail us the crash
3871log--we must use FL() rather than F() here, since by the time this
3872is called we can't rely on the i18n infrastructure being alive.
3873
38742006-02-12 Nathaniel Smith <njs@pobox.com>
3875
3876* netsync.cc (serve_connections): Revert garbage that I
3877accidentally checked in last time...
3878
38792006-02-12 Nathaniel Smith <njs@pobox.com>
3880
3881* NEWS: Add things done since last time I did this...
3882
38832006-02-12 Matthew Gregan <kinetik@orcon.net.nz>
3884
3885* {cset,paths,revision,roster,sanity,vocab}.{cc,hh}: GCC 4.1
3886compile fixes.
3887
38882006-02-11 Richard Levitte <richard@levitte.org>
3889
3890* NEWS: Removed my notice about netsync, as I just noticed it
3891was already mentioned under Bugs:.
3892
38932006-02-11 Nathaniel Smith <njs@pobox.com>
3894
3895* configure.ac, debian/changelog, monotone.spec:
3896* win32/monotone.iss: Bump version to 0.26pre2.
3897
38982006-02-11 Nathaniel Smith <njs@pobox.com>
3899
3900* NEWS: Add mention of validate_commit_message.
3901
39022006-02-11 Blake Kaplan <mrbkap@gmail.com>
3903
3904* monotone.texi (Hooks): Added new subsection about validation
3905hooks, and describe validate_commit_message in it.
3906
3907* std_hooks.lua (validate_commit_message): Change the second
3908argument to match the documentation.
3909
39102006-02-11 Matt Johnston <matt@ucc.asn.au>
3911
3912* database.hh: increase checkpoint batch size from 100 to 1000
3913
39142006-02-11 Matt Johnston <matt@ucc.asn.au>
3915
3916* NEWS: Fix rename example.
3917
39182006-02-11 Richard Levitte <richard@levitte.org>
3919
3920* NEWS: Update with the netsync change.
3921
39222006-02-11 Nathaniel Smith <njs@pobox.com>
3923
3924* NEWS: Draft for 0.26pre2.
3925
39262006-02-11 Richard Levitte <richard@levitte.org>
3927
3928* netsync.cc (serve_connections): Enclose more or less everything
3929in a try-catch block to catch if using IPv6 failed, and to try
3930with just IPv4 in that case. This is important for those who
3931copy a IPv6-enabled binary to a system that doesn't use IPv6.
3932
3933* po/sv.po: Adapt translation to the newly changed messages.
3934
39352006-02-10 Derek Scherger <derek@echologic.com>
3936
3937* tests/t_drop_missing.at:
3938* tests/t_rename.at:
3939* work.cc (visit_file): attempt to improve a couple of messages;
3940remove some unrequired \n's
3941
39422006-02-10 Derek Scherger <derek@echologic.com>
3943
3944* netsync.cc (process_anonymous_cmd, process_auth_cmd): don't
3945report misleading permission denied errors for branches that are
3946not being served
3947* paths.cc (find_and_go_to_workspace): delete stale comment
3948* tests/t_netsync_permissions.at: add test pull of branch that is
3949not served
3950
39512006-02-11 Timothy Brownawell <tbrownaw@gmail.com>
3952
3953Adding your db is silly and confusing (what should revert do?).
3954So, it's not allowed any more (the db file is ignored, regardless of
3955what the ignore hook says).
3956* tests/t_add_owndb.at: remove XFAIL, use 'ls known' instead of
3957'ls unknown'
3958* testsuite.at: don't put the db in the ignore hook
3959* database.{cc,hh}: is_dbfile(), check if a path is the database file
3960* work.cc: check is_dbfile where we check the ignore hook when
3961walking the filesystem
3962* tests/t_mt_ignore.at: fix for having the db always be ignored
3963
39642006-02-10 Richard Levitte <richard@levitte.org>
3965
3966* monotone.texi (Hooks): Change the example for
3967get_revisions_cert_trust to check "branch" certs instead of
3968"ancestor" ones, and thereby match the effect of the "approve"
3969command.
3970
39712006-02-10 Matt Johnston <matt@ucc.asn.au>
3972
3973* commands.cc (CMD(checkout)): wrapping in a transaction makes
3974a big difference.
3975
39762006-02-09 Nathaniel Smith <njs@pobox.com>
3977
3978* Makefile.am (SQLITE_SOURCES): Remove header files lost in
3979latest SQLite upstream import.
3980
39812006-02-09 Graydon Hoare <graydon@pobox.com>
3982
3983* lua.cc (hook_validate_commit_message): make validated the
3984default.
3985
39862006-02-09 Richard Levitte <richard@levitte.org>
3987
3988* tests/t_cvsimport.at, tests/t_cvsimport3.at,
3989tests/t_cvsimport_deleted_invar.at,
3990tests/t_cvsimport_manifest_cycle.at, tests/t_cvsimport_samelog.at,
3991tests/t_singlecvs.at: Changed to cope with the strictness of
3992CVSNT. It doesn't create a CSVROOT/history file automagically,
3993but CVSROOT/modules is created automatically both by the older CVS
3994and by CVSNT. You can't check out a group of files using revision
3995numbers with CVSNT. You MUST stand in the work directory for some
3996command with CVSNT. Finally, with CVSNT, 'cvs init' generates the
3997following message if you're a normal user, at least on Debian:
3998
3999cvs init: Unable to register repository.
4000cvs init: Your login may not have sufficient permissions to modify the
4001cvs init: global server settings.
4002cvs init: Repository /home/levitte/cvsfoo initialised
4003
40042006-02-09 Matthew Gregan <kinetik@orcon.net.nz>
4005
4006* testsuite.at: Remove duplicate line.
4007
40082006-02-08 Matthew Gregan <kinetik@orcon.net.nz>
4009
4010* sqlite/*: Import SQLite 3.3.3.
4011* Makefile.am: Adjust for new and removed files in import.
4012* NEWS: Make a note of the SQLite database format change.
4013* database.cc (database::load): Rewrite so that we don't need any
4014local changes to SQLite.
4015
40162006-02-08 Richard Levitte <richard@levitte.org>
4017
4018* testsuite.at, tests/t_ls_changed.at: News test, for "list
4019changed".
4020
4021* monotone.texi, monotone.1: Document "list changed".
4022
4023* po/sv.po: Correct translations of changed messages, translate
4024new messages.
4025
4026* commands.cc (ls_changed, CMD(list)): Add a new command, "list
4027changed", to list changed files, always sorted in lexical order.
4028
40292006-02-06 Blake Kaplan <mrbkap@gmail.com>
4030
4031* commands.cc CMD(commit): Call a new lua hook to validate the commit
4032message. Don't ignore -m "" when it's passed on the command line.
4033* lua.cc, lua.hh: Add a new hook that validates a given commit message
4034and passes in the added files, deleted files, and modified files.
4035* std_hooks.lua: Give a default hook to validate commit messages. This
4036currently disallows empty messages, as monotone currently does.
4037
40382006-02-05 Benoît Dejean <benoit@placenet.org>
4039
4040* ui.cc (tick_write_count::write_ticks): Reverted lexical_cast,
4041back to F().
4042
40432006-02-05 Benoît Dejean <benoit@placenet.org>
4044
4045* ui.cc (tick_write_count::write_ticks): Fixed utf8 handling.
4046boost::format + locale sucks, it ouputs "1\u+ffff24" for
4047"%d" % 1024.
4048
40492006-02-02 Emile Snyder <emile@alumni.reed.edu>
4050
4051* merge.cc (resolve_merge_conflicts): If the merge has non-content
4052conflicts warn the user and abort before making them do content
4053merges. Move logging/warning of conflicts to methods in the
4054roster_merge_result struct.
4055
4056* roster_merge.{cc,hh} (log_conflicts,
4057warn_non_content_conflicts): New methods to do the busy work of
4058logging or warning.
4059
40602006-02-02 Emile Snyder <emile@alumni.reed.edu>
4061
4062* netsync.cc (run_netsync_protocol): Print a warning if either the
4063include or the exclude branch pattern have a ' or a " character
4064anywhere in them. Hopefully will help users running in a Windows
4065shell when they do: monotone sync myserver 'mybranch*' and nothing
4066happens because the ' characters are passed in to monotone.
4067
40682005-01-30 Emile Snyder <emile@alumni.reed.edu>
4069
4070* annotate.cc: (do_annotate) Add ticker for revisions processed to
4071annotate command.
4072
40732006-01-29 Richard Levitte <richard@levitte.org>
4074
4075* po/sv.po: Update a few translations, leave a number of fuzzy
4076ones until we've decided how "workspace" should be translated.
4077
40782006-01-27 Matthew Gregan <kinetik@orcon.net.nz>
4079
4080* *: Use the term 'workspace' consistently throughout monotone for
4081the concept we previously described interchangably using the two
4082terms 'working copy' and 'working directory'. This change has
4083been made everywhere except in historical documentation (NEWS and
4084ChangeLog).
4085
40862006-01-27 Richard Levitte <richard@levitte.org>
4087
4088* monotone.texi (Generating Keys): Correct small type, the keys
4089are not stored in /home/jim/.monotone/monotonerc.
4090
40912006-01-26 Derek Scherger <derek@echologic.com>
4092
4093* app_state.{cc,hh}:
4094* commands.cc (log):
4095* monotone.cc:
4096* options.hh: allow --next to view upcoming changes
4097* tests/t_log_depth.at: rename to ...
4098* tests/t_log_last_next.at: ... this since log now uses
4099--last/--next and not --depth
4100* testsuite.at: rename t_log_depth.at to t_log_last_next.at
4101
41022006-01-27 Matthew Gregan <kinetik@orcon.net.nz>
4103
4104* monotone.texi: Clean up 'serve' syntax in a couple of places.
4105
41062006-01-26 Nathaniel Smith <njs@pobox.com>
4107
4108* monotone.texi (Generating Keys, Network Service Revisited):
4109Clean up some key-related stuff -- genkey doesn't need a db, so
4110don't confuse the reader by giving it one, and update the sample
4111output too.
4112
41132006-01-27 Stéphane Gimenez <dev@gim.name>
4114
4115* sanity.hh: fix scoping issue revealed by gcc-4.1.
4116
41172006-01-26 Richard Levitte <richard@levitte.org>
4118
4119* po/sv.po: One more translation.
4120
41212006-01-25 Matthew Gregan <kinetik@orcon.net.nz>
4122
4123* netsync.cc (session::rebuild_merkle_trees): Ticker header
4124consistency tweak.
4125
41262005-01-25 Matt Johnston <matt@ucc.asn.au>
4127
4128* HACKING: add some notes about compiling - precompiled headers,
4129-O0, and ccache.
4130* INSTALL: mention --enable-pch
4131
41322006-01-25 Richard Levitte <richard@levitte.org>
4133
4134* po/sv.po: Fix all fuzzy translations (some needed no fix).
4135Translate the last untranslated ones.
4136
41372005-01-24 Timothy Brownawell <tbrownaw@gmail.com>
4138
4139Make a netsync client crash not hang the testsuite.
4140* tests/t_netsync_single.at: use netsync macros
4141* testsuite.at: Make NETSYNC_SETUP set a trap on exit to kill
4142any servers.
4143
41442005-01-24 Timothy Brownawell <tbrownaw@gmail.com>
4145
4146* commands.cc (update): Remove fixme comment.
4147
41482005-01-24 Timothy Brownawell <tbrownaw@gmail.com>
4149
4150* commands.cc (update): Allow backwards/sideways updates.
4151tests/t_update_to_revision.at: remove XFAIL
4152
41532006-01-23 Nathaniel Smith <njs@pobox.com>
4154
4155* database.{cc,hh}: Clean up code formatting a bit, rename some
4156variables, rely more on automatic conversion.
4157
41582006-01-24 Vinzenz Feenstra <evilissimo@c-plusplus.de>
4159
4160* query_args.hh: Introduced struct query_args and struct
4161query_args_param. Used to typesafe arguments for database::execute
4162and database::fetch
4163* database.cc/.hh: Adjusted database to the new fetch and execute
4164argument style via operator% which is more typesafe.
4165
41662006-01-23 Nathaniel Smith <njs@pobox.com>
4167
4168* database.cc (assert_sqlite3_ok): Improve the hint message given
4169for SQLITE_ERROR's.
4170
41712006-01-23 Timothy Brownawell <tbrownaw@gmail.com>
4172
4173* tests/t_database_check_normalized.at: update included database to
4174use rosters
4175
41762006-01-23 Timothy Brownawell <tbrownaw@gmail.com>
4177
4178New ChangeLog utilities in contrib/ .
4179* contrib/ChangeLog.sh: Script that takes the date, author, and
4180changelog certs from the last n revisions and prints them in standard
4181ChangeLog format.
4182* contrib/edit_comment_from_changelog.lua: an edit_comment hook that
4183takes the initial commit message from the most recent ChangeLog entry
4184
41852006-01-23 Henry Nestler <henry@bigfoot.de>
4186
4187* monotone.texi, monotone.1: Mode none for --ticker.
4188
41892006-01-23 Nathaniel Smith <njs@pobox.com>
4190
4191* commands.cc (update): Hopefully improve wording of help a bit.
4192
41932006-01-21 Nathaniel Smith <njs@pobox.com>
4194
4195* netcmd.cc (read): Expand the error message we issue on protocol
4196version mismatch to be a bit more informative.
4197
41982006-01-21 Matthew Gregan <kinetik@orcon.net.nz>
4199
4200* configure.ac: Fix up Windows and IPv6 tests after the change
4201from AC_TRY_RUN to AC_TRY_COMPILE. Also a couple of other minor
4202cleanups.
4203* Makefile.am: Remove win32/wcwidth.c from WIN32_PLATFORM_SOURCES.
4204
42052006-01-21 Timothy Brownawell <tbrownaw@gmail.com>
4206
4207* tests/t_db_execute.at: Play with the files table instead of the
4208revisions table, so we don't trigger the has-revisions-but-no-rosters
4209check.
4210
42112006-01-21 Richard Levitte <richard@levitte.org>
4212
4213* po/sv.po: Sort the translation guidelines a little more.
4214
42152006-01-21 Joel Rosdahl <joel@rosdahl.net>
4216
4217* po/sv.po: Corrections in translation guidelines.
4218
42192006-01-21 Joel Rosdahl <joel@rosdahl.net>
4220
4221* AUTHORS: Added myself as a translation contributor.
4222* po/sv.po: Second round of review of Swedish translation.
4223
42242006-01-20 Richard Levitte <richard@levitte.org>
4225
4226* po/sv.po: Added a \n at the end of a msgstr that was missing
4227it.
4228
42292006-01-20 Joel Rosdahl <joel@rosdahl.net>
4230
4231* po/sv.po: Review and suggested corrections of Swedish
4232translation.
4233
42342006-01-20 Timothy Brownawell <tbrownaw@gmail.com>
4235
4236* netsync.cc: Make our sockets non-blocking.
4237
42382006-01-20 Matt Johnston <matt@ucc.asn.au>
4239
4240* commands.cc CMD(setup): default to current dir
4241* monotone.texi: update
4242* t_setup_existing_path.at: add test
4243
42442006-01-19 Emile Snyder <emile@alumni.reed.edu>
4245
4246Add a --brief mode to the annotate command which prints more
4247informative annotations rather than just the raw revision ids.
4248
4249* commands.cc (CMD(annotate)): Add --brief option to the annotate
4250command and remove obsolete comment lines.
4251* annotate.cc (dump): Pass in app_state to allow access to db for
4252cert lookups on revisions. Honor new --brief
4253flag by printing <short id>.. by <author> <date>: as the
4254annotation rather than the raw revision id, and only printing the
4255annotation for the first line of each block of lines from the same
4256revision.
4257(cert_string_value): Given a set of certs from a revision, a cert
4258name, and some detail of what part of the value we want, find and
4259return that part of the cert.
4260(build_revisions_to_annotations): After we finish with the
4261annotations pass, build up a mapping of revision id to annotation
4262string.
4263* monotone.texi: Add --brief flag and description to the annotate
4264section of the command reference.
4265
42662006-01-19 Matt Johnston <matt@ucc.asn.au>
4267
4268* work.{cc,hh}, commands.cc: add "rename src1 [src2 ...] dst/"
4269syntax.
4270* monotone.texi: update
4271* testsuite.at, tests/t_rename_destdir: new test (is incomplete).
4272* tests/t_no_rename_overwrite.at: syntax should now succeed.
4273* vocab.cc: add hexenc<id> dump() instantiation.
4274
42752006-01-19 Matt Johnston <matt@ucc.asn.au>
4276
4277* HACKING: escape the colon in the cino vim modeline option.
4278
42792006-01-19 Nathaniel Smith <njs@pobox.com>
4280
4281* database.cc (check_format): Small cleanups to previous change.
4282
42832006-01-19 Nathaniel Smith <njs@pobox.com>
4284
4285Fix bug reported by Henry Nestler, where 'serve' did not detect
4286that the user had not run 'db rosterify'.
4287* database.cc (check_rosterified): Rename to...
4288(check_format): ...this. Detect unchangesetified dbs too.
4289(sql, ensure_open_for_format_changes, get_roster_id_for_revision):
4290* revision.cc (build_roster_style_revs_from_manifest_style_revs)
4291(build_changesets_from_manifest_ancestry): Adjust accordingly.
4292* tests/t_check_db_format.at, testsuite.at: New test.
4293
42942005-01-18 Timothy Brownawell <tbrownaw@gmail.com>
4295
4296* tests/t_lua_privkey.at: Remove; this tests a hook that was removed.
4297* testsuite: adjust accordingly
4298
42992006-01-19 Matthew Gregan <kinetik@orcon.net.nz>
4300
4301* keys.cc (get_passphrase): Update std::map correctly--remove
4302existing cached passphrase for a given keyid, then store the new
4303one using safe_insert().
4304(make_signature): Fix crash when running monotone with persistent
4305passphrases disallowed--remove shared_ptr that was going out of
4306scope too early, and shadowed and existing shared_ptr in the
4307correct scope.
4308* tests/t_no_persist_phrase.at: New test to check that basic no
4309persistent passphrase functionality works.
4310* testsuite.at: Include new test.
4311
43122006-01-18 Timothy Brownawell <tbrownaw@gmail.com>
4313
4314* merkle_tree.{cc,hh}: Add a locate_item() function to find the
4315node and slot in a merkle_table that a given item is in.
4316* refiner.cc (refiner::process_refinement_command): If they have
4317a leaf and we have a subtree then if their leaf is in our subtree,
4318we need to tell them.
4319
43202006-01-18 Nathaniel Smith <njs@pobox.com>
4321
4322* configure.ac: Remove some dead comments.
4323
43242006-01-18 Nathaniel Smith <njs@pobox.com>
4325
4326* configure.ac: s/TRY_RUN/TRY_COMPILE/ a few places, for general
4327cleanliness.
4328
43292006-01-18 Richard Levitte <richard@levitte.org>
4330
4331* po/sv.po: Better translation of "branch". Inspired from
4332subversion.
4333
43342006-01-18 Nathaniel Smith <njs@pobox.com>
4335
4336* database.cc (begin_transaction): Turn an E() into an I().
4337
43382006-01-15 Richard Levitte <richard@levitte.org>
4339
4340* po/sv.po: Almost all translations done. I've left a few for
4341lack of inspiration. Someone, PLEASE REVIEW!
4342
43432006-01-15 Nathaniel Smith <njs@pobox.com>
4344
4345* AUTHORS: Add Richard as a translator.
4346
43472006-01-15 Nathaniel Smith <njs@pobox.com>
4348
4349* roster.cc (union_corpses): New function.
4350(unify_roster_oneway, unify_rosters): Remove unused new_ids
4351argument. Add call to union_corpses. Add big comment explaining
4352what's going on.
4353(test_unify_rosters_end_to_end_ids)
4354(test_unify_rosters_end_to_end_attr_corpses): Split and improve
4355tests.
4356
43572006-01-15 Richard Levitte <richard@levitte.org>
4358
4359* po/sv.po: More translations done.
4360
43612006-01-15 Richard Levitte <richard@levitte.org>
4362
4363* LINGUAS: Change sv_SE to just sv.
4364* po/sv_SE.po: Rename ...
4365* po/sv.po: ... to this, as there aren't so many dialects. Update
4366with more strings to translate.
4367
4368* std_hooks.lua: xgettext whines about a missing quote, so add
4369one.
4370
43712006-01-15 Nathaniel Smith <njs@pobox.com>
4372
4373* roster.cc (test_unify_rosters_end_to_end): Add failing test for
4374unify_roster's handling of attr corpses.
4375
43762006-01-15 Nathaniel Smith <njs@pobox.com>
4377
4378* cert.cc (load_key_pair):
4379* keys.cc (require_password): Use accessor method, so as to
4380actually compile...
4381
43822006-01-15 Matt Johnston <matt@ucc.asn.au>
4383
4384* ui.cc: make tickers saner (203 K vs 0.2 M).
4385Print full byte counts below 1 K.
4386
43872006-01-14 Nathaniel Smith <njs@pobox.com>
4388
4389* lua.cc (hook_get_key_pair): Remove.
4390* keys.cc (require_password): Adjust accordingly.
4391* cert.cc (priv_key_exists, load_key_pair): Likewise.
4392
43932006-01-14 Christof Petig <christof@petig-baender.de>
4394
4395* database.cc, database.h: binary transparent infrastructure,
4396store and retrieve former base64 encoded columns as BLOBs
4397
4398* schema_migration.cc: unbase64 changed columns, change comment
4399on files.data which indicates a different database format
4400
4401* schema.sql: change comment on file which indicates, that
4402files.data is no longer base64 encoded
4403
44042006-01-14 Richard Levitte <richard@levitte.org>
4405
4406* configure.ac: Make sure there's an empty xgettext.opts
4407when xgettext accepts --flag. This avoids getting an error
4408message later on when cat can't find it to append to
4409po/Makefile.in.
4410
4411* po/LINGUAS, po/sv_SE.po: New Swedish translation. Needs
4412reviewing at this stage.
4413
44142006-01-13 Richard Levitte <richard@levitte.org>
4415
4416* monotone-notify.pl: Make it possible for the user to say what
4417the monotone binary is called or where it is. Adapt to revision
4418output changes and to changes in the monotone UI.
4419
44202006-01-12 Nathaniel Smith <njs@pobox.com>
4421
4422* po/Makevars (XGETTEXT_OPTIONS): This time for sure!
4423
44242006-01-13 Nathaniel Smith <njs@pobox.com>
4425
4426* database.cc (check_rosterified): Clarify message emitted when db
4427has not been rosterified.
4428
44292006-01-12 Nathaniel Smith <njs@pobox.com>
4430
4431* po/Makevars (XGETTEXT_OPTIONS): More fiddling to make
4432intltool-update happy.
4433
44342006-01-13 Bruce Stephans <monotone@cenderis.demon.co.uk>
4435
4436* lua.cc (shared_trust_function_body): Index lua arrays
4437from 1, not 0.
4438
44392006-01-12 Nathaniel Smith <njs@pobox.com>
4440
4441* sanity.cc (dump_buffer): Add forgotten newline.
4442
44432006-01-12 Nathaniel Smith <njs@pobox.com>
4444
4445* roster.cc (make_roster_for_merge): Add more MM()'s.
4446
44472006-01-12 Matthew Gregan <kinetik@orcon.net.nz>
4448
4449* contrib/{color-logs.{conf,sh},monotone.el}: Changes to handle
4450renaming of --no-merges.
4451* app_state.{cc,hh}, commands.cc, monotone.cc, options.hh: Make
4452'log' default to not displaying merges. Rename '--no-merges'
4453option to '--merges'.
4454
44552006-01-11 Nathaniel Smith <njs@pobox.com>
4456
4457* commands.cc (diff): gettext'ify the "no changes" tag.
4458
44592006-01-11 Richard Levitte <richard@levitte.org>
4460
4461* Makefile.am: Add contrib/usher as an extra program. This works
4462as a reminder that this program exists, and provides supported
4463ways to build it.
4464
4465* contrib/usher.cc: Add a -m switch, to be able to specify the
4466name or complete path of/to the monotone binary, in case there
4467are several floating around on the system.
4468
44692006-01-11 Matt Johnston <matt@ucc.asn.au>
4470
4471* Makefile.am: pch.hh should be included
4472
44732006-01-11 Nathaniel Smith <njs@pobox.com>
4474
4475* sanity.hh (struct i18n_format): Make internationalized format
4476strings and non-internationalized format strings type-distinct.
4477(This hopefully sets up for fixing some of the charset mess later
4478down the road.)
4479(FL): New macro; like F but without the i18n glue.
4480Use FL with L, and F/FP with everything else.
4481* *.hh, *.cc: Adjust existing F/L/etc. usage accordingly.
4482
44832006-01-11 Nathaniel Smith <njs@pobox.com>
4484
4485* HACKING: Add section listing all the single-character macros.
4486
44872006-01-11 Nathaniel Smith <njs@pobox.com>
4488
4489* database.cc (fetch): Don't log all SQL unless requested by
4490user.
4491
44922006-01-11 Nathaniel Smith <njs@pobox.com>
4493
4494* po/Makevars (XGETTEXT_OPTIONS):
4495* configure.ac: Tweak xgettext configuration to make intltool
4496happier.
4497
44982006-01-11 Nathaniel Smith <njs@pobox.com>
4499
4500* netsync.cc (process_confirm_cmd): Remove.
4501
45022006-01-11 Matthew Gregan <kinetik@orcon.net.nz>
4503
4504* platform.hh, win32/wcwidth.c: Remove local wcswidth
4505implementation--it's no longer needed.
4506
45072006-01-10 Derek Scherger <derek@echologic.com>
4508
4509* tests/t_revert_unchanged.at: new test to check that reverting
4510nothing but unchanged files doesn't end up with an empty
4511restriction and revert everything
4512* testsuite.at: call it
4513
45142006-01-10 Nathaniel Smith <njs@pobox.com>
4515
4516* packet.cc (packet_roundabout_test): Test rdata packets too.
4517
45182006-01-10 Nathaniel Smith <njs@pobox.com>
4519
4520* netsync.cc (session):
4521* commands.cc (read): Adjust to match previous change.
4522
45232006-01-10 Nathaniel Smith <njs@pobox.com>
4524
4525* packet.{hh,cc} (struct packet_db_writer): Remove old guard
4526against accidentally ingesting public keys -- this has not been
4527useful for some years.
4528
45292006-01-10 Nathaniel Smith <njs@pobox.com>
4530
4531* diff_patch.hh (struct content_merger): Oops, forgot to remove
4532the merge2 prototype.
4533
45342006-01-10 Nathaniel Smith <njs@pobox.com>
4535
4536* std_hooks.lua:
4537* lua.cc (hook_merge2):
4538* diff_patch.cc (try_to_merge_files): Remove merge2 code, since we
4539no longer do merge2's. (We can always revive it if we add suture
4540support.)
4541
45422006-01-10 Nathaniel Smith <njs@pobox.com>
4543
4544* packet.cc (consume_file_delta): Remove unused 4-argument form.
4545
45462006-01-10 Nathaniel Smith <njs@pobox.com>
4547
4548* lua.{cc,hh} (hook_resolve_file_conflict)
4549(hook_resolve_dir_conflict): Remove dead code.
4550
45512006-01-10 Nathaniel Smith <njs@pobox.com>
4552
4553* tests/t_selectors_b_h.at, testsuite.at: New test.
4554
45552006-01-10 Nathaniel Smith <njs@pobox.com>
4556
4557* database.cc (manifest_cert_exists, put_manifest_cert):
4558(get_manifest_cert, get_manifest_certs): Remove unused methods.
4559
45602006-01-10 Nathaniel Smith <njs@pobox.com>
4561
4562* database.cc (put_reverse_version, put_file_reverse_version):
4563Whoops, missed some dead code.
4564
45652006-01-10 Nathaniel Smith <njs@pobox.com>
4566
4567* revision.cc (build_roster_style_revs_from_manifest_style_revs):
4568Remove unused variable; silence gcc warning.
4569
45702006-01-10 Nathaniel Smith <njs@pobox.com>
4571
4572* packet.cc (consume_file_reverse_delta)
4573(struct feed_packet_consumer): Remove support for nonexistent
4574"frdelta" packet type.
4575* database.{hh,cc} (put_reverse_version)
4576(put_file_reverse_version): Remove unused methods.
4577* key_store.cc (struct keyreader): Remove obsolete methods.
4578
45792006-01-10 Nathaniel Smith <njs@pobox.com>
4580
4581* database.cc (set_filename): Simplify slightly.
4582(delta_exists): Remove unused 3-argument version.
4583
45842006-01-10 Nathaniel Smith <njs@pobox.com>
4585
4586* commands.cc (reindex): Remove.
4587* database.cc (database::rehash): Likewise.
4588
45892006-01-10 Nathaniel Smith <njs@pobox.com>
4590
4591* change_set.{cc,hh}: Remove.
4592
45932006-01-10 Nathaniel Smith <njs@pobox.com>
4594
4595* contrib/ciabot_monotone.py (Monotone.get_revision): Update to
4596use 'automate get_revision' instead of 'cat revision'.
4597
45982006-01-10 Richard Levitte <richard@levitte.org>
4599
4600* lua.cc (monotone_parse_basic_io_for_lua): Don't trust the
4601returned value from lua_tostring() to stick around. Instead, copy
4602it into a regular std::string.
4603* std_hooks.lua (get_netsync_read_permissions,
4604get_netsync_write_permissions): Make sure to properly close the
4605permission files.
4606
46072006-01-09 Richard Levitte <richard@levitte.org>
4608
4609* contrib/usher.cc, monotone.1, monotone.cc, po/fr.po, po/ja.po,
4610po/pt_BR.po, testsuite.at: Change the default port from 5253 to
46114691 (assigned to us by IANA).
4612
46132006-01-07 Patrick Mauritz <oxygene@studentenbude.ath.cx>
4614
4615* schema_migration.cc: add safe-guard against passing a null pointer
4616into string handling. (necessary with sun studio)
4617
46182006-01-05 Derek Scherger <derek@echologic.com>
4619
4620* app_state.{cc,hh} (set_restriction): remove "respect_ignore"
4621flag and don't complain about ignored files
4622* commands.cc (status, list, diff): allow --exclude option for
4623restrictions
4624* restrictions.hh: add a comment about restricted command
4625consistency
4626* tests/t_restricted_commands_consistent.at: new test to give that
4627bark some bite
4628* testsuite.at: call it
4629
46302005-12-29 Nathaniel Smith <njs@pobox.com>
4631
4632* NEWS: Write up for 0.25.
4633
46342005-12-29 Matthew Gregan <kinetik@orcon.net.nz>
4635
4636* sqlite/{pager.c,sqlite3.h}: Upgrade to SQLite 3.2.8.
4637
46382005-12-29 Nathaniel Smith <njs@pobox.com>
4639
4640* NEWS: Notes on what to write up for 0.25.
4641* win32/monotone.iss, monotone.spec, debian/changelog:
4642* configure.ac, UPGRADE: Bump.
4643
46442005-12-26 Matt Johnston <matt@ucc.asn.au>
4645
4646* commands.cc (CMD(revert)): revert with no args prints usage,
4647mention "." for entire working copy.
4648
46492005-12-21 Matt Johnston <matt@ucc.asn.au>
4650
4651* commands.cc (dump_difs, CMD(log)): only print --diffs for the file
4652of interest.
4653
46542005-12-21 Matthew Gregan <kinetik@orcon.net.nz>
4655
4656* botan/es_capi.{cpp,h}: Windows compile fixes for Botan 1.4.10.
4657
46582005-12-21 Matt Johnston <matt@ucc.asn.au>
4659
4660* upgrade to Botan 1.4.10
4661
46622005-12-20 Daniel Carosone <dan@geek.com.au>
4663
4664* monotone.texi: Rearrange the description of monotone serve into
4665two sections; the first one describing basic steps necessary to
4666get Jim and the reader through to the next sections, and a later
4667more advanced section that discusses some of the subleties and
4668choices and moves them on to running a dedicated server. Other
4669small tweaks in nearby sections while here.
4670
46712005-12-18 Graydon Hoare <graydon@pobox.com>
4672
4673* AUTHORS: Add Roland.
4674
46752005-12-17 Roland McGrath <roland@redhat.com>
4676
4677* work.hh (struct file_itemizer): Remove extraneous qualifier on
4678visit_file declaration.
4679* app_state.hh (class app_state): Remove extraneous qualifier on
4680set_restriction declaration.
4681
46822005-12-14 Matthew Gregan <kinetik@orcon.net.nz>
4683
4684* win32/fs.cc: Handle the fact that the MoveFileEx symbol might
4685exist in kernel32.dll even though it doesn't actually work. It
4686turns out that Win9x implements a bunch of NT-only symbols as
4687stubs that return ERROR_CALL_NOT_IMPLEMENTED, so it's not
4688sufficient to detect feature availability by doing symbol lookups
4689at runtime. Also add a missing parameter to the final error
4690message. Fixes #15063.
4691
46922005-12-13 Derek Scherger <derek@echologic.com>
4693
4694