Fossil SCM

Merge the latest trunk changes into the timestamp-vfs branch.

drh 2026-01-12 19:54 timestamp-vfs merge
Commit f312c1829218739cfa8ac6e816e103274b1ee5c43f3292860e354d6ad251c388
3 files changed +1 -1 +2 -2 +6 -3
+1 -1
--- src/default.css
+++ src/default.css
@@ -1231,11 +1231,11 @@
12311231
}
12321232
.accordion_closed > .accordion_btn_plus {
12331233
display: inline-block;
12341234
}
12351235
.accordion_panel {
1236
- overflow: hidden;
1236
+ overflow-y: clip;
12371237
transition: max-height 0.25s ease-out;
12381238
}
12391239
.error {
12401240
color: darkred;
12411241
background: yellow;
12421242
--- src/default.css
+++ src/default.css
@@ -1231,11 +1231,11 @@
1231 }
1232 .accordion_closed > .accordion_btn_plus {
1233 display: inline-block;
1234 }
1235 .accordion_panel {
1236 overflow: hidden;
1237 transition: max-height 0.25s ease-out;
1238 }
1239 .error {
1240 color: darkred;
1241 background: yellow;
1242
--- src/default.css
+++ src/default.css
@@ -1231,11 +1231,11 @@
1231 }
1232 .accordion_closed > .accordion_btn_plus {
1233 display: inline-block;
1234 }
1235 .accordion_panel {
1236 overflow-y: clip;
1237 transition: max-height 0.25s ease-out;
1238 }
1239 .error {
1240 color: darkred;
1241 background: yellow;
1242
+2 -2
--- src/delta.c
+++ src/delta.c
@@ -572,12 +572,12 @@
572572
int lenSrc, /* Length of the source file */
573573
const char *zDelta, /* Delta to apply to the pattern */
574574
int lenDelta, /* Length of the delta */
575575
char *zOut /* Write the output into this preallocated buffer */
576576
){
577
- unsigned int limit;
578
- unsigned int total = 0;
577
+ sqlite3_uint64 limit;
578
+ sqlite3_uint64 total = 0;
579579
#ifdef FOSSIL_ENABLE_DELTA_CKSUM_TEST
580580
char *zOrigOut = zOut;
581581
#endif
582582
583583
limit = getInt(&zDelta, &lenDelta);
584584
--- src/delta.c
+++ src/delta.c
@@ -572,12 +572,12 @@
572 int lenSrc, /* Length of the source file */
573 const char *zDelta, /* Delta to apply to the pattern */
574 int lenDelta, /* Length of the delta */
575 char *zOut /* Write the output into this preallocated buffer */
576 ){
577 unsigned int limit;
578 unsigned int total = 0;
579 #ifdef FOSSIL_ENABLE_DELTA_CKSUM_TEST
580 char *zOrigOut = zOut;
581 #endif
582
583 limit = getInt(&zDelta, &lenDelta);
584
--- src/delta.c
+++ src/delta.c
@@ -572,12 +572,12 @@
572 int lenSrc, /* Length of the source file */
573 const char *zDelta, /* Delta to apply to the pattern */
574 int lenDelta, /* Length of the delta */
575 char *zOut /* Write the output into this preallocated buffer */
576 ){
577 sqlite3_uint64 limit;
578 sqlite3_uint64 total = 0;
579 #ifdef FOSSIL_ENABLE_DELTA_CKSUM_TEST
580 char *zOrigOut = zOut;
581 #endif
582
583 limit = getInt(&zDelta, &lenDelta);
584
+6 -3
--- src/util.c
+++ src/util.c
@@ -671,20 +671,23 @@
671671
** (1) The value of the --editor command-line argument
672672
** (2) The local "editor" setting
673673
** (3) The global "editor" setting
674674
** (4) The VISUAL environment variable
675675
** (5) The EDITOR environment variable
676
-** (6) Any of the following programs that are available:
677
-** notepad, nano, pico, jove, edit, vi, vim, ed,
676
+** (6) Any of several common editors that might be available, such as:
677
+** notepad, nano, pico, jove, edit, vi, vim, ed
678678
**
679679
** The search only occurs once, the first time this routine is called.
680680
** Second and subsequent invocations always return the same value.
681681
*/
682682
const char *fossil_text_editor(void){
683683
static const char *zEditor = 0;
684684
const char *azStdEd[] = {
685
- "notepad", "nano", "pico", "jove", "edit", "vi", "vim", "ed"
685
+#ifdef _WIN32
686
+ "notepad",
687
+#endif
688
+ "nano", "pico", "jove", "edit", "vi", "vim", "ed"
686689
};
687690
int i = 0;
688691
if( zEditor==0 ){
689692
zEditor = find_option("editor",0,1);
690693
}
691694
--- src/util.c
+++ src/util.c
@@ -671,20 +671,23 @@
671 ** (1) The value of the --editor command-line argument
672 ** (2) The local "editor" setting
673 ** (3) The global "editor" setting
674 ** (4) The VISUAL environment variable
675 ** (5) The EDITOR environment variable
676 ** (6) Any of the following programs that are available:
677 ** notepad, nano, pico, jove, edit, vi, vim, ed,
678 **
679 ** The search only occurs once, the first time this routine is called.
680 ** Second and subsequent invocations always return the same value.
681 */
682 const char *fossil_text_editor(void){
683 static const char *zEditor = 0;
684 const char *azStdEd[] = {
685 "notepad", "nano", "pico", "jove", "edit", "vi", "vim", "ed"
 
 
 
686 };
687 int i = 0;
688 if( zEditor==0 ){
689 zEditor = find_option("editor",0,1);
690 }
691
--- src/util.c
+++ src/util.c
@@ -671,20 +671,23 @@
671 ** (1) The value of the --editor command-line argument
672 ** (2) The local "editor" setting
673 ** (3) The global "editor" setting
674 ** (4) The VISUAL environment variable
675 ** (5) The EDITOR environment variable
676 ** (6) Any of several common editors that might be available, such as:
677 ** notepad, nano, pico, jove, edit, vi, vim, ed
678 **
679 ** The search only occurs once, the first time this routine is called.
680 ** Second and subsequent invocations always return the same value.
681 */
682 const char *fossil_text_editor(void){
683 static const char *zEditor = 0;
684 const char *azStdEd[] = {
685 #ifdef _WIN32
686 "notepad",
687 #endif
688 "nano", "pico", "jove", "edit", "vi", "vim", "ed"
689 };
690 int i = 0;
691 if( zEditor==0 ){
692 zEditor = find_option("editor",0,1);
693 }
694

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button