and appears to currently be the latest "stable" Zope 3 version. Discussed with package maintainer, Yoshito Komatsu, who sent me some minor tweaks to my changes. The part of Zope/doc/CHANGES.txt relevant for 3.3.0 -> 3.3.1 is: Bugfixes - Fixed widget bug in zope.app.form.browser; _getCurrentValue always returns an input value now. This fixes a bug in _getFormValue. (This required a backport of a small restructuring: Changed internal widget API to allow retrieving the current value (from request, default or current field value) in addition to the current form representation of the value.) - Fixed bug #707: "layer" directive was marked as deprecated in a confusing way. - Fixed bug #728: Able to change-dir into non-existant directories using FTP - Fixed bug #717: formlib raised FormError when schema fields were missing from a request although not required. - Fixed bug #738: RestrictedPython was unable to parse Unicode expressions correctly (as passed in from e.g. ZPTPages). - Fixed bug #723: Testbrowser was handling multiple submit buttons with the same name incorrectly. - Fixed HTML rendered by ItemsMultiDisplayWidget: The 'name' attribute is not allowed in list tags and 'type' has a different meaning. - Fileresources now also set the Cache-control headers on 304 responses. This speeds up page loads a lot on pages with many resources. - Fixed validate method of schema.Date, now it does not accept datetime objects anymore. this is needed because datetime and date values are not comparable - Fixed issue 730: Subversion 1.4 breaks mkzopeinstance.py - Fixed zope.annotation.factory to correctly setup containment for objects that do not implement IContained. - Fixed encoding of newlines, carriage returns, and tabs when encoding attributes for widgets so we're consistent under all Python 2.4.x versions (including 2.4.4, which failed tests before). - Fixed issue 535: make HTTPInputStream work with Python 2.4.4. - Improved fix for issue 599: Made sure i18n Message based Invalid exceptions are handled correctly. - Fixed a bug in getImageInfo which could cause an UnboundLocalError under certain conditions. - Fixed ``get/queryNextUtility`` to work with multiple base registries. - Fixed zope.app.catalog.attribute.AttributeIndex. It did not remove the the previous value/object from the index IF the NEW value was None. - Fixed zope.index.field.index.FieldIndex. Unindex broke if the value somehow dropped out of the forward index.
19 lines
804 B
Text
19 lines
804 B
Text
$NetBSD: patch-ab,v 1.5 2007/02/20 17:30:18 he Exp $
|
|
|
|
--- Dependencies/zdaemon-Zope-3.3.1/zdaemon/zdrun.py.orig 2006-09-21 19:40:21.000000000 +0900
|
|
+++ Dependencies/zdaemon-Zope-3.3.1/zdaemon/zdrun.py
|
|
@@ -83,6 +83,14 @@ if __name__ == "__main__":
|
|
scriptdir = dirname(normpath(abspath(sys.argv[0])))
|
|
if basename(scriptdir).lower() == "zdaemon":
|
|
sys.path.append(dirname(scriptdir))
|
|
+ here = os.path.dirname(os.path.realpath(__file__))
|
|
+ swhome = os.path.dirname(here)
|
|
+ for parts in [("src",), ("lib", "python"), ("Lib", "site-packages")]:
|
|
+ d = os.path.join(swhome, *(parts + ("zdaemon",)))
|
|
+ if os.path.isdir(d):
|
|
+ d = os.path.join(swhome, *parts)
|
|
+ sys.path.insert(0, d)
|
|
+ break
|
|
|
|
from zdaemon.zdoptions import RunnerOptions
|
|
|