Re: [Lazarus] Chromium embedded on freebsd or firefox embedded

2016-10-21 Thread Lars via Lazarus
On Fri, October 21, 2016 6:04 am, José Mejuto via Lazarus wrote: > > Embeded Firefox is not possible anymore via XulRunner as embedded > support has been dropped by Mozilla. Really? I heard about them changing the architecture to a new embedded architecture and no longer supporting an old

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Martin Frb via Lazarus
On 21/10/2016 22:16, Juha Manninen via Lazarus wrote: UTF-16. It does not support all the complex rules of combining CodePoints, but it apparently works well for accented characters in western languages. Which ones does it not support? When I added it to SynEdit it was complete. It had all

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Juha Manninen via Lazarus
On Fri, Oct 21, 2016 at 2:26 PM, Juha Manninen wrote: > No, neither FPC nor Lazarus have library code to deal with [combined > CodePoints] yet. > The goal is to have an enumerator for user perceived characters, just > like LazUnicode unit has for encoding agnostic

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Juha Manninen via Lazarus
On Fri, Oct 21, 2016 at 5:08 PM, Jürgen Hestermann via Lazarus wrote: > And again we are at the point where you need to understand what goes on > under the hood... ;-) Yes but that is true with any programming. I am truly happy that we have Unicode instead of the

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Jürgen Hestermann via Lazarus
Am 2016-10-21 um 13:23 schrieb Gabor Boros via Lazarus: > I will know if somebody describe what a difference between á and an á characters in two points of my program. The problem is, that Unicode has a code point for "á" but also allows to compose this characters by having an "a" and an "´"

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Mehmet Erol Sanliturk via Lazarus
On Fri, Oct 21, 2016 at 12:51 AM, Lars via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > On Mon, October 17, 2016 7:32 pm, Mehmet Erol Sanliturk wrote: > > One obvious point is that an "event" driven programming knowledge is a > > must to become a competent programmer . The problem is how

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Gabor Boros via Lazarus
2016. 10. 21. 12:38 keltezéssel, Juha Manninen via Lazarus írta: for i:=1 to UTF8Length(s) do Write(UTF8Copy(s,i,1)) No, it not a good solution! I predict that most your code can still use byte indexing. At some point you will get a Heureka-moment like "hey, I don't need the codepoint index

Re: [Lazarus] Chromium embedded on freebsd or firefox embedded

2016-10-21 Thread José Mejuto via Lazarus
El 21/10/2016 a las 13:23, Lars via Lazarus escribió: When you dabbed with firefox embedded, was it a lazarus component? Or did you make calls directly to an API without using a component? Hello, Embeded Firefox is not possible anymore via XulRunner as embedded support has been dropped by

Re: [Lazarus] Anchordocking + Sparta, how dock object inspector into form editor

2016-10-21 Thread Maciej Izak via Lazarus
2016-10-21 13:51 GMT+02:00 Fabio Luis Girardi via Lazarus < lazarus@lists.lazarus-ide.org>: > But is possible to dock the component list and object inspector into the > form designer? It makes no sense to see the object inspector while I'm at > source editor. Sorry - not yet. I have no plans

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Martin Schreiber via Lazarus
On Friday 21 October 2016 13:26:13 Lars via Lazarus wrote: > On Fri, October 21, 2016 2:11 am, Martin Schreiber via Lazarus wrote: > > On Friday 21 October 2016 09:51:38 Lars via Lazarus wrote: > >> I'm not so sure event driven programming is a must to become a > >> competent programmer, I would

[Lazarus] Anchordocking + Sparta, how dock object inspector into form editor

2016-10-21 Thread Fabio Luis Girardi via Lazarus
Hi! I'm using AnchorDocking together with Sparta and work with these two are awesome. But is possible to dock the component list and object inspector into the form designer? It makes no sense to see the object inspector while I'm at source editor. -- The best regards, Fabio Luis Girardi

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Juha Manninen via Lazarus
On Fri, Oct 21, 2016 at 2:13 PM, Gabor Boros via Lazarus wrote: > Same FCP same Lazarus. Why is there a difference in the result? You still did not read the wiki page: http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus Console programs are mentioned in

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Juha Manninen via Lazarus
On Fri, Oct 21, 2016 at 12:51 PM, Lars via Lazarus wrote: > Indeed this is a serious problem these days, unicode.. which is almost a > virus. > In GoLang they use something called "Runes" to try and solve the problem. I had to search about what "runes" in GoLang

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Lars via Lazarus
On Fri, October 21, 2016 2:11 am, Martin Schreiber via Lazarus wrote: > On Friday 21 October 2016 09:51:38 Lars via Lazarus wrote: > >> >> I'm not so sure event driven programming is a must to become a >> competent programmer, I would have to think about that. > > "Event driven" probably means

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Gabor Boros via Lazarus
2016. 10. 21. 12:48 keltezéssel, Jürgen Hestermann via Lazarus írta: If you realy need the character position/length, then you have to use UTF8Length/UTF8Copy/etc. But as said: It is only needed in special circumstances. Still you have to know when to use what. I will know if somebody describe

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Mattias Gaertner via Lazarus
On Fri, 21 Oct 2016 03:41:49 -0600 Lars via Lazarus wrote: >[...] > The word engineer is so overloaded, that I hate it, with my guts. > > What is an engineer? A guy "who makes stuff".. which pretty much describes > every single profession. This is going

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Jürgen Hestermann via Lazarus
Am 2016-10-21 um 11:28 schrieb Lars via Lazarus: > Hmmm.. I'm not so sure learning about the internals of the CPU is so good. > IMO that is computer science, whereas programming is computing science. > I was interested in how computers physically worked, before I became a > programmer. One of the

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Lars via Lazarus
On Fri, October 21, 2016 1:03 am, Gabor Boros via Lazarus wrote: > Hi All, > > > In the past I used Length, Pos, Delete, for i:=1 to Length(s) do s[i]... > and realized yesterday these practices are wrong. But I do not know what > the right practice. Indeed this is a serious problem these days,

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Lars via Lazarus
On Fri, October 14, 2016 4:42 am, Mehmet Erol Sanliturk via Lazarus wrote: > On Fri, Oct 14, 2016 at 1:18 AM, Michael Schnell via Lazarus < > lazarus@lists.lazarus-ide.org> wrote: > >> On 13.10.2016 10:20, Graeme Geldenhuys via Lazarus wrote: >> >> >>> +1 >>> That would be the best solution. GUI

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Mattias Gaertner via Lazarus
On Fri, 21 Oct 2016 11:29:36 +0200 Gabor Boros via Lazarus wrote: > 2016. 10. 21. 10:24 keltezéssel, Juha Manninen via Lazarus írta: > > A "character" in Unicode is an ambiguous term. > > Often the good old byte (codeunit) access is very useful. > > See: > >

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Lars via Lazarus
On Tue, October 18, 2016 9:16 am, Jürgen Hestermann via Lazarus wrote: > Am 2016-10-18 um 16:47 schrieb Michael Schnell via Lazarus: > >> If you start with complex stuff that does not yield immediate success >> (i.e. a working program that does something that might be useful) The >> students will

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Lars via Lazarus
On Tue, October 18, 2016 7:23 am, Jürgen Hestermann via Lazarus wrote: > Am 2016-10-18 um 12:53 schrieb Mehmet Erol Sanliturk via Lazarus: > >> Order of teaching is not so critical : As you say , write a GUI program >> for events : Say : "Now it is necessary to define what will be done for >> the

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Jürgen Hestermann via Lazarus
Am 2016-10-21 um 10:08 schrieb Lars via Lazarus: > Sometimes knowing the internals and details can be a disadvantage because > instead of thinking about the abstract program you are thinking about cpu > cycles, bit popping, bit twiddling, low level API calls. How do you think about "the abstract

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Jürgen Hestermann via Lazarus
Am 2016-10-21 um 09:20 schrieb Lars via Lazarus: > The issue with console mode programs is students see utterly no use for them. Why should they not? A computer is a information processing machine and GUI is not necessary to process information, it's just a cosmetic thing. The interaction of a

Re: [Lazarus] Help System with Chromium Embedded component

2016-10-21 Thread Graeme Geldenhuys via Lazarus
On 2016-10-21 08:04, Lars via Lazarus wrote: > powerful like a full fledged .CHM system or .hlp system. But even chm and > .hlp files are primitive, they are just basic, and 1990's technology. One thing you are overlooking is that most help authors don't use any of the advanced features of the

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Lars via Lazarus
On Tue, October 18, 2016 4:42 am, Mehmet Erol Sanliturk via Lazarus wrote: > One unfortunate situation is that there is not much Pascal software for > Petri Nets processing , except the following ( which its license is very > ambiguous means not usable ) Hopefully in these situations, you can

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Lars via Lazarus
On Mon, October 17, 2016 3:07 am, Graeme Geldenhuys via Lazarus wrote: > On 2016-10-17 09:52, Michael Schnell via Lazarus wrote: > >> - do I need know how/why the GUI builder creates the code that makes a >> Button visible on a Form and my Event handler be called when a button >> is pressed ? > >

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Lars via Lazarus
On Mon, October 17, 2016 2:52 am, Michael Schnell via Lazarus wrote: > On 14.10.2016 16:10, Jürgen Hestermann via Lazarus wrote: > >> >> In most cases they never get to the step "find out how it works". >> If it works, nobody wants to invest time anymore to look under the hood. >> So they always

Re: [Lazarus] LCL Cocoa: Overriding delegate protocols

2016-10-21 Thread Graeme Geldenhuys via Lazarus
On 2016-10-13 17:13, Zoë Peterson via Lazarus wrote: > It seems like the fix > would be to move all of the CreateHandle code into a method in > TCocoaWindow (possibly init) I'm not a core Lazarus developer, but your suggestion does sound like a good solution without down sides. One method doing

[Lazarus] Chromium embedded on freebsd or firefox embedded

2016-10-21 Thread Lars via Lazarus
What is the actual status of chromium embedded and firefox embedded on bsd? Does it only work on Windows and Linux? Seems there is not so much info about CEF in general on freebsd other than this info: https://lists.freebsd.org/pipermail/freebsd-chromium/2014-January/001113.html I so much love