[Lazarus] For issue #31638 (gtk2 function that require free mem)

2017-04-19 Thread Alexey via Lazarus
+ if Assigned(Path) then + begin +AStr := gtk_tree_path_to_string(path); +AIsSet := (StrToInt(AStr) = AIndex); +if AStr <> nil then + g_free(AStr); +if Path <> nil then + gtk_tree_path_free(Path); +Result := True; + end; 1-

Re: [Lazarus] Quick Video: A Web Application

2017-04-19 Thread Anthony Walter via Lazarus
Here are the typescript files: https://github.com/sysrpl/Codebot.Files I'll add the C# file backend after I remove my salt and private keys, and denote to other people that they need to add their own salt and private keys. For the curious, here is what the file with main() looks like: https://g

Re: [Lazarus] Quick Video: A Web Application

2017-04-19 Thread Graeme Geldenhuys via Lazarus
On 2017-04-19 15:58, Michael Schnell via Lazarus wrote: > Lazarus would b able to seamlessly create such programs (even more up to > date, versatile and fast: using WebAssembly compiled from Pascal instead > of hand crafted Java Script). I believe that is what Michael van Canneyt is working on.

Re: [Lazarus] Quick Video: A Web Application

2017-04-19 Thread Michael Schnell via Lazarus
On 19.04.2017 16:31, Graeme Geldenhuys via Lazarus wrote: That's very impressive. I'm still amazed at what is actually possible via a web browser - other than just viewing web pages. Thanks for sharing. In fact my little QNAP NAS (an ARM Linux Box) features a GUI vi Browser that is very similar

Re: [Lazarus] Quick Video: A Web Application

2017-04-19 Thread Anthony Walter via Lazarus
Thank you all for the feedback and discussion. From me, the implementer and designer, I can say the most difficult part of creating this project, and in most projects, is not the actual programming. It's the creation of the user interface design. Choosing and creating a layout, and deciding on css

Re: [Lazarus] Quick Video: A Web Application

2017-04-19 Thread Leonardo M. Ramé via Lazarus
El 19/04/17 a las 11:14, Michael Van Canneyt via Lazarus escribió: On Wed, 19 Apr 2017, Anthony Walter via Lazarus wrote: This isn't a free pascal or lazarus project, but something I wrote using typescript quite a while ago. http://cache.getlazarus.org/videos/cloud-files.mp4 Soon, you'll

Re: [Lazarus] Quick Video: A Web Application

2017-04-19 Thread Graeme Geldenhuys via Lazarus
On 2017-04-19 14:54, Anthony Walter via Lazarus wrote: > This isn't a free pascal or lazarus project, but something I wrote using > typescript quite a while ago. That's very impressive. I'm still amazed at what is actually possible via a web browser - other than just viewing web pages. Thanks for

Re: [Lazarus] Quick Video: A Web Application

2017-04-19 Thread Michael Van Canneyt via Lazarus
On Wed, 19 Apr 2017, Anthony Walter via Lazarus wrote: This isn't a free pascal or lazarus project, but something I wrote using typescript quite a while ago. http://cache.getlazarus.org/videos/cloud-files.mp4 Soon, you'll be able to write this app in Free Pascal. Michael. -- __

[Lazarus] Quick Video: A Web Application

2017-04-19 Thread Anthony Walter via Lazarus
This isn't a free pascal or lazarus project, but something I wrote using typescript quite a while ago. http://cache.getlazarus.org/videos/cloud-files.mp4 I thought you guys might want to look at and digest it for the following reasons. Obviously it's an application, but one which mimics a desktop

[Lazarus] Code formatting help needed with Case statement

2017-04-19 Thread Graeme Geldenhuys via Lazarus
Hi, I'm using the built-in JEDI Code Formatter. When I format my code, the case statement ends up looking as follows: case Visited.ObjectState of posCreate: begin // my code goes here end; posUpdate: begin // my code goes here end; po