[Checkins] SVN: Products.ExternalEditor/trunk/ - Moved the sources of the client to another package : collective.zopeedit
Matthias Broquet
mbroquet at atreal.net
Wed Dec 1 06:06:16 EST 2010
Log message for revision 118654:
- Moved the sources of the client to another package : collective.zopeedit
- Changed docs/INSTALL*
- Added info about new location of the client
- Global clean-up
Changed:
U Products.ExternalEditor/trunk/CHANGES.txt
A Products.ExternalEditor/trunk/MANIFEST.in
D Products.ExternalEditor/trunk/Products/ExternalEditor/MANIFEST.in
D Products.ExternalEditor/trunk/Products/ExternalEditor/Plugins/
A Products.ExternalEditor/trunk/Products/ExternalEditor/client.txt
D Products.ExternalEditor/trunk/Products/ExternalEditor/man/
D Products.ExternalEditor/trunk/Products/ExternalEditor/win32/
D Products.ExternalEditor/trunk/docs/INSTALL-UNIX.txt
D Products.ExternalEditor/trunk/docs/INSTALL-WIN32.txt
A Products.ExternalEditor/trunk/docs/INSTALL.txt
U Products.ExternalEditor/trunk/setup.py
-=-
Modified: Products.ExternalEditor/trunk/CHANGES.txt
===================================================================
--- Products.ExternalEditor/trunk/CHANGES.txt 2010-12-01 10:21:05 UTC (rev 118653)
+++ Products.ExternalEditor/trunk/CHANGES.txt 2010-12-01 11:06:13 UTC (rev 118654)
@@ -11,7 +11,9 @@
- Corrected and added tests
+- Moved the sources of the client to another package : collective.zopeedit
+
1.0 - 2010-07-01
----------------
Added: Products.ExternalEditor/trunk/MANIFEST.in
===================================================================
--- Products.ExternalEditor/trunk/MANIFEST.in (rev 0)
+++ Products.ExternalEditor/trunk/MANIFEST.in 2010-12-01 11:06:13 UTC (rev 118654)
@@ -0,0 +1 @@
+recursive-include docs *
\ No newline at end of file
Deleted: Products.ExternalEditor/trunk/Products/ExternalEditor/MANIFEST.in
===================================================================
--- Products.ExternalEditor/trunk/Products/ExternalEditor/MANIFEST.in 2010-12-01 10:21:05 UTC (rev 118653)
+++ Products.ExternalEditor/trunk/Products/ExternalEditor/MANIFEST.in 2010-12-01 11:06:13 UTC (rev 118654)
@@ -1,6 +0,0 @@
-include *.txt
-include zopeedit.py
-include setup.py
-recursive-include man *
-recursive-include Plugins *.py
-
Added: Products.ExternalEditor/trunk/Products/ExternalEditor/client.txt
===================================================================
--- Products.ExternalEditor/trunk/Products/ExternalEditor/client.txt (rev 0)
+++ Products.ExternalEditor/trunk/Products/ExternalEditor/client.txt 2010-12-01 11:06:13 UTC (rev 118654)
@@ -0,0 +1,5 @@
+The client's sources are now in collective.zopeedit on the plone collective :
+
+https://svn.plone.org/svn/collective/collective.zopeedit
+
+You can get the egg on http://pypi.python.org/pypi/collective.zopeedit
\ No newline at end of file
Deleted: Products.ExternalEditor/trunk/docs/INSTALL-UNIX.txt
===================================================================
--- Products.ExternalEditor/trunk/docs/INSTALL-UNIX.txt 2010-12-01 10:21:05 UTC (rev 118653)
+++ Products.ExternalEditor/trunk/docs/INSTALL-UNIX.txt 2010-12-01 11:06:13 UTC (rev 118654)
@@ -1,115 +0,0 @@
-Zope External Editor Installation
-
- Installation is two-fold:
-
- - Install the ExternalEditor product in Zope.
-
- - Install the helper application on the client(s) and configure the browser(s)
-
- Product Installation
-
- Download the archive and extract it into your Zope products directory. Then
- restart Zope. If you succeeded, you'll notice pencil icons next to the
- external editable objects in the Zope management screens.
-
- Helper Application Installation
-
- Dependancies: Python 2.2, Tk
-
- Download the helper app archive and extract it. Enter the ExternalEditor
- directory and run (You may need to be root)::
-
- python2.2 setup.py install
-
- This will install the zopeedit.py executable (in /usr/local/bin on my
- system). Alternately, you can just copy zopeedit.py to the location of
- your choosing.
-
- Once you have the helper application installed, you need to configure your
- browser to fire it off appropriately. To do so, create an entry in the
- helper applications list for your browser(s) that associates the mime type
- "application/x-zope-edit" with the helper application.
-
- Here are the step-by-step configuration instructions for Mozilla:
-
- - From the Edit menu choose Preferences
-
- - Under Navigator choose Helper Applications
-
- - Click on the New Type button
-
- - Enter a description, like "Zope Editor"
-
- - For MIME type, enter application/x-zope-edit
-
- - for Application, select the helper application python file
-
- Here are instructions for Konqueror (provided by Mark Bucciarelii)
-
- - Settings -> Configure Konqueror
-
- - Select the File Associations icon
-
- - Add a new File Assocation: group = application, type = x-zope-edit
-
- - This association should now be currently selected in the Known Types
- tree control
-
- - Add a description, if you like
-
- - Click the Add button in the Application Preference Order section.
- Browse to select /usr/local/bin/zopeedit.py
-
- Tips
-
- The helper application can run any editor program that does not detach
- itself from the controlling process.
-
- To get terminal based editors to work, you need to spawn them inside an
- xterm. to do this, use something like the following for the editor option::
-
- editor = xterm -e vi
-
- You can of course modify the above to fire up your favorite terminal and
- editor or add any command line arguments you want.
-
- As for editors that insist on detaching from the controlling process (gvim
- does this by default), you need to configure them so that they do not
- detach. For gvim you could use::
-
- editor = gvim -f
-
- Troubleshooting
-
- If the helper app won't launch try the following suggestions:
-
- - Make sure you have Tk installed properly. To test this, bring up Python
- in a terminal and enter 'import Tkinter'. If it throws an exception,
- that is your problem.
-
- - Netscape 4 users, add a "%s" at the end of the application command line.
- It appears the Netscape likes to alert you with spurious things coming
- from stderr. I'll see if I can come up with a solution to that.
-
- - Make sure the file is marked as executable for your user
- ('chmod +x zopeedit.py' should do it)
-
- - Make sure the browser is properly configured. Use a full path to the
- helper app.
-
- - Make sure you are using a graphical editor (that uses X windows). To use
- a terminal based editor (like vi), setup the editor option to spawn it
- inside an xterm. See tips above.
-
- - Try downloading and saving the external editor data to a file manually
- (right click on the pencil icon). Then try running the helper app from
- the command line, passing it the path to this file. If it runs, then
- there is something wrong with the browser configuration. If not, then it
- should output a traceback to your terminal. Email me a copy of this
- traceback, and the data file and I will try to fix it.
-
- - If the editor launches, but the helper app complains that it lost its
- connection to the editor process, this is because your editor detached
- from the parent process (the helper app). Configure the editor such that
- it does not do this. Unfortunately this prevents you from using a
- multi-headed text edit server (like nedit and emacs can provide).
Deleted: Products.ExternalEditor/trunk/docs/INSTALL-WIN32.txt
===================================================================
--- Products.ExternalEditor/trunk/docs/INSTALL-WIN32.txt 2010-12-01 10:21:05 UTC (rev 118653)
+++ Products.ExternalEditor/trunk/docs/INSTALL-WIN32.txt 2010-12-01 11:06:13 UTC (rev 118654)
@@ -1,139 +0,0 @@
-Zope External Editor Installation
-
- Installation is two-fold:
-
- - Install the ExternalEditor product in Zope.
-
- - Install the helper application on the client(s) and configure the browser(s)
-
- Product Installation
-
- Download the archive and extract it into your Zope products directory. Then
- restart Zope. If you succeeded, you'll notice pencil icons next to the
- external editable objects in the Zope management screens.
-
- Helper Application Installation (Binary)
-
- The binary distribution for Windows includes everything you need to
- to install the helper application. It is precompiled to a native Windows
- executable using Python 2.3.4, Pythonwin build 163 and Py2exe 0.5.
- Everything is included for you in one package.
-
- Just run the setup executable to install and configure the helper app
- for use with Internet Explorer. You can also register it (zopeedit.exe)
- with other browsers directly.
-
- You can download the binary installer from Zope.org at::
-
- http://www.zope.org/Members/Caseman/ExternalEditor
-
- Helper Application Installation (Source)
-
- Dependancies: Python 2.2 or newer, Pythonwin extensions (win32all)
-
- *Note: This configuration is for Windows 98, for easier setup on XP and
- Windows 2000, use the binary distribution*
-
- Download the helper app archive and extract into the directory where you
- want to install it: C:\Program Files\ZopeEdit might be a good choice.
-
- Once you have the help application installed, you need to configure your
- browser to fire it off appropriately. To do so, create an entry in the
- helper applications list for your browser(s) that associates the mime type
- "application/x-zope-edit" with the helper application.
-
- To do this for Internet Explorer and other recent browsers, you must
- register the external editor file type with Windows:
-
- - From the "My Computer" window, choose "Folder Options" from the "View"
- menu.
-
- - In the "File Types" tab, click on the "New Type" button.
-
- - Enter a description such as "Zope External Editor"
-
- - Enter an extension not otherwise used on your system (.zope is usually a
- good choice, the exact value is not important)
-
- - For content type (MIME) enter: application/x-zope-edit
-
- - Under "Actions", click on the "New" button.
-
- - For Action enter: Open
-
- - For application used, enter or browse to the path to pythonw.exe
- (wherever you installed python2.3, such as C:\Python23).
- Use quotes around the path if it includes spaces. Following the path to
- Python, enter the path to the helper application file, in quotes if
- needed. Follow it with: "%1" (in quotes). On my system it looks like::
-
- '"C:\Python23\pythonw.exe" C:\Casey\ExternalEditor\zopeedit.py "%1"
-
- - Click OK.
-
- - Uncheck "Confirm open after download"
-
- - Click OK, you should now see your new file type.
-
- Tips
-
- The helper application can run any editor program that does not detach
- itself from the controlling process.
-
- As for editors that insist on detaching from the controlling process
- (EditPad does this by default), you need to configure them so that they do
- not detach. For EditPad you could use::
-
- editor = C:\Program Files\EditPadClassic\EditPad.exe /newinstance
-
- Check the command line options of your favorite editor to see if it
- supports this.
-
- Troubleshooting
-
- If the helper app won't launch or you receive errors try the following
- suggestions:
-
- - Make sure you have Pythonwin installed properly. To test this, bring up
- the Python console and type in 'import win32api'. If it throws an
- exception, you need to install Pythonwin.
-
- - Netscape 4 users, add a "%s" at the end of the application command line.
- It appears the Netscape likes to alert you with spurious things coming
- from stderr. I'll see if I can come up with a solution to that.
-
- - Make sure the file type is properly configured to launch the helper app
- when it receives files of type "application/x-zope-edit".
-
- - Try downloading and saving the external editor data to a file manually
- (right click on the pencil icon). Then try running the helper app from
- the command line, passing it the path to this file. If it runs, then
- there is something wrong with the browser/system configuration. If not,
- then it should output a traceback to your terminal. Email me a copy of
- this traceback, and the data file and I will try to fix it.
-
- - If the editor launches, but the helper app complains that it lost its
- connection to the editor process, this is because your editor detached
- from the parent process (the helper app). Configure the editor such that
- it does not do this. Unfortunately, many MDI applications do this and
- cannot be configured otherwise. To solve this problem, a plug-in must
- be developed for the application. See the README file for more details.
-
- - If you are using IE connecting to Zope over SSL (HTTPS), and you receive
- errors that the file could not be opened or downloaded, or you receive
- errors from External Editor that the file was not found try the following:
-
- - Go to Tools->Internet Options and click on the advanced tab
-
- - Under security (near the bottom) uncheck "Do not save encrypted files
- to disk"
-
- - If you are using IE and you receive an error from the helper app like
- "FATAL ERROR [Errno 2] No such file or directory...." it means that IE is
- refusing to save the temp file to disk. This is usually caused by a cache
- control header such as "Cache-Control: no-cache". To use external editor
- with IE you must prevent this header from being set. Some versions of
- CookieCrumber inject this header for all authenticated requests. You can
- fix this by changing the CC configuration on its properties tab in the
- ZMI to use another cache control value such as "private".
-
Added: Products.ExternalEditor/trunk/docs/INSTALL.txt
===================================================================
--- Products.ExternalEditor/trunk/docs/INSTALL.txt (rev 0)
+++ Products.ExternalEditor/trunk/docs/INSTALL.txt 2010-12-01 11:06:13 UTC (rev 118654)
@@ -0,0 +1,18 @@
+Zope External Editor Installation
+
+ Installation is two-fold:
+
+ - Install the ExternalEditor product in Zope.
+
+ - Install the helper application on the client(s) and configure the browser(s)
+
+ Product Installation
+
+ Download the archive and extract it into your Zope products directory. Then
+ restart Zope. If you succeeded, you'll notice pencil icons next to the
+ external editable objects in the Zope management screens.
+
+ Helper Application Installation
+
+ See http://plone.org/products/zope-externaleditor-client or get directly the
+ egg from http://pypi.python.org/pypi/collective.zopeedit
\ No newline at end of file
Modified: Products.ExternalEditor/trunk/setup.py
===================================================================
--- Products.ExternalEditor/trunk/setup.py 2010-12-01 10:21:05 UTC (rev 118653)
+++ Products.ExternalEditor/trunk/setup.py 2010-12-01 11:06:13 UTC (rev 118654)
@@ -2,7 +2,7 @@
setup(name='Products.ExternalEditor',
- version='1.0.1dev',
+ version='1.1.0dev',
description="Zope External Editor",
long_description=open("README.txt").read() + "\n" + \
open("CHANGES.txt").read(),
More information about the checkins
mailing list