@@ -91,32 +91,33 @@
91 91 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
92 92 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
/*
93 93 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
** Allowed flags for the tmFlags argument to www_print_timeline
94 94 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
*/
95 95 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
#if INTERFACE
96 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_ARTID 0x000001 /* Show artifact IDs on non-check-in lines*/
97 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_LEAFONLY 0x000002 /* Show "Leaf" but not "Merge", "Fork" etc*/
98 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_BRIEF 0x000004 /* Combine adjacent elements of same obj */
99 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_GRAPH 0x000008 /* Compute a graph */
100 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_DISJOINT 0x000010 /* Elements are not contiguous */
101 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_FCHANGES 0x000020 /* Detail file changes */
102 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_BRCOLOR 0x000040 /* Background color by branch name */
103 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_UCOLOR 0x000080 /* Background color by user */
104 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_FRENAMES 0x000100 /* Detail only file name changes */
105 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_UNHIDE 0x000200 /* Unhide check-ins with "hidden" tag */
106 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_SHOWRID 0x000400 /* Show RID values in addition to UUIDs */
107 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_BISECT 0x000800 /* Show supplimental bisect information */
108 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_COMPACT 0x001000 /* Use the "compact" view style */
109 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_VERBOSE 0x002000 /* Use the "detailed" view style */
110 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_MODERN 0x004000 /* Use the "modern" view style */
111 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_COLUMNAR 0x008000 /* Use the "columns" view style */
112 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_CLASSIC 0x010000 /* Use the "classic" view style */
113 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_VIEWS 0x01f000 /* Mask for all of the view styles */
114 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_NOSCROLL 0x100000 /* Don't scroll to the selection */
115 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_FILEDIFF 0x200000 /* Show File differences, not ckin diffs */
116 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_CHPICK 0x400000 /* Show cherrypick merges */
117 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- #define TIMELINE_FILLGAPS 0x800000 /* Dotted lines for missing nodes */
96 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_ARTID 0x0000001 /* Show artifact IDs on non-check-in lines*/
97 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_LEAFONLY 0x0000002 /* Show "Leaf" but not "Merge", "Fork" etc*/
98 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_BRIEF 0x0000004 /* Combine adjacent elements of same obj */
99 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_GRAPH 0x0000008 /* Compute a graph */
100 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_DISJOINT 0x0000010 /* Elements are not contiguous */
101 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_FCHANGES 0x0000020 /* Detail file changes */
102 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_BRCOLOR 0x0000040 /* Background color by branch name */
103 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_UCOLOR 0x0000080 /* Background color by user */
104 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_FRENAMES 0x0000100 /* Detail only file name changes */
105 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_UNHIDE 0x0000200 /* Unhide check-ins with "hidden" tag */
106 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_SHOWRID 0x0000400 /* Show RID values in addition to UUIDs */
107 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_BISECT 0x0000800 /* Show supplimental bisect information */
108 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_COMPACT 0x0001000 /* Use the "compact" view style */
109 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_VERBOSE 0x0002000 /* Use the "detailed" view style */
110 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_MODERN 0x0004000 /* Use the "modern" view style */
111 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_COLUMNAR 0x0008000 /* Use the "columns" view style */
112 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_CLASSIC 0x0010000 /* Use the "classic" view style */
113 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_VIEWS 0x001f000 /* Mask for all of the view styles */
114 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_NOSCROLL 0x0100000 /* Don't scroll to the selection */
115 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_FILEDIFF 0x0200000 /* Show File differences, not ckin diffs */
116 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_CHPICK 0x0400000 /* Show cherrypick merges */
117 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_FILLGAPS 0x0800000 /* Dotted lines for missing nodes */
118 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ #define TIMELINE_XMERGE 0x1000000 /* Omit merges from off-graph nodes */
118 119 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
#endif
119 120 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
120 121 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
/*
121 122 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
** Hash a string and use the hash to determine a background color.
122 123 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
*/
@@ -297,12 +298,12 @@
297 298 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
if( (tmFlags & TIMELINE_CHPICK)!=0
298 299 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
&& !db_table_exists("repository","cherrypick")
299 300 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
){
300 301 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
tmFlags &= ~TIMELINE_CHPICK;
301 302 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
}
302 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
-
303 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- @ <table id="timelineTable%d(iTableId)" class="timelineTable">
303 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ @ <table id="timelineTable%d(iTableId)" class="timelineTable"> \
304 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ @ <!-- tmFlags: 0x%x(tmFlags) -->
304 305 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
blob_zero(&comment);
305 306 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
while( db_step(pQuery)==SQLITE_ROW ){
306 307 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
int rid = db_column_int(pQuery, 0);
307 308 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
const char *zUuid = db_column_text(pQuery, 1);
308 309 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
int isLeaf = db_column_int(pQuery, 5);
@@ -1691,12 +1692,12 @@
1691 1692 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
tmFlags |= TIMELINE_BRIEF | TIMELINE_GRAPH | TIMELINE_CHPICK;
1692 1693 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
}else{
1693 1694 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
tmFlags |= TIMELINE_GRAPH | TIMELINE_CHPICK;
1694 1695 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
}
1695 1696 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
if( related ){
1696 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- tmFlags |= TIMELINE_FILLGAPS;
1697 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- // tmFlags &= ~TIMELINE_DISJOINT;
1697 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ tmFlags |= TIMELINE_FILLGAPS | TIMELINE_XMERGE;
1698 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ tmFlags &= ~TIMELINE_DISJOINT;
1698 1699 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
}
1699 1700 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
if( PB("ncp") ){
1700 1701 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
tmFlags &= ~TIMELINE_CHPICK;
1701 1702 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
}
1702 1703 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
if( PB("ng") || zSearch!=0 ){
@@ -2256,11 +2257,11 @@
2256 2257 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
blob_appendf(&desc, " related to tags matching %h", zMatchDesc);
2257 2258 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
}else{
2258 2259 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
blob_appendf(&desc, " with tags matching %h", zMatchDesc);
2259 2260 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
}
2260 2261 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
}
2261 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
- tmFlags |= TIMELINE_DISJOINT;
2262 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
+ if( !related ) tmFlags |= TIMELINE_DISJOINT;
2262 2263 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
}
2263 2264 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
addFileGlobDescription(zChng, &desc);
2264 2265 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
if( rAfter>0.0 ){
2265 2266 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
if( rBefore>0.0 ){
2266 2267 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!
blob_appendf(&desc, " occurring between %h and %h.<br />",
2267 2268 { copied = false; pop = false }, 1000)" :class="copied && 'copied'">Copy link Copied!