maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] TxPad QML - Advanced code editor for Harmattan (https://talk.maemo.org/showthread.php?t=83969)

trx 2012-04-29 12:55

[Announce] TxPad QML - Advanced code editor for Harmattan
 
Hello,

After another total rewrite, (this time combining FPC, Lazarus(LCL), C++, Qt and QML) i am pleased to announce TxPad(QML) version 0.1.0.
I have decided to publish version 0.1.0 which isn't yet completed (not all features of the Fremantle version of TxPad are implemented) because i wanted to finally publish something after a *lot* of work and in order to receive some feedback before i proceed with development.

This version of TxPad was made and tested on N950 so i would appreciate input from those of you with N9's on how the interaction with the app is, what can be improved so it can be easier to use.. For example in the next version i want to add arrow buttons on the right side of the screen over the editor when the proximity sensor is closed..

EDIT : Version 0.5.5 is now available!
Code:

* Changes v0.5.5
 - Fixed several bugs
 - Added Reload feature to the File Menu
 - Added custom selection handles which to some extent emulate the system ones
 - Selection block is now persistent so the selection is not lost when scrolling
 - Selection block is now canceled only when the proximity sensor is closed and user taps somewhere
 - Open recent menu now works properly
 - Moved configuration files from ~/TxPad/ to /home/user/.config/TxPad/
 - Added background implementation for FTP support which will be introduced fully in the next version

* Changes v0.4.0
 - Added New, Open and Save buttons to the helper bar
 - Filled the Edit menu with related items
 - Added macros
 - Added Replace (with RegEx support)
 - Greatly improved rendering performance
 - Fixed a bug where chunks of code were invisible
 - Fixed Swype support
 - Further optimized kinetic scrolling
 - Proximity sensor is not read when the application is minimized
 - Fixed some other minor bugs

* Changes v0.3.0
 - Added Cut, Copy and Paste buttons
 - Added Undo and Redo buttons
 - Added bookmarks
 - Added About page
 - Fixed some minor bugs

* Changes v0.2.0
 - Sort File Dialogs alphabetically
 - File Dialogs can open files without extensions
 - Fixed font size in file dialogs
 - Added TAB to helper bar
 - Fixed orientation of menus
 - Fixed scrolling in menus
 - Fixed touch event propagation in menus
 - Added JavaScript highlighting
 - Added ability to choose highlighter

Also, you can report bugs that i didnt notice so i can fix them for the next release..

http://img14.imageshack.us/img14/536...screenshot.pnghttp://img11.imageshack.us/img11/772...screenshot.png

Currently, the following works:
* Ability to open and save multiple files
* Code syntax highlighting
* Code folding (pascal only for now, but you can fold custom selections with any)
* Search and replace (with RegEx)
* Kinetic scrolling/Pinch to zoom
* Ability to change colors of the editor
* A helper bar with additional characters commonly used that you can customize
* When you cover the proximity sensor, scrolling/pinching gets disabled and selection mode is enabled. Also Home/End and PgUp/PgDown buttons are shown
* Send all/selection to paste bin
* Export with code highlighted to HTML
* Recent Files menu
* Ability to change highlighter manually
* Bookmarks
* Macros
* Custom selection handles (select text by covering the proximity sensor, refine it using the handles)

I intend to add those features that are in also Fremantle version such as:
* Open & Save from/to FTP
* Scripts (run sh scripts from TxPad)

Syntax highlighting is currently available for:
Delphi, FPC, C, Java, Perl, HTML, XML, Python, lfm, sh, CSS, PHP, TeX, SQL, VB, Ini, Bat and JavaScript so far...

TxPad is currently in apps.formeego.com *testing* repo, in order to install it do the following:
* On the application grid in your device, click on the 'Settings' icon. Click on 'Applications', 'Installations' and make sure the slider is set to on for 'Allow installations from non-Store sources.
* With your phone browser download http://apps.formeego.org/n9client (this will install apps.formeego.com client app)
* Open Apps For Meego application, and go to settings, and click Enable Review Mode.
* Now you can find and install "TxPadQML" from the client.

Edit(2013-06-20):
As MeeGo COBS is down now i have moved the files to my server for now.

Link to the .deb file :
http://txpad.devbin.org/files/txpadqml_0.5.5_armel.deb

http://txpad.devbin.org/files/txpad_deb_qr.png

Link to the .dsc file :
http://txpad.devbin.org/files/txpadqml_0.5.5.dsc
Link to the .tar.gz file :
http://txpad.devbin.org/files/txpadqml_0.5.5.tar.gz

TxPad QML is now in OpenRepos : https://openrepos.net/content/trx/txpad-qml

You can download and install the .deb file or add the repository and then as root do "apt-get install txpadqml"

As i have no way to set up donations, i have uploaded TxPad QML to Nokia Store where it costs 5 euros. So if anyone wishes to contribute to the project in this way, it would be welcome. Of course, TxPad will remain free here and in AppsForMeego & OpenRepos always, and its sources available.

I hope it will be usefull for you.

TRX.

jkingok 2012-04-30 12:04

Re: [Announce] TxPad QML - Advanced code editor for Harmattan
 
Oh wow I need this and so far on my N9 it looks great and works pretty well.

A couple of things from my first test:
* the File Open selector wasn't sorted alphabetically at all so it was very hard to find the file I wanted.
* my Python script that I tried to open had no file extension which confused the selector which tried to open it as a directory.
* the helper bar needs a Tab character in it and I can't easily add one manually.
* the menu for File, View and so on appears on the landscape edge (left side running down the screen) when the phone is in portrait, which is quirky :)

The syntax highlighting is the killer feature for me. I spent literally one hour on the weekend on the phone in Nano debugging an unescaped double quote (as it turned out). In which case I need to request Javascript and QML highlighting...

et3rnal 2012-05-06 06:49

Re: [Announce] TxPad QML - Advanced code editor for Harmattan
 
This is awesome work, thanks heap

I'v just test it, all good, a bit of lag/glitch ?

I would love to see "ideone" support :D as I tried to do this as a separate app myself few weeks ago but using WSDL for their APIs was a really pain to deal with for such a beginner like me

http://ideone.com

Thanks again

trx 2012-05-07 20:31

Re: [Announce] TxPad QML - Advanced code editor for Harmattan
 
The version 0.2.0 is now in the repository : Download

Its not yet in apps for meego because the bot in cOBS that evaluates and moves packages seems to be stuck for several days now and i haven't got any answers about when it will be functioning again...
EDIT: They are aware of the problem and are working on fixing it, it should be functional soon...
EDIT 2: Its working now :)

The changelog :
Code:

- Sort File Dialogs alfabetically
 - File Dialogs can open files without extensions
 - Fixed font size in file dialogs
 - Added TAB to helper bar
 - Fixed orientation of menus
 - Fixed scrolling in menus
 - Fixed touch event propagation in menus
 - Added JavaScript highlighting
 - Added ability to choose highlighter

Quote:

Originally Posted by et3rnal (Post 1202446)
I'v just test it, all good, a bit of lag/glitch ?

Because the editor component is custom (lazarus version of SynEdit) it can't make use of native kinetic scrolling.. This is why i had to write kinetic scrolling myself based on Qt's QAbstractKineticScroller code. The glitches that you see are in fact various parameters being "not tuned" and can be improved with trial and error. I didn't focus on this but on adding features :)

If you or anyone else would like to help with that i can create an interface that can change these parameters on the run and you can then give them to me when you find optimal settings..

Quote:

Originally Posted by et3rnal (Post 1202446)
I would love to see "ideone" support :D as I tried to do this as a separate app myself few weeks ago but using WSDL for their APIs was a really pain to deal with for such a beginner like me

http://ideone.com

I guess this could be useful, i will check it out and if possible add support for this when everything is polished..

Thank you guys for comments and bug reports!

TRX.

trx 2012-05-08 13:14

Re: [Announce] TxPad QML - Advanced code editor for Harmattan
 
Hi,

v0.2.0 is now available as an update.. First post updated.

TRX.

Schturman 2012-05-08 14:18

Re: [Announce] TxPad QML - Advanced code editor for Harmattan
 
Thank you! Started using your app :)
Can you add two buttons to the white line: copy and paste ?
Please.

trx 2012-05-08 14:48

Re: [Announce] TxPad QML - Advanced code editor for Harmattan
 
Quote:

Originally Posted by Schturman (Post 1203539)
Thank you! Started using your app :)
Can you add two buttons to the white line: copy and paste ?
Please.

Yes, i forgot about that, sorry... i tested that on n950 where i have Ctrl+C and Ctrl+V and forgot about the N9..

Expect it in the next version soon...

TRX.

P4d0uch 2012-05-11 15:49

Re: [Announce] TxPad QML - Advanced code editor for Harmattan
 
Copy and paste is the only thing that im missing. Thanks for your app anyway. Im looking forward for the next version

trx 2012-05-12 12:07

Re: [Announce] TxPad QML - Advanced code editor for Harmattan
 
Hi,

Version 0.3.0 is now available, first post updated with changes..

TRX.

www.rzr.online.fr 2012-05-12 13:16

Re: [Announce] TxPad QML - Advanced code editor for Harmattan
 
you can also install it from "shared repo" if it matters ...

Regards


All times are GMT. The time now is 07:43.

vBulletin® Version 3.8.8