Fossil

Changes On Branch ticket-d17d6e5b17
Login

Changes On Branch ticket-d17d6e5b17

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

Changes In Branch ticket-d17d6e5b17 Excluding Merge-Ins

This is equivalent to a diff from 9f931a7569 to ab4e8638bf

2014-08-08
02:26
Update autosetup to the latest version ... (check-in: 93fb7c774f user: steveb tags: autosetup)
2013-04-03
09:39
Implement LOOK_SHORT flag Re-order test-cases such that adding to "data" array will not result in more renumberings any more. This should prevent the "More than 10,000 changes" in some (not all) cases. ... (check-in: 1686ff716a user: jan.nijtmans tags: trunk)
07:50
rebase ... (Closed-Leaf check-in: ab4e8638bf user: jan.nijtmans tags: ticket-d17d6e5b17)
07:36
rebase ... (check-in: 6159a7f281 user: jan.nijtmans tags: clean-with-ignore)
2013-04-02
08:36
More compact, better readable, output for test-looks-like-utf command. ... (check-in: caa50cffb5 user: jan.nijtmans tags: looks-like-utf)
2013-04-01
20:56
Fix typo: SSL and JSON should not be enabled by default in the MSVC makefile. ... (check-in: 9f931a7569 user: mistachkin tags: trunk)
20:54
Allow easier compilation with OpenSSL enabled using MSVC. Fix for [5b2300c692]. ... (check-in: c46e5f933d user: mistachkin tags: trunk)
2013-03-04
14:25
merge trunk ... (check-in: aa6038265a user: jan.nijtmans tags: ticket-d17d6e5b17)

Changes to src/file.c.
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
485
486
487
488
489
490
491

492
493
494
495
496
497
498







-







/*
** Return true if the filename given is a valid filename for
** a file in a repository.  Valid filenames follow all of the
** following rules:
**
**     *  Does not begin with "/"
**     *  Does not contain any path element named "." or ".."
**     *  Does not contain any of these characters in the path: "\"
**     *  Does not end with "/".
**     *  Does not contain two or more "/" characters in a row.
**     *  Contains at least one character
**
** Invalid UTF8 characters result in a false return if bStrictUtf8 is
** true.  If bStrictUtf8 is false, invalid UTF8 characters are silently
** ignored. See http://en.wikipedia.org/wiki/UTF-8#Invalid_byte_sequences
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
548
549
550
551
552
553
554


555
556
557
558
559
560
561







-
-







          return 0;
        }
        if( (z[++i]&0xc0)!=0x80 ){
          /* Invalid second continuation byte */
          return 0;
        }
      }
    }else if( bStrictUtf8 && (c=='\\') ){
      return 0;
    }
    if( c=='/' ){
      if( z[i+1]=='/' ) return 0;
      if( z[i+1]=='.' ){
        if( z[i+2]=='/' || z[i+2]==0 ) return 0;
        if( z[i+2]=='.' && (z[i+3]=='/' || z[i+3]==0) ) return 0;
      }