[fpc-devel] Status of dynamic packages

2016-11-10 Thread gabor
Hello. What's the status of dynamic packages? Are they usable? Regards, Michał. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Re: [fpc-devel] Status of dynamic packages

2016-11-16 Thread gabor
Thank you for your answer. It seems that it is too early to more questions. Perhaps one: Dynamic packages will be supported like in Delphi (FindClassHInstance, GetPackageInfo...etc)? Regards, Michał. W dniu 2016-11-10 o 17:29, Sven Barth pisze: Am 10.11.2016 15:17 schrieb "gabor

Re: [fpc-devel] Status of dynamic packages

2016-11-16 Thread gabor
Thanks and best regards, Michał W dniu 2016-11-16 o 14:35, Sven Barth pisze: I have not yet looked at the APIs in detail, but in essence that should be the case. Regards, Sven ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] Discussion about "Dynamic packages"

2017-04-13 Thread gabor
W dniu 2017-04-13 o 22:27, Sven Barth via fpc-devel pisze: And it's not about saving RAM or disk memory! It's about *binary code reuse*, the ability to fix a bug in multiple executables by merely fixing the one bug in a package. Should not all packages depend on the "fixed" package also be

Re: [fpc-devel] "Blank slate" next version of FPC

2019-02-20 Thread gabor
W dniu 2019-02-16 o 23:37, Benito van der Zander pisze: So are inline variables coming soon? http://blog.marcocantu.com/blog/2018-october-inline-variables-delphi.html Who cares ininline variables since we do not have dynamic packages yet? Regards, Michał.

Re: [fpc-devel] Unexpected behaviour of bit operators

2019-05-17 Thread gabor
Never mind, I thought that comes to code in C language but it's about variable named "c". W dniu 2019-05-17 o 16:45, gabor pisze: Can you provide c source code? Regards, Michał. ___ fpc-devel maillist - fpc-devel@lists.freepasca

Re: [fpc-devel] Unexpected behaviour of bit operators

2019-05-17 Thread gabor
Can you provide c source code? I'm not sure about this: ...(a SHL 5+b SHR 2)... Maybe it should look like this: ((a SHL 5+b) SHR 2) Regards, Michał. W dniu 2019-05-17 o 10:47, Marco Borsari via fpc-devel pisze: In the code below program test; const n=12; s=1 shl n; var a,b,c,h1,h2:word;

Re: [fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

2019-07-03 Thread gabor
W dniu 2019-07-03 o 20:43, Michael Van Canneyt pisze: But the main question is: do we actually want a multiline string ? As far as I am concerned, that question needs to be answered first, and for me personally the answer to that is still a resounding "no". I am also against this, but on the

Re: [fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

2019-07-03 Thread gabor
W dniu 2019-07-03 o 21:39, Michael Van Canneyt pisze: See the bugreport I indicated. Michael. Ah, I missed that... So this is a popular idea. Regards, Michał. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

2019-07-03 Thread gabor
W dniu 2019-07-03 o 22:20, Ben Grasset pisze: const SA = `   This is a multiline   string using hypothetical backticks.   Imagine it was fully syntax-highlighted   like normal strings and the comment   above are. `; What is the end-of-line character in this case? #13#10, #10 or #13?

Re: [fpc-devel] Reserved words in OLE automation properties

2019-09-28 Thread gabor
if I remember correctly use '&' as preffix, eg: MyObj. W dniu 2019-09-28 o 18:50, Werner Pamler pisze: I am porting an older Delphi project to Lazarus/FPC which analyzes the internal structure of PowerPoint files using OLE automation. While the overall program is working I am stuck with some

Re: [fpc-devel] New feature announcement: constant parameters for generics

2020-04-26 Thread gabor
W dniu 2020-04-26 o 09:38, Michael Van Canneyt pisze: Sven gave some examples, and they show how it works, but from his examples I don't see the point of this feature. Michael. It can be quite useful. You can do something similar (I hope):

Re: [fpc-devel] AsString and AsWideString both return 255 Bytes

2020-05-09 Thread gabor
W dniu 2020-05-08 o 22:26, Bob via fpc-devel pisze: Hi, using SQLite3, the latest version of Lazarus 2.0.8 and I assume FPC. This sqlMain.FieldByName('name').AsString; and this sqlMain.FieldByName('name').AsWideString; BOTH return 255 Bytes. I have a TEXT Field in the database 1776 Bytes

[fpc-devel] Compile errors in HEAD Rev. 4429

2006-08-17 Thread Gabor Boros
the FinalizeHeap declaration and call, tried make again make[3]: *** No rule to make target `/sharemem.pp', needed by `sharemem.ppu'. Stop. Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman

[fpc-devel] WinCE compiler compilation is broken

2006-11-03 Thread Gabor Boros
Hi, The error message is: math.pp(2063,14) Fatal: Unknown compilerproc SUBS. Check if you use the correct run time library. Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] Re: WinCE compiler compilation is broken

2006-11-03 Thread Gabor Boros
SVN 5194 wich fpc2.1.1 thrunk svn version ? last i checked was 5172 from yesterday and was ok ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] freepascal.org HTTP and SVN access

2008-03-27 Thread Gabor Boros
Hi, I have same problem too. I can access http://www.freepascal.org from home but not from the office. If try ping www.freepascal.org at the office i get response. But the http://62.166.198.202 not working. At home everything works. Gabor ___ fpc

[fpc-devel] Backport request

2013-04-28 Thread Gabor Boros
Hi, Please backport 24225 and 24234 from trunk to fixes_2_6. Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] SVN checkout errors

2015-01-27 Thread Gabor Boros
: 3fd9c46765068ce28c40925209e59bb0 actual: 03b2e1b96c172a5eb85196012c02e5c4 or Error retrieving REPORT: The server sent an improper HTTP response No error with other repositories from other servers. Lazarus CCR, Firebird, etc. Gabor ___ fpc

Re: [fpc-devel] SVN checkout errors

2015-01-28 Thread Gabor Boros
2015.01.27. 21:06 keltezéssel, Maciej Izak írta: Hi, Open %APPDATA%\Subversion\servers in a text editor, find section [global] and add the line http-bulk-updates = yes Regards Maciej Izak Works like a charm! Thank You! Gabor ___ fpc-devel

[fpc-devel] Snapshots mixed on FTP

2015-01-11 Thread Gabor Boros
Hi All, In ftp://ftp.freepascal.org/pub/fpc/snapshot/ v30 and v31 directories is empty. v26/i386-win32 and v26/x86_64-linux and other directories contains 3.0.1 files. v27/i386-win32 and v27/x86_64-linux and other directories contains 3.1.1 files. Gabor

Re: [fpc-devel] Snapshots mixed on FTP

2015-01-11 Thread Gabor Boros
2015.01.11. 13:41 keltezéssel, Tomas Hajny írta: On Sun, January 11, 2015 10:04, Gabor Boros wrote: Hi Gabor, In ftp://ftp.freepascal.org/pub/fpc/snapshot/ v30 and v31 directories is empty. v26/i386-win32 and v26/x86_64-linux and other directories contains 3.0.1 files. v27/i386-win32

[fpc-devel] RandomFrom vs Generics

2018-06-06 Thread Gabor Boros
or: Identifier not found "RandomFrom"". How to call RandomFrom with trunk? Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Re: [fpc-devel] RandomFrom vs Generics

2018-06-06 Thread Gabor Boros
generic's declaration in the Math unit? No. (After modified the math.pp and build the whole compiler from scratch with make all zipinstall.) Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/li

Re: [fpc-devel] Win32 build of actual trunk

2019-09-08 Thread Gabor Boros
s may not be feature-complete due to known bugs or limitations of the bootstrap compiler. I use "make all zipinstall". The "make all zipinstall OS_TARGET=win64 CPU_TARGET=x86_64" works as expected and "make all zipinstall OS_TARGET=win32 CPU_TARGET=i386" not. Gabor _

[fpc-devel] Win32 build of actual trunk

2019-09-08 Thread Gabor Boros
"m_prefixed_attributes" globals.pas(633,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Re: [fpc-devel] Win32 build of actual trunk

2019-09-08 Thread Gabor Boros
n the past. Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Re: [fpc-devel] When will the next version of FPC be released?

2019-11-30 Thread Gabor Boros
2019. 05. 30. 9:05 keltezéssel, Michael Van Canneyt írta: I would not count on it before september, and even that is "iffy". Any news/update in this subject? The fixes_3_2 branch created more than a year ago and the latest stable (3.0.4) released 2 years ag

Re: [fpc-devel] Problem with importtl

2020-09-06 Thread gabor via fpc-devel
W dniu 2020-09-06 o 21:41, Bart via fpc-devel pisze: I get: C:\Windows\SysWOW64>importtl msdxm.ocx -n Reading typelib from -n ... An unhandled exception occurred at $00439916: EOleSysError: Fout bij laden van type DLL-bestand. $00439916 OLEERROR, line 569 of ./winunits-base/src/comobj.pp

[fpc-devel] Problem with importtl

2020-09-06 Thread gabor via fpc-devel
I try to import a type library using "importtl" but it fails - ends with EAccessViolation exception. I am using fpc trunk from today. I have tried importing different libraries but with no success. Could someone confirm the problem? d:\fpcupdeluxetrunk\fpc\bin\i386-win32>importtl

Re: [fpc-devel] Google APIs - Authenticate using a service account?

2020-07-10 Thread gabor via fpc-devel
W dniu 2020-07-10 o 22:31, Florian Klämpfl pisze: It starts with simply things: how to use multiple screens with the web based solutions: how to undock chat window, screen cast, participants or videos and arrange them to different screens? Yes, webapps. Readability and usability less

[fpc-devel] ViewVC not working

2020-11-17 Thread gabor via fpc-devel
Can't open ViewVC page from SVN repository - I'm getting 404 error. Is the website down or is it a temporary problem? I use this address: https://svn.freepascal.org/cgi-bin/viewvc.cgi/ Michał. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

[fpc-devel] C library header - var vs pointer for function arguments

2022-08-03 Thread gabor via fpc-devel
I'd like to provide some fixes for packages that are headers for c libraries. When and should I use the "var" argument for function arguments that return a value, or should I always use pointers (excluding arguments that might accept nil)? Eg: function Foo(var A: Integer): Integer; vs

Re: [fpc-devel] C library header - var vs pointer for function arguments

2022-08-04 Thread gabor via fpc-devel
W dniu 2022-08-04 o 07:40, Michael Van Canneyt via fpc-devel pisze: It's best to use pointers, but you can always provide overloads with var arguments. And as Dmitry Boyarintsev pointed out, don't change existing signatures for backwards compatibility. Michael. Thanks. I'll use pointers.

Re: [fpc-devel] C library header - var vs pointer for function arguments

2022-08-04 Thread gabor via fpc-devel
W dniu 2022-08-04 o 02:18, Dmitry Boyarintsev pisze: Consider backwards compatibility in fixes Good point, thanks. However, I mean non-existent / incorrect / not up-to-date declarations. Michał. ___ fpc-devel maillist -

[fpc-devel] Build Lazarus fixes_2_2 with actual FPC main

2021-09-19 Thread Gabor Boros via fpc-devel
]: *** [freetypelaz.ppu] Error 217 make[1]: Leaving directory `e:/Lazarus/fixes_2_2/components/freetype' make: *** [lazbuild] Error 2 Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Re: [fpc-devel] Preparing 3.2.4, call for merge request and regressions

2021-09-29 Thread Gabor Boros via fpc-devel
-pascal/2020-July/058287.html) Fixed in trunk earlier but 3.2.2 still slow. Can you backport the fix to fixes_3_2 or is not an easy task? Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo

[fpc-devel] Cannot build Lazarus with actual FPC main

2022-08-19 Thread Gabor Boros via fpc-devel
) Can't find unit db used by fcllaz Fatal: (1018) Compilation aborted make[1]: *** [fcllaz.ppu] Error 1 make[1]: Leaving directory `e:/Lazarus/main/packager/registration' make: *** [registration] Error 2 Gabor ___ fpc-devel maillist - fpc-devel

Re: [fpc-devel] Cannot build Lazarus with actual FPC main

2022-08-19 Thread Gabor Boros via fpc-devel
/source/-/issues/34779 Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

[fpc-devel] Compile error with actual FPC main and Lazarus main

2022-09-28 Thread Gabor Boros via fpc-devel
Hi All, With actual FPC (123f196d) and Lazarus (11bb7ce4) got the below error. Any idea? sourcefilemanager.pas(311,1) Error: Compilation raised exception internally Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https

Re: [fpc-devel] Compile error with actual FPC main and Lazarus main

2022-09-28 Thread Gabor Boros via fpc-devel
2022.09.28. 19:09 keltezéssel, Ondrej Pokorny via fpc-devel írta: That is quite normal. If you see such errors, check the "clean all" checkbox in the Build Lazarus dialog. Ondrej I never seen this problem before. The "clean all" trick works. Thank

Re: [fpc-devel] Compile error with actual FPC main and Lazarus main

2022-09-28 Thread Gabor Boros via fpc-devel
2022.09.28. 17:42 keltezéssel, J. Gareth Moreton via fpc-devel írta: Which platform and OS is this for? Kit x86_64-win64, Windows 10 64bit. Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin

Re: [fpc-devel] Compile error with actual FPC main and Lazarus main

2022-09-28 Thread Gabor Boros via fpc-devel
2022.09.28. 17:43 keltezéssel, Ondrej Pokorny via fpc-devel írta: Try a clean build. Ondrej Clean build is ok. The problem appears when use "Build Lazarus with Profile: Normal IDE". Gabor ___ fpc-devel maillist - fpc-devel@lists.free

[fpc-devel] Will be 3.2.4?

2022-10-12 Thread Gabor Boros via fpc-devel
Hi All, Florian started a thread "Preparing 3.2.4, call for merge request and regressions" in September 2021, but 3.2.4 not released yet. Any news in this subject? :-) Gabor ___ fpc-devel maillist - fpc-devel@lists.freepascal