Fossil

File History
Login

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

History of src/graph.c

2017-07-05
12:33
Fix timeline rendering so that multiple timelines can be drawn on each page without interferring with one another. Move the "Referenced By" section of the /info page upward and rename it as "References". Added the /test-backlink page for showing all pages that contain references. file: [f0940a16] check-in: [ba344432] user: drh branch: trunk, size: 18748
2017-03-01
15:35
Change references to "SHA1 hash" in comments and UI labels to be "artifact hash" or similar. file: [06616994] check-in: [b9a1a3b9] user: drh branch: fossil-2.0, size: 18726
2016-12-14
01:09
Fix the logic that combines merge risers (originally added to trunk by check-in [95d6ddc3]). Add test cases for this fix to graph-test-1.wiki. file: [51a4ef3f] check-in: [9ed13436] user: drh branch: trunk, size: 18726
2016-10-29
16:50
Compiler warning (MSVC) in timeline.c, found by Kevin, reported on fossil-users list file: [23ff3709] check-in: [fe3d30fc] user: jan.nijtmans branch: trunk, size: 18399
2016-10-27
14:57
Merge lines descending to the bottom of the timeline that refer to the same commit file: [0f7e7dbb] check-in: [8ae79062] user: baruch branch: baruch-timeline-fix, size: 18400
2016-07-05
14:47
Another place where checking for pRow->isLeaf is too simple (which could result in more phantom up-arrows) file: [1e8070d7] check-in: [8ce629f9] user: jan.nijtmans branch: trunk, size: 17915
14:23
Fix a timeline bug, showing an unintended arrow when closing a fork. file: [119c9357] check-in: [f16e1a0e] user: jan.nijtmans branch: trunk, size: 17926
14:17
Partially revert [f73411025e8ebec7]. This fixes a problem that when closing a fork by just doing "fossil merge" and additonal arrow going up is displayed. Probably not the right fix. Remark: reverting more than necessary. Already fixed on trunk. file: [52be37fb] check-in: [a78e5118] user: jan.nijtmans branch: close-fork-arrow, size: 18272
2016-03-21
16:34
Fix the graph of changes for individual files - broken by recent work on the graph generator. file: [8d766b73] check-in: [c693d82d] user: drh branch: trunk, size: 17900
2016-03-19
15:17
Merge risers must not go straight up to another node on the same rail. file: [6a3baf75] check-in: [38b52a5f] user: drh branch: short-offscreen-risers, size: 18088
2016-03-18
14:35
Draw the upward riser arrow just a short ways, not to the top of screen, for nodes whose next child is off-screen. file: [9644ae39] check-in: [70ba2951] user: drh branch: short-offscreen-risers, size: 18053
14:10
Fix a case in the graph renderer where a non-leaf node whose immediate child is not on screen did now show the arrow going straight up to the top of the page. file: [dd1994aa] check-in: [da4a3b4f] user: drh branch: trunk, size: 17881
13:06
Minor simplification to the graph layout logic. file: [182b5158] check-in: [f7341102] user: drh branch: trunk, size: 17735
2015-05-06
20:55
Allow the timeline graph to be customized using CSS. file: [845e2bcf] check-in: [1f1e199a] user: joel branch: graphcss, size: 17998
2015-03-10
02:21
Allow the rail pitch on graphs to go as low as 11 pixels. Adjust the offset of the merge risers as the rail pitch gets smaller so that merge arrows do not overlap the merge risers. file: [42f51f88] check-in: [e81344f3] user: drh branch: trunk, size: 18329
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: [a528cedc] check-in: [7c30266a] user: michai branch: ml-jb-doc-typos, size: 18251
2015-01-27
01:39
Fix a NULL-pointer dereference bug in the graph generator. file: [480e291c] check-in: [03250bc6] user: drh branch: trunk, size: 18250
2015-01-26
16:28
Try to keep graph nodes from the same branch on the same rail of the graph. file: [d8fd87a8] check-in: [fcc9f664] user: drh branch: mlink-improvements, size: 18239
2015-01-15
09:28
Remove spacings at end-of-line. No change in any functionality. file: [e9b989b7] check-in: [080ab8cb] user: jan.nijtmans branch: trunk, size: 17424
2014-08-06
08:07
Use full UUID's for /vdiff pages accessed by clicking on two different check-ins from the timeline. file: [57ddf309] check-in: [78fdf9f5] user: jan.nijtmans branch: trunk, size: 17431
2013-08-16
00:47
Use two arguments to getComputedStyle() for compatibility with very old versions of Firefox. Allow setting graph node background colors using "#canvas{ background-color: COLOR; }". file: [789ae491] check-in: [c06e296b] user: drh branch: trunk, size: 17431
2012-12-06
02:44
Increase the maximum graph with to 40 rails. Fix the graph display for individual files, which was broken by the prior change. file: [d2f9ba3f] check-in: [8d4ee62b] user: drh branch: trunk, size: 17452
01:47
Make the spacing between vertical rail centerlines in the graph adjustable based on the number of rails. Use less horizontal space. file: [3ff924ae] check-in: [d57481a7] user: drh branch: trunk, size: 17300
2012-11-30
03:14
Fix compiler warning. file: [40d9f3a4] check-in: [95cce92a] user: drh branch: click-graph-to-diff, size: 17237
03:10
Click on the timeline graph once to select a node. Click on a different node to see a diff between the two. Click on the selected node to undo the selection. Works with check-in timelines and file timelines. file: [21001362] check-in: [a7dde41f] user: drh branch: click-graph-to-diff, size: 17236
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [5d7ae478] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 17016
2012-03-29
14:54
Add vim modline everywhere file: [a936701e] check-in: [a496d8e8] user: meeks branch: mgagnon_fix, size: 17059
2011-05-12
00:40
Futher improments to the display of individual file timeline graphs. file: [578504b7] check-in: [64aa186a] user: drh branch: trunk, size: 17017
00:02
Add the a=, b=, and n= query parameters to the finfo web method. Show all duplicate entries in a timeline in the right-most rail. file: [353b185e] check-in: [cbc84ad6] user: drh branch: trunk, size: 16890
2011-04-25
22:23
Change the definition of a "Leaf" to be any node that has no children of any kind (merge or non-merge) in the same branch. A "rebuild" or a "fossil leaves --recompute" is required to recompute the LEAF table after upgrading to this version. file: [7f10b018] check-in: [e17fc713] user: drh branch: trunk, size: 16587
2011-03-16
02:20
Change to a better, cleaner way to fail the graph generation. file: [89060e19] check-in: [cae94fe2] user: drh branch: trunk, size: 16561
01:53
Take care to avoid a buffer overrun if the number of rails in the graph exceeds the limit of 32. file: [b6c6adc4] check-in: [cbafc702] user: drh branch: trunk, size: 16636
2011-03-15
01:44
A merge riser is allowed to ride along side a riser to an off-screen node. file: [212ba166] check-in: [52ea66df] user: drh branch: trunk, size: 15984
01:34
Change the graph layout to include ascenders for nodes that have off-screen children. Fix a bug in the leaf-tracker that became evident by this enhancement. (A rebuild is required to rebuild the leaf table after updating, or else some timeline graphs will not display correctly.) file: [e2a855b4] check-in: [d7a0240f] user: drh branch: trunk, size: 15983
2011-03-14
20:14
Further improvements to the layout of merge arrows. file: [f764f1b0] check-in: [a6934b44] user: drh branch: trunk, size: 15298
18:26
Improvements to the layout of merge arrows in the graph. file: [f2e4f363] check-in: [313cd3c8] user: drh branch: trunk, size: 15203
2011-02-11
17:31
Further refinement of the time-warp graph rendering. file: [eede3499] check-in: [9b9d52bb] user: drh branch: trunk, size: 14869
16:52
Improved graph rendering in the case of a time-warp. file: [21862072] check-in: [79b81a31] user: drh branch: trunk, size: 14818
2011-02-07
18:21
Fix a potential infinite loop in the graph generator for overly-complex change graphs. file: [8aaab399] check-in: [83828327] user: drh branch: trunk, size: 14120
14:34
Enhance the graph generator so that it uses less memory and so that it is not limited to a fixed number of parents (10) for each node. file: [75bc003e] check-in: [5ee80c54] user: drh branch: trunk, size: 14082
2010-12-30
21:26
Improvements to the merge-out arrows on the graph. It is now more likely to draw the merge arrow up out of a leaf node. file: [08c87427] check-in: [4614dadb] user: drh branch: trunk, size: 14102
20:37
Clean up to the graph generator. Add comments describing variables in the javascript. Omit merge descenders if parent descenders are omitted. Add a test page of URL links. file: [f5da577e] check-in: [94979bc7] user: drh branch: trunk, size: 14136
2010-12-23
02:22
Add new function fossil_strcmp() that works like strcmp() except that it handles NULL arguments correctly. Use fossil_strcmp() in place of strcmp() in many places in the code. file: [c5ccf646] check-in: [31c52c7b] user: drh branch: trunk, size: 13440
2010-12-22
14:25
Draw inbound merge arrows on the graph even if the merge parent is off-screen. file: [39c68689] check-in: [e685fc0b] user: drh branch: trunk, size: 13433
2010-12-20
01:06
Improvements to the graph layout algorithm yielding a more compact graph in many cases. file: [0f061499] check-in: [ea61f4aa] user: drh branch: trunk, size: 13340
2010-11-17
13:38
Tweaks to the graph layout. Add a graph to ticket timelines. file: [97998b59] check-in: [cf178577] user: drh branch: trunk, size: 13556
2010-10-15
17:13
Replace all malloc() calls with fossil_malloc(). The fossil_malloc() routine panics rather than return a NULL pointer. file: [b7b1c584] check-in: [8f41b2fa] user: drh branch: trunk, size: 13547
2010-08-24
01:24
Fix a potential sigfault that can occur in the graph generator if the child is older than its parent. file: [79682b0b] check-in: [7503f987] user: drh branch: trunk, size: 13631
2010-08-21
03:27
Fix a potential segfault in the graph generator when check-ins occur with time skew. file: [ca3cb177] check-in: [32c9c47c] user: drh branch: trunk, size: 13565
2010-08-20
19:42
Improvements to the graph layout algorithm. file: [0f68225c] check-in: [98870a85] user: drh branch: trunk, size: 13565
2010-06-17
02:01
Fix an uninitialized variable in the graph generator - error inserted by the previous checkin. file: [6b1dadcd] check-in: [4d1ef64e] user: drh branch: trunk, size: 12036
01:37
Update to the latest version of SQLite - one that includes the fix for the corruption bug associated with the file-size in byte 28 of the database header. Also fix a bug in the graph generator, and change an index to help timeline run faster for branch queries. file: [fa4128bf] check-in: [5129d32a] user: drh branch: trunk, size: 12040
2010-05-16
19:08
Change from GPL to the Simplified BSD License. file: [99cc3d06] check-in: [c06edd23] user: drh branch: clear-title, size: 11895
2010-05-14
17:02
On the timeline graph, strive to put the "trunk" to the far left. file: [5bc3c9fb] check-in: [4c931047] user: drh branch: trunk, size: 12171
2010-04-15
23:50
Fill the boxes on the graph with the same background color as the text in the timeline description. file: [798288c2] check-in: [0e7b85bb] user: drh branch: trunk, size: 11918
2010-04-04
22:40
Further refinements to the graph layout for file histories. file: [5add05c9] check-in: [1f607de1] user: drh branch: trunk, size: 11647
21:47
For file history graphs, use merge arrows to show when the same file appears in multiple check-ins. file: [1e7be729] check-in: [6ea10c5e] user: drh branch: trunk, size: 11709
18:38
Tweaks to the graph layout algorithm to try to get better graphs for individual file histories. file: [a50528c5] check-in: [1d2608b7] user: drh branch: trunk, size: 10738
2010-03-28
23:20
In the graph algorithm, try to put branches on rails as close as possible to their parent. file: [f5c1c50c] check-in: [42bbfe9d] user: drh branch: trunk, size: 10525
2010-03-17
00:40
Get the derivation graph working for individual file histories. file: [d1787e16] check-in: [c19467d6] user: drh branch: trunk, size: 10514
2010-03-03
04:08
Improvements to the graph layout algorithm to render a more compact graph when there is lots of branching and merging. file: [fcb7f994] check-in: [71edacd9] user: drh branch: trunk, size: 9893
2010-02-23
21:30
Improved graph layout algorithm attempts to keep merge arrows in between their source and destination. file: [4c50a70d] check-in: [0f27a598] user: drh branch: trunk, size: 9720
2010-02-10
13:13
Bug fix in the graph layout algorithm. file: [ebdc729f] check-in: [95ae79d5] user: drh branch: trunk, size: 9194
2010-02-09
13:36
Enable the graph for tag timelines, but omit descenders. file: [f2d50e8b] check-in: [22b6887e] user: drh branch: trunk, size: 9175
11:37
Prevent a segfault in the graph computation due to time skew. The graph is still not drawn right, but at least it displays something now. file: [3ad58e14] check-in: [ff9efe30] user: drh branch: trunk, size: 8892
2010-02-08
21:42
Fix another graph layout bug. file: [d1096f11] check-in: [f312587a] user: drh branch: trunk, size: 8779
16:58
Fix a bug in timeline graph generation. file: [be1cefe3] check-in: [399d1ca0] user: drh branch: trunk, size: 8567
16:40
Fix a bug in the graph display that causes an assertion fault if the timeline contains a node that has no parents. file: [0330d895] check-in: [c5f3e87b] user: drh branch: trunk, size: 8453
16:12
Implement a graph of changes in the timeline to replace the older flashing asterisk mechanism. Does not work on IE6. Probably still contains bugs. file: [cde0857b] check-in: [d89fea6a] user: drh branch: trunk, size: 8438 Added