[web2py] Re: My editor ...

2010-08-26 Thread Skiros
GREAT Job Stef !!!

and don´t worry, do it at your own time, is no need to hurry.


On 24 ago, 08:39, Stef Mientki stef.mien...@gmail.com wrote:
  On 24-08-2010 07:05, Johan wrote: Is it possible to post a free version of 
 this _as it is_ ?
  Some of us my find it very useful.
  Or even, a version without the wysiwyg, if that's the problem.

 I'll do my best and will try to make a first alfa release by the end of the 
 week.

 cheers,
 Stef


Re: [web2py] Re: My editor ...

2010-08-24 Thread Stef Mientki
 On 24-08-2010 07:05, Johan wrote:
 Is it possible to post a free version of this _as it is_ ?
 Some of us my find it very useful.
 Or even, a version without the wysiwyg, if that's the problem.
I'll do my best and will try to make a first alfa release by the end of the 
week.

cheers,
Stef


[web2py] Re: My editor ...

2010-08-23 Thread Johan
Is it possible to post a free version of this _as it is_ ?
Some of us my find it very useful.
Or even, a version without the wysiwyg, if that's the problem.


Re: [web2py] Re: My editor ...

2010-08-21 Thread Stef Mientki
 On 21-08-2010 02:01, Michele Comitini wrote:
 pyQt:

 http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtextedit.html
 http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qwebpage.html#details
switching from wxPython to QT is not an easy task,
and it's not possible for me,
because I'm not acquainted with QT.
btw QT has a weird license, you have to decide on forehand if your application 
is commercial or free.

 Also wxPython:
 http://docs.wxwidgets.org/stable/wx_wxview.html#wxview

don't know wxview, it's not included in the standard wxPython.
If my guess about who the author is, is right, this will take quit some time to 
be practical usefull.

thanks anyway for the suggestions.
cheers,
Stef


Re: [web2py] Re: My editor ...

2010-08-21 Thread Stef Mientki
 On 21-08-2010 04:31, mdipierro wrote:
 Anyway... some food for thought... the paned windows can be achieved
 with jQuery UI plugins. The auto completion features can be provided
 by the Amy Editor (which is already in web2py admin but disabled
 because not supported by all browsers).

 Long term it would be nice to port what Stef has done to the browser.
fully agree,
only advantages.
 Investing time to redo it Qt may not be the best course of action if
yes, it would be quit an investment.
To give you an impression of my efforts until now,
the whole code I wrote is just 12 pages large,
so that would be about 12*50 = 600 lines of code,
and the estimated time investment is about 40 - 60 hours, half of it to make 
changes some small
changes to my libraries

cheers,
Stef
 we could make if fully web based.

 Massimo




Re: [web2py] Re: My editor ...

2010-08-21 Thread Jason Brower
The QT licence can be gpl or lgpl. But it's free rest assured.

- Original message -
   On 21-08-2010 02:01, Michele Comitini wrote:
  pyQt:
  
  http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtextedit.html
  http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qwebpage.html#details
 switching from wxPython to QT is not an easy task,
 and it's not possible for me,
 because I'm not acquainted with QT.
 btw QT has a weird license, you have to decide on forehand if your
 application is commercial or free.
 
  Also wxPython:
  http://docs.wxwidgets.org/stable/wx_wxview.html#wxview
  
 don't know wxview, it's not included in the standard wxPython.
 If my guess about who the author is, is right, this will take quit some
 time to be practical usefull.
 
 thanks anyway for the suggestions.
 cheers,
 Stef



Re: [web2py] Re: My editor ...

2010-08-21 Thread Stef Mientki
 On 21-08-2010 06:47, Jason Brower wrote:
 As much as I agree I don't.  I feel there are a lot of features we could
 implement in an editor built for Web2Py.  I would love to see features
 like the following:
 When in a method I can press a key and my browser (or the one built in)
 would jump to that page.
did you see the movie,
unless I misunderstand you it's there.
 Debug and stepping tools. (They exist, but they would be weird in a
 browser.)
Good point, did you see the buttons Bps,
it stands for Breakpoints.
But I've no idea yet how to make this work ;-)
 Live session and variable information. (It would be nice to see what
 users session information is at any moment without having to print it.
Good point,
no idea to implement that,
but I guess this should be in the browser server part ??
 A file browser that devides only the models, views, and controllers in a
 nice way.
you didn't like the tree division ?
 Graphical representation of links or pages that don't get linked to.
yep, but I guess this can only be done in the server / browser part
or maybe not ?

thanks for your input,
cheers,
Stef


Re: [web2py] Re: My editor ...

2010-08-21 Thread Stef Mientki

 Graphical representation of links or pages that don't get linked to.
I tried to test the links (with 2 algorithms, code below) in a generated 
webpage, but the result I
get are very weird.
Probably one you knows a better way ?

cheers,
Stef


from BeautifulSoup import BeautifulSoup
from urllibimport urlopen
from httplib   import HTTP
from urlparse  import urlparse

def Check_URL_1 ( URL ) :
  try:
fh = urlopen ( URL )
return fh.code == 200
  except :
return False

def Check_URL_2 ( URL ) :
  p = urlparse ( URL )
  h = HTTP ( p[1] )
  h.putrequest ( 'HEAD', p[2] )
  h.endheaders()
  if h.getreply()[0] == 200:
return True
  else:
return False

def Verify_Links ( URL ) :
  Parts   = URL.split('/')
  Site= '/'.join ( Parts [:3] )
  Current = '/'.join ( Parts [:-1] )

  fh = urlopen ( URL )
  lines = fh.read ()
  fh.close()

  Soup = BeautifulSoup ( lines )
  hrefs = lines = Soup.findAll ( 'a' )

  for href in hrefs :
href = href [ 'href' ] #[:-1] ## == remove # to generate all errors

if href.startswith ( '/' ) :
  href = Site + href
elif href.startswith ('#' ) :
  href = URL + href
elif href.startswith ( 'http' ) :
  pass
else :
  href = Current + href

try:
  fh = urllib.urlopen ( href )
except :
  pass
print Check_URL_1 ( href ), Check_URL_2 ( href ), href

URL = 'http://127.0.0.1:8000/welcome/default/index'
fh = Verify_Links ( URL )


[web2py] Re: My editor ...

2010-08-21 Thread mdipierro
what do you find that is strange?

On Aug 21, 7:32 am, Stef Mientki stef.mien...@gmail.com wrote:
  Graphical representation of links or pages that don't get linked to.

 I tried to test the links (with 2 algorithms, code below) in a generated 
 webpage, but the result I
 get are very weird.
 Probably one you knows a better way ?

 cheers,
 Stef

 from BeautifulSoup import BeautifulSoup
 from urllib        import urlopen
 from httplib       import HTTP
 from urlparse      import urlparse

 def Check_URL_1 ( URL ) :
   try:
     fh = urlopen ( URL )
     return fh.code == 200
   except :
     return False

 def Check_URL_2 ( URL ) :
   p = urlparse ( URL )
   h = HTTP ( p[1] )
   h.putrequest ( 'HEAD', p[2] )
   h.endheaders()
   if h.getreply()[0] == 200:
     return True
   else:
     return False

 def Verify_Links ( URL ) :
   Parts   = URL.split('/')
   Site    = '/'.join ( Parts [:3] )
   Current = '/'.join ( Parts [:-1] )

   fh = urlopen ( URL )
   lines = fh.read ()
   fh.close()

   Soup = BeautifulSoup ( lines )
   hrefs = lines = Soup.findAll ( 'a' )

   for href in hrefs :
     href = href [ 'href' ] #[:-1]     ## == remove # to generate all errors

     if href.startswith ( '/' ) :
       href = Site + href
     elif href.startswith ('#' ) :
       href = URL + href
     elif href.startswith ( 'http' ) :
       pass
     else :
       href = Current + href

     try:
       fh = urllib.urlopen ( href )
     except :
       pass
     print Check_URL_1 ( href ), Check_URL_2 ( href ), href

 URL = 'http://127.0.0.1:8000/welcome/default/index'
 fh = Verify_Links ( URL )


Re: [web2py] Re: My editor ...

2010-08-21 Thread Stef Mientki
 On 21-08-2010 14:46, mdipierro wrote:

 what do you find that is strange?
This is the result with the last letter removed, so all links should give an 
error,
but they differ with the 2 methods,
and some of them produce 200, while they are definitely wrong
404 500 http://127.0.0.1:8000/welcome/default/user/logi
404 500 http://127.0.0.1:8000/welcome/default/user/registe
404 500 http://127.0.0.1:8000/welcome/default/user/request_reset_passwor
200 500 http://127.0.0.1:8000/welcome/default
400 500 http://127.0.0.1:8000/welcome/default/inde
200 500 http://127.0.0.1:8000/admin/default/design/welcom
200 500 http://127.0.0.1:8000/admin/default/edit/welcome/controllers/default.p
200 500 http://127.0.0.1:8000/admin/default/edit/welcome/views/default/index.htm
200 500 http://127.0.0.1:8000/admin/default/edit/welcome/views/layout.htm
200 500 http://127.0.0.1:8000/admin/default/edit/welcome/static/base.cs
200 500 http://127.0.0.1:8000/admin/default/edit/welcome/models/db.p
200 500 http://127.0.0.1:8000/admin/default/edit/welcome/models/menu.p
400 500 http://127.0.0.1:8000/welcome/appadmin/inde
200 500 http://127.0.0.1:8000/admin/default/inde
400 400 http://127.0.0.1:8000/examples/default/inde
200 -1 http://web2py.co
400 400 http://web2py.com/boo
400 500 http://127.0.0.1:8000/welcome/default/inde
200 500 http://127.0.0.1:8000/welcome/default
200 500 http://127.0.0.1:8000/admin/default/peek/welcome/controllers/default.p
200 500 http://127.0.0.1:8000/admin/default/peek/welcome/views/default/index.htm
200 -1 http://www.web2py.co

This is the normal result
200 500 http://127.0.0.1:8000/welcome/default/user/login
200 500 http://127.0.0.1:8000/welcome/default/user/register
200 500 http://127.0.0.1:8000/welcome/default/user/request_reset_password
200 500 http://127.0.0.1:8000/welcome/default
200 500 http://127.0.0.1:8000/welcome/default/index
200 500 http://127.0.0.1:8000/admin/default/design/welcome
200 500 http://127.0.0.1:8000/admin/default/edit/welcome/controllers/default.py
200 500 
http://127.0.0.1:8000/admin/default/edit/welcome/views/default/index.html
200 500 http://127.0.0.1:8000/admin/default/edit/welcome/views/layout.html
200 500 http://127.0.0.1:8000/admin/default/edit/welcome/static/base.css
200 500 http://127.0.0.1:8000/admin/default/edit/welcome/models/db.py
200 500 http://127.0.0.1:8000/admin/default/edit/welcome/models/menu.py
200 500 http://127.0.0.1:8000/welcome/appadmin/index
200 500 http://127.0.0.1:8000/admin/default/index
200 200 http://127.0.0.1:8000/examples/default/index
200 200 http://web2py.com
200 500 http://web2py.com/book
200 500 http://127.0.0.1:8000/welcome/default/index
400 500 http://127.0.0.1:8000/welcome/default/index#
200 500 http://127.0.0.1:8000/admin/default/peek/welcome/controllers/default.py
200 500 
http://127.0.0.1:8000/admin/default/peek/welcome/views/default/index.html
200 200 http://www.web2py.com

So when is a URL valid ?

thanks,
Stef
 On Aug 21, 7:32 am, Stef Mientki stef.mien...@gmail.com wrote:
 Graphical representation of links or pages that don't get linked to.
 I tried to test the links (with 2 algorithms, code below) in a generated 
 webpage, but the result I
 get are very weird.
 Probably one you knows a better way ?

 cheers,
 Stef

 from BeautifulSoup import BeautifulSoup
 from urllibimport urlopen
 from httplib   import HTTP
 from urlparse  import urlparse

 def Check_URL_1 ( URL ) :
   try:
 fh = urlopen ( URL )
 return fh.code == 200
   except :
 return False

 def Check_URL_2 ( URL ) :
   p = urlparse ( URL )
   h = HTTP ( p[1] )
   h.putrequest ( 'HEAD', p[2] )
   h.endheaders()
   if h.getreply()[0] == 200:
 return True
   else:
 return False

 def Verify_Links ( URL ) :
   Parts   = URL.split('/')
   Site= '/'.join ( Parts [:3] )
   Current = '/'.join ( Parts [:-1] )

   fh = urlopen ( URL )
   lines = fh.read ()
   fh.close()

   Soup = BeautifulSoup ( lines )
   hrefs = lines = Soup.findAll ( 'a' )

   for href in hrefs :
 href = href [ 'href' ] #[:-1] ## == remove # to generate all 
 errors

 if href.startswith ( '/' ) :
   href = Site + href
 elif href.startswith ('#' ) :
   href = URL + href
 elif href.startswith ( 'http' ) :
   pass
 else :
   href = Current + href

 try:
   fh = urllib.urlopen ( href )
 except :
   pass
 print Check_URL_1 ( href ), Check_URL_2 ( href ), href

 URL = 'http://127.0.0.1:8000/welcome/default/index'
 fh = Verify_Links ( URL )



[web2py] Re: My editor ...

2010-08-21 Thread mdipierro
why are the urls in the first set truncated?

On Aug 21, 8:07 am, Stef Mientki stef.mien...@gmail.com wrote:
  On 21-08-2010 14:46, mdipierro wrote:

  what do you find that is strange?

 This is the result with the last letter removed, so all links should give an 
 error,
 but they differ with the 2 methods,
 and some of them produce 200, while they are definitely wrong
 404 500http://127.0.0.1:8000/welcome/default/user/logi
 404 500http://127.0.0.1:8000/welcome/default/user/registe
 404 500http://127.0.0.1:8000/welcome/default/user/request_reset_passwor
 200 500http://127.0.0.1:8000/welcome/default
 400 500http://127.0.0.1:8000/welcome/default/inde
 200 500http://127.0.0.1:8000/admin/default/design/welcom
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/controllers/default.p
 200 
 500http://127.0.0.1:8000/admin/default/edit/welcome/views/default/index.htm
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/views/layout.htm
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/static/base.cs
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/models/db.p
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/models/menu.p
 400 500http://127.0.0.1:8000/welcome/appadmin/inde
 200 500http://127.0.0.1:8000/admin/default/inde
 400 400http://127.0.0.1:8000/examples/default/inde
 200 -1http://web2py.co
 400 400http://web2py.com/boo
 400 500http://127.0.0.1:8000/welcome/default/inde
 200 500http://127.0.0.1:8000/welcome/default
 200 500http://127.0.0.1:8000/admin/default/peek/welcome/controllers/default.p
 200 
 500http://127.0.0.1:8000/admin/default/peek/welcome/views/default/index.htm
 200 -1http://www.web2py.co

 This is the normal result
 200 500http://127.0.0.1:8000/welcome/default/user/login
 200 500http://127.0.0.1:8000/welcome/default/user/register
 200 500http://127.0.0.1:8000/welcome/default/user/request_reset_password
 200 500http://127.0.0.1:8000/welcome/default
 200 500http://127.0.0.1:8000/welcome/default/index
 200 500http://127.0.0.1:8000/admin/default/design/welcome
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/controllers/default.py
 200 
 500http://127.0.0.1:8000/admin/default/edit/welcome/views/default/index
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/views/layout.html
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/static/base.css
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/models/db.py
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/models/menu.py
 200 500http://127.0.0.1:8000/welcome/appadmin/index
 200 500http://127.0.0.1:8000/admin/default/index
 200 200http://127.0.0.1:8000/examples/default/index
 200 200http://web2py.com
 200 500http://web2py.com/book
 200 500http://127.0.0.1:8000/welcome/default/index
 400 500http://127.0.0.1:8000/welcome/default/index#
 200 500http://127.0.0.1:8000/admin/default/peek/welcome/controllers/default.py
 200 
 500http://127.0.0.1:8000/admin/default/peek/welcome/views/default/index
 200 200http://www.web2py.com

 So when is a URL valid ?

 thanks,
 Stef

  On Aug 21, 7:32 am, Stef Mientki stef.mien...@gmail.com wrote:
  Graphical representation of links or pages that don't get linked to.
  I tried to test the links (with 2 algorithms, code below) in a generated 
  webpage, but the result I
  get are very weird.
  Probably one you knows a better way ?

  cheers,
  Stef

  from BeautifulSoup import BeautifulSoup
  from urllib        import urlopen
  from httplib       import HTTP
  from urlparse      import urlparse

  def Check_URL_1 ( URL ) :
    try:
      fh = urlopen ( URL )
      return fh.code == 200
    except :
      return False

  def Check_URL_2 ( URL ) :
    p = urlparse ( URL )
    h = HTTP ( p[1] )
    h.putrequest ( 'HEAD', p[2] )
    h.endheaders()
    if h.getreply()[0] == 200:
      return True
    else:
      return False

  def Verify_Links ( URL ) :
    Parts   = URL.split('/')
    Site    = '/'.join ( Parts [:3] )
    Current = '/'.join ( Parts [:-1] )

    fh = urlopen ( URL )
    lines = fh.read ()
    fh.close()

    Soup = BeautifulSoup ( lines )
    hrefs = lines = Soup.findAll ( 'a' )

    for href in hrefs :
      href = href [ 'href' ] #[:-1]     ## == remove # to generate all 
  errors

      if href.startswith ( '/' ) :
        href = Site + href
      elif href.startswith ('#' ) :
        href = URL + href
      elif href.startswith ( 'http' ) :
        pass
      else :
        href = Current + href

      try:
        fh = urllib.urlopen ( href )
      except :
        pass
      print Check_URL_1 ( href ), Check_URL_2 ( href ), href

  URL = 'http://127.0.0.1:8000/welcome/default/index'
  fh = Verify_Links ( URL )


Re: [web2py] Re: My editor ...

2010-08-21 Thread Stef Mientki
 On 21-08-2010 15:26, mdipierro wrote:
 why are the urls in the first set truncated?
to create deliberately an error ;-)

cheers,
Stef


[web2py] Re: My editor ...

2010-08-21 Thread Martin.Mulone
I think is making an example, stef want to demostrate that web2py is
returning 200 instead of 400. Is this a bug?

On 21 ago, 10:26, mdipierro mdipie...@cs.depaul.edu wrote:
 why are the urls in the first set truncated?

 On Aug 21, 8:07 am, Stef Mientki stef.mien...@gmail.com wrote:



   On 21-08-2010 14:46, mdipierro wrote:

   what do you find that is strange?

  This is the result with the last letter removed, so all links should give 
  an error,
  but they differ with the 2 methods,
  and some of them produce 200, while they are definitely wrong
  404 500http://127.0.0.1:8000/welcome/default/user/logi
  404 500http://127.0.0.1:8000/welcome/default/user/registe
  404 500http://127.0.0.1:8000/welcome/default/user/request_reset_passwor
  200 500http://127.0.0.1:8000/welcome/default
  400 500http://127.0.0.1:8000/welcome/default/inde
  200 500http://127.0.0.1:8000/admin/default/design/welcom
  200 
  500http://127.0.0.1:8000/admin/default/edit/welcome/controllers/default.p
  200 
  500http://127.0.0.1:8000/admin/default/edit/welcome/views/default/index.htm
  200 500http://127.0.0.1:8000/admin/default/edit/welcome/views/layout.htm
  200 500http://127.0.0.1:8000/admin/default/edit/welcome/static/base.cs
  200 500http://127.0.0.1:8000/admin/default/edit/welcome/models/db.p
  200 500http://127.0.0.1:8000/admin/default/edit/welcome/models/menu.p
  400 500http://127.0.0.1:8000/welcome/appadmin/inde
  200 500http://127.0.0.1:8000/admin/default/inde
  400 400http://127.0.0.1:8000/examples/default/inde
  200 -1http://web2py.co
  400 400http://web2py.com/boo
  400 500http://127.0.0.1:8000/welcome/default/inde
  200 500http://127.0.0.1:8000/welcome/default
  200 
  500http://127.0.0.1:8000/admin/default/peek/welcome/controllers/default.p
  200 
  500http://127.0.0.1:8000/admin/default/peek/welcome/views/default/index.htm
  200 -1http://www.web2py.co

  This is the normal result
  200 500http://127.0.0.1:8000/welcome/default/user/login
  200 500http://127.0.0.1:8000/welcome/default/user/register
  200 500http://127.0.0.1:8000/welcome/default/user/request_reset_password
  200 500http://127.0.0.1:8000/welcome/default
  200 500http://127.0.0.1:8000/welcome/default/index
  200 500http://127.0.0.1:8000/admin/default/design/welcome
  200 
  500http://127.0.0.1:8000/admin/default/edit/welcome/controllers/default.py
  200 
  500http://127.0.0.1:8000/admin/default/edit/welcome/views/default/index
  200 500http://127.0.0.1:8000/admin/default/edit/welcome/views/layout.html
  200 500http://127.0.0.1:8000/admin/default/edit/welcome/static/base.css
  200 500http://127.0.0.1:8000/admin/default/edit/welcome/models/db.py
  200 500http://127.0.0.1:8000/admin/default/edit/welcome/models/menu.py
  200 500http://127.0.0.1:8000/welcome/appadmin/index
  200 500http://127.0.0.1:8000/admin/default/index
  200 200http://127.0.0.1:8000/examples/default/index
  200 200http://web2py.com
  200 500http://web2py.com/book
  200 500http://127.0.0.1:8000/welcome/default/index
  400 500http://127.0.0.1:8000/welcome/default/index#
  200 
  500http://127.0.0.1:8000/admin/default/peek/welcome/controllers/default.py
  200 
  500http://127.0.0.1:8000/admin/default/peek/welcome/views/default/index
  200 200http://www.web2py.com

  So when is a URL valid ?

  thanks,
  Stef

   On Aug 21, 7:32 am, Stef Mientki stef.mien...@gmail.com wrote:
   Graphical representation of links or pages that don't get linked to.
   I tried to test the links (with 2 algorithms, code below) in a generated 
   webpage, but the result I
   get are very weird.
   Probably one you knows a better way ?

   cheers,
   Stef

   from BeautifulSoup import BeautifulSoup
   from urllib        import urlopen
   from httplib       import HTTP
   from urlparse      import urlparse

   def Check_URL_1 ( URL ) :
     try:
       fh = urlopen ( URL )
       return fh.code == 200
     except :
       return False

   def Check_URL_2 ( URL ) :
     p = urlparse ( URL )
     h = HTTP ( p[1] )
     h.putrequest ( 'HEAD', p[2] )
     h.endheaders()
     if h.getreply()[0] == 200:
       return True
     else:
       return False

   def Verify_Links ( URL ) :
     Parts   = URL.split('/')
     Site    = '/'.join ( Parts [:3] )
     Current = '/'.join ( Parts [:-1] )

     fh = urlopen ( URL )
     lines = fh.read ()
     fh.close()

     Soup = BeautifulSoup ( lines )
     hrefs = lines = Soup.findAll ( 'a' )

     for href in hrefs :
       href = href [ 'href' ] #[:-1]     ## == remove # to generate all 
   errors

       if href.startswith ( '/' ) :
         href = Site + href
       elif href.startswith ('#' ) :
         href = URL + href
       elif href.startswith ( 'http' ) :
         pass
       else :
         href = Current + href

       try:
         fh = urllib.urlopen ( href )
       except :
         pass
       print Check_URL_1 ( href ), Check_URL_2 ( href ), href

   URL = 'http://127.0.0.1:8000/welcome/default/index'
   fh = Verify_Links ( URL )


[web2py] Re: My editor ...

2010-08-21 Thread Mengu
Yes, Qt license can be GPL or LGPL. PyQt license can be GPL and there
is a price to pay for commercial apps.

On 21 Ağustos, 12:38, Jason Brower encomp...@gmail.com wrote:
 The QT licence can be gpl or lgpl. But it's free rest assured.



 - Original message -
    On 21-08-2010 02:01, Michele Comitini wrote:
   pyQt:

  http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtextedit
  http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qwebpage.h...
  switching from wxPython to QT is not an easy task,
  and it's not possible for me,
  because I'm not acquainted with QT.
  btw QT has a weird license, you have to decide on forehand if your
  application is commercial or free.

   Also wxPython:
  http://docs.wxwidgets.org/stable/wx_wxview.html#wxview

  don't know wxview, it's not included in the standard wxPython.
  If my guess about who the author is, is right, this will take quit some
  time to be practical usefull.

  thanks anyway for the suggestions.
  cheers,
  Stef


[web2py] Re: My editor ...

2010-08-21 Thread mdipierro
There was a problem in trunk that may have caused this. The problem
was with the recent change in URL bahviour. I think I fixed it. Yet I
cannot run your code. I am getting a strange error

fh = urlopen ( URL )
return fh.getcode()
AttributeError: addinfourl instance has no attribute 'getcode'


On Aug 21, 8:07 am, Stef Mientki stef.mien...@gmail.com wrote:
  On 21-08-2010 14:46, mdipierro wrote:

  what do you find that is strange?

 This is the result with the last letter removed, so all links should give an 
 error,
 but they differ with the 2 methods,
 and some of them produce 200, while they are definitely wrong
 404 500http://127.0.0.1:8000/welcome/default/user/logi
 404 500http://127.0.0.1:8000/welcome/default/user/registe
 404 500http://127.0.0.1:8000/welcome/default/user/request_reset_passwor
 200 500http://127.0.0.1:8000/welcome/default
 400 500http://127.0.0.1:8000/welcome/default/inde
 200 500http://127.0.0.1:8000/admin/default/design/welcom
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/controllers/default.p
 200 
 500http://127.0.0.1:8000/admin/default/edit/welcome/views/default/index.htm
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/views/layout.htm
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/static/base.cs
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/models/db.p
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/models/menu.p
 400 500http://127.0.0.1:8000/welcome/appadmin/inde
 200 500http://127.0.0.1:8000/admin/default/inde
 400 400http://127.0.0.1:8000/examples/default/inde
 200 -1http://web2py.co
 400 400http://web2py.com/boo
 400 500http://127.0.0.1:8000/welcome/default/inde
 200 500http://127.0.0.1:8000/welcome/default
 200 500http://127.0.0.1:8000/admin/default/peek/welcome/controllers/default.p
 200 
 500http://127.0.0.1:8000/admin/default/peek/welcome/views/default/index.htm
 200 -1http://www.web2py.co

 This is the normal result
 200 500http://127.0.0.1:8000/welcome/default/user/login
 200 500http://127.0.0.1:8000/welcome/default/user/register
 200 500http://127.0.0.1:8000/welcome/default/user/request_reset_password
 200 500http://127.0.0.1:8000/welcome/default
 200 500http://127.0.0.1:8000/welcome/default/index
 200 500http://127.0.0.1:8000/admin/default/design/welcome
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/controllers/default.py
 200 
 500http://127.0.0.1:8000/admin/default/edit/welcome/views/default/index
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/views/layout.html
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/static/base.css
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/models/db.py
 200 500http://127.0.0.1:8000/admin/default/edit/welcome/models/menu.py
 200 500http://127.0.0.1:8000/welcome/appadmin/index
 200 500http://127.0.0.1:8000/admin/default/index
 200 200http://127.0.0.1:8000/examples/default/index
 200 200http://web2py.com
 200 500http://web2py.com/book
 200 500http://127.0.0.1:8000/welcome/default/index
 400 500http://127.0.0.1:8000/welcome/default/index#
 200 500http://127.0.0.1:8000/admin/default/peek/welcome/controllers/default.py
 200 
 500http://127.0.0.1:8000/admin/default/peek/welcome/views/default/index
 200 200http://www.web2py.com

 So when is a URL valid ?

 thanks,
 Stef

  On Aug 21, 7:32 am, Stef Mientki stef.mien...@gmail.com wrote:
  Graphical representation of links or pages that don't get linked to.
  I tried to test the links (with 2 algorithms, code below) in a generated 
  webpage, but the result I
  get are very weird.
  Probably one you knows a better way ?

  cheers,
  Stef

  from BeautifulSoup import BeautifulSoup
  from urllib        import urlopen
  from httplib       import HTTP
  from urlparse      import urlparse

  def Check_URL_1 ( URL ) :
    try:
      fh = urlopen ( URL )
      return fh.code == 200
    except :
      return False

  def Check_URL_2 ( URL ) :
    p = urlparse ( URL )
    h = HTTP ( p[1] )
    h.putrequest ( 'HEAD', p[2] )
    h.endheaders()
    if h.getreply()[0] == 200:
      return True
    else:
      return False

  def Verify_Links ( URL ) :
    Parts   = URL.split('/')
    Site    = '/'.join ( Parts [:3] )
    Current = '/'.join ( Parts [:-1] )

    fh = urlopen ( URL )
    lines = fh.read ()
    fh.close()

    Soup = BeautifulSoup ( lines )
    hrefs = lines = Soup.findAll ( 'a' )

    for href in hrefs :
      href = href [ 'href' ] #[:-1]     ## == remove # to generate all 
  errors

      if href.startswith ( '/' ) :
        href = Site + href
      elif href.startswith ('#' ) :
        href = URL + href
      elif href.startswith ( 'http' ) :
        pass
      else :
        href = Current + href

      try:
        fh = urllib.urlopen ( href )
      except :
        pass
      print Check_URL_1 ( href ), Check_URL_2 ( href ), href

  URL = 'http://127.0.0.1:8000/welcome/default/index'
  fh = Verify_Links ( URL )


Re: [web2py] Re: My editor ...

2010-08-21 Thread Stef Mientki
 On 21-08-2010 16:29, mdipierro wrote:
 There was a problem in trunk that may have caused this. The problem
 was with the recent change in URL bahviour. I think I fixed it. Yet I
 cannot run your code. I am getting a strange error

 fh = urlopen ( URL )
 return fh.getcode()
 AttributeError: addinfourl instance has no attribute 'getcode'
sorry that's absolutely above my knowledge.
Maybe a different urllib ?
I hope someone else has an idea.

btw, I read in the documentation that's better to use urllib2 instead of urllib 
(don't ask me why ;-)


cheers,
Stef



[web2py] Re: My editor ...

2010-08-21 Thread phipsico
PySide is Python for  QT . is LGPL.
Any of the three (QT -pyside-; GTK -pygtk-; WxWidget -wxPython-) is a
good choice. the most important thing is that you feel comfortable.
I think it is important to remove dependencies from Delphis.
And make sure it's multiplatform.


Re: [web2py] Re: My editor ...

2010-08-20 Thread Stef Mientki
 On 20-08-2010 03:24, dlin wrote:
 It's so cool.
thanks,
 I often use linux  vim.
 But, I think that will let my colleagues happy to work with windows.
 And your slide is also very cool (what's tool you use?)
I used a rather old version of wink:
http://www.debugmode.com/wink/

cheers,
Stef
 On Aug 20, 7:08 am, Stef Mientki stef.mien...@gmail.com wrote:
  On 19-08-2010 23:08, Alexandre Andrade wrote: It's really impressive. So 
 cool.
 thanks.
 it would be nice if it works in linux
 most of it, except the wysiwyg editor should work under linux and over ssh,

 I don't know if it works over ssh (I've no experience with that),
 at this moment it's a desktop application, and I think such a GUI-interface 
 only works (fast enough)
 as a desktop application,
 but I might be mistaken.

 cheers,
 Stef



Re: [web2py] Re: My editor ...

2010-08-20 Thread Stef Mientki
 On 20-08-2010 04:36, dlin wrote:
 Instead of using wx, I suggest to try QT, that's will let it portable,
 and there is solution for webkit+qt.
 That's will let it more portable between windows/linux/mac
AFAIK, webkit is also supported under wxPython, (I'm sure it's for Mac),
and it should also work for Windows and Linux,
but I haven't had the chance to try it out (because I'm anxious to update my 
well working libraries ;-)

cheers,
Stef


[web2py] Re: My editor ...

2010-08-20 Thread mdipierro

 No, and as I use commercial libs, I'm not even allowed to make a dll,
 so I created an exe, which behaves more like a dll than like a exe ;-)

does the license allows you to make an exe but not a dll? Which
libraries are commercial?


[web2py] Re: My editor ...

2010-08-20 Thread Martin.Mulone
in linux gwibber use http://code.google.com/p/pywebkitgtk/, I think
you are right, there is no good way to support windows/linux/mac. Any
chances that you make the movie, in format movie and upload to
youtube?.

On 20 ago, 05:08, Stef Mientki stef.mien...@gmail.com wrote:
  On 20-08-2010 04:36, dlin wrote: Instead of using wx, I suggest to try QT, 
 that's will let it portable,
  and there is solution for webkit+qt.
  That's will let it more portable between windows/linux/mac

 AFAIK, webkit is also supported under wxPython, (I'm sure it's for Mac),
 and it should also work for Windows and Linux,
 but I haven't had the chance to try it out (because I'm anxious to update my 
 well working libraries ;-)

 cheers,
 Stef


Re: [web2py] Re: My editor ...

2010-08-20 Thread Stef Mientki
 On 20-08-2010 12:20, mdipierro wrote:
 No, and as I use commercial libs, I'm not even allowed to make a dll,
 so I created an exe, which behaves more like a dll than like a exe ;-)
 does the license allows you to make an exe but not a dll?
I'm not sure about a DLL, but I meant an ActiveX component which is explictly 
excluded.
  Which
 libraries are commercial?
Again I'm not aware which libs I always use, but at least this one is commercial
http://www.trichview.com/

cheers,
Stef


Re: [web2py] Re: My editor ...

2010-08-20 Thread Stef Mientki
 On 20-08-2010 12:20, mdipierro wrote:
 No, and as I use commercial libs, I'm not even allowed to make a dll,
 so I created an exe, which behaves more like a dll than like a exe ;-)
 does the license allows you to make an exe but not a dll? Which
 libraries are commercial?
forgot to say,
I just tested the windows demo from
http://wxwebkit.wxcommunity.com/index.php?n=Main.Downloads
and although it might miss some features it looks very good.
A quick try to run it from my Python distro, failed :-(

cheers,
Stef


Re: [web2py] Re: My editor ...

2010-08-20 Thread Stef Mientki
 On 20-08-2010 12:54, Martin.Mulone wrote:
 in linux gwibber use http://code.google.com/p/pywebkitgtk/, I think
 you are right, there is no good way to support windows/linux/mac.
I think webkit might be a good replacement.
  Any
 chances that you make the movie, in format movie and upload to
 youtube?.
Sorry, I''ve no youtube converter and my experineces in the past with movie 
converters,
with my past adventures with viedo converters, I don't want to start another 
trial and error session ;-)
cheers,
Stef


Re: [web2py] Re: My editor ...

2010-08-20 Thread Alexandre Andrade
The wysiwyg html editor is a docked Delphi application, so only suited for
windows.

Since Delphi is Pascal language, maybe it can reworked as a Lazarus project

http://www.lazarus.freepascal.org/

2010/8/19 Stef Mientki stef.mien...@gmail.com

  On 19-08-2010 22:24, mdipierro wrote:
  This is impressive.
 thanks
   I would like to distribute this with web2py (under
  contrib with its own license)
  What do you think?
 I feel honored,
 so sounds like a good idea to me.
  What are the prerequisites?
 AFAIK (I always use a very full blown Python version, and I'm totally not
 aware of which parts I'm
 using),
 but the most important things are Python 2.6 and wxPython 2.8.
 The wysiwyg html editor is a docked Delphi application, so only suited for
 windows.
 For Mac and Linux this should be replaced by something else, maybe webkit,
 but that doesn't run
 (easy) under windows
   Do you have binaries for windows and mac?
 No,
 I can only make binaries for windows and even these are not very suitable
 for distro,
 because my builder always include the whole full blown python sources.
 As I see there's enough interest, here is my global plan
 - fix some bugs
 - remove the non-standard libs
 - make wysiswyg editor only included in windows
 - make some basic doc
 - make a windows binary + source distro (due to way my builder works,
 that's almost the same)
 Depending on my spare time, this should take a couple of weeks.

 then I need someone to test it (and probably make some changes) under Linux
 and Mac

 then we can distibute it.
 I mentioned BSD, because it's the easiest I know,
 but any license is good for me, as long as it's free enough.

 cheers,
 Stef



  Massimo
 
 
  On Aug 19, 3:12 pm, Stef Mientki stef.mien...@gmail.com wrote:
   hello,
 
  I made a movie about the most important features of the editor I'm
 using, you can see it here:
 
  http://mientki.ruhosting.nl/movies/web2py_1.html
 
  If there's enough interest, I'll make the application available under
 BSD license.
  At this moment, only under windows all features are available.
 
  cheers,
  Stef




-- 
Atenciosamente

-- 
=
Alexandre Andrade
Hipercenter.com


Re: [web2py] Re: My editor ...

2010-08-20 Thread Stef Mientki
 On 21-08-2010 00:42, Alexandre Andrade wrote:
 The wysiwyg html editor is a docked Delphi application, so only suited for 
 windows.

 Since Delphi is Pascal language, maybe it can reworked as a Lazarus project
well that doesn't solve the problem with the RichView license,
ok you could rewrite the RichView library, but I estimate it at 2-3 menyears of 
work,
besides a Pythonic solution would be much better, so I would say WebKit is the 
way to go.

But anyway thanks for the suggestion.

cheers,
Stef


[web2py] Re: My editor ...

2010-08-20 Thread mdipierro
Qt includes this http://doc.trolltech.com/3.3/qtextbrowser.html
would it help?

Massimo

On Aug 19, 6:04 pm, Stef Mientki stef.mien...@gmail.com wrote:
  On 19-08-2010 22:24, mdipierro wrote: This is impressive.
 thanks
   I would like to distribute this with web2py (under
  contrib with its own license)
  What do you think?

 I feel honored,
 so sounds like a good idea to me. What are the prerequisites?

 AFAIK (I always use a very full blown Python version, and I'm totally not 
 aware of which parts I'm
 using),
 but the most important things are Python 2.6 and wxPython 2.8.
 The wysiwyg html editor is a docked Delphi application, so only suited for 
 windows.
 For Mac and Linux this should be replaced by something else, maybe webkit, 
 but that doesn't run
 (easy) under windows  Do you have binaries for windows and mac?

 No,
 I can only make binaries for windows and even these are not very suitable for 
 distro,
 because my builder always include the whole full blown python sources.
 As I see there's enough interest, here is my global plan
 - fix some bugs
 - remove the non-standard libs
 - make wysiswyg editor only included in windows
 - make some basic doc
 - make a windows binary + source distro (due to way my builder works, that's 
 almost the same)
 Depending on my spare time, this should take a couple of weeks.

 then I need someone to test it (and probably make some changes) under Linux 
 and Mac

 then we can distibute it.
 I mentioned BSD, because it's the easiest I know,
 but any license is good for me, as long as it's free enough.

 cheers,
 Stef

  Massimo

  On Aug 19, 3:12 pm, Stef Mientki stef.mien...@gmail.com wrote:
   hello,

  I made a movie about the most important features of the editor I'm using, 
  you can see it here:

 http://mientki.ruhosting.nl/movies/web2py_1.html

  If there's enough interest, I'll make the application available under BSD 
  license.
  At this moment, only under windows all features are available.

  cheers,
  Stef


Re: [web2py] Re: My editor ...

2010-08-20 Thread Michele Comitini
pyQt:

http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtextedit.html
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qwebpage.html#details

Also wxPython:
http://docs.wxwidgets.org/stable/wx_wxview.html#wxview

they are stable and ported on many platforms

2010/8/21 mdipierro mdipie...@cs.depaul.edu:
 Qt includes this http://doc.trolltech.com/3.3/qtextbrowser.html
 would it help?

 Massimo

 On Aug 19, 6:04 pm, Stef Mientki stef.mien...@gmail.com wrote:
  On 19-08-2010 22:24, mdipierro wrote: This is impressive.
 thanks
   I would like to distribute this with web2py (under
  contrib with its own license)
  What do you think?

 I feel honored,
 so sounds like a good idea to me. What are the prerequisites?

 AFAIK (I always use a very full blown Python version, and I'm totally not 
 aware of which parts I'm
 using),
 but the most important things are Python 2.6 and wxPython 2.8.
 The wysiwyg html editor is a docked Delphi application, so only suited for 
 windows.
 For Mac and Linux this should be replaced by something else, maybe webkit, 
 but that doesn't run
 (easy) under windows  Do you have binaries for windows and mac?

 No,
 I can only make binaries for windows and even these are not very suitable 
 for distro,
 because my builder always include the whole full blown python sources.
 As I see there's enough interest, here is my global plan
 - fix some bugs
 - remove the non-standard libs
 - make wysiswyg editor only included in windows
 - make some basic doc
 - make a windows binary + source distro (due to way my builder works, that's 
 almost the same)
 Depending on my spare time, this should take a couple of weeks.

 then I need someone to test it (and probably make some changes) under Linux 
 and Mac

 then we can distibute it.
 I mentioned BSD, because it's the easiest I know,
 but any license is good for me, as long as it's free enough.

 cheers,
 Stef

  Massimo

  On Aug 19, 3:12 pm, Stef Mientki stef.mien...@gmail.com wrote:
   hello,

  I made a movie about the most important features of the editor I'm using, 
  you can see it here:

 http://mientki.ruhosting.nl/movies/web2py_1.html

  If there's enough interest, I'll make the application available under BSD 
  license.
  At this moment, only under windows all features are available.

  cheers,
  Stef


[web2py] Re: My editor ...

2010-08-20 Thread mdipierro
Anyway... some food for thought... the paned windows can be achieved
with jQuery UI plugins. The auto completion features can be provided
by the Amy Editor (which is already in web2py admin but disabled
because not supported by all browsers).

Long term it would be nice to port what Stef has done to the browser.
Investing time to redo it Qt may not be the best course of action if
we could make if fully web based.

Massimo


On Aug 20, 7:01 pm, Michele Comitini michele.comit...@gmail.com
wrote:
 pyQt:

 http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtextedithttp://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qwebpage.h...

 Also wxPython:http://docs.wxwidgets.org/stable/wx_wxview.html#wxview

 they are stable and ported on many platforms

 2010/8/21 mdipierro mdipie...@cs.depaul.edu:

  Qt includes thishttp://doc.trolltech.com/3.3/qtextbrowser.html
  would it help?

  Massimo

  On Aug 19, 6:04 pm, Stef Mientki stef.mien...@gmail.com wrote:
   On 19-08-2010 22:24, mdipierro wrote: This is impressive.
  thanks
    I would like to distribute this with web2py (under
   contrib with its own license)
   What do you think?

  I feel honored,
  so sounds like a good idea to me. What are the prerequisites?

  AFAIK (I always use a very full blown Python version, and I'm totally not 
  aware of which parts I'm
  using),
  but the most important things are Python 2.6 and wxPython 2.8.
  The wysiwyg html editor is a docked Delphi application, so only suited for 
  windows.
  For Mac and Linux this should be replaced by something else, maybe webkit, 
  but that doesn't run
  (easy) under windows  Do you have binaries for windows and mac?

  No,
  I can only make binaries for windows and even these are not very suitable 
  for distro,
  because my builder always include the whole full blown python sources.
  As I see there's enough interest, here is my global plan
  - fix some bugs
  - remove the non-standard libs
  - make wysiswyg editor only included in windows
  - make some basic doc
  - make a windows binary + source distro (due to way my builder works, 
  that's almost the same)
  Depending on my spare time, this should take a couple of weeks.

  then I need someone to test it (and probably make some changes) under 
  Linux and Mac

  then we can distibute it.
  I mentioned BSD, because it's the easiest I know,
  but any license is good for me, as long as it's free enough.

  cheers,
  Stef

   Massimo

   On Aug 19, 3:12 pm, Stef Mientki stef.mien...@gmail.com wrote:
    hello,

   I made a movie about the most important features of the editor I'm 
   using, you can see it here:

  http://mientki.ruhosting.nl/movies/web2py_1.html

   If there's enough interest, I'll make the application available under 
   BSD license.
   At this moment, only under windows all features are available.

   cheers,
   Stef


Re: [web2py] Re: My editor ...

2010-08-20 Thread Jason Brower
As much as I agree I don't.  I feel there are a lot of features we could
implement in an editor built for Web2Py.  I would love to see features
like the following:
When in a method I can press a key and my browser (or the one built in)
would jump to that page.
Debug and stepping tools. (They exist, but they would be weird in a
browser.)
Live session and variable information. (It would be nice to see what
users session information is at any moment without having to print it.
A file browser that devides only the models, views, and controllers in a
nice way.
Graphical representation of links or pages that don't get linked to.
I know some of these features could be implemented browser wise, but it
would be so nice if we could push features forward and let the browser
catch up rather than wait on the browser.
BR,
Jason
On Fri, 2010-08-20 at 19:31 -0700, mdipierro wrote: 
 Anyway... some food for thought... the paned windows can be achieved
 with jQuery UI plugins. The auto completion features can be provided
 by the Amy Editor (which is already in web2py admin but disabled
 because not supported by all browsers).
 
 Long term it would be nice to port what Stef has done to the browser.
 Investing time to redo it Qt may not be the best course of action if
 we could make if fully web based.
 
 Massimo
 
 
 On Aug 20, 7:01 pm, Michele Comitini michele.comit...@gmail.com
 wrote:
  pyQt:
 
  http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtextedithttp://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qwebpage.h...
 
  Also wxPython:http://docs.wxwidgets.org/stable/wx_wxview.html#wxview
 
  they are stable and ported on many platforms
 
  2010/8/21 mdipierro mdipie...@cs.depaul.edu:
 
   Qt includes thishttp://doc.trolltech.com/3.3/qtextbrowser.html
   would it help?
 
   Massimo
 
   On Aug 19, 6:04 pm, Stef Mientki stef.mien...@gmail.com wrote:
On 19-08-2010 22:24, mdipierro wrote: This is impressive.
   thanks
 I would like to distribute this with web2py (under
contrib with its own license)
What do you think?
 
   I feel honored,
   so sounds like a good idea to me. What are the prerequisites?
 
   AFAIK (I always use a very full blown Python version, and I'm totally 
   not aware of which parts I'm
   using),
   but the most important things are Python 2.6 and wxPython 2.8.
   The wysiwyg html editor is a docked Delphi application, so only suited 
   for windows.
   For Mac and Linux this should be replaced by something else, maybe 
   webkit, but that doesn't run
   (easy) under windows  Do you have binaries for windows and mac?
 
   No,
   I can only make binaries for windows and even these are not very 
   suitable for distro,
   because my builder always include the whole full blown python sources.
   As I see there's enough interest, here is my global plan
   - fix some bugs
   - remove the non-standard libs
   - make wysiswyg editor only included in windows
   - make some basic doc
   - make a windows binary + source distro (due to way my builder works, 
   that's almost the same)
   Depending on my spare time, this should take a couple of weeks.
 
   then I need someone to test it (and probably make some changes) under 
   Linux and Mac
 
   then we can distibute it.
   I mentioned BSD, because it's the easiest I know,
   but any license is good for me, as long as it's free enough.
 
   cheers,
   Stef
 
Massimo
 
On Aug 19, 3:12 pm, Stef Mientki stef.mien...@gmail.com wrote:
 hello,
 
I made a movie about the most important features of the editor I'm 
using, you can see it here:
 
   http://mientki.ruhosting.nl/movies/web2py_1.html
 
If there's enough interest, I'll make the application available under 
BSD license.
At this moment, only under windows all features are available.
 
cheers,
Stef




[web2py] Re: My editor ...

2010-08-19 Thread mdipierro
This is impressive. I would like to distribute this with web2py (under
contrib with its own license)
What do you think?
What are the prerequisites? Do you have binaries for windows and mac?

Massimo


On Aug 19, 3:12 pm, Stef Mientki stef.mien...@gmail.com wrote:
  hello,

 I made a movie about the most important features of the editor I'm using, you 
 can see it here:

 http://mientki.ruhosting.nl/movies/web2py_1.html

 If there's enough interest, I'll make the application available under BSD 
 license.
 At this moment, only under windows all features are available.

 cheers,
 Stef


[web2py] Re: My editor ...

2010-08-19 Thread qqsaqq
Awesome.
*drools*

On Aug 19, 10:12 pm, Stef Mientki stef.mien...@gmail.com wrote:
  hello,

 I made a movie about the most important features of the editor I'm using, you 
 can see it here:

 http://mientki.ruhosting.nl/movies/web2py_1.html

 If there's enough interest, I'll make the application available under BSD 
 license.
 At this moment, only under windows all features are available.

 cheers,
 Stef


[web2py] Re: My editor ...

2010-08-19 Thread Martin.Mulone
Amazing, Stef. Linux +1.

On Aug 19, 6:08 pm, Alexandre Andrade alexandrema...@gmail.com
wrote:
 It's really impressive. So cool. it would be nice if it works in linux and
 over ssh, but is already so good at this point.

 +1 to make the application available.

 2010/8/19 Stef Mientki stef.mien...@gmail.com

   hello,

  I made a movie about the most important features of the editor I'm using,
  you can see it here:

 http://mientki.ruhosting.nl/movies/web2py_1.html

  If there's enough interest, I'll make the application available under BSD
  license.
  At this moment, only under windows all features are available.

  cheers,
  Stef

 --
 Atenciosamente

 --
 =
 Alexandre Andrade
 Hipercenter.com


Re: [web2py] Re: My editor ...

2010-08-19 Thread Tom Atkins
very impressive! hope you get time to continue to develop and agree with
Massimo to release with web2py.


[web2py] Re: My editor ...

2010-08-19 Thread Pai
+1

On Aug 19, 3:12 pm, Stef Mientki stef.mien...@gmail.com wrote:
  hello,

 I made a movie about the most important features of the editor I'm using, you 
 can see it here:

 http://mientki.ruhosting.nl/movies/web2py_1.html

 If there's enough interest, I'll make the application available under BSD 
 license.
 At this moment, only under windows all features are available.

 cheers,
 Stef


Re: [web2py] Re: My editor ...

2010-08-19 Thread Stef Mientki
 On 19-08-2010 22:24, mdipierro wrote:
 This is impressive.
thanks
  I would like to distribute this with web2py (under
 contrib with its own license)
 What do you think?
I feel honored,
so sounds like a good idea to me.
 What are the prerequisites?
AFAIK (I always use a very full blown Python version, and I'm totally not aware 
of which parts I'm
using),
but the most important things are Python 2.6 and wxPython 2.8.
The wysiwyg html editor is a docked Delphi application, so only suited for 
windows.
For Mac and Linux this should be replaced by something else, maybe webkit, but 
that doesn't run
(easy) under windows
  Do you have binaries for windows and mac?
No,
I can only make binaries for windows and even these are not very suitable for 
distro,
because my builder always include the whole full blown python sources.
As I see there's enough interest, here is my global plan
- fix some bugs
- remove the non-standard libs
- make wysiswyg editor only included in windows
- make some basic doc
- make a windows binary + source distro (due to way my builder works, that's 
almost the same)
Depending on my spare time, this should take a couple of weeks.

then I need someone to test it (and probably make some changes) under Linux and 
Mac

then we can distibute it.
I mentioned BSD, because it's the easiest I know,
but any license is good for me, as long as it's free enough.

cheers,
Stef



 Massimo


 On Aug 19, 3:12 pm, Stef Mientki stef.mien...@gmail.com wrote:
  hello,

 I made a movie about the most important features of the editor I'm using, 
 you can see it here:

 http://mientki.ruhosting.nl/movies/web2py_1.html

 If there's enough interest, I'll make the application available under BSD 
 license.
 At this moment, only under windows all features are available.

 cheers,
 Stef



[web2py] Re: My editor ...

2010-08-19 Thread mdipierro
OK but even if this is only available to windows users it will be well
worth inclusion. In this case we would include only binary.

Massimo

On Aug 19, 6:04 pm, Stef Mientki stef.mien...@gmail.com wrote:
  On 19-08-2010 22:24, mdipierro wrote: This is impressive.
 thanks
   I would like to distribute this with web2py (under
  contrib with its own license)
  What do you think?

 I feel honored,
 so sounds like a good idea to me. What are the prerequisites?

 AFAIK (I always use a very full blown Python version, and I'm totally not 
 aware of which parts I'm
 using),
 but the most important things are Python 2.6 and wxPython 2.8.
 The wysiwyg html editor is a docked Delphi application, so only suited for 
 windows.
 For Mac and Linux this should be replaced by something else, maybe webkit, 
 but that doesn't run
 (easy) under windows  Do you have binaries for windows and mac?

 No,
 I can only make binaries for windows and even these are not very suitable for 
 distro,
 because my builder always include the whole full blown python sources.
 As I see there's enough interest, here is my global plan
 - fix some bugs
 - remove the non-standard libs
 - make wysiswyg editor only included in windows
 - make some basic doc
 - make a windows binary + source distro (due to way my builder works, that's 
 almost the same)
 Depending on my spare time, this should take a couple of weeks.

 then I need someone to test it (and probably make some changes) under Linux 
 and Mac

 then we can distibute it.
 I mentioned BSD, because it's the easiest I know,
 but any license is good for me, as long as it's free enough.

 cheers,
 Stef

  Massimo

  On Aug 19, 3:12 pm, Stef Mientki stef.mien...@gmail.com wrote:
   hello,

  I made a movie about the most important features of the editor I'm using, 
  you can see it here:

 http://mientki.ruhosting.nl/movies/web2py_1.html

  If there's enough interest, I'll make the application available under BSD 
  license.
  At this moment, only under windows all features are available.

  cheers,
  Stef


[web2py] Re: My editor ...

2010-08-19 Thread dlin
It's so cool.
I often use linux  vim.
But, I think that will let my colleagues happy to work with windows.
And your slide is also very cool (what's tool you use?)

On Aug 20, 7:08 am, Stef Mientki stef.mien...@gmail.com wrote:
  On 19-08-2010 23:08, Alexandre Andrade wrote: It's really impressive. So 
 cool.
 thanks.
  it would be nice if it works in linux

 most of it, except the wysiwyg editor should work under linux and over ssh,

 I don't know if it works over ssh (I've no experience with that),
 at this moment it's a desktop application, and I think such a GUI-interface 
 only works (fast enough)
 as a desktop application,
 but I might be mistaken.

 cheers,
 Stef


[web2py] Re: My editor ...

2010-08-19 Thread Garrafa Pet 2 Litros
[2]...

On 19 ago, 18:08, Alexandre Andrade alexandrema...@gmail.com wrote:
 It's really impressive. So cool. it would be nice if it works in linux and
 over ssh, but is already so good at this point.

 +1 to make the application available.

 2010/8/19 Stef Mientki stef.mien...@gmail.com

   hello,

  I made a movie about the most important features of the editor I'm using,
  you can see it here:

 http://mientki.ruhosting.nl/movies/web2py_1.html

  If there's enough interest, I'll make the application available under BSD
  license.
  At this moment, only under windows all features are available.

  cheers,
  Stef

 --
 Atenciosamente

 --
 =
 Alexandre Andrade
 Hipercenter.com


[web2py] Re: My editor ...

2010-08-19 Thread dlin
Instead of using wx, I suggest to try QT, that's will let it portable,
and there is solution for webkit+qt.
That's will let it more portable between windows/linux/mac

On Aug 20, 10:00 am, Garrafa Pet 2 Litros garraf...@gmail.com wrote:
 [2]...

 On 19 ago, 18:08, Alexandre Andrade alexandrema...@gmail.com wrote:



  It's really impressive. So cool. it would be nice if it works in linux and
  over ssh, but is already so good at this point.

  +1 to make the application available.

  2010/8/19 Stef Mientki stef.mien...@gmail.com

    hello,

   I made a movie about the most important features of the editor I'm using,
   you can see it here:

  http://mientki.ruhosting.nl/movies/web2py_1.html

   If there's enough interest, I'll make the application available under BSD
   license.
   At this moment, only under windows all features are available.

   cheers,
   Stef

  --
  Atenciosamente

  --
  =
  Alexandre Andrade
  Hipercenter.com


Re: [web2py] Re: My editor ...

2010-08-19 Thread Jason Brower
Aren't massive libraries required to make that happen?  For example I
don't have any qt apps.
And on top of that, GTK is better. :P
BR,
Jason

On Thu, 2010-08-19 at 19:36 -0700, dlin wrote: 
 Instead of using wx, I suggest to try QT, that's will let it portable,
 and there is solution for webkit+qt.
 That's will let it more portable between windows/linux/mac
 
 On Aug 20, 10:00 am, Garrafa Pet 2 Litros garraf...@gmail.com wrote:
  [2]...
 
  On 19 ago, 18:08, Alexandre Andrade alexandrema...@gmail.com wrote:
 
 
 
   It's really impressive. So cool. it would be nice if it works in linux and
   over ssh, but is already so good at this point.
 
   +1 to make the application available.
 
   2010/8/19 Stef Mientki stef.mien...@gmail.com
 
 hello,
 
I made a movie about the most important features of the editor I'm 
using,
you can see it here:
 
   http://mientki.ruhosting.nl/movies/web2py_1.html
 
If there's enough interest, I'll make the application available under 
BSD
license.
At this moment, only under windows all features are available.
 
cheers,
Stef
 
   --
   Atenciosamente
 
   --
   =
   Alexandre Andrade
   Hipercenter.com