On Fri, October 21, 2016 8:19 pm, Lars wrote:
>> Firefox embedded does not work properly in Lazarus since Firefox 9 +/-
>> and it is not possible to make it work unless forking Firefox xulrunner.
>>
>
> Isn't there a new xulrunner architecutre they created to replace it..
> that's what I remember r
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 archite
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 the
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 CodePoints.
Sorry, that was not
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 old system
codepages. I remember
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 "´" pri
Am 2016-10-21 um 14:59 schrieb Juha Manninen via Lazarus:
> On Fri, Oct 21, 2016 at 3:24 PM, Gabor Boros via Lazarus
> wrote:
>> Why the below example better than a for loop with UTF8Length and UTF8Copy
>> for go through the string?
> Because it is MUCH faster. It scales linearly, O(n).
> Calling
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 this
On Fri, Oct 21, 2016 at 3:24 PM, Gabor Boros via Lazarus
wrote:
> Why the below example better than a for loop with UTF8Length and UTF8Copy
> for go through the string?
Because it is MUCH faster. It scales linearly, O(n).
Calling UTF8Length() and UTF8Copy() inside the loop makes it
polynomial O(n
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 wh
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 Mo
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 for
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 ha
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
Pascal
On 2016-10-21 12:23, Lars via Lazarus wrote:
> but for small apps it increases
> the download size significantly.
Exactly.
> When you dabbed with firefox embedded, was it a lazarus component?
It's been a while, but I believe it was a Lazarus component.
Regards,
Graeme
--
fpGUI Toolkit -
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 many places. This is under "Usage
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 mean. I found:
---
"Code point" i
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 that
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
On Fri, October 21, 2016 3:07 am, Graeme Geldenhuys via Lazarus wrote:
>
> I don't know about Chromium Embedded, but I did dab with Firefox
> Embedded 4 years ago, and from what I remember it was working fine. I
> never used in in a large-scale application though. I didn't like the large
> depende
2016. 10. 21. 12:38 keltezéssel, Juha Manninen via Lazarus írta:
I do not want to think of where Length, Copy, Delete is good and where UTF8*
needed.
Well, you must think when coding. There is no shortcut. :)
BTW, if you are worried about Delphi compatibility there is now unit
LazUnicode avail
On 2016-10-21 11:05, Mattias Gaertner via Lazarus wrote:
>> Wiki no, FPC guides yes.
>
> I would like to test that. Can you give me a link or hint?
Regarding the FPC guides. I consider the FPC Language Reference the most
important one, so I manually converted it (and keep it in sync with FPC
rele
Am 2016-10-21 um 12:05 schrieb Gabor Boros via Lazarus:
> 2016. 10. 21. 10:25 keltezéssel, Juha Manninen via Lazarus írta:
>> * Please read the wiki page ...
> I read, I read but if contains buggy example... ;-)
Yes, this can be very frustrating...
Documenation is one of the major drawbacks of Fr
On Fri, Oct 21, 2016 at 1:05 PM, Gabor Boros via Lazarus
wrote:
> 2016. 10. 21. 10:25 keltezéssel, Juha Manninen via Lazarus írta:
> I read, I read but if contains buggy example... ;-)
Mattias fixed the bug.
> I need a quick and a rock solid solution. Is it good solution if replace all
> Length,
Am 2016-10-21 um 11:35 schrieb Lars via Lazarus:
> There are two sides to this story, I'm afraid. I'm a fan of the console
> program teaching method myself but the issue is: console mode programs are
> irrelevant and useless.
> Today, MS DOS doesn't exist any more. Even when
> ms dos existed, cons
El 21/10/16 a les 11:09, Jürgen Hestermann via Lazarus ha escrit:
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
proce
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 off-topic. Please stick to the topic.
Ma
2016. 10. 21. 10:25 keltezéssel, Juha Manninen via Lazarus írta:
* Please read the wiki page ...
I read, I read but if contains buggy example... ;-)
I need a quick and a rock solid solution. Is it good solution if replace
all Length, Copy, Delete with UTF8Length, UTF8Copy, UTF8Delete and read
On Fri, 21 Oct 2016 10:34:51 +0100
Graeme Geldenhuys via Lazarus wrote:
> On 2016-10-21 10:13, Mattias Gaertner via Lazarus wrote:
> > Can the content of the wiki and FPC's guides be shown/searched with it
> > too?
>
> Wiki no, FPC guides yes.
I would like to test that. Can you give me a link
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
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, un
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 pr
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:
> > http://wiki.freepascal.org/UTF8_strin
Am 2016-10-21 um 10:33 schrieb Lars via Lazarus:
> How do you know some clever student wouldn't end up using recursion
> without any loop involved?
How can a student think about loops and recursion at all if he does not
get the information that they exist (in the specific programming language)?
S
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
On 2016-10-21 10:13, Mattias Gaertner via Lazarus wrote:
> Can the content of the wiki and FPC's guides be shown/searched with it
> too?
Wiki no, FPC guides yes.
I believe somebody was working on a "wiki exporter" tool at some point,
so the Wiki content could be made available offline. I assume
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:
http://wiki.freepascal.org/UTF8_strings_and_characters
I started with the wiki pages, but 2 about UTF8 in english is to
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
>> Il 13/10/2016 16:48, Reimar Grabowski via Lazarus ha scritto:
>>
>>
>>> If you want modern, teach them Java and let the programs run on their
>>> phones or keep doing console programs and do the GUI in JS (aka web
>>> applications). ^^
Wait, wasn't java killed, the day someone thought up the
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
> Both points are important,
> being popular is also important, network effect is important. More users
> means more libraries, more beta testers, more information, more tools. So,
> better frameworks.
Popular isn't always good. Look at perl's Cpan, or heck even java.
Basically if you have a bu
On Fri, 21 Oct 2016 09:58:47 +0100
Graeme Geldenhuys via Lazarus wrote:
>[...]
> http://forum.lazarus.freepascal.org/index.php/topic,27864.msg173887.html#msg173887
>
> It can also be integrated into Lazarus IDE, Delphi IDE or any programmer
> editor that supports "external tools" functionality -
On Fri, October 14, 2016 6:11 am, wkitty42--- via Lazarus wrote:
> On 10/14/2016 07:04 AM, Graeme Geldenhuys via Lazarus wrote:
>
>> On 2016-10-14 12:01, Graeme Geldenhuys via Lazarus wrote:
>>
>>> and maybe incite them every now and again
>>
>> Oops, that meant to read: "...and maybe entice them..
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 pr
On 2016-10-21 08:38, Lars via Lazarus wrote:
> I so much love the bsd license and want to move my desktop and some of my
> development over to BSD, but it just seems like bsd is constantly playing
> catch up to what linux and windows already had years ago.
I agree with the first part and disagree
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 exi
On Tue, October 18, 2016 4:53 am, Mehmet Erol Sanliturk via Lazarus wrote:
> My application was like the following ( as a very simple example ) :
>
>
> Pose a problem "Display your name ."
> After this is done :
>
>
> "Display your name 10 times ."
>
>
> The students were not able to write their pr
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 find
* Please read the wiki page ...
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus
On Fri, Oct 21, 2016 at 10:03 AM, Gabor Boros via Lazarus
wrote:
> UTF8* is good to me but a compiler directive is easier to use, just don't
> know why not working properly.
Please the wiki page you found. It is explained there.
http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus#String
On Mon, October 17, 2016 3:48 am, Michael Schnell via Lazarus wrote:
> On 17.10.2016 11:07, Graeme Geldenhuys via Lazarus wrote:
>
>
>> YES ...YES...NO...
>>
>
> IMHO a personal POV that is not very helpful in a totally general
> discussion (please keep in mind that the intention of the OP to consi
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 ?
>
>
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
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 that there is an event queue with a central
toolkit-main-eventloop which dispatche
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
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 this can be
> learned . Without knowing how to program an algorithm when a related event
> is occurred
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 th
On Tue, October 18, 2016 2:11 am, Michael Schnell via Lazarus wrote:
>
>> The big issue with teaching using a RAD tool, is welding the program
>> logic into the onclick events, instead of decoupling the logic in
>> separate procedures that can be reused elsewhere.
> As you point out in the text th
Hi, I have been experimenting with chromium embedded and the power is
endless. It's like being able to write CGI programs but on the desktop
with no server needing to be installed.
I was thinking documentation for software could benefit from having a
chromium embedded (or firefox embedded) system
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.
Found UTF8* on "LCL Unicode Support" wiki page, later {$Codepage UTF8}
on "Better Unicode Support in Lazarus".
The re
60 matches
Mail list logo