[Lazarus] Lazarus Bug: No exception raised when attempting to access an array outside of range.

2017-04-30 Thread Graham Ward via Lazarus
Hi, Apologies if this email has been sent to the wrong location (I'm a brand new user to the Lazarus emailing list). I recently had a software/compilation bug whereby no exception was raised when my code was accessing an array outside of its range. Took some detective work, as it was resulti

Re: [Lazarus] Call for translations updates for 1.8 release

2017-04-30 Thread Péter Gábor via Lazarus
Hello! Hungarian translation updated: http://bugs.freepascal.org/view.php?id=31739 2017-04-18 23:44 keltezéssel, Maxim Ganetsky via Lazarus írta: > Hello. > > Now that Lazarus 1.8 branch has been created it is time for translators > to review and update their translations. > > Check out fixes b

Re: [Lazarus] Quick Video: A Web Applicationx

2017-04-30 Thread Marcos Douglas B. Santos via Lazarus
On Sun, Apr 30, 2017 at 4:42 PM, Michael Van Canneyt via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > > > On Sun, 30 Apr 2017, Marcos Douglas B. Santos via Lazarus wrote: > > On Thu, Apr 20, 2017 at 6:03 AM, Michael Van Canneyt via Lazarus < >> lazarus@lists.lazarus-ide.org> wrote: >> >> On T

Re: [Lazarus] Making sources compatible with Delphi (but Lazarus is priority)

2017-04-30 Thread Marcos Douglas B. Santos via Lazarus
On Sun, Apr 30, 2017 at 4:30 PM, Ondrej Pokorny via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > On 30.04.2017 18:37, Marcos Douglas B. Santos via Lazarus wrote: > >> Are you working on projects that have these problems? Could you tell me >> which is the best approach to deal with it? >> > >

Re: [Lazarus] Quick Video: A Web Applicationx

2017-04-30 Thread Michael Van Canneyt via Lazarus
On Sun, 30 Apr 2017, Marcos Douglas B. Santos via Lazarus wrote: On Thu, Apr 20, 2017 at 6:03 AM, Michael Van Canneyt via Lazarus < lazarus@lists.lazarus-ide.org> wrote: On Thu, 20 Apr 2017, Santiago A. via Lazarus wrote: El 19/04/2017 a las 17:09, Anthony Walter via Lazarus escribió: Th

Re: [Lazarus] Making sources compatible with Delphi (but Lazarus is priority)

2017-04-30 Thread Ondrej Pokorny via Lazarus
On 30.04.2017 18:37, Marcos Douglas B. Santos via Lazarus wrote: Are you working on projects that have these problems? Could you tell me which is the best approach to deal with it? Speaking from my experience, the only approach (not only the best one but the only one) is not to use characters

Re: [Lazarus] Quick Video: A Web Application

2017-04-30 Thread Marcos Douglas B. Santos via Lazarus
On Thu, Apr 20, 2017 at 6:03 AM, Michael Van Canneyt via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > On Thu, 20 Apr 2017, Santiago A. via Lazarus wrote: > > El 19/04/2017 a las 17:09, Anthony Walter via Lazarus escribió: >> >>> Thank you all for the feedback and discussion. From me, the >>>

[Lazarus] Making sources compatible with Delphi (but Lazarus is priority)

2017-04-30 Thread Marcos Douglas B. Santos via Lazarus
It months ago I realized that Lazarus was saving the sources like that: 1- If there is only ANSI chars, save it as ANSI encode; 2. If there is more than ANSI chars, save it as UTF8 encode; (correct me if I'm wrong about that) I think this was changed when I updated my FPC to 3.* and Lazarus (tru

Re: [Lazarus] WMPaint

2017-04-30 Thread ListMember via Lazarus
Just curious: What use is altering a local variable (i.e. FControlState) when you are calling an inherited code? I mean, shouldn't you alter ControlState (I am assuming it exist in the 'inherited')? On 2017-04-30 19:06, Alexey via Lazarus wrote: procedure TCustomControl.WMPaint(var Message

[Lazarus] WMPaint

2017-04-30 Thread Alexey via Lazarus
procedure TCustomControl.WMPaint(var Message: TLMPaint); begin if (csDestroying in ComponentState) or (not HandleAllocated) then exit; Include(FControlState, csCustomPaint); inherited WMPaint(Message); Exclude(FControlState, csCustomPaint); end; Maybe use try-finally here for Exclude? -

[Lazarus] Gtk2 log "Refused invalidating during paint msg": how to check

2017-04-30 Thread Alexey via Lazarus
How can I check that im inside Paint code? Maybe come control flag, or something, exists. -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus