Fossil

Check-in [e79e4544]
Login

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

Overview
Comment:(cherry-pick): Make "fossil version -v" work again with SQLite 3.15.x, since no-where is documented that "fossil now requires SQLite 3.16" Change VERSION to 1.37.1 (if ever released, this should at least be in it)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | branch-1.37
Files: files | file ages | folders
SHA1:e79e45444685946ddc7c399162e82fddb56961f2
User & Date: jan.nijtmans 2017-01-27 12:30:26
Context
2017-01-29
12:44
(cherry-pick): Changing the password requires a 'real' login. check-in: fb4b87d9 user: jan.nijtmans tags: branch-1.37
2017-01-27
12:30
(cherry-pick): Make "fossil version -v" work again with SQLite 3.15.x, since no-where is documented that "fossil now requires SQLite 3.16" Change VERSION to 1.37.1 (if ever released, this should at least be in it) check-in: e79e4544 user: jan.nijtmans tags: branch-1.37
12:28
(cherry-pick): The default MIME type for JSON wiki text should be 'text/x-fossil-wiki', not 'text/plain'. check-in: 80d5408d user: jan.nijtmans tags: branch-1.37
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to VERSION.

1
1.37
|
1
1.37.1

Changes to src/main.c.

978
979
980
981
982
983
984
985
986
987


988

989
990
991
992
993
994
995
#if defined(USE_SEE)
  blob_append(pOut, "USE_SEE\n", -1);
#endif
  blob_appendf(pOut, "SQLite %s %.30s\n", sqlite3_libversion(),
               sqlite3_sourceid());
  if( g.db==0 ) sqlite3_open(":memory:", &g.db);
  db_prepare(&q,
     "SELECT compile_options FROM pragma_compile_options"
     " WHERE compile_options NOT LIKE 'COMPILER=%%'");
  while( db_step(&q)==SQLITE_ROW ){


    blob_appendf(pOut, "SQLITE_%s\n", db_column_text(&q, 0));

  }
  db_finalize(&q);
}

/*
** This function returns the user-agent string for Fossil, for
** use in HTTP(S) requests.







<
|

>
>
|
>







978
979
980
981
982
983
984

985
986
987
988
989
990
991
992
993
994
995
996
997
#if defined(USE_SEE)
  blob_append(pOut, "USE_SEE\n", -1);
#endif
  blob_appendf(pOut, "SQLite %s %.30s\n", sqlite3_libversion(),
               sqlite3_sourceid());
  if( g.db==0 ) sqlite3_open(":memory:", &g.db);
  db_prepare(&q,

     "pragma compile_options");
  while( db_step(&q)==SQLITE_ROW ){
    const char *text = db_column_text(&q, 0);
    if( strncmp(text, "COMPILER", 8) ){
      blob_appendf(pOut, "SQLITE_%s\n", text);
    }
  }
  db_finalize(&q);
}

/*
** This function returns the user-agent string for Fossil, for
** use in HTTP(S) requests.