Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Michael Schnell
On 05/24/2014 01:55 PM, Graeme Geldenhuys wrote: I applied some of my changes to code in Github (more changes recently discussed in this mailing list will follow soon), fixed the "etdemo" project to be compilable again, updated the demo to use FPC Resources instead of the old *.lrs files. Grea

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Graeme Geldenhuys
On 26/05/14 10:38, Michael Schnell wrote: > As EpikTimer internals seem to be discussed here rather than in > fc-devel, I add some comments in this thread. fpc-devel is only for FPC related/included units. EpikTimer is not included in FPC. I also believe that not everything must always be include

[Lazarus] Clipboard.HasFormat(CF_TEXT)

2014-05-26 Thread C Western
I may have discovered an issue with the clipboard on Linux/GTK2. My application updates a paste button and menu item via an action that updates on idle by calling Clipboard.HasFormat(CF_TEXT). Pasting is intermittently failing/hanging for 10 seconds, and I think the issue is that the Clipboard.

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Michael Schnell
On 05/26/2014 01:21 PM, Graeme Geldenhuys wrote: fpc-devel is only for FPC related/included units. EpikTimer is not included in FPC. I also believe that not everything must always be included with FPC - that makes it harder to experiment and apply changes. I see. How do you suggest a not Lazar

Re: [Lazarus] Lazreport master-detail on one line

2014-05-26 Thread Reinier Olislagers
(Note: haven't ever set up master/detail reporting in Lazreport, so just some ideas below) At least in other reporting solutions, master details means having some master band, then a detail band below it. This gives the following setup: Master1 record ...detail1:record1 ...detail1:record2 ... ...d

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Sven Barth
Am 26.05.2014 11:39 schrieb "Michael Schnell" : > Here I found, that it is a rather appropriate use for EpikTimer to handle it in a "static" way, not creating an instance of TEpikTimer with every use of same, but simply to use class properties, class procedures and class functions of TEpikTimer. W

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Michael Schnell
On 05/26/2014 02:28 PM, Sven Barth wrote: Why not simply instantiate a single instance and use that where necessary instead of completely reworking the class? I am not doing an application, but an enhancement to the LCL. Hence this in any case would be an _additional_ instance. The VMT is

Re: [Lazarus] Clipboard.HasFormat(CF_TEXT)

2014-05-26 Thread Mattias Gaertner
On Mon, 26 May 2014 12:31:41 +0100 C Western wrote: > I may have discovered an issue with the clipboard on Linux/GTK2. My > application updates a paste button and menu item via an action that > updates on idle by calling Clipboard.HasFormat(CF_TEXT). Pasting is > intermittently failing/hanging

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Graeme Geldenhuys
On 26/05/14 12:42, Michael Schnell wrote: > > How do you suggest a not Lazarus enabled user of a finally released > version should use it ? Like its always been done. Lazarus is NOT the only way to use FPC. Define the Unit Path (source code path) or Compiled Unit Path (path to *.ppu files) in yo

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Mattias Gaertner
On Mon, 26 May 2014 16:23:00 +0100 Graeme Geldenhuys wrote: >[...] > I for one don't like the Lazarus Packages any more. I much prefer to > define my paths to used units, and include path macros to make it work > on multiple systems. MSEide and Maximus IDE does that. I believe you can > do the sa

[Lazarus] SynEdit1.SearchReplace(

2014-05-26 Thread CML Christian Hartnick
Hi, this is my first post on this list. I'm a former Delphi programmer now using lazarus. I'm writing an html generator and using the synedit component. When I'm searching and/or replacing with the "SynEdit1.SearchReplace()" function, there is a strange behavior if the search string is #10 (

Re: [Lazarus] SynEdit1.SearchReplace(

2014-05-26 Thread CML Christian Hartnick
Sorry for the quick add-on: In lazarus seems to be the same error too. (I think it is using the same component). Christian Am 26.05.2014 17:42, schrieb CML Christian Hartnick: Hi, this is my first post on this list. I'm a former Delphi programmer now using lazarus. I'm writing an html gene

Re: [Lazarus] SynEdit1.SearchReplace(

2014-05-26 Thread Martin Frb
can you open a bug report on this please? I will then look at it as soon as I have time. (I am currently a bit busy, so it may be a while) On 26/05/2014 16:42, CML Christian Hartnick wrote: Hi, this is my first post on this list. I'm a former Delphi programmer now using lazarus. I'm writing

Re: [Lazarus] Clipboard.HasFormat(CF_TEXT)

2014-05-26 Thread C Western
On 26/05/14 14:38, Mattias Gaertner wrote: On Mon, 26 May 2014 12:31:41 +0100 C Western wrote: I may have discovered an issue with the clipboard on Linux/GTK2. My application updates a paste button and menu item via an action that updates on idle by calling Clipboard.HasFormat(CF_TEXT). Pastin

Re: [Lazarus] Lazreport master-detail on one line

2014-05-26 Thread Giuliano Colla
Il 26/05/2014 13:26, Koenraad Lelong ha scritto: Hi, I want to make a report of database data. The data has a master-detail relationship. For every master-record there are a fixed number of detail-records. A detail record = ItemCode, ItemValue So I make a lazreport. I put a masterheader band

Re: [Lazarus] Clipboard.HasFormat(CF_TEXT)

2014-05-26 Thread Mattias Gaertner
On Mon, 26 May 2014 18:16:10 +0100 C Western wrote: >[...] > I would think that any application that uses the clipboard would be > vulnerable to this. For example, I think I can trigger the issue with > two Ctrl-V's in succession with the edittest example in lazarus. Start > it and say libre o

Re: [Lazarus] Clipboard.HasFormat(CF_TEXT)

2014-05-26 Thread Colin Western
In the wrong order is certainly a possibility also, though I was more concerned about the hang. When the actions overlap, I think anything can happen. On 26 May 2014 18:43:23 BST, Mattias Gaertner wrote: >On Mon, 26 May 2014 18:16:10 +0100 >C Western wrote: > >>[...] >> I would think that any

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Hans-Peter Diettrich
Michael Schnell schrieb: Here I found, that it is a rather appropriate use for EpikTimer to handle it in a "static" way, not creating an instance of TEpikTimer with every use of same, but simply to use class properties, class procedures and class functions of TEpikTimer. You know that the Pa

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Sven Barth
On 26.05.2014 15:11, Hans-Peter Diettrich wrote: Michael Schnell schrieb: Here I found, that it is a rather appropriate use for EpikTimer to handle it in a "static" way, not creating an instance of TEpikTimer with every use of same, but simply to use class properties, class procedures and class

Re: [Lazarus] SynEdit1.SearchReplace(

2014-05-26 Thread Bart
Confirmed and filed bugreport (http://bugs.freepascal.org/view.php?id=26227), assigned it to Martin. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] [ANN] Brook 3.0.0 release!

2014-05-26 Thread silvioprog
2014-05-23 7:12 GMT-03:00 Giuliano Colla : > Il 19/05/2014 04:45, silvioprog ha scritto: > [snip] > > We can add a new file, called "WHATS_NEW.txt", and it can be rewritten in >> all new versions, showing "what's new" in this released version. >> >> What do you think of this idea? >> >> If, inst

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Mattias Gaertner
On Mon, 26 May 2014 19:44:56 +0100 Graeme Geldenhuys wrote: > On 26/05/14 16:34, Mattias Gaertner wrote: > > You don't have to edit all lpk files. In fact you don't need to touch a > > single lpk file at all. > > Oh... last I remember one had to modify each package to support multiple > build mo

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Paul Breneman
On 05/24/2014 07:55 AM, Graeme Geldenhuys wrote: Hi, I've spoken to Tom and he agreed. We moved the EpikTimer repository to Github. The Lazarus-CCR version will be deleted by Tom in due time. I applied some of my changes to code in Github (more changes recently discussed in this mailing list wi

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Graeme Geldenhuys
On 27/05/14 01:33, Mattias Gaertner wrote: > > It exists since 1.1, so more than year. Wow, then time flies! :) I'll pull and build a new version to see what's new. > What if a package crashes with an optimization? How can you compile > your project and all other packages with the optimization?

Re: [Lazarus] SynEdit1.SearchReplace(

2014-05-26 Thread CML Christian Hartnick
Am 26.05.2014 21:51, schrieb Bart: Confirmed and filed bugreport (http://bugs.freepascal.org/view.php?id=26227), assigned it to Martin. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/l

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread Graeme Geldenhuys
On 27/05/14 02:54, Paul Breneman wrote: > > Will EpikTimer work in a console app? Yes, since 4 years ago. ;-) > If so, an example on the wiki > page would sure be appreciated. The wiki already does. http://wiki.freepascal.org/EpikTimer#Usage If you don't have an "Application" object insta

Re: [Lazarus] EpikTimer v1.0.1 released

2014-05-26 Thread patspiper
On 26/05/14 21:44, Graeme Geldenhuys wrote: On 26/05/14 16:34, Mattias Gaertner wrote: You don't have to edit all lpk files. In fact you don't need to touch a single lpk file at all. Oh... last I remember one had to modify each package to support multiple build modes from Lazarus IDE. That defe