Changes On Branch ticket-ed23ef59cf
Not logged in

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

Changes In Branch ticket-ed23ef59cf Excluding Merge-Ins

This is equivalent to a diff from ab2920c2b9 to e0e88821bd

2013-03-06
02:18
Allow newlines to serve as separators for multiple glob strings in the binary-glob setting (and in any other setting that accepts a list of glob patterns). Fix for ticket [ed23ef59cf0fb] check-in: 0e5f0da7eb user: drh tags: trunk
2013-03-05
12:17
Add check for win32/cygwin whether the config-db is writable in stead of checking that the $HOME directory is writable. Eliminate g.zHome and g.configOpen, in stead use a single g.configDbName. Then people no longer have to guess whether the config db name is ".fossil" or "_fossil". g.zHome was only used for locating the config db, nothing else. check-in: 473e08a6d1 user: jan.nijtmans tags: trunk
10:04
Proposed fix for [ed23ef59cf]: Fossil ignoring "binary-glob" setting Closed-Leaf check-in: e0e88821bd user: jan.nijtmans tags: ticket-ed23ef59cf
09:24
Don't trigger the long-lines warning if the long line is followed by a null-byte: it's a normal binary file then. re-write looks_like_utf8/16 to handle crlf the same way as long lines (thanks, Joe, for the long-lines rewrite!) check-in: ab2920c2b9 user: jan.nijtmans tags: trunk
02:06
Add warning for overly long lines found during the commit process. check-in: 10fbcda270 user: mistachkin tags: trunk

Changes to src/glob.c.

52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
    if( zGlobList[0]==0 ) break;
    if( zGlobList[0]=='\'' || zGlobList[0]=='"' ){
      cTerm = zGlobList[0];
      zGlobList++;
    }else{
      cTerm = ',';
    }
    for(i=0; zGlobList[i] && zGlobList[i]!=cTerm; i++){}
    if( cTerm==',' ){
      while( i>0 && fossil_isspace(zGlobList[i-1]) ){ i--; }
    }
    blob_appendf(&expr, "%s%s GLOB '%#q'", zSep, zVal, i, zGlobList);
    zSep = " OR ";
    if( cTerm!=',' && zGlobList[i] ) i++;
    zGlobList += i;







|







52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
    if( zGlobList[0]==0 ) break;
    if( zGlobList[0]=='\'' || zGlobList[0]=='"' ){
      cTerm = zGlobList[0];
      zGlobList++;
    }else{
      cTerm = ',';
    }
    for(i=0; zGlobList[i] && zGlobList[i]!=cTerm && zGlobList[i]!='\n'; i++){}
    if( cTerm==',' ){
      while( i>0 && fossil_isspace(zGlobList[i-1]) ){ i--; }
    }
    blob_appendf(&expr, "%s%s GLOB '%#q'", zSep, zVal, i, zGlobList);
    zSep = " OR ";
    if( cTerm!=',' && zGlobList[i] ) i++;
    zGlobList += i;