Fossil

Check-in [f59f4e1f]
Login

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

Overview
Comment:Minor enhancement to 'mkversion'.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:f59f4e1f6e9d1614d143fce07635d59edf0c0602
User & Date: mistachkin 2016-10-23 01:28:14
Context
2016-10-24
14:58
Set the 1.36 release dates on the change log. check-in: fdebeba5 user: drh tags: trunk
04:51
Draft fix for issue with 'ticket set +icomment' reported by Venkat Iyer on the mailing list. Closed-Leaf check-in: 0d247d57 user: mistachkin tags: tktSetFix
2016-10-23
15:36
Add ms=EXACT|LIKE|GLOB|REGEXP timeline query parameter which changes the interpretation of the t= and r= query parameters to exact (default), SQL LIKE, glob, or regular expression matching. Other than exact matching, the t= or r= parameter value is interpreted as a whitespace- or comma-delimited list of match patterns, with the option to quote a pattern using single or double quotes in case it contains commas or whitespace. For regular expression matching only, backslash can also be used to inhibit delimiter interpretation of the next character. At this point, the only way to use this feature is to type ms= directly into the URL; the UI still needs to be updated. Be aware for LIKE interpretation that % needs to be written as %25. check-in: be586845 user: andygoth tags: andygoth-timeline-ms
01:42
Enhance 'brlist' page to make use of branch colors. check-in: 435ca5d2 user: mistachkin tags: experimental
01:28
Minor enhancement to 'mkversion'. check-in: f59f4e1f user: mistachkin tags: trunk
2016-10-22
19:52
Begin the transaction block before inserting any content. Addresses one of the bugs reported by Venkat Iyer on ML. check-in: 1b6635a4 user: andybradford tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/mkversion.c.

62
63
64
65
66
67
68




69
70
71
72
73
74
75
    }
    for(z=vx; z[0]=='0'; z++){}
    printf("#define RELEASE_VERSION_NUMBER %s\n", z);
    memset(vx,0,sizeof(vx));
    strcpy(vx,b);
    d = 0;
    for(z=vx; z[0]; z++){




      if( z[0]!='.' ) continue;
      if ( d<3 ){
        z[0] = ',';
        d++;
      }else{
        z[0] = '\0';
        break;







>
>
>
>







62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
    }
    for(z=vx; z[0]=='0'; z++){}
    printf("#define RELEASE_VERSION_NUMBER %s\n", z);
    memset(vx,0,sizeof(vx));
    strcpy(vx,b);
    d = 0;
    for(z=vx; z[0]; z++){
      if( z[0]=='-' ){
        z[0] = 0;
        break;
      }
      if( z[0]!='.' ) continue;
      if ( d<3 ){
        z[0] = ',';
        d++;
      }else{
        z[0] = '\0';
        break;