Fossil

File History
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of src/descendants.c

2016-11-15
00:30
Fix timeline -n 0 to display an unlimited number of lines (rather than zero) to match documentation. Correct timeline -n for negative N documentation to match actual behavior. Limit compute_ancestors() and compute_descendants() on the assumption that there is no more than one entry per line. file: [f9c804ba] check-in: [def9af43] user: andygoth branch: trunk, size: 17020
2016-11-06
20:19
More reliably work around the problem experienced by the previous commit. Not sure if this is the right long-term solution since we seem to have an architectural problem: at least one of Fossil's custom SQL functions can change the schema (in this case, by creating a temporary table), thereby invalidating a prepared statement while it is running. See the comment in checkin.c for a bit more information. Of course, there are rearrangements that avoid the issue, but it is certainly a trap for the unwary. file: [d3ed21be] check-in: [5258a43d] user: andygoth branch: andygoth-changes, size: 16844
2016-11-04
21:32
Remove unused, undocumented zTitle argument to style_submenu_element(). This argument appears to have been unused all the way back to [dbda8d6ce9]. file: [979ee1f6] check-in: [187424e8] user: andygoth branch: trunk, size: 16842
2016-08-10
09:06
Remove unnecessary spacing file: [80496b89] check-in: [c3b5f1d2] user: jan.nijtmans branch: trunk, size: 16867
2016-04-01
20:21
Work in progress on spell-check and proof-reading sweep over the help text. file: [48ba0c20] check-in: [2a4e31bd] user: rberteig branch: ross-spellcheck, size: 16868
2015-12-13
00:35
Change compute_direct_ancestors() to use a recursive common table expression. file: [6cb824a0] check-in: [6599d097] user: drh branch: trunk, size: 16869
2015-05-30
08:53
merge trunk file: [efcd7803] check-in: [7699d141] user: jan.nijtmans branch: sync-forkwarn, size: 17357
2015-05-24
00:53
Simplify the computation of descendants using a recursive CTE. file: [1eb2bb89] check-in: [31fcde83] user: drh branch: trunk, size: 17184
2015-05-20
11:45
Merge trunk file: [e9ae30f2] check-in: [9f507ffe] user: jan.nijtmans branch: sync-forkwarn, size: 17832
2015-04-27
21:00
Merge trunk. Change back one instance of "multiple leafs" to "fork": Here we are sure that it's really a "fork", not some other form of multiple leafs on the same branch. file: [fe029d9e] check-in: [35743de4] user: jan.nijtmans branch: sync-forkwarn, size: 17831
20:46
Use "multiple leaves on the same branch" in stead of "ambiguous branch". Let's see if people like this better. file: [cb74659b] check-in: [cd0d6b4d] user: jan.nijtmans branch: sync-forkwarn, size: 17832
19:27
Remove unnecessary end-of-line spacing file: [8153a573] check-in: [fc3d9f52] user: jan.nijtmans branch: trunk, size: 17659
19:14
merge trunk file: [6b62cd11] check-in: [2dc4d98e] user: jan.nijtmans branch: sync-forkwarn, size: 17814
14:39
Minor spelling correction. file: [2d516b80] check-in: [76cd08ba] user: andybradford branch: sync-forkwarn, size: 16288
13:19
Provide help text for all commands and webpages. file: [7e6af936] check-in: [7ab03289] user: drh branch: trunk, size: 17660
2015-04-26
19:43
Remove the "fossil forks" command. Replace it with "fossil leaves --multiple". file: [7c021b52] check-in: [7bef5bf1] user: drh branch: trunk, size: 17327
17:26
Another "fork" -> "ambigeous branch" change file: [da8e607b] check-in: [fe7f6f3c] user: jan.nijtmans branch: sync-forkwarn, size: 16288
17:12
Combine "fossil forks" with "fossil info" command file: [deee4559] check-in: [4359bd8d] user: jan.nijtmans branch: sync-forkwarn, size: 16290
2015-04-16
23:46
Allow fossil_find_nearest_fork to be used on repository that is not open. file: [72d1a60f] check-in: [97f97678] user: andybradford branch: trunk, size: 16217
08:53
Remove unnecessary variable determination in src/descendants.c, and some unnecessary end-of-line spacing. file: [305ef78e] check-in: [10f5fc69] user: jan.nijtmans branch: trunk, size: 16190
08:18
Add fossil forks, for finding all forks. file: [14c23d83] check-in: [e1ee31a9] user: jan.nijtmans branch: trunk, size: 16180
2015-02-28
10:11
replaced 'checkin' with 'check-in' in code-comment, inline command help-text, SQL-statement comment, fatal error messages and some non-functional webpage-content file: [e5303b9f] check-in: [7c30266a] user: michai branch: ml-jb-doc-typos, size: 16001
2015-02-27
13:36
Remove wordy side bars from two obscure pages. Change "Checkin" to "Check-in" on generated pages. Fix a typo on the webpage-ex.md documentation page. file: [e6d76505] check-in: [76e77aba] user: drh branch: trunk, size: 15998
2015-02-14
12:24
When the user is "nobody", make the g.anon permission vector for "anonymous" available in addition to g.perm. Hyperlinks to pages that would be available to anonymous are shown rather than suppressed. When permission is denied and control jumps to login_needed() a new flag shows whether or not logging in as "anonymous" would help. Work in progress. file: [0f5849fd] check-in: [2f50d427] user: drh branch: login-enhancements, size: 15985
2015-02-09
04:10
On timelines, to show the "selected" entry, give the row some vertical space between the previous and following rows, a yellow background, a gray border, and a shadow-box (all adjustable via CSS). For the c=TIME "circa" query parameter, highlight the nearest entry. file: [43449cf3] check-in: [f4e299d0] user: drh branch: trunk, size: 15974
2014-12-08
15:36
An experiment in trying to improve the file history timelines. A schema change is necessary for this improvement, which the present check-in captures. However, the file history timelines have not yet been improved, and in fact are slightly broken at this point. file: [2bc10005] check-in: [e1e9c3a3] user: drh branch: file-history-enhancement, size: 15971
2014-11-25
01:33
The "purge" and "purge list" commands appear to be working. file: [393ebd57] check-in: [92de66d2] user: drh branch: DBP-workflow, size: 15971
2014-10-20
15:01
Add a custom static analysis program that verifies the arguments to printf-style varargs routines used in Fossil. Adjust the source code to be more robust for printf format errors and to fix a few minor problems found by the static checker. file: [18bcaa7f] check-in: [0a7e326f] user: drh branch: compile-time-print-checking, size: 15979
2014-10-17
15:31
Enchance the command-line timeline to accept the name of a file or directory as an argument and then only show the entries that have changes to that file or directory. file: [28c6a793] check-in: [a50c3cfd] user: drh branch: cmdline-timeline-enhancement, size: 15948
2014-10-05
22:41
merge trunk file: [df1fd5b4] check-in: [4c84ee3b] user: jan.nijtmans branch: sqlite3-compat, size: 16976
2014-09-17
14:41
fix issue when showing checkins using a file incorrect checkins shown after merge file: [aa22ca67] check-in: [813b860c] user: baruch branch: pending-review, size: 15946
2014-07-30
15:40
Call verify_all_options() on most of fossil CLI commands.    - Skip all the test-* commands for now (may be unnecessary)    - Skip sha1sum, md5sum and artifact because they can take "-" as argument and verify_all_options() would call fatal. Need to handle those differently...    - Command with subcommands that have their options are remaining: branch, bisect, cache, configuration, json, sql, stash, tag, ticket, user, wiki. (not sure how to handle those yet..) file: [21aaf2b0] check-in: [a426154b] user: mgagnon branch: verify-all-options, size: 15935
2014-07-27
23:48
Fix http://permalink.gmane.org/gmane.comp.version-control.fossil-scm.user/17266 file: [86da29a0] check-in: [4a1188d5] user: jan.nijtmans branch: branch-1.29, size: 15289
20:52
Proposed fix for corner-case: http://permalink.gmane.org/gmane.comp.version-control.fossil-scm.user/17266 file: [9acbeb45] check-in: [0d8cb8e3] user: jan.nijtmans branch: no-initial-commit, size: 15799
2014-07-23
21:37
When available, pass the original comment text as well as the (possibly prefixed) comment into comment_print(). Add COMMENT_PRINT_ORIG_BREAK flag to the new comment printing algorithm. Change the width argument for the test-comment-format command into an option. Add --origbreak option to the test-comment-format command. file: [b14705f2] check-in: [0d0b80fd] user: mistachkin branch: trunk, size: 15701
2014-07-20
02:35
Add -comfmtflags command line option to set the comment printing flags, defaulting to the legacy comment printing algorithm. file: [e4e4e2eb] check-in: [18a97b3a] user: mistachkin branch: experimental, size: 15695
02:10
Merge updates from trunk. file: [537da39c] check-in: [5ea6a95a] user: mistachkin branch: experimental, size: 15703
2014-07-02
10:50
Use "%S" format in stead of "%.10s" in more places where UUID's are handled. file: [41c4a500] check-in: [b246fa0c] user: jan.nijtmans branch: 16-digit-event-ids, size: 15680
2014-06-20
20:56
Merge updates from trunk. file: [5ac4a0f8] check-in: [265a48d3] user: mistachkin branch: experimental, size: 15706
20:54
Make sure the --width option is honored by all calls into print_timeline(). file: [68ebc6d7] check-in: [e3df30f4] user: mistachkin branch: trunk, size: 15683
03:56
Initial draft of the ability to break a multi-line comment on word boundaries using the new algorithm. file: [7c991ef5] check-in: [10b47cc3] user: mistachkin branch: experimental, size: 15214
2014-06-16
09:05
Merge trunk. Make it work on Windows too. Variable width output on more commands. file: [019968d8] check-in: [40710b7a] user: jan.nijtmans branch: autoadjust, size: 15191
2014-06-13
14:21
Auto-adjust the width of timeline (and various other output places) according to real terminal width. Suggested by Baptiste Daroussin. file: [ee31c96b] check-in: [c4891e24] user: jan.nijtmans branch: autoadjust, size: 15296
2014-06-05
08:12
Compatibility back to SQLite 3.7.17 (when configuring with --disable-internal-sqlite) file: [39e0ab3f] check-in: [b6670e05] user: jan.nijtmans branch: sqlite3-compat, size: 16221
2014-04-23
14:14
Add option -W|--width to "fossil stash ls" and "fossil leaves" commands. file: [21d39484] check-in: [fa6ece72] user: jan.nijtmans branch: trunk, size: 15191
2014-04-10
15:16
Cherry-pick [f2ebd7e52d16891bdbf2eb423891ad007e744f61|f2ebd7e52d]: Make use of a recursive query capability (if available) to replace the compute_ancestors() function with a single query. file: [bfc60fb1] check-in: [52d80260] user: jan.nijtmans branch: branch-1.28, size: 15832
2014-02-13
11:40
Remove more legacy javascript: The functions xin() and xout() were already removed in [d89fea6a1c0823aa], so this is no longer necessary. file: [7af18663] check-in: [438eebcd] user: jan.nijtmans branch: trunk, size: 14802
2014-01-22
18:19
Update the built-in SQLite to a version that supports ORDER BY and LIMIT on WITH RECURSIVE queries (but omits support for the non-standard LEVEL pseudo-column). Rewrite the recursive query that computes ancestors to using ORDER BY and LIMIT and omit the use of LEVEL. file: [fa845890] check-in: [af990795] user: drh branch: trunk, size: 14910
2014-01-21
00:38
Update the built-in SQLite to the latest 3.8.3 beta that includes support for the LEVEL pseudo-column on recursive queries. Make use of a recursive query capability and the LEVEL column to replace the compute_ancestors() function with a single query. file: [20f48bce] check-in: [f2ebd7e5] user: drh branch: trunk, size: 14947
2013-10-29
12:58
Fix existing print_timeline() calls, so they return the same output as trunk by default. file: [d59a0e54] check-in: [11634df5] user: jan.nijtmans branch: timeline_cmd_dash_n_fix, size: 15317
2013-10-26
09:06
Allow comment_print() to handle lines >400 characters. Add parameter "width" to print_timeline() function. file: [d9474e9a] check-in: [b2455507] user: jan.nijtmans branch: trunk, size: 15316
2013-10-25
12:42
Merge trunk. Add the "-W|--width WIDTH" option to "fossil timeline". Default is 80. file: [6706f4a1] check-in: [3710f2ac] user: jan.nijtmans branch: timeline_cmd_dash_n_fix, size: 15317
2013-10-17
12:22
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. file: [de22b362] check-in: [6c02f699] user: jan.nijtmans branch: timeline_cmd_dash_n_fix-2, size: 15313
2013-09-17
16:08
Get a 10x speedup on long annotations by indexing a field in the temporary "ancestor" table. file: [64a81112] check-in: [1c40de18] user: drh branch: trunk, size: 15312
2013-04-23
08:40
Add --limit as alias to --count in "fossil timeline" for consistancy with other commands. Add many short options, like "-a" for "--all" and "-c" for "--closed" (The JSON part already had those) file: [d9dad724] check-in: [8b17c236] user: jan.nijtmans branch: trunk, size: 15296
2013-01-15
02:29
Fix compiler warnings. file: [1563c0df] check-in: [b3bac115] user: drh branch: trunk, size: 15297
2013-01-14
12:52
Change the output format for the "fossil leaves" command and add the --bybranch command-line option which is useful for looking for forks. file: [823b8742] check-in: [f76d912f] user: drh branch: trunk, size: 15303
2012-11-20
13:42
Only suppress bad hyperlinks for check-in comments and tickets. Continue to show the broken hyperlinks on wiki pages. file: [d3256df9] check-in: [26ac3923] user: drh branch: trunk, size: 14363
2012-11-15
15:14
Add the uf= query parameter to timeline. The timeline shows only those checkins that contain the file identified. file: [a8f8a0ad] check-in: [eb3cc76d] user: drh branch: trunk, size: 14364
2012-11-04
12:59
Fix typos. file: [cc05b202] check-in: [45065c5c] user: dmitry branch: spelling, size: 12733
2012-10-11
19:45
Cherrypick changes [0c37874941c8972], [9ba8a393fcc569b], and [ae092ec605eed11] in order to backport the --setmtime option of "fossil update" and the --age and -t options of "fossil ls" to version 1.19. file: [d87fdc29] check-in: [773c6c5f] user: drh branch: branch-1.19, size: 12379
2012-10-10
20:03
Add the internal checkin_mtime() function. Use it to implement the --age and -t options to the "fossil ls" command. file: [c387f2c6] check-in: [9ba8a393] user: drh branch: trunk, size: 12733
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [a4da1dbc] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 11633
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". file: [db6df164] check-in: [0328d681] user: drh branch: sqlite4, size: 11639
2012-06-12
11:20
Change the "pqueue_" prefix on methods of the priority queue object to be "pqueuex_" to avoid conflicts with OpenSSL. file: [3d30d73f] check-in: [81162c71] user: drh branch: trunk, size: 11634
2012-03-29
14:54
Add vim modline everywhere file: [257e4380] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 11666
2012-02-10
22:53
Bump versions of zlib and OpenSSL in the Windows makefiles. Also, rename the pqueue_insert function to avoid a symbol name collision with OpenSSL. file: [318dc9af] check-in: [674bc278] user: mistachkin branch: sslLinkingFix, size: 11628
2011-11-03
17:31
Break up the command-line commands into commonly-use and auxiliary commands and only show the commonly-used ones with "fossil help". Add a new command "fossil commands" to show auxiliary and test commands. file: [68563365] check-in: [841772c8] user: drh branch: trunk, size: 11624
2011-10-18
19:45
Should fix ticket [f0f9aff371f2].    Until now, the annotate_cmd was taking the last (or any?) checkin that had the artifact to be annotated, totally unrelated to what version is checked out.    I made annotate_cmd respect the checkout, and annotate only from the past until the checked out version. This makes the command slower, but at least does what I'd like it to do. Maybe someone else can come up with a faster or simpler implementation.    I changed the compute_direct_ancestors code so I could call it twice in a single run. file: [7ca05fd7] check-in: [c7c4279f] user: viriketo branch: annotatecmd_fix, size: 11624
2011-09-14
17:45
Refactored g.okXXX perms flags to g.perm.XXX. file: [b15c5ee4] check-in: [34b4dec0] user: stephan branch: stephan-hack, size: 11582
00:32
Begin streamline the online documentation to: • always include a short overview of the options supported by a given command, alphabetically sorted • reference similar/related commands with a final See also: section • Use ?x? for optional arguments • collapse supported options into ?OPTIONS? This is commit #1/n. file: [b4c22f5e] check-in: [3fbf8caa] user: martin.weber branch: msw-docco, size: 11579
2011-09-13
12:42
online docco for [4fe2214116] (support for fossil info / descendants ?-R repo?) file: [f3dddf56] check-in: [a336ff53] user: martin.weber branch: msw-docco, size: 11349
00:40
Add support for the -R option on several command-line subcommands. file: [3dfa98c1] check-in: [4fe22141] user: drh branch: trunk, size: 11254
2011-08-19
23:27
Add a -showfiles flag to timeline. fossil ... -showfiles will now print a list of files after the checkin comment, like the "Show Files" button in the Web GUI. The format of the printed lines is the same as update. file: [d05ff929] check-in: [b14ab41f] user: venkat branch: venks-emacs, size: 11238
2011-06-07
15:51
Improvements to the "annotate" algorithm: Only search primary ancestors; ignore branchs. file: [7b5983f6] check-in: [621be704] user: drh branch: trunk, size: 11232
2011-06-01
22:32
In contexts where only a check-out makes since, only resolve tags or branch names into check-outs, not events or other artifacts. Ticket [5f611295e3c2a8]. file: [db3876b7] check-in: [2a013f02] user: drh branch: trunk, size: 10205
2011-05-27
06:48
Add makefile to ensure no DLLs are used for the MinGW build (zlib was installed as both a static and a dynamic library) Extensions and minor textual revisions to the online help for several commands file: [4410bdd3] check-in: [6469b814] user: Arjen Markus branch: arjen-doc-updates, size: 10333
2011-05-12
01:08
Performance improvement by caching prepared statements when computing ancestors and descendents of a check-in. file: [325e4277] check-in: [dcc68b46] user: drh branch: trunk, size: 10193
2011-03-10
17:39
Add the ability to compute common ancestors to the path object. Still using the pivot object for merges, however. file: [ef0949e8] check-in: [cfec7224] user: drh branch: path-refactor, size: 9901
2011-01-28
21:52
Remove extraneous hyperlinks from the Tags and Branches timelines since the "tag:" hyperlinks now cover that functionality. file: [69df36fb] check-in: [b6e66cdd] user: drh branch: experimental, size: 9883
20:56
Add a new meta-data table named LEAF that holds a precomputed set of all leaves in the checkin DAG. Use this precomputed table rather than trying to compute the LEAFs on the fly, as a performance enhancement for repositories with many checkins. A rebuild is required. file: [00424287] check-in: [69f43fc0] user: drh branch: experimental, size: 10186
14:09
Add hyperlinks to the "user:" and "tags:" marks in timelines. file: [727d58ed] check-in: [13165785] user: drh branch: trunk, size: 9978
2011-01-26
15:37
Make the definition of "leaf" on the "leaves" page more precise. file: [9547e828] check-in: [752895d9] user: drh branch: trunk, size: 9972
2010-12-16
14:46
Use relative URLs for hyperlinks whereever possible, so that Fossil can work better behind a reverse proxy. file: [d19dd64e] check-in: [daeb10f6] user: drh branch: trunk, size: 9953
2010-10-10
13:38
added cross references for help file: [d7f99e0a] check-in: [c3bf3c0c] user: wolfgang branch: wolfgangHelpCmd, size: 10072
2010-10-09
15:34
link the command line help to the gui pages, where appropriate file: [fc524093] check-in: [a5cd7927] user: wolfgang branch: wolfgangHelpCmd, size: 10056
2010-09-13
22:14
Avoid the use of tabs. Make sure lines do not exceed 80 characters. file: [85d428fe] check-in: [4cc0ebef] user: drh branch: wolfgangFormat2CSS, size: 9957
2010-09-10
20:19
fixed many HTML-validator errors and moved more formats to CSS - tested on firefox and IE file: [5142e0bc] check-in: [d1305d0a] user: wolfgang branch: wolfgangFormat2CSS, size: 9945
2010-09-08
20:25
css for hyperlinks disabled file: [cccab26e] check-in: [0e394b8f] user: wolfgang branch: wolfgangFormat2CSS, size: 9932
2010-09-05
10:59
sidebox via css file: [c0b18e04] check-in: [ff3b6b32] user: Ratte branch: stv-skinning, size: 9842
2010-05-16
19:08
Change from GPL to the Simplified BSD License. file: [33c1fb15] check-in: [c06edd23] user: drh branch: clear-title, size: 9845
2009-08-27
15:00
Performance improvements on the compute_leavs() routine. There is opportunity for further improvement in this area. file: [21679d5f] check-in: [6953ca81] user: drh branch: trunk, size: 10121
2009-08-14
14:00
Improvements to the way the update target is computed when saying "fossil update" without specifying what to update to. Avoid the "bad object id: 0" error. file: [b32d7948] check-in: [7847b418] user: drh branch: trunk, size: 9629
2009-01-29
03:04
Add the "hyperlinks are disabled" warning to the taglist page. Disable hyperlinks on the leaves page when hyperlinks are suppose to be disabled. file: [fabaf35b] check-in: [472f9411] user: drh branch: trunk, size: 9170
2009-01-24
00:11
Add a "nomenclature" sidebox for the Branches page, explaining the difference between an open and a closed branch. file: [9007c3f7] check-in: [83ac468a] user: drh branch: trunk, size: 9143
2009-01-22
12:03
Change the way branches are tagged: The value of the "branch" property is used to identify the branch name. Repository rebuild required. Also, branches must be retagged. file: [8b62b089] check-in: [42c2a18e] user: drh branch: trunk, size: 9189
01:53
Define a "leaf" as a check-in with no children in the same branch. The is_a_leaf() function does some complicated SQL to figure this out. file: [c48bc9ac] check-in: [faf09dc7] user: drh branch: trunk, size: 9565
01:10
Improved messages in the "tags and properties" section of the vinfo page. Distinguish between a merge between forks and a merge between branches. A merge from forks, closes the fork, but not a merge from a branch. file: [cba21fd7] check-in: [042a08b5] user: drh branch: trunk, size: 10701
2009-01-21
18:59
Add timeline links on the leaves page. Also on the leaves page, do not show Merge labels on check-ins. The second part is the fix for ticket [d6bb26f436d8299f95d63f45fa51c92acdc91c5a]. file: [20b63066] check-in: [2fa4df1e] user: drh branch: trunk, size: 8905
13:50
Fix a bug in the "leaves" page when the repository is empty. Begin adding support for the ability to erase tags. file: [97b96f70] check-in: [432d4391] user: drh branch: trunk, size: 8609
01:23
Suppress the display of the artificate ID on the timeline which showing changes to wiki or tickets. file: [4af89fd5] check-in: [580d6ad8] user: drh branch: trunk, size: 8582
2009-01-20
22:21
Add web-based branch color changer. Add the "branch list" command. Simplifications to color propagation logic. file: [6edb8b04] check-in: [b7f32a71] user: drh branch: trunk, size: 8576
16:51
Attempting to rationalize the tagging and branching logic. The "branch" command has been resurrected and appears to work now. The "tag branch" command has been removed. Special tags "newbranch" and "closed" used to manage branches. New changes are not well-tested - use with caution. You must "rebuild" when upgrading through this version. file: [a19ebf91] check-in: [b6e22e62] user: drh branch: trunk, size: 8115
2008-10-24
13:27
Change all mentions of "UUID" in the documentation and help screens into either "artifact ID" or "baseline ID" or "ticket ID" as appropriate. "UUID" has a widely recognized meaning that is different from its meaning in fossil. "UUID" is still used in code comments and in variable names. file: [a11699aa] check-in: [e8c4f69c] user: drh branch: trunk, size: 5221
2008-05-14
02:03
Change the spelling of "descendant" to use the -ant suffix everywhere, including in the filename "descendant.c". The adjective form can be spelled either -ant or -ent, but the noun form requires -ant, or so says American Heritage. file: [c213fbef] check-in: [6458f020] user: drh branch: trunk, size: 5170 Added