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

2013-06-22 Thread Max Vlasov
, Instance, @CallDesc, Nil); end; . So for an OleVariant instance V the calls V.SomeMethod and DCNA(V, 'Somemethod') are equivalent. Only that the latter can accept Cyrillic methods now Max On Sat, Jun 22, 2013 at 12:40 AM, Sven Barth pascaldra...@googlemail.comwrote: On 21.06.2013 09:01

[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
Thanks for the info, Sven. I will probably have a chance to get a device and jailbreak it, although not right now. If someone on the list does this before me, I'll be glad. I did not find any prior discussion about this topic, seems like it's not that hot to be discussed and everything. Max

[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

[fpc-pascal] Re: xterm -e program-compiled-with-fpc2.4.0 doesn't work

2012-03-10 Thread max
Jonas Maebe-2 wrote The internal representation of real numbers has never been changed in FPC. . I may have expressed myself incorrectly, but there was the case when records of real numbers written to disk by a program compiled with fpc 1.0.4 , when read back by the same program compiled

[fpc-pascal] Re: xterm -e program-compiled-with-fpc2.4.0 doesn't work

2012-03-09 Thread max
You seem to know your way around, Bernd, don't you! Well, I've tried xterm -hold -e /my/program : the xterm-window pops up and stays with nothing in it at all: no error and no program output [which should be there]: seems to me that the program isn't being run at all! That is if it is compiled

[fpc-pascal] Re: xterm -e program-compiled-with-fpc2.4.0 doesn't work

2012-03-04 Thread max
Done what you suggested: program runs again via xterm -e program ; sleep 0 with fpc 2.4.0; however no error message; same with 'sleep 10' ! So Thank You very much for that, Bernd ! Without the appended '; sleep ' just the flicker. env: only difference is SHLVL , namely =4 for interactive vs. =5

[fpc-pascal] Re: xterm -e program-compiled-with-fpc2.4.0 doesn't work

2012-03-02 Thread max
Thank you for your tips and suggestions. It seems that FPSYSTEM from rtl-Sysutils is the 1:1 replacement for the old SHELL function but that made no difference to my problem. I dug out the previsious fpc version 1.9.4 from archive.debian.org which fortunately could be installed [for how long?]

[fpc-pascal] xterm -e program-compiled-with-fpc2.4.0 doesn't work

2012-02-27 Thread max
With the advent of Debian6 fpc 2.4.0-2 has become the only available version. Before that, it may have been 1.0 ? A simple program of mine compiled in 2008 with the old fpc , when started with xterm -e program still runs fine today. Now. the new compiler warns about SHELL function being deprecated

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

2011-08-22 Thread Max Vlasov
a guess, that the fewer the depth, the less likely false positives get into view, right? Max ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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

2011-08-22 Thread Max Vlasov
) but in Delphi the rule seems to work. Hmm... except for short procedures not using local variables at all.On the other side, if some of the sub-functions are bypassed due to the absence of the stack frame, it would be better than false positives. Max ___ fpc

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

2011-08-22 Thread Max Vlasov
. The frame is definitely created so there should be no problem with the absence of one. Max ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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

2011-08-22 Thread Max Vlasov
just suppose there are few readers here that follow and interested in this discussion :) (CMIIW) Max ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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
:) Max ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Is such memory statistics possible?

2011-08-15 Thread Max Vlasov
? If not, is developing such unit technically possible/hard with the currently available debug information? Thanks, Max ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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
tool will drop all the stats to NewBlock()? Max Here is part of the massif output from lazarus memory usage that shows what you are looking for. The ms_print tool that comes with valgrind does the actual formatting. massif and ms_print both have a threshold value which is the percentage

[fpc-pascal] timer_create on linux

2011-08-10 Thread Max Vlasov
? Thanks in advance, Max == program ConsTest; uses ... libc, baseunix; procedure PosixTimerHandler(signal: longint; info: psiginfo; context: psigcontext);cdecl; begin Now; // - Never stops here. end; procedure TMyApplication.DoRun; var ... fnewact

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
? Max ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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

2011-08-10 Thread Max Vlasov
machine interface with all these escaping sequences, so probably lazarus didn't undestand something, but it's strange it still stops Thanks anyway Max ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo

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

[fpc-pascal] Variable export always uppercase?

2011-06-26 Thread Max Vlasov
? Thanks Max ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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

2011-06-14 Thread Max Vlasov
binaries, built the project and so on). Only finding the post helped me from wasting the time :). I suppose there's a reason for not changing the current behaviar, but can at least someone from the team write a little phrase at the bug report page about why it should not be changed. Thanks! Max

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

2011-03-02 Thread Max Vlasov
]) + MOffset) should not lead to any question both from fpc and Delphi Max ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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
it to make sure it works: procedure TC.DoSomething: begin (Self as TA).DoSomething; end; The same vmt (virtual method table) used, so no matter how you call it, the addresses point to new methods. Max ___ fpc-pascal maillist - fpc-pascal

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

2011-01-14 Thread Max Vlasov
inherited Show; end; { TMyObject } procedure TMyObject.Show; begin THackParent(Self).CallInheritedShow; end; procedure TForm6.Button6Click(Sender: TObject); var Obj: TMyObject; begin Obj:=TMyObject.Create; try Obj.Show; finally Obj.Free; end; end; + Max

[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
. Thanks, Max ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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

[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
the business side it's also interesting since in contrary to Microsoft that has the only revenue from licensing, the Nokia actually sells not software, they sells bells and whistles in hardware: Carl-Zeiss optics, great design, etc and open-source world just can't be a threat in this area. Max

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