Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch betterExeHandling Excluding Merge-Ins
This is equivalent to a diff from fa81575c8d to 5a587ba570
2011-04-04
| ||
03:29 | Update the built-in SQLite to the latest beta for 3.7.6. check-in: a74cfe0a14 user: drh tags: trunk | |
01:56 | ws change to capture chmod +x change Leaf check-in: 5a587ba570 user: bharder tags: betterExeHandling | |
01:48 | Repair completely bogus sql that was erroneously copy/pasted check-in: fe7ac3931a user: bharder tags: betterExeHandling | |
01:10 | Create new branch named "betterExeHandling" check-in: 85c6c1d7eb user: bharder tags: betterExeHandling | |
2011-04-02
| ||
14:42 | Merge from trunk. check-in: e4ebc85e66 user: jan tags: jan-clientcert | |
2011-04-01
| ||
01:22 | Add the "fossil bisect options" command. Make the auto-next and direct-only options default to on since that seems to generate a more useful bisect in a heavily branched tree. check-in: fa81575c8d user: drh tags: trunk | |
2011-03-31
| ||
11:41 | Change the "filechng" query parameter for timeline to "fc". Add "Show Files" and "Hide Files" submenus. check-in: 0208b7fc43 user: drh tags: trunk | |
Changes to src/http.c.
1 2 3 4 5 6 7 8 |
/* ** Copyright (c) 2007 D. Richard Hipp ** ** This program is free software; you can redistribute it and/or ** modify it under the terms of the Simplified BSD License (also ** known as the "2-Clause License" or "FreeBSD License".) ** This program is distributed in the hope that it will be useful, |
| |
1 2 3 4 5 6 7 8 |
/*
** Copyright (c) 2007 D. Richard Hipp
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the Simplified BSD License (also
** known as the "2-Clause License" or "FreeBSD License".)
** This program is distributed in the hope that it will be useful,
|
Changes to src/vfile.c.
115
116
117
118
119
120
121
122
123
124
125
126
127
128
...
167
168
169
170
171
172
173
174
175
176
177
178
179
180
|
}
db_finalize(&ridq);
db_finalize(&ins);
manifest_destroy(p);
db_end_transaction(0);
}
/*
** Check the file signature of the disk image for every VFILE of vid.
**
** Set the VFILE.CHNGED field on every file that has changed. Also
** set VFILE.CHNGED on every folder that contains a file or folder
** that has changed.
**
................................................................................
fossil_warning("not an ordinary file: %s", zName);
nErr++;
}
chnged = 1;
}else if( oldChnged>=2 ){
chnged = oldChnged;
}else if( rid==0 ){
chnged = 1;
}
if( chnged!=1 ){
i64 origSize = db_column_int64(&q, 6);
currentMtime = file_mtime(0);
if( origSize!=file_size(0) ){
/* A file size change is definitive - the file has changed. No
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
...
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
|
} db_finalize(&ridq); db_finalize(&ins); manifest_destroy(p); db_end_transaction(0); } /* ** Poll db for current exe-status of a file. */ static int test_isexe(const char *zFilename, int vid){ static Stmt s; int isexe; db_static_prepare(&s, "SELECT isexe" " FROM vfile where vid=:vid AND pathname=:path" ); db_bind_int(&s, ":vid", vid); db_bind_text(&s, ":path", zFilename); db_step(&s); isexe = db_column_int(&s, 0); db_reset(&s); return isexe; } /* ** Check the file signature of the disk image for every VFILE of vid. ** ** Set the VFILE.CHNGED field on every file that has changed. Also ** set VFILE.CHNGED on every folder that contains a file or folder ** that has changed. ** ................................................................................ fossil_warning("not an ordinary file: %s", zName); nErr++; } chnged = 1; }else if( oldChnged>=2 ){ chnged = oldChnged; }else if( rid==0 ){ chnged = 1; }else if(file_isexe(zName)!=test_isexe(zName,vid)){ chnged = 1; } if( chnged!=1 ){ i64 origSize = db_column_int64(&q, 6); currentMtime = file_mtime(0); if( origSize!=file_size(0) ){ /* A file size change is definitive - the file has changed. No |