It's a compiler error. Can you send me a zip file (attach / pm or email) of the source you are trying to compile?
Bummer. I was just prepping the next release, but I'll wait until I can fix this one first.
Attach here, attach in PM or E-mail brad at fnarfbargle dot com please and I'll make sure it gets fixed ASAP
When the compiler has compiled all the objects it goes through a multi-phase link stage. In the link stage it does all the duplicate removal and re-locating of the objects, it then goes through each object and "fixes-up" the method table. In this case it's not able to find one of the objects it's trying to fixup and exploding.
Ok, so we finally have version 0.07. It's been a slow release (sorry about that), but people kept breaking things that needed fixing! [noparse];)[/noparse]
Full changelog in top post.
_huge_ speedup in the compiler. Average speedup of over 8 times. Basically the time taken in the tokenizer went from logarithmic to linear, so mostly noticable on large files.
Some minor improvements to the syntax highlighter. Still needs more work but I did fix the Unicode bug Ale found.
A few extra odds and sods for port detection, nothing that should affect Linux or Mac users though.
Native Mac keyboard shortcuts.. no more control key, and fixed the keyboard shortcuts on Linux when the editor has focus.
umm.. what else..
Compiler listing window.
Re-worked some of the serial-terminal connect/disconnect stuff to make it more reliable on Mac..
Loads of little tweaks and fixes..
I _think_ I've addressed every bug that has been raised, but if you have one that I've not stomped don't be shy to yell and scream (it'll probably make you feel better).
Oh yeah.. spin block code folding and line numbers.. [noparse]:)[/noparse]
Glad you like it. It still has bugs and stuff I need to fix, but for a quick knock up it's pretty close to the Parallax one.
Updated screenshot in top post.
Proposo to improvement.
Have separate plain text files to script higlightings.
On my work I program and Run multiple procesors and programing languages.
And if that IDE will be useful for me will I have only one to handle all languages
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Proposo to improvement.
Have separate plain text files to script higlightings.
On my work I program and Run multiple procesors and programing languages.
And if that IDE will be useful for me will I have only one to handle all languages
That is an interesting idea. There is a plugin highlighter available that would interface with this editor which would allow user configurable highlighting very easily.
I'm sure there are far better editors available that already have configurable highlighters though. I wrote bst as a dedicated propeller development tool for non-windows users, and I'm not entirely convinced as to how well that would translate to other languages.
I _do_ already have very good C and Pascal highlighters, and if someone (anyone) ever comes up with a Propeller C compiler that runs on Linux and OSX Intel/PPC as well as windows then I'm all for including support for it in bst. I must admit I'm not a C programmer, but I've got my eye on the work Hippy has been doing with the C runtime..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
That actually looks quite nice.. but again it's a windows only bit of software.
There appear to be plenty of nice editors across the various platforms that can be used, I'm just not sure bst is the right tool for the job.
I do plan on making the highlighter configurable though, but only to a limited degree.
Offering the ability to plug in a user defined highlighter is a definite possibility though. I want to get block group identifiers working first though.
Yes It is only win editor.
But maybe You have ideas from It
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Ahh, I see. Ok when I'm next near windows I'll take a look.
I guess I've been developing with what I'm used to, which is Propeller Tool, Lazarus and Delphi (and gedit, nedit and vi).. but ideas are always welcome.
I'm thinking about how to do split-screen and tear off tabs next (like prop tool does them), but I want to get block group indicators, block folding and the highlighting finished first.
Hey Bread, just discovered the app, many thanks for putting this together.
Honestly, I did not read the whole thread so this may be redundant:
iMac 10.4.11 2.16 Intel duo
-Scroll down to any where in the code, then clicking anywhere inside the code window causes the window to take you back to the top, unable to put the mouse anywhere in the window IF you have scrolled down at all.
-Above 1000 lines of code, only the first 3 digits are visible.
-Attempting to highlight any code causes the code to shift over to the right, almost impossible to grab any code where you want to.
- Long sections of zeros get weird, chopped off from viewing at the end
Anyways these, no real need to sweat this on my account, but thought I'd mention the issues in case these are an easy fix that I can make on my end.
The examples show a shift over of highlighted text, and the lopped off '0's'
Thanks, can't wait to get this working.
Post Edited (Originator) : 11/1/2008 8:34:48 PM GMT
I can not see the syntax highlighting at all- Did I miss read the notes and its not in for osx?
I have no visible cursor, its just not there at all. Not sure why. The typing seems to move around to match where it should be, but it just does not display.
Some of those indention line indicators and as far as I'm concerned you've nailed it!
I noted that F10/F11 is also working when clicked into the code window.
Any chance you are working on a way to show memory usage when compiled in memory?
Originator said...
Hey Bread, just discovered the app, many thanks for putting this together.
Honestly, I did not read the whole thread so this may be redundant:
iMac 10.4.11 2.16 Intel duo
-Scroll down to any where in the code, then clicking anywhere inside the code window causes the window to take you back to the top, unable to put the mouse anywhere in the window IF you have scrolled down at all.
Bummer, I can reproduce this.. I'll get a fix out today for you. I think I might know how to fix this
What a painful bug. Sorry about that.
Originator said...
-Above 1000 lines of code, only the first 3 digits are visible.
Ok, I know why this is happening. I'll fix this also.
Originator said...
-Attempting to highlight any code causes the code to shift over to the right, almost impossible to grab any code where you want to.
- Long sections of zeros get weird, chopped off from viewing at the end
have you loaded the Parallax font from the Wiki? Both those artifacts can be caused by not using a monospaced font.
The renderer for the edit component has been tweaked to be stable with the Parallax font. It has trouble with fonts that report their glyph pixel size incorrectly and you get the artifact that things shift around as you highlight them. My todo list has a spot for improving the font rendering but if you use the Parallax font it should be fine at the moment.
I test on 10.4.11 and 10.5.5 Intel and PowerPC and provided the font is loaded and selected (Font button in the IDE preferences) then it all should work.
As a substitute, Monaco seems to work well, but I've not tested that as extensively.
I can not see the syntax highlighting at all- Did I miss read the notes and its not in for osx?
I have no visible cursor, its just not there at all. Not sure why. The typing seems to move around to match where it should be, but it just does not display.
The syntax highlighter is enabled with a checkbox in the IDE preferences Dialog.
The cursor disappearing may be font related. Have you loaded the Parallax font from the Wiki?
Some of those indention line indicators and as far as I'm concerned you've nailed it!
I noted that F10/F11 is also working when clicked into the code window.
Any chance you are working on a way to show memory usage when compiled in memory?
Thanks Jeff, this release has seen a _lot_ of code churn. The modifications I had to make to the editor to get the background highlighting properly took me a while, and the highlighter itself is very much an experimental bit of code. Lots of little improvements to help usability more than anything.
I've been thinking about a compiler status window along the lines of what prop tool does.. so it's certainly on my list.... mmmmmm pretty colours.....
Originator said...
Thanks, I will test the fonts and see what happens.
BTW, is there any existing means to change the BG to anything other than white? If not, not a real concern.
Not at the moment. The idea is that when I get the syntax highlighter stable I was going to make it the default.
I do plan on having fully configurable colours for the highlighter, it would be pretty easy for me to add a configurable background colour and leave the option to turn the highlighter off though.
I've got the Parallax font installed on both my test machines here, so I have no idea what font it selects by default if its not installed.
It's supposed to default to Monaco, but it only does that if it detects a broken Parallax font, not a missing one. Try selecting Monaco in the editor and see how it goes.
I'd also be interested in seeing what happens when you enable the syntax highlighter. (The first time you enable it on a slow machine it can give you the spinning beachball of death for up to 10 seconds while it configures itself up. Another oddity I'm looking at, but it only happens once).
With the correct font, you should see 4 digit line numbers with no problems. I've just made a change that will autosize the gutter to cope with bigger numbers (I tested it to over 250,00 lines but it gets a bit slow on the old G4 over that)
Font is screwed for me. Two out of every three columns is a boxed X filler wherever an extended character is. I'm using the corrected propeller.ttf font and the remaining first of every three columns is displaying the correct symbols.
Originator and TJHJ I've looked at everything obvious and all my indicators are to a font rendering problem on your systems.
If installing the Parallax font, or selecting Monaco as the font in the editor do not make the problem go away, would either of you mind running some test software for me to gather some font metrics so I can see if can figure out what is going on ?
Originator if you don't want to use the syntax highligher, there is now an option for changing both the background and font colours in the editor.
evanh, I'm pretty sure I've nailed the unicode problem you were seeing.
This has the latest version of the compiler in it with the bugs heater identified fixed also.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Nothing is impossible, there are only different degrees of difficulty. For every stupid question there is at least one intelligent answer. Don't guess - ask instead. If you don't ask you won't know. If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
MMm right you are. I copied them over the 007 release by mistake.
I've put them in the right spot and I'm re-uploading a copy of 007 just in case.
Thanks for the headsup.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
This is probably a very trivial observation, in the text area when I type in the small cap 'n' it looks like a small cap 'r', when I type in an 'm' it looks like an 'n'. I you type an 'i' along side of another letter, it looks like the 'i' has become part of that letter. Those are a couple of examples, I do not know if this is happening with anybody else, or if it has already been reported. My setup, Ubuntu 8.10 64 bit, on a 1200 x 800 screen laptop. I am still getting around to doing a real program, to see how it all works.
Comments
Bummer. I was just prepping the next release, but I'll wait until I can fix this one first.
Attach here, attach in PM or E-mail brad at fnarfbargle dot com please and I'll make sure it gets fixed ASAP
When the compiler has compiled all the objects it goes through a multi-phase link stage. In the link stage it does all the duplicate removal and re-locating of the objects, it then goes through each object and "fixes-up" the method table. In this case it's not able to find one of the objects it's trying to fixup and exploding.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
Brilliant. I can reproduce the problem. I'll have it fixed today. Thanks !
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
Full changelog in top post.
_huge_ speedup in the compiler. Average speedup of over 8 times. Basically the time taken in the tokenizer went from logarithmic to linear, so mostly noticable on large files.
Some minor improvements to the syntax highlighter. Still needs more work but I did fix the Unicode bug Ale found.
A few extra odds and sods for port detection, nothing that should affect Linux or Mac users though.
Native Mac keyboard shortcuts.. no more control key, and fixed the keyboard shortcuts on Linux when the editor has focus.
umm.. what else..
Compiler listing window.
Re-worked some of the serial-terminal connect/disconnect stuff to make it more reliable on Mac..
Loads of little tweaks and fixes..
I _think_ I've addressed every bug that has been raised, but if you have one that I've not stomped don't be shy to yell and scream (it'll probably make you feel better).
Oh yeah.. spin block code folding and line numbers.. [noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
Nice! Just in time for some weekend coding!
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Awsome!
Thanks Brad!
The Syntax highlighting looks wonderful! Forgot where I was for a moment.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Updated screenshot in top post.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
Proposo to improvement.
Have separate plain text files to script higlightings.
On my work I program and Run multiple procesors and programing languages.
And if that IDE will be useful for me will I have only one to handle all languages
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
That is an interesting idea. There is a plugin highlighter available that would interface with this editor which would allow user configurable highlighting very easily.
I'm sure there are far better editors available that already have configurable highlighters though. I wrote bst as a dedicated propeller development tool for non-windows users, and I'm not entirely convinced as to how well that would translate to other languages.
I _do_ already have very good C and Pascal highlighters, and if someone (anyone) ever comes up with a Propeller C compiler that runs on Linux and OSX Intel/PPC as well as windows then I'm all for including support for it in bst. I must admit I'm not a C programmer, but I've got my eye on the work Hippy has been doing with the C runtime..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
Look on this
It is editor I use in my work
http://www.programmerstudio.com/
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
That actually looks quite nice.. but again it's a windows only bit of software.
There appear to be plenty of nice editors across the various platforms that can be used, I'm just not sure bst is the right tool for the job.
I do plan on making the highlighter configurable though, but only to a limited degree.
Offering the ability to plug in a user defined highlighter is a definite possibility though. I want to get block group identifiers working first though.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
Yes It is only win editor.
But maybe You have ideas from It
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
I guess I've been developing with what I'm used to, which is Propeller Tool, Lazarus and Delphi (and gedit, nedit and vi).. but ideas are always welcome.
I'm thinking about how to do split-screen and tear off tabs next (like prop tool does them), but I want to get block group indicators, block folding and the highlighting finished first.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
Honestly, I did not read the whole thread so this may be redundant:
iMac 10.4.11 2.16 Intel duo
-Scroll down to any where in the code, then clicking anywhere inside the code window causes the window to take you back to the top, unable to put the mouse anywhere in the window IF you have scrolled down at all.
-Above 1000 lines of code, only the first 3 digits are visible.
-Attempting to highlight any code causes the code to shift over to the right, almost impossible to grab any code where you want to.
- Long sections of zeros get weird, chopped off from viewing at the end
Anyways these, no real need to sweat this on my account, but thought I'd mention the issues in case these are an easy fix that I can make on my end.
The examples show a shift over of highlighted text, and the lopped off '0's'
Thanks, can't wait to get this working.
Post Edited (Originator) : 11/1/2008 8:34:48 PM GMT
So as of version .007 two things.
I can not see the syntax highlighting at all- Did I miss read the notes and its not in for osx?
I have no visible cursor, its just not there at all. Not sure why. The typing seems to move around to match where it should be, but it just does not display.
System- MacBook Pro, OsX - 10.5.5, 2.4 Core 2, 2nd intel generation.
I am sorry if this is redundant, I just glanced over the 10 pages.
If there is anything I can do to help please let me know.
TJ
Some of those indention line indicators and as far as I'm concerned you've nailed it!
I noted that F10/F11 is also working when clicked into the code window.
Any chance you are working on a way to show memory usage when compiled in memory?
Awesome work.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Bummer, I can reproduce this.. I'll get a fix out today for you. I think I might know how to fix this
What a painful bug. Sorry about that.
Ok, I know why this is happening. I'll fix this also.
have you loaded the Parallax font from the Wiki? Both those artifacts can be caused by not using a monospaced font.
The renderer for the edit component has been tweaked to be stable with the Parallax font. It has trouble with fonts that report their glyph pixel size incorrectly and you get the artifact that things shift around as you highlight them. My todo list has a spot for improving the font rendering but if you use the Parallax font it should be fine at the moment.
I test on 10.4.11 and 10.5.5 Intel and PowerPC and provided the font is loaded and selected (Font button in the IDE preferences) then it all should work.
As a substitute, Monaco seems to work well, but I've not tested that as extensively.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
Post Edited (BradC) : 11/2/2008 5:01:59 AM GMT
The syntax highlighter is enabled with a checkbox in the IDE preferences Dialog.
The cursor disappearing may be font related. Have you loaded the Parallax font from the Wiki?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
Thanks Jeff, this release has seen a _lot_ of code churn. The modifications I had to make to the editor to get the background highlighting properly took me a while, and the highlighter itself is very much an experimental bit of code. Lots of little improvements to help usability more than anything.
I've been thinking about a compiler status window along the lines of what prop tool does.. so it's certainly on my list.... mmmmmm pretty colours.....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
BTW, is there any existing means to change the BG to anything other than white? If not, not a real concern.
Not at the moment. The idea is that when I get the syntax highlighter stable I was going to make it the default.
I do plan on having fully configurable colours for the highlighter, it would be pretty easy for me to add a configurable background colour and leave the option to turn the highlighter off though.
I've got the Parallax font installed on both my test machines here, so I have no idea what font it selects by default if its not installed.
It's supposed to default to Monaco, but it only does that if it detects a broken Parallax font, not a missing one. Try selecting Monaco in the editor and see how it goes.
I'd also be interested in seeing what happens when you enable the syntax highlighter. (The first time you enable it on a slow machine it can give you the spinning beachball of death for up to 10 seconds while it configures itself up. Another oddity I'm looking at, but it only happens once).
With the correct font, you should see 4 digit line numbers with no problems. I've just made a change that will autosize the gutter to cope with bigger numbers (I tested it to over 250,00 lines but it gets a bit slow on the old G4 over that)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
Running on Kubuntu 8.04
Workaround at the moment is to turn the highlighter off [noparse];)[/noparse]
While I'm here I'll find a way to detect the missing Propeller font on OSX and make sure that is fixed for the next release.
Thanks everyone!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
Originator and TJHJ I've looked at everything obvious and all my indicators are to a font rendering problem on your systems.
If installing the Parallax font, or selecting Monaco as the font in the editor do not make the problem go away, would either of you mind running some test software for me to gather some font metrics so I can see if can figure out what is going on ?
Originator if you don't want to use the syntax highligher, there is now an option for changing both the background and font colours in the editor.
evanh, I'm pretty sure I've nailed the unicode problem you were seeing.
This has the latest version of the compiler in it with the bugs heater identified fixed also.
Feedback always warmly welcomed.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
I can't see ver 08 in Yours http://www.fnarfbargle.com/bst/
Only Map but not files in it
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
MMm right you are. I copied them over the 007 release by mistake.
I've put them in the right spot and I'm re-uploading a copy of 007 just in case.
Thanks for the headsup.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
TJ