We've now pushed live an update for the mbed Compiler focused on bug fixes and stability; it addresses a whole variety of quirky cross-platform problems and general application bugs, and has a good deal of internal rework to set us up for the next set of features.
The current compiler has actually proven itself to work really well, but with this update it is feeling more stable than ever across lots of different platforms; in fact, our compiler bug list is now empty (but I'm sure you'll help us change that!). Thanks to everyone who provided us bug reports and feedback to identify these issues.
Here is a summary of the important bugs that should now be squished...
Cross-browser compiler fixes
- Support added for Mac/AltGr/Foreign keyboards (as reported http://mbed.org/forum/mbed/topic/132/ and http://mbed.org/forum/bugs-suggestions/topic/212/)
- Cursor display problems under Mac/FF fixed (as reported in http://mbed.org/forum/mbed/topic/216/)
- Right-click working under Mac FF and Safari (as reported in http://mbed.org/forum/mbed/topic/63/)
- Copying compiler errors working in Mac/Safari
- Mac "delete" and "backspace" behaviour fixed
General compiler fixes
- Rename and Save As behaviour fixed (as reported in http://mbed.org/forum/mbed/topic/213/, http://mbed.org/forum/mbed/topic/151 and http://mbed.org/forum/bugs-suggestions/topic/212/)
- Lots of fixes and enhancements to file naming and checking (as reported in http://mbed.org/forum/mbed/topic/177/)
- Syntax highlighting bugs fixed (as reported in http://mbed.org/forum/mbed/topic/115)
- Binary filenames now include the mbed compile target e.g. <filename>_LPC1768.bin (as reported in http://mbed.org/forum/mbed/topic/310/)
- Tab space insertion now includes tabstops (as reported http://mbed.org/forum/mbed/topic/360/)
Publishing and importing
We also added a minor improvement to the compiler to allow importing of published projects as libraries. This basically means if you publish something containing reusable code (e.g. a peripheral driver class .h/.cpp, and no main() function or libraries), someone can pull it in as a library and use it within their project just using the URL. It is very primitive at the moment, but it squares-the-circle and makes it possible.
If you publish a project, when you go to it's homepage it looks something like:
Note, when publishing, you also now have the option to add a description and tags.
If you click "Import program in to Compiler", it'll do just that - Import this as a whole new program. No change there.
However, if you just copy the URL and go to the compiler, you can now right-click an existing program and select "Import Library...". Then paste in the URL and hit "Import":
Your program will now have pulled in the code as a library. You can also use the URL under "Import Files..." if you actually want to see/edit the files. There is lots of scope for improvement here, but hopefully this is a good start!
That's it for now. Thanks again for all the reports; if you have any problems after these updates, or spot new ones, please make sure you report it in the Bugs and Suggestions Forum!
You need to log in to post a comment