Re: [Lazarus] Ann: class code creation

2016-03-07 Thread Luiz Americo Pereira Camara
2016-03-07 17:25 GMT-03:00 Ondrej Pokorny : > > > Hit Ctrl+Shift+X on the undeclared variable x and you get a dialog: > Thanks for the work In the dialog title, i suggest to replace "variable" by "field" Luiz -- ___ Lazarus mailing

Re: [Lazarus] Form Resizing

2016-03-06 Thread Luiz Americo Pereira Camara
2016-03-06 19:47 GMT-03:00 Giuliano Colla : > Il 06/03/2016 18:27, Bo Berglund ha scritto: > [...] > >> I have no idea what you mean by this statement... >> What is LXDE and how do I test Lazarus for LXDE? >> > [...] > >> Apart fromn that I >> have no idea how to use

Re: [Lazarus] Run/debug app with command line params through the IDE

2016-02-28 Thread Luiz Americo Pereira Camara
Thanks Luiz 2016-02-28 18:39 GMT-03:00 Denis Kozlov <dez...@gmail.com>: > > Lazarus Main Menu > Run > Run Parameters... > > > > On 28/02/2016 21:32, Luiz Americo Pereira Camara wrote: > >> I'd like to debug a console app inside the ide. >> >&g

[Lazarus] Run/debug app with command line params through the IDE

2016-02-28 Thread Luiz Americo Pereira Camara
I'd like to debug a console app inside the ide. In order to the program work i need to pass some command line params Is there a way to run the app through the IDE passing command line params? Luiz -- ___ Lazarus mailing list

Re: [Lazarus] Procedure List dialog regressions

2016-02-28 Thread Luiz Americo Pereira Camara
2016-02-28 2:13 GMT-03:00 Ondrej Pokorny : > On 27.02.2016 10:46, Graeme Geldenhuys wrote: > >> I implemented the Procedure List functionality for Lazarus - I know how >> it works and what it is supposed to do. I'm not going to keep fixing >> things that others break on it. >>

Re: [Lazarus] Tool to convert a multiline text to a pascal string constant

2016-02-03 Thread Luiz Americo Pereira Camara
Thanks for all Getting time i will do a Lazarus extension Luiz Em 3 de fev de 2016 03:13, "Martin Schreiber" <mse00...@gmail.com> escreveu: > On Tuesday 02 February 2016 22:33:56 Luiz Americo Pereira Camara wrote: > > Hi is there any tool for Lazarus to convert a mult

Re: [Lazarus] Tool to convert a multiline text to a pascal string constant

2016-02-02 Thread Luiz Americo Pereira Camara
2016-02-02 18:40 GMT-03:00 Dmitry Boyarintsev <skalogryz.li...@gmail.com>: > On Tue, Feb 2, 2016 at 4:33 PM, Luiz Americo Pereira Camara < > luizameri...@gmail.com> wrote: > >> Hi is there any tool for Lazarus to convert a multi line text (xml >>

[Lazarus] Tool to convert a multiline text to a pascal string constant

2016-02-02 Thread Luiz Americo Pereira Camara
Hi is there any tool for Lazarus to convert a multi line text (xml snipet, SQL) to a string constant? Currently i'm using the following regular expression http://regexr.com/3cna5 If some one knows a better regular expression that handles putting ';' instead of '+ LineEnding +' in last line

Re: [Lazarus] Sparta docked form editor moved to trunk

2015-11-19 Thread Luiz Americo Pereira Camara
2015-11-19 4:25 GMT-03:00 Ondrej Pokorny : > On 19.11.2015 02:40, Anthony Walter wrote: > >> Juha, wow this is gonna be the gold standard. One BIG problem I noticed >> right off however. If you put a control on the form, for example a button, >> you cannot remove it. >> >>

Re: [Lazarus] Dynamic resolution of IDE Macros (at first usage)

2015-11-08 Thread Luiz Americo Pereira Camara
Em 08/11/2015 18:02, "Mattias Gaertner" <nc-gaert...@netcologne.de> escreveu: > > On Sun, 8 Nov 2015 16:38:47 -0300 > Luiz Americo Pereira Camara > > > I have in mind a feature that when an unknow macro is found a dialog is > > show asking for the Macro v

[Lazarus] Dynamic resolution of IDE Macros (at first usage)

2015-11-08 Thread Luiz Americo Pereira Camara
I'd like to setup a IDE Macro to be used in project output file path. Since the value of this Macro is enviroment dependent (the directory of a web server) it can not be saved hardcoded in project options I have in mind a feature that when an unknow macro is found a dialog is show asking for the

Re: [Lazarus] External SIGSEGV (random) when assigning TBookmark

2015-11-02 Thread Luiz Americo Pereira Camara
2015-11-01 13:06 GMT-03:00 Luca Olivetti : > El 01/11/15 a les 13:25, Leonardo M. Ramé ha escrit: > > To me, the code looks correct, but I'm getting a SIGSEGV while assigning >> the bookmark. I must add the error only happens the 2nd or 3rd time this >> method is called: >> > > I

Re: [Lazarus] Literature about REST

2015-10-12 Thread Luiz Americo Pereira Camara
2015-10-11 7:03 GMT-03:00 Koenraad Lelong <lazar...@de-brouwerij.be>: > Op 08-10-15 om 17:23 schreef Luiz Americo Pereira Camara: > >> >> > Hi, >> > >> > I would like to know more about web-programming with REST. Can anyone >> recommend boo

Re: [Lazarus] Literature about REST

2015-10-08 Thread Luiz Americo Pereira Camara
Em 08/10/2015 10:58, "Koenraad Lelong" escreveu: > > Hi, > > I would like to know more about web-programming with REST. Can anyone recommend books or web-sites to read about it ? I virtually know nothing about it. I read this book

Re: [Lazarus] multi step dialog

2015-08-21 Thread Luiz Americo Pereira Camara
2015-08-20 19:54 GMT-03:00 Anthony Walter sys...@gmail.com: I think this might help. I wrote a trivial custom graphic step control. It is in my Cross.Codebot package. http://codebot.org/snapshops/step-pick.jpg property Steps: TStrings; property StepIndex: Integer; property OnStepClick:

Re: [Lazarus] multi step dialog

2015-08-16 Thread Luiz Americo Pereira Camara
2015-08-16 11:33 GMT-03:00 Marc Santhoff m.santh...@web.de: Hi, is there any template like dialog having multiple steps the user switches with next/previous/finish-buttons? https://code.google.com/p/luipack/source/browse/#svn%2Ftrunk%2Fluicontrols%2Fdemos%2Fwizard The API is a bit

Re: [Lazarus] An online package manager

2015-08-10 Thread luiz americo pereira camara
Em 10/08/2015 06:30, Juha Manninen juha.mannine...@gmail.com escreveu: On Mon, Aug 10, 2015 at 8:52 AM, Aradeonas aradeo...@operamail.com wrote: Im agree with Luiz,Its better to have them in a server as a pack, In fact I like the FreeBSD ports system. Does it depend on SCM tools or does it

Re: [Lazarus] An online package manager

2015-08-09 Thread luiz americo pereira camara
Em 08/08/2015 21:49, Kostas Michalopoulos badsectorac...@gmail.com escreveu: I would make this more complicated than absolutely necessary. lpk files have version and dependency information. AFAIK that is all you need to get a minimum working package manager using a central repository although

Re: [Lazarus] Compiler Options - Conditionally add a package dependency?

2015-07-09 Thread luiz americo pereira camara
2015-07-09 12:58 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: On Thu, 9 Jul 2015, Graeme Geldenhuys wrote: Is there a way with the Compiler Options - Other (or Additions and Overrides) to include a specific package based on a compiler define? I would even go further, and have

Re: [Lazarus] Compiler Options - Conditionally add a package dependency?

2015-07-09 Thread luiz americo pereira camara
Guys, i suggest to create another thread to discuss namespace. This thread is a different topic, related to the IDE, while namespace is a compiler thing. Luiz Em 09/07/2015 16:12, silvioprog silviop...@gmail.com escreveu: On Thu, Jul 9, 2015 at 4:05 PM, silvioprog silviop...@gmail.com wrote:

Re: [Lazarus] Selectable desktops in Lazarus IDE

2015-07-09 Thread luiz americo pereira camara
Em 09/07/2015 16:23, Juha Manninen juha.mannine...@gmail.com escreveu: I am happy to tell that Lazarus trunk now (r49514) supports desktop settings which can be saved and selected by user. Can you elaborate a bit about the feature? Luiz Also a debug desktop is supported. This is brought to

Re: [Lazarus] fast mathematical matrix operations

2015-07-07 Thread luiz americo pereira camara
2015-07-07 10:10 GMT-03:00 Graeme Geldenhuys mailingli...@geldenhuys.co.uk : On 2015-07-07 13:36, Andrea Mauri wrote: mrmath actually works on MacOSX. why should be a big problem porting to linux? Indeed. If you limit the scope to x86 and amd64 CPU's then the port shouldn't be too hard.

[Lazarus] Check if a package is available through macros

2015-07-05 Thread luiz americo pereira camara
I'd like to check if a package is installed to add conditional defines. Following the wiki instructions, i added this script in Compiler Options/ Other / Conditionals of a package PackageName := GetIDEValue('$PkgName(''LCL'')'); if Defined(PackageName) then begin CustomOptions := '' +

Re: [Lazarus] VCLJS

2015-06-30 Thread luiz americo pereira camara
2015-06-30 5:44 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: On Tue, 30 Jun 2015, Bee wrote: TypeScript outputs JavaScript, right? Is it possible to use the JS directly? Yes. TypeScript outputs JavaScript. Is it possible to use the JS directly in VCLJS? - I dont know I have no

Re: [Lazarus] VCLJS

2015-06-30 Thread luiz americo pereira camara
2015-06-30 6:07 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: We use ExtJS at work, but are switching to Angular. If you want to go with Angular in the long run you will need to use TypeScript.

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-25 Thread luiz americo pereira camara
2015-06-24 19:02 GMT-03:00 Bo Berglund bo.bergl...@gmail.com: In order to port it we had to convert an OBJ file from the dongle maker to a format FPC accepts (coff) using a 3rd party tool, which also has some bug in it. There's a tool called CVTRES.EXE that comes with Visual Studio that

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-23 Thread luiz americo pereira camara
Take a look at https://msdn.microsoft.com/pl-pl/library/vstudio/7dz62kfh(v=vs.110).aspx (it suggests a cvtres.exe tool) Ask to fpc guru if is possible to use manually an different linker like http://www.digitalmars.com/ctg/optlink.html In the end, i would try to compile a delphi dll and access

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-22 Thread luiz americo pereira camara
In my experince sigsegv occurs mostly when a field or variable is accessed before initialization. Try to set a breakpoint in dongle.initkey call. And evaluate the dongle field (open debugger evaluate window) Look for dongle or one of the tsentinel fields being nil Liiz Em 22/06/2015 05:10, Bo

Re: [Lazarus] Newbie, porting class to FPC but get procedure assignment error

2015-06-22 Thread luiz americo pereira camara
In the breakpoint do a step into (f7) and ser the exact line that crashes Luiz Em 22/06/2015 14:03, Bo Berglund bo.bergl...@gmail.com escreveu: On Mon, 22 Jun 2015 13:29:07 -0300, luiz americo pereira camara luiz...@oi.com.br wrote: In my experince sigsegv occurs mostly when a field

Re: [Lazarus] uniqueinstance

2015-05-23 Thread luiz americo pereira camara
Check for the property PriorInstanceRunning in FormDestroy Luiz 2015-05-23 7:12 GMT-03:00 Martin mailingli...@collins-email.co.uk: Hi, Just need a little advice on placement of code please, thanks in advance. I wanted my app to have only one instance, so found uniqueinstance -

Re: [Lazarus] Feature request/inquiry

2015-04-27 Thread luiz americo pereira camara
2015-04-26 23:04 GMT-03:00 Dmitry Boyarintsev skalogryz.li...@gmail.com: On Sun, Apr 26, 2015 at 8:58 PM, luiz americo pereira camara luiz...@oi.com.br wrote: Only TextHint support would be merged to TEdit. True. TextHint is required for Delphi compatibility in the first place

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread luiz americo pereira camara
2015-04-26 8:41 GMT-03:00 Juha Manninen juha.mannine...@gmail.com: On Sun, Apr 26, 2015 at 1:26 PM, Michael Van Canneyt mich...@freepascal.org wrote: Is there such a thing for Lazarus' TEdit and related controls ? if not, is it planned ? It is planned :

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread luiz americo pereira camara
2015-04-26 15:18 GMT-03:00 Dmitry Boyarintsev skalogryz.li...@gmail.com: On Sun, Apr 26, 2015 at 1:35 PM, luiz americo pereira camara luiz...@oi.com.br wrote: I implemented here long time ago: https://code.google.com/p/luipack/source/browse/trunk/luicontrols/searchedit.pas If agreed i

Re: [Lazarus] Error compiling Lazarus: process_begin: CreateProcess(...) failed

2015-04-10 Thread luiz americo pereira camara
2015-04-10 16:32 GMT-03:00 Mattias Gaertner nc-gaert...@netcologne.de: On Fri, 10 Apr 2015 08:54:20 -0300 luiz americo pereira camara luiz...@oi.com.br wrote: Copied Lazarus exe from other computer and recompiled through the IDE without issues Do I understand this correctly: Even 'make

Re: [Lazarus] Package dialog ?

2015-03-23 Thread luiz americo pereira camara
2015-03-23 5:46 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: Hi, What is the rationale for duplicating the 'Add' button in the package dialog ? The buttons as they are now are highly confusing. I preferred the old system where there was only 1 button. That was clear and

[Lazarus] Criteria to add/remove UnitName from project (lpi) file

2015-03-22 Thread luiz americo pereira camara
From time to time, the UnitName row is added or removed from the Unit entry in lpi file. This occurs even in the same Lazarus version. Take as example the following: http://imagebin.ca/v/1vhYYNAJuxPx : Here two files have UnitName added in lpi http://imagebin.ca/v/1vhYLsrfpWDd : One commit

Re: [Lazarus] Criteria to add/remove UnitName from project (lpi) file

2015-03-22 Thread luiz americo pereira camara
2015-03-22 16:32 GMT-03:00 Mattias Gaertner nc-gaert...@netcologne.de: On Sun, 22 Mar 2015 10:15:23 -0300 http://imagebin.ca/v/1vhYYNAJuxPx : Here two files have UnitName added in lpi http://imagebin.ca/v/1vhYLsrfpWDd : One commit later, the same files have UnitName removed Is

Re: [Lazarus] Criteria to add/remove UnitName from project (lpi) file

2015-03-22 Thread luiz americo pereira camara
2015-03-22 16:59 GMT-03:00 luiz americo pereira camara luiz...@oi.com.br: 2015-03-22 16:32 GMT-03:00 Mattias Gaertner nc-gaert...@netcologne.de: On Sun, 22 Mar 2015 10:15:23 -0300 http://imagebin.ca/v/1vhYYNAJuxPx : Here two files have UnitName added in lpi http://imagebin.ca/v

Re: [Lazarus] Criteria to add/remove UnitName from project (lpi) file

2015-03-22 Thread luiz americo pereira camara
2015-03-22 16:32 GMT-03:00 Mattias Gaertner nc-gaert...@netcologne.de: On Sun, 22 Mar 2015 10:15:23 -0300 luiz americo pereira camara luiz...@oi.com.br wrote: From time to time, the UnitName row is added or removed from the Unit entry in lpi file. Is this a bug ? Probably. Do you

Re: [Lazarus] Criteria to add/remove UnitName from project (lpi) file

2015-03-22 Thread luiz americo pereira camara
2015-03-22 17:44 GMT-03:00 luiz americo pereira camara luiz...@oi.com.br: 2015-03-22 16:59 GMT-03:00 luiz americo pereira camara luiz...@oi.com.br : 2015-03-22 16:32 GMT-03:00 Mattias Gaertner nc-gaert...@netcologne.de: On Sun, 22 Mar 2015 10:15:23 -0300 Is this a bug ? Probably

Re: [Lazarus] Received a pull request from github - Fixes build_debug_apk.bat

2015-03-19 Thread luiz americo pereira camara
2015-03-19 10:44 GMT-03:00 Graeme Geldenhuys mailingli...@geldenhuys.co.uk : On 2015-03-19 10:51, Felipe Monteiro de Carvalho wrote: On Thu, Mar 19, 2015 at 11:26 AM, Lukasz Sokol el.es...@gmail.com wrote: Click on 'commits' then on the file link. This leads to:

Re: [Lazarus] Received a pull request from github - Fixes build_debug_apk.bat

2015-03-19 Thread luiz americo pereira camara
If you prefer: https://github.com/shenxh/lazarus/commit/633dc282555e9d12d945628d1c069bfcdba871d7.diff Luiz 2015-03-19 10:51 GMT-03:00 luiz americo pereira camara luiz...@oi.com.br: 2015-03-19 10:44 GMT-03:00 Graeme Geldenhuys mailingli...@geldenhuys.co.uk: On 2015-03-19 10:51, Felipe

Re: [Lazarus] -FcUTF8,-dEnableUTF8 create problem

2015-02-22 Thread luiz americo pereira camara
2015-02-22 8:05 GMT-03:00 FreeMan freema...@delphiturkiye.com: compiler options: -dUseCThreads -FcUTF8 -dEnableUTF8 this is test code: var wProgram: String; z:longint; s:string; begin Result := False; wProgram :=ParamStrUTF8(0); wFileStr :=

Re: [Lazarus] -FcUTF8,-dEnableUTF8 create problem

2015-02-22 Thread luiz americo pereira camara
2015-02-22 11:46 GMT-03:00 FreeMan freema...@delphiturkiye.com: I wrote before, I'm not use this code block now. I remove that code block to function. still not remove it, save for your tests. please let me know, need test etc. when you tell me you finished or cansel work on it, I'll remove

Re: [Lazarus] very small addition to multilog package

2015-02-22 Thread luiz americo pereira camara
://wiki.lazarus.freepascal.org/Creating_A_Patch Luiz 2015-02-21 20:27 GMT-03:00 Roberto P. padovan...@gmail.com: I don't mind, but I have never done it;I'll write you in private about that. R# 2015-02-21 17:07 GMT+01:00 luiz americo pereira camara luiz...@oi.com.br : Mind you creating patch

Re: [Lazarus] very small addition to multilog package

2015-02-21 Thread luiz americo pereira camara
Mind you creating patch ( http://wiki.lazarus.freepascal.org/Creating_A_Patch) against https://code.google.com/p/luipack/ repository? Luiz 2015-02-20 15:03 GMT-03:00 Roberto P. padovan...@gmail.com: I've been using for long the great multilog package to do selective logging to file and an

Re: [Lazarus] -FcUTF8,-dEnableUTF8 create problem

2015-02-21 Thread luiz americo pereira camara
2015-02-20 10:27 GMT-03:00 FreeMan freema...@delphiturkiye.com: Sorry I been late. OK. They are equal so problem is elsewhere One last shot. Can you check the values of wFileStr FileName and Handle properties? Luiz -- ___ Lazarus mailing list

Re: [Lazarus] -FcUTF8,-dEnableUTF8 create problem

2015-02-19 Thread luiz americo pereira camara
May you also check the DefaultSystemCodePage value and StringCodePage(wParam) before and after assigning wParam Luiz 2015-02-19 8:02 GMT-03:00 luiz americo pereira camara luiz...@oi.com.br: 2015-02-19 5:30 GMT-03:00 FreeMan freema...@delphiturkiye.com: osx fpc lazarus svn QT x64 my

Re: [Lazarus] -FcUTF8,-dEnableUTF8 create problem

2015-02-19 Thread luiz americo pereira camara
2015-02-19 8:19 GMT-03:00 FreeMan freema...@delphiturkiye.com: showmessage(StrToHex('1234567890')); results: Compiler Options -- Other is empty 31323334353637383930 Compiler Options -- Other -FcUTF8 31323334353637383930 Compiler Options -- Other -FcUTF8 , -dEnableUTF8

Re: [Lazarus] -FcUTF8,-dEnableUTF8 create problem

2015-02-19 Thread luiz americo pereira camara
2015-02-19 9:41 GMT-03:00 FreeMan freema...@delphiturkiye.com: where to add this parameter? Custom Options. just put -al in the memo Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] -FcUTF8,-dEnableUTF8 create problem

2015-02-19 Thread luiz americo pereira camara
2015-02-19 9:41 GMT-03:00 FreeMan freema...@delphiturkiye.com: maybe I have a another bug Project option - Compiler options - Other Button All options ... open All options form but not show anything. Just filter bar and checkbox Same here. Probably related to compiler version (v3.x).

[Lazarus] Freepascal/Lazarus port of JEDI Code Library (JCL)

2015-02-16 Thread luiz americo pereira camara
Hi, I ported JCL to Freepascal/Lazarus. More info at https://github.com/blikblum/jcl Although most of the changes was adjusting defines / uses clause to make compilable, it needs more tests since I only tested JclExprval. Luiz -- ___ Lazarus mailing

Re: [Lazarus] PageControl tabs not showing

2015-01-19 Thread luiz americo pereira camara
2015-01-18 18:07 GMT-03:00 Werner Pamler werner.pam...@freenet.de: Since other controls work fine on a PageControl these two components seem to miss something which prevents the other tabs to show up. Any idea what could be wrong? Yes. Those controls are forcing handle creation earlier,

Re: [Lazarus] PageControl tabs not showing

2015-01-19 Thread luiz americo pereira camara
2015-01-19 14:21 GMT-03:00 Werner Pamler werner.pam...@freenet.de: Thanks Luiz. Unfortunately, after I removed Loaded and added a new method InitializeWnd containing the NewWorksheet call there is no improvement. Your answer, however, guided me to the Setup method in which the column and rows

Re: [Lazarus] Inversion of control (IoC) and Dependency injection (DI)

2015-01-11 Thread luiz americo pereira camara
2015-01-11 17:12 GMT-03:00 silvioprog silviop...@gmail.com: On Mon, Jan 5, 2015 at 5:07 PM, luiz americo pereira camara luiz...@oi.com.br wrote: I created a IoC Container that can be found at https://code.google.com/p/luipack/source/browse/trunk/luicomponents/luiioccontainer.pas . It has

Re: [Lazarus] Inversion of control (IoC) and Dependency injection (DI)

2015-01-05 Thread luiz americo pereira camara
2015-01-05 21:44 GMT-03:00 Marcos Douglas m...@delfire.net: On Mon, Jan 5, 2015 at 6:07 PM, luiz americo pereira camara I created a IoC Container that can be found at https://code.google.com/p/luipack/source/browse/trunk/luicomponents/luiioccontainer.pas . It has no dependencies

[Lazarus] Inversion of control (IoC) and Dependency injection (DI)

2015-01-05 Thread luiz americo pereira camara
Starting a new thread. 2015-01-05 15:16 GMT-03:00 silvioprog silviop...@gmail.com: On Mon, Jan 5, 2015 at 12:54 PM, Marco van de Voort mar...@stack.nl wrote: As a first step in the 3.0.0 release process the stable branch was branched off to branches/fixes_3_0 and the version number was

Re: [Lazarus] Another Where is Error

2014-12-02 Thread luiz americo pereira camara
You have a Lazarus package that depends of sqlite3 You should uninstall this package or install the sqlite3-dev system package Luiz 2014-12-02 12:01 GMT-03:00 FreeMan freema...@delphiturkiye.com: Copied from messages form. I can see /usr/bin/ld: cannot find -lsqlite3 this line, but I

Re: [Lazarus] Another Where is Error

2014-12-02 Thread luiz americo pereira camara
2014-12-02 12:47 GMT-03:00 FreeMan freema...@delphiturkiye.com: My question is how to *find depend pas or lpk*. AFAIK, there's no way. You may look at package files src sqlite3laz is a package that have such dependency Luiz -- ___ Lazarus mailing

Re: [Lazarus] Another Where is Error

2014-12-02 Thread luiz americo pereira camara
packages. It has a dependency of luicomponents that requires sqlite3 I have plans to remove this dependency unfortunately is low priority Luiz On 02-12-2014 18:15, luiz americo pereira camara wrote: AFAIK, there's no way. You may look at package files src sqlite3laz is a package

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread luiz americo pereira camara
2014-11-24 6:29 GMT-03:00 Michael Schnell mschn...@lumino.de: On 11/23/2014 07:52 PM, Felipe Monteiro de Carvalho wrote: Well, the first reports of how the unicode rtl would look like were pretty scary: Total break of the string part of millions of lines of code that people wrote with

Re: [Lazarus] UTF8 RTL for Windows

2014-11-24 Thread luiz americo pereira camara
2014-11-24 8:15 GMT-03:00 Mattias Gaertner nc-gaert...@netcologne.de: On Sun, 23 Nov 2014 21:37:56 -0300 luiz americo pereira camara luiz...@oi.com.br wrote: The attached program show how data loss can occur The program uses writeln, which converts to console CP. When you save the strings

Re: [Lazarus] UTF8 RTL for Windows

2014-11-23 Thread luiz americo pereira camara
2014-11-20 13:21 GMT-03:00 Mattias Gaertner nc-gaert...@netcologne.de: 2. The new mode: The LCL, FCL and RTL treat all String as UTF-8 encoded. Most RTL file functions now work with full Unicode. For example FileExists and aStringList.LoadFromFile(Filename) now support full Unicode. [..]

Re: [Lazarus] UTF8 RTL for Windows

2014-11-23 Thread luiz americo pereira camara
2014-11-20 13:21 GMT-03:00 Mattias Gaertner nc-gaert...@netcologne.de: Please test and tell what you find out. Without {$codepage utf8} directive String constants will get Code Page 0 (CP_ACP) and not the 1200 (UTF16 - UnicodeString). String variables assigned to those constants will also

Re: [Lazarus] UTF8 RTL for Windows

2014-11-23 Thread luiz americo pereira camara
I added {.$codepage utf8} and all strings output as Joao. Got confused. I did not to expect changes in the constant assigned to the UnicodeString variable Need to check what is the correct UTF8 output: JoA£o or Joao Luiz 2014-11-23 21:37 GMT-03:00 luiz americo pereira camara luiz...@oi.com.br

Re: [Lazarus] UTF8 RTL for Windows

2014-11-23 Thread luiz americo pereira camara
string gets the UTF8 content but code page is system ansi (1252 in my case) When MultiByteConversionCodePage is UTF8 and two strings (converted from WideString) get code page UTF8 but content is wrong Luiz 2014-11-23 22:06 GMT-03:00 luiz americo pereira camara luiz...@oi.com.br: I added

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread luiz americo pereira camara
2014-11-14 11:43 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: On Fri, 14 Nov 2014, Marcos Douglas wrote: This RETURNING clause works for all DBMS? AFAIK Only sqlite does not (maybe it does today). But that is not a DBMS :-) MySQL also does not implement it This is the

Re: [Lazarus] Visual Form Inheritance support

2014-08-04 Thread luiz americo pereira camara
2014-08-04 3:22 GMT-03:00 Mattias Gaertner nc-gaert...@netcologne.de: On Sun, 3 Aug 2014 18:41:27 -0300 luiz americo pereira camara luiz...@oi.com.br wrote: Does Lazarus implements Visual Form Inheritance feature present in Delphi? Yes. Thanks. For the record, in Lazarus

[Lazarus] Visual Form Inheritance support

2014-08-03 Thread luiz americo pereira camara
Does Lazarus implements Visual Form Inheritance feature present in Delphi? If yes, is there an example? If no, are there plans to add this feature? FYI: I don't need/plan to use this feature. I'm asking because i'm porting a Delphi component that introduced a change to support VFI. I want to

Re: [Lazarus] What GetChildParent does in designer and reader?

2014-03-04 Thread luiz americo pereira camara
Hi Fabio, I'd like to share how i implemented similar behavior of TDbCtrlGrid, so maybe you can be interested. If not just ignore. First i create a TFrame in Lazarus put the controls that i need to be there. In the control i want to display the instances of the frame i create at runtime

[Lazarus] Advanced TrackBar / Rating control

2014-02-18 Thread luiz americo pereira camara
Does someone knows an open source rating control (similar to http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=74089lngWId=1) A TTrackBar that shows the tick value below the tick mark also fit my needs Luiz -- ___ Lazarus mailing list

Re: [Lazarus] Lazarus compilation problems with 2.6.4 RC1

2014-02-16 Thread luiz americo pereira camara
I'm having similar problem. When trying to rebuild from the IDE, the compilation stops with the following message: ..\debugger\debugger.pp(41,3) Fatal: Can't find unit DbgIntfBaseTypes used by Debugger I added debuggerintf dependency to Lazarus project and no luck Added debugger.pp to Lazarus

Re: [Lazarus] Lazarus/FPC for Web Development only

2014-02-06 Thread luiz americo pereira camara
2014-02-04 14:42 GMT-03:00 glpu...@gmail.com: Hi all, and I would like to know your opinion if it's worth to develop web applications using server side with Brook (for example), and HTML5 and JS for client side, against other options like Java, PHP, Python. For some times i'm working in

Re: [Lazarus] Added PascalScriptFCL.lpk and PascalScriptLCL.lpk in official repository of PascalScript

2013-10-02 Thread luiz americo pereira camara
2013/10/1 Martin laza...@mfriebe.de On 01/10/2013 22:14, luiz americo pereira camara wrote: I looked at the commited files and this configuration will cause problems when installing both packages. Notice that is important to allow the installation of the two packages, in the same IDE

Re: [Lazarus] Added PascalScriptFCL.lpk and PascalScriptLCL.lpk in official repository of PascalScript

2013-10-01 Thread luiz americo pereira camara
2013/10/1 Martin laza...@mfriebe.de On 01/10/2013 14:14, Martin wrote: I looked at it. But currently, it looks like it may cause problems. Both packages share the same folders, that can lead to conflicts. [] I have added the fcl package. BUT - The normal package, is kept as it.

Re: [Lazarus] Added PascalScriptFCL.lpk and PascalScriptLCL.lpk in official repository of PascalScript

2013-10-01 Thread luiz americo pereira camara
2013/10/1 luiz americo pereira camara luiz...@oi.com.br 2013/10/1 Martin laza...@mfriebe.de On 01/10/2013 14:14, Martin wrote: I looked at it. But currently, it looks like it may cause problems. Both packages share the same folders, that can lead to conflicts. [] I have added

Re: [Lazarus] TControl.EndDrag is missing

2013-09-17 Thread luiz americo pereira camara
2013/9/17 Graeme Geldenhuys gra...@geldenhuys.co.uk I would go out on a limb and say that nobody has ported DND based apps to LCL. The drag and drop feature of LCL VirtualTreeView port is working fine. Here you can find an example of DND between a VTV and a ListBox:

Re: [Lazarus] VirtualTreeView question, horizontal jump

2013-08-26 Thread luiz americo pereira camara
2013/8/25 Jürgen Hestermann juergen.hesterm...@gmx.de Am 2013-08-24 04:58, schrieb luiz americo pereira camara: In the mean time try to set hoAutoResize in Header.Options and set Header.AutoSizeIndex to 1 You should get the desired behavior Luiz Yes, that solves the problem (though I

Re: [Lazarus] VirtualTreeView question, horizontal jump

2013-08-24 Thread luiz americo pereira camara
I can reproduce the bug. I will investigate further to see if occurs also in Delphi Luiz 2013/8/23 Jürgen Hestermann juergen.hesterm...@gmx.de Am 2013-08-22 18:51, schrieb luiz americo pereira camara: Please create an example and add a bug report http://mantis.freepascal.org

Re: [Lazarus] VirtualTreeView question, horizontal jump

2013-08-24 Thread luiz americo pereira camara
In the mean time try to set hoAutoResize in Header.Options and set Header.AutoSizeIndex to 1 You should get the desired behavior Luiz 2013/8/23 luiz americo pereira camara luiz...@oi.com.br I can reproduce the bug. I will investigate further to see if occurs also in Delphi Luiz 2013/8

Re: [Lazarus] VirtualTreeView question, horizontal jump

2013-08-22 Thread luiz americo pereira camara
2013/8/22 Jürgen Hestermann juergen.hesterm...@gmx.de Am 2013-08-21 18:40, schrieb luiz americo pereira camara: 2013/8/21 Jürgen Hestermann juergen.hesterm...@gmx.de I now found that toDisableAutoscrollOnFocus (under AutoOptions) is changing between these both behaviours: If I set

Re: [Lazarus] VirtualTreeView question, horizontal jump

2013-08-21 Thread luiz americo pereira camara
2013/8/21 Jürgen Hestermann juergen.hesterm...@gmx.de Am 2013-08-21 11:16, schrieb Jürgen Hestermann: Why does a normal move down shift the whole tree horizontally to the right margin each second move (slider is at max right position) and back to the left again? I now found that

Re: [Lazarus] Error with TSQLite3Dataset?

2013-08-05 Thread luiz americo pereira camara
Try ExecSQL What is in auxstr? What is your Table definition? Since you are updating data using direct SQL, you will need to close and re open the dataset so the dataset record is in sync Luiz 2013/8/5 Arí Ricardo Ody ar...@gmx.com: I use ExecuteDirect method to insert a record in a SQLite3

Re: [Lazarus] TPageControl.TabVisible not working properly

2013-05-25 Thread luiz americo pereira camara
2013/5/25 Daniel Gaspary dgasp...@gmail.com: The bug #0021723 is still happening even after the related This seems a different issue (carbon specific?) issue(#23251) appears to be patched. To test: -Create a project with a TPageControl -Create two Pages -Put a TLabel on each page

Re: [Lazarus] TPageControl.TabVisible not working properly

2013-05-25 Thread luiz americo pereira camara
2013/5/25 luiz americo pereira camara luiz...@oi.com.br: 2013/5/25 Daniel Gaspary dgasp...@gmail.com: When the program is running the tab shown is the second, but the contents are from page 1. I fixed this issue in rev 41407 Try 41408 Luiz

Re: [Lazarus] Bored?

2013-04-15 Thread luiz americo pereira camara
2013/4/15 Michael Van Canneyt mich...@freepascal.org: On Mon, 15 Apr 2013, Graeme Geldenhuys wrote: I've been a very long user and contributor of FPCUnit, and it is a very problematic framework. Let's not exaggerate the problems. I use it for years, and except for 1 issue, there are no

Re: [Lazarus] Bored?

2013-04-15 Thread luiz americo pereira camara
2013/4/15 Graeme Geldenhuys gra...@geldenhuys.co.uk: The list is much larger than just 1 issue. You should take a look at DUnit2/FPTest at some point to see just how far behind FPCUnit is in functionality. Where can we find it? Any docs? Is there a GUI runner? I'm starting now in test

Re: [Lazarus] New package graph - more screenshots

2013-04-04 Thread luiz americo pereira camara
2013/4/3 Mattias Gaertner nc-gaert...@netcologne.de: On Tue, 2 Apr 2013 20:30:27 -0300 luiz americo pereira camara luiz...@oi.com.br wrote: See previous email about package graph http://imagebin.org/252597 http://imagebin.org/252598 That's definitely a bug. I added a report: http

[Lazarus] Option to get old package graph feature

2013-04-02 Thread luiz americo pereira camara
The new package graph feature is making harder to find what i'm looking for. The attached screenshot show how is my package graph. (Other messages with more screenshots will follow to get through the 100k limit of mail list) I'd like to see an option to get the old treeview based graph. It works

[Lazarus] New package graph - more screenshots

2013-04-02 Thread luiz americo pereira camara
See previous email about package graph http://imagebin.org/252597 http://imagebin.org/252598 Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Problem with zeos and sqlite-3

2013-02-14 Thread luiz americo pereira camara
I just tested with sqlite3ds and works fine. See test below. You may look at its source and see if the approach used can be adapted for zeos Luiz Sqlite3Dataset1.FileName := 'data.db'; Sqlite3Dataset1.TableName := 'Test'; if not Sqlite3Dataset1.TableExists then begin

Re: [Lazarus] Visual uglyness when creating TSynEdit @ runtime in my app

2013-01-05 Thread luiz americo pereira camara
2013/1/5 Martin laza...@mfriebe.de: On 05/01/2013 10:54, luiz americo pereira camara wrote: 2013/1/5 luiz americo pereira camara luiz...@oi.com.br: I've found a suspect. SetParent triggers the handle creation TSynEdt.CreateWnd calls SizeOrFontChanged that calls UpdateScrollBars Here, since

Re: [Lazarus] Visual uglyness when creating TSynEdit @ runtime in my app

2013-01-05 Thread luiz americo pereira camara
2013/1/5 Martin laza...@mfriebe.de: On 05/01/2013 11:19, luiz americo pereira camara wrote: What OS are you using. Here with windows 7 no Paint occurs at all. See previous mail Can you check (comment ShowScrollBar) if the paint you are seeing is really from ShowScrollBar? After that we

Re: [Lazarus] Visual uglyness when creating TSynEdit @ runtime in my app

2013-01-05 Thread luiz americo pereira camara
2013/1/5 Martin laza...@mfriebe.de: Someone might check WDD? Whats WDD? Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] win32 ShowScrollBar triggers immediate paint

2013-01-05 Thread luiz americo pereira camara
2013/1/5 Mattias Gaertner nc-gaert...@netcologne.de: Hi, ShowScrollBar - Windows.RedrawWindow Can some win32 developer explain, why the paint is immediate. Why not queue? Some notes: Here in windows 7, no wm_paint is called according to docs:

Re: [Lazarus] Visual uglyness when creating TSynEdit @ runtime in my app

2013-01-05 Thread luiz americo pereira camara
2013/1/5 Martin laza...@mfriebe.de: On 05/01/2013 11:43, luiz americo pereira camara wrote: If I single step, it is not painted by that line. It happens here Perform(CM_SHOWINGCHANGED, 0, 0); // see TWinControl.CMShowingChanged This ends with TWin32WSWinControl.ShowHide that calls

Re: [Lazarus] Visual uglyness when creating TSynEdit @ runtime in my app

2013-01-05 Thread luiz americo pereira camara
2013/1/5 Martin laza...@mfriebe.de: On 05/01/2013 11:19, luiz americo pereira camara wrote: Can you check (comment ShowScrollBar) if the paint you are seeing is really from ShowScrollBar? This would not make sense? Nothing, except the scrollbars is painted (SynEdit does not paint). I

Re: [Lazarus] Visual uglyness when creating TSynEdit @ runtime in my app

2013-01-05 Thread luiz americo pereira camara
@Bart: Did you tried to set Visible to false before setting Parent and Align and then setting visible to True, like below? s:=PageControl1.AddTabSheet; PageControl1.ActivePage := s; l := TSynEdit.Create(self); l.Visible := False l.Parent := s; l.Align := alClient; l.Visible := True

Re: [Lazarus] Visual uglyness when creating TSynEdit @ runtime in my app

2013-01-05 Thread luiz americo pereira camara
2013/1/5 Martin laza...@mfriebe.de: On 05/01/2013 12:57, luiz americo pereira camara wrote: 2013/1/5 Martin laza...@mfriebe.de: On 05/01/2013 11:19, luiz americo pereira camara wrote: Can you check (comment ShowScrollBar) if the paint you are seeing is really from ShowScrollBar

Re: [Lazarus] Visual uglyness when creating TSynEdit @ runtime in my app

2013-01-05 Thread luiz americo pereira camara
2013/1/5 luiz americo pereira camara luiz...@oi.com.br: 2013/1/5 Martin laza...@mfriebe.de: On 05/01/2013 12:57, luiz americo pereira camara wrote: 2013/1/5 Martin laza...@mfriebe.de: On 05/01/2013 11:19, luiz americo pereira camara wrote: Can you check (comment ShowScrollBar) if the paint

  1   2   3   >