Re: [Lazarus] Package dialog ?

2015-03-24 Thread Michael Van Canneyt
On Tue, 24 Mar 2015, Juha Manninen wrote: On Mon, Mar 23, 2015 at 10:46 AM, Michael Van Canneyt mich...@freepascal.org wrote: What is the rationale for duplicating the 'Add' button in the package dialog? It solved this and many other complaints about usability :

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread aradeonas
I think about that in first place but Im worry about speed and maybe it need making control from base U think. I want to be sure before doing. Regards, Ara -- http://www.fastmail.com - mmm... Fastmail... -- ___ Lazarus mailing list

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread Graeme Geldenhuys
On 2015-03-24 12:52, zeljko wrote: There's no free lunch around, you have to try it. :) +1 That is why I also suggested Ara create some mockup screen using the various options available. Then decide for himself what would be the best fit in the long term. Regards, - Graeme - -- fpGUI

Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-03-24 Thread Mark Morgan Lloyd
zeljko wrote: On 01/10/2015 02:39 PM, Mattias Gaertner wrote: On Sat, 10 Jan 2015 12:49:04 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mark Morgan Lloyd wrote: Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on SPARC using Debian Lenny, Same combination on a PPC

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread zeljko
On 03/24/2015 01:47 PM, aradeonas wrote: I think about that in first place but Im worry about speed and maybe it need making control from base U think. I want to be sure before doing. Speed could be better than with ordinary handles, but also can be worse. There's no free lunch around, you

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread aradeonas
Graeme I'm working with fpGUI and also I wants to remind you for ant new screen shots. Regards, Ara -- http://www.fastmail.com - Faster than the air-speed velocity of an unladen european swallow -- ___ Lazarus mailing list

Re: [Lazarus] Package dialog ?

2015-03-24 Thread Mattias Gaertner
On Tue, 24 Mar 2015 13:12:49 +0200 Juha Manninen juha.mannine...@gmail.com wrote: [...] The features Add Editor Files and New Requirement in Project Inspector, and New File, New Component and New Requirement in Package Editor should have buttons right next to the (new) Add button. The old

Re: [Lazarus] Package dialog ?

2015-03-24 Thread Michael Van Canneyt
On Tue, 24 Mar 2015, Mattias Gaertner wrote: On Tue, 24 Mar 2015 13:12:49 +0200 Juha Manninen juha.mannine...@gmail.com wrote: [...] The features Add Editor Files and New Requirement in Project Inspector, and New File, New Component and New Requirement in Package Editor should have buttons

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread zeljko
On 03/24/2015 10:56 AM, aradeonas wrote: zeljko these are like a theme for system default controls,How I can made new controls that their not like standards,like my first example link? Use BGRAControls. If you like hardcore sex then you can do whatever with eg. Qt. You can create widget or

[Lazarus] Package Dialog - File properties

2015-03-24 Thread Graeme Geldenhuys
Hi, Is there a global option to permanently hide the File Properties panel in *all* Package Dialogs? I can currently use the Splitter and drag it to the bottom, but not hide it completely. Then when I open that package dialog again, the Splitter is restored to the original position and I have to

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread zeljko
On 03/24/2015 09:20 AM, vfclists . wrote: On 24 March 2015 at 07:23, zeljko zel...@holobit.net mailto:zel...@holobit.net wrote: On 03/23/2015 09:35 PM, Graeme Geldenhuys wrote: On 2015-03-23 20:19, aradeonas wrote: I know its possible with other languages specialty

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread aradeonas
zeljko these are like a theme for system default controls,How I can made new controls that their not like standards,like my first example link? Regards, Ara -- http://www.fastmail.com - Access all of your messages and folders wherever you are --

Re: [Lazarus] IDE main form height not saving and loading

2015-03-24 Thread FreeMan
fpc lazarus svn on osx qt-x64 Main IDE form height, and Object inspector's top properties not saving or not reading on start IDE. Always setting default values. On 14.03.2015 16:51, FreeMan wrote: I hide component palette from main form. and move toolbar to up. decrease IDE main form

Re: [Lazarus] Package dialog ?

2015-03-24 Thread Juha Manninen
On Mon, Mar 23, 2015 at 10:46 AM, Michael Van Canneyt mich...@freepascal.org wrote: What is the rationale for duplicating the 'Add' button in the package dialog? It solved this and many other complaints about usability : http://bugs.freepascal.org/view.php?id=24337 The buttons as they are

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread aradeonas
I need to know more about this. Are any examples available? And me. Ara -- http://www.fastmail.com - IMAP accessible web-mail -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] always visible cursor editor option?

2015-03-24 Thread Graeme Geldenhuys
What does that option actually mean and do? Unfortunately there is no help on the topic in the wiki http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Options Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ --

Re: [Lazarus] Package dialog ?

2015-03-24 Thread Mattias Gaertner
On Tue, 24 Mar 2015 19:35:49 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 24 Mar 2015, Mattias Gaertner wrote: On Tue, 24 Mar 2015 17:13:10 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: [...] If you remove the dependency A-B, then there is

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread Graeme Geldenhuys
On 2015-03-24 13:10, aradeonas wrote: Graeme I'm working with fpGUI and also I wants to remind you for ant new screen shots. Here are some basic ones. As I mentioned, fpGUI includes 7 themes as standard and any fpGUI application can use them or even switch them at runtime via the --style

Re: [Lazarus] Tutorial: Animating with easings

2015-03-24 Thread Anthony Walter
I've posted a video of the Linux version: http://cache.getlazarus.org/video/surface_easing_ubuntu.mp4 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Package dialog ?

2015-03-24 Thread Mattias Gaertner
On Tue, 24 Mar 2015 16:39:09 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: [...] Why? It is a very useful feature. I don't see how. Some IDE functions added dependencies automatically, creating redundant dependencies. The clean up function allows to remedy this. IMHO it

Re: [Lazarus] Package dialog ?

2015-03-24 Thread Michael Van Canneyt
On Tue, 24 Mar 2015, Mattias Gaertner wrote: On Tue, 24 Mar 2015 16:39:09 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: [...] Why? It is a very useful feature. I don't see how. Some IDE functions added dependencies automatically, creating redundant dependencies. The

Re: [Lazarus] Package dialog ?

2015-03-24 Thread Juha Manninen
On Tue, Mar 24, 2015 at 1:45 PM, Michael Van Canneyt mich...@freepascal.org wrote: Ehm, 'many other complaints' ? that is just your opinion :-) I opened the report partly because of other complaints and questions. It was not only my opinion. What more, there was a filter which prevented

Re: [Lazarus] always visible cursor editor option?

2015-03-24 Thread Martin Frb
On 24/03/2015 11:50, Graeme Geldenhuys wrote: What does that option actually mean and do? Unfortunately there is no help on the topic in the wiki http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Options The header General is a link:

Re: [Lazarus] Package Dialog - File properties

2015-03-24 Thread Juha Manninen
On Tue, Mar 24, 2015 at 2:00 PM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: Is there a global option to permanently hide the File Properties panel in *all* Package Dialogs? I can currently use the Splitter and drag it to the bottom, but not hide it completely. Then when I open that

Re: [Lazarus] always visible cursor editor option?

2015-03-24 Thread Graeme Geldenhuys
On 2015-03-24 14:32, Martin Frb wrote: When you scroll, and the caret would leave the visible screen, then the caret will move to stay visible. Many thanks. Regards, - Graeme - -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread Graeme Geldenhuys
On 2015-03-24 13:10, aradeonas wrote: Graeme I'm working with fpGUI If you have any further fpGUI questions, don't hesitate to drop a message in the fpgui.support newsgroup. Details connecting to the news server (or via the web interface) can be found here:

Re: [Lazarus] Package dialog ?

2015-03-24 Thread Michael Van Canneyt
On Tue, 24 Mar 2015, Juha Manninen wrote: On Tue, Mar 24, 2015 at 1:45 PM, Michael Van Canneyt mich...@freepascal.org wrote: Ehm, 'many other complaints' ? that is just your opinion :-) I opened the report partly because of other complaints and questions. It was not only my opinion. OK,

[Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler

2015-03-24 Thread Juha Manninen
Hi I fixed lots of uninitialized variables based on compiler warnings in r48476 - r484782. I also added some ToDo items for things I could not fix. I would need help for the ToDo items especially in LCL-Win32 code. I know there are people here who know that code. In win32winapi.inc there are 3

Re: [Lazarus] Package dialog ?

2015-03-24 Thread Michael Van Canneyt
On Tue, 24 Mar 2015, Mattias Gaertner wrote: On Tue, 24 Mar 2015 17:13:10 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: [...] If you remove the dependency A-B, then there is probably a reason for that. For example A no longer works with B. Yes, but A still depends on C.

[Lazarus] Anyone using IME input on SynEdit/IDE (Japanese, Chinese, Arabic, ...)

2015-03-24 Thread Martin Frb
Please have a look at: http://forum.lazarus.freepascal.org/index.php/topic,27838.msg172530.html This may interest you, or you may want to add your feedback. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Hide mouse cursor while typing

2015-03-24 Thread Martin Frb
On 24/03/2015 16:30, Jürgen Hestermann wrote: Am 2015-03-24 um 12:53 schrieb Graeme Geldenhuys: Is there an option to hide the mouse cursor while I'm typing? Even better would be to only show the mouse cursor when the mouse is moving (and a small delay time after stopping). Of what use is

Re: [Lazarus] Hide mouse cursor while typing

2015-03-24 Thread Jürgen Hestermann
Am 2015-03-24 um 12:53 schrieb Graeme Geldenhuys: Is there an option to hide the mouse cursor while I'm typing? Even better would be to only show the mouse cursor when the mouse is moving (and a small delay time after stopping). Of what use is a mouse cursor when not using the mouse? I

Re: [Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler

2015-03-24 Thread Juha Manninen
On Tue, Mar 24, 2015 at 8:11 PM, Dmitry Boyarintsev skalogryz.li...@gmail.com wrote: HasAlpha := (Windows.GetObject(bmp, SizeOf(WinBmp), @WinBmp) 0) According to the specs, there's no need for initialization. Right, I missed that one. Now it is clear when I look at it. I got plenty or

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread Martin Schreiber
On Monday 23 March 2015 21:47:25 Felipe Monteiro de Carvalho wrote: On Mon, Mar 23, 2015 at 9:35 PM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: For full customisation and theme support, use a GUI toolkit that was designed for that purpose. fpGUI Toolkit (see the URL below)

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread Martin Schreiber
On Monday 23 March 2015 21:43:00 aradeonas wrote: Graeme I check fpGUI in past two years but if I want to be honest even its screenshot's doesn't impressed me enough because I think with my self I cant do such the example link that I sent with fpGUI,Is it possible to make something look like

Re: [Lazarus] Does a Lazarus build include the revision of the FPC used to compile it?

2015-03-24 Thread leledumbo
Is including the FPC revision part of the Lazarus build nope does FPC have a way of telling its revision number, if it is checked out from a Git mirror, ie using `git archive` without the metadata? nope, only version (fpc -iV), and that's what building revision.inc in the Lazarus build

Re: [Lazarus] Hide mouse cursor while typing

2015-03-24 Thread Martin Frb
On 24/03/2015 11:53, Graeme Geldenhuys wrote: Hi, I'm using Centos 6.6 and Lazarus IDE compiled with GTK2. Is there an option to hide the mouse cursor while I'm typing? I've seen this option in other editors and is quite handle. use case: Click with the mouse to place the edit cursor. Mouse

Re: [Lazarus] Hide mouse cursor while typing

2015-03-24 Thread Graeme Geldenhuys
On 2015-03-24 14:34, Martin Frb wrote: Options Editor Mouse: Hide mouse when typing Ah brilliant - how did I miss that! @#$? Many thanks. Regards, - Graeme - -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler

2015-03-24 Thread Dmitry Boyarintsev
On Tue, Mar 24, 2015 at 2:06 PM, Juha Manninen juha.mannine...@gmail.com wrote: // ToDo: Fix Result and the loop. I is not used for anything. for I := 0 to FrameWidth - 1 do Result := Boolean(DrawEdge(DC, ARect, Edge[Style], BF_RECT or BF_ADJUST)); false positive.

Re: [Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler

2015-03-24 Thread Dmitry Boyarintsev
On Tue, Mar 24, 2015 at 4:36 PM, Dmitry Boyarintsev skalogryz.li...@gmail.com wrote: of is DrawEdge or is DrawEdge -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler

2015-03-24 Thread Dmitry Boyarintsev
On Tue, Mar 24, 2015 at 4:36 PM, Dmitry Boyarintsev skalogryz.li...@gmail.com wrote: hmm... or is DrawEdge declaration wrong having ARect be passed as const rather than var? it's var! function DrawEdge(hdc: HDC; var qrc: TRect; edge: UINT; grfFlags: UINT): BOOL; external 'user32' name

Re: [Lazarus] Does a Lazarus build include the revision of the FPC used to compile it?

2015-03-24 Thread vfclists .
On 24 March 2015 at 06:42, leledumbo leledumbo_c...@yahoo.co.id wrote: Is including the FPC revision part of the Lazarus build nope does FPC have a way of telling its revision number, if it is checked out from a Git mirror, ie using `git archive` without the metadata? nope, only

Re: [Lazarus] Package dialog ?

2015-03-24 Thread Mattias Gaertner
On Tue, 24 Mar 2015 17:13:10 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: [...] If you remove the dependency A-B, then there is probably a reason for that. For example A no longer works with B. Yes, but A still depends on C. And if not? If the only link from A to C is

Re: [Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler

2015-03-24 Thread Dmitry Boyarintsev
On Tue, Mar 24, 2015 at 2:06 PM, Juha Manninen juha.mannine...@gmail.com wrote: I also added some ToDo items for things I could not fix. I would need help for the ToDo items especially in LCL-Win32 code. I know there are people here who know that code. // ToDo: WinBmp is not initialized at

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread micsch
Am Tuesday 24 March 2015 14:10:34 schrieb aradeonas: Graeme I'm working with fpGUI and also I wants to remind you for ant new screen shots. Regards, Ara You can take a look at https://github.com/fredvs/uidesigner_ext https://github.com/fredvs/uidesigner_ext/blob/master/INSTALL.txt with

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread zeljko
On 03/23/2015 09:35 PM, Graeme Geldenhuys wrote: On 2015-03-23 20:19, aradeonas wrote: I know its possible with other languages specialty web programing but how in Lazarus? The LCL (GTK2, QT, Carbon, Win32) are not designed to be customise with themes. The design goal of LCL is to look

Re: [Lazarus] Ways of making new style design

2015-03-24 Thread vfclists .
On 24 March 2015 at 07:23, zeljko zel...@holobit.net wrote: On 03/23/2015 09:35 PM, Graeme Geldenhuys wrote: On 2015-03-23 20:19, aradeonas wrote: I know its possible with other languages specialty web programing but how in Lazarus? The LCL (GTK2, QT, Carbon, Win32) are not designed to

[Lazarus] How do you guys extract an SVN revision number from a Git commit ref?

2015-03-24 Thread vfclists .
I am using this code to obtain the SVN revision of a git commit hash. The example below is for the latest commit hence the git log -n 1. git log -n 1 | head -n 7 | tail -n 1 | cut -d @ -f 2 | cut -d -f 1 It checks for the seventh line, searches for the '@' in trunk@N and extracts it from