1. 3.0.0 bug in puts

There seems to be something wrong with puts to console in 3.0.0
puts(1,"\tWS_EX_NOINHERITLAYOUT = #00100000, -- Disable inheritence of
mirroring by children\n")

(all one line) under 2.4 I get a single line split at "by" (ie col 80)
whereas under 3.0.0 I get line splits at "rr", "by", and "re". Add and
remove leading tabs for more weird effects, it seems to be auto-lining
up/splitting text with the end of the initial tabs (ie column 8).

Pete

new topic     » topic index » view message » categorize

2. Re: 3.0.0 bug in puts

Pete Lomax wrote:
> 
> There seems to be something wrong with puts to console in 3.0.0

Yes, but when will Edita have FTP capability?!?!

-=ck
"Programming in a state of Euphoria."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

3. Re: 3.0.0 bug in puts

Pete Lomax wrote:
> There seems to be something wrong with puts to console in 3.0.0
> }}}
<eucode>
> puts(1,"\tWS_EX_NOINHERITLAYOUT = #00100000, -- Disable inheritence of
> mirroring by children\n")
> </eucode>
{{{

> (all one line) under 2.4 I get a single line split at "by" (ie col 80)
> whereas under 3.0.0 I get line splits at "rr", "by", and "re". Add and
> remove leading tabs for more weird effects, it seems to be auto-lining
> up/splitting text with the end of the initial tabs (ie column 8).

Thanks. I see something similar with exw, but not with ex or exu.
exw looks fine if I remove the leading \t.
I'll look into it tomorrow. It might be an accidental
change related to removing ncurses in the Linux/FreeBSD code.
Maybe I changed the Windows console code somehow.

Thanks,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

4. Re: 3.0.0 bug in puts

Robert Craig wrote:
> 
> Pete Lomax wrote:
> > There seems to be something wrong with puts to console in 3.0.0
> > }}}
<eucode>
> > puts(1,"\tWS_EX_NOINHERITLAYOUT = #00100000, -- Disable inheritence of
> > mirroring by children\n")
> > </eucode>
{{{

> > (all one line) under 2.4 I get a single line split at "by" (ie col 80)
> > whereas under 3.0.0 I get line splits at "rr", "by", and "re". Add and
> > remove leading tabs for more weird effects, it seems to be auto-lining
> > up/splitting text with the end of the initial tabs (ie column 8).
> 
> Thanks. I see something similar with exw, but not with ex or exu.
> exw looks fine if I remove the leading \t.
> I'll look into it tomorrow. It might be an accidental
> change related to removing ncurses in the Linux/FreeBSD code.
> Maybe I changed the Windows console code somehow.
> 

When I remove the tab, it loses the last letter of "children".  However,
when I redirect to a file (even without removing the tab) it looks fine.
I've also noticed that the trace screen with exw, the code cuts off at 
about 48 screen characters if the line has a tab.  If lines are indented
with spaces, everything looks fine.

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

5. Re: 3.0.0 bug in puts

> Yes, but when will Edita have FTP capability?!?!

lol

I had put some work into an FTP-based editor a while ago and had
offered to throw together an implementation for Edita. But... I've
been working a lot lately, so I haven't had much time. If I can get it
knocked out, then soon... otherwise somebody else needs to step
forward. :)

~Greg

new topic     » goto parent     » topic index » view message » categorize

6. Re: 3.0.0 bug in puts

There is another issue that probably is based on the bug in puts().
When an .exw program includes a file that does not exist, I get
a broken error message:
Some lines of text appear at the top of the console, and they almost
immediately disappear. At the end, there is a almost blank console
window, with the second part of the error message at the bottom.

Regards,
   Juergen

new topic     » goto parent     » topic index » view message » categorize

7. Re: 3.0.0 bug in puts

Juergen Luethje wrote:
> There is another issue that probably is based on the bug in puts().
> When an .exw program includes a file that does not exist, I get
> a broken error message:
> Some lines of text appear at the top of the console, and they almost
> immediately disappear. At the end, there is a almost blank console
> window, with the second part of the error message at the bottom.

Yes, that sounds like the same bug that affected Pete Lomax
and Matt Lewis.

I believe I've fixed it now.
Please test one or both of:

   http://www.RapidEuphoria.com/uploads/exw.exe

   http://www.RapidEuphoria.com/uploads/exwc.exe

I found bugs in the handling of tabs and the handling
of long lines that need to wrap around (in be_w.c - expand_tabs()). 
ex and exu are also affected, but to a lesser extent than exw. 
I'll issue a new 3.0.1 release in the not-too-distant future.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

8. Re: 3.0.0 bug in puts

On Fri, 20 Oct 2006 17:42:57 -0700, Robert Craig
<guest at RapidEuphoria.com> wrote:

>I believe I've fixed it now.
>Please test one or both of:

I downloaded and tested both, seems to fix it, thanks.

Regards,
Pete

PS already spotted that we need a new backend[w].exe to match blink
PPS not that I have any need for that anytime soon, btw, just sayin.
PPPS but would be happy to test said for you should you want blink

new topic     » goto parent     » topic index » view message » categorize

9. Re: 3.0.0 bug in puts

Pete Lomax wrote:
> On Fri, 20 Oct 2006 17:42:57 -0700, Robert Craig
> <guest at RapidEuphoria.com> wrote:
> 
> >I believe I've fixed it now.
> >Please test one or both of:
> 
> I downloaded and tested both, seems to fix it, thanks.
> ...
> 
> PS already spotted that we need a new backend[w].exe to match blink
> PPS not that I have any need for that anytime soon, btw, just sayin.
> PPPS but would be happy to test said for you should you want blink

Thanks, here it is:
  http://www.rapideuphoria.com/uploads/backendw.exe

The bug also affects translated programs since the
same expand_tabs() routine is used there too.
Perhaps 3.0.1 is only a few days away. What do the
open source people say? "Release early, release often!"

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

10. Re: 3.0.0 bug in puts

Robert Craig wrote:
> The bug also affects translated programs since the
> same expand_tabs() routine is used there too.
> Perhaps 3.0.1 is only a few days away. What do the
> open source people say? "Release early, release often!"
> 
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a>

Ahh, yep, this tis be the general way OpenSource works.  Maybe designing some
kind of patcher for now, that will update critical files, may be required, till
an official decision on SVN has been made.  Heck, even a simple patcher That only
downloads the required files for the distro, can work, for thoes who want to keep
their distros of Euphoria up to date, without having to require having a SVN
Client.

If your interested Rob, I can whip up a Simple Patcher that'll patch core files,
so that you can include it with 3.0.1, that way, people don't have to keep
downloading the entire package to get things that are just updated.  This
ofcourse wouldn't be a replacement for SVN, just a secondary solution for thoes
who don't want to mess with SVN, and compiling, all that nice stuff, but want to
keep the latest version.

Ideas? ^.^


Mario Steele
http://enchantedblade.trilake.net
Attaining World Dominiation, one byte at a time...

new topic     » goto parent     » topic index » view message » categorize

11. Re: 3.0.0 bug in puts

Mario Steele wrote:
> 
> Robert Craig wrote:
> > The bug also affects translated programs since the
> > same expand_tabs() routine is used there too.
> > Perhaps 3.0.1 is only a few days away. What do the
> > open source people say? "Release early, release often!"
> > 
> > Regards,
> >    Rob Craig
> >    Rapid Deployment Software
> >    <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a>
> 
> Ahh, yep, this tis be the general way OpenSource works.  Maybe designing some
> kind of patcher for now, that will update critical files, may be required,
> till
> an official decision on SVN has been made.  Heck, even a simple patcher That
> only downloads the required files for the distro, can work, for thoes who want
> to keep their distros of Euphoria up to date, without having to require having
> a SVN Client.
> 
> If your interested Rob, I can whip up a Simple Patcher that'll patch core
> files,
> so that you can include it with 3.0.1, that way, people don't have to keep
> downloading
> the entire package to get things that are just updated.  This ofcourse
> wouldn't
> be a replacement for SVN, just a secondary solution for thoes who don't want
> to mess with SVN, and compiling, all that nice stuff, but want to keep the
> latest
> version.
> 
> Ideas? ^.^
> 
> 
> Mario Steele
> <a
> href="http://enchantedblade.trilake.net">http://enchantedblade.trilake.net</a>
> Attaining World Dominiation, one byte at a time...


I make quick and dirty patches by zipping the project and using xdelta on the
archive to make a binary delta file.
This eliminates the need to track individual files etc, and the deltas are
fairly efficient despite the compression.


Chris Bensler
~ The difference between ordinary and extraordinary is that little extra ~
http://empire.iwireweb.com - Empire for Euphoria

new topic     » goto parent     » topic index » view message » categorize

12. Re: 3.0.0 bug in puts

Robert Craig wrote:

<snip>

> I believe I've fixed it now.
> Please test one or both of:
> 
>    http://www.RapidEuphoria.com/uploads/exw.exe
> 
>    http://www.RapidEuphoria.com/uploads/exwc.exe
> 
> I found bugs in the handling of tabs and the handling
> of long lines that need to wrap around (in be_w.c - expand_tabs()). 
> ex and exu are also affected, but to a lesser extent than exw. 
> I'll issue a new 3.0.1 release in the not-too-distant future.

Both new programs work fine on my system, thanks!

Regards,
   Juergen

new topic     » goto parent     » topic index » view message » categorize

13. Re: 3.0.0 bug in puts

On Thu, 19 Oct 2006 20:19:55 -0700, cklester <guest at RapidEuphoria.com>
wrote:

>Yes, but when will Edita have FTP capability?!?!
Er... LOL
Actually, thanks to you kicking me up the bum, I have finally got some
code downloaded ages ago (just over 10 weeks, innit?) working today,
though it is more fiddly than I first imagined. No real worries, but I
think a standalone ftp client first, and maybe have it end up one that
'talks' to Edita. Given workload and next week away, Dec=optimistic!

The more I think on it, it surprises me that after all this time
no-one ever submitted a CuteFTP clone to the archives (though the one
I plan to submit may look rather more like the FreshFTP I use).

At least now I know pretty much exactly what to do, and am starting to
get a basic grasp on what all those options in my ftp client mean!

Regards
Pete

new topic     » goto parent     » topic index » view message » categorize

14. Re: 3.0.0 bug in puts

On Fri, 20 Oct 2006 21:01:44 -0700, Robert Craig
<guest at RapidEuphoria.com> wrote:

>Thanks, here it is:
>  http://www.rapideuphoria.com/uploads/backendw.exe
>
Yep, that's good too.

>open source people say? "Release early, release often!"
With moderation. I have a problem with the 'release because it is
Thursday' mantra, but agree with the 'erm test this, but such and such
is not usable' - eg early Edita releases had no ability to save a
file, but 'rero' worked quite well in that case I think.
CVS/SVN pretty much trash any quibbles anyway, but I would hate to see
you fall into the 'weekly'/'monthly' rebuild trap - do 'when right' -
if you want to do a 'nightly rebuild' it should be because you want to
see automated test results, not for live use/testing/release.
(That little diatribe not so much aimed at Rob as the general public,
and probably/possibly a bit heartfelt from my Parrot [Perl 6] days)

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu