Re: [Lazarus] Using libjpeg

2016-04-18 Thread Sandro Cumerlato
gt; Regards, > Ara > Turbo demo binaries for both win32 and win64 are available at: http://www.djmaster.com/freepascal/demos/turbo.php Best regards, Sandro Cumerlato -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazaru

Re: [Lazarus] Using libjpeg

2016-04-18 Thread Sandro Cumerlato
Hello Ara, I'm using mingw-w64/msys2 binaries: http://repo.msys2.org/mingw/i686/mingw-w64-i686-libjpeg-turbo-1.4.2-2-any.pkg.tar.xz http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-libjpeg-turbo-1.4.2-2-any.pkg.tar.xz look at turbojpeg.h and libturbojpeg-0.dll included. Best regards. Sandro

Re: [Lazarus] Using libjpeg

2016-04-18 Thread Sandro Cumerlato
); FPicture.Free; end; end; inc(FIndex); if (FIndex > high(Images)) then FIndex := low(Images); end; end; http://pasteboard.co/hlatrJG.png Suggestions are welcome! Sandro Cumerlato On 18 April 2016 at 13:28, Marc Weustink <m...@dommelstein.nl> wrote:

Re: [Lazarus] Using libjpeg

2016-04-17 Thread Sandro Cumerlato
turboRatio 0.43 3.35 7.79xIntel Core i5-4300 2.50 GHz *Turbo i386-win32* LCLlibjpeg-turboRatio 1.01 8.41 8.33x *Turbo x86_64-win64* LCLlibjpeg-turboRatio 1.10 9.18 8.35x Best regards, Sandro Cumerlato On 31 March 2016 at 12:12, Aradeonas <aradeo...@operamail.com> wrote: > Thanks but I

Re: [Lazarus] how to keep out focus in a button

2016-03-22 Thread Sandro Cumerlato
Hi, you can change ActiveControl to unfocus the button, iirc setting ActiveControl to nil will unfocus all controls in a form. Sandro On 23 Mar 2016 02:51, "hfiandor" wrote: > Dear sirs> > > > > I have a button previously focused. When the action was completed and the >

[Lazarus] Lazarus svn trunk compilation broken under Windows

2016-03-06 Thread Sandro Cumerlato
> win32wscustomlistview.inc(84,15) Error: Incompatible types: got "TYPES.TSmallPoint" expected "WINDOWS.TSmallPoint" > win32wscomctrls.pp(1017) Fatal: There were 1 errors compiling module, stopping > Fatal: Compilation aborted Please review attached patch and apply i

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-21 Thread Sandro Cumerlato
I would prefer to build useride with all my favourite packages. Is it possible to pass: --primary-config-path= or --pcp= while calling "make useride"? Thanx in advance for the answer. Sandro On 21 Jan 2016 17:12, "Anthony Walter" wrote: > Petr, > > I'm unsure when or

Re: [Lazarus] [off-topic] Send a mousemove or a keydown to a specific window in IE

2015-12-30 Thread Sandro Cumerlato
No need to code at all, look at AutoHotKey: http://ahkscript.org Sandro On 30 Dec 2015 18:34, "Bart" wrote: > Hi, > > As ususal the programmers of one of my tools at work have decided to > make life a little more painfull. > > Let me explain, > > The program in question is

Re: [Lazarus] [off-topic] Send a mousemove or a keydown to a specific window in IE

2015-12-30 Thread Sandro Cumerlato
It seems to me offtopic, but you don't need to install AHK, just use it as a portable app. I live in a similar world! LOL Sandro On 30 December 2015 at 20:28, Bart <bartjun...@gmail.com> wrote: > On 12/30/15, Sandro Cumerlato <sandro.cumerl...@gmail.com> wrote: > > >

Re: [Lazarus] ComponentPalette images size on HighDPI devices

2015-12-28 Thread Sandro Cumerlato
On 27 December 2015 at 13:56, Ondrej Pokorny wrote: > ... > Btw Sandro it doesn't look like you didn't take screenshots from high-DPI > device, am I wrong? > > Ondrej > My device is 2160x1440 (12 inches), quite dense, with a 150% scale factor set for texts, apps and other

[Lazarus] revision 51059 - lazbuild

2015-12-28 Thread Sandro Cumerlato
Hello, lazbuild compilation has been compromised in revision 51059, line 887. http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/ide/project.pp?root=lazarus=50436=51059=51059 please review your code (= False) or consider attached patch. Sandro Index: ide/lazbuild.lpr

[Lazarus] ComponentPalette images size on HighDPI devices

2015-12-24 Thread Sandro Cumerlato
Hello, I've found a simple way to improve ComponentPalette usability on HighDPI touch devices. Compare the following images: 1_Lazarus-ComponentPalette-24x24.PNG vs 2_Lazarus-ComponentPalette-48x48.PNG [image: Inline images 1] [image: Inline images 2] It is quite easy to enlarge buttons

[Lazarus] lcl\include\canvas.inc

2015-11-17 Thread Sandro Cumerlato
Hello, I can't build Lazarus svn trunk (using FPC svn trunk): canvas.inc(463,12) Error: Identifier not found "tagSIZE" canvas.inc(463,19) Error: Error in type definition canvas.inc(466,14) Error: Illegal qualifier canvas.inc(467,14) Error: Illegal qualifier graphics.pp(2876) Fatal: There were 4

Re: [Lazarus] IDE CoolBar issue

2015-09-08 Thread Sandro Cumerlato
Thank you Juha for the prompt reply! I fixed it removing the section manually from the environmentoptions.xml file. Thank you again for the help! Sandro On 8 September 2015 at 20:37, Juha Manninen <juha.mannine...@gmail.com> wrote: > On Tue, Sep 8, 2015 at 8:47 PM, Sandro

Re: [Lazarus] IDE CoolBar issue

2015-09-08 Thread Sandro Cumerlato
p.s.: I resetted the EditorToolbar settings too, from options menu. I don't know if it is related too. I hope that it can help you. On 8 September 2015 at 22:12, patspiper <patspi...@gmail.com> wrote: > On 08/09/15 22:27, Sandro Cumerlato wrote: >> >> Thank you Juha for the

Re: [Lazarus] IDE CoolBar issue

2015-09-08 Thread Sandro Cumerlato
oops, are you talking about AV like the attached one? :( On 8 September 2015 at 22:27, Sandro Cumerlato <sandro.cumerl...@gmail.com> wrote: > p.s.: I resetted the EditorToolbar settings too, from options menu. I > don't know if it is related too. I hope that it can help you. > &

[Lazarus] IDE CoolBar issue

2015-09-08 Thread Sandro Cumerlato
Hello, every time I start the Lazarus IDE the IDE CoolBar items reduplicate. Resetting to default from options doesn't solve the issue. Please take a look at the attachment. Note: I start the IDE with the following command: \freepascal\laz\trunk\startlazarus.exe --pcp=\freepascal\pcp under

Re: [Lazarus] lazbuild not bıild IDE

2015-07-07 Thread Sandro Cumerlato
Lazbuild is still not working: ___ LAZBUILD BUILD-IDE An unhandled exception occurred at $004CD01D: EAccessViolation: Access violation $004CD01D TENVIRONMENTOPTIONS__CREATE, line 1217 of environmentopts.pp $005062C3

Re: [Lazarus] lazbuild not bıild IDE

2015-07-07 Thread Sandro Cumerlato
Now it's perfect! Thank you. Sandro On 7 July 2015 at 18:41, Juha Manninen juha.mannine...@gmail.com wrote: Ok, sorry, there was an error indeed. Try with r49509. Should work now. Juha -- ___ Lazarus mailing list

Re: [Lazarus] lazbuild not bıild IDE

2015-07-07 Thread Sandro Cumerlato
It looks like the lazbuild stdout message for the parameter: --primary-config-path=path or --pcp=path primary config directory, where Lazarus stores its config files. Default is $HOME/.lazarus I use it too for my usb stick portable environment. Sandro On 7 Jul 2015 19:19, Juha Manninen

Re: [Lazarus] Solarized 2 color schemes for Lazarus

2015-07-01 Thread Sandro Cumerlato
On 1 Jul 2015 10:02, Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 30 Jun 2015, aradeonas wrote: I can recommend these 2 themes to everyone. I regret I didn't know about them before :) Michael. -- It would be nice to add these two themes to Lazarus svn trunk. Thank you in

Re: [Lazarus] Is Lazarus FPC compatible to RAD XE5?

2015-06-14 Thread Sandro Cumerlato
, Sandro Cumerlato On 14 June 2015 at 08:41, Bo Berglund bo.bergl...@gmail.com wrote: I am seeking an alternative to the Embarcadero RAD studio XE5 and I would like to know if a Delphi application developed with D6-D7-BDS2006-XE5 could be loaded and built in Lazarus? The application uses only

Re: [Lazarus] Docked Form

2015-06-12 Thread Sandro Cumerlato
Hello Balázs, unfortunately this mail has been marked as SPAM by gmail. Are you registered to the mailing list? Do other members have received the message? Docking IDE is an important milestone IMHO. Please Lazarus developers go ahead. Sandro Cumerlato On 11 Jun 2015 13:17, Balazs Szekely

Re: [Lazarus] (no subject)

2015-05-07 Thread Sandro Cumerlato
On 7 May 2015 at 19:59, Frederic Da Vitoria davito...@gmail.com wrote: 2015-05-07 17:54 GMT+02:00 Sandro Cumerlato sandro.cumerl...@gmail.com: I'd like to recommend you to STRIP and UPX executables under Windows. Initial executables size: lazarus.exe 170859359 bytes (*) lazbuild.exe

Re: [Lazarus] (no subject)

2015-05-07 Thread Sandro Cumerlato
I'd like to recommend you to STRIP and UPX executables under Windows. Initial executables size: lazarus.exe 170859359 bytes (*) lazbuild.exe 52797635 bytes startlazarus.exe 15897492 bytes after STRIP and UPX: lazarus.exe 4093952 bytes (*) lazbuild.exe 1653760 bytes startlazarus.exe 1653760

Re: [Lazarus] (no subject)

2015-05-06 Thread Sandro Cumerlato
I'd like to recommend SVG format for new graphics. Sandro On 6 May 2015 07:17, Xirax Xirax xiraxxirax...@gmail.com wrote: Excuse me for missed subject. I want to know who is the designer and may I propose a new graphic set for Lazarus? On 5/6/15, Marcos Almeida Azevedo

[Lazarus] Screen resolution on Windows

2015-05-02 Thread Sandro Cumerlato
clarifications. Best regards, Sandro Cumerlato -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] lazbuild doesn't increment build number | issue plus patch

2015-04-11 Thread Sandro Cumerlato
Issue opened: http://bugs.freepascal.org/view.php?id=27820 Thank you in advance. Sandro Cumerlato On 9 Apr 2015 22:01, Sandro Cumerlato sandro.cumerl...@gmail.com wrote: Hello, lazbuild doesn't increment build number even if auto increment is enabled in Project Options. Please review

[Lazarus] lazbuild doesn't increment build number | issue plus patch

2015-04-09 Thread Sandro Cumerlato
details (lpi.0 vs lpi.1)... is it a ReadProject/WriteProject bug? Sandro Cumerlato p.s.: lpi.0 is the original lpi file generated by the Lazarus IDE. Index: ide/lazbuild.lpr === --- ide/lazbuild.lpr(revisione 48687) +++ ide

[Lazarus] ComponentList OnClassSelected

2015-03-18 Thread Sandro Cumerlato
Hello, attached patch brings to front the designer form when a component is selected from the ComponentList. Please review it and apply if OK. Sandro Cumerlato Index: ide/componentlist.pas === --- ide/componentlist.pas

[Lazarus] componentlist patch

2015-03-10 Thread Sandro Cumerlato
Componentlist TTreeView controls are not controlled by keyboard arrow keys. Please review attached patch. Sandro Cumerlato Index: ide/componentlist.lfm === --- ide/componentlist.lfm (revisione 48251) +++ ide/componentlist.lfm

Re: [Lazarus] What happened to this feature?

2015-01-12 Thread Sandro Cumerlato
Tested under Windows, it works perfectly, thank you. Sandro On 12 January 2015 at 16:40, Juha Manninen juha.mannine...@gmail.com wrote: Fixed in trunk. Please test. It will be merged to 1.4 fixes soon. Juha -- ___ Lazarus mailing list

Re: [Lazarus] Alternative component palette layout

2015-01-01 Thread Sandro Cumerlato
First of all: HAPPY NEW YEAR! ComponentsListView should be read only. Please apply attached patch if OK. Sandro On 31 December 2014 at 18:46, Sandro Cumerlato sandro.cumerl...@gmail.com wrote: Hello Juha, I've implemented (auto) resize of Components list columns. Please review attached

Re: [Lazarus] Alternative component palette layout

2014-12-31 Thread Sandro Cumerlato
Hello Juha, I've implemented (auto) resize of Components list columns. Please review attached patch and apply if OK. Sandro On 28 December 2014 at 21:11, Juha Manninen juha.mannine...@gmail.com wrote: On Sun, Dec 28, 2014 at 1:08 PM, zeljko zel...@holobit.net wrote: I'm against such

Re: [Lazarus] OI Checkboxes

2014-11-30 Thread Sandro Cumerlato
Can you please post 2 snapshots, one before and one after patch? Thank you. Sandro On 30 Nov 2014 10:55, FreeMan freema...@delphiturkiye.com wrote: I tested in kubuntu 14.04 qt. when TCheckBoxThemed is focused, it has underline, I added snapshot On 30-11-2014 01:13, Vojtěch Čihák wrote:

Re: [Lazarus] OI Checkboxes

2014-11-29 Thread Sandro Cumerlato
Thank you Vojtěch for the TCheckBoxThemed component. I tested it under Windows 8.1 and found a small difference in Caption vertical position. Please compare attached images checkboxthemed1.png (before patch) vs checkboxthemed2.png (after patch) and review attached diff file. Please apply if OK

Re: [Lazarus] OI Checkboxes

2014-11-25 Thread Sandro Cumerlato
I suggest to look in graphpropedits.pas. IMHO TBoolPropertyEditor should be moved into this file. Sandro On 25 November 2014 at 17:47, Juha Manninen juha.mannine...@gmail.com wrote: On Tue, Nov 25, 2014 at 5:25 PM, FreeMan freema...@delphiturkiye.com wrote: I attach my solution, this is

Re: [Lazarus] OI Checkboxes

2014-11-23 Thread Sandro Cumerlato
On 22 November 2014 at 19:45, Juha Manninen juha.mannine...@gmail.com wrote: On Fri, Nov 21, 2014 at 4:31 PM, FreeMan freema...@delphiturkiye.com wrote: Thank you, uncommenting resolve my problem. Without those lines indeed Lazarus built with QT crashes when Color combobox list is opened.

[Lazarus] Component standard Height (WidgetSet dependant)

2014-11-23 Thread Sandro Cumerlato
Hello, is there another way to retrieve the component standard Height (WidgetSet dependant) at runtime? CB := TComboBox.Create(self); h := CB.Height; CB.Free; CB := nil; Thanx in advance! Sandro -- ___ Lazarus mailing list

[Lazarus] ObjectInspector DefaultItemHeight issue

2014-11-23 Thread Sandro Cumerlato
Please review attached patch: - uniform DefaultItemHeight to 22 pixels; - avoid DefaultItemHeight ComboBox Height (- 3). Apply if OK, thanx. Sandro Index: components/ideintf/objectinspector.pp === ---

[Lazarus] ObjectInspector SpeedButton background issue

2014-11-23 Thread Sandro Cumerlato
Please review attached patch. - removed code that prevent SpeedButton background erase. Sandro Index: components/ideintf/objectinspector.pp === --- components/ideintf/objectinspector.pp (revisione 46974) +++

[Lazarus] ObjectInspector horizontal resize bug

2014-11-23 Thread Sandro Cumerlato
Please review attached patch. - selected edit control doesn't resize properly after a horizontal resize. Apply if OK, thanx. Sandro Index: components/ideintf/objectinspector.pp === --- components/ideintf/objectinspector.pp

[Lazarus] ObjectInspector FCurrentEdit.Invalidate

2014-11-23 Thread Sandro Cumerlato
Please review attached patch. - ChangeBounds calls Invalidate itself. Please apply if OK, thanx. Sandro Index: components/ideintf/objectinspector.pp === --- components/ideintf/objectinspector.pp (revisione 46974) +++

Re: [Lazarus] OI Checkboxes

2014-11-20 Thread Sandro Cumerlato
I confirm that CheckBox are not displayed within subitems. Cannot test the QT widgetset, sorry. Sandro On 19 November 2014 22:44, FreeMan freema...@delphiturkiye.com wrote: Sorry Sandro, Still not work on my system QT linux and I add one more problem :S

Re: [Lazarus] OI Color comboxbox crash IDE

2014-11-20 Thread Sandro Cumerlato
No problems under Windows with the Color ComboBox. Which part did you change? Please share diff. Sandro On 20 November 2014 11:13, FreeMan freema...@delphiturkiye.com wrote: Sorry Sandro, I remove your patch and now color combobox work now for me. On 20-11-2014 11:50, FreeMan wrote: are

Re: [Lazarus] Component palette reordering

2014-11-19 Thread Sandro Cumerlato
P.S I have also made an option to use CheckBoxes for Boolean values in Object Inspector. Please check how it works. This is not related to component palette though. Painting is not working properly under Windows. Look at the attachments. Sandro --

Re: [Lazarus] Component palette reordering

2014-11-19 Thread Sandro Cumerlato
Attached patch solves CheckBox panting issue. P.S.: CheckBox is not yet aligned correctly if corresponding row is selected. Sandro On 19 November 2014 11:35, Juha Manninen juha.mannine...@gmail.com wrote: On Wed, Nov 19, 2014 at 10:30 AM, Sandro Cumerlato sandro.cumerl...@gmail.com wrote

[Lazarus] Typo in objectinspector.pp

2014-11-19 Thread Sandro Cumerlato
Please apply attached patch. Sandro Index: components/ideintf/objectinspector.pp === --- components/ideintf/objectinspector.pp (revisione 46885) +++ components/ideintf/objectinspector.pp (copia locale) @@ -2700,7 +2700,7

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Sandro Cumerlato
I actually like this one. A sole box would look odd, with only empty space on its right side. There must be some text. I agree, text can also be clicked to change the value easily. Sandro -- ___ Lazarus mailing list

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Sandro Cumerlato
For me the alignment looked ok there and also on Windows, although on Windows the LCL theme service draws too small boxes. The alignment must be calculated dynamically. Theme service already returns the size, the location can be derived from it. Maybe someone creates a patch, I have other

Re: [Lazarus] Component palette reordering

2014-11-19 Thread Sandro Cumerlato
ComponentPalette is refreshed everytime when IDE Options window is closed clicking the OK button. It should refresh only if something has been modified. Sandro On 19 November 2014 17:37, Juha Manninen juha.mannine...@gmail.com wrote: On Wed, Nov 19, 2014 at 5:52 PM, FreeMan

Re: [Lazarus] OI Checkboxes

2014-11-19 Thread Sandro Cumerlato
It would be nice to have a framed checkbox, look at the attachment rendered image, the entire area should respond to mouse click. Sandro On 19 November 2014 21:02, Juha Manninen juha.mannine...@gmail.com wrote: On Wednesday, November 19, 2014, Péter Gábor p...@freemail.hu wrote: I vote for

Re: [Lazarus] New icons for IDE windows

2014-08-27 Thread Sandro Cumerlato
I've noticied the new icons, but what about Messages and Object Inspector icons? Corresponding forms do not display any icon (under Windows). Sandro On 27 Aug 2014 15:21, Torsten Bonde Christiansen t...@epidata.info wrote: Hi. Am I the only one who have noticed the new icon for the

Re: [Lazarus] TLabel inside a TScrollBox (under Win32) MouseWheel issue

2014-07-18 Thread Sandro Cumerlato
To whom who may concern... I've created a sample package with an example to demonstrate how to solve this issue without altering the LCL, but providing a derived component instead: https://code.google.com/p/mousewheelcontrols/ Comments are welcome. Sandro Cumerlato On 15 July 2014 19:43

[Lazarus] TLabel inside a TScrollBox (under Win32) MouseWheel issue

2014-07-15 Thread Sandro Cumerlato
that can be inserted into a TScrollBox should expose OnMouseWheel event. Thank you for reading! Sandro Cumerlato Index: /freepascal/laz/1.3/lcl/stdctrls.pp === --- /freepascal/laz/1.3/lcl/stdctrls.pp (revisione 45865) +++ /freepascal

Re: [Lazarus] Forcing TMemo to dislplay last entry

2014-04-25 Thread Sandro Cumerlato
Hello Richard, you can use the following code: SendMessage(Memo1.Handle, EM_LINESCROLL, 0, Memo1.Lines.Count); -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] lazbuild access violation

2014-02-19 Thread Sandro Cumerlato
Hello, sorry for the raw bug report, but current lazbuild.exe compiled from svn trunk doesn't work, calling: \freepascal\laz\1.3\lazbuild.exe --pcp=\freepascal\lazarus project1.lpi it generates the following error: ---