Now that checkout_cmd() can handle the situation that vid==0 ([b725c1cf26]), no longer assume that the initial commit has rid=1: If the initial commit is not empty that will not be true any more.
check-in: 6791ad11 user: jan.nijtmans tags: trunk

Restore the end-of-timeline marker only when no limit is active; otherwise, use a 'no more data' marker instead. Use -1 to indicate no limit in the SQL clause.
check-in: 465f8ecd user: mistachkin tags: trunk

Update the built-in SQLite to include the latest bug fixes, especially the
fix to count(*) on WITHOUT ROWID tables. Fix the "fossil all" command so
that it works on a WITHOUT ROWID global_config table.
check-in: c0700615 user: drh tags: trunk

Output "+++ end of timeline reached +++" when appropriate at the end of timeline output in stead of marker indicating that a limit is reached. After ML request. If n=0 no marker will be output.
check-in: 8e01c225 user: jan.nijtmans tags: trunk

Use fossil_getenv/fossil_fopen in stead of getenv/fopen in a few places,
so on Win32 non-ASCII characters in filenames and environment variable values are handled correctly.
For shell.c this must be handled by the makefiles, because this file comes from SQLite.
check-in: aab8ce2f user: jan.nijtmans tags: trunk

It appears that calls to url_parse(0,x) are used to establish who the user is
using user_select(). In this case we should not overwrite a password that has
been provided prior to calling user_select() with one from the database.
check-in: a01c714c user: andybradford tags: url-password-fixes

Make "fossil add", "fossil addremove", "fossil update" and "fossil co --latest" work when the repository doesn't contain any commit yet. This is not a fatal situation at all.
check-in: b725c1cf user: jan.nijtmans tags: trunk

Make option -n|--limit of "fossil timeline" now specify the number of entries, just like all other commands which have the -n|--limit option. Suggested by Martin Gagnon.
check-in: 6e4e16fb user: jan.nijtmans tags: trunk

Added fx_* to the glob of tables which are _not_ dropped by a rebuild, per ML discussion. The intention is to give 3rd-party extensions a safe place to put their data.
check-in: dbec6458 user: stephan tags: trunk

Don't set _USE_32BIT_TIME_T when using MSVC++ compiler: On <VS2005 this flag has no effect, and for >=VS2005 the executable links with msvcrt80.dll (or higher), so the fact that localtime64 is missing from msvcrt.dll is no issue there.
check-in: 6112b31d user: jan.nijtmans tags: trunk

One advantage of modifying print_timeline() in stead of using LIMIT:
It's possible to put an indication at the end that output stopped because the limit was reached!
check-in: d54ada1c user: jan.nijtmans tags: timeline_cmd_dash_n_fix

Let the "-limit" option in "fossil tag find" be handled exactly the same as in "fossil timeline".
This allows output of more than 2000 lines if the "-limit" parameter requests so.
check-in: 1f77efc3 user: jan.nijtmans tags: limit-tag

Change /vdiff page (used when clicking on 2 nodes on /timeline), so it honor the
show-version-diffs settings. Just like the /ci page. Also add the "Hide diff"
button to hide the diffs manually. The /vdiff page can have a lot of files to diff depending on which version are
selected, so the capability to show only list of files that change is
very convenient to spot interesting files.
check-in: d7dc4158 user: mgagnon tags: hide-diff-on-vdiff_page

cosmetic: ensure that /reports graph bars have a width of at least 1, to avoid that a positive event count has an empty graph bar during low-activity time periods (where active is under 1% of activity relative to the rest of the report).
check-in: 50c08819 user: stephan tags: trunk

Make the new button on the transfer setup page use the selected sync flags. Move the button to the bottom of the content and add some explanatory text and a warning message.
check-in: bfcdc23b user: mistachkin tags: tkt-change-hook

Add the 'fossil all clean' and 'fossil all extra' sub-commands. Add -whatif option to the 'fossil clean' command that has the same effect as -dry-run, primarily for use with 'fossil all clean' since the all command itself uses the -dry-run option.
check-in: d30e5a48 user: mistachkin tags: trunk

Minor suggested update: - If N=0 there should be no limit. - If N<0 (undocumented) restore the old behavior of counting lines in stead of entries.
check-in: 6c02f699 user: jan.nijtmans tags: timeline_cmd_dash_n_fix-2

A control artifact which modifies an already existing valid check-in (e.g. moving it to another branch), should fire the (commit) hook for the changed manifest.
check-in: 52861df1 user: jan.nijtmans tags: tkt-change-hook

Fix behavior of "--limit | -n" argument of the timeline command to fit
description from usage, which is also the behavior of the "n=" parameter of
the /timeline webpage. Now -n <n> define the number of entries while before, it was limiting the
number of lines. (pending review...)
check-in: 453a060c user: mgagnon tags: timeline_cmd_dash_n_fix

Restore running of the common script before starting an xfer.
If the commmon script result in a "break" or "continue", skip the following hook script but don't produce an error.
check-in: d79eaeb1 user: jan.nijtmans tags: tkt-change-hook

Add a "Synchronize" button to the Admin->Transfers page (or "Pull" if the "dont-push" option is set).
Remark: I'm not sure if determining the user with user_select() is correct here, that's the tricky point to get right.
In case of "fossil ui" it works fine, but could be improved for usefulness in other situations.
check-in: 7c24de9c user: jan.nijtmans tags: tkt-change-hook

Phase 4 refactoring broke some important requirements:
1) "fossil rebuild" should not run any hook script, nor should it read the hook script code from the database for each manifest it processes.
2) When handling tickets through the UI, the ticket hook should be processed once, just as if it came in through xfer.
3) (less important) Allow "http -asynchronious" to be shortened to "http -async"
I apologize for having to revert part of the "Phase 4 refactoring" restoring this. Other than that, it looks good!
check-in: b92e111a user: jan.nijtmans tags: tkt-change-hook

One more place where failing run_common_script() should not prevent running manifest_crosslink().
If run_common_script() fails, let the following run_script() output its error-message.
check-in: cc5466b8 user: jan.nijtmans tags: tkt-change-hook

Make sure that EVERY source file includes "config.h" before any other system includes.
This is the first step in making fossil compile for Win64 using MinGW.
check-in: c30cd93b user: jan.nijtmans tags: trunk

Fix the abbreviated project name escape mechanism for two less obvious dangers:
- spaces at the end of the filename should be stripped.
- control charaters are not allowed in filenames either.
check-in: e161527c user: jan.nijtmans tags: trunk

Merge the enhanced SSH transport changes into trunk. The ssh command
now runs a single instance of "fossil" directly on the remote side,
obviating the need for a remote shell.
check-in: dbb5e2d3 user: drh tags: trunk