[svn] / Zope3 / branches / ZopeX3-3.0 Repository:
ViewVC logotype

Log of /Zope3/branches/ZopeX3-3.0

View Directory Listing Directory Listing


Sticky Revision:

Revision 66454 - Directory Listing
Modified Tue Apr 4 21:56:37 2006 UTC (9 years, 5 months ago) by tseaver
Note fix checked in on 3.0 branch.

Revision 66453 - Directory Listing
Modified Tue Apr 4 21:51:37 2006 UTC (9 years, 5 months ago) by tseaver
Don't depend on spelling of ImportError messages.

Revision 40322 - Directory Listing
Modified Tue Nov 22 16:12:59 2005 UTC (9 years, 9 months ago) by tseaver
Replaced deprecated 'whrandom' with 'random' in zope.security.examples 

o See http://www.zope.org/Collectors/Zope/1892.

Also updated changelog with release dates.


Revision 37958 - Directory Listing
Modified Tue Aug 16 11:49:48 2005 UTC (10 years ago) by srichter
Renaming directory again, effectively undoing 37956!


Revision 37956 - Directory Listing
Modified Tue Aug 16 11:09:08 2005 UTC (10 years ago) by frerich
Original Path: Zope3/branch/ZopeX3-3.0
Im Projektarchiv verschoben

Revision 37609 - Directory Listing
Modified Sun Jul 31 09:20:52 2005 UTC (10 years, 1 month ago) by hdima
Added test for my recent changes

Revision 37605 - Directory Listing
Modified Sat Jul 30 19:14:27 2005 UTC (10 years, 1 month ago) by hdima
Prefix must be subclassed from the unicode

Revision 37518 - Directory Listing
Modified Thu Jul 28 02:06:16 2005 UTC (10 years, 1 month ago) by philikon
added boilerplate for next release

Revision 37511 - Directory Listing
Modified Wed Jul 27 23:13:58 2005 UTC (10 years, 1 month ago) by philikon
reenable tests that seem to have been accidently disabled in r28827.

Revision 37505 - Directory Listing
Modified Wed Jul 27 22:39:33 2005 UTC (10 years, 1 month ago) by philikon
fix my lousy grammer; don't forget tres

Revision 37504 - Directory Listing
Modified Wed Jul 27 22:36:49 2005 UTC (10 years, 1 month ago) by philikon
update changes list with a couple of new entries regarding checkins
to the X3.0 branch; credit people involved

Revision 37498 - Directory Listing
Modified Wed Jul 27 19:47:14 2005 UTC (10 years, 1 month ago) by yuppie
backported from trunk:
- part of r29789 (I18n domain definition has been set for bunch of pagetemplates)

Revision 37493 - Directory Listing
Modified Wed Jul 27 16:58:41 2005 UTC (10 years, 1 month ago) by yuppie
backported from trunk:
-r29459 (Widget error messages has been made translatable)

Revision 37478 - Directory Listing
Modified Wed Jul 27 13:28:47 2005 UTC (10 years, 1 month ago) by hdima
Fixed issue #298: Role/permission title and description should be messageids

Revision 37425 - Directory Listing
Modified Tue Jul 26 01:28:09 2005 UTC (10 years, 1 month ago) by philikon
note zope 2.8 integration mergings in the list of changes.

Revision 37424 - Directory Listing
Modified Tue Jul 26 01:26:35 2005 UTC (10 years, 1 month ago) by philikon
Merge r29750, 29753, 29755, 29756, 29757 from the ZopeX3-3.0.0-Zope-2.8
branch.  This should conclude the Zope 2.8 compatability fixes; the
X3.0 branch is now ready to be integrated into Zope 2.8 releases
without further modifications.  ZopeX3-3.0.0-Zope-2.8 branch has become
obsolete.

Log message for revision 29750:
  Stop using the deprecated get_transaction().

Log message for revision 29753:
  Repair some transaction imports.

Log message for revision 29755:
  Needs to import transaction.

Log message for revision 29756:
  Needs to import transaction.

Log message for revision 29757:
  Brrrr.  An evil doctest depended on significant trailing whitespace in the .py file.  

Revision 37421 - Directory Listing
Modified Tue Jul 26 01:00:56 2005 UTC (10 years, 1 month ago) by philikon
Add compatability with ZODB 3.4 (used in Zope 2.8).

Revision 37420 - Directory Listing
Modified Tue Jul 26 00:57:07 2005 UTC (10 years, 1 month ago) by philikon
override savepoint method in ZODB-3.4-aware subclass, just to be
sure nobody can call ZODB-3.3-based code in Zope 2.8.

Revision 37419 - Directory Listing
Modified Tue Jul 26 00:37:16 2005 UTC (10 years, 1 month ago) by philikon
make test module executable from command line.

Revision 37418 - Directory Listing
Modified Tue Jul 26 00:34:12 2005 UTC (10 years, 1 month ago) by philikon
Merge r29561 from ZopeX3-3.0.0-Zope-2.8 branch a.k.a r29928 from the trunk:

Log message for revision 29561:
  Fixed an import glitch.

Log message for revision 29928:
  Fixed a function call thast caused many tests to fail with "-N 2"

Revision 37417 - Directory Listing
Modified Tue Jul 26 00:30:17 2005 UTC (10 years, 1 month ago) by philikon
merge r30540 from ZopeX3-3.0.0-Zope-2.8 branch:
  fixed compilation problem with gcc 4

Revision 37416 - Directory Listing
Modified Tue Jul 26 00:27:52 2005 UTC (10 years, 1 month ago) by philikon
provide an alternate implementation of the MailDataHandler for
ZODB version 3.4 (the one shipping with Zope 2.8). It is based
on the one that was implemented for the ZopeX3-3.0.0-Zope-2.8
branch.

Revision 37415 - Directory Listing
Modified Tue Jul 26 00:23:07 2005 UTC (10 years, 1 month ago) by philikon
Tweak reST/STX dependent tests so that they pass on both the
Zope 2.8 and the X3.0 release line. These are the tests that
were previously disabled on the Zope-X3.0.0-2.8 branch
(except for the access log test which seems to pass now.)

Revision 37394 - Directory Listing
Modified Sat Jul 23 16:02:53 2005 UTC (10 years, 1 month ago) by philikon
merge r37393 from the trunk:
  support storages that can't report their size
  reuse zope.app.size.byteDisplay for displaying a size in bytes
  as a localized string.

Revision 30690 - Directory Listing
Modified Wed Jun 8 16:04:29 2005 UTC (10 years, 2 months ago) by Zen
Merge 30682 from trunk

Revision 30563 - Directory Listing
Modified Mon May 30 21:47:09 2005 UTC (10 years, 3 months ago) by philikon
added missing changes note

Revision 30561 - Directory Listing
Modified Mon May 30 20:52:26 2005 UTC (10 years, 3 months ago) by philikon
Merge r29226:
  Fix SequenceWidgets
  Added a CustomSequenceWidgetFactory for using object widgets within a sequence
  Added a howto for ObjectWidget

Revision 30240 - Directory Listing
Modified Thu May 5 06:17:45 2005 UTC (10 years, 4 months ago) by hdima
Fixed issue 333: XML Tree doesn't load if some item contains
non-ASCII characters.

Revision 30233 - Directory Listing
Modified Tue May 3 08:09:03 2005 UTC (10 years, 4 months ago) by hdima
Fixed issue with <pre> and i18n:name

Revision 30153 - Directory Listing
Modified Mon Apr 25 09:58:15 2005 UTC (10 years, 4 months ago) by hdima
Merged revision 30152 from the trunk:

Fixed issue 314: i18n:translate removes line breaks
from <pre>...</pre> contents

Revision 29942 - Directory Listing
Modified Mon Apr 11 13:26:38 2005 UTC (10 years, 4 months ago) by hdima
Fixed issue #394: starting zope with command -C arg
causes request.form to contain '-C':''

Revision 29906 - Directory Listing
Modified Fri Apr 8 11:52:29 2005 UTC (10 years, 4 months ago) by hdima
Fixed issue #334: Failing RuntimeInfo tests

Revision 29898 - Directory Listing
Modified Thu Apr 7 14:41:10 2005 UTC (10 years, 5 months ago) by philikon
merged r29897 from trunk:
  For ``for`` parameter of the <browser:menuItem> and
  <browser:menuItems> directives was not marked as required in
  the directive schema, while it actually was expected to be
  required.

Revision 29588 - Directory Listing
Modified Sun Mar 20 00:19:47 2005 UTC (10 years, 5 months ago) by BjornT
Don't unconditionally add Content-Length header in HTTPResponse.getHeaders().
Do it only in output(), where the size of the data is known.

Revision 28922 - Directory Listing
Modified Mon Jan 24 15:21:12 2005 UTC (10 years, 7 months ago) by gintautasm
Merged bugfix for IntWidget (it would not render 0) from trunk (28918:28920).

Revision 28873 - Directory Listing
Modified Wed Jan 19 15:30:03 2005 UTC (10 years, 7 months ago) by dman13
Fixed issue #293 by removing unused 'value_type' parameter from
SequenceWidget's __init__.  In addition, __init__ now pays attention to the
'subwidget' parameter instead of always setting self.subwidget to None.

Revision 28829 - Directory Listing
Modified Thu Jan 13 17:21:58 2005 UTC (10 years, 7 months ago) by jim
Fixed typos.

Revision 28828 - Directory Listing
Modified Thu Jan 13 17:13:22 2005 UTC (10 years, 7 months ago) by jim
Fixed a bug reported by James Knight.  Adapter registries sometimes
failed to reflect declaration changes.

Revision 28827 - Directory Listing
Modified Thu Jan 13 17:13:21 2005 UTC (10 years, 7 months ago) by jim
Added some cleanup code to avoid a spurious memory-leak
report.

Revision 28725 - Directory Listing
Modified Tue Jan 4 15:26:09 2005 UTC (10 years, 8 months ago) by srichter
Latest and final translations for 3.0.0 from Thierry.

Revision 28695 - Directory Listing
Modified Thu Dec 23 21:24:35 2004 UTC (10 years, 8 months ago) by jim
Merged from trunk:

r28694 | jim | 2004-12-23 16:11:12 -0500 (Thu, 23 Dec 2004) | 6 lines

Fixed bug:

- TextWidgets set the value attribute to "value" when the field
          has a missing value set and was not required and when there
          was no input.

Revision 28651 - Directory Listing
Modified Sun Dec 19 11:42:20 2004 UTC (10 years, 8 months ago) by BjornT
Record some bug fixes.

Revision 28649 - Directory Listing
Modified Sun Dec 19 11:08:32 2004 UTC (10 years, 8 months ago) by BjornT
If the content-type was text/*, HTTPRespnse.write re-set the content-length
header to the first chunk of data.

Revision 28611 - Directory Listing
Modified Thu Dec 9 20:57:11 2004 UTC (10 years, 8 months ago) by srichter
Backported several DSN parser fixes including 304.

Revision 28565 - Directory Listing
Modified Sun Dec 5 10:48:23 2004 UTC (10 years, 9 months ago) by BjornT
Merged bug fix from trunk.

------------------------------------------------------------------------
r28564 | BjornT | 2004-12-05 12:06:41 +0200 (Sun, 05 Dec 2004) | 3 lines

Contents/contents.pt didn't quote the values that were used in href:s, thus
it couldn't function properly if the items contained certain characters.

------------------------------------------------------------------------

Revision 28375 - Directory Listing
Modified Sun Nov 7 14:42:54 2004 UTC (10 years, 9 months ago) by srichter
Readd bugtracker, so we can release it.

Revision 28371 - Directory Listing
Modified Sun Nov 7 13:40:54 2004 UTC (10 years, 9 months ago) by srichter
Add Zwiki back; this will be a Zope X3 3.0 compatible version.

Revision 28358 - Directory Listing
Modified Sat Nov 6 16:52:25 2004 UTC (10 years, 10 months ago) by srichter
Updated.

Revision 28353 - Directory Listing
Modified Sat Nov 6 16:36:48 2004 UTC (10 years, 10 months ago) by srichter
Bring back workflow package, so that we can keep a 3.0.0 compatible 
version around.

Revision 28315 - Directory Listing
Modified Mon Nov 1 23:30:26 2004 UTC (10 years, 10 months ago) by fdrake
fix typo in docstring
(merged from Zope 3 trunk revision 28314)

Revision 28224 - Directory Listing
Modified Thu Oct 21 02:31:02 2004 UTC (10 years, 10 months ago) by sidnei
Merge patch by Gustavo Niemeyer to return the best match for a multi-adapter, which got checked in only on trunk

Revision 28210 - Directory Listing
Modified Mon Oct 18 18:03:16 2004 UTC (10 years, 10 months ago) by jim
Merged from trunk:

  27663 (Thu Sep 23 17:47:53 2004 UTC (3 weeks, 4 days ago)):

    A small bug fix reported by Gustavo.

This is actually a critical fix.

Revision 27787 - Directory Listing
Modified Thu Oct 7 19:30:55 2004 UTC (10 years, 11 months ago) by sidnei
If a username:password is passed as the Authorization header, use base64.encodestring() on it.

Revision 27785 - Directory Listing
Modified Thu Oct 7 18:40:35 2004 UTC (10 years, 11 months ago) by fdrake
use ndiff when diffing the output of a failed "functional" doctest
(merged from Zope 3 trunk revision 27784)

Revision 27783 - Directory Listing
Modified Thu Oct 7 12:09:07 2004 UTC (10 years, 11 months ago) by hdima
All translations merged

Revision 27782 - Directory Listing
Modified Thu Oct 7 12:08:11 2004 UTC (10 years, 11 months ago) by hdima
Russian translation updated

Revision 27781 - Directory Listing
Modified Thu Oct 7 12:07:24 2004 UTC (10 years, 11 months ago) by hdima
POT file updated

Revision 27780 - Directory Listing
Modified Thu Oct 7 11:54:03 2004 UTC (10 years, 11 months ago) by hdima
Search './src' for tests first

Revision 27779 - Directory Listing
Modified Thu Oct 7 06:28:39 2004 UTC (10 years, 11 months ago) by fdrake
document that removing an existing installation is needed on Windows
(merged from Zope 3 trunk revision 27778)

Revision 27771 - Directory Listing
Modified Wed Oct 6 03:49:23 2004 UTC (10 years, 11 months ago) by fdrake
remove duplicated line of code
(closes bug #291; merged from trunk revision 27770)

Revision 27769 - Directory Listing
Modified Wed Oct 6 00:59:42 2004 UTC (10 years, 11 months ago) by tim_one
Stitch in ZODB 3.3 final.

Revision 27768 - Directory Listing
Modified Wed Oct 6 00:57:30 2004 UTC (10 years, 11 months ago) by tim_one
Prepare to stitch in ZODB 3.3 final.

Revision 27758 - Directory Listing
Modified Tue Oct 5 19:46:21 2004 UTC (10 years, 11 months ago) by srichter
Remove observable package.

Revision 27757 - Directory Listing
Modified Tue Oct 5 19:07:09 2004 UTC (10 years, 11 months ago) by tim_one
Stitch in current ZODB.

Revision 27755 - Directory Listing
Modified Tue Oct 5 19:04:50 2004 UTC (10 years, 11 months ago) by tim_one
Prepare to stitch in current ZODB.

Revision 27747 - Directory Listing
Modified Tue Oct 5 15:12:54 2004 UTC (10 years, 11 months ago) by srichter
Fix issue 286.

Revision 27746 - Directory Listing
Modified Tue Oct 5 14:50:54 2004 UTC (10 years, 11 months ago) by srichter
apidoc used to crash if no default skin was set. This was because it 
always expected the favicon to be available. Conditionalizing the lookup 
fixed the problem.

 --This line, and those below, will be ignored--

M    apidoc/browser/menu_macros.pt
M    apidoc/browser/details_macros.pt

Revision 27734 - Directory Listing
Modified Fri Oct 1 20:52:39 2004 UTC (10 years, 11 months ago) by fdrake
remove useless backslash in usage message
(merged from Zope 3 trunk revision 27733)

Revision 27728 - Directory Listing
Modified Thu Sep 30 23:07:33 2004 UTC (10 years, 11 months ago) by jim
Removed the observable framework, which isn't used,
and is, as a result, too immature for inclusion in X3.0.

Revision 27727 - Directory Listing
Modified Thu Sep 30 23:03:28 2004 UTC (10 years, 11 months ago) by jim
Removed i18nfile, which is too imature for the X3.0 
release and should probably be more of a demo anyway.


Revision 27726 - Directory Listing
Modified Thu Sep 30 23:00:04 2004 UTC (10 years, 11 months ago) by jim
Removed the non-functional vocabulary query support.

We'll add this back later in some form, when we have
time to get it right and to document it enough so 
that it is maintainable.

Revision 27721 - Directory Listing
Modified Thu Sep 30 20:50:50 2004 UTC (10 years, 11 months ago) by fdrake
fix some tests that tried to skimp by not creating a request object
(not needed on the trunk, since the tests there had already been fixed)

Revision 27707 - Directory Listing
Modified Wed Sep 29 17:42:44 2004 UTC (10 years, 11 months ago) by fdrake
make sure ViewPageTemplateFile sets the Content-Type header if not
already set

(merged from Zope 3 trunk revision 27706)

Revision 27701 - Directory Listing
Modified Tue Sep 28 15:46:34 2004 UTC (10 years, 11 months ago) by srichter
Fixes issue 283. I am not happy, but it works.

Revision 27693 - Directory Listing
Modified Mon Sep 27 15:23:06 2004 UTC (10 years, 11 months ago) by srichter
Thierry sent me the latest French translations.

Revision 27679 - Directory Listing
Modified Fri Sep 24 18:11:25 2004 UTC (10 years, 11 months ago) by philikon
Add a preliminary ftest for the persistency interaction.

Revision 27678 - Directory Listing
Modified Fri Sep 24 18:10:47 2004 UTC (10 years, 11 months ago) by philikon
removed unused import

Revision 27677 - Directory Listing
Modified Fri Sep 24 18:09:28 2004 UTC (10 years, 11 months ago) by philikon
AdapterRegistry has been refactored without this code being updated.
A few methods and attributes of AdapterRegistry apparently were split
off to AdapterLookup, causing not only KeyErrors on a few state dictionary
accesses, but also pickling errors on methods that are dynamically bound
to the registry in __init__.

Revision 27676 - Directory Listing
Modified Fri Sep 24 18:06:13 2004 UTC (10 years, 11 months ago) by philikon
Add missing configuration for the IObservable adapter.
I presume nobody used this before?

Revision 27674 - Directory Listing
Modified Fri Sep 24 18:02:23 2004 UTC (10 years, 11 months ago) by philikon
minor rest fixes

Revision 27623 - Directory Listing
Modified Fri Sep 17 19:51:23 2004 UTC (10 years, 11 months ago) by tim_one
After-the-last-second merge of a ZODB 3.3 change
mistakenly made from the Zope (2.8) trunk.

Chance cache-size parameters to type byte-size.

Revision 27615 - Directory Listing
Modified Fri Sep 17 17:08:11 2004 UTC (10 years, 11 months ago) by tim_one
Stitch in tentative ZODB 3.3 final.

Revision 27614 - Directory Listing
Modified Fri Sep 17 17:06:56 2004 UTC (10 years, 11 months ago) by tim_one
Prepare to stitch in tentative ZODB 3.3 final.

Revision 27545 - Directory Listing
Modified Thu Sep 16 13:57:11 2004 UTC (10 years, 11 months ago) by fdrake
add a missing slash in the namespace URL prefix

Revision 27544 - Directory Listing
Modified Thu Sep 16 13:56:42 2004 UTC (10 years, 11 months ago) by fdrake
add a note about where to find documentation on the directives

Revision 27542 - Directory Listing
Modified Thu Sep 16 00:09:03 2004 UTC (10 years, 11 months ago) by tim_one
Repair code trying to start a new transaction.

Never do these in ZODB 3:3:

    get_transaction().begin()
    some_txn_object.begin()

They raise DeprecationWarning, and don't do exactly what they
did in ZODB 3.2.  Instead do:

    import transaction

and then one of these:

    transaction.begin()
    new_txn_object = transaction.begin()

Revision 27537 - Directory Listing
Modified Wed Sep 15 18:04:26 2004 UTC (10 years, 11 months ago) by fdrake
- added missing import (for I18N)
- fix message generation for deleted registrations

(merged from trunk revision 27531)

Revision 27530 - Directory Listing
Modified Tue Sep 14 21:07:44 2004 UTC (10 years, 11 months ago) by tim_one
Stitch in ZODB 3.3c1.

Revision 27529 - Directory Listing
Modified Tue Sep 14 21:06:04 2004 UTC (10 years, 11 months ago) by tim_one
Prepare to stitch in ZODB 3.3c1.

Revision 27516 - Directory Listing
Modified Mon Sep 13 19:31:20 2004 UTC (10 years, 11 months ago) by fdrake
remove unused import

(merged from trunk revision 27515)

Revision 27513 - Directory Listing
Modified Mon Sep 13 15:47:38 2004 UTC (10 years, 11 months ago) by jim
Merged from trunk:

  r27419 | jim | 2004-09-02 06:53:34 -0400 (Thu, 02 Sep 2004) | 10 lines

Tried to improve error handling in the look method:

- Remove (only) entries from socket map with bad file 
  descriptors

- Print a report of good and bad file descriptors

- Try hard not to fail out of the loop, as that is likely to
  lead to a test hang.


Revision 27512 - Directory Listing
Modified Mon Sep 13 15:10:48 2004 UTC (10 years, 11 months ago) by jim
Merged from trunk:

  r27500 | shane | 2004-09-12 02:02:38 -0400 (Sun, 12 Sep 2004) | 12 lines

Another go at fixing the asyncore errors.

Strategy:
1. Move work into the main thread, since it's more predictable than 
threads.
2. Work around asyncore idiosyncracies.  For example, I just found out 
that if you close() twice, you might remove some other socket from the 
map.  Wow, dude.
3. Run the unit tests repeatedly, although they still pass 100% of the 
time for me.  Bummer.


Revision 27511 - Directory Listing
Modified Mon Sep 13 15:07:10 2004 UTC (10 years, 11 months ago) by jim
Merged from trunk:

r27460 | shane | 2004-09-06 21:52:16 -0400 (Mon, 06 Sep 2004) | 13 lines

Call close_when_done() rather than close() in FTP data connections.

ftp/server.py: a lot of rearranging was necessary to fix code that 
called close() with arguments.  It's important to send a report at the 
end of FTP data connections, but the old way relied on close() with 
arguments and we sometimes need to call close_when_done() instead of 
close().

dualmodechannel.py: added an assertion that verifies close() is always 
called in asynchronous mode.  See the comment.



------------------------------------------------------------------------
r27459 | shane | 2004-09-06 21:45:52 -0400 (Mon, 06 Sep 2004) | 2 lines

If the file does not exist, it is simply not writable.  No OSError needed.

------------------------------------------------------------------------
r27458 | shane | 2004-09-06 21:32:54 -0400 (Mon, 06 Sep 2004) | 2 lines

close_when_done() when handling errors, rather than close()

------------------------------------------------------------------------
r27457 | shane | 2004-09-06 21:32:04 -0400 (Mon, 06 Sep 2004) | 2 lines

Let Ctrl-C kill the thread


Revision 27510 - Directory Listing
Modified Mon Sep 13 15:03:01 2004 UTC (10 years, 11 months ago) by jim
Merged from trunk:

r27442 | shane | 2004-09-03 04:16:55 -0400 (Fri, 03 Sep 2004) | 16 lines

Simplified serverchannelbase, hopefully fixing intermittent bugs.

The FTP server needed a way to queue a task in the channel.  It used 
start_task, but start_task had no way to queue tasks correctly if tasks 
already happened to be running.  So an assertion failure resulted 
occasionally.

Now, there is a queue of tasks rather than a queue of requests.  
Anything that needs to can send a task to a channel.  The task will be 
executed in synchronous mode.

Also, the basic request parsing is now done in the asyncore main thread.  
When SimultaneousModeChannel was dropped, it became impossible to receive 
data in application threads anyway.


------------------------------------------------------------------------
r27441 | shane | 2004-09-03 04:07:01 -0400 (Fri, 03 Sep 2004) | 2 lines

After the timeout, stop waiting for threads to exit.

------------------------------------------------------------------------
r27440 | shane | 2004-09-03 04:06:17 -0400 (Fri, 03 Sep 2004) | 5 lines

Allow old asyncore connections to close before testing.

This seems to fix the spurious messages about leaking sockets.  However, 
other tests shouldn't be leaving open sockets around.


Revision 27509 - Directory Listing
Modified Mon Sep 13 14:41:01 2004 UTC (10 years, 11 months ago) by fdrake
Make mkzopeinstance work from a Subversion checkout as well as an installation

(merged from trunk revisions 27478, 27480)

Revision 27507 - Directory Listing
Modified Sun Sep 12 14:52:02 2004 UTC (10 years, 11 months ago) by philikon
Merge from trunk:

------------------------------------------------------------------------
r27505 | philikon | 2004-09-12 16:46:41 +0200 (Sun, 12 Sep 2004) | 2 lines

Interpolate variables in message ids returned from ISized adapters.

------------------------------------------------------------------------


Revision 27506 - Directory Listing
Modified Sun Sep 12 14:51:13 2004 UTC (10 years, 11 months ago) by philikon
Merge from trunk:

------------------------------------------------------------------------
r27503 | philikon | 2004-09-12 16:38:44 +0200 (Sun, 12 Sep 2004) | 2 lines

unittest.main accepts 'defaultTest', not 'default' as kw arg.

------------------------------------------------------------------------
r27504 | philikon | 2004-09-12 16:39:47 +0200 (Sun, 12 Sep 2004) | 3 lines

Vocabularies can be iterated over; elements of the iteration
are terms, so no need to use this private attribute here.

------------------------------------------------------------------------


Revision 27502 - Directory Listing
Modified Sun Sep 12 14:36:05 2004 UTC (10 years, 11 months ago) by philikon
Merge r27501 from trunk: Rectify documentation

Revision 27493 - Directory Listing
Modified Fri Sep 10 16:04:51 2004 UTC (10 years, 11 months ago) by fdrake
restore a removeSecurityProxy() call (was removeAllProxies() originally)
to make the introspector show the list of interfaces directly provided by
objects

(merged from Zope 3 trunk revision 27492)

Revision 27486 - Directory Listing
Modified Thu Sep 9 19:26:42 2004 UTC (10 years, 11 months ago) by fdrake
- modify z.a.folder.browser to use browser:containerViews
  (for conciseness and to set a good example)
- fix <browser:containerViews index="..."/> to create an index page instead
  of a contents page

(merged from Zope3 trunk revision 27485)

Revision 27484 - Directory Listing
Modified Thu Sep 9 19:08:31 2004 UTC (10 years, 11 months ago) by fdrake
- fix DocResponseWrapper.getBody()
- add unit tests for DocResponseWrapper

(merged from Zope3 trunk revision 27483)

Revision 27475 - Directory Listing
Modified Wed Sep 8 13:18:40 2004 UTC (10 years, 11 months ago) by hdima
Update doc strings to ReST

Revision 27474 - Directory Listing
Modified Wed Sep 8 13:05:00 2004 UTC (10 years, 11 months ago) by hdima
Russian translation updated

Revision 27468 - Directory Listing
Modified Tue Sep 7 16:19:24 2004 UTC (10 years, 11 months ago) by srichter
Update translations.

Revision 27465 - Directory Listing
Modified Tue Sep 7 13:08:38 2004 UTC (10 years, 11 months ago) by srichter
Improved STX renderer to handle unicode correctly.

Revision 27464 - Directory Listing
Modified Tue Sep 7 13:00:28 2004 UTC (10 years, 11 months ago) by hdima
All translations merged (i18nmergeall.py)

Revision 27463 - Directory Listing
Modified Tue Sep 7 12:58:31 2004 UTC (10 years, 11 months ago) by hdima
POT file updated

Revision 27462 - Directory Listing
Modified Tue Sep 7 12:48:21 2004 UTC (10 years, 11 months ago) by hdima
Internationalized apidoc modules description.

(Merged from trunk revisions 27410, 27421)

Revision 27461 - Directory Listing
Modified Tue Sep 7 12:46:01 2004 UTC (10 years, 11 months ago) by hdima
Empty lines removed

Revision 27438 - Directory Listing
Modified Fri Sep 3 06:14:08 2004 UTC (11 years ago) by fdrake
when a test failure is encountered, generate a non-zero exit code;
this is needed so the BuildBot can report failures

(merged from trunk revision 27437)

Revision 27434 - Directory Listing
Modified Fri Sep 3 02:13:22 2004 UTC (11 years ago) by fdrake
Fix obscure bug that caused the source not to be fonud when installed using
via distutils to a relative path.

Revision 27431 - Directory Listing
Modified Thu Sep 2 21:08:49 2004 UTC (11 years ago) by fdrake
spurious checkin to test buildbot support

Revision 27426 - Directory Listing
Modified Thu Sep 2 18:31:38 2004 UTC (11 years ago) by jim
Merged from trunk:

  r27408 | shane | 2004-09-02 01:31:25 -0400 (Thu, 02 Sep 2004) | 12 lines

  DualModeChannel no longer attempts to close except in the main thread.

  Also simplified by removing the experimental SimultaneousModeChannel 
  class.  DualModeChannel is ambitious enough already.  We don't need to 
  expose even more bugs in asyncore.

  The advantage of closing in application threads is that it forces the 
  TCP stack to flush buffers immediately, resulting in a quick response.  
  However, TCP_NODELAY should have the same effect, so in theory, no speed 
  has been lost.


  ------------------------------------------------------------------------
  r27407 | shane | 2004-09-02 01:24:05 -0400 (Thu, 02 Sep 2004) | 5 lines

  Added a method of setting socket options and turned on TCP_NODELAY.

  Zope buffers everything already, so the Nagle algorithm is likely 
  to delay unnecessarily in most forseeable cases.

  ------------------------------------------------------------------------
  r27406 | shane | 2004-09-02 01:20:28 -0400 (Thu, 02 Sep 2004) | 2 lines

  Improved wording in interface docstrings
  

Revision 27425 - Directory Listing
Modified Thu Sep 2 18:15:15 2004 UTC (11 years ago) by jim
Merged from trunk revision 27422:
  Fixed http://collector.zope.org/Zope3-dev/269
  

Revision 27423 - Directory Listing
Modified Thu Sep 2 17:58:27 2004 UTC (11 years ago) by pruggera
Remove ReST that was put into raise statements

Revision 27409 - Directory Listing
Modified Thu Sep 2 07:05:38 2004 UTC (11 years ago) by pruggera
Update doc strings to ReST

Revision 27404 - Directory Listing
Modified Thu Sep 2 00:47:24 2004 UTC (11 years ago) by srichter
Don't know how this worked in the first place. But now the zope-specific 
imports are done in the method.

Revision 27399 - Directory Listing
Modified Wed Sep 1 23:47:48 2004 UTC (11 years ago) by srichter
Added a couple of useful scripts to the distribution.

Revision 27397 - Directory Listing
Modified Wed Sep 1 19:46:57 2004 UTC (11 years ago) by tim_one
Stitch in current version of ZODB 3.3.

Revision 27396 - Directory Listing
Modified Wed Sep 1 19:41:07 2004 UTC (11 years ago) by tim_one
Prepare to stitch in current ZODB 3.3.

Revision 27395 - Directory Listing
Modified Wed Sep 1 19:15:30 2004 UTC (11 years ago) by jim
Copied from the dev ftesting.zcml logic that creates a global manager
that can make a local grant of the manager role to the test manager.

Revision 27394 - Directory Listing
Modified Wed Sep 1 18:58:10 2004 UTC (11 years ago) by jim
Fixed a test that relied on the questionable semantics of
Transaction.begin.


Revision 27393 - Directory Listing
Modified Wed Sep 1 18:30:57 2004 UTC (11 years ago) by jim
Added a missing commit.

Nobdy seems to realize that if you modify things with python code, you
need to commit the change before calling publish.

I think I probably need to make publish to a commit (and sync the
python connection after publishing) automatically.

Revision 27392 - Directory Listing
Modified Wed Sep 1 18:18:21 2004 UTC (11 years ago) by jim
Added a missing commit to a test set up.
This exposed a security configuration problem for zptpages.
Sigh.

Revision 27389 - Directory Listing
Modified Wed Sep 1 17:28:50 2004 UTC (11 years ago) by philikon
Fix apparently test which is apparently failing on some machines.

Revision 27388 - Directory Listing
Modified Wed Sep 1 17:04:54 2004 UTC (11 years ago) by tim_one
Merge rev 27286 from trunk.

Must open binary files in binary mode, else test fails on
Windows.

Revision 27386 - Directory Listing
Modified Wed Sep 1 16:40:47 2004 UTC (11 years ago) by philikon
Allow xmlrpclib.DateTime values in xml-rpc data exchange.

Revision 27384 - Directory Listing
Modified Wed Sep 1 15:42:18 2004 UTC (11 years ago) by fdrake
Revert part of revision 27378, and add a comment about why
removeSecurityProxy() is being used.

Revision 27382 - Directory Listing
Modified Wed Sep 1 14:21:51 2004 UTC (11 years ago) by srichter
------------------------------------------------------------------------
r27379 | srichter | 2004-09-01 10:03:14 -0400 (Wed, 01 Sep 2004) | 2 lines

Corrected grammar mistake.

------------------------------------------------------------------------
r27380 | srichter | 2004-09-01 10:04:18 -0400 (Wed, 01 Sep 2004) | 2 lines

Corrected typo.

------------------------------------------------------------------------
r27381 | srichter | 2004-09-01 10:06:28 -0400 (Wed, 01 Sep 2004) | 3 lines

Added a less comprehensive, but much simpler, example on how to use the
adapter registry and adapter hooks.

------------------------------------------------------------------------


Revision 27378 - Directory Listing
Modified Wed Sep 1 01:59:33 2004 UTC (11 years ago) by fdrake
Use zapi.isinstance() as appropriate.

Always use zapi.isinstance(o) instead of isinstance(removeSecurityProxy(o))
when the unproxied object is not otherwise needed.

Revision 27373 - Directory Listing
Modified Tue Aug 31 23:24:35 2004 UTC (11 years ago) by fdrake
Fix collector issue #264: Substituting a Unicode value containing non-ASCII
text into a translated string caused a UnicodeDecodeError.

(merged from trunk revision 27372)

Revision 27371 - Directory Listing
Modified Tue Aug 31 22:57:40 2004 UTC (11 years ago) by jim
Fixed the eol-style parm.

Revision 27369 - Directory Listing
Modified Tue Aug 31 22:44:34 2004 UTC (11 years ago) by jim
Merged from trunk:

revision 27368:
  Fixed collector issue 266
  
  http://collector.zope.org/Zope3-dev/266


Revision 27350 - Directory Listing
Modified Mon Aug 30 12:57:02 2004 UTC (11 years ago) by hdima
Merged revision 27349 from trunk

Revision 27332 - Directory Listing
Modified Sun Aug 29 18:15:59 2004 UTC (11 years ago) by philikon
Allow XML-RPC view methods to take parameters.

When the XML-RPC view setup machinery was changed recently, views taking parameters
were not tested.  The problem was that methods were security protected using
an instance of ProtectedMethod which implemented ILocation (thus could inherit
security context) and provides a __call__(*args) and passes *args onto the
actual view method.  THis works fine when no parameters are issues via xml-rpc,
but when they are, zope.publisher.publish.mapply chokes.  For some reason, it
cannot figure out the *args thing.

This fix gets rid of MethodFactory and ProtectedMethod.  Instead, a new view
class with a security checker and a __call__ that is a copy of the method that
is to be used is created.  This process is very similar to what happens with
browser pages.

README.txt was updated with a functional test for this.

Revision 27330 - Directory Listing
Modified Sun Aug 29 18:01:35 2004 UTC (11 years ago) by philikon
Get rid of temporary test file.

Revision 27324 - Directory Listing
Modified Sat Aug 28 19:50:47 2004 UTC (11 years ago) by jim
Merged from trunk:

  r27323 | jim | 2004-08-28 15:31:22 -0400 (Sat, 28 Aug 2004) | 15 lines

Integrated the latest doctest rom the Python cvs.

This brought two backward-incompatible changes:

- setUp and tearDown functions are now passed a test 
  argument, which is a doctest.DocTest.  This provides access to the
  test globals.

- The names of doctest reporting options for requesting diff output
  have changed.

Thesechanges are both positive for the long run, despite the
short-term backward-incompatability. Better before X3.0 final than
later. 

Revision 27321 - Directory Listing
Modified Sat Aug 28 00:43:53 2004 UTC (11 years ago) by jim
Changed to import removeSecurityProxy from zope.security.proxy

Revision 27320 - Directory Listing
Modified Sat Aug 28 00:43:51 2004 UTC (11 years ago) by jim
Changed so that removeAllProxies is no-longer needed.

Updated README.txt to test handling of faults.

Revision 27319 - Directory Listing
Modified Sat Aug 28 00:43:49 2004 UTC (11 years ago) by jim
Removed unneeded removeAllProxies call. I'm pretty sure it was
unneeded. No tests failed. ;)

Revision 27318 - Directory Listing
Modified Sat Aug 28 00:43:48 2004 UTC (11 years ago) by jim
Moved the proxy-aware isinstance to zope.security.proxy

Revision 27309 - Directory Listing
Modified Fri Aug 27 21:01:06 2004 UTC (11 years ago) by jim
Backed out unused apis added in:

  ------------------------------------------------------------------------
  r27269 | jim | 2004-08-25 15:29:34 -0400 (Wed, 25 Aug 2004) | 2 lines

  Added an api for unegistering views and resources.

  ------------------------------------------------------------------------
  r27266 | jim | 2004-08-25 15:01:44 -0400 (Wed, 25 Aug 2004) | 5 lines

  Added apis for unregistering adapters and subscribers.

  This (now) is needed to support testing.




Revision 27308 - Directory Listing
Modified Fri Aug 27 20:41:19 2004 UTC (11 years ago) by jim
Added code to clean up views registered by the test.

Revision 27307 - Directory Listing
Modified Fri Aug 27 20:13:49 2004 UTC (11 years ago) by jim
Made a number of related changes:

- Finished the README.txt, explaining how to create named XML-RPC
  views.

- Moved MethodPublisher to zope.app.publisher.xmlrpc

- Now subclasses Location, so that it can acquire security grants

- Now provides traversal via an adapter so that attribute accesses
    are mediated by security.

- MethodPublisher is now pretty much configuration, so needs no unit
    tests.  (It is tested vie README.txt.)

- Got rid of DefaultPublisher, which was only used (and isn't used any
  more) by MethodPublisher.

Revision 27306 - Directory Listing
Modified Fri Aug 27 20:13:46 2004 UTC (11 years ago) by jim
Fixed an out of date doc string

Revision 27305 - Directory Listing
Modified Fri Aug 27 20:13:45 2004 UTC (11 years ago) by jim
Removed the scant zope.app.xmlrpc package, moving it's
configuration (all it was) to zope.app.publisher.xmlrpc.

Revision 27304 - Directory Listing
Modified Fri Aug 27 18:20:43 2004 UTC (11 years ago) by jim
Merged from the ZopeX3-3.0-broken branch:

  ------------------------------------------------------------------------
  r27300 | srichter | 2004-08-27 12:24:30 -0400 (Fri, 27 Aug 2004) | 3 lines

  Gave SkinDocumentation and LayerDocumentation a location upon creation. 
  Now the ftests pass again.

  ------------------------------------------------------------------------
  r27299 | jim | 2004-08-27 12:19:47 -0400 (Fri, 27 Aug 2004) | 5 lines

  Added logic to set adapter __parent__ attr to allow acquisition of
  grants.

  We need to find a way to automate setting adapter __parent__ attrs.

  ------------------------------------------------------------------------
  r27298 | jim | 2004-08-27 11:48:28 -0400 (Fri, 27 Aug 2004) | 5 lines

  Changed to use the global test manager, who has global grants.

  Really, only global users with global grants can use the application
  controller.  This needs some refinement in the future.

  ------------------------------------------------------------------------
  r27297 | jim | 2004-08-27 11:48:00 -0400 (Fri, 27 Aug 2004) | 5 lines

  Changed to use the global test manager, who has global grants.

  Really, only global users with global grants can use the application
  controller.  This needs some refinement in the future.

  ------------------------------------------------------------------------
  r27296 | jim | 2004-08-27 11:43:53 -0400 (Fri, 27 Aug 2004) | 5 lines

  Changed to use the global test manager, who has global grants.

  Really, only global users with global grants can use the application
  controller.  This needs some refinement in the future.

  ------------------------------------------------------------------------
  r27295 | jim | 2004-08-27 11:01:18 -0400 (Fri, 27 Aug 2004) | 3 lines

  Have annotation security maps parents, so that they can acquire
  permission grants.

  ------------------------------------------------------------------------
  r27294 | jim | 2004-08-27 11:01:16 -0400 (Fri, 27 Aug 2004) | 3 lines

  Made security-setting attributes public. There's nothing woth
  protecting there.

  ------------------------------------------------------------------------
  r27293 | jim | 2004-08-27 10:47:24 -0400 (Fri, 27 Aug 2004) | 44 lines

  Removed the global grant for the test manager.  This *should* have no
  effect, since there is a local grant.  But thre are a number of
  protected objects that don't get location information and, thus, can't
  acquire local grants.

  This change causes the following 12 tests to fail:

  ...



Revision 27303 - Directory Listing
Modified Fri Aug 27 18:14:52 2004 UTC (11 years ago) by jim
Fixed a bug in the granting of the manager role to the test manager
during base setup.  Also made the wacky FunctionalTestSetup a bit less
brittle. 

Revision 27291 - Directory Listing
Modified Fri Aug 27 14:28:24 2004 UTC (11 years ago) by jim
Added missing setUp and tearDown calls to the debug method.

Revision 27290 - Directory Listing
Modified Fri Aug 27 14:28:21 2004 UTC (11 years ago) by jim
Refactored xmlrpc:

- Made it possible to define xml-rpc methods on content. This made the
  "default view" mechanism unnecessary.

- Removed the default-view mechanism.  This is backward incompatable, 
  but it's better to do this now, rather than after X3.0.

This allowed the custom publication object to basically go away.

- Added documentation in the form of a doctest.

Revision 27289 - Directory Listing
Modified Fri Aug 27 14:28:18 2004 UTC (11 years ago) by jim
Added code to create a local grant for the test user.
Later, we need to figure out a way to avoid this depenency on
the security policy.

Added a flag to the http function to disable error handling.  This is
useful for debugging failures.  (Maybe we should make this the
default when a 200 status is expected.)

Added code to unquote the url path. (Perhaps later we
should add logic to utf-8 decode it too.)

Fixed handling of certain headers that don't get an HTTP_ prefix in
the request. This make xml-rpc requests work,

Revision 27288 - Directory Listing
Modified Fri Aug 27 12:00:53 2004 UTC (11 years ago) by hdima
Merged from trunk revision 27287

Revision 27277 - Directory Listing
Modified Thu Aug 26 13:32:42 2004 UTC (11 years ago) by srichter
Reinstantiated some removeAllProxies calls, since we need do not want the 
location proxy's mosule, but the interface's.

Revision 27275 - Directory Listing
Modified Thu Aug 26 12:46:15 2004 UTC (11 years ago) by BjornT
Merged from trunk:

r27274 | BjornT | 2004-08-26 14:09:15 +0200 (Thu, 26 Aug 2004) | 4 lines

Made URLQuote usable when quoting unicode strings for use in Zope3 URLs

Also added missing svn:properties.

Revision 27270 - Directory Listing
Modified Wed Aug 25 19:41:00 2004 UTC (11 years ago) by fdrake
replace a couple of removeAllProxies() calls with removeSecurityProxy()
calls, making sure the comments make sense

Revision 27269 - Directory Listing
Modified Wed Aug 25 19:29:34 2004 UTC (11 years ago) by jim
Added an api for unegistering views and resources.

Revision 27267 - Directory Listing
Modified Wed Aug 25 19:14:10 2004 UTC (11 years ago) by fdrake
remove many calls to removeAllProxies(), and replace others with
removeSecurityProxy()

Revision 27266 - Directory Listing
Modified Wed Aug 25 19:01:44 2004 UTC (11 years ago) by jim
Added apis for unregistering adapters and subscribers.

This (now) is needed to support testing.


Revision 27263 - Directory Listing
Modified Wed Aug 25 17:16:58 2004 UTC (11 years ago) by fdrake
fix minor nits, including a typo

Revision 27260 - Directory Listing
Modified Wed Aug 25 14:59:38 2004 UTC (11 years ago) by fdrake
use removeSecurityProxy() instead of removeAllProxies() in many places

Revision 27254 - Directory Listing
Modified Tue Aug 24 20:33:03 2004 UTC (11 years ago) by jim
Merged from trunk:

  r27223 | jim | 2004-08-22 22:58:36 -0400 (Sun, 22 Aug 2004) | 3 lines

Fixed a stup error in the doctest generation and an even stupider
error in the tests.


Revision 27253 - Directory Listing
Modified Tue Aug 24 20:30:04 2004 UTC (11 years ago) by jim
Merged from trunk:

  r27252 | jim | 2004-08-24 16:21:30 -0400 (Tue, 24 Aug 2004) | 10 lines

  Changed the addMenuItem directive so that it no-longer generates
  unpredictable factory names.  It used to generate factory ids of the
  form "zope.app.browser.add." + class_name + ".f" + number, where
  number was alocated sequentially from one factory to another.
  This was a disaster for testability.

  Now factory ids are of the form:

  "zope.app.browser.add." + class_module_name + "." + class_name
  ------------------------------------------------------------------------
  r27222 | jim | 2004-08-22 22:58:28 -0400 (Sun, 22 Aug 2004) | 11 lines

  Added the ability to:

  - Get access to teh object system from functional doctests

  - Make changes in regular Python code and have the changes
    reflected sanely.

  In particular, making an http request implicitly commits any
    Python changes and syncs the connection used for objects accessed
    via Python.

  ------------------------------------------------------------------------
  r27221 | jim | 2004-08-22 15:12:27 -0400 (Sun, 22 Aug 2004) | 10 lines

  Added (first cut at) functional HTTP doctests.  These are doctests
  expressed as http request inputs and expected http response outputs.

  To do:

  - Support for binary inputs (e.g.file uploads)

  - Support for accessing the object system, so that assertions
      can be made about the state of the system.

  ------------------------------------------------------------------------
  r27220 | jim | 2004-08-22 15:12:14 -0400 (Sun, 22 Aug 2004) | 3 lines

  Created a script for converting http sesssions recorded by tcpwatch
  into functional doctests.


Revision 27251 - Directory Listing
Modified Tue Aug 24 18:47:33 2004 UTC (11 years ago) by fdrake
* src/zope/app/utility/browser/ftests.py
  - new functional test of the Utility service contents view

* src/zope/app/utility/configure.zcml
  - cleaned up security declarations for LocalUtilityService
  - added missing security declarations

* src/zope/app/securitypolicy/configure.zcml
  - added missing security declarations for RoleRegistration

* src/zope/app/registration/browser/__init__.py
  - fixed typo (zpi -> zapi)

* src/zope/app/registration/configure.zcml
  - added missing security declarations for NotifyingRegistrationStack

* src/zope/app/registration/interfaces.py
  - added missing attribute to IComponentRegistration
  - added note that ".component" is preferred over ".getComponent()"

Revision 27245 - Directory Listing
Modified Tue Aug 24 15:52:55 2004 UTC (11 years ago) by jim
Merged from trunk:

  r26545 | Zen | 2004-07-14 23:08:12 -0400 (Wed, 14 Jul 2004) | 3 lines

  Add tests and refactor cookie handling to use standard library Cookie.py 
  so that they pass

  r26546 | Zen | 2004-07-14 23:13:15 -0400 (Wed, 14 Jul 2004) | 5 lines

  Make functional test harnesses cookie aware. Multiple requests in a test
  handle cookies similar to a browser, implicitly resending them on each
  request. Cookies can either be set manually in the tests or from the 
  server responses.

Also changed the tests for the test harness to use python
expressions rather than the experimental <script>-tag support.


Revision 27244 - Directory Listing
Modified Tue Aug 24 15:22:57 2004 UTC (11 years ago) by srichter
Backported revision 27242 & 27243.

Revision 27239 - Directory Listing
Modified Mon Aug 23 23:55:09 2004 UTC (11 years ago) by jim
Merged from trunk:

  r27216 | jim | 2004-08-22 11:13:31 -0400 (Sun, 22 Aug 2004) | 15 lines

Integrated latest doctest from Python CVS head.

You can't set global test options within tests anymore.
You can set options for individual examples, or you can
supply option flags when you create a test suite.

Failure output formatting is much improved.

Can now use:

  import pdb; pdb.set_trace()

when debugging doctests.


Revision 27238 - Directory Listing
Modified Mon Aug 23 23:50:00 2004 UTC (11 years ago) by jim
Merged from trunk:

  r27166 | jim | 2004-08-17 09:46:50 -0400 (Tue, 17 Aug 2004) | 3 lines

Fixed a bug in ContainedProxy that prevented dclaring interfaces for
proxied instances.


Revision 27235 - Directory Listing
Modified Mon Aug 23 21:09:18 2004 UTC (11 years ago) by srichter
Fixed functional tests.

Revision 27234 - Directory Listing
Modified Mon Aug 23 20:53:09 2004 UTC (11 years ago) by srichter
Fixed two unittest failures.

Revision 27225 - Directory Listing
Modified Mon Aug 23 12:50:40 2004 UTC (11 years ago) by srichter
Update German translations.

Revision 27224 - Directory Listing
Modified Mon Aug 23 12:15:08 2004 UTC (11 years ago) by srichter
Remove as many removeAllProxies() calls as I could.

Revision 27210 - Directory Listing
Modified Sat Aug 21 15:14:28 2004 UTC (11 years ago) by garrett
Merged r27209 from trunk.

Revision 27201 - Directory Listing
Modified Fri Aug 20 22:14:11 2004 UTC (11 years ago) by jim
Removed unneeded removeAllProxies calls.

Revision 27200 - Directory Listing
Modified Fri Aug 20 21:47:26 2004 UTC (11 years ago) by jim
Removed unneeded removeAllProxies calls.

Revision 27199 - Directory Listing
Modified Fri Aug 20 21:42:45 2004 UTC (11 years ago) by jim
Converted removeAllProxies calls to the prefered removeSecurityProxy.

Revision 27198 - Directory Listing
Modified Fri Aug 20 21:07:23 2004 UTC (11 years ago) by jim
Converted a package with one module to a regulat module.

Revision 27197 - Directory Listing
Modified Fri Aug 20 21:05:39 2004 UTC (11 years ago) by jim
Made the dependency subscriber trusted

Revision 27196 - Directory Listing
Modified Fri Aug 20 21:05:37 2004 UTC (11 years ago) by jim
Converted removeAllProxies calls to the prefered removeSecurityProxy.

D      src/zope/app/security/interfaces
D      src/zope/app/security/interfaces/__init__.py
A  +   src/zope/app/security/interfaces.py

Converted a package with one module to a regulat module.

Revision 27195 - Directory Listing
Modified Fri Aug 20 20:29:43 2004 UTC (11 years ago) by jim
Added a zapi.isinstance method that works with security proxies.


Revision 27194 - Directory Listing
Modified Fri Aug 20 19:26:59 2004 UTC (11 years ago) by jim
Added some defensive programming to work around a lame implicit Python
string-formatting behavior.

Revision 27193 - Directory Listing
Modified Fri Aug 20 19:26:57 2004 UTC (11 years ago) by jim
Removed unneeded removeAllProxies call

Revision 27192 - Directory Listing
Modified Fri Aug 20 19:26:55 2004 UTC (11 years ago) by jim
Fixed a problem with the security dclarations to make calling
removeAllProxies unnecessary.

Revision 27191 - Directory Listing
Modified Fri Aug 20 18:20:12 2004 UTC (11 years ago) by jim
Removed unneeded removeAllProxies calls.

Revision 27190 - Directory Listing
Modified Fri Aug 20 18:20:07 2004 UTC (11 years ago) by jim
Converted removeAllProxies calls to the prefered removeSecurityProxy.

Revision 27189 - Directory Listing
Modified Fri Aug 20 17:02:06 2004 UTC (11 years ago) by jim
Added "trusted" option for defining trusted subscribers.

Deprecated zope.security.trustedRemoveSecurityProxy and
zope.security.getProxiedObject. Use zope.security.removeSecurityProxy
instead.  (This should also be used rather than removeAllProxies.)

Revision 27188 - Directory Listing
Modified Fri Aug 20 17:02:03 2004 UTC (11 years ago) by jim
Deprecated zope.security.trustedRemoveSecurityProxy and
zope.security.getProxiedObject. Use zope.security.removeSecurityProxy
instead.  (This should also be used rather than removeAllProxies.)

Revision 27185 - Directory Listing
Modified Thu Aug 19 13:54:03 2004 UTC (11 years ago) by fdrake
generate object-created events in a couple of places they were missing

(merged from trunk revision 27172)

Revision 27184 - Directory Listing
Modified Thu Aug 19 13:47:30 2004 UTC (11 years ago) by fdrake
fix typo (merged from trunk revision 27171)

Revision 27165 - Directory Listing
Modified Tue Aug 17 11:20:31 2004 UTC (11 years ago) by hdima
Merged revision 27164 from trunk

Revision 27163 - Directory Listing
Modified Tue Aug 17 10:49:18 2004 UTC (11 years ago) by hdima
Merged revision 27162 from trunk

Revision 27158 - Directory Listing
Modified Mon Aug 16 23:55:19 2004 UTC (11 years ago) by srichter
Backported rev27154.

I know, this is a small API change; but better break the rule than 
forever support this mistake. No code changed though and I tested the 
new behavior.

Revision 27157 - Directory Listing
Modified Mon Aug 16 23:29:07 2004 UTC (11 years ago) by fdrake
- add chunks to the jar properly
- savepoint() is not part of ZODB3; call commit(1) instead

(merged from Zope 3 trunk revision 27156)

Revision 27143 - Directory Listing
Modified Mon Aug 16 09:30:09 2004 UTC (11 years ago) by hdima
Merged r27142 from trunk

Revision 27135 - Directory Listing
Modified Fri Aug 13 21:50:21 2004 UTC (11 years ago) by fdrake
fix the cleanup from the tests so no .pyc/.pyo files get left behind

Revision 27124 - Directory Listing
Modified Fri Aug 13 19:43:54 2004 UTC (11 years ago) by fdrake
add ZCML slugs to the packaging information

Revision 27120 - Directory Listing
Modified Fri Aug 13 18:58:33 2004 UTC (11 years ago) by philikon
Fix test failures. Code was looking for the wrong
exception to be raised.

Revision 27119 - Directory Listing
Modified Fri Aug 13 18:06:50 2004 UTC (11 years ago) by jim
Removed some uses of removeAllProxies.

One of these was unnecessary.  The others were removed using trusted
adapters.


Revision 27118 - Directory Listing
Modified Fri Aug 13 18:04:39 2004 UTC (11 years ago) by jim
Now give adapted factories the __module__ and __name__ of the
originals, so as to make apidoc happy.

Revision 27117 - Directory Listing
Modified Fri Aug 13 17:53:15 2004 UTC (11 years ago) by philikon
changes for r27027

Revision 27113 - Directory Listing
Modified Fri Aug 13 17:37:25 2004 UTC (11 years ago) by philikon
Merge r27112 from trunk:
  Acquire the standard_macros view using TALES view
  traversal (context/@@standard_macros) instead of
  through views

Revision 27111 - Directory Listing
Modified Fri Aug 13 16:12:42 2004 UTC (11 years ago) by fdrake
- avoid call to removeAllProxies()
- replace trustedRemoveSecurityProxy() with removeSecurityProxy()
- clean up unused and mis-placed imports


Revision 27110 - Directory Listing
Modified Fri Aug 13 15:46:10 2004 UTC (11 years ago) by fdrake
remove unnecessary use of removeAllProxies; replace isinstance() check
with more appropriate <interface>.providedBy() check

Revision 27109 - Directory Listing
Modified Fri Aug 13 15:46:07 2004 UTC (11 years ago) by jim
Added an explanation for calling removeAllProxies

Revision 27108 - Directory Listing
Modified Fri Aug 13 15:41:50 2004 UTC (11 years ago) by jim
Removed some unneeded removaAllProxies calls

Revision 27107 - Directory Listing
Modified Fri Aug 13 15:39:11 2004 UTC (11 years ago) by jim
Added an explanation for calling removeSecurityProxy. Also changed
from using trustedRemoveSecurityProxy to using removeSecurityProxy.

Revision 27105 - Directory Listing
Modified Fri Aug 13 15:29:24 2004 UTC (11 years ago) by jim
Added a new method, removeSecurityProxy, which should, eventually
replace both removeAllProxies and trustedRemoveSecurityProxy.

Revision 27104 - Directory Listing
Modified Fri Aug 13 15:27:00 2004 UTC (11 years ago) by tim_one
Call ZODB 3.3b2 instead of 3.3c1.

Revision 27102 - Directory Listing
Modified Fri Aug 13 15:22:02 2004 UTC (11 years ago) by fdrake
reduce the scope of a removeAllProxies() call, and add a comment about it

Revision 27099 - Directory Listing
Modified Fri Aug 13 15:17:09 2004 UTC (11 years ago) by srichter
philiKON forgot to change the tests after making his changes in 
rev27092. Fixed the failures.

Revision 27098 - Directory Listing
Modified Fri Aug 13 15:07:00 2004 UTC (11 years ago) by fdrake
explain a removeAllProxies() call

Revision 27097 - Directory Listing
Modified Fri Aug 13 15:01:09 2004 UTC (11 years ago) by jim
Removed some unneeded removaAllProxies calls

Revision 27096 - Directory Listing
Modified Fri Aug 13 14:57:36 2004 UTC (11 years ago) by jim
Added an explanation, of sorts, for a removeAllProxies call.

Revision 27095 - Directory Listing
Modified Fri Aug 13 14:27:07 2004 UTC (11 years ago) by jim
Removed some unneeded removaAllProxies calls

Revision 27094 - Directory Listing
Modified Fri Aug 13 14:22:58 2004 UTC (11 years ago) by jim
Removed some unneeded removaAllProxies calls

Revision 27093 - Directory Listing
Modified Fri Aug 13 14:22:29 2004 UTC (11 years ago) by jim
Added an explanation, of sorts, for a removeAllProxies call.

Revision 27092 - Directory Listing
Modified Fri Aug 13 01:33:06 2004 UTC (11 years ago) by philikon
Merge r27091 from trunk: Fix collector issue 260

Revision 27089 - Directory Listing
Modified Thu Aug 12 22:28:48 2004 UTC (11 years ago) by fdrake
add missing packaging metadata

Revision 27088 - Directory Listing
Modified Thu Aug 12 22:25:31 2004 UTC (11 years ago) by jim
Tightened the permission declarations in zope.app.rdb.

This required refactoring some of the interfaces a bit.

Revision 27086 - Directory Listing
Modified Thu Aug 12 20:46:50 2004 UTC (11 years ago) by jim
Tightened up permission declarations in many places where there were
too loose.

Revision 27085 - Directory Listing
Modified Thu Aug 12 20:44:25 2004 UTC (11 years ago) by jim
Fixed the Makefile, again.

Revision 27084 - Directory Listing
Modified Thu Aug 12 20:11:48 2004 UTC (11 years ago) by srichter
Backported

r26614 | srichter | 2004-07-18 17:56:36 -0400 (Sun, 18 Jul 2004) | 4 lines
r26615 | srichter | 2004-07-18 17:59:44 -0400 (Sun, 18 Jul 2004) | 5 lines
r26622 | srichter | 2004-07-19 08:39:46 -0400 (Mon, 19 Jul 2004) | 2 lines
r26623 | srichter | 2004-07-19 08:40:26 -0400 (Mon, 19 Jul 2004) | 2 lines


Revision 27083 - Directory Listing
Modified Thu Aug 12 20:06:47 2004 UTC (11 years ago) by srichter
Backported

r26575 | srichter | 2004-07-16 07:22:32 -0400 (Fri, 16 Jul 2004) | 4 lines
r26576 | srichter | 2004-07-16 07:50:16 -0400 (Fri, 16 Jul 2004) | 2 lines
r26577 | srichter | 2004-07-16 07:50:57 -0400 (Fri, 16 Jul 2004) | 3 lines
r26578 | srichter | 2004-07-16 08:13:13 -0400 (Fri, 16 Jul 2004) | 5 lines
r26579 | srichter | 2004-07-16 08:33:24 -0400 (Fri, 16 Jul 2004) | 3 lines


Revision 27082 - Directory Listing
Modified Thu Aug 12 20:03:58 2004 UTC (11 years ago) by srichter
Backported

r26567 | srichter | 2004-07-16 02:58:27 -0400 (Fri, 16 Jul 2004) | 2 lines
r26570 | srichter | 2004-07-16 03:54:40 -0400 (Fri, 16 Jul 2004) | 3 lines


Revision 27081 - Directory Listing
Modified Thu Aug 12 19:56:31 2004 UTC (11 years ago) by srichter
Backported

r26559 | srichter | 2004-07-15 17:22:32 -0400 (Thu, 15 Jul 2004) | 2 lines
r26560 | srichter | 2004-07-15 17:38:42 -0400 (Thu, 15 Jul 2004) | 2 lines


Revision 27079 - Directory Listing
Modified Thu Aug 12 19:45:55 2004 UTC (11 years ago) by srichter
Backported

r26524 | srichter | 2004-07-14 03:45:38 -0400 (Wed, 14 Jul 2004) | 6 lines
r26551 | srichter | 2004-07-15 03:06:37 -0400 (Thu, 15 Jul 2004) | 6 lines
r26522 | pruggera | 2004-07-14 01:42:06 -0400 (Wed, 14 Jul 2004) | 1 line
r26531 | pruggera | 2004-07-14 13:00:15 -0400 (Wed, 14 Jul 2004) | 1 line
r26534 | pruggera | 2004-07-14 15:55:34 -0400 (Wed, 14 Jul 2004) | 1 line
r26540 | pruggera | 2004-07-14 18:14:25 -0400 (Wed, 14 Jul 2004) | 1 line



Revision 27077 - Directory Listing
Modified Thu Aug 12 19:40:35 2004 UTC (11 years ago) by fdrake
fix typo to refer to a Python interpreter *again*

Revision 27076 - Directory Listing
Modified Thu Aug 12 19:18:08 2004 UTC (11 years ago) by srichter
Backported 
r26511 | srichter | 2004-07-13 18:25:30 -0400 (Tue, 13 Jul 2004) | 2 lines


Revision 27075 - Directory Listing
Modified Thu Aug 12 19:16:05 2004 UTC (11 years ago) by srichter
Backport
r26511 | srichter | 2004-07-13 18:25:30 -0400 (Tue, 13 Jul 2004) | 2 lines


Revision 27074 - Directory Listing
Modified Thu Aug 12 18:53:54 2004 UTC (11 years ago) by srichter
Backed out rev27060, I will try to merge the revisions one by one. Also 
merged in 27037, since it fixed the last failure.

Revision 27068 - Directory Listing
Modified Thu Aug 12 18:11:23 2004 UTC (11 years ago) by srichter
Reverted a merger. That sucks, since the trunk works fine with the 
change.

Revision 27067 - Directory Listing
Modified Thu Aug 12 17:51:21 2004 UTC (11 years ago) by jim
Merged from trunk:

  r27061 | jim | 2004-08-12 12:36:24 -0400 (Thu, 12 Aug 2004) | 2 lines

Require ManageServices to access site-manager contents.


Revision 27066 - Directory Listing
Modified Thu Aug 12 16:52:03 2004 UTC (11 years ago) by fdrake
make the special Rotterdam skin widget deals with line-end normalization
(closes issue #259; merged from Zope 3 trunk revision 27063)

Revision 27065 - Directory Listing
Modified Thu Aug 12 16:50:35 2004 UTC (11 years ago) by fdrake
fix typo

Revision 27062 - Directory Listing
Modified Thu Aug 12 16:43:14 2004 UTC (11 years ago) by srichter
Backported 

r26510 | srichter | 2004-07-13 17:49:44 -0400 (Tue, 13 Jul 2004) | 4 lines
r26511 | srichter | 2004-07-13 18:25:30 -0400 (Tue, 13 Jul 2004) | 2 lines
r26512 | srichter | 2004-07-13 18:27:31 -0400 (Tue, 13 Jul 2004) | 5 lines
r26513 | srichter | 2004-07-13 19:23:17 -0400 (Tue, 13 Jul 2004) | 2 lines
r26514 | srichter | 2004-07-13 19:25:04 -0400 (Tue, 13 Jul 2004) | 3 lines
r26515 | srichter | 2004-07-13 19:47:28 -0400 (Tue, 13 Jul 2004) | 2 lines
r26516 | srichter | 2004-07-13 19:48:45 -0400 (Tue, 13 Jul 2004) | 5 lines
r26518 | srichter | 2004-07-13 20:25:17 -0400 (Tue, 13 Jul 2004) | 3 lines


Revision 27060 - Directory Listing
Modified Thu Aug 12 16:35:12 2004 UTC (11 years ago) by srichter
Backported

r26501 | srichter | 2004-07-13 14:12:57 -0400 (Tue, 13 Jul 2004) | 7 lines
r26502 | srichter | 2004-07-13 14:13:52 -0400 (Tue, 13 Jul 2004) | 2 lines
r26505 | srichter | 2004-07-13 15:04:10 -0400 (Tue, 13 Jul 2004) | 3 lines
r26506 | srichter | 2004-07-13 15:16:57 -0400 (Tue, 13 Jul 2004) | 2 lines
r26509 | srichter | 2004-07-13 17:47:43 -0400 (Tue, 13 Jul 2004) | 2 lines


Revision 27059 - Directory Listing
Modified Thu Aug 12 16:29:43 2004 UTC (11 years ago) by srichter
Backported

r26488 | srichter | 2004-07-13 13:13:19 -0400 (Tue, 13 Jul 2004) | 2 lines
r26489 | srichter | 2004-07-13 13:14:44 -0400 (Tue, 13 Jul 2004) | 3 lines
r26490 | srichter | 2004-07-13 13:15:34 -0400 (Tue, 13 Jul 2004) | 2 lines
r26491 | srichter | 2004-07-13 13:16:12 -0400 (Tue, 13 Jul 2004) | 2 lines
r26492 | srichter | 2004-07-13 13:18:09 -0400 (Tue, 13 Jul 2004) | 2 lines
r26493 | srichter | 2004-07-13 13:19:25 -0400 (Tue, 13 Jul 2004) | 2 lines
r26494 | srichter | 2004-07-13 13:21:02 -0400 (Tue, 13 Jul 2004) | 4 lines
r26495 | srichter | 2004-07-13 13:23:17 -0400 (Tue, 13 Jul 2004) | 2 lines
r26496 | srichter | 2004-07-13 13:24:35 -0400 (Tue, 13 Jul 2004) | 2 lines
r26497 | srichter | 2004-07-13 13:25:02 -0400 (Tue, 13 Jul 2004) | 2 lines
r26498 | srichter | 2004-07-13 13:26:37 -0400 (Tue, 13 Jul 2004) | 5 lines
r26499 | srichter | 2004-07-13 13:31:56 -0400 (Tue, 13 Jul 2004) | 2 lines


Revision 27057 - Directory Listing
Modified Thu Aug 12 16:16:03 2004 UTC (11 years ago) by srichter
Backported

r26480 | srichter | 2004-07-13 13:03:22 -0400 (Tue, 13 Jul 2004) | 2 lines
r26481 | srichter | 2004-07-13 13:04:09 -0400 (Tue, 13 Jul 2004) | 3 lines
r26482 | srichter | 2004-07-13 13:07:03 -0400 (Tue, 13 Jul 2004) | 2 lines
r26485 | srichter | 2004-07-13 13:11:43 -0400 (Tue, 13 Jul 2004) | 2 lines
r26486 | srichter | 2004-07-13 13:12:34 -0400 (Tue, 13 Jul 2004) | 3 lines


Revision 27056 - Directory Listing
Modified Thu Aug 12 16:09:51 2004 UTC (11 years ago) by srichter
Backported

r26454 | srichter | 2004-07-13 12:28:46 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26455 | srichter | 2004-07-13 12:32:34 -0400 (Tue, 13 Jul 2004) | 3 
lines
r26456 | srichter | 2004-07-13 12:33:41 -0400 (Tue, 13 Jul 2004) | 3 
lines
r26457 | srichter | 2004-07-13 12:34:28 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26458 | srichter | 2004-07-13 12:37:35 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26459 | srichter | 2004-07-13 12:39:48 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26460 | srichter | 2004-07-13 12:40:26 -0400 (Tue, 13 Jul 2004) | 4 
lines
r26461 | srichter | 2004-07-13 12:41:08 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26462 | srichter | 2004-07-13 12:44:02 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26463 | srichter | 2004-07-13 12:46:02 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26464 | srichter | 2004-07-13 12:48:13 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26465 | srichter | 2004-07-13 12:48:44 -0400 (Tue, 13 Jul 2004) | 4 
lines
r26466 | srichter | 2004-07-13 12:49:20 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26467 | srichter | 2004-07-13 12:49:41 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26468 | srichter | 2004-07-13 12:51:32 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26469 | srichter | 2004-07-13 12:52:22 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26470 | srichter | 2004-07-13 12:53:32 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26471 | srichter | 2004-07-13 12:55:23 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26472 | srichter | 2004-07-13 12:56:24 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26473 | srichter | 2004-07-13 12:56:45 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26474 | srichter | 2004-07-13 12:57:36 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26475 | srichter | 2004-07-13 12:57:58 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26476 | srichter | 2004-07-13 12:59:11 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26477 | srichter | 2004-07-13 13:00:04 -0400 (Tue, 13 Jul 2004) | 4 
lines
r26478 | srichter | 2004-07-13 13:00:36 -0400 (Tue, 13 Jul 2004) | 2 
lines
r26479 | srichter | 2004-07-13 13:01:19 -0400 (Tue, 13 Jul 2004) | 2 
lines


Revision 27055 - Directory Listing
Modified Thu Aug 12 15:58:34 2004 UTC (11 years ago) by srichter
Backport of
------------------------------------------------------------------------
r26453 | srichter | 2004-07-13 12:27:24 -0400 (Tue, 13 Jul 2004) | 3 
lines

Renamed _always_available to _available_by_default as hinted by a XXX.
You need to recompile Zope.

------------------------------------------------------------------------


Revision 27054 - Directory Listing
Modified Thu Aug 12 15:54:16 2004 UTC (11 years ago) by srichter
Backported rev 26449-52

Revision 27053 - Directory Listing
Modified Thu Aug 12 15:50:30 2004 UTC (11 years ago) by srichter
Backport of:

------------------------------------------------------------------------
r26444 | srichter | 2004-07-13 11:01:30 -0400 (Tue, 13 Jul 2004) | 5 
lines

While I was working on functional tests, I found the scenario when this
path is chosen, which is when you get the source (for editing for
example) and macro expansion is turned on. It is perfectly fine to pass
an empty dict at this point, since the template itself is not evaluated.

------------------------------------------------------------------------
------------------------------------------------------------------------
r26445 | srichter | 2004-07-13 11:01:55 -0400 (Tue, 13 Jul 2004) | 2 
lines

Converted XXX to TODO.

------------------------------------------------------------------------


Revision 27052 - Directory Listing
Modified Thu Aug 12 15:45:44 2004 UTC (11 years ago) by srichter
Backport of the following revisions:
------------------------------------------------------------------------
r26400 | srichter | 2004-07-10 10:30:52 -0400 (Sat, 10 Jul 2004) | 5 
lines

Don't make the query/getResource function depend on the context. This is
done via the global site now. However, we still need to pass in the site
to which the resource belongs, so that we can set the parent of it,
which is important for the absolute URL to work.

------------------------------------------------------------------------

------------------------------------------------------------------------
r26401 | srichter | 2004-07-10 10:31:29 -0400 (Sat, 10 Jul 2004) | 2 
lines

Cleanup whitespace.

------------------------------------------------------------------------

------------------------------------------------------------------------
r26402 | srichter | 2004-07-10 10:32:18 -0400 (Sat, 10 Jul 2004) | 2 
lines

Converted XXX to TODO and statement. Added explanatory comment.

------------------------------------------------------------------------

------------------------------------------------------------------------
r26403 | srichter | 2004-07-10 10:36:36 -0400 (Sat, 10 Jul 2004) | 2 
lines

Gave module menaingful doc.

------------------------------------------------------------------------

------------------------------------------------------------------------
r26404 | srichter | 2004-07-10 10:44:16 -0400 (Sat, 10 Jul 2004) | 3 
lines

Fixed XXX by doing the right thing and allow option interfaces argument
to the Factory constructor.

------------------------------------------------------------------------

------------------------------------------------------------------------
r26405 | srichter | 2004-07-10 10:45:36 -0400 (Sat, 10 Jul 2004) | 7 
lines

Changed XXX to TODO.

Removed a lot of the backward-compatibility code, which got rid of
several XXX.

zope.component is now clean.

------------------------------------------------------------------------

------------------------------------------------------------------------
r26406 | srichter | 2004-07-10 10:58:53 -0400 (Sat, 10 Jul 2004) | 5 
lines

Removed all XXX.

Removed backward-compat of zopeConfigure.


------------------------------------------------------------------------



Revision 27051 - Directory Listing
Modified Thu Aug 12 14:56:23 2004 UTC (11 years ago) by srichter
Merged in change entries.

Revision 27050 - Directory Listing
Modified Thu Aug 12 14:36:15 2004 UTC (11 years ago) by tim_one
Use ZODB 3.3c1 (rev 27049).

Revision 27049 - Directory Listing
Modified Thu Aug 12 14:33:26 2004 UTC (11 years ago) by tim_one
Prepare to copy in ZODB 3.3c1.

Revision 27048 - Directory Listing
Modified Thu Aug 12 14:11:31 2004 UTC (11 years ago) by srichter
r25993 | srichter | 2004-06-26 15:15:34 -0400 (Sat, 26 Jun 2004) | 
4 lines

Performance improvements to the locale inheritance code. We are 
using
__getattr__ instead of __getattribute__ now.


Revision 27046 - Directory Listing
Modified Thu Aug 12 13:57:20 2004 UTC (11 years ago) by srichter
Backport rev 26007.

Revision 27041 - Directory Listing
Modified Wed Aug 11 21:42:23 2004 UTC (11 years ago) by jim
Merged from trunk:

  r27032 | jim | 2004-08-11 16:39:37 -0400 (Wed, 11 Aug 2004) | 4 lines

Fixed http://collector.zope.org/Zope3-dev/235:

 Multiple bugs in AllRolePermissions.html

Revision 27036 - Directory Listing
Modified Wed Aug 11 20:47:15 2004 UTC (11 years ago) by srichter
Backport rev26612-13.

Revision 27034 - Directory Listing
Modified Wed Aug 11 20:41:54 2004 UTC (11 years ago) by jim
Merged from trunk:

  r27029 | jim | 2004-08-11 16:23:14 -0400 (Wed, 11 Aug 2004) | 2 lines

Added some missing i18n:translate markup.

Revision 27028 - Directory Listing
Modified Wed Aug 11 20:17:00 2004 UTC (11 years ago) by srichter
Backport rev 26232.

Revision 27027 - Directory Listing
Modified Wed Aug 11 20:15:45 2004 UTC (11 years ago) by philikon
Merge r27007: Factory ids have to be real ids now,
i.e. they need to contain at least a dot or be a URI.

Revision 27026 - Directory Listing
Modified Wed Aug 11 20:13:04 2004 UTC (11 years ago) by srichter
Backport rev26216.

Revision 27025 - Directory Listing
Modified Wed Aug 11 20:12:10 2004 UTC (11 years ago) by srichter
Backport rev 26210.

Revision 27024 - Directory Listing
Modified Wed Aug 11 20:10:49 2004 UTC (11 years ago) by srichter
Backport rev26202.

Revision 27023 - Directory Listing
Modified Wed Aug 11 20:07:26 2004 UTC (11 years ago) by srichter
backoprt rev26214.

Revision 27022 - Directory Listing
Modified Wed Aug 11 20:04:56 2004 UTC (11 years ago) by srichter
Backport rev 26241.

Revision 27021 - Directory Listing
Modified Wed Aug 11 19:59:52 2004 UTC (11 years ago) by srichter
Backport rev 26392.

Revision 27020 - Directory Listing
Modified Wed Aug 11 18:40:43 2004 UTC (11 years ago) by jim
Merged from trunk:

  r26988 | jim | 2004-08-10 19:32:13 -0400 (Tue, 10 Aug 2004) | 2 lines
  r26989 | jim | 2004-08-10 19:44:33 -0400 (Tue, 10 Aug 2004) | 5 lines

Removed a missleading comment.

Revision 27019 - Directory Listing
Modified Wed Aug 11 18:38:21 2004 UTC (11 years ago) by jim
Merged from trunk:

  r26987 | jim | 2004-08-10 19:23:06 -0400 (Tue, 10 Aug 2004) | 6 lines

Fixed http://collector.zope.org/Zope3-dev/234

This turned out to be a failure of the global browser menu service to
properly handle menu items defined for classes.

Revision 27018 - Directory Listing
Modified Wed Aug 11 18:37:32 2004 UTC (11 years ago) by jim
Merged from trunk:

  r26986 | jim | 2004-08-10 19:19:04 -0400 (Tue, 10 Aug 2004) | 5 lines

Added an __sro__ attribute

Also wrote some docs/tests for methods on declarations that are also
avaialble for interfaces.

Revision 27017 - Directory Listing
Modified Wed Aug 11 18:36:43 2004 UTC (11 years ago) by jim
Merged from trunk:

  r26985 | jim | 2004-08-10 19:17:28 -0400 (Tue, 10 Aug 2004) | 2 lines

__bases__ should be a tuple.

Revision 27016 - Directory Listing
Modified Wed Aug 11 18:35:50 2004 UTC (11 years ago) by jim
Merged from trunk:

  r26975 | jim | 2004-08-10 15:49:07 -0400 (Tue, 10 Aug 2004) | 2 lines

Fixed a bug in getting implements spec for proxied built-in objects.

Revision 27015 - Directory Listing
Modified Wed Aug 11 18:29:37 2004 UTC (11 years ago) by jim
Merged from trunk:

  r26960 | jim | 2004-08-09 11:59:34 -0400 (Mon, 09 Aug 2004) | 6 lines

Removed the feature of calling methods during path traversal, as in:

  foo/somemethod/bar

If you want to call a method during traversal, make it a property.


Revision 27012 - Directory Listing
Modified Wed Aug 11 18:25:49 2004 UTC (11 years ago) by jim
Merged from trunk:

  r26958 | jim | 2004-08-09 05:57:47 -0400 (Mon, 09 Aug 2004) | 2 lines

Added an entry for zope.testing.doctest.

Revision 27011 - Directory Listing
Modified Wed Aug 11 18:19:52 2004 UTC (11 years ago) by jim
Merged from trunk:

  r26945 | jim | 2004-08-06 18:30:44 -0400 (Fri, 06 Aug 2004) | 6 lines


Updated to work with the versions of doctest from Python with versions
  greater than or equal to 2.3.0 and less than 2.4.0.a2 and with
  versions greater than 2.4.0a2.



Revision 27006 - Directory Listing
Modified Wed Aug 11 18:08:28 2004 UTC (11 years ago) by jim
Merged from trunk:

  r26878 | jim | 2004-08-03 12:25:34 -0400 (Tue, 03 Aug 2004) | 3 lines

Removed assert statements from test code. Assert statements
don't belong in test code.


Revision 27002 - Directory Listing
Modified Wed Aug 11 17:35:38 2004 UTC (11 years ago) by fdrake
fix botched merge

Revision 27000 - Directory Listing
Modified Wed Aug 11 16:08:41 2004 UTC (11 years ago) by garrett
Merged r26931 and r26932 from trunk.

Revision 26999 - Directory Listing
Modified Wed Aug 11 15:55:55 2004 UTC (11 years ago) by fdrake
make the zope.security tests pass with Python 2.4

Revision 26984 - Directory Listing
Modified Tue Aug 10 22:43:05 2004 UTC (11 years ago) by fdrake
do not allow the whrandom module at all; this module is deprecated and
generates a warning in Python 2.4

all the allowed functions from this module are available from the "random"
module

Revision 26983 - Directory Listing
Modified Tue Aug 10 22:32:01 2004 UTC (11 years ago) by fdrake
depend on zope.testing for DocFileSuite instead of re-implementing it locally

Revision 26982 - Directory Listing
Modified Tue Aug 10 21:37:03 2004 UTC (11 years ago) by fdrake
Changed to use DocFileSuite from zope.testing, since we depend on
zope.testing anyway.

(merged from Zope 3 trunk revision 26948)

Revision 26981 - Directory Listing
Modified Tue Aug 10 21:26:12 2004 UTC (11 years ago) by fdrake
Integrated (a snapshot of) the new doctest from Python 2.4.

This provides a number of new features for comparing expected and
actual output.  It also has a much better architecture for extending
changing it's behavior. It has it's own DocFileSuite support and it
has support for implementing post-mortem debugging.

Updated the Zope 3 test runnew to allow post-mortem debugging of
doctest failures.

M      src/zope/interface/tests/test_interface.py
M      src/zope/interface/tests/test_adapter.py
D      src/zope/interface/tests/docfilesuite.py

Changed to use DocFileSuite from zope.testing, since we depend on
zope.testing anyway.

(merged from Zope 3 trunk revision 26947)

Revision 26978 - Directory Listing
Modified Tue Aug 10 20:02:16 2004 UTC (11 years ago) by fdrake
only re-write the runzope and zopectl scripts if the Makefile changed

Revision 26972 - Directory Listing
Modified Mon Aug 9 22:57:30 2004 UTC (11 years ago) by fdrake
avoid duplication of code; use the z.a.publisher.browser.tests.support
helper code one more time

(merged from Zope3 trunk revision 26971)

Revision 26969 - Directory Listing
Modified Mon Aug 9 19:48:23 2004 UTC (11 years ago) by fdrake
fix stupid typo made before checkin

Revision 26967 - Directory Listing
Modified Mon Aug 9 19:00:10 2004 UTC (11 years ago) by fdrake
add some explanation of what a resource directory is

Revision 26966 - Directory Listing
Modified Mon Aug 9 18:55:24 2004 UTC (11 years ago) by fdrake
Fixed issue 247: z.a.publisher.browser.resource should not use __parent__

This allows the thread-local site to be used to compute the URL for
resources instead of walking up the __parent__ links and doing several
checks.

To make this work, resources need to have properly initialized
__name__ values; this mostly requires that the registered names get
passed in several places where they weren't passed before.

Revision 26964 - Directory Listing
Modified Mon Aug 9 17:28:38 2004 UTC (11 years ago) by fdrake
revise XXX comment that shouldn't be

Revision 26963 - Directory Listing
Modified Mon Aug 9 16:25:11 2004 UTC (11 years ago) by srichter
Backport rev 26962

Revision 26961 - Directory Listing
Modified Mon Aug 9 16:21:11 2004 UTC (11 years ago) by srichter
Merged rev 26959.

Revision 26957 - Directory Listing
Modified Mon Aug 9 09:26:59 2004 UTC (11 years ago) by hdima
Tabs removed

Revision 26942 - Directory Listing
Modified Fri Aug 6 18:57:44 2004 UTC (11 years, 1 month ago) by fdrake
Fix obscure case of files without extensions in resource directories.

Files with names that matched the extensions being checked for could
have the wrong kind of resource created for them; imparticular, files
named simply "png" or "gif" (a really weird case) would have image
resources created for them rather than simple file resources.  Fixed,
added a test case.

Use a instance of object for the marker value, since that's a simpler,
immutable object with a smaller memory requirement.

(merged from Zope 3 trunk revision 26941)

Revision 26940 - Directory Listing
Modified Fri Aug 6 18:22:17 2004 UTC (11 years, 1 month ago) by fdrake
fix typo: missing space between words

(merged from Zope 3 trunk revision 26939)

Revision 26929 - Directory Listing
Modified Thu Aug 5 22:04:16 2004 UTC (11 years, 1 month ago) by fdrake
convert importorder.py to a tool in a package so there is a good place to
hang tests

Revision 26928 - Directory Listing
Modified Thu Aug 5 20:13:18 2004 UTC (11 years, 1 month ago) by fdrake
fix typo

Revision 26926 - Directory Listing
Modified Thu Aug 5 19:08:26 2004 UTC (11 years, 1 month ago) by fdrake
keep a transcript of all out (including errors) when running in daemon mode

Revision 26922 - Directory Listing
Modified Thu Aug 5 19:02:08 2004 UTC (11 years, 1 month ago) by fdrake
Copy zdaemon from source (zdaemon/trunk), revision 26920.

Revision 26921 - Directory Listing
Modified Thu Aug 5 19:02:06 2004 UTC (11 years, 1 month ago) by fdrake
remove zdaemon package in preparation for update from source

Revision 26915 - Directory Listing
Modified Thu Aug 5 15:35:22 2004 UTC (11 years, 1 month ago) by fdrake
Copy zdaemon from source (zdaemon/trunk), revision 26911.

Revision 26913 - Directory Listing
Modified Thu Aug 5 15:28:13 2004 UTC (11 years, 1 month ago) by fdrake
Copy zdaemon from source (zdaemon/trunk), revision 26911.

Revision 26912 - Directory Listing
Modified Thu Aug 5 15:28:11 2004 UTC (11 years, 1 month ago) by fdrake
remove zdaemon package in preparation for update from source

Revision 26906 - Directory Listing
Modified Wed Aug 4 19:16:55 2004 UTC (11 years, 1 month ago) by fdrake
use a different fix for the Python 2.4 compatibility issue

(revert 26905 and merge 26865 from the trunk, so they use the same code)

Revision 26905 - Directory Listing
Modified Wed Aug 4 18:59:24 2004 UTC (11 years, 1 month ago) by fdrake
make a test work with Python 2.4 as well as 2.3.x

Revision 26901 - Directory Listing
Modified Wed Aug 4 10:10:03 2004 UTC (11 years, 1 month ago) by hdima
version.txt has been added by mistake

Revision 26899 - Directory Listing
Modified Wed Aug 4 10:03:17 2004 UTC (11 years, 1 month ago) by hdima
Merged changes from trunk revision 26898

Revision 26897 - Directory Listing
Modified Wed Aug 4 07:10:32 2004 UTC (11 years, 1 month ago) by hdima
version.txt added

Revision 26895 - Directory Listing
Modified Wed Aug 4 07:01:42 2004 UTC (11 years, 1 month ago) by hdima
CHANGES.txt updated

Revision 26888 - Directory Listing
Modified Tue Aug 3 22:59:11 2004 UTC (11 years, 1 month ago) by philikon
Synchronize Rotterdam's main template with the trunk, especially
r26887.

Revision 26885 - Directory Listing
Modified Tue Aug 3 22:09:09 2004 UTC (11 years, 1 month ago) by fdrake
clean up the way ZCML slugs are handled

Revision 26883 - Directory Listing
Modified Tue Aug 3 21:19:09 2004 UTC (11 years, 1 month ago) by fdrake
look for the version.txt magic file in the zope.app package instead of zope

Revision 26882 - Directory Listing
Modified Tue Aug 3 20:40:12 2004 UTC (11 years, 1 month ago) by philikon
Merge r26881 from trunk:

Make Rotterdam's template more resuable by defining some macros and
slots on sensible places.

Revision 26879 - Directory Listing
Modified Tue Aug 3 16:28:55 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26877 | jim | 2004-08-03 11:58:54 -0400 (Tue, 03 Aug 2004) | 2 lines

Got rid of replaced method.

Revision 26876 - Directory Listing
Modified Tue Aug 3 15:05:19 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26875 | jim | 2004-08-03 10:23:28 -0400 (Tue, 03 Aug 2004) | 2 lines

*Never* use the assert statement in a test case.

Revision 26873 - Directory Listing
Modified Tue Aug 3 13:51:58 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26869 | poster | 2004-08-02 22:51:30 -0400 (Mon, 02 Aug 2004) | 1 line

tests and fix for collector issue 255: all item widgets produce nonsensical 'hidden' output.

Revision 26872 - Directory Listing
Modified Tue Aug 3 10:38:42 2004 UTC (11 years, 1 month ago) by hdima
Merged changes from trunk revision 26510

Revision 26867 - Directory Listing
Modified Mon Aug 2 21:06:08 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26866 | jim | 2004-08-02 16:57:00 -0400 (Mon, 02 Aug 2004) | 7 lines

verifyClass now accepts methods as implementations for attributes
and complains when non-methods are provides as implementations for
methods.

Fixed: http://collector.zope.org/Zope3-dev/254

Revision 26859 - Directory Listing
Modified Fri Jul 30 20:39:29 2004 UTC (11 years, 1 month ago) by fdrake
testing that assert statements are triggered does not work when running with
Python's -O option, since that throws out the assertions

use statements other than assert, and raise specific exceptions that make
sense for the errors being detected

Revision 26851 - Directory Listing
Modified Fri Jul 30 17:17:17 2004 UTC (11 years, 1 month ago) by fdrake
improve support for additional revision control systems

Revision 26838 - Directory Listing
Modified Thu Jul 29 21:31:29 2004 UTC (11 years, 1 month ago) by fdrake
fix typo

Revision 26836 - Directory Listing
Modified Thu Jul 29 18:58:58 2004 UTC (11 years, 1 month ago) by fdrake
fix dependency information

Revision 26833 - Directory Listing
Modified Thu Jul 29 18:20:16 2004 UTC (11 years, 1 month ago) by fdrake
Merge revision 26831 from the Zope 3 trunk:

Added {arch} to the list of directories that are never traversed while
looking for tests.

This is essential when using the test-runner in a project that uses the
tla source-code management system.

Revision 26829 - Directory Listing
Modified Thu Jul 29 14:18:16 2004 UTC (11 years, 1 month ago) by philikon
Merge theuni's r25886 from trunk:
New path adapter: 'url' for providing inline url quoting capabilities
from page templates.

Revision 26828 - Directory Listing
Modified Thu Jul 29 05:07:57 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26826 | jim | 2004-07-29 00:57:37 -0400 (Thu, 29 Jul 2004) | 13 lines

Added untrusted dtml support

- Added restricted compilation of python functions

- Added more careful getting of instance attrs

- Added additional hooks in the trusted code to
  make swithing in untrusted versions possible.

- Centralized the untrusted support so that it's easier to use it, for
  example in both dtmlpage and sqlscript.

Revision 26827 - Directory Listing
Modified Thu Jul 29 05:00:21 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26825 | jim | 2004-07-29 00:53:03 -0400 (Thu, 29 Jul 2004) | 2 lines

Made str of requests available.

Revision 26823 - Directory Listing
Modified Wed Jul 28 19:59:49 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26819 | jim | 2004-07-28 15:37:35 -0400 (Wed, 28 Jul 2004) | 36 lines


  Refactored untrusted-python support:

  - collecting restricted builtins, restricted compilation, and
    the slightly higher level "interpreter" support in a single
    untrustedpython package.

  - Changed the way restricted builtins are handled so that we create an
    immutable module, rather than a dictionary.  This is to make
    __builtin__ immutable, to prevent evil code from changing it.

  - We now use Fred's restricted compiler rather than the basic Python
    compiler so that we can manipulate code to:

    - Make sure that the results of getattrs are proxied

    - Prevent use of exec, which we don't have code to handle yet.
      (Not sure if we'll bother.)

    - prevent use of raise or try/except, which we don't support yet,
      but will eventually.

    - Make sure that prints go to an interpreter-supplied object, rather
      than sys.stdout.

  - Updated varous clients to reflect new locations and APIs.

  - Had to work around some bugs in the Python compiler modules.
    Mote that global statements aren't handled correctly.

  I did this because the restricted interpreter was to be included in
  the X3.0 release and, even though it's not actually used, I was afraid
  that someone would try to use it.  Now, we've at least made an effort
  to get it right, although a more thorough review is needed.

Revision 26822 - Directory Listing
Modified Wed Jul 28 19:50:04 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26818 | jim | 2004-07-28 15:35:56 -0400 (Wed, 28 Jul 2004) | 2 lines

Added a written definition of a "trusted interpreter"


Revision 26821 - Directory Listing
Modified Wed Jul 28 19:48:38 2004 UTC (11 years, 1 month ago) by jim
Ugh, fixed the error message to go with the tests.

Revision 26820 - Directory Listing
Modified Wed Jul 28 19:41:55 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26817 | jim | 2004-07-28 15:35:28 -0400 (Wed, 28 Jul 2004) | 3 lines

  Fix a spelling error in a test.  Someone fixed a spelling error
  in an error message and didn't run the tests. :(


Revision 26811 - Directory Listing
Modified Wed Jul 28 16:52:13 2004 UTC (11 years, 1 month ago) by fdrake
move the extension metadata to the right files

Revision 26809 - Directory Listing
Modified Wed Jul 28 16:07:47 2004 UTC (11 years, 1 month ago) by fdrake
update package metadata for new extension modules

Revision 26808 - Directory Listing
Modified Wed Jul 28 15:31:01 2004 UTC (11 years, 1 month ago) by fdrake
add missing copyright and license statement

Revision 26806 - Directory Listing
Modified Wed Jul 28 13:45:04 2004 UTC (11 years, 1 month ago) by hdima
Russian translation updated

Revision 26804 - Directory Listing
Modified Wed Jul 28 12:31:16 2004 UTC (11 years, 1 month ago) by hdima
Merged changes from trunk revision 26803

Revision 26796 - Directory Listing
Modified Tue Jul 27 15:23:30 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26795 | jim | 2004-07-27 11:15:58 -0400 (Tue, 27 Jul 2004) | 2 lines

Got rid of (the pointless) ZopeError.

Revision 26794 - Directory Listing
Modified Tue Jul 27 14:58:39 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26793 | jim | 2004-07-27 10:53:35 -0400 (Tue, 27 Jul 2004) | 5 lines

Removed use of ZopeError as base for Forbidden and Unauthorized.

This was causing a circular import problem.  I see no point in
ZopeError and plan to get rid of it.

Revision 26792 - Directory Listing
Modified Tue Jul 27 14:33:50 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26787 | jim | 2004-07-27 10:00:42 -0400 (Tue, 27 Jul 2004) | 4 lines

Moved forbidden and unauthorized exception definitions to
zope.security.interfaces.

Revision 26789 - Directory Listing
Modified Tue Jul 27 14:21:49 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26752 | jim | 2004-07-25 10:20:25 -0400 (Sun, 25 Jul 2004) | 10 lines


Removed the special treatment of exception classes.  Previously, we
  treated excptions and xception clases as basic objects that were not
  proxied. This strategy seems overly lax. The problem is that we
  don't really kow how to raise or catch exceptions if exceptions and
  exception classes are proxied. The answer is not to be lax with
  exceptions. Rather, we'll need to change the way exceptions are
  handled in untrusted python code. This will require code
  manipulation, which we've avoided until recently.

Revision 26788 - Directory Listing
Modified Tue Jul 27 14:16:47 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26737 | jim | 2004-07-23 18:08:14 -0400 (Fri, 23 Jul 2004) | 7 lines

Shifted responsibility for compiling python exprs to templates

This will make it easier to introduce some needed security in the app
server. 

Also got rid os some TemplateDict class-dictionary hacking silliness.


  r26750 | jim | 2004-07-24 07:36:27 -0400 (Sat, 24 Jul 2004) | 2 lines

Updated to reflect dtml changes

Revision 26786 - Directory Listing
Modified Tue Jul 27 12:23:28 2004 UTC (11 years, 1 month ago) by hdima
Translations merged with i18nmergeall.py

Revision 26785 - Directory Listing
Modified Tue Jul 27 12:22:55 2004 UTC (11 years, 1 month ago) by hdima
Russian translation updated

Revision 26784 - Directory Listing
Modified Tue Jul 27 12:22:34 2004 UTC (11 years, 1 month ago) by hdima
POT file updated

Revision 26783 - Directory Listing
Modified Tue Jul 27 12:15:29 2004 UTC (11 years, 1 month ago) by hdima
Merged changes from trunk revision 26779

Revision 26778 - Directory Listing
Modified Tue Jul 27 08:17:15 2004 UTC (11 years, 1 month ago) by hdima
Merged changes from the trunk revision 26777

Revision 26776 - Directory Listing
Modified Tue Jul 27 07:41:49 2004 UTC (11 years, 1 month ago) by hdima
Merged changes from trunk revision 26775

Revision 26774 - Directory Listing
Modified Tue Jul 27 06:58:12 2004 UTC (11 years, 1 month ago) by hdima
Merged trunk revision 26773

Revision 26770 - Directory Listing
Modified Mon Jul 26 20:47:17 2004 UTC (11 years, 1 month ago) by fdrake
Merge 26768 from trunk.

add a note about z.a.pagetemplate using different engines to implement
trusted and untrusted evaluation environments

Revision 26764 - Directory Listing
Modified Mon Jul 26 09:51:56 2004 UTC (11 years, 1 month ago) by hdima
Translation merged with i18nmergeall.py

Revision 26763 - Directory Listing
Modified Mon Jul 26 09:51:16 2004 UTC (11 years, 1 month ago) by hdima
Russian translation updated

Revision 26762 - Directory Listing
Modified Mon Jul 26 09:50:44 2004 UTC (11 years, 1 month ago) by hdima
POT file updated

Revision 26756 - Directory Listing
Modified Mon Jul 26 08:30:05 2004 UTC (11 years, 1 month ago) by hdima
Merged changes from trunk revision 26755

Revision 26754 - Directory Listing
Modified Mon Jul 26 07:50:10 2004 UTC (11 years, 1 month ago) by hdima
Merged changes from trunk revision 26753

Revision 26743 - Directory Listing
Modified Fri Jul 23 23:18:38 2004 UTC (11 years, 1 month ago) by fdrake
Copied ZConfig revision 26739 from the ZConfig trunk.

Revision 26742 - Directory Listing
Modified Fri Jul 23 23:18:36 2004 UTC (11 years, 1 month ago) by fdrake
Remove messy ZConfig; about to get a fresh version from the ZConfig "project".

Revision 26733 - Directory Listing
Modified Fri Jul 23 21:35:13 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26732 | jim | 2004-07-23 17:31:27 -0400 (Fri, 23 Jul 2004) | 7 lines

Changed to make test selection work.

You can now name the file as a test (understanding that all dots are
converted to underscores.)

Also, the verbose listing now includes the file test file path name.

Revision 26728 - Directory Listing
Modified Fri Jul 23 21:19:07 2004 UTC (11 years, 1 month ago) by fdrake
Merge revisions 26722, 26726 from trunk.

Fixed issue 248.  Path expressions in page templates that contain
empty segments now cause an error to be raised when the expression is
compiled rather than when it is evaluated.  This has always been
illegal according to the specification, and most often caused a
runtime error before.  Template authors can now get an error up front,
avoiding embarrasment when once an application is moved into
production after insufficient testing.

Revision 26720 - Directory Listing
Modified Fri Jul 23 19:03:56 2004 UTC (11 years, 1 month ago) by fdrake
Merged from trunk: Support for untrusted page templates.

This merge contains a large number of patches from the Zope 3 trunk.
These changes collectively cause page templates loaded from the file
system to behave as trusted code (similar to what all page templates
did previously, except for a few things), and page templates loaded
from the database to be treated as untrusted code (so security
declarations are honored during traversal and Python code execution).

The following revisions are included in this merge:

26175 - make python: expressions that don't compile raise right exception
26637 - re-factor the base module importer for path:modules/
26639 - explain the untrusted path:modules/
26640 - clean up some boilerplate
26642 - separate the execution engines for zope.app.pagetemplate
26657 - add tests for trusted and untrusted path:modules/... expressions
26679 - separate python expression compilation to allow override
26688 - implemented restricted Python interpreter for TALES expressions
26689 - add dependency on zope.restrictedpython
26704 - implement untrusted traversal for page templates
26719 - add note about page template security changes

Revision 26718 - Directory Listing
Modified Fri Jul 23 18:54:43 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26684 | jim | 2004-07-22 12:33:29 -0400 (Thu, 22 Jul 2004) | 4 lines


Changed to include permission in Unauthorized errors, as was done in
  Python.

Revision 26717 - Directory Listing
Modified Fri Jul 23 18:51:14 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26683 | jim | 2004-07-22 12:33:27 -0400 (Thu, 22 Jul 2004) | 6 lines


Added a debugging api to restore the last interaction.
  This is helpful when doing post-mortem debugging, since the 
  interaction has been cleared.

Revision 26716 - Directory Listing
Modified Fri Jul 23 18:50:21 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26682 | jim | 2004-07-22 12:33:25 -0400 (Thu, 22 Jul 2004) | 4 lines


Removed any details from normal public view.

Revision 26715 - Directory Listing
Modified Fri Jul 23 18:48:49 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk

  r26681 | jim | 2004-07-22 12:33:21 -0400 (Thu, 22 Jul 2004) | 4 lines


Added details to debugging view

Revision 26714 - Directory Listing
Modified Fri Jul 23 18:42:15 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26668 | jim | 2004-07-21 18:52:23 -0400 (Wed, 21 Jul 2004) | 17 lines

- Fixed a bug (actually a missfeature). It wasn't possible
  for local settings to override global (zcml) settings.

- Changed the way role denies work.  A role deny simply prevents
  a principal from having a role.  A principal may still
  have access through other roles or through principal grants.
  Role grants or denies never override principal grants or denies
  *even* if the role-based grants or denies are more local.

- Implemented a caching scheme that provides huge performance
  benefits when the authenticated principal is defined in a local auth
  service, rather than a global one (zcml).

- Refactored the way security maps were implemented and used.  
  Especially changed the way annotations were handled.

Revision 26713 - Directory Listing
Modified Fri Jul 23 18:31:57 2004 UTC (11 years, 1 month ago) by fdrake
fix line endings, and make them stay fixed

Revision 26712 - Directory Listing
Modified Fri Jul 23 17:42:06 2004 UTC (11 years, 1 month ago) by fdrake
Merged r26686 from trunk.

- fix typo in warning message
- make DocFileSuite guess the package properly

Revision 26711 - Directory Listing
Modified Fri Jul 23 17:39:35 2004 UTC (11 years, 1 month ago) by jim
Merged from branch:

  r26667 | jim | 2004-07-21 18:51:35 -0400 (Wed, 21 Jul 2004) | 2 lines

Exported additional interface

Revision 26710 - Directory Listing
Modified Fri Jul 23 17:38:39 2004 UTC (11 years, 1 month ago) by jim
Merged from branch:

  r26666 | jim | 2004-07-21 18:51:08 -0400 (Wed, 21 Jul 2004) | 21 lines


Added a new invert_src function (may end up renaming this later)
that takes a doctest and changes it to a script.  This turns examples
into code and everything else into comments.  Changed the debugger to
use this, making debugging far more pleasent.

Changed DocFileSuite:

- If a package is passed, it must be passed as a keyword argument.
  (For now, a package can also be passed before passing any file
  names, but this generates a deprecation warning.)

- File paths may contain '/'s as separators. These will be converted
  to native file separators at run time.

- It is now possible to pass set-up and tear-down methods

- It is now possible to pass a dictionary of initial global variables.

- Error output is improved as is meta data used for verbose output.

Revision 26709 - Directory Listing
Modified Fri Jul 23 17:03:32 2004 UTC (11 years, 1 month ago) by philikon
Merge r26706 through r26708 (incl.):

- Make request.locale and locale objects usable in security-
  proxied environments
- typos, cosmetic fixes

Revision 26705 - Directory Listing
Modified Fri Jul 23 16:22:56 2004 UTC (11 years, 1 month ago) by jim
Merged from branch:

  r26665 | jim | 2004-07-21 18:49:38 -0400 (Wed, 21 Jul 2004) | 6 lines

Added (back) a getObject _proxy module method to unproxy an object only if it
is in a security proxy.

Changed zope.security.proxy.getProxiedObject to use the new getObject
method.

Revision 26703 - Directory Listing
Modified Fri Jul 23 14:50:20 2004 UTC (11 years, 1 month ago) by garrett
Merged r26700 and r26701 from trunk.

Revision 26699 - Directory Listing
Modified Fri Jul 23 09:40:18 2004 UTC (11 years, 1 month ago) by hdima
Merged changes from trunk revision 26696

Revision 26698 - Directory Listing
Modified Fri Jul 23 09:39:13 2004 UTC (11 years, 1 month ago) by hdima
Merged changes from trunk revision 26695

Revision 26697 - Directory Listing
Modified Fri Jul 23 09:38:08 2004 UTC (11 years, 1 month ago) by hdima
CheckerPublic permission id should always success

Revision 26677 - Directory Listing
Modified Thu Jul 22 11:02:21 2004 UTC (11 years, 1 month ago) by hdima
Merged changes from trunk revision 26676

Revision 26655 - Directory Listing
Modified Wed Jul 21 15:38:10 2004 UTC (11 years, 1 month ago) by philikon
Merge r26653 and r26654 from trunk: IDataManagers are now required
to have a sortKey() method for conflict resolution

Revision 26650 - Directory Listing
Modified Wed Jul 21 13:43:59 2004 UTC (11 years, 1 month ago) by garrett
Merged r26649 from trunk.

Revision 26635 - Directory Listing
Modified Tue Jul 20 15:47:18 2004 UTC (11 years, 1 month ago) by philikon
Merge r26634 from trunk: Fix the DAV breakage introduced by r26364.

Revision 26629 - Directory Listing
Modified Mon Jul 19 13:57:08 2004 UTC (11 years, 1 month ago) by hdima
Merged all translations with i18nmergeall.py

Revision 26628 - Directory Listing
Modified Mon Jul 19 13:56:43 2004 UTC (11 years, 1 month ago) by hdima
Russian translation updated

Revision 26627 - Directory Listing
Modified Mon Jul 19 13:56:16 2004 UTC (11 years, 1 month ago) by hdima
POT file updated

Revision 26611 - Directory Listing
Modified Sun Jul 18 14:54:12 2004 UTC (11 years, 1 month ago) by philikon
Merge Viktorija's r25356 from trunk: Template Page is now universally
called ZPT Page.

Revision 26603 - Directory Listing
Modified Fri Jul 16 21:20:05 2004 UTC (11 years, 1 month ago) by fdrake
update to match changes made to resolve a conflict on the trunk

Revision 26595 - Directory Listing
Modified Fri Jul 16 20:20:14 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk 26582:

Unauthorized no-longer takes keyword arguments.

Revision 26594 - Directory Listing
Modified Fri Jul 16 20:15:06 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26591 | jim | 2004-07-16 15:51:26 -0400 (Fri, 16 Jul 2004) | 8 lines

Rearranged the security apis, largely combining security policies and
interactions. Now security policies are just interaction factories --
usually just the interaction class.  

See:

  http://mail.zope.org/pipermail/zope3-dev/2004-July/011656.html

Revision 26593 - Directory Listing
Modified Fri Jul 16 20:14:00 2004 UTC (11 years, 1 month ago) by fdrake
remove ancient turd file

Revision 26592 - Directory Listing
Modified Fri Jul 16 19:54:15 2004 UTC (11 years, 1 month ago) by fdrake
More ReSTification and consistency changes.

Revision 26590 - Directory Listing
Modified Fri Jul 16 19:35:39 2004 UTC (11 years, 1 month ago) by fdrake
minor style adjustment to keep the conventional behavior of <dt>

Revision 26589 - Directory Listing
Modified Fri Jul 16 19:28:56 2004 UTC (11 years, 1 month ago) by fdrake
More ReSTification and consistency changes.

Revision 26588 - Directory Listing
Modified Fri Jul 16 19:01:59 2004 UTC (11 years, 1 month ago) by fdrake
Make the ReST markup more consistent with other ReST in Zope 3.

Revision 26587 - Directory Listing
Modified Fri Jul 16 19:01:09 2004 UTC (11 years, 1 month ago) by fdrake
Convert text files to ReST.

Revision 26586 - Directory Listing
Modified Fri Jul 16 18:26:20 2004 UTC (11 years, 1 month ago) by fdrake
Convert more text files to ReST.

Revision 26585 - Directory Listing
Modified Fri Jul 16 18:04:58 2004 UTC (11 years, 1 month ago) by fdrake
fix typos

Revision 26584 - Directory Listing
Modified Fri Jul 16 18:00:43 2004 UTC (11 years, 1 month ago) by fdrake
Convert more text files to ReST.

Revision 26583 - Directory Listing
Modified Fri Jul 16 17:28:32 2004 UTC (11 years, 1 month ago) by fdrake
convert to ReST

Revision 26558 - Directory Listing
Modified Thu Jul 15 17:08:25 2004 UTC (11 years, 1 month ago) by fdrake
Remove unnecessary PACKAGE.cfg files.

These are no longer needed on the ZopeX3-3.0 branch since the directories
not included with ZopeX3-3.0 have been removed.  This change should *not*
be merged into the trunk.

Revision 26504 - Directory Listing
Modified Tue Jul 13 18:44:46 2004 UTC (11 years, 1 month ago) by fdrake
Fix for issue 233 in the Zope 3 collector.
This corresponds to the Hotfix_2004-07-13 product.

Revision 26448 - Directory Listing
Modified Tue Jul 13 16:13:14 2004 UTC (11 years, 1 month ago) by philikon
Merged r26446: Fix docstrings and $Id$ expansion.

Revision 26424 - Directory Listing
Modified Mon Jul 12 10:11:22 2004 UTC (11 years, 1 month ago) by philikon
Backport revisions 26420 through 26423 from trunk:

- documentation fixes
- make SimpleTranslationDomain behave like the regular TranslationDomain
  impl wrt default value interpolation

Revision 26399 - Directory Listing
Modified Sat Jul 10 13:30:57 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26393 | jim | 2004-07-10 09:03:08 -0400 (Sat, 10 Jul 2004) | 4 lines

Removed code to implicitly create a root error logging service when an
error occurs and there is no local error logging service.

Revision 26398 - Directory Listing
Modified Sat Jul 10 13:30:05 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26391 | jim | 2004-07-10 08:47:23 -0400 (Sat, 10 Jul 2004) | 6 lines

Added caching of the adapter_hook method used for simple adapter
lookup.

This provides about a 10% speedup in my test case and should simplify
debugging a little bit.


Revision 26397 - Directory Listing
Modified Sat Jul 10 13:26:04 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26389 | jim | 2004-07-10 08:44:33 -0400 (Sat, 10 Jul 2004) | 3 lines
  r26390 | jim | 2004-07-10 08:46:02 -0400 (Sat, 10 Jul 2004) | 4 lines

Added an adapter_hook method to make it easier (and more efficient) to
into interface call.


Revision 26396 - Directory Listing
Modified Sat Jul 10 13:24:18 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26386 | jim | 2004-07-09 19:36:04 -0400 (Fri, 09 Jul 2004) | 3 lines

Added a number of error checks and globar variable caches in __del__
to try to avoid error during process exit.  __del__s are a pain.


Revision 26395 - Directory Listing
Modified Sat Jul 10 13:23:35 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26385 | jim | 2004-07-09 19:06:06 -0400 (Fri, 09 Jul 2004) | 2 lines

Got the --test option to work. Sheesh.

Revision 26394 - Directory Listing
Modified Sat Jul 10 13:20:58 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26384 | jim | 2004-07-09 18:43:28 -0400 (Fri, 09 Jul 2004) | 2 lines

Removed uneeded empty dir

Revision 26383 - Directory Listing
Modified Fri Jul 9 22:32:38 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26367 | jim | 2004-07-09 15:41:20 -0400 (Fri, 09 Jul 2004) | 8 lines

AttributeAnnotation adapters no-longer fool around with security or locations

(The location bit was to support security.)

AttributeAnnotation adapters now really only work with unproxied
objects.  Generally, they are created by other adapters and,
generally, these other adapters should be trusted adapters.

Revision 26382 - Directory Listing
Modified Fri Jul 9 22:31:48 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26366 | jim | 2004-07-09 15:39:01 -0400 (Fri, 09 Jul 2004) | 2 lines

Made DC adapters trusted adapters.

Revision 26381 - Directory Listing
Modified Fri Jul 9 22:31:03 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26365 | jim | 2004-07-09 15:38:37 -0400 (Fri, 09 Jul 2004) | 2 lines

Made DC adapters Locations in preparation for making them trusted adapters.

Revision 26380 - Directory Listing
Modified Fri Jul 9 22:27:02 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26364 | jim | 2004-07-09 15:36:39 -0400 (Fri, 09 Jul 2004) | 3 lines

Removed DWIM callable check. (It happened to do the Wrong Thing for
proxied data.)


Revision 26379 - Directory Listing
Modified Fri Jul 9 22:26:09 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26363 | jim | 2004-07-09 15:28:16 -0400 (Fri, 09 Jul 2004) | 5 lines

Added TrustedAdapterFactory

This is for adapters that are trusted and need unfettered access to
the objects they adapt. If asked to adapt security-proxied objects,
the return security-proxied adapters of unproxied objects.

Revision 26377 - Directory Listing
Modified Fri Jul 9 22:19:12 2004 UTC (11 years, 1 month ago) by jim
Removed some packages not included in the release.

Revision 26376 - Directory Listing
Modified Fri Jul 9 22:18:31 2004 UTC (11 years, 1 month ago) by jim
Updated to reflect renaming of translation_files to locales.

Revision 26374 - Directory Listing
Modified Fri Jul 9 21:42:04 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk 26373:
Fixed a silly test that made bad assumptions about file separators and
directory layout.

Revision 26369 - Directory Listing
Modified Fri Jul 9 20:02:29 2004 UTC (11 years, 1 month ago) by jim
Merged from head:

  r26362 | jim | 2004-07-09 15:24:42 -0400 (Fri, 09 Jul 2004) | 8 lines

Various:

- Changed the name of the non-functional --method option to --test

  Made it work too, I suspect ;)

- Added documentation for --test and --module

Revision 26368 - Directory Listing
Modified Fri Jul 9 19:57:50 2004 UTC (11 years, 1 month ago) by sidnei
Add __traceback_info__ to zope.app.traversing.adapters, as it seems its a very common place to have errors when you mistype something on a view template, and no info was provided that could help finding the source of the problem. Fix a typo and clarify by adding a comment the code inside protectclass.

Revision 26360 - Directory Listing
Modified Fri Jul 9 18:32:59 2004 UTC (11 years, 1 month ago) by sidnei
Fix a typo. Make Unauthorized exception take a name and permission arguments on constructor, and fix two places where a message was being passed instead of a name

Revision 26359 - Directory Listing
Modified Fri Jul 9 16:26:39 2004 UTC (11 years, 1 month ago) by srichter
Backported my XXX removals.

Revision 26287 - Directory Listing
Modified Fri Jul 9 12:46:28 2004 UTC (11 years, 1 month ago) by philikon
Merge r26286: XXX removal

Revision 26284 - Directory Listing
Modified Fri Jul 9 11:17:28 2004 UTC (11 years, 1 month ago) by philikon
Removed an XXX by correcting a docstring.

Revision 26282 - Directory Listing
Modified Fri Jul 9 10:51:15 2004 UTC (11 years, 1 month ago) by philikon
Merged r26281 from trunk: squish another XXX in zope.app.undo

Revision 26280 - Directory Listing
Modified Fri Jul 9 10:41:57 2004 UTC (11 years, 1 month ago) by philikon
Merge r26279 from trunk: Convert an XXX comment of mine to a TODO comment

Revision 26270 - Directory Listing
Modified Thu Jul 8 23:17:34 2004 UTC (11 years, 1 month ago) by garrett
Merged r26269 from trunk.

Revision 26240 - Directory Listing
Modified Thu Jul 8 21:31:54 2004 UTC (11 years, 1 month ago) by garrett
Deleted redundant test.

Revision 26238 - Directory Listing
Modified Thu Jul 8 21:21:10 2004 UTC (11 years, 1 month ago) by garrett
Merged r26237 from trunk.

Revision 26236 - Directory Listing
Modified Thu Jul 8 21:10:14 2004 UTC (11 years, 1 month ago) by fdrake
add comments explaining some of the helper methods

Revision 26235 - Directory Listing
Modified Thu Jul 8 20:42:22 2004 UTC (11 years, 1 month ago) by fdrake
- emitStartElement(): simplify logic in a small way
- emitEndElement(): rename varname to varinfo; only the first element
  of the value is the name

Revision 26227 - Directory Listing
Modified Thu Jul 8 19:47:55 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26179 | jim | 2004-07-07 14:49:53 -0400 (Wed, 07 Jul 2004) | 1 line

Replaced XXX with a TODOLater.txt entry

Revision 26226 - Directory Listing
Modified Thu Jul 8 19:44:37 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26178 | jim | 2004-07-07 14:44:41 -0400 (Wed, 07 Jul 2004) | 4 lines

Removed no-longer-true XXX. Rearranged interface declarations to
verify that the XXX was no-longer true and to have a more reasonable
declaration.

Revision 26225 - Directory Listing
Modified Thu Jul 8 19:43:20 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26176 | jim | 2004-07-07 14:34:31 -0400 (Wed, 07 Jul 2004) | 2 lines

resolved some XXXs through comments or documentation

Revision 26224 - Directory Listing
Modified Thu Jul 8 19:42:22 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26173 | jim | 2004-07-07 14:09:24 -0400 (Wed, 07 Jul 2004) | 2 lines
  r26174 | jim | 2004-07-07 14:22:07 -0400 (Wed, 07 Jul 2004) | 2 lines

Resolved an XXX by quoting part of a url.


Revision 26223 - Directory Listing
Modified Thu Jul 8 19:40:41 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26172 | jim | 2004-07-07 13:47:08 -0400 (Wed, 07 Jul 2004) | 6 lines

Moved import to top, resolved XXX

This import had to be delayed before due to import dependencies btween
i18n and zope.exceptions, which have since been fixed.



Revision 26222 - Directory Listing
Modified Thu Jul 8 19:38:37 2004 UTC (11 years, 1 month ago) by jim
Merged from branch:

r26171 | jim | 2004-07-07 13:42:50 -0400 (Wed, 07 Jul 2004) | 4 lines
(also r26162, but that's not important)

Removed dependency on i18n.  zope.exceptions shouldn't be trying to set
the domain of strings padded to Unauthorized.  It turns out that in 
all cases that mattered, the strings passed were ignored.


Revision 26221 - Directory Listing
Modified Thu Jul 8 19:22:55 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26170 | jim | 2004-07-07 13:38:47 -0400 (Wed, 07 Jul 2004) | 3 lines

Changed to display a simple message rather than using a simple message
that comes from the exception.  The end result is no change in any
practical sense.


Revision 26220 - Directory Listing
Modified Thu Jul 8 19:19:10 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

r26164 | jim | 2004-07-07 12:51:50 -0400 (Wed, 07 Jul 2004) | 4 lines

Deprecated passing a(n ignored) location argument to translate

This resolves an XXX.

Revision 26219 - Directory Listing
Modified Thu Jul 8 19:12:58 2004 UTC (11 years, 1 month ago) by jim
Merged from trunk:

  r26158 | jim | 2004-07-07 12:03:48 -0400 (Wed, 07 Jul 2004) | 2 lines

Changed a test string to avoid XXX confusion.


Revision 26217 - Directory Listing
Modified Thu Jul 8 19:10:58 2004 UTC (11 years, 1 month ago) by jim
Added a missing method="POST"

Revision 26215 - Directory Listing
Modified Thu Jul 8 19:07:05 2004 UTC (11 years, 1 month ago) by srichter
Backport of XXX fixes.

See 26202, 26207, 26208, 26209.

Revision 26213 - Directory Listing
Modified Thu Jul 8 18:57:10 2004 UTC (11 years, 1 month ago) by philikon
Merge r26212: Remove redundant layer and skin directives from the zope
namespace and move defaultSkin to the browser namespace.

Revision 26211 - Directory Listing
Modified Thu Jul 8 18:40:31 2004 UTC (11 years, 1 month ago) by srichter
Backport of XXX removal.

Revision 26206 - Directory Listing
Modified Thu Jul 8 16:53:24 2004 UTC (11 years, 1 month ago) by philikon
Merge r26205 from trunk: Don't throw off people about providing a different
default skin.

Revision 26203 - Directory Listing
Modified Thu Jul 8 15:22:16 2004 UTC (11 years, 2 months ago) by fdrake
- make zopectl run Zope as a daemonized process by default (like Zope 2)
- add a comment telling the user not to change the program setting

Revision 26198 - Directory Listing
Modified Thu Jul 8 00:00:21 2004 UTC (11 years, 2 months ago) by garrett
Merged r26197 from trunk.

Revision 26196 - Directory Listing
Modified Wed Jul 7 23:17:29 2004 UTC (11 years, 2 months ago) by garrett
Merged r26195 from trunk.

Revision 26192 - Directory Listing
Modified Wed Jul 7 21:44:16 2004 UTC (11 years, 2 months ago) by srichter
Backport verification that "tools" generated utilities, which fixes 
issue 211.

Revision 26190 - Directory Listing
Modified Wed Jul 7 21:15:13 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 
26184 | srichter | 2004-07-07 16:09:11 -0400 (Wed, 07 Jul 2004) | 5 lines

Fixed bug 212.

NotFound error views now return 404.

Revision 26189 - Directory Listing
Modified Wed Jul 7 20:38:24 2004 UTC (11 years, 2 months ago) by fdrake
Make Windows-style newlines work in TALES python: expressions.

(Merged from Zope3 trunk revision 26166 by Marius Gedminas.)

Revision 26188 - Directory Listing
Modified Wed Jul 7 20:27:20 2004 UTC (11 years, 2 months ago) by fdrake
tell Subversion not to whine about _zope_thread.so

Revision 26187 - Directory Listing
Modified Wed Jul 7 20:24:18 2004 UTC (11 years, 2 months ago) by fdrake
Add pt_errors() and pt_warnings() to IPageTemplate.
Fix incomplete sentence.

(Merged revisions 26185, 26186 from the trunk.)

Revision 26181 - Directory Listing
Modified Wed Jul 7 18:58:20 2004 UTC (11 years, 2 months ago) by garrett
Merged r26177 from trunk.

Revision 26169 - Directory Listing
Modified Wed Jul 7 17:27:25 2004 UTC (11 years, 2 months ago) by srichter
Fix Bug 219.

Revision 26167 - Directory Listing
Modified Wed Jul 7 17:13:18 2004 UTC (11 years, 2 months ago) by srichter
Backport r26163 fixing issue 231.

Revision 26165 - Directory Listing
Modified Wed Jul 7 16:53:13 2004 UTC (11 years, 2 months ago) by srichter
Backport of r26153.

Revision 26160 - Directory Listing
Modified Wed Jul 7 16:19:17 2004 UTC (11 years, 2 months ago) by garrett
Merged r26159 from trunk.

Revision 26143 - Directory Listing
Modified Tue Jul 6 21:00:02 2004 UTC (11 years, 2 months ago) by fdrake
Convert more docs to ReST.

Revision 26140 - Directory Listing
Modified Tue Jul 6 20:54:30 2004 UTC (11 years, 2 months ago) by jim
Merged from jim-work branch r26112

Added missing security declarations to make interface declaration
introspection work on proxied classes.


Revision 26138 - Directory Listing
Modified Tue Jul 6 20:18:47 2004 UTC (11 years, 2 months ago) by fdrake
add test for collector issue 133

Revision 26134 - Directory Listing
Modified Tue Jul 6 19:41:54 2004 UTC (11 years, 2 months ago) by sidnei
Add a test that a missing ICacheable adapter still allows setting the
connection name.

Revision 26133 - Directory Listing
Modified Tue Jul 6 19:41:36 2004 UTC (11 years, 2 months ago) by sidnei
Add a default parameter so that it doesn't fail badly when there's no
adapter available. It should just return None, so that code using this
will fallback to not using cache.


Revision 26132 - Directory Listing
Modified Tue Jul 6 19:40:37 2004 UTC (11 years, 2 months ago) by fdrake
Convert some text files to ReST.

Revision 26131 - Directory Listing
Modified Tue Jul 6 19:17:27 2004 UTC (11 years, 2 months ago) by jim
Merged from /z3/jim-sidnei-debug/ branch r26106

Raise an exception if the value of __Security_checker__ is None

Revision 26123 - Directory Listing
Modified Tue Jul 6 18:59:04 2004 UTC (11 years, 2 months ago) by sidnei
Reindent and remove whitespace.

Revision 26122 - Directory Listing
Modified Tue Jul 6 18:58:55 2004 UTC (11 years, 2 months ago) by sidnei
Make ZopeDatabaseAdapter subclass
zope.app.container.contained.Contained, as it can be contained *wink*


Revision 26121 - Directory Listing
Modified Tue Jul 6 18:58:46 2004 UTC (11 years, 2 months ago) by sidnei
Reindent and remove whitespace.


Revision 26120 - Directory Listing
Modified Tue Jul 6 18:58:32 2004 UTC (11 years, 2 months ago) by sidnei
Added missing 'widget_rows' macros so that the skin is not completely
broken. We should revisit this eventually.

Reindent and remove whitespace.


Revision 26119 - Directory Listing
Modified Tue Jul 6 18:58:24 2004 UTC (11 years, 2 months ago) by sidnei
Cleaned up some whitespace.


Revision 26118 - Directory Listing
Modified Tue Jul 6 18:48:48 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk r26049:

Updated adapter API

as described in:

  http://mail.zope.org/pipermail/zope3-dev/2004-July/011537.html

- query/getAdapter now require a name argument and ignore
  whether the object being adapted provides or conforms to the
  interface.

- New functions 'getAdapterInContext' and 'queryAdapterInContext'
  can be used to do content-dependent simple adapation.  They
  will return the object being adapted if it provides the desired
  interface and will return the result of calling __conform__ if the
  object conforms to the interface.

IMPORTANT

  To do simple adaptation, just call the desired interface:

    adapter = iface(ob) or iface(ob, default)


Revision 26109 - Directory Listing
Modified Tue Jul 6 17:11:57 2004 UTC (11 years, 2 months ago) by fdrake
Clean up imported module to allow test to run in a loop.

Revision 26107 - Directory Listing
Modified Tue Jul 6 16:39:22 2004 UTC (11 years, 2 months ago) by fdrake
Fix test to allow tests to be run in a loop.

Make sure the module used to raise an error during import removes itself
from sys.modules, so subsequent imports will try again.

Revision 26093 - Directory Listing
Modified Sat Jul 3 12:02:36 2004 UTC (11 years, 2 months ago) by sidnei
Reindent file a bit. Add missing separator div to conform to the add/edit forms style.

Revision 26092 - Directory Listing
Modified Sat Jul 3 12:01:42 2004 UTC (11 years, 2 months ago) by srichter
Backported test fixes from trunk, see revision 26091.

Revision 26084 - Directory Listing
Modified Fri Jul 2 22:34:30 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 26023:
Implemented a thread-local data proposal

Proposed for Python 2.4 on python-dev:
  http://mail.python.org/pipermail/python-dev/2004-June/045785.html    

This mechanism replaces the previous "thread globals"
mechanism.

Revision 26083 - Directory Listing
Modified Fri Jul 2 22:31:12 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 26022:
Added a missing error check. Eek.

Revision 26082 - Directory Listing
Modified Fri Jul 2 22:30:10 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 26021:
Added -N/--repeat option to repeat tests some number of times

This is a bit more convenient than running tests forever. :)

Revision 26081 - Directory Listing
Modified Fri Jul 2 22:28:46 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25986:
Moved some code around to make C implementation simpler.

Revision 26080 - Directory Listing
Modified Fri Jul 2 22:25:52 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25985:
Factored lookup and adaptation code from adapter registries and
services into a separate class in preparation for creating a C
implementation. 

This has the nice side effect that adapter registries now actually can
do adaptation.

Revision 26079 - Directory Listing
Modified Fri Jul 2 22:17:11 2004 UTC (11 years, 2 months ago) by jim
Added check for the possibility that __Security_checker__ hase a value
of None.

Revision 26078 - Directory Listing
Modified Fri Jul 2 22:11:26 2004 UTC (11 years, 2 months ago) by jim
fixed error message typo

Revision 26077 - Directory Listing
Modified Fri Jul 2 22:04:49 2004 UTC (11 years, 2 months ago) by jim
Added a sanity check to make sure that None isn't passed as a checker.

Revision 26076 - Directory Listing
Modified Fri Jul 2 21:01:58 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25977:
Changd to disable garbage collection while executing requests when
profiling to avoid adding variability to profilling results due to gc.

Revision 26075 - Directory Listing
Modified Fri Jul 2 21:00:18 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25974 and 25984:

Moved _error_start to module rather than class scope, so as not to
mistakingly thing that it's part of a public or subclassing interface.

Removed the unused _engine_name.

Redefined pt_getEngineContext as a regular method.

Resolved an XXX

Inlined the barely use html method.


Fixed bug publishing bound page templates

When Fred and I added an interface declaration to
zope.pagetemplate.pagetemplate.PageTemplate, we unwittingly broke
BoundPageTemplates. This was due to the fact that BoundPageTemplates
were overagressive about exposing underlying template attributes, 
including interface declarations.  

Changed BoundPageTemplates to only expose needed attributes, macros
amd filename.

Added a test for the view that exposed the error.

Revision 26074 - Directory Listing
Modified Fri Jul 2 20:54:55 2004 UTC (11 years, 2 months ago) by fdrake
Merge revision 26067 from the trunk:
Re-write test to allow re-running in a loop.

This test assumes that a module from the standard library has not been
imported, which means it is very fragile and could be broken by unrelated
changes elsewhere.  Instead, create a temporary module specifically for
the test, and clean it up when the test is done.

Revision 26073 - Directory Listing
Modified Fri Jul 2 20:53:13 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25973:
Added interfaces describing page template external and subclassing
interfaces.

Revision 26072 - Directory Listing
Modified Fri Jul 2 20:52:02 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25972:
Removed unused document_src method.

Revision 26071 - Directory Listing
Modified Fri Jul 2 20:51:15 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25971:
Added getContext.

Revision 26070 - Directory Listing
Modified Fri Jul 2 20:50:11 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25976:
Added a cache for the expensive getAllCells method.

Revision 26069 - Directory Listing
Modified Fri Jul 2 20:47:15 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25975:
Removed some unsafe builtins from the "safe" builtins.

Revision 26068 - Directory Listing
Modified Fri Jul 2 20:45:05 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25970:
Updated to reflect reality (perhaps).

Also, rely on DEPENDENCIES.cfg and interfaces.py for more
documentation.

Revision 26066 - Directory Listing
Modified Fri Jul 2 20:37:43 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25969:
Added a high-level description of how things fit together.

Revision 26065 - Directory Listing
Modified Fri Jul 2 20:36:16 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25968:
Added comments explaining the slot-performance hacks I added.

Thanks to Tim for pointing out my omission.

Revision 26064 - Directory Listing
Modified Fri Jul 2 20:33:15 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25950:
Fixed a missplaces C optimization.

Revision 26063 - Directory Listing
Modified Fri Jul 2 20:14:56 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25949:
Shameless hack to increase security checking performance

Revision 26061 - Directory Listing
Modified Fri Jul 2 19:43:47 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25933:
Implemented Checker in C for performance

Revision 26060 - Directory Listing
Modified Fri Jul 2 19:40:13 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25921:
Changed the implementation of CombinedChecker to suclass Checker

Revision 26059 - Directory Listing
Modified Fri Jul 2 19:36:55 2004 UTC (11 years, 2 months ago) by fdrake
fix typos

Revision 26058 - Directory Listing
Modified Fri Jul 2 19:34:31 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25920:
Changed basic checkers to use dictionaries.

Now when you create checkers, you must pass one or 
two dictionary objects. We used to allow functions 
to be passed that would be called to get the permission
needed to access a name.  It turns out that this generality
wasn't needed or used.  If we need this in the furture, we
can add custom checkers.  For now, we only allow
dictionaries, as that will enable more efficient checker
implementation. 

Revision 26057 - Directory Listing
Modified Fri Jul 2 19:31:42 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25919:
Removed unused NonPrivateChecker

Revision 26056 - Directory Listing
Modified Fri Jul 2 19:28:16 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25907:
Added a warning that tracing security will be done differently in the
future.

Revision 26055 - Directory Listing
Modified Fri Jul 2 19:27:18 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25906:
Removed the unused DecoratedChecker class.

Revision 26054 - Directory Listing
Modified Fri Jul 2 19:24:27 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25905:
Removed spurious "exception polling in loop(): " output.

Aded code to catch infinate loops (which occasionally occur for me, 
probably related to hyperthreading) and close all conections in test
servers. This will tend to cause test failures, which is good.

There is probably a bug here, but no one has time to chase it down. :(

We'll just have to limp along until we have time to switch to twisted.

Revision 26053 - Directory Listing
Modified Fri Jul 2 19:20:23 2004 UTC (11 years, 2 months ago) by jim
merged from trunk 25891:
Began implementing more security checking in C

Implemented zop.security.checker.selectChecker in C.

Revision 26052 - Directory Listing
Modified Fri Jul 2 19:12:35 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25884:
Changed to use precomuted strings when doing method lookup and when
passing operation names to the checker. This yielded around a 4%
speedup when viewing a test page.

Revision 26051 - Directory Listing
Modified Fri Jul 2 19:09:25 2004 UTC (11 years, 2 months ago) by jim
Merged from trunk 25415:
Removed some incorrect references to wrapping objects. This is no
longer relevent since parentgeddon.

Revision 26050 - Directory Listing
Modified Fri Jul 2 19:07:54 2004 UTC (11 years, 2 months ago) by jim
Merged trunk 25413:
Added a get method to security declarations for looking up attribute
specifications using a cache.  Modified container constraint machinery
to use this.  This sped up rendering of a sample content page about 15%.


Revision 26047 - Directory Listing
Modified Fri Jul 2 16:36:19 2004 UTC (11 years, 2 months ago) by srichter
Backport 2 Bug fixes. Fixes Issue 210.

Revision 26043 - Directory Listing
Modified Fri Jul 2 15:10:17 2004 UTC (11 years, 2 months ago) by sidnei
Unbroke just enough of the wizards so that it is not completely broken. Widgets have a _widget prefix. 'usage' is gone. Default use_session to false as sessions don't exist yet.

Revision 26038 - Directory Listing
Modified Thu Jul 1 21:34:32 2004 UTC (11 years, 2 months ago) by fdrake
Simplify how the image size display is generated for the Upload tab.

This re-uses the existing display support from ImageSized, so takes
advantage of any localization of the messages provided for that.

Closes collector issue 218.

Revision 26037 - Directory Listing
Modified Thu Jul 1 21:29:51 2004 UTC (11 years, 2 months ago) by fdrake
fix typo

Revision 26036 - Directory Listing
Modified Thu Jul 1 21:14:31 2004 UTC (11 years, 2 months ago) by srichter
Forgot to merge these files.

Revision 26035 - Directory Listing
Modified Thu Jul 1 21:09:08 2004 UTC (11 years, 2 months ago) by srichter
Now, I think I got it. Move "translation_files" to "locales".

Revision 26034 - Directory Listing
Modified Thu Jul 1 21:00:35 2004 UTC (11 years, 2 months ago) by srichter
tyring to make it right.

Revision 26033 - Directory Listing
Modified Thu Jul 1 20:48:09 2004 UTC (11 years, 2 months ago) by srichter
Backported renaming of "translation_files" to "locales".

Revision 26030 - Directory Listing
Modified Thu Jul 1 20:08:24 2004 UTC (11 years, 2 months ago) by srichter
Backport from trunk.

Revision 26029 - Directory Listing
Modified Thu Jul 1 20:06:57 2004 UTC (11 years, 2 months ago) by srichter
Backport speedup.

Revision 26028 - Directory Listing
Modified Thu Jul 1 20:05:31 2004 UTC (11 years, 2 months ago) by fdrake
zsync is not part of ZopeX3 3.0, so the docs should not be included.

Revision 26024 - Directory Listing
Modified Thu Jul 1 19:08:01 2004 UTC (11 years, 2 months ago) by fdrake
Update test runner configuration file to reflect change in filtering
(revision 26020).

Revision 26020 - Directory Listing
Modified Thu Jul 1 18:58:20 2004 UTC (11 years, 2 months ago) by fdrake
Allow multiple modfilter and testfilter expressions.

The --module and --method options allow additional filter expressions to
be specified.  Additional testfilters can also be specified using
positional arguments.

Multiple filters of either type are combined using OR.

Revision 26019 - Directory Listing
Modified Thu Jul 1 18:13:05 2004 UTC (11 years, 2 months ago) by fdrake
Another document converted to reStructuredText.

Revision 26018 - Directory Listing
Modified Thu Jul 1 17:43:59 2004 UTC (11 years, 2 months ago) by fdrake
Convert DEBUG.txt to reStructuredText.

Revision 26017 - Directory Listing
Modified Thu Jul 1 17:42:56 2004 UTC (11 years, 2 months ago) by fdrake
claim a little glory

Revision 26016 - Directory Listing
Modified Thu Jul 1 16:11:22 2004 UTC (11 years, 2 months ago) by fdrake
Convert more documentation to reStructuredText.

Revision 26014 - Directory Listing
Modified Thu Jul 1 15:08:21 2004 UTC (11 years, 2 months ago) by fdrake
Convert to reStructuredText.

Revision 26009 - Directory Listing
Modified Wed Jun 30 22:01:01 2004 UTC (11 years, 2 months ago) by fdrake
Script templates should have their sh-bang lines re-written to use the
right Python interpreter.

Revision 26008 - Directory Listing
Modified Wed Jun 30 19:30:10 2004 UTC (11 years, 2 months ago) by fdrake
Correct botched merge committed in revision 25996.

The "required" flag for the template attribute should not have been dropped
when the documentation was updated; the corresponding change on the trunk
did not touch the "required" flag.

Revision 26000 - Directory Listing
Modified Tue Jun 29 17:35:41 2004 UTC (11 years, 2 months ago) by philikon
Merge revision 25999 from trunk: use utf-8 as default encoding when
interpreting request form data.

Revision 25998 - Directory Listing
Modified Tue Jun 29 15:26:31 2004 UTC (11 years, 2 months ago) by philikon
Merged packaging bugfix regarding ZCML slugs for zope.app.undo from trunk.

Revision 25996 - Directory Listing
Modified Tue Jun 29 15:11:35 2004 UTC (11 years, 2 months ago) by philikon
Merge documentation bugfix from trunk.

Revision 25967 - Directory Listing
Modified Thu Jun 24 13:58:59 2004 UTC (11 years, 2 months ago) by dominikhuber
merged from trunk 25938:
fixed IndexError: tuple index out of range

Revision 25961 - Directory Listing
Modified Wed Jun 23 19:39:08 2004 UTC (11 years, 2 months ago) by fdrake
Fix Python 2.4 compatibility.

Python 2.4 doesn't support the comparison of recursive objects, so we
have to implement the test of pickling/unpickling recursive objects
differently.

Revision 25960 - Directory Listing
Modified Wed Jun 23 19:38:53 2004 UTC (11 years, 2 months ago) by fdrake
Fix Python 2.4 compatibility.

The output of ConfigurationConflictError.__str__() depended on the
order items were retrieved from a dictionary; sorting the items prior
to presentation avoids dependence on both the string hashing algorithm
and insertion order, allowing the expected output to be portable
across Python versions.

Revision 25959 - Directory Listing
Modified Wed Jun 23 19:38:37 2004 UTC (11 years, 2 months ago) by fdrake
Fix Python 2.4 compatibility.

Iterator.length() doesn't work the same way for many iterators of
objects that support len() in Python 2.4, since many standard
iterators now do support len(), but don't return what's expected by
the Iterator implementation.  This is handled by changing the test to
use an iterator that doesn't provide __len__() in all cases.

The length() method would not work properly for iterators which do
support __len__(); the implementation has been changed so that it
does.  One side effect of this is that length() under Python 2.4 works
for more types than it did under Python 2.3, since many of the
iterators for standard types support len() in Python 2.4.

Revision 25958 - Directory Listing
Modified Wed Jun 23 19:38:21 2004 UTC (11 years, 2 months ago) by fdrake
Fix Python 2.4 compatibility.

While Python 2.3 used a single iterator type to support iteration over
dictionaries, Python 2.4 uses different types to support items, keys,
and values iterations.  We need to make sure declarations are made for
all of these types.

Revision 25955 - Directory Listing
Modified Wed Jun 23 18:28:17 2004 UTC (11 years, 2 months ago) by fdrake
fix typo in test class name

Revision 25954 - Directory Listing
Modified Wed Jun 23 17:16:16 2004 UTC (11 years, 2 months ago) by sidnei
Add missing sortKey method to ZopeDBTransactionManager and DataManagerAdapter, and also add it to the interface.

Revision 25952 - Directory Listing
Modified Wed Jun 23 12:09:29 2004 UTC (11 years, 2 months ago) by icemac
removed some whitespaces to find target easier using xpath in functional tests.

Revision 25946 - Directory Listing
Modified Tue Jun 22 21:01:51 2004 UTC (11 years, 2 months ago) by sidnei
A small fix (with a test) for a trailing semicolon on i18n:attributes, which would generate a very cryptic compilation error resulting from an indexerror raised inside talgenerator when compiling the page template.

Revision 25936 - Directory Listing
Modified Tue Jun 22 15:52:49 2004 UTC (11 years, 2 months ago) by fdrake
Merge revision 25935 from the trunk.

- move the accesslog configuration out of ZConfig

(The other change from revision 25935, the removal of the <hitlog> section,
was already made on the ZopeX3-3.0 branch.)

Revision 25931 - Directory Listing
Modified Mon Jun 21 21:03:51 2004 UTC (11 years, 2 months ago) by fdrake
Remove the <hitlog> section from zope.conf.

The name <hitlog> was added between the second alpha and the first beta,
and generated a deprecation warning by the time the second beta was released.

Revision 25927 - Directory Listing
Modified Mon Jun 21 16:33:22 2004 UTC (11 years, 2 months ago) by philikon
Merge revision 25926 from trunk

Makes browser:page{s}/view require a permission argument.

Revision 25923 - Directory Listing
Modified Mon Jun 21 14:42:08 2004 UTC (11 years, 2 months ago) by fdrake
clean up some boilerplate

Revision 25922 - Directory Listing
Modified Mon Jun 21 14:41:10 2004 UTC (11 years, 2 months ago) by fdrake
- remove development status classifier; this is now added by zpkg
- add C programming language classifier

Revision 25908 - Directory Listing
Modified Fri Jun 18 16:09:20 2004 UTC (11 years, 2 months ago) by fdrake
Read the username and password interactively.

Revision 25903 - Directory Listing
Modified Fri Jun 18 14:05:21 2004 UTC (11 years, 2 months ago) by hdima
Merged changes from trunk revision 25900

Revision 25902 - Directory Listing
Modified Fri Jun 18 14:01:59 2004 UTC (11 years, 2 months ago) by hdima
Merged changes from trunk revision 25899

Revision 25901 - Directory Listing
Modified Fri Jun 18 14:00:13 2004 UTC (11 years, 2 months ago) by hdima
Merged changes from trunk revision 25898

Revision 25410 - Directory Listing
Modified Sun Jun 13 15:06:09 2004 UTC (11 years, 2 months ago) by philikon
Correct comment to be inline with interface jargon

Revision 25389 - Directory Listing
Modified Sat Jun 12 13:19:36 2004 UTC (11 years, 2 months ago) by alga
Fixed a bug in getAllUtilitiesRegisteredFor which appeared when there
were no utilities registered.

This fix was applied on trunk in rev 25361.

Revision 25370 - Directory Listing
Modified Fri Jun 11 21:40:41 2004 UTC (11 years, 2 months ago) by srichter
Backported translation changes.

Revision 25365 - Directory Listing
Modified Fri Jun 11 19:39:38 2004 UTC (11 years, 2 months ago) by fdrake
add a pointer to new releases

Revision 25355 - Directory Listing
Modified Fri Jun 11 15:50:08 2004 UTC (11 years, 2 months ago) by fdrake
avoid dependency on zope.exceptions

Revision 25350 - Directory Listing
Modified Fri Jun 11 15:03:49 2004 UTC (11 years, 2 months ago) by fdrake
Move the distribution info for zope.interface here (from CVS).

Revision 25337 - Directory Listing
Modified Thu Jun 10 16:56:13 2004 UTC (11 years, 2 months ago) by fdrake
- remove unnecessary #! line

Revision 25335 - Directory Listing
Modified Thu Jun 10 16:54:28 2004 UTC (11 years, 2 months ago) by garrett
Merged r25334 from trunk.

Revision 25332 - Directory Listing
Modified Thu Jun 10 14:27:17 2004 UTC (11 years, 2 months ago) by ctheune
 - Backport of fix for a bug in TypeRegistry for
   zope.app.publisher.browser.globalbrowsermenuservice which allows passing
   classes instead of interfaces as well but has a missing import.


Revision 25328 - Directory Listing
Modified Thu Jun 10 13:05:49 2004 UTC (11 years, 2 months ago) by ctheune
- backport for bug #201 from trunk


Revision 25323 - Directory Listing
Modified Thu Jun 10 07:49:21 2004 UTC (11 years, 2 months ago) by hdima
Merged changes from the trunk (rev. 25322):
ZopeVersion now know about Subversion

Revision 25321 - Directory Listing
Modified Wed Jun 9 23:01:05 2004 UTC (11 years, 2 months ago) by garrett
Merged r25320 from trunk.

Revision 25319 - Directory Listing
Modified Wed Jun 9 21:09:07 2004 UTC (11 years, 2 months ago) by garrett
Merged r25318 from trunk.

Revision 25316 - Directory Listing
Modified Wed Jun 9 19:43:07 2004 UTC (11 years, 2 months ago) by garrett
Merged r25315 from trunk.

Revision 25314 - Directory Listing
Modified Wed Jun 9 10:14:08 2004 UTC (11 years, 2 months ago) by hdima
Merged changes from the trunk: updated POT and translation files

Revision 25313 - Directory Listing
Modified Wed Jun 9 10:09:43 2004 UTC (11 years, 2 months ago) by hdima
Removed unused attribute '_streaming'

Revision 25305 - Directory Listing
Modified Tue Jun 8 19:37:11 2004 UTC (11 years, 2 months ago) by fdrake
correct the development status Trove classifier

Revision 25300 - Directory Listing
Modified Tue Jun 8 19:18:17 2004 UTC (11 years, 2 months ago) by fdrake
Merge revision 25299 from trunk.

Correct publication metadata:
- Zope 3 is now covered by ZPL 2.1, not ZPL 2
- some metadata files actually hold version 1.1 metadata fields

Revision 25289 - Directory Listing
Modified Tue Jun 8 12:32:35 2004 UTC (11 years, 2 months ago) by eckart
merging the changes on the trunk (revision 25288)


Revision 25287 - Directory Listing
Modified Tue Jun 8 11:05:21 2004 UTC (11 years, 2 months ago) by hdima
Changes for I18nFile, I18nImage:

- Fixed bug with outdated getContentType() method
- Interface definitions updated

Revision 25276 - Directory Listing
Modified Sun Jun 6 09:23:04 2004 UTC (11 years, 3 months ago) by philikon
require python 2.3.4

Revision 25274 - Directory Listing
Modified Sun Jun 6 08:47:36 2004 UTC (11 years, 3 months ago) by philikon
Merge my recent changes on the trunk (rev 25269 through 25273)

Revision 25269 - Directory Listing
Modified Sat Jun 5 05:04:10 2004 UTC (11 years, 3 months ago) by fdrake
Change the way ZCML slugs are handled
- all are now handled the same way
- avoid extra repository fetches for each of these trivial files

Ported from trunk revision 25268.

Revision 25267 - Directory Listing
Modified Fri Jun 4 21:35:19 2004 UTC (11 years, 3 months ago) by jim
Removed weakref Python monkey patch

So Python 2.3.4 is now required.

Merged trunk 25266



Revision 25265 - Directory Listing
Modified Fri Jun 4 21:22:48 2004 UTC (11 years, 3 months ago) by tim_one
Merging Windows instructions from trunk, revs 25263 to 25264.

Revision 25258 - Directory Listing
Modified Fri Jun 4 15:35:07 2004 UTC (11 years, 3 months ago) by jim
*** empty log message ***

Revision 25256 - Directory Listing
Modified Fri Jun 4 15:33:17 2004 UTC (11 years, 3 months ago) by jim
Merged fix from trunk (25246)

Revision 25253 - Directory Listing
Modified Fri Jun 4 15:20:26 2004 UTC (11 years, 3 months ago) by jim
Cut startup time in half :)

Merged revisions 25249 - 25251 from trunk

Revision 25244 - Directory Listing
Modified Thu Jun 3 20:42:26 2004 UTC (11 years, 3 months ago) by fdrake
add an <accesslog> section to the template configuration file

Revision 25243 - Directory Listing
Modified Thu Jun 3 20:40:53 2004 UTC (11 years, 3 months ago) by tim_one
OnlineHelpResource.__init__()
Merge Windows fix from trunk:  open binary files in binary mode.
Repairs Windows-specific test failures.

Revision 25242 - Directory Listing
Modified Thu Jun 3 20:38:44 2004 UTC (11 years, 3 months ago) by fdrake
Changes to access logging:
- it's called "access" logging, not "hit" logging
- keep the "hitlog" configuration section, but generate a
  DeprecationWarning telling that the "accesslog" section is preferred

Response to checkin message from revision 25133, which introduced <hitlog>:

I wish I'd had time to review the original introduction of <hitlog>
when it went in; it would not be where it is now.  The changes to
ZConfig will not be eternalized to the ZConfig project; I'll have to
change things around before the second beta.

Hopefully I'll be able to review zope.server.logger at that point as
well.

Revision 25241 - Directory Listing
Modified Thu Jun 3 19:47:08 2004 UTC (11 years, 3 months ago) by jim
Ripped out Persistent code support

It's not ready for production.  This includes
persistent modules, interfaces, and schema.

Revision 25239 - Directory Listing
Modified Thu Jun 3 19:04:37 2004 UTC (11 years, 3 months ago) by jim
Copied from: Zope3/trunk revision 25238
Creayed Zope X3 3.0 branch

Revision 25238 - Directory Listing
Modified Thu Jun 3 18:06:28 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Removed the unused persistence package.

Revision 25236 - Directory Listing
Modified Thu Jun 3 17:33:16 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Recopied ZODB packages from trunk, -r25233

Revision 25235 - Directory Listing
Modified Thu Jun 3 17:32:30 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
zope.app.session will not be included in Zope X3

Revision 25234 - Directory Listing
Modified Thu Jun 3 17:31:17 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Deleted zodb packages in preparation for recopy.

Revision 25231 - Directory Listing
Modified Thu Jun 3 15:11:27 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Recopied ZODB packages from ZODB/tags/3.3b1

Revision 25230 - Directory Listing
Modified Thu Jun 3 15:08:11 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Removed ZODB packages in preparation for recopying.

Revision 25229 - Directory Listing
Modified Thu Jun 3 14:20:11 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
use the right name for installation metadata file

Revision 25227 - Directory Listing
Modified Thu Jun 3 14:05:08 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
- add a different cycling import checker that simply lists detected cycles
  at the end; use that for --cyclic-imports
- use the report formatting helper for the FirstImportReporter

Revision 25226 - Directory Listing
Modified Thu Jun 3 12:54:33 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated. 100%! So now it's the time to start
searching untranslated terms in codebase... :-)

Revision 25225 - Directory Listing
Modified Thu Jun 3 12:03:56 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
ignore access.log

Revision 25224 - Directory Listing
Modified Thu Jun 3 12:02:08 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Jim forgot to use the ZPL 2.1 license header

Revision 25223 - Directory Listing
Modified Thu Jun 3 12:01:26 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
spell my name right

Revision 25222 - Directory Listing
Modified Thu Jun 3 10:21:24 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Test file that I forgot to add yesterday.

Revision 25221 - Directory Listing
Modified Thu Jun 3 08:09:09 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
fixed a few typos

Revision 25219 - Directory Listing
Modified Thu Jun 3 05:10:47 2004 UTC (11 years, 3 months ago) by BjornT
Original Path: Zope3/trunk
Made AbsoluteURL handle unicode names.

__str__ and __call__ encode the name into UTF-8 and url quote it to
convert the name to ASCII. Also added __unicode__ to get a unicode
representation of the url.

Revision 25202 - Directory Listing
Modified Wed Jun 2 20:02:42 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add a helper function to produce a simple two-column report

Revision 25201 - Directory Listing
Modified Wed Jun 2 19:51:07 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
- be a little more careful in reporting failures to import;
  weird edge case
- add a function written while trying to figure out import.c from
  Python; not yet sure if this will be useful, but want to save it

Revision 25200 - Directory Listing
Modified Wed Jun 2 19:37:55 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add a test that exceptions raised by the exception callback override the original exception

Revision 25198 - Directory Listing
Modified Wed Jun 2 19:30:12 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Removed the machinery for configuring servers from ZCML.
This created a lot of unnecessary complexity.

Revision 25197 - Directory Listing
Modified Wed Jun 2 19:27:47 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
minor code cleanup

Revision 25190 - Directory Listing
Modified Wed Jun 2 16:43:25 2004 UTC (11 years, 3 months ago) by dominikhuber
Original Path: Zope3/trunk
- fixed type error caused by @@EditMetaData.html
- __metaclass__ removed

Revision 25179 - Directory Listing
Modified Wed Jun 2 13:26:15 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added depenency file.

Revision 25178 - Directory Listing
Modified Wed Jun 2 13:20:30 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added 2004

Revision 25177 - Directory Listing
Modified Wed Jun 2 13:17:31 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Updated to use ZPL 2.1.

Revision 25176 - Directory Listing
Modified Wed Jun 2 12:44:28 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Changed the tales ob/adapter: mechanism to use named adapters to IPathAdapter

I forgot to add this file, so it didn't get checked in yesterday.

Revision 25175 - Directory Listing
Modified Wed Jun 2 10:41:32 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Update German translations.

Revision 25174 - Directory Listing
Modified Wed Jun 2 09:14:26 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Merged all translations

Revision 25173 - Directory Listing
Modified Wed Jun 2 09:13:29 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 25172 - Directory Listing
Modified Wed Jun 2 09:12:21 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
POT file updated

Revision 25171 - Directory Listing
Modified Wed Jun 2 09:11:55 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
I18n updated

Revision 25170 - Directory Listing
Modified Wed Jun 2 08:16:29 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Warnings about getUtility() corrected

Revision 25169 - Directory Listing
Modified Wed Jun 2 03:47:07 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Cleanup of component API and its use. Specific changes to API:

- The 'name' and 'default' arguments in queryAdapter and queryUtility have beeen swapped -- the 'name' argument now precedes the 'default' argument.

- getNamedAdapter and queryNamedAdapter have been deleted. Use instead getAdapter and queryAdapter respectively, supplying the 'name' argument.

- queryService has been deleted. Use getService to obtain a service, which rauses ComponentLookupError is the service is not available.

Revision 25167 - Directory Listing
Modified Tue Jun 1 23:32:44 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Changed the tales ob/adapter: mechanism to use named adapters to IPathAdapter

Now, to register a path adapter, register a named adapter to
IPathAdapter.

Removed the tales:namespace zcml directive.  (also merged 
metadirectives.py into metaconfigure.py.)


Revision 25166 - Directory Listing
Modified Tue Jun 1 22:51:08 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added ++adapter++ traversal namespace.  

It traverses by getting named adapters to 
IPathAdapter.


Revision 25165 - Directory Listing
Modified Tue Jun 1 21:54:23 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Defered remaining todo items till next release.

Revision 25164 - Directory Listing
Modified Tue Jun 1 21:28:07 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Made zope.app.session an optional package.

This required moving it's bootstrap code 
to zope.app.session.


Revision 25163 - Directory Listing
Modified Tue Jun 1 20:51:45 2004 UTC (11 years, 3 months ago) by BjornT
Original Path: Zope3/trunk
The request's PATH_INFO variable is a unicode string now, so that
the error service doesn't bail out when unicode urls are used.

Revision 25162 - Directory Listing
Modified Tue Jun 1 20:32:54 2004 UTC (11 years, 3 months ago) by Zen
Original Path: Zope3/trunk
Default ISessionDataContainer should be unnamed

Revision 25157 - Directory Listing
Modified Tue Jun 1 19:17:55 2004 UTC (11 years, 3 months ago) by nathan
Original Path: Zope3/trunk
Updated jobboard object paths so that it works with the new(er) directory layout.

Revision 25156 - Directory Listing
Modified Tue Jun 1 17:38:29 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Forgot to update the .mo files.

Revision 25155 - Directory Listing
Modified Tue Jun 1 17:37:17 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Updated translations

- Updated zope.pot
- Merged all translations
- Corrected mistakes in the German translation
- Rectified fuzzies in Spanish translation

Revision 25154 - Directory Listing
Modified Tue Jun 1 17:35:44 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Fix a completely insane usage of i18n:translate.

It is completely useless, to chunk up complicated statements into words
and get a translation for each single word independently. Foreign
languages don't necessarily expect words in that order. Thus, no matter
how complicated a statement is (including insertions from variables),
always try to request translations of whole sentences. Remember that
the position of numbers, punctuation and names can always change in
other languages, so don't hesitate to include them in the message id.

Revision 25153 - Directory Listing
Modified Tue Jun 1 17:32:30 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
persistence package is gone, thus get rid of XXX comment

Revision 25152 - Directory Listing
Modified Tue Jun 1 15:38:50 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
removed the entry about the Help System.

Revision 25151 - Directory Listing
Modified Tue Jun 1 15:06:03 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Updated use of zapi.getUtility.

Revision 25150 - Directory Listing
Modified Tue Jun 1 14:46:11 2004 UTC (11 years, 3 months ago) by dominikhuber
Original Path: Zope3/trunk
ILocation changes

Revision 25149 - Directory Listing
Modified Tue Jun 1 14:44:55 2004 UTC (11 years, 3 months ago) by dominikhuber
Original Path: Zope3/trunk
Changed ILocation interface: __name__ is not required
anymore and its default is None.

Revision 25148 - Directory Listing
Modified Tue Jun 1 11:37:58 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
saner page title

Revision 25147 - Directory Listing
Modified Tue Jun 1 10:56:45 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
recorded changes.

Revision 25146 - Directory Listing
Modified Tue Jun 1 10:56:42 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
When getting removed events for registrations, do nothing if the
event object is the enclosing site.

No longer need a remove-event subscriber for registration managers
that deletes registrations.  This was done to trigger remove events,
but that's no longer necessary since we now get remove events for the
registrations when the registration manager is deleted by virtue of
sublocation dispatch.


Revision 25145 - Directory Listing
Modified Tue Jun 1 10:56:39 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added an ISublocations adapter to support dispatch of location events
to site managers as well as items.


Revision 25144 - Directory Listing
Modified Tue Jun 1 10:53:56 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
Online Help Restructuring - Part 2

 - Ripped out the internal registry of the OnlineHelp.
   OnlineHelpTopic instances are now registered as Utilities

 - Registration of Help Topics does not depend on
   the registration orde anymore.
   If an topic is registered with a non existant parent
   it is only registered as a Utility.
   If the missing parent is registered later, the topic
   will be available through the hierarchy as well.



Revision 25143 - Directory Listing
Modified Tue Jun 1 08:24:26 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
PO files updated with i18nmergeall.py

Revision 25142 - Directory Listing
Modified Tue Jun 1 08:21:37 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 25141 - Directory Listing
Modified Tue Jun 1 08:20:57 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
POT file updated

Revision 25140 - Directory Listing
Modified Tue Jun 1 08:20:30 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
APIDoc i18n updated

Revision 25138 - Directory Listing
Modified Mon May 31 16:20:35 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Added required flags for eventlog and hitlog, since zope/app/server/main.py assumes they exist -- improves the error message when zope.conf is not configured properly.

Revision 25137 - Directory Listing
Modified Mon May 31 15:40:19 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Corrected indent level on deprecation warning for one of the most central functions in Zope.

Revision 25136 - Directory Listing
Modified Mon May 31 14:33:42 2004 UTC (11 years, 3 months ago) by gintautasm
Original Path: Zope3/trunk
'Newest checkins' changed to 'Latest checkins'. Added some line breaks.

Revision 25135 - Directory Listing
Modified Mon May 31 13:57:08 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Updated German translation.

Revision 25133 - Directory Listing
Modified Sun May 30 21:54:54 2004 UTC (11 years, 3 months ago) by mgedmin
Original Path: Zope3/trunk
Made hit logging configurable in zope.conf (instead of being hardcoded to
sys.stdout).

There's a new section <hitlog> in zope.conf.  It is like <eventlog>, but
the log level and message formats are ignored (the hit log always uses
the "common" HTTP log format).

I hope the changes to ZConfig are acceptable.  If so, they should be merged to
ZConfig upstream repository.  If not, then the new hitlog section should be
moved to somewhere in zope/app/server by someone who knows more about ZConfig
than I do.

CommonHTTPHitLogger now uses a new IMessageLogger implementation called
PythonLogger.  This logger simply forwards every message to a logger named
'hitlog' from the Python logging module (which is configured by the
aforementioned <hitlog> sectioned).

I question the necessity of most of the other logger classes in
zope.server.logger -- it seems to me they're reimplementing the wheel (the
standard logging module).


Revision 25131 - Directory Listing
Modified Sat May 29 23:03:45 2004 UTC (11 years, 3 months ago) by rogerineichen
Original Path: Zope3/trunk
Bug fix in SequenceWidget. Make shure we just delete selected items if we push the "Delete selected items" button. Before this cleanup, we delete also the items if we select the item and push the "Change" button.

Revision 25130 - Directory Listing
Modified Sat May 29 17:15:59 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Added doctest for TextWidget convert_missing_value attribute.

Revision 25126 - Directory Listing
Modified Sat May 29 15:35:40 2004 UTC (11 years, 3 months ago) by Zen
Original Path: Zope3/trunk
import tweaks

Revision 25125 - Directory Listing
Modified Sat May 29 13:20:46 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added a ISublocations adapter for containers.

Revision 25124 - Directory Listing
Modified Sat May 29 12:39:08 2004 UTC (11 years, 3 months ago) by rogerineichen
Original Path: Zope3/trunk
Fix bug in PropertySheetDefinitionPermissionEditView. Use "Permission Ids" vocabulary for to render the DropDownWidget and use a hook over the permission id for to render the SELECT'ed permission. Are there other permission drop down widgets in use somewhere?

Revision 25123 - Directory Listing
Modified Sat May 29 12:21:19 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Removed unused type registries.

Revision 25122 - Directory Listing
Modified Sat May 29 12:20:42 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Removed the unused persistent type registry.

Revision 25121 - Directory Listing
Modified Sat May 29 12:19:53 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Copied type registry code here so we could remove it from zope.interface

The menu service will eventually go away and be replaced by a system
for managing menus using adapters.

Revision 25120 - Directory Listing
Modified Sat May 29 11:45:12 2004 UTC (11 years, 3 months ago) by rogerineichen
Original Path: Zope3/trunk
Fix bug in ContentComponentDefinition. Can't show permissions persistent. After you reboot Zope3 the permissions mapping don't show up. Theres a hook over permission id for to render the Permission in a DorpDownWidget needed. Permissions itself cant' be used for rendering in itemwidgets like the DropDownWidget.

Revision 25118 - Directory Listing
Modified Sat May 29 03:54:49 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Add a cyclic import detector.

Run "utilities/importtool --cyclic-imports somescript [scriptargs]" to run
somescript with the cycle detector enabled.  As soon as a cyclic import is
detected (which will often be well after the import is complete!) an exception
will be raised which reports the problem and the "import stack" that caused
import cycle to be detected.

Revision 25117 - Directory Listing
Modified Sat May 29 03:07:47 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add exception() method to minimal reporter

Revision 25116 - Directory Listing
Modified Sat May 29 03:06:17 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Adjust reporting API to deal with errors during import.

- add exception() method to report an exception during import; this allows
  a reporter implementation to maintain a stack of "active" imports
- in the tests, the "reports" ivar is not a stack, and cannot be treated
  as one (it is a serial event log)

Revision 25115 - Directory Listing
Modified Sat May 29 02:26:54 2004 UTC (11 years, 3 months ago) by Zen
Original Path: Zope3/trunk
Merged Zope3/branches/stub-session r25035:HEAD

Revision 25108 - Directory Listing
Modified Fri May 28 21:58:44 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added an event handler that dispatches object-location events to subobjects.

Revision 25107 - Directory Listing
Modified Fri May 28 21:39:53 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added check for false (None) provied interface for adapters, since we
can now register subscription adapters (aka handlers) that provide no
interface.

Revision 25105 - Directory Listing
Modified Fri May 28 21:07:54 2004 UTC (11 years, 3 months ago) by rogerineichen
Original Path: Zope3/trunk
Fix a bug in TextAreaWidget. The method _toFieldValue didn't convert the form request to unicode and we got not unicoded strings back which didn't pass the validate() call in the method getInputValue() . Because of this bug there was no way to activate a utility in the utility registration. I think there is still more work needed in the form/ widget part.


Revision 25102 - Directory Listing
Modified Fri May 28 20:36:45 2004 UTC (11 years, 3 months ago) by rogerineichen
Original Path: Zope3/trunk
Fix bug in ContentComponentDefinition/Registration. We don't have the permission to change the name to None in deactivate and to self.name in activate. Force this whit trustedRemoveSecurityProxy.

Revision 25098 - Directory Listing
Modified Fri May 28 19:49:45 2004 UTC (11 years, 3 months ago) by rogerineichen
Original Path: Zope3/trunk
Fix a bug in TextWidget. The method _toFieldValue didn't convert the form request to unicode and we got not unicoded strings back which didn't pass the validate() call in the method getInputValue() .
Because of this bug there was no way to activate a utility in the utility registration.
I think there is still more work needed in the form/ widget part.

Revision 25094 - Directory Listing
Modified Fri May 28 18:40:42 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
modify the zope.importtool.hook API so that the tests can run even when an
import hook from this package is already active

Revision 25092 - Directory Listing
Modified Fri May 28 17:27:43 2004 UTC (11 years, 3 months ago) by mgedmin
Original Path: Zope3/trunk
Changed two text files to refer to the persistent module rather than the
deprecated persistence module.


Revision 25090 - Directory Listing
Modified Fri May 28 16:45:45 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add script that shows how to use the import reporter to extract information;
this reports who the first importer is for all modules imported when running
some script

Revision 25089 - Directory Listing
Modified Fri May 28 16:04:07 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Use a tagged location instance rather than an instance of a new class
ro represent the application controller's root object.

Revision 25088 - Directory Listing
Modified Fri May 28 15:54:35 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
make sure the import hook can be called all the same ways the default
implementation of the hook can be called, and returns the same results

Revision 25087 - Directory Listing
Modified Fri May 28 15:49:00 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
fixed wrong doc string

Revision 25086 - Directory Listing
Modified Fri May 28 15:47:44 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
fixed wrong module docstring

Revision 25084 - Directory Listing
Modified Fri May 28 14:38:07 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
added online help restructuring

Revision 25083 - Directory Listing
Modified Fri May 28 14:22:59 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
OnlineHelp Restructuring

- Changed onlinehelp servic to a utility
- moved namespace handling from zope.app.traversing to zope.app.onlinehelp
- added support for help resources (i.e. images).
- changed standard help topics to STX format
- added and updated help topic contents
- moved OnlineHelp / OnlineHelpTopic to their own modules


Revision 25082 - Directory Listing
Modified Fri May 28 13:59:16 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Version records reordered

Revision 25074 - Directory Listing
Modified Fri May 28 02:50:29 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add docstrings that explain when and how the methods of the reporter are called

Revision 25073 - Directory Listing
Modified Fri May 28 02:29:08 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
revise the interface for the reporter; there are now opportunities to intercept
the import both before and after the actual import has been performed

Revision 25072 - Directory Listing
Modified Fri May 28 02:27:35 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix tests; they were written and run before the test_hook module was moved to
a sub-package

Revision 25071 - Directory Listing
Modified Thu May 27 22:32:09 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
teaser for a runtime import analysis tool

Revision 25070 - Directory Listing
Modified Thu May 27 22:16:27 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Changed the appliation folder to use it's own root object to avoid an
unwanted dependency on zope.app.folder and to avoid a source of
circular imports.

Revision 25069 - Directory Listing
Modified Thu May 27 20:48:53 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add instrctions for creating an instance home

more is needed about what is interesting in the configuration; what should
be checked for each new instance, how can components be enabled or disabled
via the etc/package-includes/ directory, etc.

Revision 25068 - Directory Listing
Modified Thu May 27 20:26:45 2004 UTC (11 years, 3 months ago) by BjornT
Original Path: Zope3/trunk
Fixed so that a UnicodeDecodeError isn't produced when Internet
Explorer requests a page containing non-ISO-8859-1 characters.

Revision 25067 - Directory Listing
Modified Thu May 27 19:47:49 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix one more place where the "skel" directory name needs to be "zopeskel"

Revision 25066 - Directory Listing
Modified Thu May 27 19:35:05 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added action plans.

Revision 25065 - Directory Listing
Modified Thu May 27 19:15:19 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
restore dependency on zope.hookable, with a comment explaining why it is needed

Revision 25064 - Directory Listing
Modified Thu May 27 19:11:23 2004 UTC (11 years, 3 months ago) by BjornT
Original Path: Zope3/trunk
Fixed buglet in test. charset parameter was never used.

Revision 25060 - Directory Listing
Modified Thu May 27 17:55:17 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Removed constraint maintaining subscribers, which is replaced by
action plans. I think this can wait until X3.1.

I added the bit about zpt tales adapter syntax, which I think we need
to resolve now. Sigh.

I also think we need to make sessions a bit more usable, or take them
out.

Revision 25059 - Directory Listing
Modified Thu May 27 17:31:00 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added entries for event restructuring.

Revision 25058 - Directory Listing
Modified Thu May 27 17:19:04 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
rename text files to have .txt extensions to appease the Windows users

Revision 25057 - Directory Listing
Modified Thu May 27 17:15:43 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix dependency information

Revision 25056 - Directory Listing
Modified Thu May 27 17:15:10 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add missing dependency information

Revision 25055 - Directory Listing
Modified Thu May 27 17:14:09 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
handle some common exceptions more cleanly

Revision 25054 - Directory Listing
Modified Thu May 27 16:55:33 2004 UTC (11 years, 3 months ago) by mgedmin
Original Path: Zope3/trunk
Fixed z3checkins icon handling.


Revision 25053 - Directory Listing
Modified Thu May 27 16:16:07 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
update PACKAGE.cfg files to reflect directory removals

Revision 25052 - Directory Listing
Modified Thu May 27 16:05:27 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
zope.app.hub no longer exists

Revision 25051 - Directory Listing
Modified Thu May 27 15:59:34 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
rename the instance template to "zopeskel", so it is more obviously associated
with the Zope X3 installation on Windows

Revision 25047 - Directory Listing
Modified Thu May 27 14:29:22 2004 UTC (11 years, 3 months ago) by gintautasm
Original Path: Zope3/trunk
Changed the Zope3 checkin processing code to drop the mailing list name and
the first log line from the subject.

Revision 25046 - Directory Listing
Modified Thu May 27 13:41:07 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
PO files updated with i18nmergeall.py

Revision 25045 - Directory Listing
Modified Thu May 27 13:39:39 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 25044 - Directory Listing
Modified Thu May 27 13:39:11 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
POT file updated

Revision 25043 - Directory Listing
Modified Thu May 27 13:38:44 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
API Doc i18n updated

Revision 25042 - Directory Listing
Modified Thu May 27 13:05:35 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Updated to use event.notify rather than zope.app.publish.

Revision 25041 - Directory Listing
Modified Thu May 27 13:00:48 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Implemented: http://dev.zope.org/Zope3/SimplifyEventSystem

Merged the jim-simplifyevents branch:
  svn merge -r24988:HEAD \
  svn+ssh://svn.zope.org/repos/main/Zope3/branches/jim-simplifyevents

Revisions:
  25027, 25024, 25017, 25016, 25015, 25014, 25011, 25001, 25000, 24999,
  24998, 24997, 24996

Summary of changes:

  - We had an object hub service. The object hub service was responsible
    for:

    - Managing short ids for objects, useful for indexing

    - Keeping track of object locations.  This was important when the
      object hub was created, because it wasn't practical to use direct
      object references. No it is, so hub ids are no-longer useful for
      implementing location-independent object references.

    The object hub service is dead.

    In the future, there will be a utility for use by indexes, that
    maintains short ids for objects. Perhaps this will be an indexing id
    service.

    The index and catalog machinery depend heavily on a facility for
    assigning shot ids to objects, currently the hub.  Rather than trying
    to remove this dependency now, and ad it back later when we have an
    index-id utility, it makes more sense to just remove the index and
    catalog facilities for now.

    Later, when we create an index-id utility, we'll port the code, which
    will still be in the repository, back.

  - Converted event subscribers to simple handlers implemented as
    simple Python functions.

  - Now all handlers are registered as subscription adapters using the
    subscriber directive (rather than event:subscribe).

  - No longer have IEvent.  There's no need for a common base
    interface. 

  - No longer have event publication or subscription services.


Revision 25040 - Directory Listing
Modified Thu May 27 04:15:38 2004 UTC (11 years, 3 months ago) by spascoe
Original Path: Zope3/trunk
updating documented location of functional.py

Revision 25039 - Directory Listing
Modified Thu May 27 03:33:46 2004 UTC (11 years, 3 months ago) by spascoe
Original Path: Zope3/trunk
typo fix

Revision 25038 - Directory Listing
Modified Thu May 27 03:30:30 2004 UTC (11 years, 3 months ago) by spascoe
Original Path: Zope3/trunk
fixed typos

Revision 25033 - Directory Listing
Modified Wed May 26 21:28:58 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix import: zope.testing.test --> zope.app.tests.test

Revision 25032 - Directory Listing
Modified Wed May 26 21:24:07 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
there is no warning about diff3 in the expected output on Windows anymore

Revision 25031 - Directory Listing
Modified Wed May 26 21:17:49 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
give this module a dummy test_suite() function to keep it from complaining
about itself

Revision 25030 - Directory Listing
Modified Wed May 26 20:53:45 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix import of persistence --> persistent

Revision 25029 - Directory Listing
Modified Wed May 26 20:50:44 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
specify the i18n text domain

Revision 25028 - Directory Listing
Modified Wed May 26 20:41:09 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add missing dependency information

Revision 25025 - Directory Listing
Modified Wed May 26 20:11:16 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
the persistence package will be going away; issue a DeprecationWarning

Revision 25023 - Directory Listing
Modified Wed May 26 20:04:11 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
the ZODB4 -> ZODB3 conversion utility is no longer needed

Revision 25021 - Directory Listing
Modified Wed May 26 19:15:53 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
move the body of test.py to zope.app.tests since it depends on zope.app.tests
for functional test support

Revision 25020 - Directory Listing
Modified Wed May 26 19:05:58 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Disentangle the zope.app.menu package from the Zope X3 components.
This involved moving a couple of basic views into the
zope.app.publisher.browser package; a better place may need to be found
later.

Revision 25019 - Directory Listing
Modified Wed May 26 18:36:45 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add missing dependency information

Revision 25018 - Directory Listing
Modified Wed May 26 18:22:18 2004 UTC (11 years, 3 months ago) by tim_one
Original Path: Zope3/trunk
hookable_init():  Two bugs.

+ This should be declared int, and return ints, instead of
  pointer-to-PyObject.  This probably accounts for "impossible"
  SystemErrors under Mac OS X when creating a hookable object.

+ Minor.  The name of the function should have been embedded
  in the arg format list, not in the keyword argument list.

Added more tests for this stuff.

Revision 25013 - Directory Listing
Modified Wed May 26 16:33:26 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
added a test for source type guessing of HTML Files

Revision 25012 - Directory Listing
Modified Wed May 26 15:58:58 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
- removed unused import
- added *.html (*.htm) as valid extensions 
  for source type 'zope.source.stx'

Revision 25010 - Directory Listing
Modified Wed May 26 14:34:09 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix whitespace error

Revision 25009 - Directory Listing
Modified Wed May 26 14:32:00 2004 UTC (11 years, 3 months ago) by ctheune
Original Path: Zope3/trunk
 - removed guidance document. will provide this outside the svn
 - removed (out-of-date) compiled ST document
 - updated ST:

   - working towards a complete description of auditing subsystem

   - initial description of the automated tests

   - completed listing of assurance measures

   - cleaned up assets, threats and objectives

   - removed inappriopriate OSPs

   - fixed some typos
   

Revision 25008 - Directory Listing
Modified Wed May 26 14:12:40 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
1. Added support for different source types.
The source type is determined by the file extension.

The supported source types are
 - plain text (*.txt)
 - structured text (*.stx)
 - restructured text (*.rst)

2. Changed tests of OnlineHelp and OnlineHelpTopic
to doctests



Revision 25007 - Directory Listing
Modified Wed May 26 14:07:15 2004 UTC (11 years, 3 months ago) by alga
Original Path: Zope3/trunk
Fixed the broken Services summary view, added a functional test and a unit
test.

Revision 25006 - Directory Listing
Modified Wed May 26 13:52:31 2004 UTC (11 years, 3 months ago) by gintautasm
Original Path: Zope3/trunk
Cosmetic fixes; edited a docstring, removed use of super().

Revision 25005 - Directory Listing
Modified Wed May 26 13:43:45 2004 UTC (11 years, 3 months ago) by gintautasm
Original Path: Zope3/trunk
Added some tweaks so that z3checkins can cleanly handle the somewhat
non-standard Zope 3 checkin mailing list messages. Added a test case
to test these tweaks. (Syntax highlighting is not tested, but I'm too
lazy.)

Revision 25004 - Directory Listing
Modified Wed May 26 13:34:21 2004 UTC (11 years, 3 months ago) by dominikhuber
Original Path: Zope3/trunk
bugfix: declare unique in class AbstractCollection

Revision 25002 - Directory Listing
Modified Wed May 26 12:40:51 2004 UTC (11 years, 3 months ago) by alga
Original Path: Zope3/trunk
Ensure that the global service service is not security proxied when returned
by getNextServices().

Revision 24992 - Directory Listing
Modified Wed May 26 11:16:39 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Reversed revision 24991 (svn merge -r 24991:24990 .),
which I accidentily committed in the wrong workspace.

Oops.


Revision 24991 - Directory Listing
Modified Wed May 26 11:12:10 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Removed support for event:subscribe directive, since we can just use 
subscription adapters.

Revision 24986 - Directory Listing
Modified Wed May 26 09:51:44 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Remove unused directory.

Revision 24985 - Directory Listing
Modified Wed May 26 09:36:50 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
the log message broke the thread because fromaddr and toaddrs
where not defined in the scope.


Revision 24984 - Directory Listing
Modified Wed May 26 09:32:12 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Updated doc string.

Revision 24982 - Directory Listing
Modified Wed May 26 09:26:20 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Changed the observer framework to use handlers rather than
subscribers.

Revision 24981 - Directory Listing
Modified Wed May 26 09:22:25 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Fixed a flaw in the handling of "handlers", which are subscription
adapters that do all of their work when the adapter "factories" are
called. They are registered with a "provided" interface of None.

This is a little weird because the flaw didn't actually break
anything. It would have caused a problem later in local subscriptions, 
but, because it doesn't affect the behavior here, I can't think of
a test for it.

Revision 24979 - Directory Listing
Modified Wed May 26 02:14:17 2004 UTC (11 years, 3 months ago) by spascoe
Original Path: Zope3/trunk
changed macro from /body to /addform after Jim's change to form/browser/add.pt

Revision 24978 - Directory Listing
Modified Tue May 25 22:15:05 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix yet another reference to the old zope.app.process package

Revision 24977 - Directory Listing
Modified Tue May 25 22:04:58 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix references to old zope.app.process package

Revision 24976 - Directory Listing
Modified Tue May 25 21:35:28 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
update to reflect the generated text

Revision 24975 - Directory Listing
Modified Tue May 25 20:46:06 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
translation_files is part of zope.app; it should not be listed as a separate
dependency

Revision 24974 - Directory Listing
Modified Tue May 25 20:43:25 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
remove unused imports

Revision 24973 - Directory Listing
Modified Tue May 25 20:40:43 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Modified the subscriber directive so that the provided interface can
be omitted.

Revision 24972 - Directory Listing
Modified Tue May 25 20:29:07 2004 UTC (11 years, 3 months ago) by ctheune
Original Path: Zope3/trunk
 - Removed border="1" attribute from the frameset that made the apidoc 
   pretty unusable for Mozilla

Revision 24971 - Directory Listing
Modified Tue May 25 20:19:32 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
remove unused namespace declarations

Revision 24970 - Directory Listing
Modified Tue May 25 19:42:52 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix typos

Revision 24969 - Directory Listing
Modified Tue May 25 19:23:56 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Allow None as a provided interface when registering or looking up
subscribers. We call these handlers, as they do all of their work when
they are called, rather than creating objects that provide some
interesting interface.

Revision 24968 - Directory Listing
Modified Tue May 25 19:06:25 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add missing packaging metadata

Revision 24967 - Directory Listing
Modified Tue May 25 18:51:28 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
separate zope.app.fssync from zope.app

Revision 24966 - Directory Listing
Modified Tue May 25 18:47:16 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
separate the fssync adapters for zope.app.dublincore, zope.app.module,
zope.app.site, and zope.app.utility

Revision 24965 - Directory Listing
Modified Tue May 25 17:45:08 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix typo in comment: adapater --> adapter

Revision 24964 - Directory Listing
Modified Tue May 25 17:27:46 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Moved the code from zope.app.traversing.__init__.py to
zope.app.traversing.api to avoid a common source of circular import
problems.

I'll note:

- We really need a tool for detecting circular imports. If I had such
  a tool, I would try hard to eliminate them. They are like land
  mines.

- Fat __init__.py files tend to produce circular imports.
  It's useful to have thin __init__.py files that import names for
  convenience, but this needs to be done with great care.

- I bet most uses of zope.app.traverse.api.traverse can go away
  now, since we don't care about context wrappers any more.

- I suspect that a lot of the path-manipulation calls can go away
  as we absorb the impacts of last summer's parentgeddon.

- Most of places that import zope.app.traverse.api should probably
  be converted to use zapi.



Revision 24963 - Directory Listing
Modified Tue May 25 16:58:29 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
very carefully, split the fssync adapters for zope.app.folder into a
separate, optional package

Revision 24959 - Directory Listing
Modified Tue May 25 12:46:20 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Moved session and principalannotation.

principalannotation is needed by copy and paste, so it's definately
needed for now. Perhaps, eventually, copy and paste should use
sessions instead.

sessions should probably ve viewed as core (whatever that means ;).

It would be really nice to get rid of menu before the next alpha.

Revision 24955 - Directory Listing
Modified Tue May 25 08:24:24 2004 UTC (11 years, 3 months ago) by dominikhuber
Original Path: Zope3/trunk
workflow bugfix: 
- fixed relevantDataSchema return unproxied schema
- fixed getPermissionId return permission.id

Revision 24954 - Directory Listing
Modified Tue May 25 03:53:54 2004 UTC (11 years, 3 months ago) by spascoe
Original Path: Zope3/trunk
reformat line to 79 char limit

Revision 24953 - Directory Listing
Modified Tue May 25 03:53:24 2004 UTC (11 years, 3 months ago) by spascoe
Original Path: Zope3/trunk
fix typo

Revision 24952 - Directory Listing
Modified Tue May 25 03:50:11 2004 UTC (11 years, 3 months ago) by spascoe
Original Path: Zope3/trunk
With the split of fssync, the factory name changed; corrected it

Revision 24951 - Directory Listing
Modified Tue May 25 03:47:33 2004 UTC (11 years, 3 months ago) by spascoe
Original Path: Zope3/trunk
corrected the filename

Revision 24950 - Directory Listing
Modified Tue May 25 02:56:09 2004 UTC (11 years, 3 months ago) by spascoe
Original Path: Zope3/trunk
fix typo

Revision 24949 - Directory Listing
Modified Mon May 24 21:50:35 2004 UTC (11 years, 3 months ago) by tim_one
Original Path: Zope3/trunk
Another typo.

Revision 24948 - Directory Listing
Modified Mon May 24 21:49:13 2004 UTC (11 years, 3 months ago) by tim_one
Original Path: Zope3/trunk
Typo repair.

Revision 24947 - Directory Listing
Modified Mon May 24 20:24:21 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
split fssync support for zope.app.registration into a separate package

Revision 24945 - Directory Listing
Modified Mon May 24 20:00:04 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
remove unused namespace declaration

Revision 24944 - Directory Listing
Modified Mon May 24 19:58:34 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
make zope.app.dtmlpage.fssync a separate component

Revision 24943 - Directory Listing
Modified Mon May 24 19:56:19 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
split out fssync adapters for zope.app.dtmlpage

Revision 24941 - Directory Listing
Modified Mon May 24 19:17:48 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add a very brief description of what is in the zope.app.presentation package;
please elaborate if you are familiar with the content of this package

Revision 24940 - Directory Listing
Modified Mon May 24 19:02:42 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added a name to the location proxy created around exceptions, since
views around the error seem to want a name.

Revision 24939 - Directory Listing
Modified Mon May 24 19:01:42 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Split out the fssync adapters for zope.app.file and zope.app.zptpage; this
avoids the dependency on zope.fssync for these content types.

Revision 24938 - Directory Listing
Modified Mon May 24 18:42:17 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
rename ZCML slug (fixes spelling error, reference from SETUP.cfg)

Revision 24937 - Directory Listing
Modified Mon May 24 18:23:26 2004 UTC (11 years, 3 months ago) by tim_one
Original Path: Zope3/trunk
Point out that installing Zope3 by hand on Windows makes uninstallion difficult, and that using the Windows installer instead makes uninstallation easy.

Revision 24936 - Directory Listing
Modified Mon May 24 18:09:55 2004 UTC (11 years, 3 months ago) by tim_one
Original Path: Zope3/trunk
Oops!  No need to warn about diff3 twice.

Revision 24935 - Directory Listing
Modified Mon May 24 18:09:11 2004 UTC (11 years, 3 months ago) by tim_one
Original Path: Zope3/trunk
Note that the diff3 tests won't work on Windows.

Revision 24934 - Directory Listing
Modified Mon May 24 18:00:35 2004 UTC (11 years, 3 months ago) by tim_one
Original Path: Zope3/trunk
Repaired a bit of the Windows text.

Revision 24930 - Directory Listing
Modified Mon May 24 16:12:26 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add instructions for installing from the source distribution on Windows

Revision 24929 - Directory Listing
Modified Mon May 24 15:48:39 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
make the README.txt appear at the top of the source distribution

Revision 24928 - Directory Listing
Modified Mon May 24 15:47:43 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add a preliminary README.txt for use in the source distribution

Revision 24927 - Directory Listing
Modified Mon May 24 15:12:08 2004 UTC (11 years, 3 months ago) by stevea
Original Path: Zope3/trunk
Corrected typo in docstring.

Revision 24926 - Directory Listing
Modified Mon May 24 15:05:24 2004 UTC (11 years, 3 months ago) by stevea
Original Path: Zope3/trunk
Corrected "zope.interfaces" to "zope.interface".

Normalized number of spaces after a full stop.

Reflowed text.

Revision 24925 - Directory Listing
Modified Mon May 24 14:31:57 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
refactor to support better testing

Revision 24924 - Directory Listing
Modified Mon May 24 13:59:08 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
Onlinehelp fix.
Context help for interfaces and view work.

While traversing to the ++help++ namespace the onlinehelp instance
gets the context of the ++help++ namespace.
This is used in the view to extract the correct help topic.

Changed the way the help topics box is generated. It now
uses a recursivly called page template for rendering the 
links.

added a simple macro to the rotterdam skin, that is
used by the online help.

Added a functional test for the contex help


Revision 24923 - Directory Listing
Modified Mon May 24 12:18:46 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
PO files updated

Revision 24922 - Directory Listing
Modified Mon May 24 12:18:14 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 24921 - Directory Listing
Modified Mon May 24 12:17:36 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
POT file updated

Revision 24920 - Directory Listing
Modified Mon May 24 12:16:38 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
I18n doman for apidoc changed to "zope". Work on apidoc i18n started.

Revision 24919 - Directory Listing
Modified Mon May 24 11:07:32 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Updated to reflect the split of _app into appsetup and debug.

Revision 24918 - Directory Listing
Modified Mon May 24 11:06:43 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Exclude textindex.

Revision 24917 - Directory Listing
Modified Mon May 24 11:05:46 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Fixed the slug reference.

Revision 24916 - Directory Listing
Modified Mon May 24 11:03:58 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Fixed the slug reference.

Revision 24915 - Directory Listing
Modified Mon May 24 09:44:18 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
whitespace, boolean

Revision 24913 - Directory Listing
Modified Sun May 23 20:29:25 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Factored the file text-indexing support into a separately-distributed
package. 


Revision 24912 - Directory Listing
Modified Sun May 23 19:28:22 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Factored text-indexing support in zptpahe into a separately
distributed subpackage.

Revision 24911 - Directory Listing
Modified Sun May 23 19:24:49 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Fixed a bug:  The path-sniffing code was looking for a package that
no-longer exists.

Revision 24909 - Directory Listing
Modified Sun May 23 17:24:36 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Finally made the addform available as a macro. This is really great, 
since I can now write add forms that simply can extend the standard add 
form. The book's messageboard chapter demonstrates this nicely.

Revision 24908 - Directory Listing
Modified Sun May 23 16:57:51 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added a new method, getAllUtilitiesRegisteredFor that
allows one to find all utilities registered for an 
interface (or an interface extended by the interface), 
regardless of whether they have been overridden.

This is useful when you want to find all utilities
of a type to update them when an event has occured.


Revision 24907 - Directory Listing
Modified Sun May 23 16:31:13 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Updated an action. Makes workflows work again.

Revision 24906 - Directory Listing
Modified Sun May 23 16:21:33 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Changed the way ContentWorkflowsManagers are notified that objects are
created. We no-longer use a local event service. Rather, there is a
global subscriber that updates the object using all the
ContentWorkflowsManagers it can find.


Revision 24905 - Directory Listing
Modified Sun May 23 14:13:30 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Make use of new "Content Types" vocabulary.

Revision 24904 - Directory Listing
Modified Sun May 23 14:13:04 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Include new content type ZCML file.

Revision 24903 - Directory Listing
Modified Sun May 23 14:12:37 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Added "Content Types" vocabulary and registered "IContentType" as an 
interface. 

Revision 24902 - Directory Listing
Modified Sun May 23 11:57:31 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Sort the items by the token, therefore the name. This makes it easier to 
find entries in the UI.


Revision 24901 - Directory Listing
Modified Sun May 23 11:54:37 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Removed silly accessor and mutator methods.

Resolved XXX comment for permissions.

Remove all custom fields; for the trigger mode we use just a simple Choice
field. sourceState and destinationState are also Choice fields using the new
"Workflow State Names" vocabulary.

Revision 24900 - Directory Listing
Modified Sun May 23 11:54:34 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Added vocabulary for states of a stateful process definition. This way we can
have a nice Choice field and selection box for the sourceState and
destinationState.


Revision 24899 - Directory Listing
Modified Sun May 23 11:54:31 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Removed encoding of unicode strings. Why do we want to keep encodings around?

Also, the transitions now store permission *ids*.


Revision 24898 - Directory Listing
Modified Sun May 23 11:54:24 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Got rid __metaclass__ declaration, since it is unnecessary.


Revision 24897 - Directory Listing
Modified Sun May 23 11:54:21 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Do not use the accessor methods anymore. We are using attributes only now.


Revision 24896 - Directory Listing
Modified Sun May 23 11:54:01 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Removed silly accessor and mutator methods.

Added vocabulary for states of a stateful process definition. This way we can
have a nice Choice field and selection box for the sourceState and
destinationState.


Revision 24895 - Directory Listing
Modified Sun May 23 11:53:57 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Added a new vocabulary that selects permission ids instead of permission
objects.


Revision 24894 - Directory Listing
Modified Sun May 23 11:53:50 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Jim changed the API.


Revision 24893 - Directory Listing
Modified Sun May 23 11:53:45 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Changed the link to go to a management view, which seems much more helpful.


Revision 24884 - Directory Listing
Modified Sat May 22 18:31:47 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
- Created functions to encapsulate the thread-global management of
  sites because we don't actually want to store the site in the thread
  global. We want to store the site manager. Later, there is some
  interesting caching that we can do. We need to encapsulate the site
  management to do this.

- Caused PlacefulSetup to register the site when someone calls
  makeSite. 

- Added an API function, getGlobalService to explicitly get a global
  service.



Revision 24883 - Directory Listing
Modified Sat May 22 17:30:08 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Changed getUtilitiesFor to be consistent with recent
component-architecture changes.


Revision 24880 - Directory Listing
Modified Sat May 22 10:35:24 2004 UTC (11 years, 3 months ago) by gintautasm
Original Path: Zope3/trunk
updated a deprecated type of call to getUtility().

Revision 24879 - Directory Listing
Modified Sat May 22 09:40:21 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Removed unused event support.

(If we need event support later, we'll do it differently.)

Revision 24878 - Directory Listing
Modified Sat May 22 09:39:06 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Don't process ftesting.zcml if no functional tests were found.

Revision 24876 - Directory Listing
Modified Sat May 22 01:59:25 2004 UTC (11 years, 3 months ago) by alga
Original Path: Zope3/trunk
Renamed nextservice.py to localservice.py, because that's what it is
about.  Renamed ...ServiceManager() functions to ...Services() to be
in line with getServices().


Revision 24875 - Directory Listing
Modified Sat May 22 01:57:30 2004 UTC (11 years, 3 months ago) by alga
Original Path: Zope3/trunk
Added a facility to set the site thread global during the functional
tests.  Ensured the site is reset to its previous state after each
request and cleared after each test.

Revision 24874 - Directory Listing
Modified Sat May 22 01:57:25 2004 UTC (11 years, 3 months ago) by alga
Original Path: Zope3/trunk
True instead of 1.


Revision 24873 - Directory Listing
Modified Sat May 22 01:57:18 2004 UTC (11 years, 3 months ago) by alga
Original Path: Zope3/trunk
Removed trailing whitespace.


Revision 24872 - Directory Listing
Modified Sat May 22 01:57:03 2004 UTC (11 years, 3 months ago) by alga
Original Path: Zope3/trunk


Revision 24871 - Directory Listing
Modified Sat May 22 01:56:54 2004 UTC (11 years, 3 months ago) by alga
Original Path: Zope3/trunk
Made getServices() to use the site stored as a thread global for local
services lookup.  ZopePublication sends events before traversing each
object, and the site thread global is set by a subscriber to that
event if the object being traversed is an ISite.


Revision 24870 - Directory Listing
Modified Sat May 22 01:56:42 2004 UTC (11 years, 3 months ago) by alga
Original Path: Zope3/trunk
Set the site thread global when the code where needed.

Removed trailing whitespace.


Revision 24869 - Directory Listing
Modified Sat May 22 01:56:25 2004 UTC (11 years, 3 months ago) by alga
Original Path: Zope3/trunk
Updated the code to reflect the changes to the Component Architecture
API: the context is now the last argument and is optional.

getServiceManager() is now called getServices() or getGlobalServices().


Revision 24868 - Directory Listing
Modified Sat May 22 01:54:58 2004 UTC (11 years, 3 months ago) by alga
Original Path: Zope3/trunk
Changed the Component Architecture API to take context as the last
optional keyword argument. Backwards compatibility hacks provided
where reasonably possible.

Context no longer needs to be passed, as the nearest site is kept in a
thread global.  More info:
http://dev.zope.org/Zope3/FixedDefaultComponentLookup

Renamed getServiceManager(context) to getServices(context=None).

Introduced getGlobalServices().

A  +   src/zope/app/component/localservice.py
D      src/zope/app/component/nextservice.py
A  +   src/zope/app/component/tests/test_localservice.py
D      src/zope/app/component/tests/test_nextservice.py

Renamed nextservice.py to localservice.py, because that's what it is
about.  Renamed ...ServiceManager() functions to ...Services() to be
in line with getServices().


Revision 24865 - Directory Listing
Modified Fri May 21 21:22:20 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
- move some general code into helper functions
- make the ZCML handler properly support the -p/--packages option

Revision 24864 - Directory Listing
Modified Fri May 21 20:46:47 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Dependency tool:
- add -p/--packages option to report package names instead of module
  names
- add some tests (still minimal)
- fix bug in properly handling relative imports
- don't try to reduce the list of dependencies by removing contained
  packages; this would need to support the publication boundaries,
  which we don't support here (yet)

Revision 24863 - Directory Listing
Modified Fri May 21 19:45:52 2004 UTC (11 years, 3 months ago) by gintautasm
Original Path: Zope3/trunk
Really deleted svn:ignore on src/zope/app/mail/tests this time.

Revision 24862 - Directory Listing
Modified Fri May 21 19:38:11 2004 UTC (11 years, 3 months ago) by gintautasm
Original Path: Zope3/trunk
Removed svn:ignore for src/zope/app/mail/tests/mailbox, because
since Dmitry Vasiliev's change in revision 24765 the folder
is removed in the tests' tearDown() method.

Revision 24855 - Directory Listing
Modified Fri May 21 16:27:42 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
For some reason it wanted to sort the datamanagers there. However, the 
datamanagers do not support sortKey() methods, so that the sorting 
fails. I commented this out, so that it works again.

Tim, could you please check wether I did the right thing?


Revision 24854 - Directory Listing
Modified Fri May 21 16:26:04 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Not all containers might have a @@contents.html view, so just select the 
first found management view.

Revision 24853 - Directory Listing
Modified Fri May 21 16:24:39 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Removed a too long line.

Revision 24852 - Directory Listing
Modified Fri May 21 16:20:14 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
remove obsolete skin directory, since the onlinehelp
uses the rotterdam skin.


Revision 24851 - Directory Listing
Modified Fri May 21 16:15:47 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Changed the observable framework to use adapters.
(Rather than just subscribers.)


Revision 24850 - Directory Listing
Modified Fri May 21 15:37:46 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Restructured the location package to:

- Fix a circular-import problem

- get rid of a fat __init__.py.  Fat __init__.py modules
  are a major source of circular imports.

Moved some code into separate submodules. This, unfortunately, changed
lots of imports.


Revision 24849 - Directory Listing
Modified Fri May 21 15:16:48 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
- "Installation-type" field is no longer used, and has no effect
- added values for "Platform"

Revision 24847 - Directory Listing
Modified Fri May 21 13:35:06 2004 UTC (11 years, 3 months ago) by mgedmin
Original Path: Zope3/trunk
Added src/zope/app/mail/tests/mailbox to svn:ignore.


Revision 24846 - Directory Listing
Modified Fri May 21 12:16:49 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Force removal of the process directory.

Why didn't this happen before?

Revision 24845 - Directory Listing
Modified Fri May 21 10:02:59 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Finished updating debugger instructions.

Revision 24844 - Directory Listing
Modified Thu May 20 21:16:45 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added packaging meta data

Revision 24843 - Directory Listing
Modified Thu May 20 21:14:51 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Cleaned up startup, debugging and server-related module organization.

Created a new zope.app.appsetup package that gas general application setup
code.  This started with code from zope.app._app, which is now gone.
Moved zope.app.process.bootstrap and zope.app.process.event here.

Moved the request-factory interfaces from zope.app.process to
zope.app.publication. 

Moved the rest of zope.app.process to zope.app.server.
zope.app.server is now a theoretically optional package.

Created a zope.app.debug package for the debugger with code from the
now-gone zope.app._app.


Revision 24842 - Directory Listing
Modified Thu May 20 21:13:29 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Removed use of zapi, as this was causing import loops.

Unfortunately, anything imported recursively from zapi can't safely
use it. :(

Revision 24841 - Directory Listing
Modified Thu May 20 15:01:27 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added new basic event system.

Revision 24836 - Directory Listing
Modified Wed May 19 21:52:56 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
rename an instance variable to make more sense

Revision 24835 - Directory Listing
Modified Wed May 19 21:41:00 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
isSubPackageOf(): simplify the implementation

Revision 24834 - Directory Listing
Modified Wed May 19 21:39:06 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
start adding tests for the dependency tool

Revision 24833 - Directory Listing
Modified Wed May 19 20:35:40 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
split script up a bit

Revision 24831 - Directory Listing
Modified Wed May 19 18:40:01 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
move the implementation of finddeps.py to a package; this allows the script
to become a set of utility objects and tools covered by the unit testing
framework

Revision 24830 - Directory Listing
Modified Wed May 19 18:30:07 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
provide a main() function, in preparation for packagization

Revision 24829 - Directory Listing
Modified Wed May 19 18:24:44 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
- add/clarify some docstrings
- minor code cleanups

Revision 24826 - Directory Listing
Modified Wed May 19 16:06:28 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Cleanup after the release.

Revision 24825 - Directory Listing
Modified Wed May 19 12:36:44 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Register wiki skin template under correct name. This finally fixes
issue #209, since the wiki since didn't work either.

Revision 24824 - Directory Listing
Modified Wed May 19 12:26:07 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
getFactories() method rewritten

Revision 24823 - Directory Listing
Modified Wed May 19 12:20:38 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Small optimization

Revision 24822 - Directory Listing
Modified Wed May 19 12:15:44 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Fix issue #209. Macro aliases were only registered for Rotterdam
while they really are a very basic thing; thus moved them to the
Basic skin :). Thanks to Paolo Invernizzi for reporting.

Revision 24821 - Directory Listing
Modified Wed May 19 10:45:25 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
- use super() in setUp
- get rid of bogus tearDown
- whitespace cleanup

Revision 24820 - Directory Listing
Modified Wed May 19 10:37:59 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
- added missing tearDown
- cleanup of test code
- corrected module docstring

Revision 24819 - Directory Listing
Modified Wed May 19 10:36:42 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
added missing tearDown

Revision 24818 - Directory Listing
Modified Wed May 19 10:25:41 2004 UTC (11 years, 3 months ago) by gintautasm
Original Path: Zope3/trunk
Added the z3checkins product to the Zope 3 tree.

Revision 24817 - Directory Listing
Modified Wed May 19 09:45:58 2004 UTC (11 years, 3 months ago) by dominikhuber
Original Path: Zope3/trunk
deleted missleading copy/paste artefact observer.txt
removed unused imports and whitespaces

Revision 24816 - Directory Listing
Modified Wed May 19 09:37:20 2004 UTC (11 years, 3 months ago) by ctheune
Original Path: Zope3/trunk
 - changed /bin/env to /usr/bin/env as in test.py

Revision 24815 - Directory Listing
Modified Wed May 19 08:18:25 2004 UTC (11 years, 3 months ago) by ctheune
Original Path: Zope3/trunk
 - All other executable .py files use
   /usr/bin/env instead of /bin/env too, and /bin/env doesn't
   exist on all Linux variants over here, but /usr/bin/env does.

Revision 24812 - Directory Listing
Modified Tue May 18 20:00:18 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix up minor nits

Revision 24811 - Directory Listing
Modified Tue May 18 19:42:14 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
make it possible to test the base software installation on Windows

Revision 24809 - Directory Listing
Modified Tue May 18 18:45:05 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
use LogRecord.getMessage() instead of LogRecord.message, since it is always
available

Revision 24808 - Directory Listing
Modified Tue May 18 18:43:46 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add ZCML slugs for zope.app.catalog

Revision 24807 - Directory Listing
Modified Tue May 18 16:35:36 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Add support for running the tests from a built distribution, an installed
software home, and an instance.

Revision 24806 - Directory Listing
Modified Tue May 18 15:44:36 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Fixed a misspelled name.

Revision 24803 - Directory Listing
Modified Tue May 18 14:33:35 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
only load the mkzopeinstance script; the zbundle and zsync tools are not
in a state for exposure to end users

Revision 24802 - Directory Listing
Modified Tue May 18 13:54:17 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
PO files updated

Revision 24801 - Directory Listing
Modified Tue May 18 13:53:38 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 24800 - Directory Listing
Modified Tue May 18 13:52:57 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
zope.pot updated

Revision 24799 - Directory Listing
Modified Tue May 18 13:51:47 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Fixed a typos

Revision 24798 - Directory Listing
Modified Tue May 18 07:55:57 2004 UTC (11 years, 3 months ago) by ctheune
Original Path: Zope3/trunk
 - Transferred note from sprint


Revision 24796 - Directory Listing
Modified Tue May 18 06:30:10 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Expand Id keyword

Revision 24792 - Directory Listing
Modified Mon May 17 21:08:33 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
if there is no log.ini, cause the logging package to be completely silent

Revision 24791 - Directory Listing
Modified Mon May 17 20:55:07 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Turned test.py into a module in zope.testing.

The top-level test.py just calls that module.


Revision 24789 - Directory Listing
Modified Mon May 17 20:14:11 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Removed some unneeded packages.

Revision 24788 - Directory Listing
Modified Mon May 17 20:09:40 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Fixed two bugs discovered in tests build with '-b'

Revision 24787 - Directory Listing
Modified Mon May 17 20:02:49 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Changed to included test.py and log.ini in both the distro root and 
zope home

Revision 24786 - Directory Listing
Modified Mon May 17 20:02:45 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added a missing dependency on ZEO


Revision 24785 - Directory Listing
Modified Mon May 17 20:02:31 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added a missing dependency on structured text.


Revision 24783 - Directory Listing
Modified Mon May 17 19:10:15 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
move the ZopeX3 release metadata from the CVS repository
(was in the Releases/ZopeX3/ directory)

Revision 24782 - Directory Listing
Modified Mon May 17 19:05:40 2004 UTC (11 years, 3 months ago) by spascoe
Original Path: Zope3/trunk
corrected spelling error in text

Revision 24781 - Directory Listing
Modified Mon May 17 18:55:07 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Add placeholders in the skeleton so copies made indirectly through distutils
will not lose otherwise empty directories.

Revision 24780 - Directory Listing
Modified Mon May 17 18:52:14 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix the search for the Zope installation on Windows (correctly this time)

Revision 24779 - Directory Listing
Modified Mon May 17 17:46:34 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
support locating the software home on Windows as well

Revision 24777 - Directory Listing
Modified Mon May 17 16:23:57 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add template for zdaemon.conf; the "raw" version is not suitable

Revision 24776 - Directory Listing
Modified Mon May 17 16:22:27 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
set the executable bit for zopectl

Revision 24775 - Directory Listing
Modified Mon May 17 16:00:49 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
be a little more careful with some path manipulations

Revision 24774 - Directory Listing
Modified Mon May 17 15:43:50 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
initial version of the zopectl template

Revision 24773 - Directory Listing
Modified Mon May 17 11:09:27 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Updated skeletin to reflect recent changes,

Why do we need this file?

Revision 24772 - Directory Listing
Modified Mon May 17 10:54:37 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Adjusted packaging files to reflect configuration-file changes.

Revision 24771 - Directory Listing
Modified Mon May 17 10:11:08 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Modified the security-policy configuration to use the new grantAll
directive.  This allowa us to eliminate a dependency on other packages
with custom permissions. basically, we grant all permissions to
managers.

Also moved the include of the config file up to the top-level
directory. This needs tobe included after all of the package
includes. Also, the security policy is different from other packages,
since there must be exactly one security policy plugged in.

Perhaps the meta configuration should be combined with the regular
configuration.

Revision 24770 - Directory Listing
Modified Mon May 17 10:06:10 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added a new configuration directive to grant all permissions to a
role or principal.

Revision 24769 - Directory Listing
Modified Mon May 17 10:02:08 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added a utility function for getting an iterator over all permission ids.

Revision 24768 - Directory Listing
Modified Mon May 17 09:54:53 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
- modify description of schema field iface. Multiple interfaces can be selected.

Revision 24767 - Directory Listing
Modified Mon May 17 09:50:47 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
A functional test for ContentWorklowsManager.

- test adding of ContentWorkflowManager 
- test content mapping registry

Revision 24766 - Directory Listing
Modified Mon May 17 09:49:11 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
- added Id keyword
- added main method

Revision 24765 - Directory Listing
Modified Mon May 17 07:28:43 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Folder src/zope/app/mail/tests/mailbox should not be ignored
by SVN, but just removed inside test_directives.tearDown() method.

Revision 24762 - Directory Listing
Modified Mon May 17 05:44:54 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Had forgotton to take care of keyword expansion in z3.py

Revision 24761 - Directory Listing
Modified Mon May 17 05:39:10 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Fix keywords. Use $Id$ wherever possible; in text documents, it is
sometimes useful to use $Rev$ (svn's pendant of $Revision$) and/or $Date$
(which is short for $LastChangedDate$).

Revision 24760 - Directory Listing
Modified Mon May 17 05:33:50 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
remove executable bit

Revision 24759 - Directory Listing
Modified Mon May 17 05:18:31 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Unexpand $Id$ keyword in boiler-plate files.

Revision 24758 - Directory Listing
Modified Sun May 16 20:08:13 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added comment explaining spelling error.

Revision 24756 - Directory Listing
Modified Sun May 16 16:43:50 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added another missing bogus dependency.

Revision 24753 - Directory Listing
Modified Sun May 16 15:26:14 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Hacking in enough for first alpha release.

Revision 24750 - Directory Listing
Modified Sun May 16 14:39:09 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Remove 'persistence' from the list of documented pacakges, since it 
screwed up the distro.

Revision 24749 - Directory Listing
Modified Sun May 16 13:00:21 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Tell subversion to expand the Id keyword:
  - replaced old CVS expansion with a clean $Id$
  - set the svn:keywords property to "Id"

When you check-in files in the future and want $Id$ to be expanded,
make sure it reads "$Id$" in that file; then set svn:keywords to "Id".

Revision 24748 - Directory Listing
Modified Sun May 16 12:56:30 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Changed the location of package-incudes to skel/etc. I wish we didn't
have to specify this here.


Revision 24744 - Directory Listing
Modified Sun May 16 12:13:25 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
zope.publisher.browser is not a package

Revision 24741 - Directory Listing
Modified Sun May 16 11:43:32 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
zcml cleanup

Revision 24740 - Directory Listing
Modified Sun May 16 11:41:06 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
include package specific configuration file in the package itself.

Revision 24739 - Directory Listing
Modified Sun May 16 11:37:56 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Module docstring

Revision 24738 - Directory Listing
Modified Sun May 16 11:26:09 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Be more verbose when a utility cannot be found. Nowadays, utilities
often have names.

Revision 24737 - Directory Listing
Modified Sun May 16 11:24:26 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Updated the batch commit script to be svn-ready.

Revision 24735 - Directory Listing
Modified Sun May 16 11:07:06 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Fixed bad svn urls.  We need to figure out how to avoid these urls
here.

Revision 24734 - Directory Listing
Modified Sun May 16 02:10:26 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Renamed the securitypolicy include back to its original name.
Added includes for the packages that need to be loaded first.

These dependencies are bogus.  We need a better way of handling
grants for permissions from products.


Revision 24733 - Directory Listing
Modified Sun May 16 02:08:07 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Changed the include directive so that it can be used multiple times
for the same file. This allows a package to include configurations it
depends on from other files.



Revision 24727 - Directory Listing
Modified Sat May 15 20:59:14 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Fixed a copy/paste error.

Revision 24721 - Directory Listing
Modified Sat May 15 18:02:32 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added new endRequest publication method (hook)

This is needed so we can end an interaction when a request is
no-longer used.



Revision 24718 - Directory Listing
Modified Sat May 15 16:31:38 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Made tests less brittle

Revision 24717 - Directory Listing
Modified Sat May 15 16:26:36 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added missing include for the catalog package. This is needed for the
catalog ftests.

Revision 24716 - Directory Listing
Modified Sat May 15 13:21:15 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Made Zope 3 start up again.

Revision 24715 - Directory Listing
Modified Sat May 15 13:14:58 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
better

Revision 24714 - Directory Listing
Modified Sat May 15 13:14:41 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Mess up.

Revision 24713 - Directory Listing
Modified Sat May 15 12:37:22 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Remove help screen; online help is in a miserable state anyways.

Revision 24712 - Directory Listing
Modified Sat May 15 12:36:21 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Move zope.app.adapter configuration further down the list; it should 
have not been that far up anyways.

Revision 24711 - Directory Listing
Modified Sat May 15 12:20:53 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Added i18n_domain attribute to get rid of warning.

Revision 24710 - Directory Listing
Modified Sat May 15 11:32:22 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Removed sourcetype directive which was not used anymore since the 
refactoring.

Revision 24708 - Directory Listing
Modified Sat May 15 06:17:15 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
attempt to more reliably detect packaging component boundaries; this still
does not do what is really needed, which is to read PACKAGE.cfg files to
determine exactly where the boundaries are

Revision 24707 - Directory Listing
Modified Sat May 15 06:12:42 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Convert many packages in zope.app to use ZCML slugs in package-includes so
zope.app does not have to include them.  Some packages need to remain in
zope.app for now that will be removed before we are done; see the comments
in src/zope/app/PACKAGE.cfg.

Revision 24706 - Directory Listing
Modified Sat May 15 03:57:23 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add a dependency coming through ZCML

Revision 24705 - Directory Listing
Modified Sat May 15 03:53:41 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
update dependency information

Revision 24703 - Directory Listing
Modified Fri May 14 23:41:08 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Bug fix for UnpickleableError when changing a registration status.

Revision 24702 - Directory Listing
Modified Fri May 14 22:25:11 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Convert zope.app.index to use ZCML slugs in package-includes so zope.app
does not have to include zope.app.mail; zope.app is not allowed to depend on
contained packages.

Revision 24701 - Directory Listing
Modified Fri May 14 22:24:44 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Convert zope.app.index to use ZCML slugs in package-includes so zope.app
does not have to include zope.app.mail; zope.app is not allowed to depend on
contained packages.

Revision 24700 - Directory Listing
Modified Fri May 14 22:15:01 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
need to include zope.app.introspector

Revision 24696 - Directory Listing
Modified Fri May 14 21:34:36 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
zope.app.registration depends on zope.app.module, so include it for now
(this one should not be too hard to refactor later)

Revision 24694 - Directory Listing
Modified Fri May 14 21:08:34 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
zope.app.adapter is required by zope.app.utility, so cannot be split out

Revision 24693 - Directory Listing
Modified Fri May 14 21:07:30 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Convert zope.app.apidoc to use ZCML slugs in package-includes so zope.app
does not have to include zope.app.mail; zope.app is not allowed to depend on
contained packages.

Revision 24691 - Directory Listing
Modified Fri May 14 20:59:19 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix typos in ZCML slug installation info

Revision 24690 - Directory Listing
Modified Fri May 14 20:58:06 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
dependency information for zope.fssync

Revision 24689 - Directory Listing
Modified Fri May 14 20:38:54 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Add packaging support for zope.app.adapter ZCML slugs.

Revision 24688 - Directory Listing
Modified Fri May 14 20:36:27 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Convert zope.app.dav, .onlinehelp, .rdb to use ZCML slugs in package-includes so zope.app
does not have to include zope.app.mail; zope.app is not allowed to depend on
contained packages.

Revision 24686 - Directory Listing
Modified Fri May 14 20:16:50 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Got rid of pythonlib.

Revision 24685 - Directory Listing
Modified Fri May 14 20:13:34 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix typo that caused package-includes/*-meta.zcml not to be loaded

Revision 24684 - Directory Listing
Modified Fri May 14 20:02:42 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
normalize whitespace

Revision 24683 - Directory Listing
Modified Fri May 14 19:53:07 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Convert zope.app.mail to use ZCML slugs in package-includes so zope.app
does not have to include zope.app.mail; zope.app is not allowed to depend on
contained packages.

Revision 24681 - Directory Listing
Modified Fri May 14 19:25:41 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Change the way the zope.app.securitypolicy ZCML is loaded, so it can be
treated as an optional component.  This works for z.a.securitypolicy since it
is not a core component.

Revision 24678 - Directory Listing
Modified Fri May 14 19:04:59 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
another dependency: zope.app.pagetemplate.viewpagetemplatefile depends on
zope.pagetemplate

Revision 24677 - Directory Listing
Modified Fri May 14 18:59:57 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Fixed a bug that caused custom settings to persist across number format instances.

Revision 24675 - Directory Listing
Modified Fri May 14 18:57:21 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
zope.app.publisher.browser requires zope.app.pagetemplate, so include it

Revision 24674 - Directory Listing
Modified Fri May 14 18:56:27 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Added the generations pckage, which is new since this file was created.

Revision 24673 - Directory Listing
Modified Fri May 14 18:53:50 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Restore pagetemplate to the original way to include the ZCML; zope.app
always requires zope.app.pagetemplate.

Revision 24672 - Directory Listing
Modified Fri May 14 18:34:51 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Change the way the zope.app.pagetemplate ZCML is loaded, so it can be
treated as an optional component.

Revision 24671 - Directory Listing
Modified Fri May 14 18:07:07 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
another missing dependency: ThreadedAsync

Revision 24670 - Directory Listing
Modified Fri May 14 18:03:42 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
explain the lib/ directory in the instance home

Revision 24669 - Directory Listing
Modified Fri May 14 17:58:34 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
added missing dependency: zdaemon

Revision 24668 - Directory Listing
Modified Fri May 14 17:53:33 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Add a runzope script to run Zope X3 in the foreground.

Revision 24667 - Directory Listing
Modified Fri May 14 17:53:13 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Removed unused imports.

Revision 24666 - Directory Listing
Modified Fri May 14 17:36:17 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Add a lib/python/ directory to the instance home; it will contain a
README.txt file that tells what the directory is for and how to install
distutils-based Python packages into the instance.

Revision 24665 - Directory Listing
Modified Fri May 14 17:09:17 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
round out the ZCML provided in the instance; this is referenced from the
zope.conf generated from the template

Revision 24663 - Directory Listing
Modified Fri May 14 16:03:07 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
- add some information to an assertion
- create a destination directory before copying things into it

Revision 24657 - Directory Listing
Modified Fri May 14 15:51:44 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
another dependency, used by zope.app.interface

Revision 24655 - Directory Listing
Modified Fri May 14 15:20:01 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
add missing dependency information

Revision 24654 - Directory Listing
Modified Fri May 14 15:00:06 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
- accept a list of interfaces while adding new mappings

Revision 24652 - Directory Listing
Modified Fri May 14 14:49:08 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
- change the fields of the ContentProcessRegistry to use List.
  with Choice for value_type. This enables multi select widgets
  for both fields
- change to zapi.getUtilityFor

Revision 24651 - Directory Listing
Modified Fri May 14 14:12:55 2004 UTC (11 years, 3 months ago) by mgedmin
Original Path: Zope3/trunk
Told SVN to ignore src/zope/app/mail/tests/mailbox.


Revision 24650 - Directory Listing
Modified Fri May 14 14:04:20 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Flesh out the skeleton instance home a bit.

Revision 24649 - Directory Listing
Modified Fri May 14 13:45:49 2004 UTC (11 years, 3 months ago) by mgedmin
Original Path: Zope3/trunk
Renamed getInteraction to queryInteraction.


Revision 24648 - Directory Listing
Modified Fri May 14 13:41:59 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
make the template replacements more exactly match those used in the Zope 2
skeleton processing (to avoid spurious differences)

Revision 24647 - Directory Listing
Modified Fri May 14 13:22:58 2004 UTC (11 years, 3 months ago) by mgedmin
Original Path: Zope3/trunk
Made test.py executable.


Revision 24646 - Directory Listing
Modified Fri May 14 13:17:37 2004 UTC (11 years, 3 months ago) by mgedmin
Original Path: Zope3/trunk
Changed endInteraction not to throw when there is no active interaction.


Revision 24645 - Directory Listing
Modified Fri May 14 11:53:49 2004 UTC (11 years, 3 months ago) by faassen
Original Path: Zope3/trunk
Added note about __implements__ -> __implemented__.

Revision 24644 - Directory Listing
Modified Fri May 14 11:19:41 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Removed item Marius just finished.

Revision 24643 - Directory Listing
Modified Fri May 14 10:52:16 2004 UTC (11 years, 3 months ago) by mgedmin
Original Path: Zope3/trunk
Documented UnificationOfRequestsAndSecurityContextsThroughUse in CHANGES.txt


Revision 24642 - Directory Listing
Modified Fri May 14 10:45:25 2004 UTC (11 years, 3 months ago) by mgedmin
Original Path: Zope3/trunk
Merged Zope3/branches/mgedmin-security 24595:24640

This is UnificationOfRequestsAndSecurityContextsThroughUse:
  - Security managers and security contexts are gone.
  - Interactions and participations replace them.
  - BaseRequest is now IParticipation.
  - request.user was renamed to request.principal because of the above.


Revision 24641 - Directory Listing
Modified Fri May 14 10:41:07 2004 UTC (11 years, 3 months ago) by faassen
Original Path: Zope3/trunk
Merged Zope3/branches/faassen-interfaces 24617:24640. Since src/zope/interface/_zope_interface_coptimizations.c
 changed, you need to recompile your checkouts.

Revision 24640 - Directory Listing
Modified Fri May 14 05:29:58 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
pyskel.py moved; it is no longer a script provided by the package

Revision 24639 - Directory Listing
Modified Fri May 14 04:59:39 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
remove the BerkeleyDB example; it no longer makes sense

Revision 24638 - Directory Listing
Modified Thu May 13 22:14:09 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix typo: inclide --> include

Revision 24637 - Directory Listing
Modified Thu May 13 21:58:16 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Add a mkzopeinstance script that creates an instance based on an instance
template.

Revision 24636 - Directory Listing
Modified Thu May 13 21:25:32 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Move pyskel.py to utilities.


Revision 24635 - Directory Listing
Modified Thu May 13 20:03:44 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
fix typo; add mime type

Revision 24634 - Directory Listing
Modified Thu May 13 19:42:59 2004 UTC (11 years, 3 months ago) by jim
Original Path: Zope3/trunk
Wrote down some notes for some refactoring that should happen soon
after the alpha.

Revision 24632 - Directory Listing
Modified Thu May 13 18:58:45 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Move all interfaces for zope.app.process into a single module.

Revision 24629 - Directory Listing
Modified Thu May 13 16:07:31 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
- Added some functional tests for stateful process definitions


Revision 24628 - Directory Listing
Modified Thu May 13 16:05:56 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
- Added publishing of object modification after adding 
  the states and transitions container.

  Without publishing, the states and transitions container 
  could not be accessed with a browser.

- Ordered the import statements

Revision 24623 - Directory Listing
Modified Thu May 13 14:09:08 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Added missing attributes to CaseInsensitiveFolderFactory

Revision 24610 - Directory Listing
Modified Wed May 12 21:07:55 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
Make the Zope 3 components buildable from both a simple checkout and a
zpkg-constructed package; the directory layouts for these are very
different.

setup.py
  Instead of using src/ as a common directory added to the
  include_dirs list for many of the extensions, use the specific
  directories that are needed for each.  include_dirs is no longer
  used where not required.

src/zope/app/container/_zope_app_container_contained.c
src/zope/security/_proxy.c
  Don't include src/-relative path information in #include
  directives.

src/zope/proxy/_zope_proxy_proxy.c
  Don't include src/-relative path information in #include
  directives.  Add a comment explaining how to deal with some extreme
  code sharing with src/zope/app/container/.

src/zope/app/container/_zope_proxy_proxy.c
  An "svn copy" of src/zope/proxy/_zope_proxy_proxy.c; an extreme form
  of code sharing.

Revision 24606 - Directory Listing
Modified Wed May 12 20:21:50 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
publishing source as a header is evil, and we have another way
(also evil, but better isolated)

Revision 24590 - Directory Listing
Modified Wed May 12 14:59:48 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Remove accidentily converted ZopeUndo.

Revision 24589 - Directory Listing
Modified Wed May 12 13:19:13 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Translation files updated

Revision 24588 - Directory Listing
Modified Wed May 12 13:17:31 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 24587 - Directory Listing
Modified Wed May 12 13:16:33 2004 UTC (11 years, 3 months ago) by hdima
Original Path: Zope3/trunk
zope.pot updated

Revision 24586 - Directory Listing
Modified Wed May 12 11:33:57 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
ignore wiki mail-queue directory

Revision 24584 - Directory Listing
Modified Wed May 12 11:14:00 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Ignore some more files that are created for an inplace instance.
This resembles the old .cvsignore file.

Revision 24582 - Directory Listing
Modified Wed May 12 08:56:10 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Ignore files/directories that are result of a build process, such
as .so files.

Revision 24581 - Directory Listing
Modified Wed May 12 05:29:06 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
treat a directory with only a ".svn" directory as just as empty as a directory
containing only a "CVS" directory

Revision 24580 - Directory Listing
Modified Wed May 12 05:27:28 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
update some text to reflect that the repository is in Subversion rather than CVS

Revision 24577 - Directory Listing
Modified Tue May 11 21:49:13 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
The changes are definitely going to apply to alpha 1.

Also testing my SVN checkin capabilities.


Revision 13897 - Directory Listing
Modified Tue May 11 18:26:52 2004 UTC (11 years, 3 months ago) by root
Original Path: Zope3/trunk
Use tagged version of src/BTrees

Revision 13896 - Directory Listing
Modified Tue May 11 18:26:52 2004 UTC (11 years, 3 months ago) by root
Original Path: Zope3/trunk
Use tagged version of src/ZEO

Revision 13895 - Directory Listing
Modified Tue May 11 18:26:52 2004 UTC (11 years, 3 months ago) by root
Original Path: Zope3/trunk
Use tagged version of src/persistent

Revision 13894 - Directory Listing
Modified Tue May 11 18:26:51 2004 UTC (11 years, 3 months ago) by root
Original Path: Zope3/trunk
Use tagged version of src/ZopeUndo

Revision 13893 - Directory Listing
Modified Tue May 11 18:26:51 2004 UTC (11 years, 3 months ago) by root
Original Path: Zope3/trunk
Use tagged version of src/ZODB

Revision 13892 - Directory Listing
Modified Tue May 11 18:26:51 2004 UTC (11 years, 3 months ago) by root
Original Path: Zope3/trunk
Use tagged version of src/ThreadedAsync

Revision 13891 - Directory Listing
Modified Tue May 11 18:26:50 2004 UTC (11 years, 3 months ago) by root
Original Path: Zope3/trunk
Use tagged version of src/transaction

Revision 13890 - Directory Listing
Modified Tue May 11 18:26:50 2004 UTC (11 years, 3 months ago) by root
Original Path: Zope3/trunk
Use tagged version of ZConfig

Revision 13889 - Directory Listing
Modified Tue May 11 18:26:50 2004 UTC (11 years, 3 months ago) by root
Original Path: Zope3/trunk
Use tagged version of zdaemon

Revision 13888 - Directory Listing
Modified Tue May 11 18:24:59 2004 UTC (11 years, 3 months ago) by root
Original Path: Zope3/trunk
Set mime-type or svn-eol property from cvs expansion data

Revision 13887 - Directory Listing
Modified Tue May 11 12:53:54 2004 UTC (11 years, 3 months ago) by srichter
Original Path: Zope3/trunk
Update to do list to reflect Garret's and Gary's changes. Also, we decided
on IRC that the schema arithmetic can wait till after 3.0. Added Suresh to
the contributors list.

Revision 13886 - Directory Listing
Modified Tue May 11 11:23:58 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Update to DocFileSuite to accept a 'package' arg -- enables use of this
function outside of it's package.

Revision 13885 - Directory Listing
Modified Tue May 11 11:22:16 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Update to widget used for utility registration 'name' field to treat empty
strings as empty strings instead of field.missing_value.

Revision 13884 - Directory Listing
Modified Tue May 11 11:20:09 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Added support for converting unicode to Bool. Driver for this was the need
to specify a widget's 'required' value in ZCML.

Revision 13883 - Directory Listing
Modified Tue May 11 11:18:24 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Updates of widget implementations per browser widget framework refactor.

Revision 13882 - Directory Listing
Modified Tue May 11 11:17:36 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Updates of tests per browser widget framework refactor.

Revision 13881 - Directory Listing
Modified Tue May 11 11:16:28 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Refactor of browser widget framework per:

  http://dev.zope.org/Zope3/CleanupOfSchemaAndWidgets

Revision 13880 - Directory Listing
Modified Tue May 11 11:14:09 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Respelled 'required' attribute as bool field. This allows the value to be
specified via widget ZCML.

Revision 13879 - Directory Listing
Modified Tue May 11 11:11:52 2004 UTC (11 years, 3 months ago) by garrett
Original Path: Zope3/trunk
Created InputWidget mixin.

Revision 13878 - Directory Listing
Modified Tue May 11 07:10:17 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Get rid of useless markers.

Revision 13877 - Directory Listing
Modified Mon May 10 17:53:11 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
dependency information

Revision 13876 - Directory Listing
Modified Mon May 10 17:35:59 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
dependency information

Revision 13875 - Directory Listing
Modified Mon May 10 17:20:24 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
dependency information

Revision 13874 - Directory Listing
Modified Mon May 10 17:03:25 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
- fix typo in help text
- only print the huge banner when -l/--long is given

Revision 13873 - Directory Listing
Modified Mon May 10 16:29:39 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
dependency information

Revision 13872 - Directory Listing
Modified Mon May 10 16:22:48 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
dependency information

Revision 13871 - Directory Listing
Modified Mon May 10 16:14:50 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
dependency information

Revision 13870 - Directory Listing
Modified Mon May 10 16:00:49 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
more dependency information

Revision 13869 - Directory Listing
Modified Mon May 10 15:50:11 2004 UTC (11 years, 3 months ago) by fdrake
Original Path: Zope3/trunk
persistence is being completely replaced by persistent

Revision 13868 - Directory Listing
Modified Mon May 10 15:48:03 2004 UTC (11 years, 3 months ago) by eddala
Original Path: Zope3/trunk
this tool orders imported packages in .py files

Revision 13867 - Directory Listing
Modified Mon May 10 14:35:00 2004 UTC (11 years, 3 months ago) by BjornT
Original Path: Zope3/trunk
Fixed bug. name was supplied as the default argument to queryUtility.

Revision 13866 - Directory Listing
Modified Mon May 10 13:36:45 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
added a test for the change mail notification and sending

Revision 13865 - Directory Listing
Modified Mon May 10 13:32:13 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
changed the sending of change mails from direct use of smtplib to
use of a queued mail delivery.

Note, that this code breaks during a transaction commit. So if there are subscriptions to a message, editing of the message results in an AttributeError.

Revision 13864 - Directory Listing
Modified Mon May 10 13:26:08 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
added a mail directive for queued delivery of wiki change mails

Revision 13863 - Directory Listing
Modified Mon May 10 09:26:55 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
accidently used interface instead of factory

Revision 13862 - Directory Listing
Modified Mon May 10 09:21:54 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
Change menuItem directive for ContentWorkflowsManager to addMenuItem directive

Revision 13861 - Directory Listing
Modified Mon May 10 09:20:58 2004 UTC (11 years, 3 months ago) by eckart
Original Path: Zope3/trunk
ContentWorkflowsManager was missing an interface assertion of ILocalUtility an could not be added to a SiteManagementFolder

Should fix Issue #205

Revision 13860 - Directory Listing
Modified Mon May 10 06:44:48 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
new style classes, import clean ups, whitespace

Revision 13859 - Directory Listing
Modified Mon May 10 06:39:57 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
new-style classes.

Revision 13858 - Directory Listing
Modified Mon May 10 06:39:16 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
typo

Revision 13857 - Directory Listing
Modified Mon May 10 06:38:54 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
cleanup

Revision 13856 - Directory Listing
Modified Mon May 10 06:35:42 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk

Whitespace cleanup

Revision 13855 - Directory Listing
Modified Mon May 10 06:35:38 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk

Query absolute url view by interface, not by name.

Revision 13854 - Directory Listing
Modified Mon May 10 06:35:35 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk

Added AbsoluteURL view providing IAbsoluteURL to PlacelessSetup.

Revision 13853 - Directory Listing
Modified Mon May 10 06:18:25 2004 UTC (11 years, 3 months ago) by philikon
Original Path: Zope3/trunk
Correct assertion. The test case is a placeless one so there could be lots
of providing views for any object providing Interface.

Revision 13852 - Directory Listing
Modified Sat May 8 00:20:45 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Whitespace fix.

Revision 13851 - Directory Listing
Modified Sat May 8 00:12:17 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Fix for bug introduced in last change to this file.

Revision 13850 - Directory Listing
Modified Fri May 7 23:21:13 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Added a new vocabulary to represent the set of interfaces provided by
a utility registration's component object. This replaces the use of the
'Object Interfaces' vocabulary in the IUtilityRegistration schema, which was
using the interfaces provided by the registration object.

Revision 13849 - Directory Listing
Modified Fri May 7 23:17:05 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Reduced the font size of the traceback in the debug skin to fit more on the
page.

Revision 13848 - Directory Listing
Modified Fri May 7 23:16:06 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Fixed a bug that was causing errors during utility registration.

Revision 13847 - Directory Listing
Modified Fri May 7 19:46:13 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Deletion of row/label methods. Some minor test refactoring/formatting.

Revision 13846 - Directory Listing
Modified Fri May 7 19:45:10 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Added widget_row macro, which can be used whenever widget.row()
would otherwise be needed.

Revision 13845 - Directory Listing
Modified Fri May 7 19:43:49 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Renamed widget title and description to label and hint, respectively.

Revision 13844 - Directory Listing
Modified Fri May 7 19:43:26 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Updated tests per recent widget changes.

Revision 13843 - Directory Listing
Modified Fri May 7 19:42:30 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Deleted label and row methods from browser widget. Developers can
reuse 'row' logic via a new form macro 'widget_row'. E.g. instead of:

  <tal:block content="struct widget/row" />

you'd use:

  <metal:block use-macro="context/@@form_macros/widget_row" />

Note that 'widget' must be defined where the macro is used.

Revision 13842 - Directory Listing
Modified Fri May 7 19:41:33 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Created a page template to render the object widget since widget row
method is no longer available for use.

Revision 13841 - Directory Listing
Modified Fri May 7 19:39:44 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Deleted label and row methods from browser widget.

Revision 13840 - Directory Listing
Modified Fri May 7 19:38:38 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Replaced widget rows implementation with use of standard macro.

Revision 13839 - Directory Listing
Modified Fri May 7 19:37:06 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Deleted label and row methods from browser widget. Developers can
reuse 'row' logic via a new form macro 'widget_row'. E.g. instead of:

  <tal:block content="struct widget/row" />

you'd use:

  <metal:block use-macro="context/@@form_macros/widget_row" />

Note that 'widget' must be defined where the macro is used.

Revision 13838 - Directory Listing
Modified Fri May 7 19:33:31 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Renamed widget title and description to label and hint, respectively.

Revision 13837 - Directory Listing
Modified Fri May 7 08:57:47 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Check in partial work.

Revision 13836 - Directory Listing
Modified Thu May 6 17:14:06 2004 UTC (11 years, 4 months ago) by ctheune
Original Path: Zope3/trunk
 - completed list of subsystems for TOE summary
 - RST corrections

Revision 13835 - Directory Listing
Modified Thu May 6 17:09:56 2004 UTC (11 years, 4 months ago) by ctheune
Original Path: Zope3/trunk
 - small typo
 - put "nice to have" sections at the end of the file
 - completed list of authors
 - explained auditing subsystem for TOE summary
 - removed old/wrong TOE summary statements
 - minor annotations

Revision 13834 - Directory Listing
Modified Thu May 6 16:13:50 2004 UTC (11 years, 4 months ago) by poster
Original Path: Zope3/trunk
Convert the field collection behavior as described in
http://mail.zope.org/pipermail/zope3-dev/2004-May/010797.html

The Sequence field is removed.  As I spoke with Stephan, it may be acceptable to add the Sequence field back in if it actually means something.  Sequence did mean it was iterable but container access API was not described.  It should be described.  IPythonSequence might describe this API.  A Sequence widget should require specification of the factory.

Set now specifies a sets.Set.

IChoiceSequence was removed.

Revision 13833 - Directory Listing
Modified Thu May 6 15:46:06 2004 UTC (11 years, 4 months ago) by eddala
Original Path: Zope3/trunk
The renderAddButton method is deprecated, use nameAllowed method.

Revision 13832 - Directory Listing
Modified Thu May 6 15:42:34 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
- _createRequest(): convert "-" in headers to "_" in the environment;
  not doing this caused input information not to be picked up since
  the names in the environment weren't right.  In particular, the
  Content-Type header wasn't getting passed as CONTENT_TYPE, but as
  CONTENT-TYPE, which no one looks at.
- test_bad_contenttype(): RFC 2518 says this should generally be a 400
  response (though we should probably deal with these things more
  flexibly than these tests currently do; a 207 *could* encapsulate a
  single 400)
- test_contenttype3(): New test that checks for proper behavior for a
  Content-Type with parameters and non-lowercase major/minor value
(closes Zope3 collection bug #206)

Revision 13831 - Directory Listing
Modified Thu May 6 15:36:45 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
- parse the request Content-Type appropriately; parameters should not
  be used to determine the major/minor content type
- convert the major/minor to lower case before saving it, since it's
  always right to consider it without regard to case
(closes Zope3 collector bug #206)

Revision 13830 - Directory Listing
Modified Thu May 6 15:06:16 2004 UTC (11 years, 4 months ago) by spascoe
Original Path: Zope3/trunk
read through, correcting spelling, typos

Revision 13829 - Directory Listing
Modified Thu May 6 14:39:12 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Added permission and principal defs

Revision 13828 - Directory Listing
Modified Thu May 6 14:24:13 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Added sections for separate editing :)

Revision 13827 - Directory Listing
Modified Thu May 6 14:23:36 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Various small changes.

Revision 13826 - Directory Listing
Modified Thu May 6 10:20:43 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
We broke up with old pickles a while ago

Revision 13825 - Directory Listing
Modified Thu May 6 10:15:56 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
whitespace, typo

Revision 13824 - Directory Listing
Modified Thu May 6 10:14:12 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
We broke up with old pickles a while ago already.

Revision 13823 - Directory Listing
Modified Thu May 6 10:12:13 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
Cleanups:
- booleans
- docstrings
- whitespace, indentation

Revision 13822 - Directory Listing
Modified Thu May 6 10:09:25 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
Whitespace

Revision 13821 - Directory Listing
Modified Thu May 6 10:07:46 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
Whitespace cleanups and better field titles (--> i18n)

Revision 13820 - Directory Listing
Modified Thu May 6 10:06:14 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
get rid of artefact comment

Revision 13819 - Directory Listing
Modified Thu May 6 07:10:10 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Updated the functional requirements.

Revision 13818 - Directory Listing
Modified Wed May 5 21:47:28 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
Zope 3 does not support Python 2.2.x; removing the compatibility cruft.

Revision 13817 - Directory Listing
Modified Wed May 5 21:45:36 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
add extension information so zpkg-generated packages can build these

Revision 13816 - Directory Listing
Modified Wed May 5 12:14:43 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
cleanup

Revision 13815 - Directory Listing
Modified Wed May 5 08:42:06 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
cleanup

Revision 13814 - Directory Listing
Modified Tue May 4 02:01:25 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Replaced widget implementation in various forms (edit, display, etc.) with the
use of a macro per

  http://dev.zope.org/Zope3/CleanupOfSchemaAndWidgets

Revision 13813 - Directory Listing
Modified Mon May 3 20:54:45 2004 UTC (11 years, 4 months ago) by spascoe
Original Path: Zope3/trunk
Spring Cleaning, Add ZPL

Revision 13812 - Directory Listing
Modified Mon May 3 20:31:27 2004 UTC (11 years, 4 months ago) by spascoe
Original Path: Zope3/trunk
Spring Cleaning, Reformatted ZPL

Revision 13811 - Directory Listing
Modified Mon May 3 20:27:16 2004 UTC (11 years, 4 months ago) by spascoe
Original Path: Zope3/trunk
Spring Cleaning, Reformatted ZPL, Added CVS id tag, module comment

Revision 13810 - Directory Listing
Modified Mon May 3 20:23:03 2004 UTC (11 years, 4 months ago) by spascoe
Original Path: Zope3/trunk
Spring Cleaning, Added CVS id tag

Revision 13809 - Directory Listing
Modified Mon May 3 20:20:45 2004 UTC (11 years, 4 months ago) by spascoe
Original Path: Zope3/trunk
Spring Cleaning, Added ZPL and CVS id tag

Revision 13808 - Directory Listing
Modified Mon May 3 18:52:57 2004 UTC (11 years, 4 months ago) by spascoe
Original Path: Zope3/trunk
corrected typo in description text

Revision 13807 - Directory Listing
Modified Mon May 3 15:13:03 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
add support to the ZopeVersion utility for non-branch tag and date checkouts

Revision 13806 - Directory Listing
Modified Mon May 3 14:18:25 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
test the expected behavior of ZopeVersion.getZopeVersion() for all the
input combinations, without re-implementing the algorithm

Revision 13805 - Directory Listing
Modified Mon May 3 14:17:04 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
fix buglet I introduced last week

Revision 13804 - Directory Listing
Modified Sat May 1 14:37:43 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
whitespace

Revision 13803 - Directory Listing
Modified Sat May 1 14:37:18 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
bools

Revision 13802 - Directory Listing
Modified Sat May 1 14:35:32 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
Typo

Revision 13801 - Directory Listing
Modified Fri Apr 30 17:37:10 2004 UTC (11 years, 4 months ago) by itamar
Original Path: Zope3/trunk
Python 2.2 backwards compatability

to test - copy doctest.py from Python 2.3, and apply this patch:

1208c1208
<     if isinstance(doc, basestring) and '>>>' in doc:
---
>     if isinstance(doc, (str, unicode)) and doc.find('>>>') != -1:

then when you run test.py make sure it uses this doctest.py.

Note you will get some false failures right now due to new bool type in 2.3, but this shouldn't affect actual behaviour.

Revision 13800 - Directory Listing
Modified Fri Apr 30 17:03:38 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Removed more module aliases for pickle backward compat.

Revision 13799 - Directory Listing
Modified Fri Apr 30 16:45:33 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Removed a bogus set import.

Revision 13798 - Directory Listing
Modified Fri Apr 30 16:45:32 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Removed some module aliases for pickle backward compatibility.

Revision 13797 - Directory Listing
Modified Fri Apr 30 14:59:53 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
clean up the module docstring

Revision 13796 - Directory Listing
Modified Fri Apr 30 14:58:35 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
- allow path to be passed to the constructor to allow the test driver
  to provide different sets of input
- cache the result so we don't have to crawl around the filesystem
  more than once

Revision 13795 - Directory Listing
Modified Fri Apr 30 14:30:42 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
minor cleanup

Revision 13794 - Directory Listing
Modified Fri Apr 30 14:28:51 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
don't presume to know how to get the Zope version; use the
ZopeVersionUtility to do the work

Revision 13793 - Directory Listing
Modified Fri Apr 30 14:17:41 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
- re-organize the imports
- use the right test harness boilerplate

Revision 13792 - Directory Listing
Modified Thu Apr 29 22:21:12 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
The "zope" package has a little packaging metadata.

Revision 13791 - Directory Listing
Modified Thu Apr 29 20:50:56 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
remove two unused namespace declarations

Revision 13790 - Directory Listing
Modified Thu Apr 29 20:50:06 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
revert unintentional commits

Revision 13789 - Directory Listing
Modified Thu Apr 29 20:48:11 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
more of the metadata needed to generate a Zope X3 alpha release

Revision 13788 - Directory Listing
Modified Thu Apr 29 20:41:56 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
Remove zLOG from Zope 3 in a different way, so old tags do not get lost.

Revision 13787 - Directory Listing
Modified Thu Apr 29 19:10:11 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
there is no need for a version.txt file!  certainly not inside a package

Revision 13786 - Directory Listing
Modified Thu Apr 29 18:41:33 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
the parent package is an implied dependency

Revision 13785 - Directory Listing
Modified Thu Apr 29 18:08:31 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
remove unused module

Revision 13784 - Directory Listing
Modified Thu Apr 29 16:10:02 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
localize an import since it's only needed for a partilcular use;
zope.app.pythonpage can have zope.app.interpreter as a dependency

Revision 13783 - Directory Listing
Modified Thu Apr 29 15:43:47 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
remove package that was never imported, not documented

Revision 13782 - Directory Listing
Modified Thu Apr 29 15:41:58 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
remove module that was never imported

Revision 13781 - Directory Listing
Modified Thu Apr 29 15:40:41 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
remove unused namespace declaration

Revision 13780 - Directory Listing
Modified Thu Apr 29 15:15:09 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
add reminder to clean up

Revision 13779 - Directory Listing
Modified Thu Apr 29 15:00:35 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
this info is out of date

Revision 13778 - Directory Listing
Modified Thu Apr 29 14:59:09 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
add a comment about a need to revisit this

Revision 13777 - Directory Listing
Modified Thu Apr 29 12:19:40 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk
Registered a special widget for Choices displaying ISourceTypeVocabulary
vocabularies. This means that we do not need a special browser:widget
directive for providing the custom source type widget.

Revision 13776 - Directory Listing
Modified Thu Apr 29 10:11:34 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
Cleanup

Revision 13775 - Directory Listing
Modified Wed Apr 28 18:14:07 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk
More shortening.

Revision 13774 - Directory Listing
Modified Wed Apr 28 17:54:41 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk
Removed some TODO items. It is better to meet the deadlines at this point.

Revision 13773 - Directory Listing
Modified Tue Apr 27 17:24:53 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk
Moved an item back into the TODO list. I do not feel good about this, but
I think it is necessary for some things to work. My recent E-mail exchange
with Roger showed that to me.

Moving items from the TODOLATER.txt list to TODO.txt is still discouraged!

Revision 13772 - Directory Listing
Modified Tue Apr 27 15:53:27 2004 UTC (11 years, 4 months ago) by eckart
Original Path: Zope3/trunk
claim some credits :-)

Revision 13771 - Directory Listing
Modified Tue Apr 27 15:52:41 2004 UTC (11 years, 4 months ago) by eckart
Original Path: Zope3/trunk
do a check for preconditions when adding content to a container

Revision 13770 - Directory Listing
Modified Tue Apr 27 15:47:37 2004 UTC (11 years, 4 months ago) by eckart
Original Path: Zope3/trunk
- rearranged import statements
- renamed the test_constraint_driven_adding to
  test_constraint_driven_addingInfo
- added a test for a constraint driven add

Revision 13769 - Directory Listing
Modified Tue Apr 27 15:45:10 2004 UTC (11 years, 4 months ago) by eckart
Original Path: Zope3/trunk
added a check for preconditions to the add method

Revision 13768 - Directory Listing
Modified Tue Apr 27 10:53:57 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Created a separate absoluteURL function and included it in zapi/

Revision 13767 - Directory Listing
Modified Tue Apr 27 10:53:56 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Converted the tests package to a regular module.

Revision 13766 - Directory Listing
Modified Tue Apr 27 10:53:50 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Created a separate absoluteURL function and included it in zapi/

Aded an API interface to facilitate adding the absoluteURL function to zapi.

Revision 13765 - Directory Listing
Modified Tue Apr 27 10:53:49 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Created a separate absoluteURL function and included it in zapi/

Moved the absolute url code into a named module (rather than __init__)

Revision 13764 - Directory Listing
Modified Tue Apr 27 10:53:48 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Moved the absolute url code into a named module (rather than __init__)

Revision 13763 - Directory Listing
Modified Tue Apr 27 10:53:46 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Removed dependence on zapi, since this module is used by zapi.
Modules that implement zapi can't use zapi.

Revision 13762 - Directory Listing
Modified Tue Apr 27 03:03:17 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk
Oops, forgot to specify that we only want the name.

Revision 13761 - Directory Listing
Modified Mon Apr 26 23:58:41 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Added optional 'nameOnly' argument to constuctor of utility vocabulary, so
that it is possible to have a vicab that only provides the names of the
utilities.

Revision 13760 - Directory Listing
Modified Mon Apr 26 23:58:37 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

The SQL script only stores the name of the connection, not the utility itself.

Revision 13759 - Directory Listing
Modified Mon Apr 26 23:15:01 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Removed __doc__ from Field constructor and moved __name__ behind title and
description. Still, you should keep using keywords only.

Revision 13758 - Directory Listing
Modified Mon Apr 26 23:14:57 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Update field initializations to reflect API changes.

Revision 13757 - Directory Listing
Modified Mon Apr 26 23:14:51 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Implemented "Misc Field Changes".

Revision 13756 - Directory Listing
Modified Mon Apr 26 15:28:20 2004 UTC (11 years, 4 months ago) by tim_one
Original Path: Zope3/trunk
testManyClients:  Use fewer connections on Windows platforms earlier than
NT (they can't handle 50 sockets open simulataneously, and this test
has always failed on Win98SE because of that).

Revision 13755 - Directory Listing
Modified Mon Apr 26 09:44:50 2004 UTC (11 years, 4 months ago) by dominikhuber
Original Path: Zope3/trunk
Bugfix: ManagementView was broken
- workflow might be None too

Revision 13754 - Directory Listing
Modified Sun Apr 25 16:19:26 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Remove Python code creating custom widgets and replace it with its ZCML
equivalent.

Revision 13753 - Directory Listing
Modified Sun Apr 25 16:19:22 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Remove unused CustomWidgetFactory import.

Revision 13752 - Directory Listing
Modified Sun Apr 25 16:19:18 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Added tests for brwoser:widget subdirective.



Added simple test for browser:addform.

Revision 13751 - Directory Listing
Modified Sun Apr 25 16:19:14 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Implemented browser:widget subdirective.

Revision 13750 - Directory Listing
Modified Sun Apr 25 16:19:09 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Implemented "ZCML Support for Widgets in Form Pages" from
CleanupOfSchemaAndWidgets.

Revision 13749 - Directory Listing
Modified Sun Apr 25 04:41:04 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk
Thanks to Paolo to reporting a bug with the mail directives.

Revision 13748 - Directory Listing
Modified Sat Apr 24 23:21:06 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Remove Enumerated* and *VocabualryField* and replace it by Choice and Sequence.

Revision 13747 - Directory Listing
Modified Sat Apr 24 23:21:02 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Cleanup.



Use Choice instead of Vocabulary Fields.

Revision 13746 - Directory Listing
Modified Sat Apr 24 23:20:57 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Vocabulary Field Code was removed.

Revision 13745 - Directory Listing
Modified Sat Apr 24 23:20:54 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Remove Enumerated* and Vocabulary Field code.



Add IChoice and ISet.



IChoiceSequence was added for sequences that have a Choice as valeu type.

Revision 13744 - Directory Listing
Modified Sat Apr 24 23:20:49 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Cleanup.

Revision 13743 - Directory Listing
Modified Sat Apr 24 23:20:46 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Added Choice field.



Upgraded Sequence field to handle Choice fields as value_type values better.



Added Set field.



Remove Enumerated Field.

Revision 13742 - Directory Listing
Modified Sat Apr 24 23:20:42 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Remove Enumerated* code.

Revision 13741 - Directory Listing
Modified Sat Apr 24 23:20:37 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Remove outdated Enumerated fields and add Choice

Revision 13740 - Directory Listing
Modified Sat Apr 24 23:20:34 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Use Utilities servicename instead of a string directly.

Revision 13739 - Directory Listing
Modified Sat Apr 24 23:20:30 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Use Choice instead of VocabularyField.

Revision 13738 - Directory Listing
Modified Sat Apr 24 23:20:26 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Test new utility vocabulary code.

Revision 13737 - Directory Listing
Modified Sat Apr 24 23:20:22 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

German translation updated. We want to stay 100% up-to-date.

Revision 13736 - Directory Listing
Modified Sat Apr 24 23:20:10 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Get rid of special SQLConnectionName field in favor of Choice and a vocabulary.

Revision 13735 - Directory Listing
Modified Sat Apr 24 23:20:04 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Remove PermissionField and its widget in favor of Choice and a vocabulary.

Revision 13734 - Directory Listing
Modified Sat Apr 24 23:19:57 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Get rid of Enumerated Field support; they are gone. Also, we do not have
InterfaceFields anymore, so just use Choice, Sequence and Vocabularies.

Revision 13733 - Directory Listing
Modified Sat Apr 24 23:19:52 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Make use of new widget code to simplify specific implementation.

Revision 13732 - Directory Listing
Modified Sat Apr 24 23:19:48 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Use Choice field instead of special registration status field and widget.

Revision 13731 - Directory Listing
Modified Sat Apr 24 23:19:43 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Removed Enumerated widgets. Refactored vocabulary widgets to be views of
fields and vocabularies. Updated tests.

Revision 13730 - Directory Listing
Modified Sat Apr 24 23:19:37 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Deactived tests, since is too hard to fix for me. Since Gary will have to
update theur commercial code anyways, he can do this one too. ;-)

Revision 13729 - Directory Listing
Modified Sat Apr 24 23:19:33 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Removed InterfaceField and InterfaceWidget. We can now use Choice, Sequence
and a vocabulary instead. Yipee! This was an old wart of mine for a long time.

Revision 13728 - Directory Listing
Modified Sat Apr 24 23:19:27 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

The simple proxyView function simply did not handle multi-views
correctly. Shrug. Took me 3 hours to find this bug. I replaced the function
with a class that does the right thing and updated the API doc tool to
recognize it as well.

Revision 13727 - Directory Listing
Modified Sat Apr 24 23:19:23 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Test new fields.

Revision 13726 - Directory Listing
Modified Sat Apr 24 23:19:07 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Test new widgets.

Revision 13725 - Directory Listing
Modified Sat Apr 24 23:18:32 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Move code to stateful, so we can package stateful seperately.

Revision 13724 - Directory Listing
Modified Sat Apr 24 23:18:16 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

The query view code moved to this module.

Revision 13723 - Directory Listing
Modified Sat Apr 24 23:18:08 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Bool field widgets. They all moved here now.

Revision 13722 - Directory Listing
Modified Sat Apr 24 23:18:00 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Interchanged PerissionField and InterfaceField with Choice and Sequence.

Revision 13721 - Directory Listing
Modified Sat Apr 24 23:17:52 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

The zope.app.interface pacakge requires the component architecture to be up
and running.

Revision 13720 - Directory Listing
Modified Sat Apr 24 23:17:48 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

zope.app.component has no browser code anymore.

Revision 13719 - Directory Listing
Modified Sat Apr 24 23:17:44 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Vocabulary that provides terms for utilities providing a specified interface.

Revision 13718 - Directory Listing
Modified Sat Apr 24 23:17:36 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Vocabulary to provide the context's provided interfaces.

Revision 13717 - Directory Listing
Modified Sat Apr 24 23:17:23 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Finished tasks of CleanupOfSchemaAndWidgets.

Revision 13716 - Directory Listing
Modified Fri Apr 23 19:39:31 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Added a function to unregister a utility, so that functional tests
that register utilities can clean up after themselves

Revision 13715 - Directory Listing
Modified Fri Apr 23 19:39:30 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Added a UI under process management for managing database
generations. It is uuuuuuuugly. :) I hope someone makes it pirty.

Revision 13714 - Directory Listing
Modified Fri Apr 23 19:18:17 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Removed bogus dependency on zope.schema.

Revision 13713 - Directory Listing
Modified Fri Apr 23 13:46:59 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Translations synchronized with zope.pot

Revision 13712 - Directory Listing
Modified Fri Apr 23 13:44:45 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13711 - Directory Listing
Modified Fri Apr 23 13:43:36 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
New message id's added, zope.pot updated

Revision 13710 - Directory Listing
Modified Fri Apr 23 11:38:58 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Fixed a bug in registering the provided interface and removed some
code for computing interface ids, since that is done by the
registration machinery anyway.

Revision 13709 - Directory Listing
Modified Fri Apr 23 11:38:57 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Updated to use None for the type, rather than zope.interface.Interface.
I think this makes the intent clearer. The effect is the same.

Revision 13708 - Directory Listing
Modified Fri Apr 23 11:38:54 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Updated to use * for the type, rather than zope.interface.Interface.
I think this makes the intent clearer. The effect is the same.

Revision 13707 - Directory Listing
Modified Fri Apr 23 06:27:01 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
* use absolute imports rather than relative ones
* update some docstrings

Revision 13706 - Directory Listing
Modified Fri Apr 23 06:24:37 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
use boolean

Revision 13705 - Directory Listing
Modified Thu Apr 22 18:58:10 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Implemented a framework for orderly evolution of ZODB
application/database schemas:

http://dev.zope.org/Zope3/DatabaseGenerations

Included a schema manager for zope itself that simply establishes a
generation of 0.

Revision 13704 - Directory Listing
Modified Thu Apr 22 18:55:20 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
remove more broken cruft

Revision 13703 - Directory Listing
Modified Thu Apr 22 18:52:35 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
clean some of the cruft out of this test code; it's no longer useful
(the tests themselves still aren't being run; we need decent
save/restore behavior from the logging package to do this properly)

Revision 13702 - Directory Listing
Modified Thu Apr 22 18:51:12 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Added some infrastructure for writing tests for code that is supposed
to log someting.

Revision 13701 - Directory Listing
Modified Thu Apr 22 18:51:08 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Implemented a framework for orderly evolution of ZODB
application/database schemas:

http://dev.zope.org/Zope3/DatabaseGenerations

Included a schema manager for zope itself that simply establishes a
generation of 0.

Revision 13700 - Directory Listing
Modified Wed Apr 21 14:19:50 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Added Dmitry Vasiliev ;-)

Revision 13699 - Directory Listing
Modified Wed Apr 21 14:13:14 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13698 - Directory Listing
Modified Wed Apr 21 10:02:14 2004 UTC (11 years, 4 months ago) by eckart
Original Path: Zope3/trunk
If called from a directory with no 'src' directory on the path, such as a symlinked directory inside the Zope3/src directory the script went into an infinite loop.

- added test for root directory in method app_dir
- added a Note to the doc string explaining about the symlinks

Revision 13697 - Directory Listing
Modified Tue Apr 20 22:14:33 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
add a comment related to the custom logging levels; need to deal with
later

Revision 13696 - Directory Listing
Modified Tue Apr 20 15:23:39 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
add dependency information

Revision 13695 - Directory Listing
Modified Tue Apr 20 14:11:07 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13694 - Directory Listing
Modified Tue Apr 20 11:38:06 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Now allow None to be specified for any of the required interfaces.

Revision 13693 - Directory Listing
Modified Tue Apr 20 11:01:21 2004 UTC (11 years, 4 months ago) by stevea
Original Path: Zope3/trunk
Whitespace cleaning in the CA.

Revision 13692 - Directory Listing
Modified Tue Apr 20 11:01:11 2004 UTC (11 years, 4 months ago) by dominikhuber
Original Path: Zope3/trunk
change standard macro page to view

Revision 13691 - Directory Listing
Modified Mon Apr 19 17:15:25 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
rename INSTALL.cfg --> SETUP.cfg

Revision 13690 - Directory Listing
Modified Sun Apr 18 16:00:35 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Changed way namespace handlers (handlers for traversing names of the
form "++namespace++name") are registered.  Now the are registered as
views and adapters.  When traversing a namespace-qualified view, a
request is sometimes provided.  When a request is provided, a view
will be used to traverse the name. Otherwise, an adapter is used.
handlers that don't care about the request are registered as both an
adapter and a view.

With this change, it's not possible to have content-specific
namespace-specific traversers.  Content objects can now define
specialized namespaces.

Revision 13689 - Directory Listing
Modified Sat Apr 17 21:49:06 2004 UTC (11 years, 4 months ago) by gintautasm
Original Path: Zope3/trunk
Got rid of an XXX which no longer applies because zLOG is dead.

Revision 13688 - Directory Listing
Modified Sat Apr 17 17:15:36 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Removed the last vestiges of name parameters. Even though we stopped
supporting parameters in names (name;foo=bar) years ago, we still had
support in the apis. Sheesh.

Revision 13687 - Directory Listing
Modified Sat Apr 17 15:13:14 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Renamed (I)RegistrationManagerContainer to (I)RegisterableContainer.

Revision 13686 - Directory Listing
Modified Sat Apr 17 14:34:03 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Updated translations.

Revision 13685 - Directory Listing
Modified Sat Apr 17 14:33:58 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Get rid of getRegisteredMatching().

Revision 13684 - Directory Listing
Modified Sat Apr 17 14:33:54 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Get rid of getRegisteredMatching().



Improve UtilityRegistration constructor.



Renamed IComponentRegistry to IRegistry.

Revision 13683 - Directory Listing
Modified Sat Apr 17 14:33:51 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Renamed IComponentRegistry to IRegistry.

Revision 13682 - Directory Listing
Modified Sat Apr 17 14:33:42 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Get rid of getRegisteredMatching().



Renamed IComponentRegistry to IRegistry.

Revision 13681 - Directory Listing
Modified Sat Apr 17 14:33:38 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Get rid of getRegisteredMatching().



Use Utilities object instead of string.

Revision 13680 - Directory Listing
Modified Sat Apr 17 14:33:30 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Expanded local registry registrations() to
registrations(localOnly=False). When localOnly is set to True, show only
registrations made in this service.



Fixed buglet.

Revision 13679 - Directory Listing
Modified Sat Apr 17 14:33:26 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Expanded local registry registrations() to
registrations(localOnly=False). When localOnly is set to True, show only
registrations made in this service.

Revision 13678 - Directory Listing
Modified Sat Apr 17 14:33:21 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Get rid of getRegisteredMatching() and make use of registration objects.

Revision 13677 - Directory Listing
Modified Sat Apr 17 14:33:13 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Expanded local registry registrations() to
registrations(localOnly=False). When localOnly is set to True, show only
registrations made in this service.



Renamed zope.component.interfaces.IComponentRegistry to IRegistry and
zope.app.registration.interfaces.IRegistry extends now the
zope.component.interfaces.IRegistry.

Revision 13676 - Directory Listing
Modified Sat Apr 17 14:33:00 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Utility service is also getRegisteredMatching() free.

Revision 13675 - Directory Listing
Modified Sat Apr 17 11:14:00 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Quick update to relect package reorg.

Revision 13674 - Directory Listing
Modified Sat Apr 17 11:00:54 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Fixed a bug in the fixup script. I'd forgotten to close the
transaction. Dang.

Revision 13673 - Directory Listing
Modified Fri Apr 16 15:30:07 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
PO files updated

Revision 13672 - Directory Listing
Modified Fri Apr 16 15:28:46 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13671 - Directory Listing
Modified Fri Apr 16 15:26:58 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
zope.pot updated

Revision 13670 - Directory Listing
Modified Fri Apr 16 11:51:59 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Fix up tests to latest API changes.

Revision 13669 - Directory Listing
Modified Fri Apr 16 11:51:55 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

The sax API changed. Use parseString instead of parse now.



Fix up Export/Import Handlers/Adapters to not require a PD as argument for
export/import. It is the context of the adapter now.



Convert handlers to adapters.

Revision 13668 - Directory Listing
Modified Fri Apr 16 11:51:51 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Got rid of unnecessary API. Use context, which is the PD.

Revision 13667 - Directory Listing
Modified Fri Apr 16 11:51:47 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Make use of pre-dot notation to shorten component/interface paths.



Register the new adapters.

Revision 13666 - Directory Listing
Modified Fri Apr 16 11:51:43 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Remove Export/Import utility interfaces.



Fix up Export/Import Handlers/Adapters to not require a PD as argument for
export/import. It is the context of the adapter now.

Revision 13665 - Directory Listing
Modified Fri Apr 16 11:51:39 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Update to match new API.

Revision 13664 - Directory Listing
Modified Fri Apr 16 11:51:35 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Update to use zapi.



Remove export/import utility indirection. Use adapters directly.

Revision 13663 - Directory Listing
Modified Fri Apr 16 11:51:31 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Remove Import/Export utility.

Revision 13662 - Directory Listing
Modified Fri Apr 16 11:51:27 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

The utility was a horrible and an unnecessary indirection. Remove it.

Revision 13661 - Directory Listing
Modified Fri Apr 16 11:51:21 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Removed custom directives, since we can just use the adapter directive to
register the XML import/export adapters.

Revision 13660 - Directory Listing
Modified Fri Apr 16 11:51:15 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Use adapters for workflow XML import/export.

Revision 13659 - Directory Listing
Modified Thu Apr 15 22:11:40 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Got rid of workflow service.



Added DummyProcessDefinition which was previously defined in the service tests.

Revision 13658 - Directory Listing
Modified Thu Apr 15 22:11:37 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Cleanup.

Revision 13657 - Directory Listing
Modified Thu Apr 15 22:11:34 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Got rid of workflow service.



Use zapi.

Revision 13656 - Directory Listing
Modified Thu Apr 15 22:11:30 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Use addMenuItem directive for add menu item.

Revision 13655 - Directory Listing
Modified Thu Apr 15 22:11:27 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Got rid of workflow service.



Make Workflow Process Definitions a tool.

Revision 13654 - Directory Listing
Modified Thu Apr 15 22:11:24 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Added helper function 'createProcessInstance(context, name)', where name is a
process definition name.

Revision 13653 - Directory Listing
Modified Thu Apr 15 22:11:20 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Use object for new-style classes explicitely.

Revision 13652 - Directory Listing
Modified Thu Apr 15 22:11:17 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Moved Process Definition Vocabulary here.

Revision 13651 - Directory Listing
Modified Thu Apr 15 22:11:14 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Fixed fixup. We only want to look into ISite objects.

Revision 13650 - Directory Listing
Modified Thu Apr 15 22:11:10 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Got rid of workflow service.

Revision 13649 - Directory Listing
Modified Thu Apr 15 19:53:47 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk
The German boys and girls want to be 100%, so update the translations. :-)

Revision 13648 - Directory Listing
Modified Thu Apr 15 15:40:30 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Recorded the utility work.

Revision 13647 - Directory Listing
Modified Thu Apr 15 15:30:06 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Removed the implementor registry.

Hopefully, the type registry will go soon too.

They will both be replaced by adapter registries.

Revision 13646 - Directory Listing
Modified Thu Apr 15 15:29:53 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Include the Null dummy interface in the surrogates mapping, so it can
be treated the ame as other interfaces.

Revision 13645 - Directory Listing
Modified Thu Apr 15 15:29:46 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Abstracted code useful for local utility services.

Revision 13644 - Directory Listing
Modified Thu Apr 15 15:29:45 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
We are getting rid of zope.interface.implementor.

Moved that implementation here for now, for use internally.

This import/export system needs more thought.
(E.g. why not just use utilities for importers or exporters?)

Revision 13643 - Directory Listing
Modified Thu Apr 15 15:29:43 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Removd out of date and no-longer useful doc.

Revision 13642 - Directory Listing
Modified Thu Apr 15 15:29:42 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Removed some method from the API.
(Replaced getRegisteredMatching with registration, inherited
 from IComponentRegistry.)

Revision 13641 - Directory Listing
Modified Thu Apr 15 15:29:41 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Removed an unused import.

Revision 13640 - Directory Listing
Modified Thu Apr 15 15:29:40 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Fixed a bug in NotifyingRegistrationStack. Notifications weren't being
done in all necessary cases.  Added extensive doc tests.

Revision 13639 - Directory Listing
Modified Thu Apr 15 15:29:38 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
getUtilitiesFor now returns an iterable, rather than a list.

Revision 13638 - Directory Listing
Modified Thu Apr 15 15:29:36 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Added a method to notify a service when the global service has
changed. This should only be needed during testing, hence the lack of
a more automated approach.

Abstracted the service type out, so that we cab use this same code for
the utility service.

Revision 13637 - Directory Listing
Modified Thu Apr 15 15:29:35 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Moved the backward.zcml include up.  Other database-initialization
code can fail if we don't do fixups first.

Revision 13636 - Directory Listing
Modified Thu Apr 15 15:29:34 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Disabled a check for the presense of functional testing support. The
idea was to try to make test.py useful for other systems without
functional tests.  Unfortunately, there are still other issues
preventing use of test.py elsewhere and this check wasn't done
corectly.  It only worked correctly if the unit tests were run first.

Revision 13635 - Directory Listing
Modified Thu Apr 15 15:29:32 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Reimplemented local utility services, based on the local adapter
service and adapter registries.

Revision 13634 - Directory Listing
Modified Thu Apr 15 15:08:11 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
we now import directly from the zope.i18nmessageid package; this
doesn't really add a dependency in practice, since zope.i18n depends
on it already (the goal is to eventually avoid the dependency on
zope.i18n, which is huge)

Revision 13633 - Directory Listing
Modified Thu Apr 15 14:49:10 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
MessageID should be had from zope.i18nmessageid, not zope.i18n.messageid;
this removes *most* dependencies of the zope.tal package on zope.i18n

Revision 13632 - Directory Listing
Modified Thu Apr 15 14:44:01 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
- simplify
- use the right boilerplate for __name__ == "__main__"

Revision 13631 - Directory Listing
Modified Thu Apr 15 14:03:00 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
back out the use of pkgutil due to a bug in pkgutil:
http://www.python.org/sf/935117

Revision 13630 - Directory Listing
Modified Thu Apr 15 13:59:50 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
PO files updated with latest POT

Revision 13629 - Directory Listing
Modified Thu Apr 15 13:57:09 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13628 - Directory Listing
Modified Thu Apr 15 13:56:35 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
zope.pot updated

Revision 13627 - Directory Listing
Modified Thu Apr 15 13:54:30 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Default package for message id's extraction changed to 'zope'

Revision 13626 - Directory Listing
Modified Thu Apr 15 13:26:25 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Removed 'getRegisteredMatching()'.

Revision 13625 - Directory Listing
Modified Thu Apr 15 13:26:21 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

No doc tests in zope.component.adapter left.



Remove all 'getRegisteredMatching()' tests.

Revision 13624 - Directory Listing
Modified Thu Apr 15 13:26:17 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Removed 'getRegisteredMatching()'.



Add some documentation and renamed PresentationRegistrion's info to doc to be
consistent.

Revision 13623 - Directory Listing
Modified Thu Apr 15 13:26:09 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Modernized registration object constructor.



Added documentation.



Removed 'getRegisteredMatching()'.

Revision 13622 - Directory Listing
Modified Thu Apr 15 13:26:05 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Merged latest POT into language PO files.

Revision 13621 - Directory Listing
Modified Thu Apr 15 13:25:54 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Updated German translation to be 100% complete.

Revision 13620 - Directory Listing
Modified Thu Apr 15 13:25:48 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Cleanup.

Revision 13619 - Directory Listing
Modified Thu Apr 15 13:25:44 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Expect info in test output.

Revision 13618 - Directory Listing
Modified Thu Apr 15 13:25:40 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Make sure we get the info passed in.

Revision 13617 - Directory Listing
Modified Thu Apr 15 13:25:33 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Reimplemented 'getRegistrationsForInterface()' to use 'registrations()'.



Made GlobalViewRegistration an adapter of PresentationRegistration

Revision 13616 - Directory Listing
Modified Thu Apr 15 13:25:29 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

'getRegisteredMatching()' is gone.

Revision 13615 - Directory Listing
Modified Thu Apr 15 13:25:25 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Updated tests to expect info.

Revision 13614 - Directory Listing
Modified Thu Apr 15 13:25:03 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Make sure presentation component registrations get the parser info.

Revision 13613 - Directory Listing
Modified Thu Apr 15 13:24:58 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Provide new adapters.



Add documentation string to skin definitions.

Revision 13612 - Directory Listing
Modified Thu Apr 15 13:24:55 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Not longer used, now that we do not have a "usage" anymore.

Revision 13611 - Directory Listing
Modified Thu Apr 15 13:24:51 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Give some more detailed information about this page.



Show ZCML file and line in file where the skin or layer are defined.

Revision 13610 - Directory Listing
Modified Thu Apr 15 13:24:47 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Show the ZCML file and line where the view was defined.



Clean-up permission display.

Revision 13609 - Directory Listing
Modified Thu Apr 15 13:24:43 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Register latest adapters from registrations objects to documentation ones.



Remove traces of usage.

Revision 13608 - Directory Listing
Modified Thu Apr 15 13:24:39 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Reimplement skin, layer and presentation component retrieval logic to use
'registrations()' and make use of the registration objects.

Revision 13607 - Directory Listing
Modified Thu Apr 15 13:24:35 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Provide two new adapters, LayerDocumentation and SkinDocumentation, that
provide registration information in an output-friendly way.

Revision 13606 - Directory Listing
Modified Thu Apr 15 13:24:27 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Use 'registrations()' everywhere (mainly apidoc) and remove
'getRegisteredMatching()'.

Revision 13605 - Directory Listing
Modified Thu Apr 15 11:02:34 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
Updated spanish translation. At least no fuzzies anymore.

Revision 13604 - Directory Listing
Modified Wed Apr 14 22:32:48 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Changed database connection fields to extend EnumeratedTextLine, so
that they get rendered as select lists.

Revision 13603 - Directory Listing
Modified Wed Apr 14 21:32:14 2004 UTC (11 years, 4 months ago) by tim_one
Original Path: Zope3/trunk
_load_path():  at least testUpdateInPlace implicitly relied on that
a connection retains stale data across a commit when nothing has
changed, so pass the new synch=False arg to db.open() to preserve
that just-changed behavior.

Revision 13602 - Directory Listing
Modified Wed Apr 14 19:12:35 2004 UTC (11 years, 4 months ago) by ctheune
Original Path: Zope3/trunk
 - Kicked a typo.

Revision 13601 - Directory Listing
Modified Wed Apr 14 14:32:00 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13600 - Directory Listing
Modified Wed Apr 14 14:31:18 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
New MessageID field added, zope.pot updated.

Revision 13599 - Directory Listing
Modified Wed Apr 14 14:08:55 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
*** empty log message ***

Revision 13598 - Directory Listing
Modified Wed Apr 14 10:12:04 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13597 - Directory Listing
Modified Tue Apr 13 21:52:20 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
be more epydoc friendly

Revision 13596 - Directory Listing
Modified Tue Apr 13 16:00:03 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
update the module docstring

Revision 13595 - Directory Listing
Modified Tue Apr 13 15:14:36 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
BaseLogger is no longer needed in zLOG; a variation has been added to the
ZServer package.

Revision 13594 - Directory Listing
Modified Tue Apr 13 14:43:20 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Fixed copy/paste error

Revision 13593 - Directory Listing
Modified Tue Apr 13 14:40:44 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Added import for UserError

Revision 13592 - Directory Listing
Modified Tue Apr 13 14:28:55 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
Remove all logging configuration from zLOG; the only thing zLOG provides now
is an API shim to the logging module.  No more competing initializations!

Revision 13591 - Directory Listing
Modified Tue Apr 13 12:57:28 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13590 - Directory Listing
Modified Tue Apr 13 11:04:56 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13589 - Directory Listing
Modified Tue Apr 13 09:57:04 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
URL parts should be encoded to utf-8 before quoting.

Revision 13588 - Directory Listing
Modified Mon Apr 12 18:14:31 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
remove the logging configuration component; use the one from ZConfig instead
(they are pretty much identical; using ZConfig means we are sharing code
more effectively)

Revision 13587 - Directory Listing
Modified Mon Apr 12 18:12:03 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
prevent zLOG from automagically clobber the initialization of the
logging configuration

Revision 13586 - Directory Listing
Modified Mon Apr 12 17:58:34 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Use a separate dummy interface for Null adapters.
This will facilitate managing utilities later.

Revision 13585 - Directory Listing
Modified Mon Apr 12 17:58:33 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Changed the strategy for flushing the adapter cache.
Now just reinitialize the adapter registry, as we do in __setstate__,
rather than trying to dirty individual surrogates.

Revision 13584 - Directory Listing
Modified Mon Apr 12 17:28:55 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Simplified/sped up by implementing lookup methods directly.

Also subclasses GlobalService, to facilitate pickling, and thus local
services.

Revision 13583 - Directory Listing
Modified Mon Apr 12 13:51:40 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Type converters refactored. Tests for all converters added.

Revision 13582 - Directory Listing
Modified Mon Apr 12 10:37:14 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
- prepareSource() rewritten with re.sub()
- Code don't encoded to utf-8 now so i18n strings work as expected

Revision 13581 - Directory Listing
Modified Sun Apr 11 18:16:56 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Got rid of the module global utilityService. Now you must go through
getService to get the global utility service.

getFactoriesFor now returns an iteratable

Revision 13580 - Directory Listing
Modified Sun Apr 11 18:16:54 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Got rid of the module global utilityService. Now you must go through
getService to get the global utility service.

Revision 13579 - Directory Listing
Modified Sun Apr 11 18:16:43 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Reimplemented the global utility service using adapter registries.

Added a registrations method.

Revision 13578 - Directory Listing
Modified Sun Apr 11 18:16:41 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
getUtilitiesFor now returns an iterable.

The doc also now says it returns name-utility pairs.

Revision 13577 - Directory Listing
Modified Sun Apr 11 18:16:40 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Reimplemented getFactoriesFor in terms of getUtilitiesFor

Revision 13576 - Directory Listing
Modified Sun Apr 11 18:16:33 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Wrapped a long line

Revision 13575 - Directory Listing
Modified Sun Apr 11 18:16:32 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Added a zcml definition of zope.Public. This was previously defined in
Python, in a way that depended on getting to the global utility
service via a global variable.

Moved the python code to zope.app.security.tests for use in tests.
This is now called by placelesssetup.

Revision 13574 - Directory Listing
Modified Sun Apr 11 18:16:29 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Got rid of the module global utilityService. Now you must go through
getService to get the global utility service.

Renamed local var w long name

Revision 13573 - Directory Listing
Modified Sun Apr 11 18:16:27 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
getFactoriesFor now returns an iteratable

Revision 13572 - Directory Listing
Modified Sun Apr 11 18:16:26 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
getUtilitiesFor now returns an iteratable.

Revision 13571 - Directory Listing
Modified Sun Apr 11 18:16:24 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
getUtilitiesFor now returns an iteratable.

Fixed a test typo

Revision 13570 - Directory Listing
Modified Sun Apr 11 18:16:23 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Got rid of the module global utilityService. Now use the factory
attribute to compute a GlobalUtilityService instance.

Revision 13569 - Directory Listing
Modified Sun Apr 11 18:16:22 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Utility names are now unicode.

Revision 13568 - Directory Listing
Modified Sun Apr 11 18:16:20 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Renamed getUtilities to getUtilitiesFor to be consistent w utility
service.

Revision 13567 - Directory Listing
Modified Sun Apr 11 18:16:18 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Renamed getUtilities to getUtilitiesFor to be consistent w utility
service.

Utility names are now unicode.

Revision 13566 - Directory Listing
Modified Sun Apr 11 14:57:33 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
Rid the term 'product':

  o Got rid of products.zcml (and products_ftesting.zcml) alltogether.

  o Renamed the 'products' dir to 'package-includes'.

Revision 13565 - Directory Listing
Modified Sun Apr 11 14:55:36 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
claim some credits ;)

Revision 13564 - Directory Listing
Modified Sun Apr 11 14:54:47 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
update some old docs.

Revision 13563 - Directory Listing
Modified Sun Apr 11 12:31:49 2004 UTC (11 years, 4 months ago) by philikon
Original Path: Zope3/trunk
Moved view for WidgetInputError exception to zope.app.form.browser and
made it a view providing an interface (IWidgetInputErrorView).

Revision 13562 - Directory Listing
Modified Sun Apr 11 10:35:23 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Deprecated and removed errornames. Instead we are using real exception classes
for each now.

Revision 13561 - Directory Listing
Modified Sun Apr 11 10:35:17 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Updated tests to use error classes instead of error names.

Revision 13560 - Directory Listing
Modified Sun Apr 11 10:35:12 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Created a bunch of validation error classes.

Revision 13559 - Directory Listing
Modified Sun Apr 11 10:35:08 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Added method 'doc()' to ValidationError that returns a string for user output.



Created a bunch of validation error classes.

Revision 13558 - Directory Listing
Modified Sun Apr 11 10:35:04 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Converted all name usages to use the newly created error classes.

Revision 13557 - Directory Listing
Modified Sun Apr 11 10:35:00 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Convert errornames to ValidationError classes. Update tests accordingly.

Revision 13556 - Directory Listing
Modified Sun Apr 11 10:34:56 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Updated test code to deal with the fact that all validation errors are classes
now.

Revision 13555 - Directory Listing
Modified Sun Apr 11 10:34:51 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Improved formatting.

Revision 13554 - Directory Listing
Modified Sun Apr 11 10:34:48 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Improve documentation.

Revision 13553 - Directory Listing
Modified Sun Apr 11 10:34:44 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

All ValidationErrors now have a doc() method for returning the user output
string.

Revision 13552 - Directory Listing
Modified Sun Apr 11 10:34:41 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Updated tests to reflect API changes.

Revision 13551 - Directory Listing
Modified Sun Apr 11 10:34:36 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Remove useless configuration file.

Revision 13550 - Directory Listing
Modified Fri Apr 9 21:21:58 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
Change the mapping from zLOG to the logging package:
- don't dump everything into the "event" logger;
  use the subsystem argument to zLOG.LOG to get a specific logger
- move some comments into docstrings

Revision 13549 - Directory Listing
Modified Fri Apr 9 19:17:22 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
fix typo

Revision 13548 - Directory Listing
Modified Fri Apr 9 15:15:11 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
- we need to actually call configure_logging(), before the PathInit
  constructor (potentially) changes the directory
- remove some crufty attempt to make zLOG behave that couldn't work
  (and didn't!)

Revision 13547 - Directory Listing
Modified Fri Apr 9 14:21:04 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Added support for looking up an abolute URL by requesting a view that
provides IAbsoluteURL.

Note that the view itself still recrusively looks up absolute URLs using
the view name 'absolute_url'.

Revision 13546 - Directory Listing
Modified Fri Apr 9 14:18:37 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Added support for page lookup for a view when the view has a
'publishTraverse' method. This is something I had missed in an earlier
checkin.

Revision 13545 - Directory Listing
Modified Fri Apr 9 14:06:23 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
- Make sure the code and the source are synchronized if SyntaxError occured
- PythonPage now accept strings with prefixes (like r"""...""")

Revision 13544 - Directory Listing
Modified Fri Apr 9 14:05:52 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Added a trustedRemoveSecurityProxies -- the interfaces being returned by
providedBy are proxied. This fixes a bug that prevented various utilities
from being registered.

Revision 13543 - Directory Listing
Modified Fri Apr 9 14:03:40 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Including utility browser package. This partially fixes a bug that prevents
various utilities from being registered.

Revision 13542 - Directory Listing
Modified Fri Apr 9 12:39:00 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk
Updated German translations.

Revision 13541 - Directory Listing
Modified Fri Apr 9 12:11:25 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Provide statistics about the status of all translations in a given 'locales'
directory. Use '-l' to specify this directory.

Revision 13540 - Directory Listing
Modified Fri Apr 9 12:11:22 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Merge POT files of all available domains with PO files of all existing
languages in a given 'locales' directory. Use '-l' to specify this directory.

Revision 13539 - Directory Listing
Modified Fri Apr 9 12:11:18 2004 UTC (11 years, 4 months ago) by srichter
Original Path: Zope3/trunk

Merge POT file with all existing PO files using the new i18nmergeall.py script.

Revision 13538 - Directory Listing
Modified Fri Apr 9 11:36:14 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Implemented the registrations method for the presentation services.

Revision 13537 - Directory Listing
Modified Thu Apr 8 21:55:17 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
move a comment to the docstring

Revision 13536 - Directory Listing
Modified Thu Apr 8 21:31:39 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Moved some of the responsibilities for registration() from local
adapter registries to local adapter services. Now, registries only
return their registrations. It's up to the services to delegate to
higher services.  This will make implementing registrations() a little
simpler for the presentation service.

Revision 13535 - Directory Listing
Modified Thu Apr 8 21:20:30 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
logging configuration is evil; isolate it

Revision 13534 - Directory Listing
Modified Thu Apr 8 21:02:45 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Change to make assertions in terms of info(), rather than the private
_data attr that doesn't exist any more.

Fixed a bug in the unregistration logic.  If we have something active,
then make something else active and then unregister the something
else, the original thing that was active should be active again.

Revision 13533 - Directory Listing
Modified Thu Apr 8 21:02:44 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Change to make registrations implement IPhysicallyLocatable and
to use real stacks.

Revision 13532 - Directory Listing
Modified Thu Apr 8 21:02:42 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Changed registration stacks to use direct references to registration
objects.

Fixed a bug in the unregistration logic.  If we have something active,
then make something else active and then unregister the something
else, the original thing that was active should be active again.

Revision 13531 - Directory Listing
Modified Thu Apr 8 21:02:41 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Removed the id key from info. Views can compute this if they want it.

Also, got rid of the keep_dummy option to info.  Clients didn't seem
to trust it anyway, so it did no good.  The info method doesn't return
dummy entries (for the None stack marker) anymore,

Revision 13530 - Directory Listing
Modified Thu Apr 8 20:28:55 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
try to be a bit more careful in setting up the event logger; some things should
be done as late as possible (if ever)

Revision 13529 - Directory Listing
Modified Thu Apr 8 19:36:40 2004 UTC (11 years, 4 months ago) by fdrake
Original Path: Zope3/trunk
another example of packaging information

Revision 13528 - Directory Listing
Modified Thu Apr 8 15:34:03 2004 UTC (11 years, 4 months ago) by garrett
Original Path: Zope3/trunk
Added support for traversing pages on views without specifying '@@'.
Prior to this change, a page named 'foo.html' for a view (that was not
declared inside the 'view' element) would have to be traversed using
'view/@@foo.html'. Now it can also be traversed using the name directly,
as in 'view/foo.html'.

For additional clarification, refer to the test.

Revision 13527 - Directory Listing
Modified Thu Apr 8 14:41:17 2004 UTC (11 years, 4 months ago) by jim
Original Path: Zope3/trunk
Changed tests so that registration objects no-longer need to be
orderable, allowing us to get rid of __cmp__, which was only needed
for testing.

Revision 13526 - Directory Listing
Modified Thu Apr 8 14:04:02 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13525 - Directory Listing
Modified Thu Apr 8 13:09:35 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Corrected interface details URL.

Revision 13524 - Directory Listing
Modified Thu Apr 8 12:12:30 2004 UTC (11 years, 4 months ago) by hdima
Original Path: Zope3/trunk
Corrected URL's for apidoc

Revision 13523 - Directory Listing
Modified Thu Apr 8 08:31:31 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
'BrowserRequest.processInputs' long method was splitted into small parts.

Revision 13522 - Directory Listing
Modified Thu Apr 8 02:12:25 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Make use of new registrations() method for the adapter registry.

Revision 13521 - Directory Listing
Modified Wed Apr 7 22:10:34 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
make sure this C extension gets built

Revision 13520 - Directory Listing
Modified Wed Apr 7 22:06:16 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
start adding packaging metadata to the Zope tree

Revision 13519 - Directory Listing
Modified Wed Apr 7 21:38:14 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Take advantage of the fact that we can now include descriptive info in
registrations to include ZCML info.

Revision 13518 - Directory Listing
Modified Wed Apr 7 21:04:53 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
*** empty log message ***

Revision 13517 - Directory Listing
Modified Wed Apr 7 19:41:05 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
don't ignore imports in Python files with names starting with an
underscore

Revision 13516 - Directory Listing
Modified Wed Apr 7 19:18:58 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Implemented a new interface, IComponentRegistry, that defines a method,
registrations, for getting all of the registrations from a registry as
objects. This simple method is meant to replace getRegisteredMatching.

Revision 13515 - Directory Listing
Modified Wed Apr 7 19:18:56 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Defined a new interface, IComponentRegistry, that defines a method,
registrations, for getting all of the registrations from a registry as
objects. This simple method is meant to replace getRegisteredMatching.

Revision 13514 - Directory Listing
Modified Wed Apr 7 18:23:27 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
- fix typo
- remove trailing blank line

Revision 13513 - Directory Listing
Modified Wed Apr 7 17:59:21 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
Why did this code ever want to find ZODB or Persistence ???
I'm sure there was a reason, but I don't remember what it was.

Revision 13512 - Directory Listing
Modified Wed Apr 7 17:47:36 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
- ImportFinder.transition() should always ignore comments; this could
  accumulate comment text into the saved name in some cases
- add useful information to some assertion messages

Revision 13511 - Directory Listing
Modified Wed Apr 7 17:27:14 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
give a useful error instead of a traceback if the path passed to the
-d/--dir option does not exist

Revision 13510 - Directory Listing
Modified Wed Apr 7 15:13:01 2004 UTC (11 years, 5 months ago) by gintautasm
Original Path: Zope3/trunk
Removed an assertion which disallows usage of Zope3 i18n in XML markup.

Added a few test cases which run the new code path.

Revision 13509 - Directory Listing
Modified Wed Apr 7 14:36:48 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Fixed a broken and untested repr.  I thin kit was broken before I
broke it, but, perhaps, not so badly. :)

Revision 13508 - Directory Listing
Modified Tue Apr 6 21:12:17 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Graham Fawcett's changes made at the PyCon 2004 Zope 3 sprint:

- Run both unit and functional tests by default

- Provide long versions of all options

- Clean up some command line options:

From Graham:

"""
      -m
         is deprecated (in favour of -M).

-M and -U
         become the flags for minimal and full GUI. Equivalent to
         --minimal-gui and --gui, respectively.

-f
         unchanged; still specifies that only functional tests are to be
         run. Equivalent to --skip-unit.

-u
         changed; now specifies that only unit tests are to be run.
         Equivalent to the long name --skip-functional.

-F
         (run both unit and functional) is deprecated, since this is the
         default behaviour.

This is favourable to using -U and -F for the "unit" and "functional",
      because -F already has a meaning that's too similar. I would suggest
      that it's much better to "break" options that have immediate visual
      consequences (the appearance or lack of a GUI) rather than those which
      might be harder to detect (which subsets of tests are executed). Old-
      time users shouldn't have much difficulty adapting to the -U and -M
      options, I hope.
     """

- Added support for a configuration file to set default options.

Eventually, we'll, hopefully. be able to leverage this to make test.py
  usable for other projects (e.g. Zope 2 and ZODB).

Thanks Graham!

Revision 13507 - Directory Listing
Modified Tue Apr 6 20:58:18 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Changed the HTTP repr to not include an address.

Revision 13506 - Directory Listing
Modified Tue Apr 6 20:58:16 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added test cleanup.

Revision 13505 - Directory Listing
Modified Tue Apr 6 20:58:14 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Changed the test cleanup strategy which broke ftests.

Revision 13504 - Directory Listing
Modified Tue Apr 6 20:58:13 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Modified the _Engine function so that it's willing
to reinitialize an existing engine.

This was needed to get test cleanup to work sanely.

Revision 13503 - Directory Listing
Modified Tue Apr 6 20:58:11 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Moved the functional tests to zope.app, since they depend on zope.app.

Revision 13502 - Directory Listing
Modified Tue Apr 6 20:57:55 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Moved the functional tests to zope.app, since they depend on zope.app.

Added code to call the unit test cleanup routines to make sure things
are cleaned up as much as possible.

Revision 13501 - Directory Listing
Modified Tue Apr 6 19:25:15 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
allow the "zope" package to be multi-homed

Revision 13500 - Directory Listing
Modified Tue Apr 6 17:55:38 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Wrapped a too-long line.

Revision 13498 - Directory Listing
Modified Tue Apr 6 14:24:55 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
*** empty log message ***

Revision 13497 - Directory Listing
Modified Tue Apr 6 14:23:59 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Moved "fixing persistent interfaces" to the TODOLater list since it
isn't needed for X3.0.

Revision 13496 - Directory Listing
Modified Tue Apr 6 11:02:11 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Note about "Content-Type" header

Revision 13495 - Directory Listing
Modified Tue Apr 6 08:36:35 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13494 - Directory Listing
Modified Tue Apr 6 08:34:07 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
zope.pot updated

Revision 13493 - Directory Listing
Modified Mon Apr 5 19:44:07 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Make sure proxies give out the proxied object's __doc__.

Revision 13492 - Directory Listing
Modified Mon Apr 5 19:44:05 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Change to use interface __doc__ sttributes rather than getDoc method.

Revision 13491 - Directory Listing
Modified Mon Apr 5 19:44:03 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Use interface documentation as test.

Revision 13490 - Directory Listing
Modified Mon Apr 5 19:44:01 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Removed lame getName, and getDoc. (Use __name__ and __doc__ instead.)

Removed lame getDescriptionFor. (Use __getitem__ instead.)

Removed lame queryDescriptionFor. (Use get instead.)

Fixed missformated docstring.

Revision 13489 - Directory Listing
Modified Mon Apr 5 19:43:59 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added an exception handler for access to __bases__ to give a more
informative error when trying to get implements declarations for non
classes.

Revision 13488 - Directory Listing
Modified Mon Apr 5 19:43:57 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Fixed a bug that caused segfaults.  Added a missing check for a null
return.

Revision 13487 - Directory Listing
Modified Mon Apr 5 19:43:51 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added some newlines to improve readability, since this is now
referenced as an example from docs.

Revision 13486 - Directory Listing
Modified Mon Apr 5 19:43:44 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Interface documentation,

Revision 13485 - Directory Listing
Modified Mon Apr 5 19:43:43 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Changed the hack for non-classes to use a TypeError.  This needs to be
cleared up eventually by allowing implementation declarations for non
classes.

Revision 13484 - Directory Listing
Modified Mon Apr 5 19:43:41 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Factored function to compute a test suite from a .txt file into a
separate module.

Revision 13483 - Directory Listing
Modified Mon Apr 5 08:16:03 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Update "Content-Type" header with charset definition if necessary.

Revision 13482 - Directory Listing
Modified Mon Apr 5 08:10:30 2004 UTC (11 years, 5 months ago) by gintautasm
Original Path: Zope3/trunk
Comment references ITranslationService which does not seem to exist.

Revision 13481 - Directory Listing
Modified Sat Apr 3 07:26:10 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
add a comment

Revision 13480 - Directory Listing
Modified Fri Apr 2 22:39:38 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
correct and clean up a comment

Revision 13479 - Directory Listing
Modified Fri Apr 2 17:07:59 2004 UTC (11 years, 5 months ago) by tim_one
Original Path: Zope3/trunk
PythonPage test:  the bit trying to test that Windows line ends work was
actually testing a mix of Macintosh Classic and Unix line ends.

Revision 13478 - Directory Listing
Modified Fri Apr 2 15:33:57 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Updated documentation.

Finally fixed test failure in Windows. It turns out that Windows did the
right thing, while the Linux Python version seems to have a bug. I changed
the test enough, so that it does not depend on the string representation
of the SyntaxError.

Revision 13477 - Directory Listing
Modified Fri Apr 2 15:28:34 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Added Mount.py to the list of modules that should not be looked at.

Revision 13476 - Directory Listing
Modified Fri Apr 2 14:03:29 2004 UTC (11 years, 5 months ago) by mgedmin
Original Path: Zope3/trunk
s/__meta_class__/__metaclass__/

Revision 13475 - Directory Listing
Modified Fri Apr 2 13:57:45 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13474 - Directory Listing
Modified Fri Apr 2 13:54:20 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Shortened URL.

Revision 13473 - Directory Listing
Modified Fri Apr 2 13:50:04 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Added simple README for instance-based event subscribers.  Still needs an example or two, I think.

Revision 13472 - Directory Listing
Modified Fri Apr 2 13:34:05 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk
Removing the advanced April Fools package.

Revision 13471 - Directory Listing
Modified Fri Apr 2 12:53:05 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Added DocFileSuite to allow for easy inclusion of README.txt in tests.py suites.

Revision 13470 - Directory Listing
Modified Fri Apr 2 08:28:41 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Fix doctest

Revision 13469 - Directory Listing
Modified Fri Apr 2 08:21:32 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Deleted 'Mount.py' from the rootModules list. Since the 'Mount.py' is not a root
module the ClassModule can't import it.

Revision 13468 - Directory Listing
Modified Fri Apr 2 01:45:07 2004 UTC (11 years, 5 months ago) by tim_one
Original Path: Zope3/trunk
In the test for class Module:  repaired Windows-specific test failure.
Also changed to use newer "str1 in str2" Python idiom instead of
str2.find(str1) > 0.

Revision 13467 - Directory Listing
Modified Fri Apr 2 01:17:21 2004 UTC (11 years, 5 months ago) by tim_one
Original Path: Zope3/trunk
_getFactoryData():  Repaired Windows-specific test failure.

Revision 13466 - Directory Listing
Modified Fri Apr 2 00:50:18 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Do not look at ZODB/Mount.py, since it has an aweful dependency on
Acquisition.

Revision 13465 - Directory Listing
Modified Fri Apr 2 00:45:42 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Forgot to import warn function.

Revision 13464 - Directory Listing
Modified Thu Apr 1 21:09:04 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
*** empty log message ***

Revision 13463 - Directory Listing
Modified Thu Apr 1 19:21:59 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
We were using super in subclasses of AdvancedSuperClass; obviously that
did not work since it is not a new-style class. Thus, made it inherit
from object to fix that.

Revision 13462 - Directory Listing
Modified Thu Apr 1 19:20:52 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Cleanup

Revision 13461 - Directory Listing
Modified Thu Apr 1 18:45:02 2004 UTC (11 years, 5 months ago) by faassen
Original Path: Zope3/trunk
Testing strategy was too simplistic. Remove these tests; we will check in
more extensive tests later.

Revision 13460 - Directory Listing
Modified Thu Apr 1 18:35:21 2004 UTC (11 years, 5 months ago) by sidnei
Original Path: Zope3/trunk
Fix some typoes

Revision 13459 - Directory Listing
Modified Thu Apr 1 18:33:26 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Acquisition is not available yet

Revision 13458 - Directory Listing
Modified Thu Apr 1 18:29:00 2004 UTC (11 years, 5 months ago) by sidnei
Original Path: Zope3/trunk
Ops, missed some files.

Revision 13457 - Directory Listing
Modified Thu Apr 1 18:26:43 2004 UTC (11 years, 5 months ago) by sidnei
Original Path: Zope3/trunk
Make a query helper that uses Implicit acquisition, as well as making the acquisition package be importable. With tests.

Revision 13456 - Directory Listing
Modified Thu Apr 1 18:12:05 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Final HEAD checkin of Factory Support. For detailed messages
during the development, see the faassen-advancequery-branch.

Revision 13455 - Directory Listing
Modified Thu Apr 1 18:09:35 2004 UTC (11 years, 5 months ago) by sidnei
Original Path: Zope3/trunk
Add option for reading only python files

Revision 13454 - Directory Listing
Modified Thu Apr 1 17:50:19 2004 UTC (11 years, 5 months ago) by faassen
Original Path: Zope3/trunk
Importchecker detected a missing import.

Revision 13453 - Directory Listing
Modified Thu Apr 1 17:44:57 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Provide a browser view for Undo. This hooks into the new Undo model I
implemented last week. See http://dev.zope.org/Zope3/SimplifyUndoModel
for more information.

Revision 13452 - Directory Listing
Modified Thu Apr 1 17:40:49 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
typo.

Revision 13451 - Directory Listing
Modified Thu Apr 1 17:33:31 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Provided a properties browser page. This is to set some of the properties
of the persistent query tool. Not sure yet whether this is the right
approach, though.

Revision 13450 - Directory Listing
Modified Thu Apr 1 17:30:38 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Cleanup.

Revision 13449 - Directory Listing
Modified Thu Apr 1 17:27:38 2004 UTC (11 years, 5 months ago) by faassen
Original Path: Zope3/trunk
Using the new binding selection algorithm we can simplify event subscription
for this package. The management UI can therefore be a lot simpler than
we first anticipated in the discussion with Jim and Steve.

Revision 13448 - Directory Listing
Modified Thu Apr 1 17:25:22 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Provide a view for advanced queries. One may now specify a *class* for
the data records. This class must be defined in a module that must be
configured using a dotted name in ZCML.

Revision 13447 - Directory Listing
Modified Thu Apr 1 17:23:28 2004 UTC (11 years, 5 months ago) by faassen
Original Path: Zope3/trunk
Added XXX comment so we can replace tihs with a list comprehesnion later.

Revision 13446 - Directory Listing
Modified Thu Apr 1 17:21:56 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Provide docstring and doctests for the query mechanism.

Revision 13445 - Directory Listing
Modified Thu Apr 1 17:20:32 2004 UTC (11 years, 5 months ago) by faassen
Original Path: Zope3/trunk
Distribution mechanism for Zope 3 packages. This has:

  * coexistence adapter to IAdvancedQueryMechanism.

  * a few transformations for backwards compatibility

  * UI for ++site++/distribution/service_manager/registrations/bindings

Revision 13444 - Directory Listing
Modified Thu Apr 1 17:15:50 2004 UTC (11 years, 5 months ago) by faassen
Original Path: Zope3/trunk
Whitespace.

Revision 13443 - Directory Listing
Modified Thu Apr 1 17:13:54 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Provided a small README file. People wanting more information should go
to the Wiki page.

Revision 13442 - Directory Listing
Modified Thu Apr 1 17:12:25 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Implemented query mechanisms needed to support compatability. Provided
AdvancedSuperClass for custom implementations to subclass. This will ease
customization.

Revision 13441 - Directory Listing
Modified Thu Apr 1 17:09:25 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Started the package with an __init__.py; this just checks for XML imports.

Revision 13440 - Directory Listing
Modified Thu Apr 1 15:45:31 2004 UTC (11 years, 5 months ago) by redomino
Original Path: Zope3/trunk
italian translation

Revision 13439 - Directory Listing
Modified Thu Apr 1 14:39:51 2004 UTC (11 years, 5 months ago) by redomino
Original Path: Zope3/trunk
italian translation

Revision 13438 - Directory Listing
Modified Thu Apr 1 14:36:53 2004 UTC (11 years, 5 months ago) by redomino
Original Path: Zope3/trunk
*** empty log message ***

Revision 13437 - Directory Listing
Modified Thu Apr 1 13:20:27 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13434 - Directory Listing
Modified Thu Apr 1 13:18:59 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
zope.pot updated with new messages to translate

Revision 13430 - Directory Listing
Modified Thu Apr 1 03:56:55 2004 UTC (11 years, 5 months ago) by jeremy
Original Path: Zope3/trunk
Merge the jeremy-txn-branch to the head.

This branch introduces a new transaction API.  The key features are:
  - top-level functions in transaction -- get(), commit(), abort()
  - explicit transaction manager objects
  - Transaction objects are used for exactly one transaction
  - support for transaction synchronizers

The changes here are still provisional, but we want to get them off an
obscure branch and onto the head for further development.

Revision 13429 - Directory Listing
Modified Wed Mar 31 23:35:41 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Changed a getFactory call to a getUtility call to avoid a deprecation
warning.

Revision 13428 - Directory Listing
Modified Wed Mar 31 23:26:26 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Rearranged the signatures of getMultiView and queryMultiView by moving
the name argument after the providing argument and making the name
optional. This makes multi-views more adapter-like. Multi-view lookup
by interface will be much more common than lookup by name (or name and
interfaace).

Revision 13427 - Directory Listing
Modified Wed Mar 31 22:34:11 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
make it possible to run "make" here and get HTML for more of the documents;
some are still not reStructuredText so convert strangely

Revision 13426 - Directory Listing
Modified Wed Mar 31 22:31:05 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
really minor tweaks

Revision 13425 - Directory Listing
Modified Wed Mar 31 22:30:23 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
update Python version number required

Revision 13424 - Directory Listing
Modified Wed Mar 31 14:18:13 2004 UTC (11 years, 5 months ago) by gintautasm
Original Path: Zope3/trunk
Fixed a typo.

Revision 13423 - Directory Listing
Modified Wed Mar 31 14:12:21 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
The translation template updated

Revision 13422 - Directory Listing
Modified Wed Mar 31 14:07:33 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13421 - Directory Listing
Modified Tue Mar 30 23:04:49 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Fixed failing test. Even an innocent template change can make a functional
test fail. So, always run tests afater a change.

Revision 13420 - Directory Listing
Modified Tue Mar 30 22:01:34 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Began the deprecation of the Type and Implementor registries.
These functions are now provided by adapter registries.

Revision 13419 - Directory Listing
Modified Tue Mar 30 21:47:50 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Moved tests for ObserverEvent event channel into zope.app.observable.

Revision 13418 - Directory Listing
Modified Tue Mar 30 21:47:46 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Moved observable event channel registration into zope/app/observable/configure.zcml

Revision 13417 - Directory Listing
Modified Tue Mar 30 21:47:42 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Added include for zope.app.observable.

Revision 13416 - Directory Listing
Modified Tue Mar 30 21:47:38 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Moved ObserverEvent event channel out of zope.app.event into zope.app.observable.

Revision 13415 - Directory Listing
Modified Tue Mar 30 21:47:31 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Created configuration to register Observable event channel.

Revision 13414 - Directory Listing
Modified Tue Mar 30 21:40:02 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Fixed some bugs in the debugger.

Revision 13413 - Directory Listing
Modified Tue Mar 30 21:40:00 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added an api to the adapter registry to get all of the names and
values registered for given required and provided interfaces.  This is
used to get all of the names for a given type of adapter.  This will
be handy for creating menus and for documentation purposes.

Revision 13412 - Directory Listing
Modified Tue Mar 30 14:21:18 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13411 - Directory Listing
Modified Tue Mar 30 14:13:57 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Merging observable-branch.

Revision 13410 - Directory Listing
Modified Tue Mar 30 14:13:24 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Merging observable-branch
(added subscriber ZCML directive.)

Revision 13409 - Directory Listing
Modified Tue Mar 30 14:13:21 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Marked instance and type-based subscriptions complete.

Revision 13408 - Directory Listing
Modified Tue Mar 30 14:13:17 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Updated to reflect instance-based subscriptions

Revision 13407 - Directory Listing
Modified Tue Mar 30 09:26:17 2004 UTC (11 years, 5 months ago) by gotcha
Original Path: Zope3/trunk
 added a link to the apidoc home page

Revision 13406 - Directory Listing
Modified Tue Mar 30 09:24:28 2004 UTC (11 years, 5 months ago) by gotcha
Original Path: Zope3/trunk
typo

Revision 13405 - Directory Listing
Modified Tue Mar 30 09:16:20 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
More publisher/http.py optimizations. Tests for request.URL.get() added.

Revision 13404 - Directory Listing
Modified Tue Mar 30 02:01:43 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Store the factory that represents the adapter as a function attribute, named
'factory'. This way the documentation can be much better.

Revision 13403 - Directory Listing
Modified Tue Mar 30 02:01:38 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Functions are now available via the class module. So reference them correctly.



Use new pprint function for doc tests.

Revision 13402 - Directory Listing
Modified Tue Mar 30 02:01:24 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Remove unnecessary import.

Revision 13401 - Directory Listing
Modified Tue Mar 30 02:01:18 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Make use of the new zope.app.apidoc.tests.pprint function.

Revision 13400 - Directory Listing
Modified Tue Mar 30 02:01:07 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fixed up some wording.



The utility name might not be the one we use for the URL. Fixed that.

Revision 13399 - Directory Listing
Modified Tue Mar 30 02:00:59 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

If the factory of an adapter is not a simple class, let's try to be smarter
about guessing the true adapter class.



Make use of the new zope.app.apidoc.tests.pprint function.



Differentiate between the utility name and name used in the URL.

Revision 13398 - Directory Listing
Modified Tue Mar 30 02:00:54 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added convenience method to create a details view for functions.



Reactivated tests.

Revision 13397 - Directory Listing
Modified Tue Mar 30 02:00:50 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added a details view for functions.

Revision 13396 - Directory Listing
Modified Tue Mar 30 02:00:40 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Changed the module overview to also handle functions.

Revision 13395 - Directory Listing
Modified Tue Mar 30 02:00:29 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added a set of functional tests for functions.

Revision 13394 - Directory Listing
Modified Tue Mar 30 02:00:25 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Add security assertion and view registration for functions.



Register views for interfaces instead of classes.

Revision 13393 - Directory Listing
Modified Tue Mar 30 02:00:20 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added function details view.



Make use of the new zope.app.apidoc.tests.pprint function.

Revision 13392 - Directory Listing
Modified Tue Mar 30 02:00:14 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implemented Function class that allows to show functions of modules. Functions
are part of the API and they deserve to be available for display.



Make use of the new zope.app.apidoc.tests.pprint function.

Revision 13391 - Directory Listing
Modified Tue Mar 30 01:59:59 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Made body font size absolute to 0.8em.



Increased font size for code and pre, so that it looks better in Mozilla.

Revision 13390 - Directory Listing
Modified Tue Mar 30 01:59:54 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed pprintDict() helper function to make place for pprint(), which works
similar, but is more general. This function could actually move to
zope.testing.doctestunit.

Revision 13389 - Directory Listing
Modified Tue Mar 30 01:59:47 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Remove gts entries. defaultLanguage is gone and registerTranslations moved to
i18n.

Revision 13388 - Directory Listing
Modified Mon Mar 29 22:24:57 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Deactivated non-deterministic tests.

Revision 13387 - Directory Listing
Modified Mon Mar 29 21:33:57 2004 UTC (11 years, 5 months ago) by jeremy
Original Path: Zope3/trunk
typos

Revision 13384 - Directory Listing
Modified Mon Mar 29 15:09:08 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Support handler and print the information in the STX files.

Revision 13383 - Directory Listing
Modified Mon Mar 29 15:09:05 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Support handler in data structure.

Revision 13382 - Directory Listing
Modified Mon Mar 29 15:08:58 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Ripped out more usage code.

Revision 13381 - Directory Listing
Modified Mon Mar 29 15:08:50 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Show the handler when sensible.



Show more file info, such as lines and columns.



"Info" section is now only shown, if the info is text.

Revision 13380 - Directory Listing
Modified Mon Mar 29 15:08:46 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Add handler attribute to security.

Revision 13379 - Directory Listing
Modified Mon Mar 29 15:08:42 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Support handler in data structure.



Rename getFile() to getFileInfo() and return a dictionary containing line and
column information as well.



Restructured getInfo() so that it only returns the info value when it is a
string.



Implemented getHandler() to return the path and URL of the handler. If the
handler is a function, the link will point to the containing module.



Fix tests.

Revision 13378 - Directory Listing
Modified Mon Mar 29 15:08:34 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Use relativisePath() for showing relative instead of absolute template file
paths.

Revision 13377 - Directory Listing
Modified Mon Mar 29 15:08:30 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fix Links.

Revision 13376 - Directory Listing
Modified Mon Mar 29 15:08:26 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added new relativisePath() method, which converts absolute paths to Zope 3
source tree relative paths.

Revision 13375 - Directory Listing
Modified Mon Mar 29 15:08:22 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Updated ZCML documentation. The files now contain information about the handler.

Revision 13374 - Directory Listing
Modified Mon Mar 29 14:23:36 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Some publisher/http.py optimizations. parse_cookie() rewriten without recursion.

Revision 13373 - Directory Listing
Modified Mon Mar 29 10:36:26 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Note about Content-Length fix added

Revision 13372 - Directory Listing
Modified Mon Mar 29 09:53:22 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Content-Length test added

Revision 13371 - Directory Listing
Modified Mon Mar 29 05:27:49 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fix bugs with security proxies. Showing methods and attributes works again
finally.

Revision 13370 - Directory Listing
Modified Mon Mar 29 05:12:38 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Ripped out some leftover usage code.

Revision 13369 - Directory Listing
Modified Mon Mar 29 05:12:34 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Add a function attribute to proxyView, so that we know about the factory being
used, which is interesting for documentation.

Revision 13368 - Directory Listing
Modified Mon Mar 29 05:12:30 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Add support for showing the view's 'provided' interface.



If the view has no name, it now says 'no name' instead of being blank.

Revision 13367 - Directory Listing
Modified Mon Mar 29 05:12:26 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Add support for showing the view's 'provided' interface. Fixed tests
accordingly.



If the view has no name, it now says 'no name' instead of being blank.



Now that the proxyView function has a factory attribute, let's use it to get
factory information.



Also, use the SimpleView's first base as the factory class.



Simplification of _getFactoryData().



Only show the template path relative to the Zope 3 path and not the entire
real path.

Revision 13366 - Directory Listing
Modified Mon Mar 29 00:39:56 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Implemented automatic class registry cleanup.

Revision 13365 - Directory Listing
Modified Sun Mar 28 23:42:28 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Subscription support is not implemented in the adapter registry's
getRegisteredMatching() method. However, we alreay have subscriptions, which
broke the method completely for any call. Commented out the raising of the
'NotImplementedError' and added a TODO item.

Revision 13364 - Directory Listing
Modified Sun Mar 28 23:42:23 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Remove not-needed backslashes.

Revision 13363 - Directory Listing
Modified Sun Mar 28 23:42:19 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added tests.

Revision 13362 - Directory Listing
Modified Sun Mar 28 23:42:11 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added doc string to __init__() method.

Revision 13361 - Directory Listing
Modified Sun Mar 28 23:42:07 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Remove usage support. Usage has evaporated into a black hole.

Revision 13360 - Directory Listing
Modified Sun Mar 28 23:41:59 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fixed links to other modules.

Revision 13359 - Directory Listing
Modified Sun Mar 28 23:41:43 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added tests.



Fixed view factory data extractor.



Only the global Presentation Service has getRegisteredMatching(), so we can
only use it for now. :(



Adjusted code to expect only one factory for views, instead of a list.

Revision 13358 - Directory Listing
Modified Sun Mar 28 23:41:39 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added tests.



Remove usage support. Usage has evaporated into a black hole.

Revision 13357 - Directory Listing
Modified Sun Mar 28 23:41:27 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Corrected link to other doc module.

Revision 13356 - Directory Listing
Modified Sun Mar 28 23:41:23 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added tests.



Fixed creation of InterfaceDetails view.

Revision 13355 - Directory Listing
Modified Sun Mar 28 23:41:16 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Cleaned up doc tests and doc strings.



Now all utility services are searched. getRegisteredMatching() only considers
the calling service and not the ones higher up.

Revision 13354 - Directory Listing
Modified Sun Mar 28 23:41:04 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fix link to other doc module.

Revision 13353 - Directory Listing
Modified Sun Mar 28 23:41:00 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added tests.



The service implementations return a path and a partial URL for class.

Revision 13352 - Directory Listing
Modified Sun Mar 28 23:40:56 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Use 'servicenames' module for service names.

Revision 13351 - Directory Listing
Modified Sun Mar 28 23:40:44 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added and cleaned up tests.

Revision 13350 - Directory Listing
Modified Sun Mar 28 23:40:40 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fix links to other doc modules.



Add classes section.

Revision 13349 - Directory Listing
Modified Sun Mar 28 23:40:36 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added tests.



Improve factory detection and URL computation.



Use new class registry to find a list of all classes that implement the
interface.



Fix factories finder.



Better utility info computation.

Revision 13348 - Directory Listing
Modified Sun Mar 28 23:40:32 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Cleanup tests.

Revision 13347 - Directory Listing
Modified Sun Mar 28 23:40:28 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Chose better name for module details page template.

Revision 13346 - Directory Listing
Modified Sun Mar 28 23:40:20 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Chose better name for class details page template.

Revision 13345 - Directory Listing
Modified Sun Mar 28 23:40:00 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

We now support a new way of finding classes by partial path names. Entries
that are matched are listed in the menu.

Revision 13344 - Directory Listing
Modified Sun Mar 28 23:39:56 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Adjust directives to use new template files.



Views moved to module and class objects directly.

Revision 13343 - Directory Listing
Modified Sun Mar 28 23:39:52 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added tests.



Added Menu view class to support the search for classes by partial path.



Moved a lot of the module and class introspection into the module classes.



Sorting entries into columns moved to utilities.

Revision 13342 - Directory Listing
Modified Sun Mar 28 23:39:48 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added tests.



Added interfaces for objects representing modules and classes.



Implemented class registry. It is efficiently filled when the class module
hierarchy is built using sys.modules for module lookup, unless it has not been
imported.



All class and module introspection methods moved into the representation
objects.

Revision 13341 - Directory Listing
Modified Sun Mar 28 23:39:44 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Make more explicit link.

Revision 13340 - Directory Listing
Modified Sun Mar 28 23:39:40 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Use macros correctly, so that we will not get two body tags.

Revision 13339 - Directory Listing
Modified Sun Mar 28 23:39:36 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Made API Doc view class more obvious.

Revision 13338 - Directory Listing
Modified Sun Mar 28 23:39:28 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Minor improvements.



Added '.highlight' class.

Revision 13337 - Directory Listing
Modified Sun Mar 28 23:39:24 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

New columnize() function that puts list entries into columns.



getPermissionIds() can now detect public checkers.

Revision 13336 - Directory Listing
Modified Sun Mar 28 23:39:20 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added tests.



Added convinience function for converting a dict to a tuple and pretty-print
it.

Revision 13335 - Directory Listing
Modified Sun Mar 28 23:39:08 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Cleaned up tests.

Revision 13334 - Directory Listing
Modified Sat Mar 27 14:17:17 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk
Fixed typo--changed it's to its--to clarify meaning.

Revision 13333 - Directory Listing
Modified Sat Mar 27 02:31:49 2004 UTC (11 years, 5 months ago) by garrett
Original Path: Zope3/trunk
Added support for rounding formatted numbers. E.g. 1.49 formatted with
the pattern "0.0" should be "1.5" -- not "1.4".

Revision 13332 - Directory Listing
Modified Fri Mar 26 20:12:09 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
update some package names

Revision 13331 - Directory Listing
Modified Fri Mar 26 15:20:32 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Russian translation updated

Revision 13330 - Directory Listing
Modified Fri Mar 26 14:56:22 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Fix for Content-Length

Revision 13329 - Directory Listing
Modified Thu Mar 25 14:37:11 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Changes:

- RuntimeInfo updated
- PythonPage bug: 'compile() don't accept "\r"'
- Russian translation updated

Revision 13328 - Directory Listing
Modified Thu Mar 25 13:47:53 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Renamed the -m option to -d because what you were really specifying was
a directory path. Added an -m option for a dotted module name. Now you
can do:

  utilities/finddeps -m zope.pagetemplate

is equal to

  utilities/finddeps -d src/zope/pagetemplate

Revision 13327 - Directory Listing
Modified Wed Mar 24 20:05:51 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Checked in source code for the short programmer's tutorial.

I checked this in as a top-level package, because that's how the demo
wants to be installed.  This will probably be appropriate for lots of
demo apps.

Revision 13326 - Directory Listing
Modified Wed Mar 24 12:44:50 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
RuntimeInfo changes

Revision 13325 - Directory Listing
Modified Wed Mar 24 11:32:35 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
- zope.pot updated
- Russian translation updated

Revision 13324 - Directory Listing
Modified Wed Mar 24 11:13:15 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
RuntimeInfo changes:

- new method: getFileSystemEncoding()
- getPythonPath() now returns unicode strings

Revision 13323 - Directory Listing
Modified Wed Mar 24 10:21:11 2004 UTC (11 years, 5 months ago) by gintautasm
Original Path: Zope3/trunk
Typos.

Revision 13322 - Directory Listing
Modified Tue Mar 23 22:44:28 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk
Update tasks related to instance and type-based subscriptions.

Revision 13321 - Directory Listing
Modified Tue Mar 23 22:09:40 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Rip out usage everwhere.

Revision 13320 - Directory Listing
Modified Tue Mar 23 22:08:29 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implement aliases for macros.

Revision 13319 - Directory Listing
Modified Tue Mar 23 22:08:25 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

do not use usage 'anymore', but 'macroname'.

Revision 13318 - Directory Listing
Modified Tue Mar 23 22:08:17 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Rip out usage everywhere.

Revision 13317 - Directory Listing
Modified Tue Mar 23 22:07:55 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Use the right macro for the purpose of the view.

Revision 13316 - Directory Listing
Modified Tue Mar 23 22:07:38 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Ripped out usage.

Revision 13314 - Directory Listing
Modified Tue Mar 23 21:00:25 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk
Added my name to list of contributors.

Revision 13309 - Directory Listing
Modified Tue Mar 23 19:19:27 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Implemented macroname.

Revision 13308 - Directory Listing
Modified Tue Mar 23 19:18:17 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added getValue(name, default) to engine.

Revision 13307 - Directory Listing
Modified Tue Mar 23 19:18:15 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Macro name is stored in reserved varaibale name 'macroname'.

Revision 13306 - Directory Listing
Modified Tue Mar 23 16:37:23 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Removed crufty imports, declarations about IAddNotified and IRemoveNotified
interfaces.

Revision 13305 - Directory Listing
Modified Tue Mar 23 16:37:17 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Fixed bug in subscriber declaration.

Revision 13304 - Directory Listing
Modified Tue Mar 23 16:37:15 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Removed IAddNotified, IRemoveNotified and IMoveNotified interfaces.

Revision 13303 - Directory Listing
Modified Tue Mar 23 16:37:12 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Updated to reflect implementation of type based event subscriptions.

Revision 13302 - Directory Listing
Modified Tue Mar 23 16:29:20 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Added deactivated test, so me and Fred can look at a test case of what we
want to do.

Revision 13301 - Directory Listing
Modified Tue Mar 23 16:18:01 2004 UTC (11 years, 5 months ago) by maru
Original Path: Zope3/trunk

Removed reference to IRemoveNotifiable and IAddNotifiable from setitem and
uncontained.  Remove and add events will now be handled by explicit
event subscribers.

Revision 13300 - Directory Listing
Modified Tue Mar 23 15:52:27 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk

Refactored Catalog, refactoring IAddNotifiable and IRemoveNotifiable
to use subscriber events.

Revision 13299 - Directory Listing
Modified Tue Mar 23 15:52:14 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

not needed anymore and you could not test the actual shutdown and restart
anyways.

Revision 13298 - Directory Listing
Modified Tue Mar 23 15:52:13 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added ServerControl utility that is specific to zope.server. It does not
really belong anywhere else.



No tests, sorry. If you have a clue how to test this, please let me know!

Revision 13297 - Directory Listing
Modified Tue Mar 23 15:52:12 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Ripped out old shutdown hook code. Replaced code by better utility-based
model.



There are some to-do's missing, such as creating events, allowing graceful
shutdown and restart and so on. It's in TODOLATER.txt.

Revision 13296 - Directory Listing
Modified Tue Mar 23 15:52:07 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Cleanup.

Revision 13295 - Directory Listing
Modified Tue Mar 23 15:52:06 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Get rid of useless adapter and do all the work in a view.

Revision 13294 - Directory Listing
Modified Tue Mar 23 15:52:02 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Provide a good functional test for the ZODB control.



Remove useless adapter.

Revision 13293 - Directory Listing
Modified Tue Mar 23 15:52:00 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Do ZODB control correctly using API calls. Yipee!

Revision 13292 - Directory Listing
Modified Tue Mar 23 15:51:58 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Ripping out shutdown hook directive and code. We can do much better using
events later.

Revision 13291 - Directory Listing
Modified Tue Mar 23 15:51:56 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Add server configuration

Revision 13290 - Directory Listing
Modified Tue Mar 23 15:51:52 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implemented zdaemon, restart and shutdown.

Revision 13289 - Directory Listing
Modified Tue Mar 23 15:51:49 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Configuration file for zdaemon. Fred should merge this into zope.conf at some
point. The problem is that both mechanisms define an eventlog section.

Revision 13288 - Directory Listing
Modified Tue Mar 23 15:51:48 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added 'runners' command that builds the various Zope runners in bin.

Revision 13287 - Directory Listing
Modified Tue Mar 23 15:15:06 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk

Converted the use of IAddNotifiable and IRemoveNotifiable to the use
of subscriber adapters.

Revision 13286 - Directory Listing
Modified Tue Mar 23 15:15:02 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk

Added subscriber directives for SimpleRegistration,
ComponentRegistration, and Registration Manager.

Revision 13285 - Directory Listing
Modified Tue Mar 23 13:38:10 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
zope.pot updated

Revision 13284 - Directory Listing
Modified Tue Mar 23 13:35:09 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
RuntimeInfo changes:
- new method: getPreferredEncoding()
- getSystemPlatform(), getPythonVersion() now returns an unicode strings encoded
  with the preferred system encoding

Revision 13283 - Directory Listing
Modified Tue Mar 23 09:11:16 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
i18nextract.py updates:
- search for base dir now going from right to left;
- search path information is printing before processing files;
- sys.path patching now goes before all imports from zope package;

Revision 13282 - Directory Listing
Modified Tue Mar 23 08:58:03 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
updated german translation

Revision 13281 - Directory Listing
Modified Tue Mar 23 08:50:49 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
regenerated POT

Revision 13280 - Directory Listing
Modified Tue Mar 23 00:23:12 2004 UTC (11 years, 5 months ago) by maru
Original Path: Zope3/trunk

Added subscribe method that enables registration of subscription adapters.

Revision 13279 - Directory Listing
Modified Tue Mar 23 00:23:11 2004 UTC (11 years, 5 months ago) by maru
Original Path: Zope3/trunk

Replaced implementation of IRemoveNotifiable and IAddedNotifiable with object
subscribers for object remove and add events on PageRegistration objects.

Revision 13278 - Directory Listing
Modified Tue Mar 23 00:23:08 2004 UTC (11 years, 5 months ago) by maru
Original Path: Zope3/trunk

Replaced implementation of IRemoveNotifiable with an object subscriber for
object remove events on PluggableAuthenticationService objects.

Revision 13277 - Directory Listing
Modified Mon Mar 22 22:31:49 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk
Added 'provides' as a required parameter to the subscriber directive.

Revision 13276 - Directory Listing
Modified Mon Mar 22 17:44:50 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk

Added tests for subscriber directive.

Revision 13275 - Directory Listing
Modified Mon Mar 22 17:44:48 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk

Added ISubscriber schema.

Revision 13274 - Directory Listing
Modified Mon Mar 22 17:44:46 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk

Implemented subscriber directive.

Revision 13273 - Directory Listing
Modified Mon Mar 22 17:44:43 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk

Added subscriber directive.

Revision 13272 - Directory Listing
Modified Mon Mar 22 17:44:41 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk

Implemented subscriber ZCML directive.

Revision 13271 - Directory Listing
Modified Mon Mar 22 15:49:24 2004 UTC (11 years, 5 months ago) by mmceahern
Original Path: Zope3/trunk
Add details to the Instance and Type-based subscription task.

Revision 13270 - Directory Listing
Modified Mon Mar 22 14:45:24 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
- Updated Russian translation
- Updated zope.pot
- Updated/corrected TRANSLATE.txt

Revision 13269 - Directory Listing
Modified Mon Mar 22 08:47:54 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Cleanup this totally fubared template. Telling administrators that "you
can do stuff and some of this stuff is good" really doesn't qualify for
a good UI. Also, whoever worked on this must have been a total i18n
ignorant. We really need i18n guidelines (and a punishment system, if you
ask me! :))

Revision 13268 - Directory Listing
Modified Mon Mar 22 00:54:55 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fixed test.

Revision 13267 - Directory Listing
Modified Mon Mar 22 00:54:54 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Updated to reflect reality.

Revision 13266 - Directory Listing
Modified Mon Mar 22 00:52:28 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added tests for servicetool directive.

Revision 13265 - Directory Listing
Modified Mon Mar 22 00:52:27 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implemented support for Add, Delete, Rename, Activate, Deactivate.



Implemented servicetool support.

Revision 13264 - Directory Listing
Modified Mon Mar 22 00:52:26 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implemented support for Add, Delete, Rename, Activate, Deactivate.

Revision 13263 - Directory Listing
Modified Mon Mar 22 00:52:24 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added servicetool directive; removed view factories in favor of type based
classes.

Revision 13262 - Directory Listing
Modified Mon Mar 22 00:52:23 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added servicetool directive.

Revision 13261 - Directory Listing
Modified Mon Mar 22 00:52:22 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
*** empty log message ***

Revision 13260 - Directory Listing
Modified Mon Mar 22 00:52:17 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added tool directive for local Tools UI.

Revision 13259 - Directory Listing
Modified Mon Mar 22 00:52:12 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Finished implementation of Tools Management UI.

Revision 13258 - Directory Listing
Modified Mon Mar 22 00:52:10 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implemented tests for utility tool management UI.

Revision 13257 - Directory Listing
Modified Sun Mar 21 17:41:00 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Updated German translation.

Revision 13256 - Directory Listing
Modified Sun Mar 21 17:40:43 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Regenerated translate template file after all the restructuring and new
features.

Translators: Merge with your local zope.po file and start translating
those fuzzy and untranslated ids! :)

Revision 13255 - Directory Listing
Modified Sun Mar 21 17:33:33 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
SimplifyUndoModel is done.

Revision 13254 - Directory Listing
Modified Sun Mar 21 17:20:32 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Provide tests for Prefix

Revision 13253 - Directory Listing
Modified Sun Mar 21 17:20:28 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Implement steps 4 and 5 of
http://dev.zope.org/Zope3/SimplifyUndoModel:



- Provided new interfaces IUndo, IPrincipalUndo, IUndoManager



- Changed ZODBUndoManager to implement IUndoManager.



- Implemented a new UI for ZODBUndoManager

Revision 13252 - Directory Listing
Modified Sun Mar 21 17:20:24 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Log extra request information in the extended 'request_info'
attribute, which is commonly used by HTTP and FTP publications now.

Revision 13251 - Directory Listing
Modified Sun Mar 21 17:09:43 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added queryType into ZAPI.

Revision 13250 - Directory Listing
Modified Sun Mar 21 17:09:41 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implemented ToolBacklink view for tool backlink generation.

Revision 13249 - Directory Listing
Modified Sun Mar 21 17:09:40 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added view for tools backlink.

Revision 13248 - Directory Listing
Modified Sun Mar 21 17:09:39 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Remove all proxies on objects before querying their type.

Revision 13247 - Directory Listing
Modified Sun Mar 21 17:09:36 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implemented tool backlink generation.

Revision 13246 - Directory Listing
Modified Sun Mar 21 17:09:33 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implemented test for backlink generation.

Revision 13245 - Directory Listing
Modified Sun Mar 21 16:59:45 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Try to get a location even if the traversed object is an instance method.
It doesn't work always (as for resources, for example), but it works for
what we're interested in: undo log.

Revision 13244 - Directory Listing
Modified Sun Mar 21 16:57:09 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Allow bool() and boolean values True, False in secure python code, such
as page templates.

Revision 13243 - Directory Listing
Modified Sun Mar 21 16:55:50 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Cleanup.

Revision 13242 - Directory Listing
Modified Sun Mar 21 16:02:31 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added tools overview configuration.

Revision 13241 - Directory Listing
Modified Sun Mar 21 16:02:30 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Registered new meta directive.

Revision 13240 - Directory Listing
Modified Sun Mar 21 16:02:28 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved remaining ZCMLEnhancements from TODO.txt.

Revision 13239 - Directory Listing
Modified Sun Mar 21 16:02:27 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Completed some tools overview work.

Revision 13238 - Directory Listing
Modified Sun Mar 21 16:02:26 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Created tests for browser:tool directive.

Revision 13237 - Directory Listing
Modified Sun Mar 21 16:02:24 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

All view classes relevant to tools.

Revision 13236 - Directory Listing
Modified Sun Mar 21 16:02:22 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Created tools overview UI.

Revision 13235 - Directory Listing
Modified Sun Mar 21 16:02:19 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Created preliminary tool details view.

Revision 13234 - Directory Listing
Modified Sun Mar 21 16:02:18 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added browser:tool directive.

Revision 13233 - Directory Listing
Modified Sun Mar 21 16:02:14 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Created functional test for tools overview UI.

Revision 13232 - Directory Listing
Modified Sun Mar 21 16:02:11 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Created browser functional test package.

Revision 13231 - Directory Listing
Modified Sun Mar 21 11:35:15 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added an import so that we can import IAttributeAnnotations from
zope.app.annotation, makeing for a slightly shorter import.

Revision 13230 - Directory Listing
Modified Sun Mar 21 00:00:44 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
It is *not* implied that users having the zope.UndoAllTransactions
permission automatically have the zope.UndoOwnTransactions permission.
Thus, grant this one to zope.Manager...

Revision 13229 - Directory Listing
Modified Sat Mar 20 22:33:45 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk
Moved doctest import into doctest to fix circular import.

Revision 13228 - Directory Listing
Modified Sat Mar 20 22:13:07 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk
Updated progress on BrowserToolDirective.

Revision 13227 - Directory Listing
Modified Sat Mar 20 22:10:33 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Remove now obselete tests module

Revision 13226 - Directory Listing
Modified Sat Mar 20 22:10:06 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Implemented generic queryType function.

Revision 13225 - Directory Listing
Modified Sat Mar 20 22:10:05 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Updated to use generic queryType instead of queryContentType.

Revision 13224 - Directory Listing
Modified Sat Mar 20 22:10:03 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Refactored queryContentType to use queryType.

Revision 13223 - Directory Listing
Modified Sat Mar 20 22:08:26 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk

Tests for new generic queryType function.

Revision 13222 - Directory Listing
Modified Sat Mar 20 21:36:16 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
whitespace

Revision 13221 - Directory Listing
Modified Sat Mar 20 21:32:50 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
don't need to implement our own location object.

Revision 13220 - Directory Listing
Modified Sat Mar 20 21:04:33 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Updated with tasks for TheBrowserToolDirective proposal.

Revision 13219 - Directory Listing
Modified Sat Mar 20 19:52:48 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implemented permission redefinition portion of ZCMLEnhancements.

Revision 13218 - Directory Listing
Modified Sat Mar 20 19:52:47 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Updated directives to use Permission field type so that redefining permissions
is possible.

Revision 13217 - Directory Listing
Modified Sat Mar 20 19:52:42 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Tests for Permission ZCML field.

Revision 13216 - Directory Listing
Modified Sat Mar 20 19:52:40 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Test cases for permission redefinition ZCML directives.

Revision 13215 - Directory Listing
Modified Sat Mar 20 19:52:38 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implemented Permission field for ZCML.

Revision 13214 - Directory Listing
Modified Sat Mar 20 18:47:35 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Updated tests to handle 303 redirect changes.

Revision 13213 - Directory Listing
Modified Sat Mar 20 18:06:10 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Back to the future.

Revision 13212 - Directory Listing
Modified Sat Mar 20 17:10:58 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Adjusted ZCML to new defaultView implementation.

Revision 13211 - Directory Listing
Modified Sat Mar 20 17:10:57 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed test for creating a view in defaultView directive.

Revision 13210 - Directory Listing
Modified Sat Mar 20 17:10:56 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Created specific IDefaultView schema.

Revision 13209 - Directory Listing
Modified Sat Mar 20 17:10:55 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed functionality that defaultView can also create a view.

Revision 13208 - Directory Listing
Modified Sat Mar 20 17:10:54 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Changed defaultView directive schema and handler.

Revision 13207 - Directory Listing
Modified Sat Mar 20 17:10:52 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implemented MinimalDefaultViewDirectives proposal.

Revision 13206 - Directory Listing
Modified Sat Mar 20 16:27:21 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added test for response.redirect.

Revision 13205 - Directory Listing
Modified Sat Mar 20 16:27:20 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added test to ensure request attribute is set in response objects.

Revision 13204 - Directory Listing
Modified Sat Mar 20 16:27:18 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Set default response code to None; check the HTTP version of the request for
intelligently defaulting to 302 or 303.

Revision 13203 - Directory Listing
Modified Sat Mar 20 16:27:17 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Set default response code to None and return output of response.redirect

Revision 13202 - Directory Listing
Modified Sat Mar 20 16:27:15 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added _request attribute to response objects.

Revision 13201 - Directory Listing
Modified Sat Mar 20 16:27:14 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Implemented 303 redirects.

Revision 13200 - Directory Listing
Modified Sat Mar 20 13:44:53 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
typo.

Revision 13199 - Directory Listing
Modified Sat Mar 20 13:38:17 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Have IPublication.afterCall() accept a second argument, the object
that is being published. We need that in order to be able to annotate
transactions with metadata extracted from the object, such as the
location (http://dev.zope.org/Zope3/SimplifyUndoModel).

Revision 13198 - Directory Listing
Modified Sat Mar 20 13:37:45 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Annotate extra information in transactions before committing. This is
task #2 of http://dev.zope.org/Zope3/SimplifyUndoModel.

Revision 13197 - Directory Listing
Modified Sat Mar 20 13:37:27 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Provide some tests that should have been provided much earlier.
Added test for transaction annotation.
See http://dev.zope.org/Zope3/SimplifyUndoModel.

Revision 13196 - Directory Listing
Modified Sat Mar 20 13:37:13 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

New-style class.

Revision 13195 - Directory Listing
Modified Sat Mar 20 13:37:02 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Cleanup.

Revision 13194 - Directory Listing
Modified Sat Mar 20 12:44:36 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
*** empty log message ***

Revision 13193 - Directory Listing
Modified Sat Mar 20 00:01:07 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Fixed issue 159 using supplied patch.

Revision 13192 - Directory Listing
Modified Fri Mar 19 23:35:04 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Fixed issue 154. TTW ZPT code is now stored as unicode.

Revision 13191 - Directory Listing
Modified Fri Mar 19 21:42:40 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
pass the encoding along from the constructor

Revision 13190 - Directory Listing
Modified Fri Mar 19 21:42:04 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
pass encoding through to the base XMLParser

Revision 13189 - Directory Listing
Modified Fri Mar 19 20:26:48 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved zope.component-related publisher interfaces to
zope.app.publisher.interfaces.

Revision 13188 - Directory Listing
Modified Fri Mar 19 20:26:44 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Clean up the publisher to not depend on zope.app and zope.component
anymore. All the view and resource code and interfaces have moved to
zope.app.publisher.

Revision 13187 - Directory Listing
Modified Fri Mar 19 20:26:38 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Updated to reflect changes in Publisher API.

Revision 13186 - Directory Listing
Modified Fri Mar 19 20:26:16 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Cleanup up zope.publisher.

Revision 13185 - Directory Listing
Modified Fri Mar 19 18:39:41 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
* grant newly defined undo permissions

* clean up and comment grant directives. We have to think about whether
  it's wise to grant permissions that have been defined elsewhere in
  the securitypolicy package...

* include meta directives config file at the app level

Revision 13184 - Directory Listing
Modified Fri Mar 19 18:37:38 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Define permissions for new undo model.
See http://dev.zope.org/Zope3/SimplifyUndoModel

Revision 13183 - Directory Listing
Modified Fri Mar 19 18:36:55 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Whitespace.

Revision 13182 - Directory Listing
Modified Fri Mar 19 18:34:02 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Moved zope.app.undo.undo to zope.app.undo.

Revision 13181 - Directory Listing
Modified Fri Mar 19 18:31:38 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Let HTTP request and response inherit from base interfaces.

Revision 13180 - Directory Listing
Modified Fri Mar 19 16:33:31 2004 UTC (11 years, 5 months ago) by stevea
Original Path: Zope3/trunk
Module to support thread global variables for Zope.

Revision 13179 - Directory Listing
Modified Fri Mar 19 15:22:09 2004 UTC (11 years, 5 months ago) by hdima
Original Path: Zope3/trunk
Start of a Russian translation. Needs more work.

Revision 13178 - Directory Listing
Modified Fri Mar 19 12:00:38 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
*** empty log message ***

Revision 13177 - Directory Listing
Modified Fri Mar 19 12:00:11 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added convenience commit and abort methods.

Revision 13176 - Directory Listing
Modified Fri Mar 19 12:00:09 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Factored message ids into a separate package.  At a low level, this
resolves a circular dependency problem between zope.schema and
zope.i18n.  It means that zope.schema doesn't depend on zope.i18n.
This leaves open the question of whether message ids are fundamental
enough that zope.schema (and thus, someday, zope.interface should
depend on them.

Revision 13175 - Directory Listing
Modified Fri Mar 19 08:03:23 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Couldn't resist introducing a few booleans here and there.

Revision 13174 - Directory Listing
Modified Fri Mar 19 04:26:28 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Reimplemented unicode in URLs handling functionality. We only want to decode
the path segments not the entire path. One test failed becuae of this; it is
now fixed though.

Revision 13173 - Directory Listing
Modified Fri Mar 19 04:26:25 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Adjusted testing code to provide and expect unicode.

Revision 13172 - Directory Listing
Modified Fri Mar 19 04:26:20 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Adjust code to support unicode.

Revision 13171 - Directory Listing
Modified Fri Mar 19 04:26:16 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Store the source as unicode.

Revision 13170 - Directory Listing
Modified Fri Mar 19 04:26:13 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fixed up widget to produce unicode output.

Revision 13169 - Directory Listing
Modified Fri Mar 19 04:26:09 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fix issue 80.

Revision 13168 - Directory Listing
Modified Fri Mar 19 03:17:42 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Modernized the File and Image API to rely more heavily on schemas instead of
accessor and mutator methods. Removed a lot of unnecessary cruft from the
object classes and their views.

Revision 13167 - Directory Listing
Modified Fri Mar 19 03:17:34 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Add 3 new functional tests to guarantee the correct behavior of the views.

Revision 13166 - Directory Listing
Modified Fri Mar 19 03:17:30 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Shorten line < 80 chars.

Revision 13165 - Directory Listing
Modified Fri Mar 19 03:17:26 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

If the filename is an empty string (not just None), we do not have a real
uploaded file, so just ignore it. Note that this is a bug and the 'cgi' module
should make the filename be None. Oh well.

Revision 13164 - Directory Listing
Modified Fri Mar 19 03:17:23 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fix small bug that prohibited the NotFound error to be created correctly.

Revision 13163 - Directory Listing
Modified Fri Mar 19 03:17:18 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Adjust the tests to the new IFile API.

Revision 13162 - Directory Listing
Modified Fri Mar 19 03:17:14 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

I renamed the file factory from 'File' --> 'zope.app.content.File', which
required some functional tests to be updated.

Revision 13161 - Directory Listing
Modified Fri Mar 19 03:17:09 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fixed issue 140. Modernized File and Image.

Revision 13160 - Directory Listing
Modified Thu Mar 18 23:40:30 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Rememberd a change from way back which I had forgotten to note.

Revision 13159 - Directory Listing
Modified Thu Mar 18 20:39:55 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
*** empty log message ***

Revision 13158 - Directory Listing
Modified Thu Mar 18 20:33:56 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added a test to make sure that additional, non-object path elements are
retained by "absolute_url".

Revision 13157 - Directory Listing
Modified Thu Mar 18 20:33:52 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added clarifying statement, so that we know that getApplicationURL() gives us
all the additional info int he URL we need.

Revision 13156 - Directory Listing
Modified Thu Mar 18 20:03:56 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added support for encoded unicode-containing URLs.

Revision 13155 - Directory Listing
Modified Thu Mar 18 20:03:51 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed XXX comment and added explanation.

Revision 13154 - Directory Listing
Modified Thu Mar 18 20:03:45 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fixed issue 119.

Revision 13153 - Directory Listing
Modified Thu Mar 18 20:02:25 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added logic to read the configuration files from products.  This is a
little risky.  A product could make some configuration change that
would break other products' or zope's ftests.  I think we can bear
this risk for now, but, eventually, I think we need to figure out a
way to run different products' ftests independently.

Revision 13152 - Directory Listing
Modified Thu Mar 18 17:58:22 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
link to proposal.

Revision 13151 - Directory Listing
Modified Thu Mar 18 17:01:13 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
The zope.app.form.widget module becomes zope.app.form. This makes sense
since widgets is really the only thing this package contains and it
shortens import paths.

Revision 13150 - Directory Listing
Modified Thu Mar 18 16:08:52 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
- Added missing functions getMultiAdapter and getMultiView.

- Reformatted docstrings a bit.

- Got rid of one-letter variables for clarity.

Revision 13149 - Directory Listing
Modified Thu Mar 18 15:11:17 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Fixed issue 128.

Revision 13148 - Directory Listing
Modified Thu Mar 18 14:57:58 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Fix issue 128. The iterator code is now completely up-to-date.

Revision 13147 - Directory Listing
Modified Thu Mar 18 14:33:22 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Understood where and how and why we and up with a '/' for a user's path in
a transactional note. Commented that, fixed ZODBUndoManager and adjusted
the tests. This is just temporary until we have the new simplified undo
model.

Revision 13146 - Directory Listing
Modified Thu Mar 18 14:31:49 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Cleanup.

Revision 13145 - Directory Listing
Modified Thu Mar 18 12:22:20 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
*** empty log message ***

Revision 13144 - Directory Listing
Modified Thu Mar 18 12:19:29 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Fixed an internal bug, revealed by functional tests,
that caused some non-determinism in multi-adapter lookup
due to a faulty sorting approach.

Revision 13143 - Directory Listing
Modified Thu Mar 18 12:19:27 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added queryMultiView

Revision 13142 - Directory Listing
Modified Thu Mar 18 12:19:25 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
No-longer support multi-views for browser:view.
If you want browser multi-views, use zope:view.

Revision 13141 - Directory Listing
Modified Thu Mar 18 12:19:22 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Fixed bugs in handling of multiple factories in views;
views require different combined-factory generation logic.
Changed the multiple-factory check to disallow multiple
factories when there no required interfaces.

Revision 13140 - Directory Listing
Modified Thu Mar 18 12:19:20 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added tests for:
- Handling multiple factories
- Multi-adapters
- Multi-views

Revision 13139 - Directory Listing
Modified Thu Mar 18 11:15:34 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Let absolute_url views implement IAbsoluteURL

Revision 13138 - Directory Listing
Modified Thu Mar 18 00:52:31 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Ah, I remembered another change.

Revision 13137 - Directory Listing
Modified Thu Mar 18 00:49:07 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added support for encoding and decoding HTML elements and entities, so that we
can edit HTML using widgets. Fixes issue 126.



Re-added doctests for browser text widgets.

Revision 13136 - Directory Listing
Modified Thu Mar 18 00:49:02 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Record some of the bug fixes I did today.

Revision 13135 - Directory Listing
Modified Wed Mar 17 22:30:06 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Resolve issue 195. Inserted hdima's patch.

Revision 13134 - Directory Listing
Modified Wed Mar 17 22:04:07 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
argh!
we can't do that because then the zLOG and zdaemon tests fail

Revision 13133 - Directory Listing
Modified Wed Mar 17 21:56:42 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Make the static tree item filter use IContainer. This allows us to see all
containerish objects in the tree.

Revision 13132 - Directory Listing
Modified Wed Mar 17 21:56:39 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Change access of vocabulary.

Revision 13131 - Directory Listing
Modified Wed Mar 17 21:56:35 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

We have to provide the interface that is being made public.

Revision 13130 - Directory Listing
Modified Wed Mar 17 21:05:34 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Removed TABs in code.

Revision 13129 - Directory Listing
Modified Wed Mar 17 20:59:19 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
explain what we're doing with zLOG

Revision 13128 - Directory Listing
Modified Wed Mar 17 20:55:21 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
make zLOG ouptut get dumped into the logfile as well

Revision 13127 - Directory Listing
Modified Wed Mar 17 20:45:40 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
if we have zLOG, don't allow it to clobber our initialization

Revision 13126 - Directory Listing
Modified Wed Mar 17 20:15:30 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
Make the logging configuration make a little more sense.  Use the
LOGGING environment variable as an override if present, but don't
clobber a setting from log.ini if LOGGING is not defined.

Revision 13125 - Directory Listing
Modified Wed Mar 17 18:27:06 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Updated according to recent changes.

Revision 13124 - Directory Listing
Modified Wed Mar 17 18:25:10 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Revert srichter's premature checkin

Revision 13123 - Directory Listing
Modified Wed Mar 17 18:25:00 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Cleanup

Revision 13122 - Directory Listing
Modified Wed Mar 17 18:24:47 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Have IHTTPPublisher extend IPublishTraverse, just like all the other
I*Publisher interfaces.

Revision 13121 - Directory Listing
Modified Wed Mar 17 18:24:29 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

The traversing machinery now uses views providing an interface
(IPublishTraverse or subclassing interfaces) instead of views named
"_traverse".

Revision 13120 - Directory Listing
Modified Wed Mar 17 17:59:39 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Cleanup.

Revision 13119 - Directory Listing
Modified Wed Mar 17 17:59:35 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fix tests after slight API changes.

Revision 13118 - Directory Listing
Modified Wed Mar 17 17:59:31 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed TABs from source code. Resolves issue 186.

Revision 13117 - Directory Listing
Modified Wed Mar 17 17:37:08 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Adjust widget imports to new locations

Revision 13116 - Directory Listing
Modified Wed Mar 17 17:35:53 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Cleanup

Revision 13115 - Directory Listing
Modified Wed Mar 17 17:35:46 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Import all browser widgets to this central place such that import
paths can be shortened to::



from zope.app.form.browser import FooWidget

Revision 13114 - Directory Listing
Modified Wed Mar 17 17:35:36 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Adjust configuration to new widget locations.

Revision 13113 - Directory Listing
Modified Wed Mar 17 17:35:24 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Cleanup imports.

Revision 13112 - Directory Listing
Modified Wed Mar 17 17:35:02 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk

Shorten the zope.app.form.browser.widget module by grouping widgets
logically in separate modules.

Revision 13111 - Directory Listing
Modified Wed Mar 17 17:02:12 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Fixes issue 137. The shortcut for resources '/@@/' is now available
everywhere.

Revision 13110 - Directory Listing
Modified Wed Mar 17 16:38:13 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Fixed issue 134. Added BTreeContainer tests.

Revision 13109 - Directory Listing
Modified Tue Mar 16 05:15:16 2004 UTC (11 years, 5 months ago) by jeremy
Original Path: Zope3/trunk
Simplify.

Uniform handling of errors in get_suite() allows this code to be
simplified.

Revision 13108 - Directory Listing
Modified Tue Mar 16 05:11:02 2004 UTC (11 years, 5 months ago) by jeremy
Original Path: Zope3/trunk
Report test error when potential test suite module can't be imported.
Add docstring that explains rules for finding tests.
Reflow some paragraphs.

Revision 13107 - Directory Listing
Modified Mon Mar 15 20:42:30 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Updated to reflect changes in the adapter-registry api.

Revision 13106 - Directory Listing
Modified Mon Mar 15 20:42:28 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Factory semantics are now provided by the layers, rather than
the underlying adapter registry. These semantics are provided in a
mix-in class.

Only a single factory can be provided.

Changed the registration api to be more consistent with the underlying
adapter registry api and, in general, to be simpler.

Revision 13105 - Directory Listing
Modified Mon Mar 15 20:42:25 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added the seubscription api

Revision 13104 - Directory Listing
Modified Mon Mar 15 20:42:24 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Factory semantics are now provided by the adapter service, rather than
the underlying adapter registry. These semantics are provided in a
mix-in class.

Only a single factory can be provided.

Changed the registration api to be consistent with the underlying
adapter registry api and, in general, to be simpler.

Revision 13103 - Directory Listing
Modified Mon Mar 15 20:42:22 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Changed queryMultiAdapter to make the context optional.

Changes the subscription api.

Revision 13102 - Directory Listing
Modified Mon Mar 15 20:42:20 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Changed to disallow multiple factories to be provided.

Allow single required interface in registration.

Revision 13101 - Directory Listing
Modified Mon Mar 15 20:42:19 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added support for multi-views, mainly to be consistent with the new
registration apis.  (This isn't a new feature until we have more
tests.)

Revision 13100 - Directory Listing
Modified Mon Mar 15 20:42:18 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added support for multi-views, mainly to be consistent with the new
registration apis.  (This isn't a new feature until we have more
tests.)

Added logic to create composite factories when multiple input
factories are provided, since composite factories are no-longer
supported by the view service.

Revision 13099 - Directory Listing
Modified Mon Mar 15 20:42:16 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Overrode the for_ attribute in the page schema so that pages still
accept only a single for interface.

Revision 13098 - Directory Listing
Modified Mon Mar 15 20:42:14 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Adapters and views are now registered with a single factory, not a
sequence of factories.

Revision 13097 - Directory Listing
Modified Mon Mar 15 20:41:56 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Changed to reflect that adapters and views are registered:

- Using a new api

- Multiple for

- single factory

If multiple factories are provided in zcml, we generate a single
  factory that calls the multiple

Changes to allow multiple for interfaces. This still needs tests, so
not yet done.

Revision 13096 - Directory Listing
Modified Mon Mar 15 20:41:55 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Defined (and changed) the adapter registration and lookup apis:

- Simpler methods

- Multi-adapter registration and lookup the default, so always
  register multiple (including one or zero) required specifications.

- Subscriptions no longer specify names (yagni)

- Removed factory semantics from the api

Changed the implementation to allow fast lookup of all names for
a given adapter.  (Still need to provide an access api.)

Revision 13095 - Directory Listing
Modified Mon Mar 15 20:41:51 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Removed the unused keyword arguments (and the ability to define a
view) from the defaultView handler.

Revision 13094 - Directory Listing
Modified Mon Mar 15 20:41:45 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Reworked to reflect changes in the adapter-registry api:

- Factory semantics are now provided by layers, rather than the
  underlying adapter registries

- Added multi-view support, but need more tests to finish.

- No longer expect multiple factories

Revision 13093 - Directory Listing
Modified Mon Mar 15 20:41:43 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Changed to reflect changes in subscription api

Revision 13092 - Directory Listing
Modified Mon Mar 15 20:41:41 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Updated to reflect changes in the view directive.

Revision 13091 - Directory Listing
Modified Mon Mar 15 20:41:39 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added basic post-mortem-debugging support for doctests. Only
unexpected exceptions are handled. We still need to think about how to
handle debugging mismatched output.

I'm not very happy with the way this is done now. But it works.

Revision 13090 - Directory Listing
Modified Mon Mar 15 20:41:36 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Added basic post-mortem-debugging support for doctests. Only
unexpected exceptions are handled. We still need to think about how to
handle debugging mismatched output.

Copied Jeremy's patched doctest module.  This copy will give us a
chance to play with doctest enhancements prior to Python 2.4.

Revision 13089 - Directory Listing
Modified Mon Mar 15 18:12:40 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Removed the bogus missing value definitions of empty sequences for
tuple and list fields.

Revision 13088 - Directory Listing
Modified Mon Mar 15 18:12:39 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Changed the check to make sure that required values are not missing to
use a field's missing value, rather than None.  This addresses
an XXX comment.

Revision 13087 - Directory Listing
Modified Mon Mar 15 17:32:49 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Fix test. Ughh, this one depends still on zope.app! :-(

Revision 13086 - Directory Listing
Modified Mon Mar 15 13:11:04 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Add a module alias for zope.app.interfaces, since it is now gone.

Revision 13085 - Directory Listing
Modified Mon Mar 15 13:10:59 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Move file representation interfaces to
zope.app.filerepresentation.interfaces. I expect that the
zope.app.filerepresentation package will get some code over time. It seems
some fssync code could move over here.

Revision 13084 - Directory Listing
Modified Mon Mar 15 13:10:55 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Adjust package paths to new location of file representation interfaces.

Revision 13083 - Directory Listing
Modified Mon Mar 15 12:03:45 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Made zapi a package and moved its interface there.

Revision 13082 - Directory Listing
Modified Sun Mar 14 04:57:56 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Finally, the flattening is complete!

Revision 13081 - Directory Listing
Modified Sun Mar 14 04:45:07 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Move usages.zcml out to zope.app to mirror menus.zcml.

Revision 13080 - Directory Listing
Modified Sun Mar 14 04:45:03 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Make final adjustments based on moving some final stuff around.

Revision 13079 - Directory Listing
Modified Sun Mar 14 04:45:00 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Move the generic login/logout screens to zope.app.security.browser.

Revision 13078 - Directory Listing
Modified Sun Mar 14 04:44:55 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Move exception views and interfaces to their own package zope.app.exception.

Revision 13077 - Directory Listing
Modified Sun Mar 14 04:44:43 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Created this file to contain all browser package includes (not all moved here
yet). This allows us to treat the browser packages as products in their own
right. Currently many configure.zcml of the parent package include the browser
package, which makes it hard for browser to be installed seperately.

Revision 13076 - Directory Listing
Modified Sun Mar 14 04:03:31 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Remove backward-compatibility fixups. They were all way older than 2 months
and backward.zcml was not included anyways. It is not included though.

Revision 13075 - Directory Listing
Modified Sun Mar 14 03:44:09 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Moved absolute URL code to zope.app.traversing.browser.

Revision 13074 - Directory Listing
Modified Sun Mar 14 02:17:09 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Moved zope.app.browser.container to zope.app.container.browser.

Revision 13073 - Directory Listing
Modified Sun Mar 14 01:11:43 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Moved zope.app.browser.form to zope.app.form.browser

Revision 13072 - Directory Listing
Modified Sun Mar 14 00:15:20 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Move zope.app.browser.component to zope.app.component.browser.

Revision 13071 - Directory Listing
Modified Sat Mar 13 23:55:32 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Moved servicenames to zope.app.

Revision 13070 - Directory Listing
Modified Sat Mar 13 23:34:43 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Move clipboard tests to zope.app.copypaste.move. To do this, I had to
resturcture the tests module to a package.

Revision 13069 - Directory Listing
Modified Sat Mar 13 23:34:38 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved component interfaces to zope.app.component.interfaces.

Revision 13068 - Directory Listing
Modified Sat Mar 13 23:34:34 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved dependable tests to new package.

Revision 13067 - Directory Listing
Modified Sat Mar 13 23:34:30 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved a few HTTP-related interfaces to zope.app.http.interfaces, where they
belong.

Revision 13066 - Directory Listing
Modified Sat Mar 13 23:08:41 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Moved interface field interfaces to zope.app.component.interfaces.

Revision 13065 - Directory Listing
Modified Sat Mar 13 23:01:18 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Created annotation package in zope.app.



Moved annotation interfaces to zope.app.annotation.interfaces.



Moved attributeannotations to zope.app.annotation.attribute.

Revision 13064 - Directory Listing
Modified Sat Mar 13 22:02:16 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Move find interfaces to zope.app.container.interfaces.

Revision 13063 - Directory Listing
Modified Sat Mar 13 22:02:11 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Move dependable interfaces to zope.app.dependable.interfaces after making
zope.app.dependable a package.

Revision 13062 - Directory Listing
Modified Sat Mar 13 21:37:29 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved form interfaces to zope.app.form.interfaces.

Revision 13061 - Directory Listing
Modified Sat Mar 13 21:03:26 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved traversing interfaces to zope.app.traversing.interfaces.

Revision 13060 - Directory Listing
Modified Sat Mar 13 21:02:53 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved talesapi interfaces to zope.app.pagetemplate.interfaces.

Revision 13059 - Directory Listing
Modified Sat Mar 13 20:24:34 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Add basic module alias again.

Revision 13058 - Directory Listing
Modified Sat Mar 13 20:24:31 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Remove unused interfaces. Already done in zope.app.renderer.interfaces.

Revision 13057 - Directory Listing
Modified Sat Mar 13 20:24:26 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Startup was renamed to process a long time ago. No, move the interfaces to the
right place.



I am not sure whether making process a dependency of publication is a good idea.

Revision 13056 - Directory Listing
Modified Sat Mar 13 20:24:22 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
*** empty log message ***

Revision 13055 - Directory Listing
Modified Sat Mar 13 20:24:16 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Move schemgen interfaces into the package.

Revision 13054 - Directory Listing
Modified Sat Mar 13 20:24:11 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Move last two query interface into zope.app.index.

Revision 13053 - Directory Listing
Modified Sat Mar 13 19:33:26 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Adjusted test to look at the right path for sample1 module.

Revision 13052 - Directory Listing
Modified Sat Mar 13 19:32:27 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Not needed.

Revision 13051 - Directory Listing
Modified Sat Mar 13 19:32:23 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

The module tests were using this simple module. Therefore move it to
zope.app.module.tests.

Revision 13050 - Directory Listing
Modified Sat Mar 13 19:26:12 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved to zope.app.registration, since most of the text talks about
registration. Needs updating though.

Revision 13049 - Directory Listing
Modified Sat Mar 13 19:26:07 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Get rid of old Component Path field and widget. It is not used anywhere anymore.

Revision 13048 - Directory Listing
Modified Sat Mar 13 19:02:09 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Removed QueryProcessorsField.

Revision 13047 - Directory Listing
Modified Sat Mar 13 18:44:53 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Moved principal annotation service to zope.app.principalannotation.

Revision 13046 - Directory Listing
Modified Sat Mar 13 18:10:53 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Moved factories.py to zope.app.registration as well, since it is used by
the registration machinery.

Revision 13045 - Directory Listing
Modified Sat Mar 13 18:01:25 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved registration code to zope.app.registration. Created module aliases, so
that old ZODBs work.

Revision 13044 - Directory Listing
Modified Sat Mar 13 17:23:02 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Add product config files for optional zope.app packages.

Revision 13043 - Directory Listing
Modified Sat Mar 13 17:21:51 2004 UTC (11 years, 5 months ago) by philikon
Original Path: Zope3/trunk
Cleanup.

Revision 13042 - Directory Listing
Modified Sat Mar 13 15:22:13 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Move Local Service Manager and site code to zope.app.site.

Revision 13041 - Directory Listing
Modified Sat Mar 13 15:21:42 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Adjusted imports of placefulsetup and site-related objects.

Revision 13040 - Directory Listing
Modified Sat Mar 13 15:20:57 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Make a note that placefulsetup moved to zope.app.site.tests.

Revision 13039 - Directory Listing
Modified Sat Mar 13 07:48:12 2004 UTC (11 years, 5 months ago) by jeremy
Original Path: Zope3/trunk
Revise Connection.

Make _added_during_commit a regular instance variable.  Don't use
try/finally to reset it; just clear it at the start of a transaction.
XXX There was a test that needed to be removed, but it seemed to be
just a shallow test that try/finally was used.  Can't see any feature
that depends on specific of error handling: The txn is going to abort.

Remove unused _opened instance variable.
Split commit() into two smaller parts.
Get rid of extra manipulation of _creating.
Don't look for _p_serial of None; z64 is now required.
Undo local variable aliases in subtransaction methods.

Also, trivial change to pickle cache API -- get() works like dict get().

Revision 13038 - Directory Listing
Modified Fri Mar 12 19:51:17 2004 UTC (11 years, 5 months ago) by jeremy
Original Path: Zope3/trunk
Get rid of po_serial code that was only needed with ZODB 4.

This class was providing its own _p_serial attribute, with different
semantics than Persistent.  Persistent provides _p_serial in ZODB 3,
so removing this code allows the base class to handle it.

Revision 13037 - Directory Listing
Modified Fri Mar 12 17:35:58 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
- clarify a docstring and exception message
- try to be more platform agnostic
- fix inspection of single files (previously called a function that
  didn't exist; now it calls the right function for the type of file
  being checked)

Revision 13036 - Directory Listing
Modified Fri Mar 12 16:08:49 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
- convert out-of-place comment to docstring (in an appropriate place)
- remove XXX comment that's no longer meaningful

Revision 13035 - Directory Listing
Modified Fri Mar 12 15:58:23 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
- instead of using a heuristic for extracting the imported modules,
  really parse the source to get the set of potential imports; this
  catches imports nested inside functions/methods as well as
  conditional imports

  (modules still need to be importable by the script to be located, so
  platform-specific imports remain problematic)

- fix the regular expressions that identify module source files and
  ZCML files to things like .pyc/.pyo/.pyd files don't get checked;
  the original code was reading them and (presumably) just not finding
  anything

Revision 13034 - Directory Listing
Modified Thu Mar 11 23:03:52 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
remove anachronism

Revision 13033 - Directory Listing
Modified Thu Mar 11 22:59:35 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
clarify a docstring

Revision 13032 - Directory Listing
Modified Thu Mar 11 22:44:41 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
oops.

Revision 13031 - Directory Listing
Modified Thu Mar 11 22:15:39 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Point to the correct tests.

Revision 13030 - Directory Listing
Modified Thu Mar 11 22:05:03 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Moved local utility service implementation to zope.app.utility till Jim
will provide the new one.

Note: I forgot this module in an earlier checkin today.

Revision 13029 - Directory Listing
Modified Thu Mar 11 20:23:35 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
change the way we determine whether a module is in the standard
library

Revision 13028 - Directory Listing
Modified Thu Mar 11 19:43:59 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
don't assume that "zope" and "zope.app" can't be direct dependencies;
there are certainly still some modules that live in zope.app directly
(remember: assumptions are bad, or at least worse than imagined!)

Revision 13027 - Directory Listing
Modified Thu Mar 11 17:27:14 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
be more careful about handling the ZOPESRC prefix for paths

Revision 13026 - Directory Listing
Modified Thu Mar 11 17:19:08 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
- wrap some long lines
- normalize whitespace

Revision 13025 - Directory Listing
Modified Thu Mar 11 17:17:07 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
replace os.path.split(x)[0] with os.path.dirname(x) in a couple more
places

Revision 13024 - Directory Listing
Modified Thu Mar 11 17:07:25 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
make definition of ZOPESRC more readable

Revision 13023 - Directory Listing
Modified Thu Mar 11 16:50:21 2004 UTC (11 years, 5 months ago) by fdrake
Original Path: Zope3/trunk
be more careful in checking whether a module is a package

Revision 13022 - Directory Listing
Modified Thu Mar 11 13:10:02 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk
Updated example jobboard inclusion to reflect move of jobboard into zope.app.demo.

Revision 13021 - Directory Listing
Modified Thu Mar 11 13:07:13 2004 UTC (11 years, 5 months ago) by nathan
Original Path: Zope3/trunk
Moving jobboard demo from Products3/demo/jobboard.

Revision 13020 - Directory Listing
Modified Thu Mar 11 12:38:37 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added module aliases, since the utility service uses it.

Revision 13019 - Directory Listing
Modified Thu Mar 11 12:38:25 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved utility service to zope.app.utility. Added module aliases, so that your
ZODB should be fine.

Revision 13018 - Directory Listing
Modified Thu Mar 11 11:03:40 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved the persistent interface and type registry code to zope.app.interface.

Revision 13017 - Directory Listing
Modified Thu Mar 11 10:25:40 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Connections are utilities now.

Revision 13016 - Directory Listing
Modified Thu Mar 11 10:19:07 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

The menu service moved to zope.app.menu.

Revision 13015 - Directory Listing
Modified Thu Mar 11 10:18:38 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved Page Folder and it Page Templates into zope.app.presentation.

Revision 13014 - Directory Listing
Modified Thu Mar 11 09:19:37 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved object hub to zope.app.hub. I did provide module aliases.

Revision 13013 - Directory Listing
Modified Thu Mar 11 08:14:27 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

These were just commented out instead of removed.

Revision 13012 - Directory Listing
Modified Thu Mar 11 08:14:14 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved local event service code into zope.app.event.

Revision 13011 - Directory Listing
Modified Wed Mar 10 23:32:25 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
old decoy module. It was not used anywhere.

Revision 13010 - Directory Listing
Modified Wed Mar 10 23:29:33 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
stupid me. fixed ZCML includes. Darn, I hate this test.

Revision 13009 - Directory Listing
Modified Wed Mar 10 23:14:12 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Moved local browser menu implementation to zope.app.menu.

Revision 13008 - Directory Listing
Modified Wed Mar 10 23:11:14 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Carefully placed packge includes, so that the menus are defined at the right
time.

Revision 13007 - Directory Listing
Modified Wed Mar 10 23:11:01 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved menu declarations all the way up; they have nothing todo with the local
browser menu service implementation.

Revision 13006 - Directory Listing
Modified Wed Mar 10 23:10:47 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved local browser menu implementation to zope.app.menu.

Revision 13005 - Directory Listing
Modified Wed Mar 10 19:41:09 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed the caching service. It was not providing much value anyways, so it was
easy.



Also, I updated the views in a way that SQL Script's chace support would work
again.



There is still much to do:



- zope.app.cache.caching does not have a formally defined API (interface)



- The CacheName field should be a vocabulary field.



- Views need to be updated to current form.

Revision 13004 - Directory Listing
Modified Wed Mar 10 17:56:41 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved pluggable authentication service to zope.app.pluggableauth. Added module
aliases (tested) so that old services survive the change.

Revision 13003 - Directory Listing
Modified Wed Mar 10 17:55:46 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

The session code was already converted.

Revision 13002 - Directory Listing
Modified Wed Mar 10 17:00:57 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved persistent module (manager) code to zope.app.module. I did not provide
any module aliases, since noone uses this feature yet based on a recent ML
poll. If someone really needs the aliases, please let me know and I will add
them.

Revision 13001 - Directory Listing
Modified Wed Mar 10 13:43:38 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved error reporting service to zope.app.errorservice. Provided
modulealiases, so that your old ZODB will still work.

Revision 13000 - Directory Listing
Modified Wed Mar 10 13:11:27 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed unused import.

Revision 12999 - Directory Listing
Modified Wed Mar 10 13:11:15 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved bundles to zope.app.bundle. Noone uses this code, so I did not provide
module aliases.

Revision 12998 - Directory Listing
Modified Wed Mar 10 12:24:30 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Import correct modules.

Revision 12997 - Directory Listing
Modified Wed Mar 10 12:24:16 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Cleanup.

Revision 12996 - Directory Listing
Modified Wed Mar 10 12:24:02 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Allow for single "." as reference to current package.

Revision 12995 - Directory Listing
Modified Wed Mar 10 12:11:35 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Cleanup.

Revision 12994 - Directory Listing
Modified Wed Mar 10 12:11:22 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved session code to zope.app.session. This ends the era of
zope.app.utilities. Added necessary module aliases for ZODBs to be preserved,
since SessionDataManagers are created in the bootstrap and every ZODB has one.

Revision 12993 - Directory Listing
Modified Wed Mar 10 12:11:01 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed some items I actually did already.

Revision 12992 - Directory Listing
Modified Wed Mar 10 11:34:01 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk
Temporary fix until Jim checks in a complete rewrite of utility registration
using the adapter service. This also fixes the apidoc tool failure.

Revision 12991 - Directory Listing
Modified Wed Mar 10 00:58:45 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Make sure that functions and other non-class objects can also be wrapped as a
factory.

Revision 12990 - Directory Listing
Modified Wed Mar 10 00:58:31 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Fixed bug that caused mis-behavior.

Revision 12989 - Directory Listing
Modified Wed Mar 10 00:58:18 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed permission attribute in factory directive.

Revision 12988 - Directory Listing
Modified Wed Mar 10 00:58:04 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Moved mutable schemas out of zope.app.utilities to zope.app.schema. Also,
seperated it from the mutable schema content definition/instance code, which
now lives in zope.app.schemacontent.

Revision 12987 - Directory Listing
Modified Tue Mar 9 17:11:55 2004 UTC (11 years, 5 months ago) by jim
Original Path: Zope3/trunk
Removed some unused (decoy) interfaces.

Revision 12986 - Directory Listing
Modified Tue Mar 9 16:35:20 2004 UTC (11 years, 5 months ago) by BjornT
Original Path: Zope3/trunk
Added my name.

Revision 12985 - Directory Listing
Modified Tue Mar 9 16:34:31 2004 UTC (11 years, 5 months ago) by BjornT
Original Path: Zope3/trunk
PageRegistration's addNotify and removeNotify didn't handle the case
when an attribute was specified instead of a template.

Also, in removeNotify, addDependent was called instead of removeDependent.

Revision 12984 - Directory Listing
Modified Tue Mar 9 15:27:32 2004 UTC (11 years, 5 months ago) by BjornT
Original Path: Zope3/trunk
By making Factory.getInterfaces() return a list, a few things got broken.
Changed it back to the way ClassFactory.getInterfaces() worked.

Revision 12983 - Directory Listing
Modified Tue Mar 9 13:36:33 2004 UTC (11 years, 5 months ago) by BjornT
Original Path: Zope3/trunk
Made Zope3 start up again. Some factory directives still had permission
attributes.

Revision 12982 - Directory Listing
Modified Tue Mar 9 12:41:46 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Accidentily added.

Revision 12981 - Directory Listing
Modified Tue Mar 9 12:41:34 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

This class is not needed anymore, since every attribute/method of a factory is
now public. A similar implementation is available at zope.component.factory.

Revision 12980 - Directory Listing
Modified Tue Mar 9 12:41:15 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added getFactoriesFor() function, since there is not compact equivalent to it
anywhere.



Added deprecation warnings to getFactory and queryFactory, since they are
replaced by getUtility and queryUtility. Jim said, that there is not need to
deprecate them; if we decide that, then we should just remove the deprecation
warning. I changed all of the Zope code to use getUtility and queryUtility
though.

Revision 12979 - Directory Listing
Modified Tue Mar 9 12:40:59 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added getFactoriesFor() function, since there is not compact equivalent to it
anywhere.

Revision 12978 - Directory Listing
Modified Tue Mar 9 12:40:46 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed Factories from service name list.

Revision 12977 - Directory Listing
Modified Tue Mar 9 12:40:33 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed Factory Service from placeless setup.

Revision 12976 - Directory Listing
Modified Tue Mar 9 12:40:20 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

These are not needed anymore, now that the service is gone.

Revision 12975 - Directory Listing
Modified Tue Mar 9 12:40:07 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Test the new Factory class.



There were also no tests for the other factory-related functions, so I added a
one for each.

Revision 12974 - Directory Listing
Modified Tue Mar 9 12:39:54 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Added a simple factory implementation that can handle all sorts of
objects. This way any callable can be rendered into a factory easily.

Revision 12973 - Directory Listing
Modified Tue Mar 9 12:39:40 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Remove factory service from being registered.

Revision 12972 - Directory Listing
Modified Tue Mar 9 12:39:25 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed the permission attribute from the two factoy directives. All factories
are public now. This was discussed recently on the mailing list and Jim okayed
it.

Revision 12971 - Directory Listing
Modified Tue Mar 9 12:39:11 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Adjusted code to use utility service to look up factories or use the new zapi
methods.

Revision 12970 - Directory Listing
Modified Tue Mar 9 12:38:47 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Removed permission attribute from factory directives, since all factories are
public now.

Revision 12969 - Directory Listing
Modified Tue Mar 9 12:38:23 2004 UTC (11 years, 5 months ago) by srichter
Original Path: Zope3/trunk

Made factories be utilities.



Removed permission attribute from factory directive and subdirective.

Revision 12968 - Directory Listing
Modified Mon Mar 8 23:54:59 2004 UTC (11 years, 6 months ago) by tim_one
Original Path: Zope3/trunk
PythonPage:  added XXX comment about a test that fails on Windows.

Revision 12967 - Directory Listing
Modified Mon Mar 8 23:39:00 2004 UTC (11 years, 6 months ago) by tim_one
Original Path: Zope3/trunk
checkDuplicate():  Squashed a Unix assumption in the test.

Revision 12966 - Directory Listing
Modified Mon Mar 8 23:36:27 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Adjusted code to the new API. Also renamed 'gts' namespace to 'i18n'. I wanted
to do this for a very long time.

Revision 12965 - Directory Listing
Modified Mon Mar 8 23:36:14 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Forgot to remove the file before. The simple auth service is gone now.

Revision 12964 - Directory Listing
Modified Mon Mar 8 23:36:00 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Changed to use translation domains versus a translation
service. zope.i18n.__init__ provides a convenience translate() method.

Revision 12963 - Directory Listing
Modified Mon Mar 8 23:35:45 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Remove Translation service name

Revision 12962 - Directory Listing
Modified Mon Mar 8 23:35:33 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk
*** empty log message ***

Revision 12961 - Directory Listing
Modified Mon Mar 8 23:35:17 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

No need to create a translation service anymore

Revision 12960 - Directory Listing
Modified Mon Mar 8 23:35:04 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Cleanup.

Revision 12959 - Directory Listing
Modified Mon Mar 8 23:34:51 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Moved local translation domain implementation to zope.app.i18n.

Revision 12958 - Directory Listing
Modified Mon Mar 8 23:34:18 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Moved zope.app.browser.services.translation to zope.i18n.browser. Updated the
code to reflect the new API of using utilities.

Revision 12957 - Directory Listing
Modified Mon Mar 8 23:33:59 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Use new translation API.

Revision 12956 - Directory Listing
Modified Mon Mar 8 23:33:39 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Updated the application control to reflect API changes. There are no tests for
this code at all. :(

Revision 12955 - Directory Listing
Modified Mon Mar 8 23:33:25 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Now that the i18n package has some browser code, I had to move it further
down. Once we do the browser configuration versus the code configuration
seperately, this can move up again.

Revision 12954 - Directory Listing
Modified Mon Mar 8 23:33:12 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Removed Translation Service in favor of Translation Domain utilities.

Revision 12953 - Directory Listing
Modified Mon Mar 8 19:40:33 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Updated (again) to reflect recent widget-framework changes.

Revision 12952 - Directory Listing
Modified Mon Mar 8 19:40:31 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Moved the adapter and presentation services from zope.app.services to
their own packages under zope.app. Also folded
zope.app.services.surrogate into the new adapter module,
zope.app.adapter.adapter.

Revision 12949 - Directory Listing
Modified Mon Mar 8 17:42:11 2004 UTC (11 years, 6 months ago) by mgedmin
Original Path: Zope3/trunk
Changed the test runner to ignore docstrings on unit tests and always show IDs.

Revision 12948 - Directory Listing
Modified Mon Mar 8 17:26:59 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Change to use the new adapter registry (formerly known as a surrigate
registry).

Revision 12947 - Directory Listing
Modified Mon Mar 8 17:26:57 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Removed the old adapter registry code.

Renamed the surrogate registry to AdapterRegistry and moved the
surrogate code to zope.interface.adapter.

Removed the old surrogate module.

Revision 12946 - Directory Listing
Modified Mon Mar 8 12:53:40 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

This test used the test base from auth. Changed it to use pluggable auth.

Revision 12945 - Directory Listing
Modified Mon Mar 8 12:53:28 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Removed zope.app.services.auth. It was deprecated since a long time. Jim said
I should have run into some problems with functional tests, but that was not
the case. As far as I can tell, everything works fine. Of course, all tests
pass.

Revision 12944 - Directory Listing
Modified Mon Mar 8 12:08:10 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

With the permission registry gone, there was no code that used the generic
registry code anymore. The principal registry did not use the abstraction code
anyways, so I just moved it out of registries into zope.app.security.

Revision 12943 - Directory Listing
Modified Mon Mar 8 12:07:34 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Moved interfaces to zope.app.security.interfaces.

Revision 12942 - Directory Listing
Modified Mon Mar 8 12:07:19 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Moved the browser code to zope.app.security.browser.

Revision 12941 - Directory Listing
Modified Mon Mar 8 12:07:04 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Fixed it up, so that the tests will pass. I will remove the module next.

Revision 12940 - Directory Listing
Modified Mon Mar 8 12:06:41 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Put all the directives declared by the security package into the same modules.

Revision 12939 - Directory Listing
Modified Mon Mar 8 12:06:27 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Adjusted code to use the new APIs for permissions and principals. Also, use
the utility service instead of the permission registry to look up permissions.

Revision 12938 - Directory Listing
Modified Mon Mar 8 12:05:20 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

When a permission is not found, a ValueError is thrown, which is as
good. Therefore the entire module is not needed anymore.

Revision 12937 - Directory Listing
Modified Mon Mar 8 12:05:07 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

The 'zope.Public' permission is always available, so even when the registry is
empty, it should be there.

Revision 12936 - Directory Listing
Modified Mon Mar 8 12:04:54 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Removed permission registry in favor of making permissions named utilities. I
also changed the API of permissions and principals to use fields instead of
accessor methods for id, title, and description.

Revision 12935 - Directory Listing
Modified Mon Mar 8 11:23:02 2004 UTC (11 years, 6 months ago) by philikon
Original Path: Zope3/trunk
Cleanup.

Revision 12934 - Directory Listing
Modified Sun Mar 7 13:54:18 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Got rid of (unabstracted) NameComponentRegistry.

Revision 12933 - Directory Listing
Modified Sun Mar 7 13:54:15 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Wrapped a long line.

Revision 12932 - Directory Listing
Modified Sun Mar 7 13:54:13 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Got rid of the unused NameComponentRegistry view

Renamed NameRegistered, which doesn't really use names, to Registered.

Revision 12931 - Directory Listing
Modified Sun Mar 7 13:54:11 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Got rid of the unused NameComponentRegistry view

Revision 12930 - Directory Listing
Modified Sun Mar 7 11:50:36 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Added a missing IInputWidget declarations, so that form machinery is
willing to get data.

Revision 12929 - Directory Listing
Modified Sat Mar 6 22:20:48 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Got rid of NameRegistry.

Revision 12928 - Directory Listing
Modified Sat Mar 6 22:07:25 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Got rid of NamedComponentRegistration.

Revision 12927 - Directory Listing
Modified Sat Mar 6 20:06:35 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Got rid of NamedRegistrations.

Revision 12926 - Directory Listing
Modified Sat Mar 6 19:40:06 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
*** empty log message ***

Revision 12925 - Directory Listing
Modified Sat Mar 6 19:37:13 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Removed interfaces (yay Suresh) and database connections from
service->utility list.

Added factories and removed the question mark from translations.
I want translations to be managed as utilities. (This should be a
breeze now for Stephan, who is a service->utility conversion
expert. :)

Revision 12924 - Directory Listing
Modified Sat Mar 6 19:34:47 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
*** empty log message ***

Revision 12923 - Directory Listing
Modified Sat Mar 6 17:48:56 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Changed most calls to queryAdapter to use interface calls instead.

Revision 12922 - Directory Listing
Modified Sat Mar 6 16:50:39 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Converted most getAdapter calls to use interface calls instead.

Revision 12921 - Directory Listing
Modified Sat Mar 6 15:38:46 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Added an optional argument to the interface __call__ method.
If the argument is provided, then the value provided will be
returned if adaptation can't be done.  If a second argument isn't
provided, then a TypeError is raised if an adapter can't be computed.

The main motivation for this change is to provide queryAdapter-like
semantics, while also keeping PEP-246 adapt-like semantics (call
__conform__ before checking whether the object already provides the
interface).

So now, you can use:

adapter = IFoo(ob, None)

much as you might have used queryAdapter before (but with PEP 246
adapt semantics).

I generally avoid methods like this, that change their behavior
based on the number of arguments provided, however, I decided to
do it in this case to be more consistent with the PEP 246 adapt
method, and because this is __call__, rather than a "get" method.
I used a trick to avoid using a global marker.  This trick uses nested
scopes to provide hidden "static" data for functions.

Revision 12920 - Directory Listing
Modified Sat Mar 6 15:38:43 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Added a missing import that caused FTP directory access to fail.

Added a missing test. (Sheesh)

Revision 12919 - Directory Listing
Modified Sat Mar 6 04:17:26 2004 UTC (11 years, 6 months ago) by garrett
Original Path: Zope3/trunk
Merged changes from garrett-widgets2-branch:

- Changed the way widgets are looked up to use interfaces instead of
  names.

- Refactor of zope/app/form/utility.py -- see

    http://dev.zope.org/Zope3/WidgetsAndMultiwayAdapters

  for details.

- Moved configuration of vocab widgets to its own zcml file
  (zope/app/browser/form/vocabularywidget.zcml).

- Removed 'propertyNames' and 'getValue' from widgets. This  is replaced
  by accessing the widget attributes directly.

- Deleted depreated methods from widget interface: haveData and getData.

Revision 12918 - Directory Listing
Modified Sat Mar 6 04:01:44 2004 UTC (11 years, 6 months ago) by garrett
Original Path: Zope3/trunk
Modified templates to use widget 'label', '__call__', and 'error' to render a
row instead of widget 'row'.

Revision 12917 - Directory Listing
Modified Sat Mar 6 02:55:06 2004 UTC (11 years, 6 months ago) by garrett
Original Path: Zope3/trunk
Fixed a typo.

Revision 12916 - Directory Listing
Modified Sat Mar 6 02:54:29 2004 UTC (11 years, 6 months ago) by garrett
Original Path: Zope3/trunk
Added functions for getting/querying views that provide a particular
interface.

Revision 12915 - Directory Listing
Modified Sat Mar 6 02:46:20 2004 UTC (11 years, 6 months ago) by garrett
Original Path: Zope3/trunk
Added function to ztapi for registering factories of objects that provide a
particular interface.

Revision 12914 - Directory Listing
Modified Sat Mar 6 02:36:53 2004 UTC (11 years, 6 months ago) by garrett
Original Path: Zope3/trunk
Indented sample code in doctests -- helps readability.

Revision 12913 - Directory Listing
Modified Sat Mar 6 02:35:11 2004 UTC (11 years, 6 months ago) by garrett
Original Path: Zope3/trunk
Minor cleanup of tests.

Revision 12912 - Directory Listing
Modified Sat Mar 6 00:38:47 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Added an interface __adapt__ hook.

Revision 12911 - Directory Listing
Modified Sat Mar 6 00:38:46 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Added a hookable interface PEP 246-style __adapt__ method.  This will
allow use of both zope.component and PyProtocols adapters.

Added a __call__ method that provides syntatic sugar for the PEP 246
adapt function.  That is:

IFoo(ob)

and

adapt(ob, IFoo)

are equivalent.

Note that:

IFoo(ob)

and:

zope.component.getAdapter(ob, IFoo)

are equivalent except:

- In the presence of PyProtocols

- If ob provides IFoo and has a __conform__ method.  This is because
  __conform__ is called prior to checking whether the object provides
  the interface.

- A lookup failure raises a type error, rather than a ComponentLookupError.

Revision 12910 - Directory Listing
Modified Fri Mar 5 22:09:42 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Renamed interface methods:

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy

Revision 12909 - Directory Listing
Modified Fri Mar 5 18:39:09 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Make all the security code use role utilities and the new fields instead of
the methods.

Revision 12908 - Directory Listing
Modified Fri Mar 5 18:38:49 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Global and local roles are implemented quiet differently now. Both are in this
module. Also, we need a special registration for the local role, since the id
of the role needs to be set upon activation.

Revision 12907 - Directory Listing
Modified Fri Mar 5 18:38:35 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Just create a role and register it with the utility service now.

Revision 12906 - Directory Listing
Modified Fri Mar 5 18:38:17 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Redfine Role and its security. Make it a utility as well.

Revision 12905 - Directory Listing
Modified Fri Mar 5 18:38:04 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Removed IRoleService interface and redid the IRole interface to use fields
instead of accessor methods.

Revision 12904 - Directory Listing
Modified Fri Mar 5 18:37:52 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

doc string cleanup.

Revision 12903 - Directory Listing
Modified Fri Mar 5 18:37:38 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Removed Role Service and made roles utilities.

Revision 12902 - Directory Listing
Modified Fri Mar 5 15:57:24 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

Interface service is removed

Revision 12901 - Directory Listing
Modified Fri Mar 5 15:57:05 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

nameToInterface utility is moved
from introspector package to component.interface package

Revision 12900 - Directory Listing
Modified Fri Mar 5 15:56:50 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

removed local interface service stuff, it uses global utility service.

Revision 12899 - Directory Listing
Modified Fri Mar 5 15:56:18 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

LocalInterfaceService is removed

Revision 12898 - Directory Listing
Modified Fri Mar 5 15:55:34 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

CreateInterfaceService is removed.

Revision 12897 - Directory Listing
Modified Fri Mar 5 15:54:21 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

IInterfaceService and  IGlobalInterfaceService removed

Revision 12896 - Directory Listing
Modified Fri Mar 5 15:54:06 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

renamed test_interfaceservice.py  to test_interface.py

Revision 12895 - Directory Listing
Modified Fri Mar 5 15:53:32 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

local interface service is removed.

Revision 12894 - Directory Listing
Modified Fri Mar 5 15:52:57 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

renamed globalinterfaceservice.py  to interface.py

Revision 12893 - Directory Listing
Modified Fri Mar 5 15:50:50 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

globalinterfaceservice file name is changed to interface

Revision 12892 - Directory Listing
Modified Fri Mar 5 15:49:55 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

interface service views moved to site manager.

Revision 12891 - Directory Listing
Modified Fri Mar 5 15:48:55 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

Local interface service is removed.

Revision 12890 - Directory Listing
Modified Fri Mar 5 15:46:25 2004 UTC (11 years, 6 months ago) by eddala
Original Path: Zope3/trunk

interface service name is removed

Revision 12889 - Directory Listing
Modified Fri Mar 5 14:41:44 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
*** empty log message ***

Revision 12888 - Directory Listing
Modified Thu Mar 4 22:42:05 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Introduced a new permission for dublin core data.

Revision 12887 - Directory Listing
Modified Thu Mar 4 22:42:03 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Added missing security declarations. Decided to introduce a new
permission for dublin core data.

Revision 12886 - Directory Listing
Modified Thu Mar 4 22:42:01 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Got rid of some code that:

- Didn't make any sense. It Checked for a data type that couldn't be
  there, and

- was fooled by security proxies.

Revision 12885 - Directory Listing
Modified Thu Mar 4 22:41:48 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Added logic to load config files from products.

Revision 12884 - Directory Listing
Modified Thu Mar 4 22:41:47 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Adden annotation support for broken objects. Also added some
logic to set a checker on broken classes. This is necessary
because broken classes are generated when needed.

Revision 12883 - Directory Listing
Modified Thu Mar 4 22:41:44 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Added a products directory. Someday, file-system-based packages will
be installed by sticking little files in this directory. The little
files will just contain the includes to include the product config.
The dtmlfile config is included as an example.

Revision 12882 - Directory Listing
Modified Thu Mar 4 19:14:37 2004 UTC (11 years, 6 months ago) by philikon
Original Path: Zope3/trunk
Be a bit more helpful wrt ZODB.

Revision 12881 - Directory Listing
Modified Thu Mar 4 18:48:21 2004 UTC (11 years, 6 months ago) by poster
Original Path: Zope3/trunk
reverting part of Stephan's checkin.  Without this glue code, vocabularies in Zope will never be found.  If you'd like to revisit the glue code, that's fine, but we need the behavior.

Revision 12880 - Directory Listing
Modified Thu Mar 4 15:14:05 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
*** empty log message ***

Revision 12879 - Directory Listing
Modified Thu Mar 4 02:11:37 2004 UTC (11 years, 6 months ago) by philikon
Original Path: Zope3/trunk
Register expression type through our new ZCML directive; drop the old
hackish monkey-patch-like registration.

Revision 12878 - Directory Listing
Modified Thu Mar 4 02:10:10 2004 UTC (11 years, 6 months ago) by philikon
Original Path: Zope3/trunk
Added new ZCML directive for registering expression types.

Revision 12877 - Directory Listing
Modified Thu Mar 4 02:08:31 2004 UTC (11 years, 6 months ago) by philikon
Original Path: Zope3/trunk
Rename the function that generates a new engine, so we can import both,
the engine and the function.

Revision 12876 - Directory Listing
Modified Thu Mar 4 02:07:04 2004 UTC (11 years, 6 months ago) by philikon
Original Path: Zope3/trunk
Use super(). Cleanup.

Revision 12875 - Directory Listing
Modified Thu Mar 4 02:06:15 2004 UTC (11 years, 6 months ago) by philikon
Original Path: Zope3/trunk
Cleanup.

Revision 12874 - Directory Listing
Modified Thu Mar 4 02:04:13 2004 UTC (11 years, 6 months ago) by philikon
Original Path: Zope3/trunk
Added ITALESExpression interface; it is implemented by all tales
expression type handlers. It serves mere documentational purposes.

Revision 12873 - Directory Listing
Modified Thu Mar 4 02:01:38 2004 UTC (11 years, 6 months ago) by philikon
Original Path: Zope3/trunk
Typo.

Revision 12872 - Directory Listing
Modified Wed Mar 3 22:55:03 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk
The Zope Vocabulary Registry now uses utilities for the vocabulary factories.

Revision 12871 - Directory Listing
Modified Wed Mar 3 22:54:27 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

The Zope Vocabulary Registry now uses utilities for the vocabulary factories.

Revision 12870 - Directory Listing
Modified Wed Mar 3 21:59:03 2004 UTC (11 years, 6 months ago) by jeremy
Original Path: Zope3/trunk
Get DM from persistenttestbase.

Revision 12869 - Directory Listing
Modified Wed Mar 3 20:20:36 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Converted process definitions from being arbitrary registerable components to
be local utilities. This drastically simplified the local workflow and process
definition implementation, since they do not have to worry about any
registration stuff anymore. What an improvement!

Revision 12868 - Directory Listing
Modified Wed Mar 3 20:20:05 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Whitespace added.

Revision 12867 - Directory Listing
Modified Wed Mar 3 20:19:39 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Made workflow process definitions become local utilities.

Revision 12863 - Directory Listing
Modified Wed Mar 3 17:21:28 2004 UTC (11 years, 6 months ago) by stevea
Original Path: Zope3/trunk
Fixed typo in docstring.

Revision 12862 - Directory Listing
Modified Wed Mar 3 17:07:49 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Remove unused helper method. It was promised to go away soon anyways. It was
not used anywhere in the code anyways. Also, one should use the interface
service instead.

Revision 12861 - Directory Listing
Modified Wed Mar 3 17:07:37 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Single to double quotes.

Revision 12860 - Directory Listing
Modified Wed Mar 3 17:07:23 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Cleanup.

Revision 12859 - Directory Listing
Modified Wed Mar 3 17:07:10 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Remove DAV Schema as service.

Revision 12858 - Directory Listing
Modified Wed Mar 3 17:06:57 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Bandaid to hide interface service issues. The interface service is about to go
away, so it's not worth trying to fix it.

Revision 12857 - Directory Listing
Modified Wed Mar 3 17:06:44 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Changed DAV schemas to be utilities. However, I left the dav:provideInterface
directive in place, since it hides some unnecessary indirections.



Removed the schema service interfaces. They should never have been here in the
first place.

Revision 12856 - Directory Listing
Modified Wed Mar 3 17:06:32 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Changed DAV schemas to be utilities. However, I left the dav:provideInterface
directive in place, since it hides some unnecessary indirections.

Revision 12855 - Directory Listing
Modified Wed Mar 3 17:06:15 2004 UTC (11 years, 6 months ago) by srichter
Original Path: Zope3/trunk

Moved DAV schemas to be utilities.

Revision 12854 - Directory Listing
Modified Wed Mar 3 16:08:26 2004 UTC (11 years, 6 months ago) by jeremy
Original Path: Zope3/trunk
Simplify test_suite() function.

Revision 12853 - Directory Listing
Modified Wed Mar 3 16:06:28 2004 UTC (11 years, 6 months ago) by jeremy
Original Path: Zope3/trunk
Copy .sample files (covers zope.app.demo.passwdauth).

Revision 12852 - Directory Listing
Modified Wed Mar 3 12:18:52 2004 UTC (11 years, 6 months ago) by jim
Original Path: Zope3/trunk
Changed to use the new base-test module, persistenttestbase.

Revision 12851 - Directory Listing
Modified Wed Mar 3 11:04:05 2004 UTC (11 years, 6 months ago) by philikon
Original Path: Zope3/trunk
Made zope.app.size a package containing interfaces and tests besides the
implementation.

Revision 12850 - Directory Listing
Modified Wed Mar 3 11:03:11 2004 UTC (11 years, 6 months ago) by philikon
Original Path: Zope3/trunk
Moved sub-package specific directives to subpackage configuration files.

Revision 12849 - Directory Listing
Modified Wed Mar 3 10:52:07 2004 UTC (11 years, 6 months ago) by philikon
Original Path: Zope3/trunk
Copied, pasted and moved copypastemove interfaces to the new
zope.app.copypastemove package.

Revision 12848 - Directory Listing
Modified Wed Mar 3 10:38:59 2004 UTC (11 years, 6 months ago) by philikon
Original Path: