Author Topic: SourceCoder 2.5: Updates and Features  (Read 4115 times)

0 Members and 2 Guests are viewing this topic.

Offline SourceCoder2

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +0/-0
    • View Profile
    • SourceCoder 2.5
SourceCoder 2.5: Updates and Features
« on: June 12, 2010, 02:16:46 am »
(crosspost from Cemetech, http://www.cemetech.net/forum/viewtopic.php?t=4591.  If possible, please poke me at Cemetech, as I check there much more often)

Since the early day of SourceCoder, when SourceCoder v1.0 was featured on ticalc.org in November 2005, it has gone through many iterations and changes.  That first version was capable merely of parsing and showing the code for TI-83 and TI-83+ programs and a few other sundry formats, like images and lists.  Since then, myriad additions have been made, from allowing users to edit programs online and then reconvert them to .8xps, to syntax coloring and rudimentary optimization, to a Javascript virtual "calculator" keypad to make finding tokens easier, to a postbot that takes the PasteBin concept one step further and can actively participate in optimization and debugging discussions.  Recent discussions in the past week or two started by newcomer pilotmm and long-time community member Galandros prompted me to complete quite a few unfinished to-do items on the project, as well as make some long-overdue updates to the general user experience.  Among the most significant changes since SourceCoder v2.0:

:: Completely re-styled virtual calculator keypad, now much spiffier and with complete menus including VARS and CATALOG.
:: From the editor, users can now specify whether output .8xp files should be edit-locked or unlocked, and whether each file should be marked for storage in RAM or Archive.
:: Cleaner and more concise SourceCoder start page, with better-functioning project tools.
:: Short sharing links available directly from the start page for easy copy/pasting to fora.
:: TI-84+ MathPrint tokens now supported.
:: Many updates and fixes to previous missing and poorly-translated tokens, both for source viewing and editing.
:: Improved "pretty" code for viewing to "functional" code for editing conversion
:: SourceCoder 2 postbot takes one to two seconds to post on community fora, down from 30-40 seconds per update.
:: Improved handling of automatic code indentation

Please give it a gander, let me know about any comments, suggestions, praise, or criticism that you have, and I hope it will become (or continue to be) a valuable tool in your TI-BASIC (or Axe?) programming arsenal.  Here is a sample shared project; have fun.

SourceCoder 2.5 Links
SourceCoder 2.5 (http://sc.cemetech.net)
Direct link to online editor


Offline SourceCoder2

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +0/-0
    • View Profile
    • SourceCoder 2.5
Re: SourceCoder 2.5: Updates and Features
« Reply #1 on: June 12, 2010, 02:18:48 am »
SHARED
DJ Omnimaga has just edited this program.  The source code now reads:
Quote from: BASIC Code
:Disp "Now Live with SourceCoder 2"
:Testing font sizes on Omnimaga / SMF
Generated by SourceCoder, © 2005-2010 Cemetech
This is an automatic post from SourceCoder 2.  Report abuse to [email protected] . You can disable these posts by unchecking the "Post on Update" box in the file's permissions.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: SourceCoder 2.5: Updates and Features
« Reply #2 on: June 12, 2010, 02:23:48 am »
This is nice to see this updated! However I can't figure out how to post a new project code on a site with the bot. I see no option anywhere in Opera :/

Offline SourceCoder2

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +0/-0
    • View Profile
    • SourceCoder 2.5
Re: SourceCoder 2.5: Updates and Features
« Reply #3 on: June 12, 2010, 02:26:53 am »
This is nice to see this updated! However I can't figure out how to post a new project code on a site with the bot. I see no option anywhere in Opera :/
I'll add this to the help file.  The steps:

1) Create a new project.  Add code to it.
2) Save it to your projects.
3) In the main SourceCoder page, select your project, and click Permission
4) If you want it to be open for collaboration, choose some combination of View: Everybody and Edit: Everybody.
5) Save and return to the main page, and you'll have an XPI link to post.

If you have that link in a topic, anyone who clicks the link, makes edits, and saves will have their edits posted to that topic.  Of course, in Permissions there's a box to check if you just want to share code and you don't want the bot to post on updates.

Edit: Whoopsies, logged in from the wrong account. >_<
« Last Edit: June 12, 2010, 02:28:10 am by SourceCoder2 »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: SourceCoder 2.5: Updates and Features
« Reply #4 on: June 12, 2010, 02:32:25 am »
Ok thanks. Now I have this problem, tho :/

EDIT: nvm, they are completly at the bottom below SAX. It might be nice to improve the cross-browser compatibility a little bit   :P

EDIT: Well, regardless of if the box is checked or not, I do not see any link for the forum post anywhere. :/
« Last Edit: June 12, 2010, 02:38:18 am by DJ Omnimaga »

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: SourceCoder 2.5: Updates and Features
« Reply #5 on: June 12, 2010, 04:28:16 am »
Nice features, they look neat and will be of great use.
Hobbing in calculator projects.

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: SourceCoder 2.5: Updates and Features
« Reply #6 on: June 12, 2010, 10:08:31 am »
DJ_Omni, cf. Cemetech for my solutions; a missing character was throwing Opera off, and I never noticed because Firefox and IE both recover from the error more gracefully.



Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: SourceCoder 2.5: Updates and Features
« Reply #8 on: June 12, 2010, 04:41:59 pm »
These are some nice features.  Great job Kerm! ;D

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: SourceCoder 2.5: Updates and Features
« Reply #9 on: June 12, 2010, 09:58:26 pm »
Thanks ztrumpet! I tried to edit your program, DJ, to no avail. :( Can you check out my post in the mirror topic on Cemetech? I asked how you managed to come up with that br error.



Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: SourceCoder 2.5: Updates and Features
« Reply #10 on: June 12, 2010, 10:52:29 pm »
Yay, updates! I noticed you fixed the Y-var <span size=6> problem. This is going to be useful.

test http://sc.cemetech.net/?xpi=1129f8d1bac4362133f63dc36c09a413

It works after I changed it to
:TEST
:ClrHome

instead of
:TEST
ClrHome


Thanks ztrumpet! I tried to edit your program, DJ, to no avail. :( Can you check out my post in the mirror topic on Cemetech? I asked how you managed to come up with that br error.

Same here. Maybe it's specific to Opera?

EDIT: Tried it again, but this time, when I pressed Revert to View, a bunch of errors came up that implied that the linebreak was translated as &lt;br /&gt;.
« Last Edit: June 12, 2010, 11:02:23 pm by Deep Thought »




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: SourceCoder 2.5: Updates and Features
« Reply #11 on: June 12, 2010, 11:46:09 pm »
Mhmm, I still don,t get how to send to a topic in particular. I tried saving my project and following the link, and no bot came to post anywhere here :/

http://sc.cemetech.net/?xpi=2f4be41ea5e0cd4814af3881f2cb1229
« Last Edit: June 13, 2010, 01:43:25 am by DJ Omnimaga »

Offline SourceCoder2

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +0/-0
    • View Profile
    • SourceCoder 2.5
Re: SourceCoder 2.5: Updates and Features
« Reply #12 on: June 13, 2010, 01:45:49 am »
NAME
DJ Omnimaga has just edited this program.  The source code now reads:
Quote from: BASIC Code
:Output(1,1,"HELLO WORLD!"
:Pause
:ClrHome
Generated by SourceCoder, © 2005-2010 Cemetech
This is an automatic post from SourceCoder 2.  Report abuse to [email protected] . You can disable these posts by unchecking the "Post on Update" box in the file's permissions.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: SourceCoder 2.5: Updates and Features
« Reply #13 on: June 13, 2010, 01:49:27 am »
Nvm it works now!