- 23 Apr, 2001 2 commits
-
-
Martijn Pieters authored
- Update the CHANGES.txt file.
-
Chris McDonough authored
-
- 21 Apr, 2001 3 commits
-
-
Chris McDonough authored
-
Andreas Jung authored
-
Chris McDonough authored
Usage: requestprofiler.py filename [--sort=spec] [--top=n] [--verbose] [--help] Provides a profile of the detailed (-M) Zope request log. Each line in the profile indicates information about a Zope method (URL) collected via the detailed request log (the -M log). 'filename' is the path to the '-M' log that contains detailed request data. If a 'sort' value is specified, sort the profile info by the spec. The sort spec may be any of 'hits', 'hangs', 'max', 'min', 'mean', 'median', or 'total'. The default is 'total'. The sort order is decending unless indicated. 'hits' -- the number of hits against the method 'hangs' -- the number of unfinished requests to the method 'max' -- the maximum time in secs taken by a request to this method 'min' -- the minimum time in secs taken by a request to this method 'mean' -- the mean time in secs taken by a request to this method 'median' -- the median time in secs taken by a request to this method 'total' -- the total time in secs across all requests to this method 'url' -- the URL/method name (ascending) If the 'top' argument is specified, only report on the top 'n' requests in the log (as per the sort). The default is 10. If the 'verbose' argument is specified, do not trim url to fit into 80 cols."""
-
- 20 Apr, 2001 4 commits
-
-
Barry Warsaw authored
table; use a safer way of pulling out the lrevid. pack(): The previous logic was broken, now we first gather up all the oids of the objects affected by packable transactions, then we cruise through the metadata records of each of those in a separate loop. Watch out for the call to c.set_range() on the txnoids table to raise a DBNotFoundError. This just means we're trying to access a time stamp past the last one in this table, so just use c.last() if that happens, and pack all transactions. When cruising through the txnoids table, stop when you see the first PROTECTED_TRANSACTION. That means that we've already packed back to this transaction (Jim, is this right? Would we ever want to re-pack a transaction that's already been packed?)
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
- 19 Apr, 2001 4 commits
-
-
Barry Warsaw authored
fails this.
-
Barry Warsaw authored
_zaprevision(): Fixed some silly typos. pack(): Adopt from FileStorage, the conversion scheme of time floats to TimeStamps. Also use set_range() on the txnoids cursor because it's not likely that the timestamp (i.e. revid) will actually exist, and we just want the one just before the specified time. Use prev() instead of prev_dup() on the cursor.
-
Michel Pelletier authored
-
Chris McDonough authored
-
- 18 Apr, 2001 5 commits
-
-
Martijn Pieters authored
object of its choosing, so we can retrieve the output of RESPONSE.write().
-
Barry Warsaw authored
out duplicate oids. If a pickle holds multiple references to an object, that object's oids will show up multiple times in the returned list.
-
Chris McDonough authored
-
Barry Warsaw authored
implementation of the GCable `interface' for integration with a cyclic garbage detector.
-
Amos Latteier authored
-
- 17 Apr, 2001 9 commits
-
-
Amos Latteier authored
Many small structured text fixes, typos fixes, and small wording and formatting corrections. Some of these were pointed out by Tom Deprez.
-
Chris McDonough authored
-
Fred Drake authored
err_exit(): Allow the return code to be passed in, with a default of 2 (the usual Unix return code for command-line errors). main(): Remove the try/except that caused a second err_exit() call after the first call to sys.exit(). The try/except also prevented the first sys.exit() from actually doing so (only the second, unintended call caused the script to exit). When the users *asks* for help (-h), use a return code of 0 since there was not an error that triggered the help message.
-
Andreas Jung authored
-
Andreas Jung authored
-
- 16 Apr, 2001 13 commits
-
-
Martijn Pieters authored
-
Barry Warsaw authored
-
Barry Warsaw authored
try clause. :(
-
Barry Warsaw authored
-
Barry Warsaw authored
object, don't rely on its prevrevid pointing to the previous metadata record. That's because if the last revision was an undo record, it will have a prevrevid pointing to the revision previous to the undone one (phew! :). Instead, use a cursor to find the previous metadata record to restore. supportsTransactionalUndo(): Added.
-
Barry Warsaw authored
creating test classes.
-
Barry Warsaw authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Shane Hathaway authored
-