Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
293 check-ins using file src/browse.c version c1f0e1c1d3
|
2011-10-20
| ||
| 02:03 | Sorry, wrong branch! started changelog for 1.20 release. Closed-Leaf check-in: a942086390 user: stephan tags: declined | |
|
2011-10-16
| ||
| 21:04 | Renamed 1/2-pane diffs to unified and side-by-side in the ui. check-in: ff9de303e3 user: jan tags: jan-sbsdiff | |
| 16:19 | Add sbsdiff options when using show-version-diffs. check-in: adace7586e user: jan tags: jan-sbsdiff | |
| 13:35 | Set explicit background color for sbsdiff table in skins. check-in: f4f5e05571 user: jan tags: jan-sbsdiff | |
| 12:53 | Add initial IPv6 support code check-in: 92c59f1202 user: ashish tags: ashish-ipv6 | |
| 09:49 | minor doc clarification. check-in: 398b53e059 user: stephan tags: json-multitag-test, json | |
| 02:07 | Separate sbsdiff block separator meta-rows a little more from regular rows in built-in skin 4. check-in: 7a47abe17f user: jan tags: jan-sbsdiff | |
| 00:14 | Updated styles/skins. Built-in skin 4 can now wrap lines. check-in: 1c40493cb5 user: jan tags: jan-sbsdiff | |
|
2011-10-15
| ||
| 21:25 | Add sbsdiff link to the /info page. check-in: 286f09508c user: jan tags: jan-sbsdiff | |
| 18:45 | Add button to toggle sbsdiff for /vdiff views. Renamed the button in /fdiff. check-in: d1f63cd823 user: jan tags: jan-sbsdiff | |
| 18:05 | Add button to toggle sbsdiff for /fdiff views. check-in: d0988fb5bb user: jan tags: jan-sbsdiff | |
| 17:18 | Update to the Fossil-v-Git matrix. check-in: a52287876c user: drh tags: trunk | |
| 15:42 | Merge the latest trunk changes into the side-by-side diff branch. check-in: 15de70c21f user: drh tags: jan-sbsdiff | |
| 14:33 | Updated comments. Slightly more centralization of sbsdiff table generation. check-in: c5ac4f800e user: jan tags: jan-sbsdiff | |
| 12:49 | Fix bug which disabled patch file generation. check-in: dc27e13460 user: jan tags: jan-sbsdiff | |
| 12:30 | Fix clang static analyzer warnings about deref null pointers and undefined values. There are still lots of dead code warnings, but those are harmless. check-in: 630691456b user: drh tags: trunk | |
| 12:22 | Make sure sbsdiff lines are escaped properly. Started adding side-by-side diff support to fdiff. check-in: ff41d4be8a user: jan tags: jan-sbsdiff | |
| 12:16 | Mark functions that never return (ex: fossil_panic()) as such so that static analyzers can do a better job of pruning paths. check-in: 86d2b4efc8 user: drh tags: trunk | |
| 10:40 | Update the built-in SQLite and the SQL command-line shell to the latest code from the SQLite trunk: version 3.7.9 alpha. This fixes some warnings that started appearing after upgrading to gcc 4.6.1. check-in: 3dd0c15583 user: drh tags: trunk | |
| 10:17 | A very simple fix to the annotate memory leak problem. check-in: 9929bab702 user: drh tags: trunk | |
| 00:26 | Code documentation. check-in: 9b7955b5a4 user: jan tags: jan-sbsdiff | |
| 00:10 | The link <strong>p</strong> in the annotate page was totally bad implemented. As I don't see an easy way to implement it, I take it out. There is only <strong>d</strong> left. check-in: 4bae75a08e user: viriketo tags: annotate_links | |
| 00:06 | The plink is not needed at all in the annotate query check-in: 40cbb69c4f user: viriketo tags: annotate_links | |
|
2011-10-14
| ||
| 23:38 | Starting a branch to add more information into the annotate web page. I added a link <strong>p</strong> to the annotation of the version previous to that line change, and a link <strong>d</strong> to the checkin file diff that introduced the given line. I'd want also the links to bring the users to the concerning line of annotate; we should... check-in: 9e3b6ad052 user: viriketo tags: annotate_links | |
| 22:21 | Added two (local) options to sbsdiff (allow expansion and max columns limit), though they can't be changed in runtime yet. Added some missing error handling. check-in: 47cdbbf2fb user: jan tags: jan-sbsdiff | |
| 22:20 | Making 'fossil merge' also report a conflict for extra files overwritten. Like [60c6197c8a], but for the merge operation. Related to ticket [953031915f]. check-in: bb49278a8a user: viriketo tags: declined | |
| 22:17 | Minor diff view change for the black'n'white skin. check-in: 07714601de user: jan tags: jan-sbsdiff | |
| 22:16 | Reporting the number of merge conflicts at the end of merge, as with update. I think the information is of value to the user. I think that had to be introduced in [070ce24d838a6], from its comment, but that change made the opposite of commented. check-in: e1a7a1d9e2 user: viriketo tags: declined | |
| 20:25 | Making fossil warn about a conflict, if an update operation overwrites an extra file. This should close ticket [953031915f]. check-in: 60c6197c8a user: viriketo tags: declined | |
| 19:53 | Same trouble as [bf480a29a6] but for the merge5 test. check-in: 129605856a user: viriketo tags: declined | |
| 19:46 | Fixing the merge5 test, for it to run when out of a checkout. The same kind of fix as [0a7ab3ccb0]. check-in: e46be99ff4 user: viriketo tags: declined | |
| 19:01 | Fixing the merge_renames test; fossil was using $HOME somehow. I noticed it running the test in an environment without a valid $HOME path (the nix package building). fossil refused to run the 'fossil new' inside the merge_renames test. check-in: bf480a29a6 user: viriketo tags: declined | |
| 16:12 | Merging the extended_ci_names branch, that introduces more ways of naming checkins in diff and update operations. check-in: 107e605f41 user: viriketo tags: declined | |
| 16:11 | Merging the annotate_noleak changes, about removing an important memory leak in the annotate operation. It also fixes some blob behaviour in blob.c and content.c. <b>Update:</b> Removed from trunk. Replaced by the must simpler fix at [9929bab702f99839ee] check-in: 409f370a6d user: viriketo tags: declined | |
| 15:52 | working on json wiki command Closed-Leaf check-in: 4f9f0e9f03 user: zach tags: json-multitag-test, json | |
| 15:41 | Updated the built-in skins for sbsdiff. check-in: bb76b57aa2 user: jan tags: jan-sbsdiff | |
| 00:06 | Add /*sort*/ marks to some SQL queries to disable warnings about sorting without an index. check-in: fff43ebb5b user: drh tags: trunk | |
|
2011-10-13
| ||
| 23:48 | Started adding support for showing side-by-side diffs in the web ui. check-in: a6a8e89413 user: jan tags: jan-sbsdiff | |
| 23:47 | Provide an option to enable the /test_env URL for all users. Optionally display cookie values in the /test_env URL. check-in: 4d32db8ef8 user: drh tags: trunk | |
| 17:10 | Added downloadPath property to files in timeline view, leading to /raw/FILENAME?name=uuid. check-in: ea5e58155d user: stephan tags: json-multitag-test, json | |
| 16:45 | merged in trunk [862d7dbf59f55e2d]. check-in: 3025ecb2ae user: stephan tags: json-multitag-test, json | |
| 16:39 | Update the SQLite command-line shell to the latest from the SQLite source tree. check-in: 862d7dbf59 user: drh tags: trunk | |
| 12:56 | Fixing the usage() calls in stash.c, as it duplicated the word stash; it was giving messags like "Usage: fossil stash stash pop". check-in: 399c0ddae4 user: viriketo tags: trunk | |
| 02:47 | Create new branch named "ashish-ipv6" check-in: 10e1071461 user: ashish tags: ashish-ipv6 | |
|
2011-10-12
| ||
| 17:41 | Adding a more options at naming commits for diff and update commands. I wrote a new function that allows more kind of specifications for a checkin uuid: checkout, parent and pivot:id1:id2. If there was a way to discover the 'parent branch' of the current checkout, there could be a 'parentbranch' naming too. I think this makes the life ea... Closed-Leaf check-in: 9fe787ec03 user: viriketo tags: extended_ci_names | |
| 16:20 | Fixing the merge_renames test, so it accepts being called out of a repository. The message given by fossil when trying 'info' out of a repository had changed. check-in: 0a7ab3ccb0 user: viriketo tags: trunk | |
| 15:21 | Making the http ssl code output the verification error, in case of verification failure. I also make the user question state the host the certificate is related to. check-in: 79c31f9b73 user: viriketo tags: trunk | |
|
2011-10-11
| ||
| 21:04 | Added another AJAX impl which uses a local fossil binary for the back-end while using the FossilAjaj front-end interface. check-in: 155516632c user: stephan tags: json-multitag-test, json | |
| 20:46 | Update the build-in SQLite and the SQLite-shell to the latest code from the trunk of the SQLite source tree - version 3.7.9 alpha. check-in: 55fb082ae5 user: drh tags: trunk | |
| 19:57 | JS code test cleanups to account for the fact that the ajax-thrown assertions/exceptions get swallowed by the ajax layer. check-in: 9e98a9bd9e user: stephan tags: json-multitag-test, json | |
| 14:28 | merged in trunk [496edc2176]. check-in: ec76ee16fd user: stephan tags: json-multitag-test, json | |
|
2011-10-10
| ||
| 20:02 | Fix some compiler warnings. check-in: 496edc2176 user: drh tags: trunk | |
| 19:33 | Fix a C++ comment in sha1.c. Fix a help text typo. check-in: a6f3dd1ce7 user: drh tags: trunk | |
| 13:19 | Update the "scrub" command to drop the accesslog table when the --verily option is used. check-in: 16a6dfefd1 user: drh tags: trunk | |
| 13:05 | Additional formatting fixes: shorten lines to 80 characters or less. check-in: c1d78e0556 user: drh tags: trunk | |
| 12:59 | Adjust SSL trust fix to skip prompting for certificates that already have an explicitly negative trust setting. check-in: 636804745b user: mistachkin tags: trunk | |
| 12:55 | Fix indentation and formatting in http_ssl.c. Limit line length to 80 characters per the coding style spec. check-in: 5eb8f0157a user: drh tags: trunk | |
| 11:38 | Merge the ssl-trust-fix branch into trunk. check-in: 0554dbd04a user: drh tags: trunk | |
| 08:56 | Fix constant prompting on already saved SSL certificates that are not trusted for some reason (e.g. host mismatch, etc). Closed-Leaf check-in: 25169506b7 user: mistachkin tags: ssl-trust-fix | |
|
2011-10-09
| ||
| 12:58 | factored out an extraneous parameter to json_gc_add(). check-in: 7a83a5cbd0 user: stephan tags: json-multitag-test, json | |
| 11:57 | fixed: json_cap_value() now returns NULL (instead of prematurely/fataly querying the db) if g.userUid has not been set (i.e. CLI mode). check-in: 96920e7c04 user: stephan tags: json-multitag-test, json | |
| 11:45 | Added global debugFossilG/--json-debug-g boolean to add the "g" output to any response (including (especially) error responses) to simplify debuggering. Requires a|s privileges. check-in: f047bbddb4 user: stephan tags: json-multitag-test, json | |
| 11:23 | Added /json/g, which dumps the "g" object to JSON (debuggering tool). check-in: 65e0c94c8a user: stephan tags: json-multitag-test, json | |
| 11:09 | minor cleanups to how FossilAjaj stores its auth info. check-in: fb55f2534d user: stephan tags: json-multitag-test, json | |
| 11:04 | minor pedantic mtime "as int" casts. check-in: 770f9da54a user: stephan tags: json-multitag-test, json | |
|
2011-10-08
| ||
| 15:13 | s/rn/report/, for API consistency. check-in: a52296e034 user: stephan tags: json-multitag-test, json | |
| 15:13 | accommodated API change. check-in: 69ef388f02 user: stephan tags: json-multitag-test, json | |
| 14:36 | Fixed Ctrl-D handling in rhino-based shell. check-in: 15c6caf29e user: stephan tags: json-multitag-test, json | |
| 14:16 | added /json/report/get. check-in: e21b391dcd user: stephan tags: json-multitag-test, json | |
| 14:15 | getenv() as the fallback strategy for json_getenv() now only enabled in CLI mode. check-in: 8c4a23aee4 user: stephan tags: json-multitag-test, json | |
| 12:57 | "Dispatching" json subcommands now produce more useful error messages when no subcommand is specified. check-in: a8af09fc16 user: stephan tags: json-multitag-test, json | |
| 12:13 | Permissions fixes in json/report. Added json/timeline/branch, analog to /brtimeline. check-in: 6841b11647 user: stephan tags: json-multitag-test, json | |
| 11:55 | fixed a cson mis-use which could cause a crash in some cases due to client-side misachtung of the reference count. check-in: d8fd611fab user: stephan tags: json-multitag-test, json-add-tag-test, json | |
| 10:18 | Added /json/report/run. Fixed an SQL syntax bug in report/list (only affected non-priveleged accounts). check-in: 8907163ea4 user: stephan tags: json-multitag-test, json | |
| 08:46 | Added /json/report/list and /json/query. check-in: 20978b27a2 user: stephan tags: json-multitag-test, json | |
| 05:57 | added diff demo to ajax page. check-in: 42f569238e user: stephan tags: json-multitag-test, json | |
| 05:16 | minor hack to allow libcson to use fossil_malloc/free/realloc() so that we will hook into its die-on-OOM behaviour (=reduced error checking). check-in: 56ecc0c677 user: stephan tags: json-multitag-test, json | |
| 05:16 | doc additions for /json/diff. check-in: a37df1d939 user: stephan tags: json-multitag-test, json | |
|
2011-10-07
| ||
| 19:55 | Documentation update. check-in: c0b6c28d29 user: drh tags: trunk | |
| 18:38 | Update the built-in SQLite to the latest 3.7.9 alpha. check-in: f678a7b948 user: drh tags: trunk | |
| 14:19 | fixed a missing db_finalize() in an error-handling case. check-in: 7906bab836 user: stephan tags: json-multitag-test, json | |
| 13:51 | First draft, no-frills /json/diff added. check-in: 54e1f1a53d user: stephan tags: json-multitag-test, json-add-tag-test, json | |
| 13:32 | minor tweaks to the prototype shell. check-in: d30b20a56c user: stephan tags: json-multitag-test, json | |
| 12:02 | Added a very, very prototypic/pre-alphalpha demo fossil shell. Requires rhino JS. check-in: 7ab5d85487 user: stephan tags: json-multitag-test, json | |
| 10:59 | Pulled in another round of memory optimizations in cson/sqlite3. Added a few minor error reporting cleanups in JSON mode. check-in: 09e5fcd795 user: stephan tags: json-multitag-test, json | |
| 10:20 | Another round of cson memory optimizations. Object keys can now be cson_strings, which can be refcounted/shared. check-in: 3d252e8754 user: stephan tags: json-multitag-test, json | |
| 06:54 | Minor internal tweaks. Pulled in lastest cson_amalgamation for the new convenience functions. check-in: c75759d8d0 user: stephan tags: json-multitag-test, json | |
| 03:52 | /json/wiki/get: renamed request.payload.page to "name" for consistency. Added a TODO to /json/tag/list. check-in: 34056ea238 user: stephan tags: json-multitag-test, json | |
| 03:51 | fixed how many path parts are generated for the "command" response property. check-in: 3d6cc1df78 user: stephan tags: json-multitag-test, json | |
| 03:24 | Removed an unnecessary strcmp(). Removed some debuggering code which corrupted the output of /json/tag/find in raw mode. check-in: faaf7387d9 user: stephan tags: json-multitag-test, json-add-tag-test, json | |
| 03:09 | fixed whoami requests in demo apps to notice when the user has been logged out (and logs him in with the new auth token). check-in: ccc90734e0 user: stephan tags: json-multitag-test, json | |
| 02:58 | Fixed a minor denkfehler in the "bump <1ms runtime to 1ms" logic. Changed g.json.gc to an array (lower memory and better performance for what we use it for). check-in: 19276984bd user: stephan tags: json-multitag-test, json | |
| 02:16 | merged in trunk [4b0f813b8c]. check-in: 39d9f83781 user: stephan tags: json-multitag-test, json | |
| 02:14 | pulled in tonight's libcson changes, which halve the number of allocations needed for creating new JSON values. check-in: 130cc65cb5 user: stephan tags: json-multitag-test, json | |
|
2011-10-06
| ||
| 23:29 | fixed a bug in the handling of /json/tag/find --raw format (caused by moving code w/o paying attention). Added a warning when the given tag is not found. check-in: be41009046 user: stephan tags: json-multitag-test, json | |
| 23:12 | Added /json/tag/find. check-in: 9d27ade314 user: stephan tags: json-multitag-test, json | |
| 21:25 | Added /json/tag/cancel. check-in: 0b685fcc0f user: stephan tags: json-multitag-test, json | |
| 21:14 | Added /json/tag/add. check-in: bd9d7ce2f6 user: stephan tags: json-multitag-test, json | |
| 20:10 | Added /json/tag/list and infrastructure for pending (add, cancel, find) ops. check-in: 1088cf2107 user: stephan tags: json-multitag-test, json-add-tag-test, json | |
| 17:12 | Added /json/resultCodes. check-in: 71a1d4483f user: stephan tags: json-multitag-test, json | |
| 15:51 | minor doc fix before switching PCs for the weekend. check-in: a403544f2a user: stephan tags: json-multitag-test, json | |
| 15:47 | fixed comparison logic which broken dumbing-down of error codes (caused them to never be dumbed-down). check-in: f93e059f6c user: stephan tags: json-multitag-test, json | |
|
2011-10-05
| ||
| 16:58 | fixed [fc825dcf52] check-in: 4b0f813b8c user: ron tags: trunk | |
| 12:04 | experimentally added "command" property to all responses to simplify response handler dispatching in some experimental Java client code. check-in: 8f12ac9896 user: stephan tags: json-multitag-test, json | |
| 12:03 | minor cosmetic cleanups. check-in: 2dac80dd9f user: stephan tags: json-multitag-test, json | |
| 08:00 | Added (--args -) to read from stdin. Theoretically now also strips windows newlines, but i do not have a broken editor to test that with ;). check-in: 080d27a6b2 user: stephan tags: trunk | |
| 07:01 | fixed a url-updating problem caused by recent refactoring. check-in: 4b70853483 user: stephan tags: json-multitag-test, json | |
| 06:42 | A few internal cosmetic cleanups, added json_get_wiki_page_by_rid(). check-in: afb3c89fe6 user: stephan tags: json-multitag-test, json | |
| 05:41 | Tweaks to the JS API, mainly to simplify a common 2-callbacks-per-event use case. Added missing json2.js. check-in: cf10d9d9b9 user: stephan tags: json-multitag-test, json | |
| 03:32 | const-correctness tweak in db_text(). check-in: 30431ff903 user: stephan tags: json-multitag-test, json | |
| 02:41 | Doh... accidentally changed resultCodes from strings to ints during refactoring. check-in: 36384da861 user: stephan tags: json-multitag-test, json | |
| 02:31 | fixed a mis-sorting in the json timeline, caused by refactoring in a recent commit. check-in: 824ed5fb65 user: stephan tags: json-multitag-test, json | |
| 02:26 | Consolidated more of the CLI/HTTP/CLI-with-POST arg handling disparities into the json_find_option() family of functions. check-in: 5b4a3f12dc user: stephan tags: json-multitag-test, json | |
| 02:03 | Change a #ifdef so that builds on MSVC will work on repos larger than 2GB. check-in: 6092935ff2 user: drh tags: trunk | |
| 00:53 | lots of minor cleanups in JSON error handling (mostly cosmetic). Added some new FOSSIL-xxxx codes. check-in: 2e41514fb7 user: stephan tags: json-multitag-test, json | |
|
2011-10-04
| ||
| 23:40 | merged and conflict-resolved trunk [c0274f996266aef]. check-in: 4fbf77d4f3 user: stephan tags: json-multitag-test, json | |
| 23:07 | Merge the --args FILENAME patch into trunk. check-in: c0274f9962 user: drh tags: trunk | |
| 23:03 | Simplify the implementation of the --args FILENAME patch, as requested by the FIXME comment. check-in: eb8d989dae user: drh tags: stephan-hack | |
| 21:41 | Initial --args FILENAME patch. Impl seems over-complex to me, but works as described in the list thread. check-in: 8a6568c3a3 user: stephan tags: stephan-hack | |
| 21:28 | merging with trunk [d4a341b49dd1b701] before applying --args FILENAME patch, to simplify downstream merge. check-in: 312d522fe4 user: stephan tags: stephan-hack | |
| 20:02 | Started adding /json/artifact tickets support, but grokking tkt.c is more than i am up for tonight. Changed how permissions checks are done under /json/artifact (previous approach is just plain silly without C++ templates) check-in: cee8bc6727 user: stephan tags: json-multitag-test, json | |
| 19:17 | fixed a c99ism. check-in: cd67b945d7 user: stephan tags: json-multitag-test, json | |
| 15:20 | Add HMAC-SHA1 implementation. Leaf check-in: dcee34b25f user: dmitry tags: multisession | |
| 15:15 | Merge protection against timing attacks into trunk. check-in: d4a341b49d user: dmitry tags: trunk | |
| 14:38 | Merge trunk into dmitry-security branch. Closed-Leaf check-in: f4eb0f5afc user: dmitry tags: dmitry-security | |
| 14:34 | Rename constant_time_eq to constant_time_cmp to better indicate that these functions return 0 when values are equal, like memcmp, strcmp, etc., not truth, to avoid possible mistakes. check-in: d244c484e7 user: dmitry tags: dmitry-security | |
| 14:28 | Revert the previous change after thinking more about it. Login cards in the sync protocol have the following format: login userid nonce signature Nonce is SHA-1 of the message that follows this line, signature is SHA-1 of the concatenation of the nonce and user's shared secret. The successful timing attack can reveal only signature for this p... check-in: 13a9a1244c user: dmitry tags: dmitry-security | |
| 09:06 | /json/wiki/get argument handling cleanup so that it works with the newer command=... approach. check-in: 96fe10ab54 user: stephan tags: json-multitag-test, json | |
|
2011-10-03
| ||
| 16:34 | Disabling Cache-control: no-store, as it made firefox forget about form field contents on back/forward in history. Resolution achieved by a minimal consensus at [http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg06314.html|this thread on the mailing list]. check-in: 3fac77d7b0 user: viriketo tags: trunk | |
|
2011-10-02
| ||
| 23:59 | Minor error handling cleanups (nicer resultText strings). Removed a call to sqlite3_config() from the JSON bootstrap code which _seems_ to be the cause of an SQLITE_MISUSE warning. check-in: af72cc7599 user: stephan tags: json-multitag-test, json | |
| 23:43 | Accommodated recent API changes. check-in: 901a0133e3 user: stephan tags: json-multitag-test, json | |
| 23:21 | Fixed an incorrect setting of the content type in one error-handling case. check-in: 35e4e9188b user: stephan tags: json-multitag-test, json | |
| 22:58 | Added /json/branch/create. Finally found g.zErrMsg, and started using it in conjunction with json error reporting. check-in: 8eaf58ee51 user: stephan tags: json-multitag-test, json | |
| 21:01 | moved /json/branch code into its own file. check-in: 1a4c874e43 user: stephan tags: json-multitag-test, json | |
| 20:15 | renamed json timeline "showFiles" option to "files" because we do not really "show" anything." check-in: bc7af5192a user: stephan tags: json-multitag-test, json | |
| 19:57 | Added tag/branch option to /json/timeline/ci, analog to HTML mode t/r options. check-in: 762128512a user: stephan tags: json-multitag-test, json | |
| 19:56 | Added empty_Stmt, analog to empty_Blob, to work around an assertion triggered during some error handling code. check-in: 4db6d7c5ce user: stephan tags: json-multitag-test, json | |
| 18:28 | Merged in trunk [ae64088627df]. Added /json/timeline/checkin as alias for /json/timeline/commit (checkin is historically more correct/consistent). check-in: a9070a4944 user: stephan tags: json-multitag-test, json | |
| 18:18 | s/userName/name/, for consistency. check-in: 94689bbf29 user: stephan tags: json-multitag-test, json | |
| 13:30 | minor hack to name_search() to make it stop searching after it determines there is an ambiguity. check-in: ae64088627 user: stephan tags: trunk | |
| 12:41 | json mode now accepts command=string request parameter if path length is 1 (no subcommand was specified). check-in: 225fd3dad3 user: stephan tags: json-multitag-test, json | |
| 12:31 | initial code for reading POST data from a file/stdin in CLI mode. check-in: 8145cdbf3b user: stephan tags: json-multitag-test, json | |
| 11:43 | minor cleanups and doc additions to the json/artifact handling. check-in: 6d0667831a user: stephan tags: json-multitag-test, json | |
| 11:16 | Reorganized json_page_artifact(), fixed a C99ism, fixed permissions check. check-in: c926170034 user: stephan tags: json-multitag-test, json | |
| 11:15 | removed an implemented TODO reminder. check-in: f270f0b5c1 user: stephan tags: json-multitag-test, json | |
| 10:51 | Added missing license header to new files. Updated (c) date to 2011. check-in: 8a665715c2 user: stephan tags: json-multitag-test, json | |
|
2011-10-01
| ||
| 20:50 | Variable used for return value of send(2) must be signed, otherwise error conditions just result in infinite loops. check-in: 5e3519873f user: joerg tags: trunk | |
| 07:58 | s/commit/checkin/, for consistency. s/artifactType/type/. check-in: 44e032aa8a user: stephan tags: json-multitag-test, json | |
| 07:47 | more consolidation of timeline/artifact code. check-in: cc444a02cd user: stephan tags: json-multitag-test, json | |
| 07:04 | more timeline/artifact refactoring. check-in: 22fc0ab81b user: stephan tags: json-multitag-test, json | |
| 06:45 | Started refactoring some of the timeline/artifact components into reusable parts. Comment edited only to test json responses which differentiate between pristine and edited commits. check-in: b1f9257213 user: stephan tags: json-multitag-test, json | |
| 05:58 | Started adding artifact-type-dependent result data to /json/artifact output. check-in: a893fff3ca user: stephan tags: json-multitag-test, json | |
| 05:58 | minor cleanups. check-in: 6ee6486e02 user: stephan tags: json | |
| 05:57 | Added json_new_int() convenience function. check-in: ccd66b9b3c user: stephan tags: json | |
| 05:09 | Added initial /json/artifact code, but it currently can only report the type of a given artifact. check-in: 6372d95165 user: stephan tags: json | |
| 05:05 | minor db_column usage cleanup. check-in: cf8b20ea1f user: stephan tags: json | |
| 05:05 | added test for /json/wiki/get. check-in: 2b7edce38d user: stephan tags: json | |
| 05:04 | Changed some of the exception-throwing code to propagate instead of ingore. check-in: e8fe84bc2c user: stephan tags: json | |
| 04:03 | Cleaned up wiki formatting code a bit. Added wiki uuid to /json/wiki/get response payload. check-in: 3f512ca41b user: stephan tags: json | |
| 03:37 | Added format=raw|html to /json/wiki/get. check-in: c990e7ec25 user: stephan tags: json | |
| 02:19 | minor cleanups in the /json/login payload code. check-in: 3bdae54cae user: stephan tags: json | |
| 02:12 | Changed /json/login output payload structure. check-in: 88ddf2cbce user: stephan tags: json | |
|
2011-09-30
| ||
| 17:00 | minor ajax test code cleanups. check-in: 7eb52b23ae user: stephan tags: json | |
| 16:36 | Added more integration tests. check-in: 10e677c968 user: stephan tags: json | |
| 16:35 | added preliminary support for cookies in the rhino ajax client, but it does not seem to be doing anything. check-in: ef9d839311 user: stephan tags: json | |
| 15:50 | Fixed POST sending for rhino-based ajax impl (was sending Content-Type form-urlencoded). Login over rhino works :). check-in: a36d5c0ed8 user: stephan tags: json | |
| 15:48 | minor fix for fossil's internal handling of name=xyz parameter. check-in: 9f2535f1e0 user: stephan tags: json | |
| 14:11 | Some touch-ups in the JS code. Started adding Rhino-based tests for integration/unit-testing CGI/server modes. check-in: 42a07be4c5 user: stephan tags: json | |
| 10:51 | It seems like blob_constant_time_eq() is unnecessary for sync protocol signatures; removed. check-in: 48bcfbd47b user: dmitry tags: dmitry-security | |
| 09:41 | Catch zero length early in blob_constant_time_eq(). check-in: e3d022dffa user: dmitry tags: dmitry-security | |
| 09:01 | Merged in trunk [9bfa186be09f]. Fixed an inexplicable duplicate call to db_find_and_open_repository() which has since disappeared from the trunk. check-in: 8185bddf2e user: stephan tags: json | |
|
2011-09-29
| ||
| 22:27 | json ajax: fixed POST/GET message sending determination (broken by a previous change this evening). check-in: 37963253b9 user: stephan tags: json | |
| 21:57 | Removed the json warnings bitset crap. Still not sure i like the warnings mechanism at all. check-in: 9fe06e2fda user: stephan tags: json | |
| 21:55 | Corrected a JSON-mode result code when db rebuild is required. check-in: 44644d43dc user: stephan tags: json | |
| 21:06 | Fix to the previous fix: install function to the correct database. check-in: 3782276da6 user: dmitry tags: dmitry-security | |
| 21:04 | Fix login groups. check-in: 6f29649ef3 user: dmitry tags: dmitry-security | |
| 17:26 | Fix comment. check-in: a0fa120b74 user: dmitry tags: dmitry-security | |
| 17:21 | Protect against timing attacks by using constant-time comparison function to compare passwords and cookies. check-in: 7f110475ec user: dmitry tags: dmitry-security | |
| 17:03 | minor jsonp tweaks. Added some test code for it in the demo app, but there is still some jsonp disconnect between the two AJAJ layers, and i may need to consolidate them to work around it. check-in: f48b687a9a user: stephan tags: json | |
| 15:23 | Added /json/rebuild. Is likely to fail w/ an AJAX timeout for large repos, which will probably cause the rebuild to roll back on the next open :/. Takes 21sec on my 32-bit netbook to rebuild the fossil repo. check-in: 071de8f1bd user: stephan tags: json | |
| 14:07 | When creating a manifest, get isExe and isLink bits from filesystem at once instead of doing two stat(2) calls. check-in: 9bfa186be0 user: dmitry tags: trunk | |
| 13:08 | Removed a test/debug #if block which i accidentally left enabled in [73e28dd718]. check-in: 5ddfe3d663 user: stephan tags: json | |
| 11:45 | Change file_size() to file_wd_size() in file_is_the_same(). check-in: 13a771ce18 user: dmitry tags: trunk | |
| 11:05 | Cache "manifest" setting in fossil_reserved_name() instead of reading it from the database on every call. This speeds up adding many files. check-in: a369dc7721 user: dmitry tags: trunk | |
|
2011-09-28
| ||
| 22:41 | moved some db_finalize() calls so that they would also be called in error cases. check-in: 997274e9be user: stephan tags: json | |
| 22:04 | Added createIfNotExists bool option to /json/wiki/save. check-in: 73e28dd718 user: stephan tags: json | |
| 21:36 | JSON CLI mode now accepts --indent|-I N to set JSON indention level (uses cson_output_opt::indentation semantics). Default for CLI mode is 1 (0 for HTTP mode). check-in: 30e4ebaa19 user: stephan tags: json | |
| 12:09 | merged in trunk [3e141b792c]. check-in: 033e2eb1df user: stephan tags: json | |
| 11:35 | Use the check-in time as the timestamp for zlib compression on tarballs, os that every tarball for the same check-in is identical. check-in: 3e141b792c user: drh tags: trunk | |
|
2011-09-27
| ||
| 19:28 | Call file_wd_isdir() in file_mkdir(). check-in: 13120e9620 user: dmitry tags: trunk | |
| 19:15 | Change a few instances of file_isdir() to file_wd_isdir(). check-in: f1329470c0 user: dmitry tags: trunk | |
| 16:34 | Add the --stats option to the rebuild command. check-in: f25e5e53c4 user: drh tags: trunk | |
| 13:22 | Added basic timing info to json ops, but "should probably" move the timer start to the app/server init. check-in: b9ef0fe59b user: stephan tags: json | |
| 06:44 | Allow the Tcl source directory to be used instead of the Tcl install directory if FOSSIL_TCL_SOURCE defined. Also, add and/or modify explanatory comments. check-in: 5df59eba03 user: mistachkin tags: tcl-integration | |
| 05:31 | Makefile fixes to enable Tcl to be statically linked to Fossil. check-in: 6e6e55a12d user: mistachkin tags: tcl-integration | |
| 04:12 | /json/timeline/ticket prevUuid is now only explicitly set for non-new files. Previously it was set to NULL, which was a waste-of-time no-op. check-in: 0ddf92042d user: stephan tags: json | |
| 04:08 | Added ticketUuid to /json/timeline/ticket output. Removed some superfluous Blob uses (where db_prepare() works just as well). check-in: f94ad19472 user: stephan tags: json | |
| 03:55 | Merge latest trunk changes. check-in: 2d2b45bb17 user: mistachkin tags: tcl-integration | |
| 03:28 | Added /json/timeline/ci showFiles to ajax test page. check-in: be700e8433 user: stephan tags: json | |
| 03:25 | Added showFiles=bool/--show-files option to /json/timeline/ci. check-in: 98e24465c2 user: stephan tags: json | |
| 02:09 | Changed /json/stat to use brief mode by default due to relatively high runtime cost, replaced 'brief' param with 'full'. Added json_getenv_bool(). check-in: c1914eaa79 user: stephan tags: json | |
| 01:51 | Added "brief" option to /json/stat, mirroring the change in [d01ca14d08]. check-in: 17f11a0884 user: stephan tags: json | |
| 01:32 | Added /json/user/xyz to ajax demo. /json/user/get/USERNAME now works as an alias for ?name=USERNAME. check-in: 585be130f3 user: stephan tags: json | |
| 01:18 | moved /json/timeline|wiki commands/pages into their own files. check-in: 821830d2fb user: stephan tags: json | |
| 01:01 | Started refactoring specific json command groups into their own files (80kb is getting too big to manage in one file). check-in: 5d2a516f8a user: stephan tags: json | |
| 00:34 | merged in trunk [12272b7ff0]. check-in: a5fd64d344 user: stephan tags: json | |
| 00:34 | added /json/user/get. check-in: 0c7be1fe6c user: stephan tags: json | |
| 00:14 | added /json/user/list. check-in: 59ef1667ac user: stephan tags: json | |
|
2011-09-26
| ||
| 19:30 | made /json/timeline/wiki and /json/wiki/timeline aliases. check-in: 0475e63d44 user: stephan tags: json | |
| 14:43 | Add the test-list-webpage command. check-in: 6a97d77501 user: drh tags: trunk | |
|
2011-09-25
| ||
| 11:14 | Fix double LI tags when listing wiki attachments for users without permissions. check-in: 12272b7ff0 user: dmitry tags: trunk | |
|
2011-09-24
| ||
| 01:39 | Disable SSLv2 in HTTPS client. This version of the protocol is considered insecure and has been deprecated; all modern browsers disable it. check-in: ea1d369d23 user: dmitry tags: trunk | |
|
2011-09-23
| ||
| 13:10 | s/briefText/briefComment/. Fixed a couple memleaks of blob sql. check-in: ecdbce1651 user: stephan tags: json | |
| 12:46 | Added comment to timeline/ticket. Minor additions to AJAX test pages. check-in: de0b860f77 user: stephan tags: json | |
| 12:29 | Implemented /json/timeline/ticket, cleaned up timeline/ci|wiki. check-in: 42900f3029 user: stephan tags: json | |
| 10:52 | Changed fossil_json_f() callback interface. Refactored json command dispatching a bit. Fixed an ordering problem in the json timelines. Pulled in latest cson_amalgamation. check-in: c24b445012 user: stephan tags: json | |
| 01:00 | Corrected /json/wiki/save|create to honor the proper g.perm.WrWiki/NewWiki perm, instead of just WrWiki. check-in: d3759cd40f user: stephan tags: json | |
| 00:39 | Added initial JSONP support, but lacks significant testing. check-in: e72ae99dc2 user: stephan tags: json | |
|
2011-09-22
| ||
| 23:40 | Added --after/--before support to /json/timeline/ci and wiki. check-in: e01d49b252 user: stephan tags: json | |
| 20:07 | Implemented /json/timeline/wiki. Fixed --limit/-n handling of timeline/ci. check-in: 12545465e9 user: stephan tags: json | |
| 19:14 | Implemented /json/wiki/create. check-in: 1df648abfe user: stephan tags: json | |
| 17:56 | Implemented /json/wiki/save. check-in: 2162c86d9e user: stephan tags: json | |
| 17:18 | added src/Makefile so that (ctrl-x m) will DTRT. check-in: ce4f310361 user: stephan tags: json | |
| 17:02 | Added initial prototype of JSON wiki editor (cannot save yet). Minor cleanup in ajax/index.html. check-in: 475c61fd59 user: stephan tags: json | |
| 16:27 | minor cleanups in the /json/wiki/get and AJAJ code. check-in: a9c8a31df5 user: stephan tags: json | |
| 16:21 | Added rudimentary timer to AJAX test page. check-in: 07a2c43c8c user: stephan tags: json | |
| 15:59 | Added /json/wiki/get?page=... check-in: 7dc8e9ac94 user: stephan tags: json | |
| 14:58 | Added /json/whoami. check-in: 7a65dd0e00 user: stephan tags: json | |
|
2011-09-21
| ||
| 21:23 | added a FIXME, removed another. Now it's really bed time. check-in: 8b814778c9 user: stephan tags: json | |
| 21:17 | Added my AJAX test code after accidentally deleting my local copy (thank goodness the test server still had a copy). See the README if you want to set it up locally under apache. check-in: c6c5ad1364 user: stephan tags: json | |
| 20:43 | /json/branch/list now requires g.perm.Read, like /brlist does. Time for bed... check-in: a37c6a87c6 user: stephan tags: json | |
| 20:03 | added current branch name to /json/branch/list payload when in an opened checkout. check-in: 7592fe934b user: stephan tags: json | |
| 19:31 | added POST.payload to json_getenv() list. Re-organized /json/branch/list CLI/HTTP arg handling to behave sanely in CLI mode. Minor typo fix in main.c. check-in: 4a9b51649d user: stephan tags: json | |
| 18:55 | s/branch_prepare_query/branch_prepare_list_query/g check-in: 267739dd20 user: stephan tags: json | |
| 18:53 | changed how /json/branch/list selects whether to look at open/all/closed branches. check-in: 14423f3284 user: stephan tags: json | |
| 18:20 | Refactored prepareBranchStatement() to simplify its usage, get rid of ambiguous arg handling, and allow the caller to specify the priority of the all-vs-closed-vs-opened decision. Made it non-static and renamed to branch_prepare_statement() for re-use in /json/branch/list. check-in: 5a81a5ead6 user: stephan tags: json | |
| 18:10 | Minor timeline output cleanups. Added /json/branch/list. check-in: f266ebdd3f user: stephan tags: json | |
| 17:38 | More work on the warnings infrastructure. json_warn() now (experimentally) disallows (elides) duplicate warning codes to simplify downstream loops. Still undecided on that behaviour, though. check-in: 576425e862 user: stephan tags: json | |
| 16:31 | started adding infrastructure to report non-fatal warnings. check-in: ad50fe9584 user: stephan tags: json | |
| 15:22 | timeline json refactoring, fixed ordering, split tags into an Array. check-in: d6cbe37b6b user: stephan tags: json | |
| 14:42 | refactored the prototype timeline code, split off completely from www version (different requirements). check-in: 1ecf337404 user: stephan tags: json | |
|
2011-09-20
| ||
| 22:55 | added a couple FIXME notes before bed. check-in: e785784538 user: stephan tags: json | |
| 22:42 | Started adding /json/timeline support, but this is gonna be a doozie. Breaking it down into separate calls for ci/wiki/ticket, e.g. /json/timeline/ci because the structures will be different for each. check-in: eff3f7d929 user: stephan tags: json | |
| 16:58 | fossil_warning() is now a no-op in JSON mode, to avoid corrupting the output. check-in: 6ce6b5e63f user: stephan tags: json | |
| 16:48 | merged trunk [1f498a6ef2]. check-in: c2b1bc686d user: stephan tags: json | |
| 16:45 | more minor internal cleanups. s/g.isCGI/g.isHTTP/ to avoid confusion later on. check-in: 9adc95c476 user: stephan tags: json | |
| 16:27 | minor internal cleanups and doc additions. check-in: 2f3e438507 user: stephan tags: json | |
| 16:00 | CLI mode now works properly when called using an abbreviated form of "json", e.g. fossil js wiki list. Fixed an incorrect error code in /json/wiki. check-in: 76d0fa2bb0 user: stephan tags: json | |
| 15:48 | Refactored page/command callback to take on argument to simplify certain dispatching ops. json_getenv() now falls back to getenv() if neither the POST data nor cgi_parameter() contains the requested value, but this is basically a workaround for my current inability to add --opt support in CLI mode (due to how HTTP/CLI command handling is consolidat... check-in: 206908faee user: stephan tags: json | |
|
2011-09-19
| ||
| 20:16 | Remove obsolete files check-in: 1f498a6ef2 user: drh tags: trunk | |
| 19:13 | Update the built-in SQLite to the 3.7.8 release. check-in: 8d4c564277 user: drh tags: trunk | |
| 19:03 | Moved a db_finalize() which would not have been called in a couple of error cases. check-in: afc1cec6a3 user: stephan tags: json | |
| 18:49 | fixed a double-free() which could happen in one error case. check-in: 65e946c714 user: stephan tags: json | |
| 18:48 | Implemented /json/wiki/list (first draft, may change). Pulled in latest cson_sqlite3 additions to simplify the impl. check-in: 5cc88946a7 user: stephan tags: json | |
| 17:11 | minor cleanups in prep for the "larger" JSON APIs. check-in: 87e20659c6 user: stephan tags: json | |
|
2011-09-18
| ||
| 19:16 | terribly minor internal cleanups. check-in: 507a458277 user: stephan tags: json | |
| 19:11 | One compile fix and MSVC build fix, from Jeff Slutter. check-in: 5f3a98ae83 user: stephan tags: json | |
| 10:40 | Removed some no-longer valid comments after confirming that JSON mode works without cookies. Dumbed-down the various login errors by default (again). check-in: 52229655df user: stephan tags: json | |
| 10:25 | Added userName to /json/stat output for the nobody user (it was previously not set in that case). Renamed captcha to password in /json/anonymousPassword. Added NYI (not yet implemented) placeholders for several planned request types. check-in: 13cc3b823f user: stephan tags: json | |
| 08:11 | Implemented anonymous user login over JSON. Requires 2 requests (captcha-fetch and then login). check-in: cebf9919f8 user: stephan tags: json | |
| 05:51 | merged trunk [b54b8e751a]. check-in: 76c4ae5e5e user: stephan tags: json | |
| 05:45 | More cleanups to the cson_cgi removal refactoring. Added common "indent" parameter to control indentation of JSON (uses cson_output_opt.indentation semantics). check-in: b3653265d1 user: stephan tags: json | |
| 04:31 | Factored out cson_cgi bits - now using fossil's CGI bits. Removed cson_cgi from cson_amalgamation (cuts its size considerably). Seems to still work, and this removes some discrepancies in how CGI/server modes are handled. check-in: 4cf9681440 user: stephan tags: json | |
|
2011-09-17
| ||
| 23:14 | Doc changes only check-in: 5a9e567966 user: stephan tags: json | |
| 20:25 | added a missing assert() (Thanks, Joe M.) check-in: a67c6744e5 user: stephan tags: json | |
| 17:35 | Update the built-in SQLite amalgamation to the latest 3.7.8 beta. check-in: b54b8e751a user: drh tags: trunk | |
| 16:01 | More cleaning up of error lower-level handling to output JSON instead of HTML in a few more cases. check-in: 9b842564f7 user: stephan tags: json | |
| 14:24 | logout now fails if the auth token is not available to it (as a sanity check and potentially stop someone from logging out someone else). check-in: affdf56c3f user: stephan tags: json | |
| 01:25 | dropped back to a simpler timestamp generation mechanism. Thanks to Ge Weijers for the input. check-in: 147f4bfb62 user: stephan tags: json | |
|
2011-09-16
| ||
| 23:29 | Added some code for dumbing-down only the different login errors (missing name, missing pw, or no match found). Defaults to dumbed-down mode. check-in: 388c9888af user: stephan tags: json | |
| 23:06 | worked around a weird cgi_parameter() bug. We are now not processing the name/password params with the precedence i would like, but it works now in server/cgi modes with GET and POST. check-in: b0885e864c user: stephan tags: json | |
| 21:39 | restructured /json/cap output. check-in: 7e3902d14f user: stephan tags: json | |
| 19:48 | Update the built-in SQLite amalgamation to the latest 3.7.8 beta. check-in: 4db5bd1111 user: drh tags: trunk | |
| 19:27 | implemented /json/logout. check-in: e94605b54f user: stephan tags: json | |
| 18:57 | Merged trunk [693ab93b7d] to quiet down -Wall. Removed a trailing comma from an enum (-Wall mode). check-in: 98cdd410df user: stephan tags: json | |
| 18:55 | style conformance touch-ups. check-in: 45cd04f8c1 user: stephan tags: json | |
| 18:53 | replaced two C++-style comments. check-in: 693ab93b7d user: stephan tags: trunk | |
| 18:39 | Refactored the special-case CLI-mode arg/path handling in the CGI/server-mode mechanism. Fixed: server-mode response timestamp was always the time the server process started. check-in: 0bb823032f user: stephan tags: json | |
| 18:29 | more cleanups in the json arg/path handling. check-in: 35b9edba83 user: stephan tags: json | |
| 17:53 | minor cleanups to the json "command path" handling. check-in: 2dcc2397b5 user: stephan tags: json | |
| 17:26 | Consolidated server/cgi/cli path/arg handling (will break when add --options to CLI mode). check-in: c5fbcced80 user: stephan tags: json | |
| 16:38 | fixed an inconsistency in the CLI/CGI args/path handling. Non-CGI server mode is still broken b/c we do not yet have the PATH_INFO (or equivalent) data. check-in: 73591cc746 user: stephan tags: json | |
| 13:39 | more cson portability fixes, thanks to Robert Engelhardt and Joe Mistachkin. check-in: afd36e987c user: stephan tags: json | |
| 13:34 | s/unlink/remove/ for Windows build (thanks again to Robert Engelhardt). check-in: ea8d28acf3 user: stephan tags: json | |
| 11:48 | compile fix for mingw (thanks to Robert Engelhardt). check-in: 58d4156446 user: stephan tags: json | |
| 11:19 | minor typo and wiki formatting fix. Added another external link. check-in: 9f5c40cbe7 user: stephan tags: trunk | |
|
2011-09-15
| ||
| 21:39 | test_env command now requires g.perm.Admin or g.perm.Setup. Resolves ticket [2316d926e376aa]. check-in: 2d71977e98 user: stephan tags: trunk | |
| 12:03 | initial mass-change merge of main repo with my fork. check-in: 5b44a419cd user: stephan tags: json | |
| 11:55 | merged in with trunk for clean state before i pull in my fork. check-in: 716bb29257 user: stephan tags: json | |
| 00:54 | Further progress towards jerusalem on yet another holy docco crusade! Checkin #3/n check-in: 17f21f2482 user: martin.weber tags: msw-docco | |
|
2011-09-14
| ||
| 18:08 | Merge the refactored permission flags into trunk. check-in: b344d3c0cd user: drh tags: trunk | |
| 17:49 | Removed local-only file from makemake.tcl. Doh. check-in: 00fe260682 user: stephan tags: stephan-hack | |
| 17:45 | Refactored g.okXXX perms flags to g.perm.XXX. check-in: 34b4dec0bc user: stephan tags: stephan-hack | |