- 19 Jun, 2001 8 commits
-
-
Andreas Jung authored
to my private branch
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Chris McDonough authored
The doc_header method makes a copy of the paragraph it's working on and returns it in the case that what follows it is an example. When doing so, the attributes attached to the paragraph were lost. Changes made to the doc_header method copy the attributes assigned to the paragraph as well as the body, making the copy carry along paragraph attributes.
-
Chris McDonough authored
-
Chris McDonough authored
The indention function returned a bogus number of spaces in front of the string it was passed, causing subparagraphs of a paragraph that were indented by less than two spaces to appear at the same indent level as their parent paragraph. This is now fixed, and paragraphs may be indented by a single space, just as they are in StructuredTextClassic.
-
- 18 Jun, 2001 18 commits
-
-
Chris McDonough authored
-
Chris McDonough authored
-
Chris McDonough authored
Now, when products are installed, they are installed in alphabetical order by product name, regardless of which Products directory (e.g. INSTANCE_HOME or SOFTWARE_HOME) that they're in EXCEPT FOR PluginIndexes, which are always first, due to the requirement that they register interfaces with the product context machinery before ZCatalog is initialized.
-
Chris McDonough authored
-
Barry Warsaw authored
-
Barry Warsaw authored
ConflictResolvingTransUndoStorage to ensure that the Full storage passes the application level conflict resolution tests. It does!
-
Barry Warsaw authored
ConflictResolution helper module. Specifically, class Full: add ConflictResolvingStorage to the base classes, so we magically grow self.tryToResolveConflict(). store(): Keep a flag indicating whether we calculated the object's pickle data via conflict resolution. If so, we return the special marker ResolvedSerial instead of the next available serial number. Also, in the serial <> oserial clause, try to resolve the conflict using ConflictResolvingStorage.tryToResolveConflict() and raise a ConflictError only if that fails (i.e. returns a false value). Otherwise, the resolution succeeded providing us with the data pickle to use as the stored object's state. transactionalUndo(): We need to keep an additional list of actions to perform on a successful undo. The first list keeps track of existing revisions to point the new transaction at, but conflict resolution provides us with a brand new pickle (or at least, a pickle for which we've no idea what the lrevid pointer should be). For those situations we need to do a CommitLog.write_object() instead of a CommitLog.write_object_undo() so as to get the new pickle into the commit log. Thus, newstates is a list keeping track of conflict resolved object states, while (the existing) newrevs keeps track of undo records where we already have the pickle in the database. Also, in the clause where we raise an UndoError, first tryToResolveConflict() and only if that fails do we raise the UndoError. Should it succeed, we append the record to newstates for later. Finally, in the clause were we're replaying the changes into the commit log (because we now know that all undos will succeed), we first replay the newrevs entries, then we replay the newstates entries, making sure we return all the affected oids. Note: these changes impose no regressions and pass all tests in ConflictResolvingStorage and ConflictResolvingTransUndoStorage.
-
Chris McDonough authored
This is a module used for backwards-compatibility aliasing. It potentially makes PythonMethods work with the current trunk, as well as solving some community issues with the import of the Eval class.
-
Chris McDonough authored
define "test" name, used by external code for import. This potentially makes existing revisions of PythonMethods work ok with the current trunk.
-
Chris McDonough authored
Import the html_quote function from the html_quote module so that modules that depend on the html_quote function being importable from this one don't fail.
-
Chris McDonough authored
-
Chris McDonough authored
New module that has an html_quote function that is imported into both DT_Var and DT_Utils to support older code that depends on the function to be in either place.
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
parameter string broke the ZScriptHTML_tryParams function.
-
Shane Hathaway authored
-
Andreas Jung authored
-
Andreas Jung authored
override the default syslog facility "user"
-
- 16 Jun, 2001 5 commits
-
-
Evan Simpson authored
-
Evan Simpson authored
-
Evan Simpson authored
-
Evan Simpson authored
-
Chris McDonough authored
The color_paragraphs method of DocumentClass attempts to iterate through all the defined paragraph_type methods for each paragraph. If a paragraph_type method returns anything but None, the colorization has been completed by the paragraph_type method, and we move on. However, when a paragraph_type cannot be found to colorize a paragraph, we make a copy of the paragraph, and attempt to colorize its children with the color_paragraphs function. In this case, the DOM-style attributes attached to the original paragraph were lost. I modified the color_paragraphs method to retain the original paragraph's DOM-style attributes when a colorizer for the paragraph was not found.
-
- 15 Jun, 2001 9 commits
-
-
Andreas Jung authored
-
Barry Warsaw authored
be ignored. This simplifies the logic a bit.
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Fred Drake authored
Be more careful about importing setpath.
-
Guido van Rossum authored
expressionCompiler is passed in. Import it when needed.
-
Guido van Rossum authored
us any more, but we may need it).
-
Guido van Rossum authored
Don't import Products.ParsedXML.
-