More on tabs. The Propeller Tool is smart about tab widths, which necessarily vary in different sections of the program. Two spaces are appropriate in the Spin section, but not in the DAT (PASM) section. PropIDE needs to emulate the PropTool's behavior regarding tab widths.
Actually, it does happen in the OSX version. Position the cursor ahead of the first character of line 1. Hold down Shift, and hit down-arrow to select that line and however many more you want. Hit Tab. The lines selected and the line that follows will get indented. Now try the same thing in the BASIC Stamp editor, and you will see how it's supposed to work.
-Phil
I see! Not how I generally select text, but yes that seems to set the cursor at the beginning of the next line. This might be an inherent side-effect of the Qt text editor code. I'll look at the source and see if I can suggest a fix in the bug tracker, for Brett.
BTW... The issue tracker for PropellerIDE is a great place to get issues and possible enhancements noticed and maybe even solved! I'm sure the tracker makes it much easier for Brett to monitor issues, rather than scouring the forum for issues. Check it out, add your issues, get results!
One thing that bothered me a little with PropIDE was that the edit screen was not as comfortable to look at for some reason. Now I know why. The font rendering (at any scale) is not as good as PropTool's. Here's a side-by-side comparison (Win7: PropIDE on the left, PropTool on the right):
PropIDE's font rendering has some definite quirks, mainly in the stroke weights, which are not uniform. For example, look at the equal signs. Also, the tops of the characters look a bit scalped. Hopefully, this is something that can be addressed and is not endemic to Qt.
I've just noticed, too, that PropIDE does not render the Unicode glyphs at all:
I just discovered that PropIDE defaults to the "Parallax2" font. If I change it to the "Parallax" font that comes with PropTool, everything looks much better.
I've also discovered that the OSX version provides a means to insert special characters. But the characters you get to choose from are emoticons and other weird stuff, instead of the special Propeller characters for drawing schematics and such.
The most typical problem associated with serial ports is in not having sufficient privilidges for using it. Add your userid to the "dialout" group, then log out and back in again.
That worked. Thanks! For anyone wanting to know how to do this, here's the bash command:
'Just noticed something else: the font used in the terminal screen of the OSX version is proportionally spaced, not monospaced. That makes it impossible to align textual output in columns. (I haven't checked that in the other versions yet.)
OpenSpin is used as the default compiler on PropellerIDE for all platforms. It's just missing dead code removal so the BST compiler is included for people who need that feature until OpenSpin supports it.
that it used Brad Spin compiler while openspin was further developed...
Does it compile with openspin now?
Also, I thought I saw that openspin now has a precompiler. Is that included now?
Is 0.19 the latest? I went to the user manual page on lame station and that link didn't have the manual. I used the search function on the Parallax site and got nothing to show me where the PropellerIDE is located.
If you implement an equivalent to @@@, could you designate it some other way, please? I'm sypathetic to the opinion that @@@ is pretty ugly. Perhaps @# or #@? The # hints at something that's available as a constant, which is what the operator sort of implies.
Here's my experience installing on Linux Mint (KDE). Downloading the package on Firefox automatically invoked the package manager/installer. The installation went without a hitch. But no icon appeared on my desktop, so I had to go looking for the program. 'Found it in /usr/bin, and it started up okay with a "welcome" program in the editor. F9 compiled it just fine after I saved it. But here's where the trouble starts. I plugged in an Activity Board to a USB port. Right away, PropellerIDE recognized a new port on /dev/ttyUSB0. Great! But I thought maybe I'd try the AUTO setting anyway. No dice. Got the message:
Error is : No such file or directory
error: opening serial port 'AUTO'
Okay, so I set the port to the USB port it found. 'Got this error:
Error is : Permission denied
error: opening serial port '/dev/ttyUSB0'
Now I'm stuck. That said, however, I really like that the serial port selector instantly recognizes when a new FTDI chip has been plugged in. If only it could make use of it.
-Phil
What does KDE use for a start menu? The debian installer already adds entries in the following places:
Actually, it does happen in the OSX version. Position the cursor ahead of the first character of line 1. Hold down Shift, and hit down-arrow to select that line and however many more you want. Hit Tab. The lines selected and the line that follows will get indented. Now try the same thing in the BASIC Stamp editor, and you will see how it's supposed to work.
-Phil
I'm not understanding where the issue lies. If you start on a line, press down arrow twice, three lines should be selected. Are you saying that in said situation, there would be four?
More on tabs. The Propeller Tool is smart about tab widths, which necessarily vary in different sections of the program. Two spaces are appropriate in the Spin section, but not in the DAT (PASM) section. PropIDE needs to emulate the PropTool's behavior regarding tab widths.
-Phil
PropellerIDE uses a default 4-space tab stop regardless of context. Two spaces makes it extremely difficult for me to see the indent level, so I am not thrilled about implementing this feature.
BTW... The issue tracker for PropellerIDE is a great place to get issues and possible enhancements noticed and maybe even solved! I'm sure the tracker makes it much easier for Brett to monitor issues, rather than scouring the forum for issues. Check it out, add your issues, get results!
The Propeller IDE started to be a good Propeller Tool replacement for me since the OpenSpin compiler was upgraded to support non standard P1V instructions but I didn't test it yet in "production" ( (better call it play...) environment. I only tested if it can compile a program with these mul etc. (yes, it works)
Then the Parallax 2 font looks ugly in Windows. I replaced it with Parallax (without "2") - it is better. Then I set Consolas, as I have set in my other programming environments.
If you start on a line, press down arrow twice, three lines should be selected.
That is not what I would expect. Rather if I start at the beginning of a line, hold shift and hit arrow down I would expect one line to be selected. Hit arrow down again and two are selected etc
This is how it works in Sublime Text, Kate, Simple IDE and many other editors. PropellerIDE is the one one out here. This is reasonable behaviour as one has not selected any characters on that last line so why move anything?
Starting the selection other than at the beginning of the line is different, one arrow down indeed selects two lines in the editors I mention above.
I'm not understanding where the issue lies. If you start on a line, press down arrow twice, three lines should be selected.
If you position the cursor at the beginning of line 1, hit shift down-arrow twice, you select line1 and line 2, and the cursor lands at the beginning of line 3. Line 3 is NOT selected, though. The cursor is there only because the newline at the end of line 2 is included in the selection. So when you hit TAB, only lines 1 and 2 should get indented. That's the way the BASIC Stamp Editor works, the way UltraEdit works, along with every other code editor (save PropTool) that I've ever used.
PropellerIDE uses a default 4-space tab stop regardless of context. Two spaces makes it extremely difficult for me to see the indent level, so I am not thrilled about implementing this feature.
It's two spaces on my PropIDE installations, and I didn't change anything to make it that way. In PropTool, the tab spacing is context-dependent by necessity. At the very least, the tab spacing in the DAT section should conform to the needs of columnar-oriented PASM, rather than those of indented-nested Spin.
In any event, the look, feel, and performance of PropTool should be held as a minimum standard for PropIDE. Otherwise Parallax will never be able to make the transition.
I looked in those places and didn't see any references to PropIDE. Mint/KDE uses something called the Kickoff Application Launcher that works a lot like the Windows Start menu.
'Just noticed something else: the font used in the terminal screen of the OSX version is proportionally spaced, not monospaced. That makes it impossible to align textual output in columns. (I haven't checked that in the other versions yet.)
-Phil
I'm not seeing this... In fact, the code for setting the font in the Terminal source is:
I don't want "Yet Another Website Account" unless it's really important to me, so I won't be commenting on the issues pages (the same reason I don't use github ;p ). I see some things do need to be addressed though. For example, to use CP1202, you will need to toggle RTS for reset ... the loader could probably just toggle both RTS and DTR without bad effects.
The way to make application Icons show up in Debian, Mint, and Ubuntu is to do this:
'Just noticed something else: the font used in the terminal screen of the OSX version is proportionally spaced, not monospaced. That makes it impossible to align textual output in columns. (I haven't checked that in the other versions yet.)
-Phil
I'm not seeing this... In fact, the code for setting the font in the Terminal source is:
Comments
-Phil
I see! Not how I generally select text, but yes that seems to set the cursor at the beginning of the next line. This might be an inherent side-effect of the Qt text editor code. I'll look at the source and see if I can suggest a fix in the bug tracker, for Brett.
Thanks for pointing this out,
dgately
https://lamestation.atlassian.net/browse/IDE-61?jql=project%20%3D%20IDE
dgately
PropIDE's font rendering has some definite quirks, mainly in the stroke weights, which are not uniform. For example, look at the equal signs. Also, the tops of the characters look a bit scalped. Hopefully, this is something that can be addressed and is not endemic to Qt.
I've just noticed, too, that PropIDE does not render the Unicode glyphs at all:
-Phil
BTW, I looked and found the default style was bold for the Parallax font in PropellerIDE.
I've also discovered that the OSX version provides a means to insert special characters. But the characters you get to choose from are emoticons and other weird stuff, instead of the special Propeller characters for drawing schematics and such.
-Phil
-Phil
Thanks, I will check it out!
I checked out the codemonkey video in your footnotes; AWESOME!
Thanks again.
That worked. Thanks! For anyone wanting to know how to do this, here's the bash command:
Then log out and log back in.
-Phil
-Phil
-Phil
OpenSpin is used as the default compiler on PropellerIDE for all platforms. It's just missing dead code removal so the BST compiler is included for people who need that feature until OpenSpin supports it.
Also yes, openspin has a preprocessor.
Development download links are currently hosted here: http://www.lamestation/downloads/
I'm working on creating a proper landing page to publish progress at the moment.
https://lamestation.atlassian.net/browse/SPIN-11
What does KDE use for a start menu? The debian installer already adds entries in the following places:
I'm not understanding where the issue lies. If you start on a line, press down arrow twice, three lines should be selected. Are you saying that in said situation, there would be four?
PropellerIDE uses a default 4-space tab stop regardless of context. Two spaces makes it extremely difficult for me to see the indent level, so I am not thrilled about implementing this feature.
Thanks Dennis! That is my preferred means of tracking issues.
Of course putting schematics into text files like that is generally a bad idea anyway.
Then the Parallax 2 font looks ugly in Windows. I replaced it with Parallax (without "2") - it is better. Then I set Consolas, as I have set in my other programming environments.
This is how it works in Sublime Text, Kate, Simple IDE and many other editors. PropellerIDE is the one one out here. This is reasonable behaviour as one has not selected any characters on that last line so why move anything?
Starting the selection other than at the beginning of the line is different, one arrow down indeed selects two lines in the editors I mention above.
-Phil
In any event, the look, feel, and performance of PropTool should be held as a minimum standard for PropIDE. Otherwise Parallax will never be able to make the transition.
-Phil
I looked in those places and didn't see any references to PropIDE. Mint/KDE uses something called the Kickoff Application Launcher that works a lot like the Windows Start menu.
-Phil
I have both /usr/share/applications/propelleride.desktop and /usr/share/menu/propelleride in place.
I'm not seeing this... In fact, the code for setting the font in the Terminal source is:
dgately
On Mac OS, a crash report is placed in one of 2 locations. Either ~/Library/Logs/CrashReporter/ or /Library/Logs/CrashReporter/...
If you can attach the crash report for PropellerIDE to a tracker item (https://lamestation.atlassian.net/browse/IDE-61?jql=project%20%3D%20IDE) or even here on the forum, it will help Brett and others find and fix the problem.
dgately
I don't want "Yet Another Website Account" unless it's really important to me, so I won't be commenting on the issues pages (the same reason I don't use github ;p ). I see some things do need to be addressed though. For example, to use CP1202, you will need to toggle RTS for reset ... the loader could probably just toggle both RTS and DTR without bad effects.
The way to make application Icons show up in Debian, Mint, and Ubuntu is to do this:
Create a .desktop file. For example ....
PropellerIDE.desktop contents:
[Desktop Entry]
Type=Application
Name=PropellerIDE
Comment=Parallax PropellerIDE
Exec=/usr/bin/propelleride
Icon=/usr/share/pixmaps/PropellerIDEx32.png
terminal=false
Categories=Development;
Make sure you have the Icon and Exec set correctly.
PropellerIDEx32.png is attached ... I have higher resolutions in an icon file if needed.
Put PropellerIDE.desktop in /usr/share/applications/PropellerIDE.desktop (need to be root or use sudo).
"Propably" need to log out then log in again to see the icon in the start menu.
Here's a screenshot. It's definitely not the Parallax font.
-Phil