Re: [fpc-pascal] Non-Latin (non-English) identifiers for COM automation

2013-06-22 Thread Max Vlasov
, Max Vlasov wrote: Hi, is it possible for fpc to allow using non-english characters for symbols when COM-automation is used? An accountant-related application very popular here in Russia mostly uses Cyrillic symbols for naming methods and properties of their OLE Object. They probably have

[fpc-pascal] Non-Latin (non-English) identifiers for COM automation

2013-06-21 Thread Max Vlasov
other than direct referencing so instead of ... OleVariant.SomeMethodMaybeNonLatin... ... OleVariant.IntermediateAccess('SomeMethodMaybeNonLatin') Thanks, Max Vlasov ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Windows on ARM, how fast it can be implemented?

2013-03-26 Thread Max Vlasov
? Thanks Max On Thu, Dec 23, 2010 at 11:57 AM, Florian Klämpfl flor...@freepascal.orgwrote: Am 22.12.2010 20:05, schrieb Max Vlasov: If this news is right http://www.bloomberg.com/news/2010-12-21/microsoft-is-said-to-announce-version-of-windows-for-arm-chips-at-ces-show.html

Re: [fpc-pascal] Windows on ARM, how fast it can be implemented?

2013-03-26 Thread Max Vlasov
On Tue, Mar 26, 2013 at 8:05 PM, Sven Barth pascaldra...@googlemail.comwrote: Am 26.03.2013 15:01 schrieb Max Vlasov max.vla...@gmail.com: That said it mostly depends on how much Microsoft changed their existing ARM compiler. If the changes are minimal for the purpose of user space applications

[fpc-pascal] Findfirst/findnext with a samba share

2013-03-01 Thread Max Vlasov
-listing functions that allows them to list directories correctly in the bug's case? Thanks, Max Vlasov ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Findfirst/findnext with a samba share

2013-03-01 Thread Max Vlasov
On Fri, Mar 1, 2013 at 12:32 PM, Ludo Brands ludo.bra...@free.fr wrote: On 03/01/2013 09:14 AM, Max Vlasov wrote: The question is what is different in nautilus and midnight commander comparing to fpc directoy-listing functions that allows them to list directories correctly in the bug's

Re: RE : RE : RE : RE : RE : [fpc-pascal] Is such memory statisticspossible?

2011-08-22 Thread Max Vlasov
On Mon, Aug 22, 2011 at 1:30 PM, Ludo Brands ludo.bra...@free.fr wrote: ** IMO, a big improvement would be to unwind the stack instead of checking every value found on the stack. This would avoid false positives caused by random data falling in the main address range or by passing function

Re: RE : RE : RE : RE : RE : RE : [fpc-pascal] Is such memorystatisticspossible?

2011-08-22 Thread Max Vlasov
On Mon, Aug 22, 2011 at 4:08 PM, Ludo Brands ludo.bra...@free.fr wrote: Right. Statistically, the smaller the stack you look at, the less falls positives you get. One reason for false positives is also that local variables aren't initialised. Procedures declaring local variables like

Re: RE : RE : RE : RE : RE : RE : RE : [fpc-pascal] Is suchmemorystatisticspossible?

2011-08-22 Thread Max Vlasov
On Mon, Aug 22, 2011 at 5:29 PM, Ludo Brands ludo.bra...@free.fr wrote: Attached the patch for the stack unwind (without non-stackframe routines). Note that all assembler is gone! Ludo, the patch looks very promising, I just found one problem. I have a test fragment in my form (in a simple

Re: RE : RE : RE : RE : RE : RE : RE : RE : [fpc-pascal] Issuchmemorystatisticspossible?

2011-08-22 Thread Max Vlasov
On Mon, Aug 22, 2011 at 6:48 PM, Ludo Brands ludo.bra...@free.fr wrote: Ludo, the patch looks very promising, I just found one problem. I have a test fragment in my form (in a simple simplest application) procedure TForm1.FormCreate(Sender: TObject); var   a: integer; begin   a:=1;  

Re: [fpc-pascal] Is such memory statistics possible?

2011-08-19 Thread Max Vlasov
On Mon, Aug 15, 2011 at 1:03 PM, Marco van de Voort mar...@stack.nl wrote: In our previous episode, Max Vlasov said: about collecting some statistics. The idea is similar to some disk utilities that collects and sort the sizes of directories. You know when every folder on the computer

Re: RE : [fpc-pascal] Is such memory statistics possible?

2011-08-19 Thread Max Vlasov
On Fri, Aug 19, 2011 at 3:26 PM, Ludo Brands ludo.bra...@free.fr wrote: ** Based on this discussion and the following research I made an attempt to implement something like this for fpc/lazarus. The final result are a couple of units and a dialog that allows to see the results in any

[fpc-pascal] Is such memory statistics possible?

2011-08-15 Thread Max Vlasov
Hi, reading the recent discussion about lazarus memory consumption, I thought about collecting some statistics. The idea is similar to some disk utilities that collects and sort the sizes of directories. You know when every folder on the computer is scanned and all the resulting paths are sorted

Re: [fpc-pascal] Is such memory statistics possible?

2011-08-15 Thread Max Vlasov
On Mon, Aug 15, 2011 at 1:03 PM, Marco van de Voort mar...@stack.nl wrote: In our previous episode, Max Vlasov said: about collecting some statistics. The idea is similar to some disk utilities that collects and sort the sizes of directories. You know when every folder on the computer

Re: RE : [fpc-pascal] Is such memory statistics possible?

2011-08-15 Thread Max Vlasov
On Mon, Aug 15, 2011 at 2:03 PM, Ludo Brands ludo.bra...@free.fr wrote: ** if there's a common ancestor allocating something (let's call it NewBlock() and it uses GetMem) and I have many descendants using this method, is there a chance to find the eater amongst these descendants or massif

[fpc-pascal] timer_create on linux

2011-08-10 Thread Max Vlasov
Hi, I tried to implement linux timer with timer_create and signals, but an exception always fired (External:SIGUSR1). It was a lcl program, but I narrowed it to a console one. Here is the lines without extra codes of releasing (the error appears before), What can be wrong with the code below?

Re: [fpc-pascal] timer_create on linux

2011-08-10 Thread Max Vlasov
On Wed, Aug 10, 2011 at 2:04 PM, michael.vancann...@wisa.be wrote: On Wed, 10 Aug 2011, Max Vlasov wrote: Hi, I tried to implement linux timer with timer_create and signals, but an exception always fired (External:SIGUSR1) What can be wrong with the code below? I assume threads

[fpc-pascal] Re: timer_create on linux

2011-08-10 Thread Max Vlasov
On Wed, Aug 10, 2011 at 1:18 PM, Max Vlasov max.vla...@gmail.com wrote: Hi, I tried to implement linux timer with timer_create and signals, but an exception always fired (External:SIGUSR1). Hmm, it seems that it's not a 'wrong' exception, I executed the same program from console

Re: [fpc-pascal] Re: timer_create on linux

2011-08-10 Thread Max Vlasov
On Wed, Aug 10, 2011 at 4:34 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote: Can I somehow tell it to ignore some, for example 'SIG35'? I tried to add it to Language exceptions ignore list as 'External: SIG35', 'External:SIG35' (without space), SIG35. Nothing helped. handle SIG35 nostop

Re: [fpc-pascal] Re: timer_create on linux

2011-08-10 Thread Max Vlasov
On Wed, Aug 10, 2011 at 5:43 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote: I tried adding --eval-command=handle SIGUSR1 nostop noprint pass While this won't solve your problem, as Michael said you should not use SIGUSR1 because it's probably already used by the system. SIG35 behaves

Re: [fpc-pascal] Re: timer_create on linux

2011-08-10 Thread Max Vlasov
On Wed, Aug 10, 2011 at 6:20 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote: On 10 Aug 2011, at 16:12, Max Vlasov wrote: SIG35 behaves the same. Strangely, I looked in system monitor for gdb command-line, it looked ok /usr/bin/gdb -silent -i mi -nx --eval-command=handle SIG35 nostop

Re: [fpc-pascal] Re: timer_create on linux

2011-08-10 Thread Max Vlasov
On Wed, Aug 10, 2011 at 7:28 PM, Helmut Hartl helmut.ha...@firmos.atwrote: Am 10.08.11 16:56, schrieb Max Vlasov: Jonas, I see that you probably have your reasons not to use gdb inside the lazarus, but it was quite decent for me until this strange unavoidable moment :) It still is, hope I

Re: [fpc-pascal] Jpeglib thread safe?

2011-07-26 Thread Max Vlasov
, there should be no problem, at least I'm not aware of IJG code to be using global variables that can be a real tread in this case Max Vlasov ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Variable export always uppercase?

2011-06-27 Thread Max Vlasov
On Mon, Jun 27, 2011 at 6:46 PM, leledumbo leledumbo_c...@yahoo.co.id wrote: http://www.freepascal.org/docs-html/prog/progsu137.html Thanks, looks like var __errno: integer;cvar; in the interface section helped Max ___ fpc-pascal maillist -

[fpc-pascal] Variable export always uppercase?

2011-06-26 Thread Max Vlasov
Hi, I'm trying to trick some c-libraries that use errno variable to think that it's located in my sources (Windows, MingGw compiled libraries). if I declare var ___errno: integer; ... exports ___errno; end. I still get error testproj.lpr(27,1) Error: Undefined symbol: ___errno if I look

[fpc-pascal] Illegal unit name, no change reguired?

2011-06-14 Thread Max Vlasov
Hi, I faced the same problem as was described here http://www.hu.freepascal.org/lists/fpc-devel/2008-February/013028.html and briefly here http://bugs.freepascal.org/view.php?id=5942 in my case I have a unit named uDirScan and uDirScanUtils. The latter appeared inside uses clause of some

Re: [fpc-pascal] Conversion between ordinals and pointers is not portable

2011-03-02 Thread Max Vlasov
On Wed, Mar 2, 2011 at 12:33 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote: On 02 Mar 2011, at 09:02, Roland Turcan wrote: ... p := PByteArray (PtrUInt (@FData.Content[0]) + MOffset); ... But the compiler informs about %subj%. How to get rid of this warning and to make code

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread Max Vlasov
/%7Bfunctionname%7D.html is standardized? if the latter, is it possible to download this data from somewhere for experimenting? Thanks Max Vlasov ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc

Re: [fpc-pascal] Skipping an the inherited of an ancestor

2011-01-15 Thread Max Vlasov
On Sat, Jan 15, 2011 at 2:09 PM, Torsten Bonde Christiansen t...@epidata.dkwrote: On 2011-01-14 23:05, Max Vlasov wrote: On Fri, Jan 14, 2011 at 10:38 PM, Torsten Bonde Christiansen t...@epidata.dk wrote: Hi List. Is it possible to jump a couple of levels in the inherited hierarchy

Re: [fpc-pascal] Skipping an the inherited of an ancestor

2011-01-15 Thread Max Vlasov
On Sat, Jan 15, 2011 at 6:30 PM, Andrew Haines andrewd...@aol.com wrote: On 01/14/11 14:38, Torsten Bonde Christiansen wrote: Hi List. Is it possible to jump a couple of levels in the inherited hierarchy when calling inherited on a method? A small example of what i'm trying to

Re: [fpc-pascal] Skipping an the inherited of an ancestor

2011-01-14 Thread Max Vlasov
On Fri, Jan 14, 2011 at 10:38 PM, Torsten Bonde Christiansen t...@epidata.dkwrote: Hi List. Is it possible to jump a couple of levels in the inherited hierarchy when calling inherited on a method? Hmm, don't know whether you're the same person or not :), but I replied in a stackoverflow

[fpc-pascal] Windows on ARM, how fast it can be implemented?

2010-12-22 Thread Max Vlasov
miss something and there are hidden challenges? Max Vlasov ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Windows on ARM, how fast it can be implemented?

2010-12-22 Thread Max Vlasov
On Wed, Dec 22, 2010 at 10:13 PM, Sven Barth pascaldra...@googlemail.comwrote: On 22.12.2010 20:05, Max Vlasov wrote: If this news is right...http://www.bloomberg.com/news/2010-12-21/microsoft-is-said-to-announce-version-of-windows-for-arm-chips-at-ces-show.html There will be ARM Win32

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-18 Thread Max Vlasov
for long, won't it? And also, does a general developer need some special skills/actions currently in order to run your program on a stock android phone? Max Vlasov ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

[fpc-pascal] Suggestion about ability to pass local procedures as variables

2010-11-30 Thread Max Vlasov
code (what's actually closures is about). So, I suppose that implementing closures is not in real plans (it's ok, I can live with that), but what about the second, is it possible? I will glad to hear different opinions from the developers Thanks Max Vlasov

Re: [fpc-pascal] Suggestion about ability to pass local procedures as variables

2010-11-30 Thread Max Vlasov
On Tue, Nov 30, 2010 at 12:26 PM, Vincent Snijders vincent.snijd...@gmail.com wrote: 2010/11/30 Max Vlasov max.vla...@gmail.com: Hi, it appears recently several pieces if knowledge came to me, I understood how anonymous functions (aka closures) work :) and the fact that GNU Pascal

Re: [fpc-pascal] Suggestion about ability to pass local procedures as variables

2010-11-30 Thread Max Vlasov
On Tue, Nov 30, 2010 at 12:26 PM, Vincent Snijders vincent.snijd...@gmail.com wrote: 2010/11/30 Max Vlasov max.vla...@gmail.com: So, I suppose that implementing closures is not in real plans (it's ok, I can live with that), but what about the second, is it possible? I will glad to hear

[fpc-pascal] bugtracker questions/report (where to send)

2010-11-26 Thread Max Vlasov
Hi, don't know where is the best place to ask about the bugtracker and mantis. Please let me know. I have two questions: - Is everything is ok with steps to reproduce field in fpc bugtracker? It never show at the issue view. Hope it saves and and at least the developers are seeing it. - Google

Re: [fpc-pascal] bugtracker questions/report (where to send)

2010-11-26 Thread Max Vlasov
On Fri, Nov 26, 2010 at 12:45 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote: On 26 Nov 2010, at 10:38, Max Vlasov wrote: - Is everything is ok with steps to reproduce field in fpc bugtracker? It never show at the issue view. Hope it saves and and at least the developers are seeing

Re: [fpc-pascal] Working Free Pascal android JNI example

2010-11-24 Thread Max Vlasov
mobile platform currently for a pascal developer? Max Vlasov ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Changing var to out in rtl code

2010-11-21 Thread Max Vlasov
Index and possibly it is also safe for any delphi/lazarus code calling this method I'm sure it is in any way not the first priority task (I can change the corresponding calling fragments), but just interesting what others think about it. Thanks, Max Vlasov

Re: [fpc-pascal] Changing var to out in rtl code

2010-11-21 Thread Max Vlasov
On Sun, Nov 21, 2010 at 6:37 PM, Sven Barth pascaldra...@googlemail.comwrote: On 21.11.2010 16:22, Max Vlasov wrote: But is it possible to do the same (partially, gradually or in any other way) for the legacy code that keeps the interface compatibility with Delphi. For example

Re: [fpc-pascal] Changing var to out in rtl code

2010-11-21 Thread Max Vlasov
On Sun, Nov 21, 2010 at 9:22 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Sun, 21 Nov 2010, Max Vlasov wrote: Hi, I'm one of those developers who takes hints and warnings seriously and I must say at least once a week it helps me find a bugs even before running the program

Re: [fpc-pascal] Initialize/Finalize with count, is it possible?

2010-11-20 Thread Max Vlasov
On Sat, Nov 20, 2010 at 12:07 PM, Honza befelemepesev...@gmail.com wrote: 2010/11/20 Max Vlasov max.vla...@gmail.com: FillChar(Section^, Count*ElementSize, 0); Initialize(TNameValueRec(Section^), Count); Is possible for such syntax to be supported? Probably I'm one

Re: [fpc-pascal] Initialize/Finalize with count, is it possible?

2010-11-20 Thread Max Vlasov
On Sat, Nov 20, 2010 at 1:29 PM, Sven Barth pascaldra...@googlemail.comwrote: On 20.11.2010 10:07, Honza wrote: 2010/11/20 Max Vlasovmax.vla...@gmail.com: FillChar(Section^, Count*ElementSize, 0); Initialize(TNameValueRec(Section^), Count); Is possible for such syntax to

[fpc-pascal] Initialize/Finalize with count, is it possible?

2010-11-19 Thread Max Vlasov
?id=4825nbn=1 or create a new one? Thanks in advance, Max Vlasov ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] More Win CE

2010-11-18 Thread Max Vlasov
On Wed, Nov 17, 2010 at 6:26 PM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: On Wed, Nov 17, 2010 at 12:11 PM, Matt Emson memson.li...@googlemail.com wrote: There is little chance that will happen as it assumes Nokia will focus on Meego... Nokia can't focus on a

Re: [fpc-pascal] More Win CE

2010-11-16 Thread Max Vlasov
and anyone can change it at least leaving some code from the past. Knowing the MS attitute toward backward compatibility in general, invest or not invest in .Net and Silverlight is a big question. Max Vlasov ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] More Win CE

2010-11-16 Thread Max Vlasov
On Wed, Nov 17, 2010 at 1:33 AM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: On Tue, Nov 16, 2010 at 11:07 PM, Max Vlasov max.vla...@gmail.com wrote: Sven, although I understand what you're talking about, I think this is a case when MS partially learned from