Re: [PHP-DOC] the online documentation editor

2010-03-31 Thread yannick
Le Mardi 30 Mars 2010 13:00:04, KSChan a écrit :
 Yannick,

Hi Kschan,

 
 Regarding the long file issue (/es/appendices/ini.xml).
 
 I spent some time on the codemirror source and find that ...
 
 The options lineNumberDelay and lineNumberTime are not valid for the case
 when option textWrapping = false (which is our FilePanel default).
 
 The operation for adding lineNumber to the editor is just a simple
 while-loop. This while-looop is the cause of freezing the browser when
 opening a long file like the /es/appendices/ini.xml
 
 There are 2 solutions..
 
 [1] when a long file is detected, disable the line number in the editor...
 tested ... just look not nice without the line numbers
 
 [2] modify the while loop so that the options lineNumberDelay and
 lineNumberTime are valid (using setTimeout which sleep the while loop)...
 tested ... look nice but have drawback.
 
 Drawback for solu-2:
 
 When scrolling to the bottom immediately after the open (ctrl + end), line
 numbers displayed are incorrect. This issue will also occur for
 textWrapping = true line-number implementation (u may see the effect by
 simply modify /js/ux/others/main_specific/Ext.ux.CodeMirror.js line 145 -
 textWrapping: true and scroll to bottom after open immediately)
 
 Kindly let me know ... which solu we should use.

The solution 2 seems to be Ok for me.

Seen your skill in this editor, I trust in you ;) If you think this is the 
best solution, just do it ;)

Best,
Yannick

 
 kschan.


Re: [PHP-DOC] the online documentation editor

2010-03-31 Thread KSChan
On Thu, Apr 1, 2010 at 4:55 AM, yannick yannick.tor...@gmail.com wrote:

 Le Mardi 30 Mars 2010 13:00:04, KSChan a écrit :
  Yannick,

 Hi Kschan,

 
  Regarding the long file issue (/es/appendices/ini.xml).
 
  I spent some time on the codemirror source and find that ...
 
  The options lineNumberDelay and lineNumberTime are not valid for the case
  when option textWrapping = false (which is our FilePanel default).
 
  The operation for adding lineNumber to the editor is just a simple
  while-loop. This while-looop is the cause of freezing the browser when
  opening a long file like the /es/appendices/ini.xml
 
  There are 2 solutions..
 
  [1] when a long file is detected, disable the line number in the
 editor...
  tested ... just look not nice without the line numbers
 
  [2] modify the while loop so that the options lineNumberDelay and
  lineNumberTime are valid (using setTimeout which sleep the while
 loop)...
  tested ... look nice but have drawback.
 
  Drawback for solu-2:
 
  When scrolling to the bottom immediately after the open (ctrl + end),
 line
  numbers displayed are incorrect. This issue will also occur for
  textWrapping = true line-number implementation (u may see the effect by
  simply modify /js/ux/others/main_specific/Ext.ux.CodeMirror.js line 145 -
  textWrapping: true and scroll to bottom after open immediately)
 
  Kindly let me know ... which solu we should use.

 The solution 2 seems to be Ok for me.

 Seen your skill in this editor, I trust in you ;) If you think this is the
 best solution, just do it ;)


fixed by solu 2 and proposed the changes on codemirror mailing list.

kschan.



-- 
Please do not send me Microsoft Office/Apple iWork documents. Send
OpenDocument (.pdf, .odt, .ods, .odp, etc.) instead!

http://fsf.org/campaigns/opendocument/


Re: [PHP-DOC] the online documentation editor

2010-03-30 Thread KSChan
Yannick,

Regarding the long file issue (/es/appendices/ini.xml).

I spent some time on the codemirror source and find that ...

The options lineNumberDelay and lineNumberTime are not valid for the case
when option textWrapping = false (which is our FilePanel default).

The operation for adding lineNumber to the editor is just a simple
while-loop. This while-looop is the cause of freezing the browser when
opening a long file like the /es/appendices/ini.xml

There are 2 solutions..

[1] when a long file is detected, disable the line number in the editor...
tested ... just look not nice without the line numbers

[2] modify the while loop so that the options lineNumberDelay and
lineNumberTime are valid (using setTimeout which sleep the while loop)...
tested ... look nice but have drawback.

Drawback for solu-2:

When scrolling to the bottom immediately after the open (ctrl + end), line
numbers displayed are incorrect. This issue will also occur for
textWrapping = true line-number implementation (u may see the effect by
simply modify /js/ux/others/main_specific/Ext.ux.CodeMirror.js line 145 -
textWrapping: true and scroll to bottom after open immediately)

Kindly let me know ... which solu we should use.

kschan.


Re: [PHP-DOC] the online documentation editor

2010-03-24 Thread yannick
Le Mercredi 24 Mars 2010 06:23:52, Yago Ferrer a écrit :
 Hey Yannick,

Hi Yago,

 maybe you are already aware of this issue: I'm trying to save a file in the
 online editor and it doesn't do anything.

I have change the name of a config option. You have 2 solutions for this :

* Go to the configuration window (Main menu = configure), Main = user 
interface, and set the option for on save file
or
* Main menu = Erase my personnal data. This will login out you and when you 
login in again, all default option will be set

I will fix this issue to force a value for this config option.

 
 Thank You!

Best,
Yannick


Re: [PHP-DOC] the online documentation editor

2010-03-23 Thread Yago Ferrer
Hey Yannick,
maybe you are already aware of this issue: I'm trying to save a file in the
online editor and it doesn't do anything.

Thank You!


-- 
Yago Ferrer


Re: [PHP-DOC] the online documentation editor

2010-03-20 Thread pedram salehpoor
sorry I was unable to reproduce it how hard I tried I don't why it
disappeared!

Even I solved all the errors in the persian translation but it did not pop
again but I got another problem that raises occasionally:

Sometimes there is no file in my files needed translation and after some
time the page reloads automatically like there is a loop until I sign out
and reenter to my account but I can't find any reason for it. Could it be a
problem with my internet connection or there is other problems on my side?

Best
Pedram

On Fri, Mar 19, 2010 at 1:35 AM, yannick yannick.tor...@gmail.com wrote:

 Hi Pedram,

 I can't reproduice this.

 Here is my test case, please correct me if I'm wrong.

 * Open a file in error in current translation
 * Modify the file but don't correct all error
 * Save the document (a new tab is open with all error witch haven't been
 corrected
 * Switch to the file tab without close the error tab
 * Modify it without correct all error
 * save the document
 = The error tab is focus with the new list of error

 No error here for me.

 Do you confirm ?

 Best,
 Yannick


 Le Jeudi 18 Mars 2010 16:34:38, pedram salehpoor a écrit :
  Hi again,
  There seems to be a problem with the way online editor handles error
 pages.
 
  Whenever I try to save a document with error, an error page is opened and
  then if you solve some errors but not all of them and try to save it
 again
  and the error page is open the saving fails but if you first close the
  error page and then save it everything is okay.
 
  Best,
  Pedram
 
  On Wed, Mar 17, 2010 at 2:06 AM, yannick yannick.tor...@gmail.com
 wrote:
   Le Mardi 16 Mars 2010 21:49:19, pedram salehpoor a écrit :
At last I found the source of problem!
   
When the encoding of the original english file is iso-8859-1 and I
 use
Utf-8 in my documents without changing the encoding the problem
 arises
when I try saving the files
  
   I just reproduice it. We see the error output if you use tools like
   Firebug with Firefox.
  
   Anyway, I will send a valid error in this case.
   Fix will comming soon ;)
  
Pedram.
   
   
On Tue, Mar 16, 2010 at 4:43 PM, pedram salehpoor 
   
pedram.salehp...@gmail.com wrote:
 On Tue, Mar 16, 2010 at 4:31 PM, TORRES yannick
  
   yannick.tor...@gmail.comwrote:
 Hi Pedram,

 2010/3/16 pedram salehpoor pedram.salehp...@gmail.com

 Hi, I'm encountering some problems in the editor.

 The editor begins two reload itself without letting me to save
  
   anything
  
 and the data is lost.

 When the editor tries to save new files in the directories that
 does not exist previously it enters a loop and never ends its
 work
 and after reloading the page there is a commit pending and the
 contents are lost and it will not show the content that has been
 saved and if you cancel the change again the english content
 can't
 be viewed until you completely reload the page.

 Am I doing anything wrong or what should I do?

 I'm going to try to reproduice it tonight and tell you more once
 it's done.
 Just one question : you try to save the file or save as a
 patch
  
   the
  
 file ? As you talk about a file in directories that does not
 exist
 previously, I guess you mean a file from the pending translate
 module.

 Anyway, are you interest to translate the editor into your native
 language ? ;)

 I tried to translate a new file from ennglish to persian and save
 the
 file. Currently I have one of those kinds of files  on my commit
  
   pending
  
 list If you had time you can take a look at it.

 I'll be happy to translate the editor into my own language.

 Pedram

 Best
 Pedram

 On Mon, Mar 15, 2010 at 7:19 PM, yannick
  
   yannick.tor...@gmail.comwrote:
 Fixed : http://svn.php.net/viewvc?view=revisionrevision=296248

 I have updated manually edit.php.net, so you can view the
 result
  
   right
  
 now.

 Best,
 Yannick

 Le Lundi 15 Mars 2010 07:54:36, yannick a écrit :
  Hi Yago,
 
  I can't find a quick fix for this but I have arrive to
  reproduice
  
   it
  
  locally.
 
  I will fix it when I'm going back home after work ;)
 
  Best,
  Yannick
 
  Le Lundi 15 Mars 2010 06:41:44, Yago Ferrer a écrit :
   Here another bug:
  
   login: as anonymous or VCS
   Language: Spanish
  
   If you go to Pending for commit,
   right click in the file imagerotate.xml
   click in View Diff it and shows an blank page it should show
   the

 changes

   between the copy in the repository
   and the copy pending to commit.
  
   Thanks!



Re: [PHP-DOC] the online documentation editor

2010-03-18 Thread pedram salehpoor
Hi again,
There seems to be a problem with the way online editor handles error pages.

Whenever I try to save a document with error, an error page is opened and
then if you solve some errors but not all of them and try to save it again
and the error page is open the saving fails but if you first close the error
page and then save it everything is okay.

Best,
Pedram

On Wed, Mar 17, 2010 at 2:06 AM, yannick yannick.tor...@gmail.com wrote:

 Le Mardi 16 Mars 2010 21:49:19, pedram salehpoor a écrit :
  At last I found the source of problem!
 
  When the encoding of the original english file is iso-8859-1 and I use
  Utf-8 in my documents without changing the encoding the problem arises
  when I try saving the files

 I just reproduice it. We see the error output if you use tools like Firebug
 with Firefox.

 Anyway, I will send a valid error in this case.
 Fix will comming soon ;)

 
  Pedram.
 
 
  On Tue, Mar 16, 2010 at 4:43 PM, pedram salehpoor 
 
  pedram.salehp...@gmail.com wrote:
   On Tue, Mar 16, 2010 at 4:31 PM, TORRES yannick
 yannick.tor...@gmail.comwrote:
   Hi Pedram,
  
   2010/3/16 pedram salehpoor pedram.salehp...@gmail.com
  
   Hi, I'm encountering some problems in the editor.
  
   The editor begins two reload itself without letting me to save
 anything
   and the data is lost.
  
   When the editor tries to save new files in the directories that does
   not exist previously it enters a loop and never ends its work and
   after reloading the page there is a commit pending and the contents
   are lost and it will not show the content that has been saved and if
   you cancel the change again the english content can't be viewed until
   you completely reload the page.
  
   Am I doing anything wrong or what should I do?
  
   I'm going to try to reproduice it tonight and tell you more once it's
   done.
   Just one question : you try to save the file or save as a patch
 the
   file ? As you talk about a file in directories that does not exist
   previously, I guess you mean a file from the pending translate
   module.
  
   Anyway, are you interest to translate the editor into your native
   language ? ;)
  
   I tried to translate a new file from ennglish to persian and save the
   file. Currently I have one of those kinds of files  on my commit
 pending
   list If you had time you can take a look at it.
  
   I'll be happy to translate the editor into my own language.
  
   Pedram
  
   Best
   Pedram
  
   On Mon, Mar 15, 2010 at 7:19 PM, yannick
 yannick.tor...@gmail.comwrote:
   Fixed : http://svn.php.net/viewvc?view=revisionrevision=296248
  
   I have updated manually edit.php.net, so you can view the result
 right
   now.
  
   Best,
   Yannick
  
   Le Lundi 15 Mars 2010 07:54:36, yannick a écrit :
Hi Yago,
   
I can't find a quick fix for this but I have arrive to reproduice
 it
locally.
   
I will fix it when I'm going back home after work ;)
   
Best,
Yannick
   
Le Lundi 15 Mars 2010 06:41:44, Yago Ferrer a écrit :
 Here another bug:

 login: as anonymous or VCS
 Language: Spanish

 If you go to Pending for commit,
 right click in the file imagerotate.xml
 click in View Diff it and shows an blank page it should show the
  
   changes
  
 between the copy in the repository
 and the copy pending to commit.

 Thanks!



Re: [PHP-DOC] the online documentation editor

2010-03-18 Thread yannick
Hi Pedram,

I can't reproduice this.

Here is my test case, please correct me if I'm wrong.

* Open a file in error in current translation
* Modify the file but don't correct all error
* Save the document (a new tab is open with all error witch haven't been 
corrected
* Switch to the file tab without close the error tab
* Modify it without correct all error
* save the document
= The error tab is focus with the new list of error

No error here for me.

Do you confirm ?

Best,
Yannick


Le Jeudi 18 Mars 2010 16:34:38, pedram salehpoor a écrit :
 Hi again,
 There seems to be a problem with the way online editor handles error pages.
 
 Whenever I try to save a document with error, an error page is opened and
 then if you solve some errors but not all of them and try to save it again
 and the error page is open the saving fails but if you first close the
 error page and then save it everything is okay.
 
 Best,
 Pedram
 
 On Wed, Mar 17, 2010 at 2:06 AM, yannick yannick.tor...@gmail.com wrote:
  Le Mardi 16 Mars 2010 21:49:19, pedram salehpoor a écrit :
   At last I found the source of problem!
   
   When the encoding of the original english file is iso-8859-1 and I use
   Utf-8 in my documents without changing the encoding the problem arises
   when I try saving the files
  
  I just reproduice it. We see the error output if you use tools like
  Firebug with Firefox.
  
  Anyway, I will send a valid error in this case.
  Fix will comming soon ;)
  
   Pedram.
   
   
   On Tue, Mar 16, 2010 at 4:43 PM, pedram salehpoor 
   
   pedram.salehp...@gmail.com wrote:
On Tue, Mar 16, 2010 at 4:31 PM, TORRES yannick
  
  yannick.tor...@gmail.comwrote:
Hi Pedram,

2010/3/16 pedram salehpoor pedram.salehp...@gmail.com

Hi, I'm encountering some problems in the editor.

The editor begins two reload itself without letting me to save
  
  anything
  
and the data is lost.

When the editor tries to save new files in the directories that
does not exist previously it enters a loop and never ends its work
and after reloading the page there is a commit pending and the
contents are lost and it will not show the content that has been
saved and if you cancel the change again the english content can't
be viewed until you completely reload the page.

Am I doing anything wrong or what should I do?

I'm going to try to reproduice it tonight and tell you more once
it's done.
Just one question : you try to save the file or save as a patch
  
  the
  
file ? As you talk about a file in directories that does not exist
previously, I guess you mean a file from the pending translate
module.

Anyway, are you interest to translate the editor into your native
language ? ;)

I tried to translate a new file from ennglish to persian and save the
file. Currently I have one of those kinds of files  on my commit
  
  pending
  
list If you had time you can take a look at it.

I'll be happy to translate the editor into my own language.

Pedram

Best
Pedram

On Mon, Mar 15, 2010 at 7:19 PM, yannick
  
  yannick.tor...@gmail.comwrote:
Fixed : http://svn.php.net/viewvc?view=revisionrevision=296248

I have updated manually edit.php.net, so you can view the result
  
  right
  
now.

Best,
Yannick

Le Lundi 15 Mars 2010 07:54:36, yannick a écrit :
 Hi Yago,
 
 I can't find a quick fix for this but I have arrive to
 reproduice
  
  it
  
 locally.
 
 I will fix it when I'm going back home after work ;)
 
 Best,
 Yannick
 
 Le Lundi 15 Mars 2010 06:41:44, Yago Ferrer a écrit :
  Here another bug:
  
  login: as anonymous or VCS
  Language: Spanish
  
  If you go to Pending for commit,
  right click in the file imagerotate.xml
  click in View Diff it and shows an blank page it should show
  the

changes

  between the copy in the repository
  and the copy pending to commit.
  
  Thanks!


Re: [PHP-DOC] the online documentation editor

2010-03-16 Thread pedram salehpoor
Hi, I'm encountering some problems in the editor.

The editor begins two reload itself without letting me to save anything and
the data is lost.

When the editor tries to save new files in the directories that does not
exist previously it enters a loop and never ends its work and after
reloading the page there is a commit pending and the contents are lost and
it will not show the content that has been saved and if you cancel the
change again the english content can't be viewed until you completely reload
the page.

Am I doing anything wrong or what should I do?

Best
Pedram

On Mon, Mar 15, 2010 at 7:19 PM, yannick yannick.tor...@gmail.com wrote:

 Fixed : http://svn.php.net/viewvc?view=revisionrevision=296248

 I have updated manually edit.php.net, so you can view the result right
 now.

 Best,
 Yannick

 Le Lundi 15 Mars 2010 07:54:36, yannick a écrit :
  Hi Yago,
 
  I can't find a quick fix for this but I have arrive to reproduice it
  locally.
 
  I will fix it when I'm going back home after work ;)
 
  Best,
  Yannick
 
  Le Lundi 15 Mars 2010 06:41:44, Yago Ferrer a écrit :
   Here another bug:
  
   login: as anonymous or VCS
   Language: Spanish
  
   If you go to Pending for commit,
   right click in the file imagerotate.xml
   click in View Diff it and shows an blank page it should show the
 changes
   between the copy in the repository
   and the copy pending to commit.
  
   Thanks!



Re: [PHP-DOC] the online documentation editor

2010-03-16 Thread TORRES yannick
Hi Pedram,

2010/3/16 pedram salehpoor pedram.salehp...@gmail.com

 Hi, I'm encountering some problems in the editor.

 The editor begins two reload itself without letting me to save anything and
 the data is lost.

 When the editor tries to save new files in the directories that does not
 exist previously it enters a loop and never ends its work and after
 reloading the page there is a commit pending and the contents are lost and
 it will not show the content that has been saved and if you cancel the
 change again the english content can't be viewed until you completely reload
 the page.

 Am I doing anything wrong or what should I do?


I'm going to try to reproduice it tonight and tell you more once it's done.
Just one question : you try to save the file or save as a patch the file
? As you talk about a file in directories that does not exist previously,
I guess you mean a file from the pending translate module.

Anyway, are you interest to translate the editor into your native language ?
;)




 Best
 Pedram


 On Mon, Mar 15, 2010 at 7:19 PM, yannick yannick.tor...@gmail.com wrote:

 Fixed : http://svn.php.net/viewvc?view=revisionrevision=296248

 I have updated manually edit.php.net, so you can view the result right
 now.

 Best,
 Yannick

 Le Lundi 15 Mars 2010 07:54:36, yannick a écrit :
  Hi Yago,
 
  I can't find a quick fix for this but I have arrive to reproduice it
  locally.
 
  I will fix it when I'm going back home after work ;)
 
  Best,
  Yannick
 
  Le Lundi 15 Mars 2010 06:41:44, Yago Ferrer a écrit :
   Here another bug:
  
   login: as anonymous or VCS
   Language: Spanish
  
   If you go to Pending for commit,
   right click in the file imagerotate.xml
   click in View Diff it and shows an blank page it should show the
 changes
   between the copy in the repository
   and the copy pending to commit.
  
   Thanks!





Re: [PHP-DOC] the online documentation editor

2010-03-16 Thread pedram salehpoor
On Tue, Mar 16, 2010 at 4:31 PM, TORRES yannick yannick.tor...@gmail.comwrote:

 Hi Pedram,

 2010/3/16 pedram salehpoor pedram.salehp...@gmail.com

 Hi, I'm encountering some problems in the editor.

 The editor begins two reload itself without letting me to save anything
 and the data is lost.

 When the editor tries to save new files in the directories that does not
 exist previously it enters a loop and never ends its work and after
 reloading the page there is a commit pending and the contents are lost and
 it will not show the content that has been saved and if you cancel the
 change again the english content can't be viewed until you completely reload
 the page.

 Am I doing anything wrong or what should I do?


 I'm going to try to reproduice it tonight and tell you more once it's done.
 Just one question : you try to save the file or save as a patch the
 file ? As you talk about a file in directories that does not exist
 previously, I guess you mean a file from the pending translate module.

 Anyway, are you interest to translate the editor into your native language
 ? ;)

I tried to translate a new file from ennglish to persian and save the file.
Currently I have one of those kinds of files  on my commit pending list If
you had time you can take a look at it.

I'll be happy to translate the editor into my own language.

Pedram




 Best
 Pedram


 On Mon, Mar 15, 2010 at 7:19 PM, yannick yannick.tor...@gmail.comwrote:

 Fixed : http://svn.php.net/viewvc?view=revisionrevision=296248

 I have updated manually edit.php.net, so you can view the result right
 now.

 Best,
 Yannick

 Le Lundi 15 Mars 2010 07:54:36, yannick a écrit :
  Hi Yago,
 
  I can't find a quick fix for this but I have arrive to reproduice it
  locally.
 
  I will fix it when I'm going back home after work ;)
 
  Best,
  Yannick
 
  Le Lundi 15 Mars 2010 06:41:44, Yago Ferrer a écrit :
   Here another bug:
  
   login: as anonymous or VCS
   Language: Spanish
  
   If you go to Pending for commit,
   right click in the file imagerotate.xml
   click in View Diff it and shows an blank page it should show the
 changes
   between the copy in the repository
   and the copy pending to commit.
  
   Thanks!






Re: [PHP-DOC] the online documentation editor

2010-03-16 Thread pedram salehpoor
At last I found the source of problem!

When the encoding of the original english file is iso-8859-1 and I use Utf-8
in my documents without changing the encoding the problem arises when I try
saving the files

Pedram.


On Tue, Mar 16, 2010 at 4:43 PM, pedram salehpoor 
pedram.salehp...@gmail.com wrote:



 On Tue, Mar 16, 2010 at 4:31 PM, TORRES yannick 
 yannick.tor...@gmail.comwrote:

 Hi Pedram,

 2010/3/16 pedram salehpoor pedram.salehp...@gmail.com

 Hi, I'm encountering some problems in the editor.

 The editor begins two reload itself without letting me to save anything
 and the data is lost.

 When the editor tries to save new files in the directories that does not
 exist previously it enters a loop and never ends its work and after
 reloading the page there is a commit pending and the contents are lost and
 it will not show the content that has been saved and if you cancel the
 change again the english content can't be viewed until you completely reload
 the page.

 Am I doing anything wrong or what should I do?


 I'm going to try to reproduice it tonight and tell you more once it's
 done.
 Just one question : you try to save the file or save as a patch the
 file ? As you talk about a file in directories that does not exist
 previously, I guess you mean a file from the pending translate module.

 Anyway, are you interest to translate the editor into your native language
 ? ;)

 I tried to translate a new file from ennglish to persian and save the file.
 Currently I have one of those kinds of files  on my commit pending list If
 you had time you can take a look at it.

 I'll be happy to translate the editor into my own language.

 Pedram




 Best
 Pedram


 On Mon, Mar 15, 2010 at 7:19 PM, yannick yannick.tor...@gmail.comwrote:

 Fixed : http://svn.php.net/viewvc?view=revisionrevision=296248

 I have updated manually edit.php.net, so you can view the result right
 now.

 Best,
 Yannick

 Le Lundi 15 Mars 2010 07:54:36, yannick a écrit :
  Hi Yago,
 
  I can't find a quick fix for this but I have arrive to reproduice it
  locally.
 
  I will fix it when I'm going back home after work ;)
 
  Best,
  Yannick
 
  Le Lundi 15 Mars 2010 06:41:44, Yago Ferrer a écrit :
   Here another bug:
  
   login: as anonymous or VCS
   Language: Spanish
  
   If you go to Pending for commit,
   right click in the file imagerotate.xml
   click in View Diff it and shows an blank page it should show the
 changes
   between the copy in the repository
   and the copy pending to commit.
  
   Thanks!







Re: [PHP-DOC] the online documentation editor

2010-03-16 Thread yannick
Le Mardi 16 Mars 2010 21:49:19, pedram salehpoor a écrit :
 At last I found the source of problem!
 
 When the encoding of the original english file is iso-8859-1 and I use
 Utf-8 in my documents without changing the encoding the problem arises
 when I try saving the files

I just reproduice it. We see the error output if you use tools like Firebug 
with Firefox.

Anyway, I will send a valid error in this case.
Fix will comming soon ;)

 
 Pedram.
 
 
 On Tue, Mar 16, 2010 at 4:43 PM, pedram salehpoor 
 
 pedram.salehp...@gmail.com wrote:
  On Tue, Mar 16, 2010 at 4:31 PM, TORRES yannick 
yannick.tor...@gmail.comwrote:
  Hi Pedram,
  
  2010/3/16 pedram salehpoor pedram.salehp...@gmail.com
  
  Hi, I'm encountering some problems in the editor.
  
  The editor begins two reload itself without letting me to save anything
  and the data is lost.
  
  When the editor tries to save new files in the directories that does
  not exist previously it enters a loop and never ends its work and
  after reloading the page there is a commit pending and the contents
  are lost and it will not show the content that has been saved and if
  you cancel the change again the english content can't be viewed until
  you completely reload the page.
  
  Am I doing anything wrong or what should I do?
  
  I'm going to try to reproduice it tonight and tell you more once it's
  done.
  Just one question : you try to save the file or save as a patch the
  file ? As you talk about a file in directories that does not exist
  previously, I guess you mean a file from the pending translate
  module.
  
  Anyway, are you interest to translate the editor into your native
  language ? ;)
  
  I tried to translate a new file from ennglish to persian and save the
  file. Currently I have one of those kinds of files  on my commit pending
  list If you had time you can take a look at it.
  
  I'll be happy to translate the editor into my own language.
  
  Pedram
  
  Best
  Pedram
  
  On Mon, Mar 15, 2010 at 7:19 PM, yannick 
yannick.tor...@gmail.comwrote:
  Fixed : http://svn.php.net/viewvc?view=revisionrevision=296248
  
  I have updated manually edit.php.net, so you can view the result right
  now.
  
  Best,
  Yannick
  
  Le Lundi 15 Mars 2010 07:54:36, yannick a écrit :
   Hi Yago,
   
   I can't find a quick fix for this but I have arrive to reproduice it
   locally.
   
   I will fix it when I'm going back home after work ;)
   
   Best,
   Yannick
   
   Le Lundi 15 Mars 2010 06:41:44, Yago Ferrer a écrit :
Here another bug:

login: as anonymous or VCS
Language: Spanish

If you go to Pending for commit,
right click in the file imagerotate.xml
click in View Diff it and shows an blank page it should show the
  
  changes
  
between the copy in the repository
and the copy pending to commit.

Thanks!


Re: [PHP-DOC] the online documentation editor

2010-03-15 Thread yannick
Hi Yago,

I can't find a quick fix for this but I have arrive to reproduice it locally.

I will fix it when I'm going back home after work ;)

Best,
Yannick

Le Lundi 15 Mars 2010 06:41:44, Yago Ferrer a écrit :
 Here another bug:
 
 login: as anonymous or VCS
 Language: Spanish
 
 If you go to Pending for commit,
 right click in the file imagerotate.xml
 click in View Diff it and shows an blank page it should show the changes
 between the copy in the repository
 and the copy pending to commit.
 
 Thanks!



Re: [PHP-DOC] the online documentation editor

2010-03-15 Thread yannick
Fixed : http://svn.php.net/viewvc?view=revisionrevision=296248

I have updated manually edit.php.net, so you can view the result right now.

Best,
Yannick

Le Lundi 15 Mars 2010 07:54:36, yannick a écrit :
 Hi Yago,
 
 I can't find a quick fix for this but I have arrive to reproduice it
 locally.
 
 I will fix it when I'm going back home after work ;)
 
 Best,
 Yannick
 
 Le Lundi 15 Mars 2010 06:41:44, Yago Ferrer a écrit :
  Here another bug:
  
  login: as anonymous or VCS
  Language: Spanish
  
  If you go to Pending for commit,
  right click in the file imagerotate.xml
  click in View Diff it and shows an blank page it should show the changes
  between the copy in the repository
  and the copy pending to commit.
  
  Thanks!


Re: [PHP-DOC] the online documentation editor

2010-03-15 Thread yannick
Le Lundi 15 Mars 2010 06:23:27, KSChan a écrit :
 On Sun, Mar 14, 2010 at 11:46 PM, yannick yannick.tor...@gmail.com wrote:
  Le Dimanche 14 Mars 2010 16:38:18, KSChan a écrit :
  PS : Some ideas for the GSOC ? ;)
 
 Shall we still bet on WYSIWYG editor? I didn't spend much time on this
 feature :P

Yes, perhaps you can work on this ;)

Some others ideas, but I don't know if the GSCO can cover this... :

* Documentation ! On the php's wiki, directly into source (all class, all 
methods)
* Handle others projects ? Actually, pear is supported, but there is a lot of 
action to do before he can use it, as, put all EN files with correct svn 
keywords, for example. There is also the Zend documentation witch use phD now, 
so we can covers it too.

etc ?

I will be pleased to see you again this year on the editor ;)

Best,
Yannick

 
  Best,
  Y.
  
   ks.
   
   [1] - http://marijn.haverbeke.nl/codemirror/manual.html
   
   On Sat, Mar 13, 2010 at 12:36 AM, yannick yannick.tor...@gmail.com
  
  wrote:
Le Vendredi 12 Mars 2010 16:44:28, Yago Ferrer a écrit :
 Hi Yannick,
 I did login with my credentials. I cleaned cache as you said and
 I'm

having

 the same problem. When you double-click in the file I takes a long
  
  time
  
to

 try to open it:
 (/appendices/ini.xml from Error in current translation) and finally
 javascript crashes.

ini.xml is a big file (more than 5000 lines) and in module Pending
Review,
this file is open twice ;)

 I believe is the function to highlight the code because when I'm
 opening the file is halfway highlighted.  Can we have this
 functionality as an option that you can activate / deactivate?

sur it is...
I must investigate if I can activate/deactivate the highlighting. The
file is
open directly into a codemirror component witch handle this. I must
if the component allow this or not. If I can do, I will propose an
option to automatically desable highlight if the file is more than
2000 lines, for example.

Best,
Yannick

 Thanks!
 
 On Thu, Mar 11, 2010 at 11:36 PM, yannick
 yannick.tor...@gmail.com

wrote:
  Hi Yago,
  
  I can't reproduice it.
  
  Did you login in anonymous or with your VCS credentials ?
  
  PS: try to clear your browser cache.
  
  Best,
  Yannick
  
  Le Vendredi 12 Mars 2010 05:12:33, Yago Ferrer a écrit :
   I can help sending a bug I found.
   
   Browser: Firefox 3.5.8
   OS: Fedora Linux
   
   Error: Javascript crash on:
   http://edit.php.net/js/ux/codemirror/js/codemirror.js:270
   
   How to reproduce it:
   Login as : Php Documentation
   Language: Spanish
   
   Open tab: Error in current translation:
   Open folder: Appendices/
   Double click on ini.xml
   
   
   Yago
   
   On Thu, Mar 11, 2010 at 6:23 PM, Philip Olson 
  
  phi...@roshambo.org
  
  wrote:
Hello everyone,

Before we go public with the online documentation editor,
let's all
  
  make
  
a real effort to try it out. Please break it, and please use
it the
  
  next
  
time (or three) you make a commit. We don't need test commits
  
  (it
  
  works)
  
but real world usage. This applies to both translations and

English.

There are a few bug reports and more should exist. Feature
requests are also encouraged.

The editor is here:
 - http://edit.php.net/

Documentation for it:
 - http://wiki.php.net/doc/editor/

The source code:
 - http://svn.php.net/viewvc/web/doc-editor/trunk/

Notes:
 - Anyone (even anonymous) can create patches
 - Those with karma can commit their own and other peoples
 patches - Please check diffs before commit, as there may be
 whitespace

bugs

 - The PEAR manual is also selectable, but choose PHP ;)

Eventually we'll ask the world to create patches using this
and who
  
  knows
  
where we'll go from there, but likely a good place.

Regards,
Philip


Re: [PHP-DOC] the online documentation editor

2010-03-15 Thread pedram salehpoor
Oh thanks again. This editor has made everything so much easier.

Pedram

On Sun, Mar 14, 2010 at 4:33 PM, yannick yannick.tor...@gmail.com wrote:

 Le Dimanche 14 Mars 2010 13:58:32, pedram salehpoor a écrit :
  Thanks so editors data are not online and they update periodically?

 Yes,

 editor code is updated from svn multiple time per day, and data
 documentation
 just one time per day.

 Here, to view the result of this commit, we must wait for both ;)

 
 
  Pedram
 
  On Sun, Mar 14, 2010 at 4:25 PM, yannick yannick.tor...@gmail.com
 wrote:
   Le Dimanche 14 Mars 2010 13:52:21, pedram salehpoor a écrit :
The number of translated files are not shown correctly
   
And the problem of the total size persists.
  
   Please, just wait until the edit.php.net will be synched with SVN 
 data
   will
   be updated.
  
pedram
   
On Sun, Mar 14, 2010 at 3:57 PM, yannick yannick.tor...@gmail.com
  
   wrote:
 Le Samedi 13 Mars 2010 23:02:09, pedram salehpoor a écrit :
  Thanks That's strange I'm sure that I created the file in the
 root
  
   but
  
 it's

  not there!
  I should create it again.
 
  And I think there is problem with the total size of files in the
  main

 page.

  It shows 819 although the size is more than 2.

 Just fix this part :

 http://svn.php.net/viewvc?view=revisionrevision=296180

 Best,
 Yannick

  Pedram
 
  On Sun, Mar 14, 2010 at 1:25 AM, yannick 
 yannick.tor...@gmail.com

 wrote:
   Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
Well
A question occurred to me! why my name is not in the
translators
  
   of
  
   persian
  
language and the names that it shows as translators I have
never seen the files they h
   
Pedram
  
   This list is extract from translation.xml witch is on the root
 of
  
   the
  
   translated folder.
  
   Make sur you are in ;)
  
   Best,
   Yannick



Re: [PHP-DOC] the online documentation editor

2010-03-15 Thread KSChan
On Mon, Mar 15, 2010 at 11:53 PM, yannick yannick.tor...@gmail.com wrote:

 Le Lundi 15 Mars 2010 06:23:27, KSChan a écrit :
  On Sun, Mar 14, 2010 at 11:46 PM, yannick yannick.tor...@gmail.com
 wrote:
   Le Dimanche 14 Mars 2010 16:38:18, KSChan a écrit :
   PS : Some ideas for the GSOC ? ;)
 
  Shall we still bet on WYSIWYG editor? I didn't spend much time on this
  feature :P

 Yes, perhaps you can work on this ;)

 Some others ideas, but I don't know if the GSCO can cover this... :

 * Documentation ! On the php's wiki, directly into source (all class, all
 methods)
 * Handle others projects ? Actually, pear is supported, but there is a lot
 of
 action to do before he can use it, as, put all EN files with correct svn
 keywords, for example. There is also the Zend documentation witch use phD
 now,
 so we can covers it too.

 etc ?

 I will be pleased to see you again this year on the editor ;)


This year i'll be busy for my school work. Still not having any plan to join
gsoc as student yet ^^ anyway, shall we provide option to disable
line-number so that the codemirror editor won't crash with long files?

ks



 Best,
 Yannick

 
   Best,
   Y.
  
ks.
   
[1] - http://marijn.haverbeke.nl/codemirror/manual.html
   
On Sat, Mar 13, 2010 at 12:36 AM, yannick yannick.tor...@gmail.com
  
   wrote:
 Le Vendredi 12 Mars 2010 16:44:28, Yago Ferrer a écrit :
  Hi Yannick,
  I did login with my credentials. I cleaned cache as you said and
  I'm

 having

  the same problem. When you double-click in the file I takes a
 long
  
   time
  
 to

  try to open it:
  (/appendices/ini.xml from Error in current translation) and
 finally
  javascript crashes.

 ini.xml is a big file (more than 5000 lines) and in module Pending
 Review,
 this file is open twice ;)

  I believe is the function to highlight the code because when I'm
  opening the file is halfway highlighted.  Can we have this
  functionality as an option that you can activate / deactivate?

 sur it is...
 I must investigate if I can activate/deactivate the highlighting.
 The
 file is
 open directly into a codemirror component witch handle this. I must
 if the component allow this or not. If I can do, I will propose an
 option to automatically desable highlight if the file is more than
 2000 lines, for example.

 Best,
 Yannick

  Thanks!
 
  On Thu, Mar 11, 2010 at 11:36 PM, yannick
  yannick.tor...@gmail.com

 wrote:
   Hi Yago,
  
   I can't reproduice it.
  
   Did you login in anonymous or with your VCS credentials ?
  
   PS: try to clear your browser cache.
  
   Best,
   Yannick
  
   Le Vendredi 12 Mars 2010 05:12:33, Yago Ferrer a écrit :
I can help sending a bug I found.
   
Browser: Firefox 3.5.8
OS: Fedora Linux
   
Error: Javascript crash on:
http://edit.php.net/js/ux/codemirror/js/codemirror.js:270
   
How to reproduce it:
Login as : Php Documentation
Language: Spanish
   
Open tab: Error in current translation:
Open folder: Appendices/
Double click on ini.xml
   
   
Yago
   
On Thu, Mar 11, 2010 at 6:23 PM, Philip Olson 
  
   phi...@roshambo.org
  
   wrote:
 Hello everyone,

 Before we go public with the online documentation editor,
 let's all
  
   make
  
 a real effort to try it out. Please break it, and please
 use
 it the
  
   next
  
 time (or three) you make a commit. We don't need test
 commits
  
   (it
  
   works)
  
 but real world usage. This applies to both translations and

 English.

 There are a few bug reports and more should exist. Feature
 requests are also encouraged.

 The editor is here:
  - http://edit.php.net/

 Documentation for it:
  - http://wiki.php.net/doc/editor/

 The source code:
  - http://svn.php.net/viewvc/web/doc-editor/trunk/

 Notes:
  - Anyone (even anonymous) can create patches
  - Those with karma can commit their own and other peoples
  patches - Please check diffs before commit, as there may
 be
  whitespace

 bugs

  - The PEAR manual is also selectable, but choose PHP ;)

 Eventually we'll ask the world to create patches using this
 and who
  
   knows
  
 where we'll go from there, but likely a good place.

 Regards,
 Philip




-- 
i, have a dream. i want to make my dream come true.

http://sites.google.com/site/mrkschan/


Re: [PHP-DOC] the online documentation editor

2010-03-15 Thread Daniel Convissor
On Mon, Mar 15, 2010 at 01:23:27PM +0800, KSChan wrote:
 
 Shall we still bet on WYSIWYG editor? I didn't spend much time on this
 feature :P

I fear such will lead to the XML becoming an enormous mess of misused and 
inappropriate elements.

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409


Re: [PHP-DOC] the online documentation editor

2010-03-15 Thread KSChan
On Tue, Mar 16, 2010 at 11:15 AM, Daniel Convissor 
dani...@analysisandsolutions.com wrote:

 On Mon, Mar 15, 2010 at 01:23:27PM +0800, KSChan wrote:
 
  Shall we still bet on WYSIWYG editor? I didn't spend much time on this
  feature :P

 I fear such will lead to the XML becoming an enormous mess of misused and
 inappropriate elements.


Agree with you ... (this is the primary reason for not using google-doc).

Anyway, perhaps we may borrow some idea from mozilla's cloud-based IDE
(Bespin - https://bespin.mozillalabs.com/) for the GSOC ideas :)

ks



 --Dan

 --
  T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
  4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409




-- 
i, have a dream. i want to make my dream come true.

http://sites.google.com/site/mrkschan/


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread yannick
Le Samedi 13 Mars 2010 23:02:09, pedram salehpoor a écrit :
 Thanks That's strange I'm sure that I created the file in the root but it's
 not there!
 I should create it again.

Just fix this.

http://svn.php.net/viewvc?view=revisionrevision=296164

Best,
Yannick


 
 And I think there is problem with the total size of files in the main page.
 It shows 819 although the size is more than 2.
 
 Pedram
 
 On Sun, Mar 14, 2010 at 1:25 AM, yannick yannick.tor...@gmail.com wrote:
  Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
   Well
   A question occurred to me! why my name is not in the translators of
  
  persian
  
   language and the names that it shows as translators I have never seen
   the files they h
   
   Pedram
  
  This list is extract from translation.xml witch is on the root of the
  translated folder.
  
  Make sur you are in ;)
  
  Best,
  Yannick


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread yannick
Le Samedi 13 Mars 2010 23:02:09, pedram salehpoor a écrit :
 Thanks That's strange I'm sure that I created the file in the root but it's
 not there!
 I should create it again.
 
 And I think there is problem with the total size of files in the main page.
 It shows 819 although the size is more than 2.

Just fix this part :

http://svn.php.net/viewvc?view=revisionrevision=296180

Best,
Yannick

 
 Pedram
 
 On Sun, Mar 14, 2010 at 1:25 AM, yannick yannick.tor...@gmail.com wrote:
  Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
   Well
   A question occurred to me! why my name is not in the translators of
  
  persian
  
   language and the names that it shows as translators I have never seen
   the files they h
   
   Pedram
  
  This list is extract from translation.xml witch is on the root of the
  translated folder.
  
  Make sur you are in ;)
  
  Best,
  Yannick


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread pedram salehpoor
The number of translated files are not shown correctly

And the problem of the total size persists.


pedram


On Sun, Mar 14, 2010 at 3:57 PM, yannick yannick.tor...@gmail.com wrote:

 Le Samedi 13 Mars 2010 23:02:09, pedram salehpoor a écrit :
  Thanks That's strange I'm sure that I created the file in the root but
 it's
  not there!
  I should create it again.
 
  And I think there is problem with the total size of files in the main
 page.
  It shows 819 although the size is more than 2.

 Just fix this part :

 http://svn.php.net/viewvc?view=revisionrevision=296180

 Best,
 Yannick

 
  Pedram
 
  On Sun, Mar 14, 2010 at 1:25 AM, yannick yannick.tor...@gmail.com
 wrote:
   Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
Well
A question occurred to me! why my name is not in the translators of
  
   persian
  
language and the names that it shows as translators I have never seen
the files they h
   
Pedram
  
   This list is extract from translation.xml witch is on the root of the
   translated folder.
  
   Make sur you are in ;)
  
   Best,
   Yannick



Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread yannick
Le Dimanche 14 Mars 2010 13:52:21, pedram salehpoor a écrit :
 The number of translated files are not shown correctly
 
 And the problem of the total size persists.

Please, just wait until the edit.php.net will be synched with SVN  data will 
be updated.

 
 
 pedram
 
 On Sun, Mar 14, 2010 at 3:57 PM, yannick yannick.tor...@gmail.com wrote:
  Le Samedi 13 Mars 2010 23:02:09, pedram salehpoor a écrit :
   Thanks That's strange I'm sure that I created the file in the root but
  
  it's
  
   not there!
   I should create it again.
   
   And I think there is problem with the total size of files in the main
  
  page.
  
   It shows 819 although the size is more than 2.
  
  Just fix this part :
  
  http://svn.php.net/viewvc?view=revisionrevision=296180
  
  Best,
  Yannick
  
   Pedram
   
   On Sun, Mar 14, 2010 at 1:25 AM, yannick yannick.tor...@gmail.com
  
  wrote:
Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
 Well
 A question occurred to me! why my name is not in the translators of

persian

 language and the names that it shows as translators I have never
 seen the files they h
 
 Pedram

This list is extract from translation.xml witch is on the root of the
translated folder.

Make sur you are in ;)

Best,
Yannick


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread pedram salehpoor
Thanks so editors data are not online and they update periodically?


Pedram

On Sun, Mar 14, 2010 at 4:25 PM, yannick yannick.tor...@gmail.com wrote:

 Le Dimanche 14 Mars 2010 13:52:21, pedram salehpoor a écrit :
  The number of translated files are not shown correctly
 
  And the problem of the total size persists.

 Please, just wait until the edit.php.net will be synched with SVN  data
 will
 be updated.

 
 
  pedram
 
  On Sun, Mar 14, 2010 at 3:57 PM, yannick yannick.tor...@gmail.com
 wrote:
   Le Samedi 13 Mars 2010 23:02:09, pedram salehpoor a écrit :
Thanks That's strange I'm sure that I created the file in the root
 but
  
   it's
  
not there!
I should create it again.
   
And I think there is problem with the total size of files in the main
  
   page.
  
It shows 819 although the size is more than 2.
  
   Just fix this part :
  
   http://svn.php.net/viewvc?view=revisionrevision=296180
  
   Best,
   Yannick
  
Pedram
   
On Sun, Mar 14, 2010 at 1:25 AM, yannick yannick.tor...@gmail.com
  
   wrote:
 Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
  Well
  A question occurred to me! why my name is not in the translators
 of

 persian

  language and the names that it shows as translators I have never
  seen the files they h
 
  Pedram

 This list is extract from translation.xml witch is on the root of
 the
 translated folder.

 Make sur you are in ;)

 Best,
 Yannick



Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread yannick
Le Dimanche 14 Mars 2010 13:58:32, pedram salehpoor a écrit :
 Thanks so editors data are not online and they update periodically?

Yes,

editor code is updated from svn multiple time per day, and data documentation 
just one time per day.

Here, to view the result of this commit, we must wait for both ;)

 
 
 Pedram
 
 On Sun, Mar 14, 2010 at 4:25 PM, yannick yannick.tor...@gmail.com wrote:
  Le Dimanche 14 Mars 2010 13:52:21, pedram salehpoor a écrit :
   The number of translated files are not shown correctly
   
   And the problem of the total size persists.
  
  Please, just wait until the edit.php.net will be synched with SVN  data
  will
  be updated.
  
   pedram
   
   On Sun, Mar 14, 2010 at 3:57 PM, yannick yannick.tor...@gmail.com
  
  wrote:
Le Samedi 13 Mars 2010 23:02:09, pedram salehpoor a écrit :
 Thanks That's strange I'm sure that I created the file in the root
  
  but
  
it's

 not there!
 I should create it again.
 
 And I think there is problem with the total size of files in the
 main

page.

 It shows 819 although the size is more than 2.

Just fix this part :

http://svn.php.net/viewvc?view=revisionrevision=296180

Best,
Yannick

 Pedram
 
 On Sun, Mar 14, 2010 at 1:25 AM, yannick yannick.tor...@gmail.com

wrote:
  Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
   Well
   A question occurred to me! why my name is not in the
   translators
  
  of
  
  persian
  
   language and the names that it shows as translators I have
   never seen the files they h
   
   Pedram
  
  This list is extract from translation.xml witch is on the root of
  
  the
  
  translated folder.
  
  Make sur you are in ;)
  
  Best,
  Yannick


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread KSChan
Hi Yannick,

I took a look at codemirror and i believe optionally disable the highlight
is not an easy task.

A quick fix for long documents is to split the highlight task.

In js/component/task/GetFileTask.js line 53,

we just split the contents by hundreds of lines, we use insertIntoLine
(refer to codemirror doc [1])  instead of setContent and keep building the
document incrementally by milliseconds.

If that's a good fix, i will complete it within days :p

ks.

[1] - http://marijn.haverbeke.nl/codemirror/manual.html

On Sat, Mar 13, 2010 at 12:36 AM, yannick yannick.tor...@gmail.com wrote:

 Le Vendredi 12 Mars 2010 16:44:28, Yago Ferrer a écrit :
  Hi Yannick,
  I did login with my credentials. I cleaned cache as you said and I'm
 having
  the same problem. When you double-click in the file I takes a long time
 to
  try to open it:
  (/appendices/ini.xml from Error in current translation) and finally
  javascript crashes.

 ini.xml is a big file (more than 5000 lines) and in module Pending
 Review,
 this file is open twice ;)

 
  I believe is the function to highlight the code because when I'm opening
  the file is halfway highlighted.  Can we have this functionality as an
  option that you can activate / deactivate?

 sur it is...
 I must investigate if I can activate/deactivate the highlighting. The file
 is
 open directly into a codemirror component witch handle this. I must if the
 component allow this or not. If I can do, I will propose an option to
 automatically desable highlight if the file is more than 2000 lines, for
 example.

 Best,
 Yannick

  Thanks!
 
  On Thu, Mar 11, 2010 at 11:36 PM, yannick yannick.tor...@gmail.com
 wrote:
   Hi Yago,
  
   I can't reproduice it.
  
   Did you login in anonymous or with your VCS credentials ?
  
   PS: try to clear your browser cache.
  
   Best,
   Yannick
  
   Le Vendredi 12 Mars 2010 05:12:33, Yago Ferrer a écrit :
I can help sending a bug I found.
   
Browser: Firefox 3.5.8
OS: Fedora Linux
   
Error: Javascript crash on:
http://edit.php.net/js/ux/codemirror/js/codemirror.js:270
   
How to reproduce it:
Login as : Php Documentation
Language: Spanish
   
Open tab: Error in current translation:
Open folder: Appendices/
Double click on ini.xml
   
   
Yago
   
On Thu, Mar 11, 2010 at 6:23 PM, Philip Olson phi...@roshambo.org
  
   wrote:
 Hello everyone,

 Before we go public with the online documentation editor, let's all
  
   make
  
 a real effort to try it out. Please break it, and please use it the
  
   next
  
 time (or three) you make a commit. We don't need test commits (it
  
   works)
  
 but real world usage. This applies to both translations and
 English.

 There are a few bug reports and more should exist. Feature requests
 are also encouraged.

 The editor is here:
  - http://edit.php.net/

 Documentation for it:
  - http://wiki.php.net/doc/editor/

 The source code:
  - http://svn.php.net/viewvc/web/doc-editor/trunk/

 Notes:
  - Anyone (even anonymous) can create patches
  - Those with karma can commit their own and other peoples patches
  - Please check diffs before commit, as there may be whitespace
 bugs
  - The PEAR manual is also selectable, but choose PHP ;)

 Eventually we'll ask the world to create patches using this and who
  
   knows
  
 where we'll go from there, but likely a good place.

 Regards,
 Philip




-- 
i, have a dream. i want to make my dream come true.

http://sites.google.com/site/mrkschan/


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread yannick
Le Dimanche 14 Mars 2010 16:38:18, KSChan a écrit :
 Hi Yannick,

Hi Kschan !

 
 I took a look at codemirror and i believe optionally disable the highlight
 is not an easy task.

I have quickly read the doc and yes, you're right, not so easy.

 A quick fix for long documents is to split the highlight task.
 
 In js/component/task/GetFileTask.js line 53,
 
 we just split the contents by hundreds of lines, we use insertIntoLine
 (refer to codemirror doc [1])  instead of setContent and keep building
 the document incrementally by milliseconds.
 
 If that's a good fix, i will complete it within days :p

Have you try it ?
I'm not on this file, if you want to commit a change, feel free ;)

PS : Some ideas for the GSOC ? ;)

Best,
Y.

 
 ks.
 
 [1] - http://marijn.haverbeke.nl/codemirror/manual.html
 
 On Sat, Mar 13, 2010 at 12:36 AM, yannick yannick.tor...@gmail.com wrote:
  Le Vendredi 12 Mars 2010 16:44:28, Yago Ferrer a écrit :
   Hi Yannick,
   I did login with my credentials. I cleaned cache as you said and I'm
  
  having
  
   the same problem. When you double-click in the file I takes a long time
  
  to
  
   try to open it:
   (/appendices/ini.xml from Error in current translation) and finally
   javascript crashes.
  
  ini.xml is a big file (more than 5000 lines) and in module Pending
  Review,
  this file is open twice ;)
  
   I believe is the function to highlight the code because when I'm
   opening the file is halfway highlighted.  Can we have this
   functionality as an option that you can activate / deactivate?
  
  sur it is...
  I must investigate if I can activate/deactivate the highlighting. The
  file is
  open directly into a codemirror component witch handle this. I must if
  the component allow this or not. If I can do, I will propose an option
  to automatically desable highlight if the file is more than 2000 lines,
  for example.
  
  Best,
  Yannick
  
   Thanks!
   
   On Thu, Mar 11, 2010 at 11:36 PM, yannick yannick.tor...@gmail.com
  
  wrote:
Hi Yago,

I can't reproduice it.

Did you login in anonymous or with your VCS credentials ?

PS: try to clear your browser cache.

Best,
Yannick

Le Vendredi 12 Mars 2010 05:12:33, Yago Ferrer a écrit :
 I can help sending a bug I found.
 
 Browser: Firefox 3.5.8
 OS: Fedora Linux
 
 Error: Javascript crash on:
 http://edit.php.net/js/ux/codemirror/js/codemirror.js:270
 
 How to reproduce it:
 Login as : Php Documentation
 Language: Spanish
 
 Open tab: Error in current translation:
 Open folder: Appendices/
 Double click on ini.xml
 
 
 Yago
 
 On Thu, Mar 11, 2010 at 6:23 PM, Philip Olson phi...@roshambo.org

wrote:
  Hello everyone,
  
  Before we go public with the online documentation editor, let's
  all

make

  a real effort to try it out. Please break it, and please use it
  the

next

  time (or three) you make a commit. We don't need test commits (it

works)

  but real world usage. This applies to both translations and
  
  English.
  
  There are a few bug reports and more should exist. Feature
  requests are also encouraged.
  
  The editor is here:
   - http://edit.php.net/
  
  Documentation for it:
   - http://wiki.php.net/doc/editor/
  
  The source code:
   - http://svn.php.net/viewvc/web/doc-editor/trunk/
  
  Notes:
   - Anyone (even anonymous) can create patches
   - Those with karma can commit their own and other peoples
   patches - Please check diffs before commit, as there may be
   whitespace
  
  bugs
  
   - The PEAR manual is also selectable, but choose PHP ;)
  
  Eventually we'll ask the world to create patches using this and
  who

knows

  where we'll go from there, but likely a good place.
  
  Regards,
  Philip


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread Martin Samesch
On Sat, Mar 13, 2010 at 06:13:14PM -0800, Rasmus Lerdorf wrote:
 On 03/13/2010 05:47 PM, Daniel Convissor wrote:
  On Sat, Mar 13, 2010 at 04:28:21PM +0100, Hannes Magnusson wrote:
 
  Just install the root cert from http://www.cacert.org
  
  Someone I trust regarding security issues said the following recently 
  about doing such:
  [...]
 
 I don't see how that is all that relevant here.  Our certs are fine and
 can be trusted and provides the encryption we need.  If you don't want
 to trust other cacert-based ones don't install the root and just tell
 your browser to accept the php.net ones permanently.

OK, to me this seems to be a good solution.

Regards,
Martin


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread Yago Ferrer
Here another bug:

Go to the Spanish Translation, 'Pending patch' an try to double click
in: es/renference/imap/setup.xml
The page is in a infinite loop trying to load the file.

-- 
Yago Ferrer


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread yannick
Le Lundi 15 Mars 2010 00:45:31, Yago Ferrer a écrit :
 Here another bug:
 
 Go to the Spanish Translation, 'Pending patch' an try to double click
 in: es/renference/imap/setup.xml
 The page is in a infinite loop trying to load the file.

You found a new bug ;)

You have translated a new file and save it as a patch.
Actually, when you save a new file (not as a patch), folders is created 
recursively automatically into the repository and new folders are commited 
before the file when you want to commit this file.
This way isn't implemented for patch... and so, when you try to save as a 
patch a new file (witch is in a folder witch don't exist yet), the file can't 
be 
saved.
And so, when you try to view the patch, there is an error because the editor 
try to load a file witch don't exist.

I will correct this quickly.

Please, continue to break the editor, your work help me so much ;)

Best
Yannick


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread yannick
Fixed : http://svn.php.net/viewvc?view=revisionrevision=296227

go to bed = [] ;)

PS : I have updated manually edit.php.net, so you can already use this change.

Le Lundi 15 Mars 2010 01:41:27, yannick a écrit :
 Le Lundi 15 Mars 2010 00:45:31, Yago Ferrer a écrit :
  Here another bug:
  
  Go to the Spanish Translation, 'Pending patch' an try to double click
  in: es/renference/imap/setup.xml
  The page is in a infinite loop trying to load the file.
 
 You found a new bug ;)
 
 You have translated a new file and save it as a patch.
 Actually, when you save a new file (not as a patch), folders is created
 recursively automatically into the repository and new folders are commited
 before the file when you want to commit this file.
 This way isn't implemented for patch... and so, when you try to save as a
 patch a new file (witch is in a folder witch don't exist yet), the file
 can't be saved.
 And so, when you try to view the patch, there is an error because the
 editor try to load a file witch don't exist.
 
 I will correct this quickly.
 
 Please, continue to break the editor, your work help me so much ;)
 
 Best
 Yannick


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread Yago Ferrer
That has an easy fix.
Make the Login page https://edit.php.net/ without HTTPS and in the login
box add the option to use HTTPS with a checkbox marked by default and if
anyone experience problems with HTTPS can change this option an use the
non-safe mode.

Yago

On Sat, Mar 13, 2010 at 8:30 PM, Philip Olson phi...@roshambo.org wrote:


 On Mar 13, 2010, at 12:27 PM, Yago Ferrer wrote:

  No the problem is not solved.

 This problem seems to exist because we pull in non-ssl content from
 external sources (via cachefly.net) so the IE popup asks if it's okay to
 mix the two. Not allowing it causes the editor to just hang, because it then
 can't find extjs.

 We'll probably start serving extjs locally again unless someone finds a
 more preferred solution to this problem.

 Regards,
 Philip




-- 
Yago Ferrer


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread KSChan
On Sun, Mar 14, 2010 at 11:46 PM, yannick yannick.tor...@gmail.com wrote:

 Le Dimanche 14 Mars 2010 16:38:18, KSChan a écrit :
  Hi Yannick,

 Hi Kschan !

 
  I took a look at codemirror and i believe optionally disable the
 highlight
  is not an easy task.

 I have quickly read the doc and yes, you're right, not so easy.

  A quick fix for long documents is to split the highlight task.
 
  In js/component/task/GetFileTask.js line 53,
 
  we just split the contents by hundreds of lines, we use insertIntoLine
  (refer to codemirror doc [1])  instead of setContent and keep building
  the document incrementally by milliseconds.
 
  If that's a good fix, i will complete it within days :p

 Have you try it ?
 I'm not on this file, if you want to commit a change, feel free ;)


This method doesn't really work. I checked out that most of the time is
spent on creating line-number instead of color-highlight. I believe the
color-hightling is done on demand (when scrolled into view). Once i disabled
showing the line-number for the big file /es/appendices/ini.xml ... nothing
was broken (except the width of editor).



 PS : Some ideas for the GSOC ? ;)


Shall we still bet on WYSIWYG editor? I didn't spend much time on this
feature :P



 Best,
 Y.

 
  ks.
 
  [1] - http://marijn.haverbeke.nl/codemirror/manual.html
 
  On Sat, Mar 13, 2010 at 12:36 AM, yannick yannick.tor...@gmail.com
 wrote:
   Le Vendredi 12 Mars 2010 16:44:28, Yago Ferrer a écrit :
Hi Yannick,
I did login with my credentials. I cleaned cache as you said and I'm
  
   having
  
the same problem. When you double-click in the file I takes a long
 time
  
   to
  
try to open it:
(/appendices/ini.xml from Error in current translation) and finally
javascript crashes.
  
   ini.xml is a big file (more than 5000 lines) and in module Pending
   Review,
   this file is open twice ;)
  
I believe is the function to highlight the code because when I'm
opening the file is halfway highlighted.  Can we have this
functionality as an option that you can activate / deactivate?
  
   sur it is...
   I must investigate if I can activate/deactivate the highlighting. The
   file is
   open directly into a codemirror component witch handle this. I must if
   the component allow this or not. If I can do, I will propose an option
   to automatically desable highlight if the file is more than 2000 lines,
   for example.
  
   Best,
   Yannick
  
Thanks!
   
On Thu, Mar 11, 2010 at 11:36 PM, yannick yannick.tor...@gmail.com
  
   wrote:
 Hi Yago,

 I can't reproduice it.

 Did you login in anonymous or with your VCS credentials ?

 PS: try to clear your browser cache.

 Best,
 Yannick

 Le Vendredi 12 Mars 2010 05:12:33, Yago Ferrer a écrit :
  I can help sending a bug I found.
 
  Browser: Firefox 3.5.8
  OS: Fedora Linux
 
  Error: Javascript crash on:
  http://edit.php.net/js/ux/codemirror/js/codemirror.js:270
 
  How to reproduce it:
  Login as : Php Documentation
  Language: Spanish
 
  Open tab: Error in current translation:
  Open folder: Appendices/
  Double click on ini.xml
 
 
  Yago
 
  On Thu, Mar 11, 2010 at 6:23 PM, Philip Olson 
 phi...@roshambo.org

 wrote:
   Hello everyone,
  
   Before we go public with the online documentation editor, let's
   all

 make

   a real effort to try it out. Please break it, and please use it
   the

 next

   time (or three) you make a commit. We don't need test commits
 (it

 works)

   but real world usage. This applies to both translations and
  
   English.
  
   There are a few bug reports and more should exist. Feature
   requests are also encouraged.
  
   The editor is here:
- http://edit.php.net/
  
   Documentation for it:
- http://wiki.php.net/doc/editor/
  
   The source code:
- http://svn.php.net/viewvc/web/doc-editor/trunk/
  
   Notes:
- Anyone (even anonymous) can create patches
- Those with karma can commit their own and other peoples
patches - Please check diffs before commit, as there may be
whitespace
  
   bugs
  
- The PEAR manual is also selectable, but choose PHP ;)
  
   Eventually we'll ask the world to create patches using this and
   who

 knows

   where we'll go from there, but likely a good place.
  
   Regards,
   Philip




-- 
i, have a dream. i want to make my dream come true.

http://sites.google.com/site/mrkschan/


Re: [PHP-DOC] the online documentation editor

2010-03-14 Thread Yago Ferrer
Here another bug:

login: as anonymous or VCS
Language: Spanish

If you go to Pending for commit,
right click in the file imagerotate.xml
click in View Diff it and shows an blank page it should show the changes
between the copy in the repository
and the copy pending to commit.

Thanks!

-- 
Yago Ferrer


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Martin Samesch
Hi Philip,

On Fri, Mar 12, 2010 at 12:22:49PM -0800, Philip Olson wrote:
 Just a small note. SSL has been setup, so the new link:
 
   - https://edit.php.net/

I get the following warning:

A potentially compromised SSL certificate has been detected
A subordinate CA certificate has been signed using the MD5 algorithm.

Cheers,
Martin


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread yannick
The spanish part of the repository used by phD OE is totally broken.
It's the raison why now, each commit is broken too.

We need to find how it appends but for now, I don't understand how this is 
possible...

I will cleanUp the spanish repo in a first time
And try to commit something for myself.

Best,
Yannick

Le Samedi 13 Mars 2010 03:31:16, Yago Ferrer a écrit :
 Here another bug:
 
 You can't reproduce it unless you are using another file.
 
 Login as : Php Documentation.
 Language: Spanish
 Files Need Update - /reference/image/functions/imagerotate.xml. double
 click.
 I did the changes using the editor from rev. 293274 to the rev. 296120 in
 the Spanish version.
 I committed the file and a empty box appeared (it normally shows the
 revision number) with the title: Status. and I clicked Ok.
 I never got an E-Mail with the DIFF and when I did an SVN update from my
 local computer nothing new listed.
 The file disappeared from 'Files Need Updated and from 'Pending from
 Commit'.
 
 If you now open the file from 'all files' you can see that the changes are
 there: last revision: 296120
 but is the only place where you can see these changes. Something weird
 happened.
 
 Yago
 
  and I click on 'Diff From VCS' the box that drops down is empty...


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread yannick
Ok.
It seems that all files under es/ haven't any svn props defined.

I'm going to fix this and see if it solve all problem with es.

Best,
Yannick

Le Samedi 13 Mars 2010 11:12:55, yannick a écrit :
 The spanish part of the repository used by phD OE is totally broken.
 It's the raison why now, each commit is broken too.
 
 We need to find how it appends but for now, I don't understand how this is
 possible...
 
 I will cleanUp the spanish repo in a first time
 And try to commit something for myself.
 
 Best,
 Yannick
 
 Le Samedi 13 Mars 2010 03:31:16, Yago Ferrer a écrit :
  Here another bug:
  
  You can't reproduce it unless you are using another file.
  
  Login as : Php Documentation.
  Language: Spanish
  Files Need Update - /reference/image/functions/imagerotate.xml. double
  click.
  I did the changes using the editor from rev. 293274 to the rev. 296120 in
  the Spanish version.
  I committed the file and a empty box appeared (it normally shows the
  revision number) with the title: Status. and I clicked Ok.
  I never got an E-Mail with the DIFF and when I did an SVN update from my
  local computer nothing new listed.
  The file disappeared from 'Files Need Updated and from 'Pending from
  Commit'.
  
  If you now open the file from 'all files' you can see that the changes
  are there: last revision: 296120
  but is the only place where you can see these changes. Something weird
  happened.
  
  Yago
  
   and I click on 'Diff From VCS' the box that drops down is empty...


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread yannick
Yago,

I just commit a fix and clean up the es/ part of the repository.

Please, could you make some others trys and note all you do ? ;)

Best,
Yannick

Le Samedi 13 Mars 2010 11:58:01, yannick a écrit :
 Ok.
 It seems that all files under es/ haven't any svn props defined.
 
 I'm going to fix this and see if it solve all problem with es.
 
 Best,
 Yannick
 
 Le Samedi 13 Mars 2010 11:12:55, yannick a écrit :
  The spanish part of the repository used by phD OE is totally broken.
  It's the raison why now, each commit is broken too.
  
  We need to find how it appends but for now, I don't understand how this
  is possible...
  
  I will cleanUp the spanish repo in a first time
  And try to commit something for myself.
  
  Best,
  Yannick
  
  Le Samedi 13 Mars 2010 03:31:16, Yago Ferrer a écrit :
   Here another bug:
   
   You can't reproduce it unless you are using another file.
   
   Login as : Php Documentation.
   Language: Spanish
   Files Need Update - /reference/image/functions/imagerotate.xml. double
   click.
   I did the changes using the editor from rev. 293274 to the rev. 296120
   in the Spanish version.
   I committed the file and a empty box appeared (it normally shows the
   revision number) with the title: Status. and I clicked Ok.
   I never got an E-Mail with the DIFF and when I did an SVN update from
   my local computer nothing new listed.
   The file disappeared from 'Files Need Updated and from 'Pending from
   Commit'.
   
   If you now open the file from 'all files' you can see that the changes
   are there: last revision: 296120
   but is the only place where you can see these changes. Something weird
   happened.
   
   Yago
   
and I click on 'Diff From VCS' the box that drops down is empty...


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Yago Ferrer
Hi Yannick,

From the online editor:
I edited and updated the file /reference/url/functions/urldecode.xml to the
rev. 296092

When I committed the Status box showed this:

property 'svn:keywords' set on 'es/reference/url/functions/urldecode.xml'
property 'svn:eol-style' set on 'es/reference/url/functions/urldecode.xml'

But no revision Id and didn't get E-Mail or anything.

Do you know how to prevent this? Is it something wrong we are doing from the
svn client?
 It seems that all files under es/ haven't any svn props defined

Thanks!


On Sat, Mar 13, 2010 at 4:25 AM, yannick yannick.tor...@gmail.com wrote:

 Yago,

 I just commit a fix and clean up the es/ part of the repository.

 Please, could you make some others trys and note all you do ? ;)

 Best,
 Yannick

 Le Samedi 13 Mars 2010 11:58:01, yannick a écrit :
  Ok.
  It seems that all files under es/ haven't any svn props defined.
 
  I'm going to fix this and see if it solve all problem with es.
 
  Best,
  Yannick
 
  Le Samedi 13 Mars 2010 11:12:55, yannick a écrit :
   The spanish part of the repository used by phD OE is totally broken.
   It's the raison why now, each commit is broken too.
  
   We need to find how it appends but for now, I don't understand how this
   is possible...
  
   I will cleanUp the spanish repo in a first time
   And try to commit something for myself.
  
   Best,
   Yannick
  
   Le Samedi 13 Mars 2010 03:31:16, Yago Ferrer a écrit :
Here another bug:
   
You can't reproduce it unless you are using another file.
   
Login as : Php Documentation.
Language: Spanish
Files Need Update - /reference/image/functions/imagerotate.xml.
 double
click.
I did the changes using the editor from rev. 293274 to the rev.
 296120
in the Spanish version.
I committed the file and a empty box appeared (it normally shows the
revision number) with the title: Status. and I clicked Ok.
I never got an E-Mail with the DIFF and when I did an SVN update from
my local computer nothing new listed.
The file disappeared from 'Files Need Updated and from 'Pending from
Commit'.
   
If you now open the file from 'all files' you can see that the
 changes
are there: last revision: 296120
but is the only place where you can see these changes. Something
 weird
happened.
   
Yago
   
 and I click on 'Diff From VCS' the box that drops down is empty...




-- 
Yago Ferrer


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Yago Ferrer
Here is another issue:

It is constantly popping up the message: Option Saved: Option has been saved
successfully!

Sometimes up to 8 times in a row... Unless you are saving a file It will be
nice save user options without getting pop ups.

Thanks!


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Philip Olson

On Mar 13, 2010, at 1:55 AM, Martin Samesch wrote:

 Hi Philip,
 
 On Fri, Mar 12, 2010 at 12:22:49PM -0800, Philip Olson wrote:
 Just a small note. SSL has been setup, so the new link:
 
  - https://edit.php.net/
 
 I get the following warning:
 
 A potentially compromised SSL certificate has been detected
 A subordinate CA certificate has been signed using the MD5 algorithm.

The PHP project uses self signed certificates, so this causes such errors.

Regards,
Philip


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Yago Ferrer
Here another bug:

If you try to load the page in IE8 you will see the Php DocBook Online
Editor Initializing... in an infinite loop.

If you double click in the Alert Icon in the botton left corner this error
will appear:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;
.NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
Timestamp: Sat, 13 Mar 2010 14:48:44 UTC


Message: 'Ext' is undefined
Line: 1
Char: 1
Code: 0
URI: https://edit.php.net/js/login-all.js

-- 
Yago Ferrer


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Hannes Magnusson
On Sat, Mar 13, 2010 at 15:46, Philip Olson phi...@roshambo.org wrote:

 On Mar 13, 2010, at 1:55 AM, Martin Samesch wrote:

 Hi Philip,

 On Fri, Mar 12, 2010 at 12:22:49PM -0800, Philip Olson wrote:
 Just a small note. SSL has been setup, so the new link:

  - https://edit.php.net/

 I get the following warning:

 A potentially compromised SSL certificate has been detected
 A subordinate CA certificate has been signed using the MD5 algorithm.

 The PHP project uses self signed certificates, so this causes such errors.

No we don't. We use certs from CAcert.

Just install the root cert from http://www.cacert.org

-Hannes


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread yannick
Yago,

Could you come to #php.doc on efnet to try to fix this together ?

Best,
Y.

Le Samedi 13 Mars 2010 15:24:34, Yago Ferrer a écrit :
 Hi Yannick,
 
 From the online editor:
 I edited and updated the file /reference/url/functions/urldecode.xml to the
 rev. 296092
 
 When I committed the Status box showed this:
 
 property 'svn:keywords' set on 'es/reference/url/functions/urldecode.xml'
 property 'svn:eol-style' set on 'es/reference/url/functions/urldecode.xml'
 
 But no revision Id and didn't get E-Mail or anything.
 
 Do you know how to prevent this? Is it something wrong we are doing from
 the svn client?
 
  It seems that all files under es/ haven't any svn props defined
 
 Thanks!
 
 On Sat, Mar 13, 2010 at 4:25 AM, yannick yannick.tor...@gmail.com wrote:
  Yago,
  
  I just commit a fix and clean up the es/ part of the repository.
  
  Please, could you make some others trys and note all you do ? ;)
  
  Best,
  Yannick
  
  Le Samedi 13 Mars 2010 11:58:01, yannick a écrit :
   Ok.
   It seems that all files under es/ haven't any svn props defined.
   
   I'm going to fix this and see if it solve all problem with es.
   
   Best,
   Yannick
   
   Le Samedi 13 Mars 2010 11:12:55, yannick a écrit :
The spanish part of the repository used by phD OE is totally broken.
It's the raison why now, each commit is broken too.

We need to find how it appends but for now, I don't understand how
this is possible...

I will cleanUp the spanish repo in a first time
And try to commit something for myself.

Best,
Yannick

Le Samedi 13 Mars 2010 03:31:16, Yago Ferrer a écrit :
 Here another bug:
 
 You can't reproduce it unless you are using another file.
 
 Login as : Php Documentation.
 Language: Spanish
 Files Need Update - /reference/image/functions/imagerotate.xml.
  
  double
  
 click.
 I did the changes using the editor from rev. 293274 to the rev.
  
  296120
  
 in the Spanish version.
 I committed the file and a empty box appeared (it normally shows
 the revision number) with the title: Status. and I clicked Ok. I
 never got an E-Mail with the DIFF and when I did an SVN update
 from my local computer nothing new listed.
 The file disappeared from 'Files Need Updated and from 'Pending
 from Commit'.
 
 If you now open the file from 'all files' you can see that the
  
  changes
  
 are there: last revision: 296120
 but is the only place where you can see these changes. Something
  
  weird
  
 happened.
 
 Yago
 
  and I click on 'Diff From VCS' the box that drops down is
  empty...


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Philip Olson

On Mar 13, 2010, at 7:28 AM, Hannes Magnusson wrote:

 On Sat, Mar 13, 2010 at 15:46, Philip Olson phi...@roshambo.org wrote:
 
 On Mar 13, 2010, at 1:55 AM, Martin Samesch wrote:
 
 Hi Philip,
 
 On Fri, Mar 12, 2010 at 12:22:49PM -0800, Philip Olson wrote:
 Just a small note. SSL has been setup, so the new link:
 
  - https://edit.php.net/
 
 I get the following warning:
 
 A potentially compromised SSL certificate has been detected
 A subordinate CA certificate has been signed using the MD5 algorithm.
 
 The PHP project uses self signed certificates, so this causes such errors.
 
 No we don't. We use certs from CAcert.
 
 Just install the root cert from http://www.cacert.org

I misspoke. We do use CAcert here but not every browser trusts it (by default) 
due to lack of a distributed root certificate. This topic is outside my area of 
expertise but I believe edit.php.net is setup properly in the normal php.net 
fashion.

Regards,
Philip

Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread yannick
Le Samedi 13 Mars 2010 15:38:30, Yago Ferrer a écrit :
 Here is another issue:
 
 It is constantly popping up the message: Option Saved: Option has been
 saved successfully!
 
 Sometimes up to 8 times in a row... Unless you are saving a file It will be
 nice save user options without getting pop ups.
 
 Thanks!

I'm on it too ;)


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread yannick
Le Samedi 13 Mars 2010 16:00:11, Yago Ferrer a écrit :
 Here another bug:
 
 If you try to load the page in IE8 you will see the Php DocBook Online
 Editor Initializing... in an infinite loop.
 
 If you double click in the Alert Icon in the botton left corner this error
 will appear:
 
 Webpage error details
 
 User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;
 .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
 Timestamp: Sat, 13 Mar 2010 14:48:44 UTC
 
 
 Message: 'Ext' is undefined
 Line: 1
 Char: 1
 Code: 0
 URI: https://edit.php.net/js/login-all.js

Just did a fix for this. As I'm only on Linux, could you please try again ?


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Martin Samesch
On Sat, Mar 13, 2010 at 06:46:14AM -0800, Philip Olson wrote:
 
 On Mar 13, 2010, at 1:55 AM, Martin Samesch wrote:
 
  I get the following warning:
  
  A potentially compromised SSL certificate has been detected
  A subordinate CA certificate has been signed using the MD5 algorithm.
 
 The PHP project uses self signed certificates, so this causes such errors.

Me too (or was it CAcert?), but I never got an MD5 warning. There's
only the usual Firefox warning 'This Connection is untrusted'.

See https://as-508.de/ (great website ;-)

OK, probably there's nothing to worry about.

Regards,
Martin


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Rasmus Lerdorf
On 03/13/2010 08:23 AM, Martin Samesch wrote:
 On Sat, Mar 13, 2010 at 06:46:14AM -0800, Philip Olson wrote:

 On Mar 13, 2010, at 1:55 AM, Martin Samesch wrote:

 I get the following warning:

 A potentially compromised SSL certificate has been detected
 A subordinate CA certificate has been signed using the MD5 algorithm.

 The PHP project uses self signed certificates, so this causes such errors.
 
 Me too (or was it CAcert?), but I never got an MD5 warning. There's
 only the usual Firefox warning 'This Connection is untrusted'.
 
 See https://as-508.de/ (great website ;-)
 
 OK, probably there's nothing to worry about.

It is not self-signed it is a cacert.org certificate and it is fine.
Install the cacert root certificate to eliminate those warnings.
Someone should probably add the instructions for how to do that to the wiki.

-Rasmus


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Martin Samesch
Hi Rasmus,

On Sat, Mar 13, 2010 at 10:30:12AM -0800, Rasmus Lerdorf wrote:
 
 It is not self-signed it is a cacert.org certificate and it is fine.
 Install the cacert root certificate to eliminate those warnings.
 Someone should probably add the instructions for how to do that to the wiki.

Thanks for this hint.

As I'm using a CAcert certificate too, I already installed their root
certificate some time ago.

BTW, the warning isn't issued by Firefox but by the add-on 'SSL
Blacklist'. I think this warning is rather about MD5 than about CAcert.

Regards,
Martin


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Rasmus Lerdorf
On 03/13/2010 11:17 AM, Martin Samesch wrote:
 Hi Rasmus,
 
 On Sat, Mar 13, 2010 at 10:30:12AM -0800, Rasmus Lerdorf wrote:

 It is not self-signed it is a cacert.org certificate and it is fine.
 Install the cacert root certificate to eliminate those warnings.
 Someone should probably add the instructions for how to do that to the wiki.
 
 Thanks for this hint.
 
 As I'm using a CAcert certificate too, I already installed their root
 certificate some time ago.
 
 BTW, the warning isn't issued by Firefox but by the add-on 'SSL
 Blacklist'. I think this warning is rather about MD5 than about CAcert.

Yes, I know, but that blacklist is wrong in this case because md5 root
certs aren't vulnerable.

-Rasmus


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Philip Olson

On Mar 13, 2010, at 11:20 AM, Rasmus Lerdorf wrote:

 On 03/13/2010 11:17 AM, Martin Samesch wrote:
 Hi Rasmus,
 
 On Sat, Mar 13, 2010 at 10:30:12AM -0800, Rasmus Lerdorf wrote:
 
 It is not self-signed it is a cacert.org certificate and it is fine.
 Install the cacert root certificate to eliminate those warnings.
 Someone should probably add the instructions for how to do that to the wiki.
 
 Thanks for this hint.
 
 As I'm using a CAcert certificate too, I already installed their root
 certificate some time ago.
 
 BTW, the warning isn't issued by Firefox but by the add-on 'SSL
 Blacklist'. I think this warning is rather about MD5 than about CAcert.
 
 Yes, I know, but that blacklist is wrong in this case because md5 root
 certs aren't vulnerable.

Here's a start to the faq, please improve:

 - http://wiki.php.net/web/faq

Regards,
Philip

Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Yago Ferrer
No the problem is not solved.

On Sat, Mar 13, 2010 at 8:41 AM, yannick yannick.tor...@gmail.com wrote:

 Le Samedi 13 Mars 2010 16:00:11, Yago Ferrer a écrit :
   Here another bug:
 
  If you try to load the page in IE8 you will see the Php DocBook Online
  Editor Initializing... in an infinite loop.
 
  If you double click in the Alert Icon in the botton left corner this
 error
  will appear:
 
  Webpage error details
 
  User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
 Trident/4.0;
  .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;
 InfoPath.2)
  Timestamp: Sat, 13 Mar 2010 14:48:44 UTC
 
 
  Message: 'Ext' is undefined
  Line: 1
  Char: 1
  Code: 0
  URI: https://edit.php.net/js/login-all.js

 Just did a fix for this. As I'm only on Linux, could you please try again ?




-- 
Yago Ferrer


[PHP-DOC] the online documentation editor

2010-03-13 Thread pedram salehpoor
Well
A question occurred to me! why my name is not in the translators of persian
language and the names that it shows as translators I have never seen the
files they h

Pedram


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread pedram salehpoor
hmm...
I don't know should I call this a bug but the following sentence has
spelling errors:

The file * fa/language/oop5/visibility.xml* contains some tab caracters.
The editor have replace it with space caracters.

It should be Characters I think not Caracters.

Pedram

On Fri, Mar 12, 2010 at 4:53 AM, Philip Olson phi...@roshambo.org wrote:

 Hello everyone,

 Before we go public with the online documentation editor, let's all make a
 real effort to try it out. Please break it, and please use it the next time
 (or three) you make a commit. We don't need test commits (it works) but real
 world usage. This applies to both translations and English.

 There are a few bug reports and more should exist. Feature requests are
 also encouraged.

 The editor is here:
  - http://edit.php.net/

 Documentation for it:
  - http://wiki.php.net/doc/editor/

 The source code:
  - http://svn.php.net/viewvc/web/doc-editor/trunk/

 Notes:
  - Anyone (even anonymous) can create patches
  - Those with karma can commit their own and other peoples patches
  - Please check diffs before commit, as there may be whitespace bugs
  - The PEAR manual is also selectable, but choose PHP ;)

 Eventually we'll ask the world to create patches using this and who knows
 where we'll go from there, but likely a good place.

 Regards,
 Philip





Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread yannick
Hi Pedram,

Fixed !

http://svn.php.net/viewvc?view=revisionrevision=296161

Best,
Yannick

Le Samedi 13 Mars 2010 22:11:12, pedram salehpoor a écrit :
 hmm...
 I don't know should I call this a bug but the following sentence has
 spelling errors:
 
 The file * fa/language/oop5/visibility.xml* contains some tab caracters.
 The editor have replace it with space caracters.
 
 It should be Characters I think not Caracters.
 
 Pedram
 
 On Fri, Mar 12, 2010 at 4:53 AM, Philip Olson phi...@roshambo.org wrote:
  Hello everyone,
  
  Before we go public with the online documentation editor, let's all make
  a real effort to try it out. Please break it, and please use it the next
  time (or three) you make a commit. We don't need test commits (it works)
  but real world usage. This applies to both translations and English.
  
  There are a few bug reports and more should exist. Feature requests are
  also encouraged.
  
  The editor is here:
   - http://edit.php.net/
  
  Documentation for it:
   - http://wiki.php.net/doc/editor/
  
  The source code:
   - http://svn.php.net/viewvc/web/doc-editor/trunk/
  
  Notes:
   - Anyone (even anonymous) can create patches
   - Those with karma can commit their own and other peoples patches
   - Please check diffs before commit, as there may be whitespace bugs
   - The PEAR manual is also selectable, but choose PHP ;)
  
  Eventually we'll ask the world to create patches using this and who knows
  where we'll go from there, but likely a good place.
  
  Regards,
  Philip


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread yannick
Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
 Well
 A question occurred to me! why my name is not in the translators of persian
 language and the names that it shows as translators I have never seen the
 files they h
 
 Pedram

This list is extract from translation.xml witch is on the root of the 
translated folder.

Make sur you are in ;)

Best,
Yannick


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread pedram salehpoor
Thanks That's strange I'm sure that I created the file in the root but it's
not there!
I should create it again.

And I think there is problem with the total size of files in the main page.
It shows 819 although the size is more than 2.

Pedram

On Sun, Mar 14, 2010 at 1:25 AM, yannick yannick.tor...@gmail.com wrote:

 Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
  Well
  A question occurred to me! why my name is not in the translators of
 persian
  language and the names that it shows as translators I have never seen the
  files they h
 
  Pedram

 This list is extract from translation.xml witch is on the root of the
 translated folder.

 Make sur you are in ;)

 Best,
 Yannick



Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread yannick
Perhaps there is a problem with the langue code...

Witch it should be for Persian ?

Le Samedi 13 Mars 2010 23:02:09, pedram salehpoor a écrit :
 Thanks That's strange I'm sure that I created the file in the root but it's
 not there!
 I should create it again.
 
 And I think there is problem with the total size of files in the main page.
 It shows 819 although the size is more than 2.
 
 Pedram
 
 On Sun, Mar 14, 2010 at 1:25 AM, yannick yannick.tor...@gmail.com wrote:
  Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
   Well
   A question occurred to me! why my name is not in the translators of
  
  persian
  
   language and the names that it shows as translators I have never seen
   the files they h
   
   Pedram
  
  This list is extract from translation.xml witch is on the root of the
  translated folder.
  
  Make sur you are in ;)
  
  Best,
  Yannick


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread pedram salehpoor
In the fourth line in Summary:
  number of files  percent of files  size of files  percent of files
total9260100%819100%

The size should be more than 2.


On Sun, Mar 14, 2010 at 1:38 AM, yannick yannick.tor...@gmail.com wrote:

 Perhaps there is a problem with the langue code...

 Witch it should be for Persian ?

 Le Samedi 13 Mars 2010 23:02:09, pedram salehpoor a écrit :
  Thanks That's strange I'm sure that I created the file in the root but
 it's
  not there!
  I should create it again.
 
  And I think there is problem with the total size of files in the main
 page.
  It shows 819 although the size is more than 2.
 
  Pedram
 
  On Sun, Mar 14, 2010 at 1:25 AM, yannick yannick.tor...@gmail.com
 wrote:
   Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
Well
A question occurred to me! why my name is not in the translators of
  
   persian
  
language and the names that it shows as translators I have never seen
the files they h
   
Pedram
  
   This list is extract from translation.xml witch is on the root of the
   translated folder.
  
   Make sur you are in ;)
  
   Best,
   Yannick



Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread pedram salehpoor
And I forgot in persian language page.

On Sun, Mar 14, 2010 at 1:43 AM, pedram salehpoor 
pedram.salehp...@gmail.com wrote:

 In the fourth line in Summary:
   number of files  percent of files  size of files  percent of
 files
 total9260100%819100%

 The size should be more than 2.



 On Sun, Mar 14, 2010 at 1:38 AM, yannick yannick.tor...@gmail.com wrote:

 Perhaps there is a problem with the langue code...

 Witch it should be for Persian ?

 Le Samedi 13 Mars 2010 23:02:09, pedram salehpoor a écrit :
  Thanks That's strange I'm sure that I created the file in the root but
 it's
  not there!
  I should create it again.
 
  And I think there is problem with the total size of files in the main
 page.
  It shows 819 although the size is more than 2.
 
  Pedram
 
  On Sun, Mar 14, 2010 at 1:25 AM, yannick yannick.tor...@gmail.com
 wrote:
   Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
Well
A question occurred to me! why my name is not in the translators of
  
   persian
  
language and the names that it shows as translators I have never
 seen
the files they h
   
Pedram
  
   This list is extract from translation.xml witch is on the root of the
   translated folder.
  
   Make sur you are in ;)
  
   Best,
   Yannick





Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread yannick
Yes, I know that i need to review the way the stats are counted.

If you want to post a bug report to don't forget this, feel free ;)

Best,
Yannick

Le Samedi 13 Mars 2010 23:13:11, pedram salehpoor a écrit :
 In the fourth line in Summary:
   number of files  percent of files  size of files  percent of
 files total9260100%819100%
 
 The size should be more than 2.
 
 On Sun, Mar 14, 2010 at 1:38 AM, yannick yannick.tor...@gmail.com wrote:
  Perhaps there is a problem with the langue code...
  
  Witch it should be for Persian ?
  
  Le Samedi 13 Mars 2010 23:02:09, pedram salehpoor a écrit :
   Thanks That's strange I'm sure that I created the file in the root but
  
  it's
  
   not there!
   I should create it again.
   
   And I think there is problem with the total size of files in the main
  
  page.
  
   It shows 819 although the size is more than 2.
   
   Pedram
   
   On Sun, Mar 14, 2010 at 1:25 AM, yannick yannick.tor...@gmail.com
  
  wrote:
Le Samedi 13 Mars 2010 22:01:33, pedram salehpoor a écrit :
 Well
 A question occurred to me! why my name is not in the translators of

persian

 language and the names that it shows as translators I have never
 seen the files they h
 
 Pedram

This list is extract from translation.xml witch is on the root of the
translated folder.

Make sur you are in ;)

Best,
Yannick


Re: [PHP-DOC] the online documentation editor

2010-03-13 Thread Daniel Convissor
On Sat, Mar 13, 2010 at 04:28:21PM +0100, Hannes Magnusson wrote:
 
 Just install the root cert from http://www.cacert.org

Someone I trust regarding security issues said the following recently 
about doing such:

I note that as of 2009-01-05 evidently CAcert began requiring not just
can you get email but any one of four other checks of identity as
well.  Unfortunately, it doesn't look as if they retired their old
root CA at that time (an issue also raised by Ubuntu).  What that
means is that trusting CAcert's root means trusting a lot of certs
out there that could trivially have been obtained under false
pretenses.  Very bad.


--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409


Re: [PHP-DOC] the online documentation editor

2010-03-12 Thread Yago Ferrer
Hi Yannick,
I did login with my credentials. I cleaned cache as you said and I'm having
the same problem. When you double-click in the file I takes a long time to
try to open it:
(/appendices/ini.xml from Error in current translation) and finally
javascript crashes.

I believe is the function to highlight the code because when I'm opening the
file is halfway highlighted.  Can we have this functionality as an option
that you can activate / deactivate?
Thanks!

On Thu, Mar 11, 2010 at 11:36 PM, yannick yannick.tor...@gmail.com wrote:

 Hi Yago,

 I can't reproduice it.

 Did you login in anonymous or with your VCS credentials ?

 PS: try to clear your browser cache.

 Best,
 Yannick

 Le Vendredi 12 Mars 2010 05:12:33, Yago Ferrer a écrit :
  I can help sending a bug I found.
 
  Browser: Firefox 3.5.8
  OS: Fedora Linux
 
  Error: Javascript crash on:
  http://edit.php.net/js/ux/codemirror/js/codemirror.js:270
 
  How to reproduce it:
  Login as : Php Documentation
  Language: Spanish
 
  Open tab: Error in current translation:
  Open folder: Appendices/
  Double click on ini.xml
 
 
  Yago
 
  On Thu, Mar 11, 2010 at 6:23 PM, Philip Olson phi...@roshambo.org
 wrote:
   Hello everyone,
  
   Before we go public with the online documentation editor, let's all
 make
   a real effort to try it out. Please break it, and please use it the
 next
   time (or three) you make a commit. We don't need test commits (it
 works)
   but real world usage. This applies to both translations and English.
  
   There are a few bug reports and more should exist. Feature requests are
   also encouraged.
  
   The editor is here:
- http://edit.php.net/
  
   Documentation for it:
- http://wiki.php.net/doc/editor/
  
   The source code:
- http://svn.php.net/viewvc/web/doc-editor/trunk/
  
   Notes:
- Anyone (even anonymous) can create patches
- Those with karma can commit their own and other peoples patches
- Please check diffs before commit, as there may be whitespace bugs
- The PEAR manual is also selectable, but choose PHP ;)
  
   Eventually we'll ask the world to create patches using this and who
 knows
   where we'll go from there, but likely a good place.
  
   Regards,
   Philip




-- 
Yago Ferrer


Re: [PHP-DOC] the online documentation editor

2010-03-12 Thread yannick
Le Vendredi 12 Mars 2010 16:44:28, Yago Ferrer a écrit :
 Hi Yannick,
 I did login with my credentials. I cleaned cache as you said and I'm having
 the same problem. When you double-click in the file I takes a long time to
 try to open it:
 (/appendices/ini.xml from Error in current translation) and finally
 javascript crashes.

ini.xml is a big file (more than 5000 lines) and in module Pending Review, 
this file is open twice ;)

 
 I believe is the function to highlight the code because when I'm opening
 the file is halfway highlighted.  Can we have this functionality as an
 option that you can activate / deactivate?

sur it is...
I must investigate if I can activate/deactivate the highlighting. The file is 
open directly into a codemirror component witch handle this. I must if the 
component allow this or not. If I can do, I will propose an option to 
automatically desable highlight if the file is more than 2000 lines, for 
example.

Best,
Yannick

 Thanks!
 
 On Thu, Mar 11, 2010 at 11:36 PM, yannick yannick.tor...@gmail.com wrote:
  Hi Yago,
  
  I can't reproduice it.
  
  Did you login in anonymous or with your VCS credentials ?
  
  PS: try to clear your browser cache.
  
  Best,
  Yannick
  
  Le Vendredi 12 Mars 2010 05:12:33, Yago Ferrer a écrit :
   I can help sending a bug I found.
   
   Browser: Firefox 3.5.8
   OS: Fedora Linux
   
   Error: Javascript crash on:
   http://edit.php.net/js/ux/codemirror/js/codemirror.js:270
   
   How to reproduce it:
   Login as : Php Documentation
   Language: Spanish
   
   Open tab: Error in current translation:
   Open folder: Appendices/
   Double click on ini.xml
   
   
   Yago
   
   On Thu, Mar 11, 2010 at 6:23 PM, Philip Olson phi...@roshambo.org
  
  wrote:
Hello everyone,

Before we go public with the online documentation editor, let's all
  
  make
  
a real effort to try it out. Please break it, and please use it the
  
  next
  
time (or three) you make a commit. We don't need test commits (it
  
  works)
  
but real world usage. This applies to both translations and English.

There are a few bug reports and more should exist. Feature requests
are also encouraged.

The editor is here:
 - http://edit.php.net/

Documentation for it:
 - http://wiki.php.net/doc/editor/

The source code:
 - http://svn.php.net/viewvc/web/doc-editor/trunk/

Notes:
 - Anyone (even anonymous) can create patches
 - Those with karma can commit their own and other peoples patches
 - Please check diffs before commit, as there may be whitespace bugs
 - The PEAR manual is also selectable, but choose PHP ;)

Eventually we'll ask the world to create patches using this and who
  
  knows
  
where we'll go from there, but likely a good place.

Regards,
Philip


Re: [PHP-DOC] the online documentation editor

2010-03-12 Thread Yago Ferrer
Sounds good.

Here another bug:

Login as : Php Documentation
Language: Spanish
Files Need Update - double click in urldecode.xml
and I click on 'Diff From VCS' the box that drops down is empty...

It should show the differences between rev. 296092 and rev. 288721 of the
English version so I can copy an translate the changes. right?

Thanks


On Fri, Mar 12, 2010 at 9:36 AM, yannick yannick.tor...@gmail.com wrote:

 Le Vendredi 12 Mars 2010 16:44:28, Yago Ferrer a écrit :
  Hi Yannick,
  I did login with my credentials. I cleaned cache as you said and I'm
 having
  the same problem. When you double-click in the file I takes a long time
 to
  try to open it:
  (/appendices/ini.xml from Error in current translation) and finally
  javascript crashes.

 ini.xml is a big file (more than 5000 lines) and in module Pending
 Review,
 this file is open twice ;)

 
  I believe is the function to highlight the code because when I'm opening
  the file is halfway highlighted.  Can we have this functionality as an
  option that you can activate / deactivate?

 sur it is...
 I must investigate if I can activate/deactivate the highlighting. The file
 is
 open directly into a codemirror component witch handle this. I must if the
 component allow this or not. If I can do, I will propose an option to
 automatically desable highlight if the file is more than 2000 lines, for
 example.

 Best,
 Yannick

  Thanks!
 
  On Thu, Mar 11, 2010 at 11:36 PM, yannick yannick.tor...@gmail.com
 wrote:
   Hi Yago,
  
   I can't reproduice it.
  
   Did you login in anonymous or with your VCS credentials ?
  
   PS: try to clear your browser cache.
  
   Best,
   Yannick
  
   Le Vendredi 12 Mars 2010 05:12:33, Yago Ferrer a écrit :
I can help sending a bug I found.
   
Browser: Firefox 3.5.8
OS: Fedora Linux
   
Error: Javascript crash on:
http://edit.php.net/js/ux/codemirror/js/codemirror.js:270
   
How to reproduce it:
Login as : Php Documentation
Language: Spanish
   
Open tab: Error in current translation:
Open folder: Appendices/
Double click on ini.xml
   
   
Yago
   
On Thu, Mar 11, 2010 at 6:23 PM, Philip Olson phi...@roshambo.org
  
   wrote:
 Hello everyone,

 Before we go public with the online documentation editor, let's all
  
   make
  
 a real effort to try it out. Please break it, and please use it the
  
   next
  
 time (or three) you make a commit. We don't need test commits (it
  
   works)
  
 but real world usage. This applies to both translations and
 English.

 There are a few bug reports and more should exist. Feature requests
 are also encouraged.

 The editor is here:
  - http://edit.php.net/

 Documentation for it:
  - http://wiki.php.net/doc/editor/

 The source code:
  - http://svn.php.net/viewvc/web/doc-editor/trunk/

 Notes:
  - Anyone (even anonymous) can create patches
  - Those with karma can commit their own and other peoples patches
  - Please check diffs before commit, as there may be whitespace
 bugs
  - The PEAR manual is also selectable, but choose PHP ;)

 Eventually we'll ask the world to create patches using this and who
  
   knows
  
 where we'll go from there, but likely a good place.

 Regards,
 Philip




-- 
Yago Ferrer


Re: [PHP-DOC] the online documentation editor

2010-03-12 Thread Philip Olson
Hi all,

Just a small note. SSL has been setup, so the new link:

  - https://edit.php.net/

The old links will redirect here but... have fun! :)

Regards,
Philip



Re: [PHP-DOC] the online documentation editor

2010-03-12 Thread yannick
Le Vendredi 12 Mars 2010 20:46:23, Yago Ferrer a écrit :
 Sounds good.
 
 Here another bug:
 
 Login as : Php Documentation
 Language: Spanish
 Files Need Update - double click in urldecode.xml
 and I click on 'Diff From VCS' the box that drops down is empty...
 
 It should show the differences between rev. 296092 and rev. 288721 of the
 English version so I can copy an translate the changes. right?

you're right.

Try to resize this panel. Just login-in and this panel is by default too small 
to see anythings. You can resize it easly or go to config window and set a 
correct height for it.

 
 Thanks
 
 On Fri, Mar 12, 2010 at 9:36 AM, yannick yannick.tor...@gmail.com wrote:
  Le Vendredi 12 Mars 2010 16:44:28, Yago Ferrer a écrit :
   Hi Yannick,
   I did login with my credentials. I cleaned cache as you said and I'm
  
  having
  
   the same problem. When you double-click in the file I takes a long time
  
  to
  
   try to open it:
   (/appendices/ini.xml from Error in current translation) and finally
   javascript crashes.
  
  ini.xml is a big file (more than 5000 lines) and in module Pending
  Review,
  this file is open twice ;)
  
   I believe is the function to highlight the code because when I'm
   opening the file is halfway highlighted.  Can we have this
   functionality as an option that you can activate / deactivate?
  
  sur it is...
  I must investigate if I can activate/deactivate the highlighting. The
  file is
  open directly into a codemirror component witch handle this. I must if
  the component allow this or not. If I can do, I will propose an option
  to automatically desable highlight if the file is more than 2000 lines,
  for example.
  
  Best,
  Yannick
  
   Thanks!
   
   On Thu, Mar 11, 2010 at 11:36 PM, yannick yannick.tor...@gmail.com
  
  wrote:
Hi Yago,

I can't reproduice it.

Did you login in anonymous or with your VCS credentials ?

PS: try to clear your browser cache.

Best,
Yannick

Le Vendredi 12 Mars 2010 05:12:33, Yago Ferrer a écrit :
 I can help sending a bug I found.
 
 Browser: Firefox 3.5.8
 OS: Fedora Linux
 
 Error: Javascript crash on:
 http://edit.php.net/js/ux/codemirror/js/codemirror.js:270
 
 How to reproduce it:
 Login as : Php Documentation
 Language: Spanish
 
 Open tab: Error in current translation:
 Open folder: Appendices/
 Double click on ini.xml
 
 
 Yago
 
 On Thu, Mar 11, 2010 at 6:23 PM, Philip Olson phi...@roshambo.org

wrote:
  Hello everyone,
  
  Before we go public with the online documentation editor, let's
  all

make

  a real effort to try it out. Please break it, and please use it
  the

next

  time (or three) you make a commit. We don't need test commits (it

works)

  but real world usage. This applies to both translations and
  
  English.
  
  There are a few bug reports and more should exist. Feature
  requests are also encouraged.
  
  The editor is here:
   - http://edit.php.net/
  
  Documentation for it:
   - http://wiki.php.net/doc/editor/
  
  The source code:
   - http://svn.php.net/viewvc/web/doc-editor/trunk/
  
  Notes:
   - Anyone (even anonymous) can create patches
   - Those with karma can commit their own and other peoples
   patches - Please check diffs before commit, as there may be
   whitespace
  
  bugs
  
   - The PEAR manual is also selectable, but choose PHP ;)
  
  Eventually we'll ask the world to create patches using this and
  who

knows

  where we'll go from there, but likely a good place.
  
  Regards,
  Philip


Re: [PHP-DOC] the online documentation editor

2010-03-12 Thread Yago Ferrer
h I see... It was hard to find!

It will be nice if it expands the panel when you double click.

On Fri, Mar 12, 2010 at 4:29 PM, yannick yannick.tor...@gmail.com wrote:

 Le Vendredi 12 Mars 2010 20:46:23, Yago Ferrer a écrit :
  Sounds good.
 
  Here another bug:
 
  Login as : Php Documentation
  Language: Spanish
  Files Need Update - double click in urldecode.xml
  and I click on 'Diff From VCS' the box that drops down is empty...
 
  It should show the differences between rev. 296092 and rev. 288721 of the
  English version so I can copy an translate the changes. right?

 you're right.

 Try to resize this panel. Just login-in and this panel is by default too
 small
 to see anythings. You can resize it easly or go to config window and set a
 correct height for it.

 
  Thanks
 
  On Fri, Mar 12, 2010 at 9:36 AM, yannick yannick.tor...@gmail.com
 wrote:
   Le Vendredi 12 Mars 2010 16:44:28, Yago Ferrer a écrit :
Hi Yannick,
I did login with my credentials. I cleaned cache as you said and I'm
  
   having
  
the same problem. When you double-click in the file I takes a long
 time
  
   to
  
try to open it:
(/appendices/ini.xml from Error in current translation) and finally
javascript crashes.
  
   ini.xml is a big file (more than 5000 lines) and in module Pending
   Review,
   this file is open twice ;)
  
I believe is the function to highlight the code because when I'm
opening the file is halfway highlighted.  Can we have this
functionality as an option that you can activate / deactivate?
  
   sur it is...
   I must investigate if I can activate/deactivate the highlighting. The
   file is
   open directly into a codemirror component witch handle this. I must if
   the component allow this or not. If I can do, I will propose an option
   to automatically desable highlight if the file is more than 2000 lines,
   for example.
  
   Best,
   Yannick
  
Thanks!
   
On Thu, Mar 11, 2010 at 11:36 PM, yannick yannick.tor...@gmail.com
  
   wrote:
 Hi Yago,

 I can't reproduice it.

 Did you login in anonymous or with your VCS credentials ?

 PS: try to clear your browser cache.

 Best,
 Yannick

 Le Vendredi 12 Mars 2010 05:12:33, Yago Ferrer a écrit :
  I can help sending a bug I found.
 
  Browser: Firefox 3.5.8
  OS: Fedora Linux
 
  Error: Javascript crash on:
  http://edit.php.net/js/ux/codemirror/js/codemirror.js:270
 
  How to reproduce it:
  Login as : Php Documentation
  Language: Spanish
 
  Open tab: Error in current translation:
  Open folder: Appendices/
  Double click on ini.xml
 
 
  Yago
 
  On Thu, Mar 11, 2010 at 6:23 PM, Philip Olson 
 phi...@roshambo.org

 wrote:
   Hello everyone,
  
   Before we go public with the online documentation editor, let's
   all

 make

   a real effort to try it out. Please break it, and please use it
   the

 next

   time (or three) you make a commit. We don't need test commits
 (it

 works)

   but real world usage. This applies to both translations and
  
   English.
  
   There are a few bug reports and more should exist. Feature
   requests are also encouraged.
  
   The editor is here:
- http://edit.php.net/
  
   Documentation for it:
- http://wiki.php.net/doc/editor/
  
   The source code:
- http://svn.php.net/viewvc/web/doc-editor/trunk/
  
   Notes:
- Anyone (even anonymous) can create patches
- Those with karma can commit their own and other peoples
patches - Please check diffs before commit, as there may be
whitespace
  
   bugs
  
- The PEAR manual is also selectable, but choose PHP ;)
  
   Eventually we'll ask the world to create patches using this and
   who

 knows

   where we'll go from there, but likely a good place.
  
   Regards,
   Philip




-- 
Yago Ferrer


Re: [PHP-DOC] the online documentation editor

2010-03-12 Thread Yago Ferrer
Here another bug:

You can't reproduce it unless you are using another file.

Login as : Php Documentation.
Language: Spanish
Files Need Update - /reference/image/functions/imagerotate.xml. double
click.
I did the changes using the editor from rev. 293274 to the rev. 296120 in
the Spanish version.
I committed the file and a empty box appeared (it normally shows the
revision number) with the title: Status. and I clicked Ok.
I never got an E-Mail with the DIFF and when I did an SVN update from my
local computer nothing new listed.
The file disappeared from 'Files Need Updated and from 'Pending from
Commit'.

If you now open the file from 'all files' you can see that the changes are
there: last revision: 296120
but is the only place where you can see these changes. Something weird
happened.

Yago

 and I click on 'Diff From VCS' the box that drops down is empty...


[PHP-DOC] the online documentation editor

2010-03-11 Thread Philip Olson
Hello everyone,

Before we go public with the online documentation editor, let's all make a real 
effort to try it out. Please break it, and please use it the next time (or 
three) you make a commit. We don't need test commits (it works) but real world 
usage. This applies to both translations and English. 

There are a few bug reports and more should exist. Feature requests are also 
encouraged.

The editor is here:
 - http://edit.php.net/

Documentation for it:
 - http://wiki.php.net/doc/editor/

The source code:
 - http://svn.php.net/viewvc/web/doc-editor/trunk/

Notes:
 - Anyone (even anonymous) can create patches
 - Those with karma can commit their own and other peoples patches
 - Please check diffs before commit, as there may be whitespace bugs
 - The PEAR manual is also selectable, but choose PHP ;)

Eventually we'll ask the world to create patches using this and who knows where 
we'll go from there, but likely a good place.

Regards,
Philip




Re: [PHP-DOC] the online documentation editor

2010-03-11 Thread Yago Ferrer
I can help sending a bug I found.

Browser: Firefox 3.5.8
OS: Fedora Linux

Error: Javascript crash on:
http://edit.php.net/js/ux/codemirror/js/codemirror.js:270

How to reproduce it:
Login as : Php Documentation
Language: Spanish

Open tab: Error in current translation:
Open folder: Appendices/
Double click on ini.xml


Yago


On Thu, Mar 11, 2010 at 6:23 PM, Philip Olson phi...@roshambo.org wrote:

 Hello everyone,

 Before we go public with the online documentation editor, let's all make a
 real effort to try it out. Please break it, and please use it the next time
 (or three) you make a commit. We don't need test commits (it works) but real
 world usage. This applies to both translations and English.

 There are a few bug reports and more should exist. Feature requests are
 also encouraged.

 The editor is here:
  - http://edit.php.net/

 Documentation for it:
  - http://wiki.php.net/doc/editor/

 The source code:
  - http://svn.php.net/viewvc/web/doc-editor/trunk/

 Notes:
  - Anyone (even anonymous) can create patches
  - Those with karma can commit their own and other peoples patches
  - Please check diffs before commit, as there may be whitespace bugs
  - The PEAR manual is also selectable, but choose PHP ;)

 Eventually we'll ask the world to create patches using this and who knows
 where we'll go from there, but likely a good place.

 Regards,
 Philip





-- 
Yago Ferrer


Re: [PHP-DOC] the online documentation editor

2010-03-11 Thread yannick
Hi Yago,

I can't reproduice it.

Did you login in anonymous or with your VCS credentials ?

PS: try to clear your browser cache.

Best,
Yannick

Le Vendredi 12 Mars 2010 05:12:33, Yago Ferrer a écrit :
 I can help sending a bug I found.
 
 Browser: Firefox 3.5.8
 OS: Fedora Linux
 
 Error: Javascript crash on:
 http://edit.php.net/js/ux/codemirror/js/codemirror.js:270
 
 How to reproduce it:
 Login as : Php Documentation
 Language: Spanish
 
 Open tab: Error in current translation:
 Open folder: Appendices/
 Double click on ini.xml
 
 
 Yago
 
 On Thu, Mar 11, 2010 at 6:23 PM, Philip Olson phi...@roshambo.org wrote:
  Hello everyone,
  
  Before we go public with the online documentation editor, let's all make
  a real effort to try it out. Please break it, and please use it the next
  time (or three) you make a commit. We don't need test commits (it works)
  but real world usage. This applies to both translations and English.
  
  There are a few bug reports and more should exist. Feature requests are
  also encouraged.
  
  The editor is here:
   - http://edit.php.net/
  
  Documentation for it:
   - http://wiki.php.net/doc/editor/
  
  The source code:
   - http://svn.php.net/viewvc/web/doc-editor/trunk/
  
  Notes:
   - Anyone (even anonymous) can create patches
   - Those with karma can commit their own and other peoples patches
   - Please check diffs before commit, as there may be whitespace bugs
   - The PEAR manual is also selectable, but choose PHP ;)
  
  Eventually we'll ask the world to create patches using this and who knows
  where we'll go from there, but likely a good place.
  
  Regards,
  Philip