Fossil

Check-in [8d3ff5a710]
Login

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

Overview
Comment:Keep the entry boxes filled in on the hash-color-test webpage.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8d3ff5a7109a51c371a00b152182d8f0c483bc29
User & Date: drh 2013-05-02 00:15:44.376
Context
2013-05-02
13:28
Allow boolean parameters sbs= and v= to taken values like "on", "off", "yes", and "no". Assign meaningful defaults even if the argument is omitted. ... (check-in: e09d84f297 user: drh tags: trunk)
07:58
See alternative implementation on trunk. Was: Improve cgi parameter parsing in add_param_list(). Boolean options, like "v" and "sbs" can now take forms like "v=true" or simply "v" (in stead of "v=1") or "v=off" (in stead of "v=0"). /timeline already accepted the shortened form, now /event, /vdiff and other web pages do as well. ... (check-in: 71d48d346c user: jan.nijtmans tags: short-cgi-params)
07:01
Proposed workaround for long double compiler bug on OpenBSD/sparc64. ... (check-in: c11d1444e6 user: edward tags: long-double-bug)
00:15
Keep the entry boxes filled in on the hash-color-test webpage. ... (check-in: 8d3ff5a710 user: drh tags: trunk)
2013-05-01
20:38
Change application ID for the repository database. Add application IDs to the global configuration and check-out databases. None of this works yet because the built-in SQLite does not support the application_id pragma, but it should start working as soon as SQLite is updated. ... (check-in: 2cd8b61f3c user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/timeline.c.
200
201
202
203
204
205
206


207
208
209
210
211
212
213
214
  if( cnt ){
    @ <hr>
  }
  @ <form method="post" action="%s(g.zTop)/hash-color-test">
  @ <p>Enter candidate branch names below and see them displayed in their
  @ default background colors above.</p>
  for(i=0; i<10; i++){


    @ <input type="text" size="30" name="b%d(i)"><br />
  }
  @ <input type="submit">
  @ </form>
  style_footer();
}

/*







>
>
|







200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
  if( cnt ){
    @ <hr>
  }
  @ <form method="post" action="%s(g.zTop)/hash-color-test">
  @ <p>Enter candidate branch names below and see them displayed in their
  @ default background colors above.</p>
  for(i=0; i<10; i++){
    sqlite3_snprintf(sizeof(zNm),zNm,"b%d",i);
    zBr = P(zNm);
    @ <input type="text" size="30" name='%s(zNm)' value='%h(PD(zNm,""))'><br />
  }
  @ <input type="submit">
  @ </form>
  style_footer();
}

/*