CPM Update

Hi Jay,

I know you’ve been working on CPM along with your game, which looks great btw…

Just curious do you have an ETA for the next version?

I’m experiencing some crashes (more than a few actually) working mostly when clicking files on CPM main window, etc.

I wanted to wait for the next version before filing any bugs as those might be taken care of…

Keep up the good work…

E. [import]uid: 10478 topic_id: 10409 reply_id: 310409[/import]

I’ve had very few crashing bugs reported, especially not what it sounds like you’re describing. Please send in a report and give me any details to try and replicate if possible.

Technically I’m splitting my time between game and CPM, but the time I’m working on my game actually falls under “testing” for CPM. Lucky me. :slight_smile:

The only thing holding me up on a new release of CPM is that I’m still trying to squash a bug that has to do with the autocomplete. So far it’s Bug 1, Jay 0, but I’m gonna throw some big guns at it really soon.

Jay
[import]uid: 9440 topic_id: 10409 reply_id: 37898[/import]

Great news Jay. Keep up the great work. Thank you very much for your continued efforts on CPM.

PS. Can’t wait to see your game. [import]uid: 11904 topic_id: 10409 reply_id: 37971[/import]

After sleeping on it I’ve decided to stop development of CPM and just focus on games.

Jay

PS - That’s a Carlos-style joke. In reality, I’m putting Roly-Polies HD on hold until I get the next version or two of CPM out the door. So starting right now it’s all CPM, all the time.
[import]uid: 9440 topic_id: 10409 reply_id: 37987[/import]

Heart stopping moment… then Joy!

Can’t wait to see what you have in store… CPM is my most used coding app, I’m even liking the way you can just throw in files from all over the place and everything just works…

Would love to see the option to switch colour themes. I like to code in doors with a dark background but when I’m outside in the garden the code on a dark background is too dark and difficult to see with the sunshine, so I set the colours manually light again which is a pain. Would be nice to toggle themes.

[import]uid: 33866 topic_id: 10409 reply_id: 37989[/import]

Okay, the Cmd-S/F crashing when editing in windows appears to be fixed.

I’m still working on the autocomplete “situation” but if that’s not fixed by the end of the week I’ll go ahead and release a new build with the current fix (as long as autocomplete isn’t hosed by my working on it).

Jay
[import]uid: 9440 topic_id: 10409 reply_id: 37996[/import]

i experience quite many crashes…but still the -unmissable- cool app!
just keep your fingers on command-S a lot does the trick :slight_smile:
i believe its gets better and better every release, so thats ok.
i hope you will take some time from the wishlist along with
your updates Jay :slight_smile: especially the in- and outdent of code-blocks and
a few more!
p.s. will owners get an update of this by mail?
thanks a lot, [import]uid: 54669 topic_id: 10409 reply_id: 38086[/import]

CPM has autoupdate installed and at this point users have no way to turn that off, so as soon as the next version is ready CPM will alert you the next time it’s launched.

PixelEnvisio sent me some great bug reports last night, including steps to reproduce one that was really annoying me (the dirty icon on tabs would get confused). A couple of those bugs have been knocked out so things are coming along.

While this next release may end up being only bug fixes, if I get any new features into it, indent/outdent blocks of code is way up high on that list. I poked at it briefly a couple weeks ago and was disappointed that I couldn’t find a “quick” way to do it, but I’ll look again before this build goes out. That missing feature bites me a lot.

Thanks for all the comments, suggestions, etc.

Jay [import]uid: 9440 topic_id: 10409 reply_id: 38132[/import]

Got tired of working on bugs so I went back to the in/outdent blocks of code…

…and it turned out to be easier than I thought (famous last words). At this point it appears to be working fine, although I haven’t done a ton of testing on it yet.

I copied TextMate’s keypresses for that Cmd-] indents and Cmd-[ outdents. At some point in the future I intend to allow users to remap keys, but that’s still a ways away. (Mainly because it’s boring.)

The only thing I need to complete before releasing this version is to stabilize autocomplete. I’ve had some people report it doesn’t work at all for them. I’ve seen it “stop working” until I close and reopen the source file, but haven’t found a way to duplicate it yet – which makes it really hard to track down the problem.

Anyway, just thought I’d give you an update on some of the good news. :slight_smile:

Jay
[import]uid: 9440 topic_id: 10409 reply_id: 38148[/import]

Great news :slight_smile:

Bug fixes & a new feature, yummy! [import]uid: 10478 topic_id: 10409 reply_id: 38220[/import]

While the list of functions is great for jumping around your source code, if you don’t break things up and end up with a few dozen functions, even that isn’t very handy.

In v2.3 I’m introducing bookmarks. Click the gutter next to the line numbers and it will drop (or clear an existing) bookmark:

That makes it a LOT easier to jump back to certain routines you’re always dinking in.

That version will be out (hopefully) within a week.

Jay
[import]uid: 9440 topic_id: 10409 reply_id: 38325[/import]

cool jay! cant wait. [import]uid: 54669 topic_id: 10409 reply_id: 38330[/import]

PS - To the people who are trying out the new version – before you use bookmarks for the first time, close any open tabs. Then you can reopen those files and add bookmarks as you like. Opening a source file does some magic behind the scenes so bookmarks know which file they’re attached to, and already opened source files (that reopen when you launch CPM) won’t have that magic thing set yet.

Once you’ve closed all files the first time you’ll never have to worry about that again. :slight_smile:

Jay
[import]uid: 9440 topic_id: 10409 reply_id: 38496[/import]

Great work Jay!

Just downloaded my copy… [import]uid: 10478 topic_id: 10409 reply_id: 38506[/import]

I’m testing what will be Corona Project Manager version 2.3 this weekend. If you’re not afraid of “new stuff” feel free to download a copy and give it a shot – no installer or anything, just download, and unzip. You can run it from your desktop or something and that way keep your current version intact – just in case. :slight_smile:

Don’t run both versions at the same time. Probably nothing bad would happen, but both copies would be accessing the same database file (and it’s not multi-user).

Here’s what’s new in this version - fixes and features:

[NEW] Added View menu to hold stuff related to viewing… stuff.
[NEW] Show/Hide Invisibles under the View menu for seeing carriage returns, tabs, etc.
[NEW] Click the left side of the gutter to add/delete bookmarks.
[NEW] Bookmarks button in the toolbar to jump to bookmarks in the code.
[NEW] Hooked up Edit > Redo menu so both Undo and Redo work.
[FIX] Fixed Windows keypress for Save - now just Ctl+S the way it should be.
[FIX] Cmd-S and Cmd-F no longer crash the app when editing in windows is active.
[FIX] When two tabs are open and first one is closed, the second one now gets the focus, not the Preview tab.
[FIX] Dirty icons no longer get confused about which tab/text is dirty or not.
[FIX] Autocomplete no longer adds words that it already knows about.
[FIX] Autocomplete much more stable.

Here are the temporary download links:

Corona Project Manager 2.2.5 for Mac:
http://coronaprojectmanager.com/files/CPM225.zip

Corona Project Manager 2.2.5 for Win:
http://coronaprojectmanager.com/files/CPM225Win.zip

When this is released “for real” it will be renumbered 2.3 so your autoupdate will pick it up.

Let me know how it goes for you! :slight_smile:

Jay
[import]uid: 9440 topic_id: 10409 reply_id: 38495[/import]

Got word of a bug in 2.2.4 that *had* to be fixed, so the links in the previous message are changed to point to v2.2.5 which has the fix in place.

Dragging assets from one project to another broke. What bothered me was that from 2.2.2 until now I hadn’t even *messed* with that area of the program. The problem turned out to be that in the interim I had updated my development environment to the new version of the compiler – and that introduced the bug. All I had to do to fix the problem in CPM was to launch the old compiler and rebuild.

Kind of a bummer not to use the latest version of something, but I’m glad I didn’t spend umpteen hours trying to figure out what was wrong with my code when it wasn’t my code after all. :slight_smile:

Jay
[import]uid: 9440 topic_id: 10409 reply_id: 38557[/import]

Autocomplete is looking nice still, however a small annoyance:

When you type in Obj:addeve…

Obj:addeventListener( “touch” ,whateverFunction) – Gets generated but I wanted:

Obj:addEventListener( “touch” ,whateverFunction)

Notice the lowercase ‘e’
Not sure if you have noticed this, as I’m sure this wasn’t happening in the previous version of Corona Project Manager
– Chris [import]uid: 33866 topic_id: 10409 reply_id: 38570[/import]

@cl-apps

I can verify this, just tested and case corrected in 2.2.2. [import]uid: 10478 topic_id: 10409 reply_id: 38573[/import]

I had that happening for me in 2.2.2 when I’d type in setFillColor – always turned the F to lowercase. Tried to track it down and couldn’t – I don’t explicitly change the case during the operation.

Stopped happening in 2.2.3+ and I figured the text encoding stuff I did fixed the problem – but I obviously didn’t test everything in the autocomplete list.

I’ll look at this and beat it into submission tomorrow.

Thanks for all the help in finding the problems with this version. While I don’t expect it will ship “bug free” I don’t want any huge glaring problems jumping up. :slight_smile:

Jay
[import]uid: 9440 topic_id: 10409 reply_id: 38644[/import]

Hmmm…looking into this tonight and I’m not sure it’s a “bug.”

If I type in foobar = 12 and then later type in Foo… and select foobar from the autocomplete options, I’m not sure CPM should take it upon itself to change what I typed in.

You could say that autocomplete shouldn’t show foobar as a completion for Foo since the case doesn’t match, but I think that’s a different question.

Yes? No?

Jay
[import]uid: 9440 topic_id: 10409 reply_id: 38676[/import]