Re: [Lazarus] CHM help package

2017-12-12 Thread Sergey Bodrov via Lazarus
2017-12-12 21:36 GMT+03:00 Werner Pamler via Lazarus < lazarus@lists.lazarus-ide.org>: > Am 12.12.2017 um 18:24 schrieb Sergey Bodrov via Lazarus: > > Strange way to make changes, but I don't mind. > > What is strange? > http://wiki.freepascal.org/Creating_A_Patch describes two ways - make a

Re: [Lazarus] Lazarus Release 1.8

2017-12-12 Thread Mattias Gaertner via Lazarus
On Wed, 13 Dec 2017 00:06:45 +0100 Salvatore Coppola via Lazarus wrote: > As usual after istalled fpc packages (fpc-src_3.0.4-1_amd64.deb >

Re: [Lazarus] "Character" -> "Codepoint" in LazUTF8 function names

2017-12-12 Thread Graeme Geldenhuys via Lazarus
On 2017-12-12 19:52, Mark Morgan Lloyd via Lazarus wrote: It might go back at least as far as IBM's GDDM from 1979. It's a real shame that generation of extremely talented developers disappeared without anybody of equal talent taking their place. IBM used to be a software power-house. Or

Re: [Lazarus] Lazarus Release 1.8

2017-12-12 Thread Salvatore Coppola via Lazarus
As usual after istalled fpc packages (fpc-src_3.0.4-1_amd64.deb and fpc_3.0.4-1_amd64.deb

Re: [Lazarus] Error code 5

2017-12-12 Thread Larry Dalton via Lazarus
Thanks! The re-boot cleared it. Sent from my iPhone > On Dec 12, 2017, at 16:41, Mattias Gaertner via Lazarus > wrote: > > On Tue, 12 Dec 2017 16:30:14 -0500 > Larry Dalton via Lazarus wrote: > >> I am getting an error code 5

Re: [Lazarus] Error code 5

2017-12-12 Thread Mattias Gaertner via Lazarus
On Tue, 12 Dec 2017 16:30:14 -0500 Larry Dalton via Lazarus wrote: > I am getting an error code 5 when I try to compile an application: "can't > create object file". This is at compile time. Have you read this thread?

[Lazarus] Error code 5

2017-12-12 Thread Larry Dalton via Lazarus
I am getting an error code 5 when I try to compile an application: "can't create object file". This is at compile time. Sent from my iPhone -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] issue with %RunCommand

2017-12-12 Thread Mattias Gaertner via Lazarus
On Tue, 12 Dec 2017 21:06:31 +0100 Matias Vara via Lazarus wrote: > Hello Mattias, > > I added: > > {%RunFlags BUILD- Messages+} > > However, the process is still in background so I cannot see the window. Please create a bug report. Mattias --

Re: [Lazarus] CHM help package

2017-12-12 Thread Marco van de Voort via Lazarus
On Tue, Dec 12, 2017 at 04:03:17PM +0100, Werner Pamler via Lazarus wrote: > >> should go there independently of how this story ends here. I have > >> commit rights to Lazarus and can put it there. Any objections? > > > > Why not to use TEncoding provided with FPC 3? > > This is not the point.

Re: [Lazarus] issue with %RunCommand

2017-12-12 Thread Matias Vara via Lazarus
Hello Mattias, I added: {%RunFlags BUILD- Messages+} However, the process is still in background so I cannot see the window. Matias 2017-12-12 13:06 GMT+01:00 Mattias Gaertner via Lazarus < lazarus@lists.lazarus-ide.org>: > On Tue, 12 Dec 2017 12:29:59 +0100 > Matias Vara via Lazarus

Re: [Lazarus] "Character" -> "Codepoint" in LazUTF8 function names

2017-12-12 Thread Mark Morgan Lloyd via Lazarus
On 12/12/17 16:00, Juha Manninen via Lazarus wrote: On Tue, Dec 12, 2017 at 5:10 PM, Mark Morgan Lloyd via Lazarus wrote:> I think it was IBM introduced the term no later than the 80s when people> started using codepages. It might have been related to CUA, and

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 18:24 schrieb Sergey Bodrov via Lazarus: On Dec 12, 2017 6:52 PM, "Werner Pamler" > wrote: If you don't mind I'll write a bug report for this part of your code. But a question before doing so: The original

Re: [Lazarus] CHM help package

2017-12-12 Thread Sergey Bodrov via Lazarus
On Dec 12, 2017 6:52 PM, "Werner Pamler" wrote: If you don't mind I'll write a bug report for this part of your code. But a question before doing so: The original function ReadWLCEntries returns a TChmWLCTopicArray, you put this into a var parameter and return a

[Lazarus] Alternative key mappings and sequences

2017-12-12 Thread Vojtěch Čihák via Lazarus
Hi,   are alternative shortcuts and sequences broken? See screenshot. Ctrl+Alt+Q works but F9 doesn't. If I swap them, F9 works but Ctrl+Alt+Q doesn't.   If I will edit sequence [F9, Ctrl+Alt+Q], Lazarus doesn't wait for the second and run project immediately after F9. The same for [Ctrl+Alt+Q,

Re: [Lazarus] "Character" -> "Codepoint" in LazUTF8 function names

2017-12-12 Thread Juha Manninen via Lazarus
On Tue, Dec 12, 2017 at 5:10 PM, Mark Morgan Lloyd via Lazarus wrote: > I think it was IBM introduced the term no later than the 80s when people > started using codepages. It might have been related to CUA, and it was used > in the context of both ASCII and EBCDIC.

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 15:58 schrieb Sergey Bodrov: Can you explain where full-text search does not work properly? I need an example to work with, give detailed instructions how to reproduce this error. It can find wrong pages, where no keywords in page body. For example - 'writeln' in rtl.chm I

Re: [Lazarus] "Character" -> "Codepoint" in LazUTF8 function names

2017-12-12 Thread Mark Morgan Lloyd via Lazarus
On 12/12/17 14:15, Juha Manninen via Lazarus wrote: On Tue, Dec 12, 2017 at 11:51 AM, Mark Morgan Lloyd via Lazarus wrote:> Agreed, but I hope nobody tries to retrofit any more IBMisms like "octet"> instead of "byte" :-) Where did you get the connection for

Re: [Lazarus] CHM help package

2017-12-12 Thread Sergey Bodrov via Lazarus
2017-12-12 17:42 GMT+03:00 Werner Pamler via Lazarus < lazarus@lists.lazarus-ide.org>: > Am 12.12.2017 um 08:57 schrieb Sergey Bodrov via Lazarus: > > - full-text search works properly > > > Can you explain where full-text search does not work properly? I need an > example to work with, give

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 08:57 schrieb Sergey Bodrov via Lazarus: - full-text search works properly Can you explain where full-text search does not work properly? I need an example to work with, give detailed instructions how to reproduce this error. I did not look into this feature in detail yet:

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 14:46 schrieb Sergey Bodrov via Lazarus: Maybe, you confused with ACommands loop? There is no loops for Args. Ah, of course. Thanks. I'll fix it. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] "Character" -> "Codepoint" in LazUTF8 function names

2017-12-12 Thread Juha Manninen via Lazarus
On Tue, Dec 12, 2017 at 11:51 AM, Mark Morgan Lloyd via Lazarus wrote: > Agreed, but I hope nobody tries to retrofit any more IBMisms like "octet" > instead of "byte" :-) Where did you get the connection for IBM? AFAIK "codepoint" is not related to IBM but it is an

Re: [Lazarus] CHM help package

2017-12-12 Thread Sergey Bodrov via Lazarus
2017-12-12 16:32 GMT+03:00 Werner Pamler via Lazarus < lazarus@lists.lazarus-ide.org>: > Am 12.12.2017 um 11:01 schrieb Sergey Bodrov via Lazarus: > > BTW, in ipcss.inc TCSSProps.ReadCommands() lack of Args.Count checking > for 'border-width', 'border-color' and 'border-style' cause Args[0] >

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 11:01 schrieb Sergey Bodrov via Lazarus: BTW,  in ipcss.inc TCSSProps.ReadCommands() lack of Args.Count checking for 'border-width', 'border-color' and 'border-style' cause Args[0] out-of-range errors. Instead of tons checks for Args.Count, I propose single local function,

Re: [Lazarus] issue with %RunCommand

2017-12-12 Thread Mattias Gaertner via Lazarus
On Tue, 12 Dec 2017 12:29:59 +0100 Matias Vara via Lazarus wrote: > Thanks for the answer Mattias, I have one more question, why is this > behavior different in lazarus 1.6.2? As far as I remember 1.6 always opened the Console under Windows, which was unpleasant

Re: [Lazarus] issue with %RunCommand

2017-12-12 Thread Matias Vara via Lazarus
Thanks for the answer Mattias, I have one more question, why is this behavior different in lazarus 1.6.2? Matias 2017-12-12 11:17 GMT+01:00 Mattias Gaertner via Lazarus < lazarus@lists.lazarus-ide.org>: > On Mon, 11 Dec 2017 12:14:49 +0100 > Matias Vara via Lazarus

Re: [Lazarus] CHM help package (Marco van de Voort)

2017-12-12 Thread Mattias Gaertner via Lazarus
On Tue, 12 Dec 2017 11:14:09 +0100 Sven Barth via Lazarus wrote: >[...] > Patches with formatting changes are very likely to be rejected in code that > belongs to the FPC project (can't speak about Lazarus here) and for the > compiler itself it is even nearly

Re: [Lazarus] Highlight matching brackets

2017-12-12 Thread Juha Manninen via Lazarus
On Tue, Dec 12, 2017 at 10:44 AM, Ondrej Pokorny via Lazarus wrote: > I thought only bug fixes should go to the fixes branch and not new bugs. Yes, I trusted the patch too much. I did not analyse it, I only tested the particular case when cursor was at the end of a

Re: [Lazarus] CHM help package (Marco van de Voort)

2017-12-12 Thread Marco van de Voort via Lazarus
On Tue, Dec 12, 2017 at 11:14:09AM +0100, Sven Barth via Lazarus wrote: > want. > The modus operandi is to adhere to the formatting of the surrounding code. > > I will do whole work again as Romans want if Romans pay me. > > > Patches with formatting changes are very likely to be rejected in

Re: [Lazarus] issue with %RunCommand

2017-12-12 Thread Mattias Gaertner via Lazarus
On Mon, 11 Dec 2017 12:14:49 +0100 Matias Vara via Lazarus wrote: > Hello, in Lazarus 1.6.2 I was using the following line to run qemu when I > trigger "Run": > > {%RunCommand qemu-system-x86_64.exe -m 512 -smp 2 -drive > format=raw,file=ToroHello.img} > >

Re: [Lazarus] CHM help package (Marco van de Voort)

2017-12-12 Thread Sven Barth via Lazarus
Am 12.12.2017 09:07 schrieb "Sergey Bodrov via Lazarus" < lazarus@lists.lazarus-ide.org>: 2017-12-11 19:18 GMT+03:00 Sven Barth via Lazarus < lazarus@lists.lazarus-ide.org>: Problem is that I first change code formatting just to make it readable, > and then do fixes. Most fixes was impossible

Re: [Lazarus] CHM help package

2017-12-12 Thread Sergey Bodrov via Lazarus
2017-12-12 12:24 GMT+03:00 Werner Pamler via Lazarus < lazarus@lists.lazarus-ide.org>: > Am 12.12.2017 um 08:39 schrieb Sergey Bodrov via Lazarus: > > iso-8859-1 encoding have not relation to MS Locale ID. It HTML-specific, > and must handled by HTML viewer. I do dirty hack with HTML codepage >

Re: [Lazarus] "Character" -> "Codepoint" in LazUTF8 function names

2017-12-12 Thread Mark Morgan Lloyd via Lazarus
On 11/12/17 22:00, Graeme Geldenhuys via Lazarus wrote: On 2017-12-11 20:11, Juha Manninen via Lazarus wrote:> I changed "Character" to "Codepoint" in some LazUTF8 function names in> r56692. Please take a look.> "Codepoint" is more accurate and hopefully reduces confusion. I haven't looked at

Re: [Lazarus] CHM help package

2017-12-12 Thread Ondrej Pokorny via Lazarus
On 12.12.2017 8:39, Sergey Bodrov via Lazarus wrote: I do dirty hack with HTML codepage coversion just because don't ready to make fixes in TIpHtmlPanel. This is the wrong attitude. Please don't do dirty hacks but make fixes in other components as well. Or ask somebody to help you with it

Re: [Lazarus] CHM help package

2017-12-12 Thread Ondrej Pokorny via Lazarus
On 11.12.2017 18:32, Werner Pamler via Lazarus wrote: I cloned your repo on my HD, and went through it step by step while always trying to build lhelp, I could remove everything from the folder chm except for these units: chmfifimain, chmreader, chmsitemap, chmtypes (and chmobjinstance.inc). I

Re: [Lazarus] CHM help package

2017-12-12 Thread Werner Pamler via Lazarus
Am 12.12.2017 um 08:39 schrieb Sergey Bodrov via Lazarus:  iso-8859-1 encoding have not relation to MS Locale ID. It HTML-specific, and must handled by HTML viewer. I do dirty hack with HTML codepage coversion just because don't ready to make fixes in TIpHtmlPanel. But this specification

Re: [Lazarus] Highlight matching brackets

2017-12-12 Thread Ondrej Pokorny via Lazarus
On 11.12.2017 21:30, Juha Manninen via Lazarus wrote: Yes. I reverted it in r56695. The change is already in 1.8 so I will mark this one to be merged to fixes_1_8. I thought only bug fixes should go to the fixes branch and not new bugs. Ondrej --

Re: [Lazarus] CHM help package (Marco van de Voort)

2017-12-12 Thread Sergey Bodrov via Lazarus
2017-12-11 19:18 GMT+03:00 Sven Barth via Lazarus < lazarus@lists.lazarus-ide.org>: Problem is that I first change code formatting just to make it readable, > and then do fixes. Most fixes was impossible without reformatting. > > > In projects like Lazarus and Free Pascal it's "when in Rome, do