Re: [Zope-dev] How individual package versions are used in a release?

2008-02-06 Thread Dmitry Vasiliev

Christophe Combelles wrote:

Dmitry Vasiliev a écrit :
I've just updated Russian translation at zope.app.locales and notice 
tags for all previous releases of the package. The question is should 
I create new tag (and update setup.py or something) for the package to 
be included into the next Zope 3 release? Links to a release politics 
for individual packages is greatly appreciated.


I suppose (?) it's not too late for releasing zope.app.locales 3.4.2
and integrating it in zope 3.4.0 because there is few risks related to 
translations. And it's a very good way to learn the path from the po 
file up to the final zope release :)

Actually it would be nice to see all other translations updated.


Thanks for the useful links! The next question is: can someone add me
(hdima) to the list of people which can upload zope.app.locales to PyPI? :-)

--
Dmitry Vasiliev (dima at hlabs.spb.ru)
   http://hlabs.spb.ru





signature.asc
Description: OpenPGP digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] How individual package versions are used in a release?

2008-02-04 Thread Dmitry Vasiliev

Hi All!

I've just updated Russian translation at zope.app.locales and notice 
tags for all previous releases of the package. The question is should I 
create new tag (and update setup.py or something) for the package to be 
included into the next Zope 3 release? Links to a release politics for 
individual packages is greatly appreciated.


--
Dmitry Vasiliev dima at hlabs.spb.ru
http://hlabs.spb.ru



signature.asc
Description: OpenPGP digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: [Zope3-dev] i18n for 'structure' in TAL

2006-05-02 Thread Dmitry Vasiliev

Martijn Faassen wrote:
i18n doesn't actually work for things marked as 'structure' in a page 
template in both Zope 2 and Zope 3. Zope 2 does do this with 
PlacelessTranslationService (through some tortuous route I won't go 
into). I think in practice large systems such as Plone, Silva and CPS 
are all translating snippets with bits of HTML in there, so i18n for 
structure is important.


Hmm, it was working in Zope 3, moreover there is even a tests for this case in 
'zope/tal/tests/test_talinterpreter.py'. The only possibility I've seen so far 
is 'evaluateStructure' call returns something different from 'TypesToTranslate' 
and no translation happens.


Zope 2 + Five i18n work however. Zope 3 presumably doesn't work either. 
I have a monkey patch lying around that fixes this in Zope 2.x and I 
could check the fix in directly (and fix it Zope 3.3 trunk too), if 
there are no objections.


Please do.

I realize we're getting close to a release and we're in feature freeze 
now, so this may be considered to be too large a change for this round.


I think it's a bug and should be fixed anyway.

--
Dmitry Vasiliev (dima at hlabs.spb.ru)
http://hlabs.spb.ru
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope3-dev] Re: [Zope-dev] Two visions

2006-02-28 Thread Dmitry Vasiliev

Lennart Regebro wrote:

I like the vision of Zope2 becoming a set of extra packages you
install for Zope3, to get backwards compatibility. Maybe this is the
same as what you call Zope 5, maybe not.


+1

--
Dmitry Vasiliev (dima at hlabs.spb.ru)
http://hlabs.spb.ru
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: [Zope3-dev] Release schedule and deprecation decisions

2006-02-05 Thread Dmitry Vasiliev

Jim Fulton wrote:


A while ago, we had some discussion on when to make releases and
how long to support deprecated features.  The discussion has died down
so I'll summarize what I think the conclusions were:

- We'll move releases up one month to may and November from June and
  December.  This means that the next release is scheduled for May and
  the next feature freeze is April 1.

- We will support deprecated features for 1 year.

I consider there to be decisions. :)


+1

--
Dmitry Vasiliev (dima at hlabs.spb.ru)
http://hlabs.spb.ru
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] BUG: ValueError while changing height of the templateedit window

2002-12-11 Thread Dmitry Vasiliev
Casey Duncan wrote:

On Tuesday 10 December 2002 03:14 pm, Guido van Rossum wrote:


Can we get the same patch without the generic except:, please?

the last thing I want is a database corruption caused by resizing the
Edit box...


Why would this particular except clause cause database corruption?


I think Leonard is refering to catching ConflictErrors. However I don't think 
int() touches the database ;^).

I saw try: int() except: pattern in many places through all the Zope 
code. I think catching ValueError only does the job, but then we should 
replace it in all the places. :-)

--
Dmitry Vasiliev (dima at hlabs.spb.ru)


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )


[Zope-dev] BUG: ValueError while changing height of the template edit window

2002-12-10 Thread Dmitry Vasiliev
Hi All!

Zope 2.6: pressing of Taller or Shorter buttons of the page template 
edit window raises ValueError. Patch attached.

--
Dmitry Vasiliev (dima at hlabs.spb.ru)
Index: ZopePageTemplate.py
===
RCS file: /cvs-repository/Zope/lib/python/Products/PageTemplates/ZopePageTemplate.py,v
retrieving revision 1.44
diff -u -r1.44 ZopePageTemplate.py
--- ZopePageTemplate.py 18 Sep 2002 15:12:46 -  1.44
+++ ZopePageTemplate.py 10 Dec 2002 14:33:43 -
@@ -155,8 +155,11 @@
 cols = min(cols, 100) # Max width 100%
 cols = %d%% % cols # Add percent sign back on
 else: # Absolute width
-try: cols = int(width)
-except: cols = max(40, int(dtpref_cols) + szchw.get(width, 0))
+try:
+cols = int(width)
+except:
+cols = max(40, int(dtpref_cols[:-1]) + szchw.get(width, 0))
+cols = %d%% % cols # Add percent sign back on
 
 try: rows = int(height)
 except: rows = max(1, int(dtpref_rows) + szchh.get(height, 0))



Re: [Zope-dev] BUG: ValueError while changing height of the templateedit window

2002-12-10 Thread Dmitry Vasiliev
Casey Duncan wrote:

Please submit a collector issue for this http://collector.zope.org/Zope so the 
patch doesn't get lost.


I tried it first, but my zope member login hadn't work yet and I had a 
problem with file uploading. I'm new with the collector, was I doing 
some things wrong?

--
Dmitry Vasiliev (dima at hlabs.spb.ru)


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )