fpc-devel · 2005-06
- Small Wstrings problem36
Thanks for fixing bug 4118. I had to apply the attached patch to get the current svn to compile under linux Colin
- Fedora Core 49
I found two minor problems (so far) on Fedora Core 4 (current svn): 1. The "Copyright:" tag must be "License:" in the fpc.spec file. (Apparently "Copyright:" has been…
- www.freepascal.org is back22
and everything should work fine again though at least I lost some mails when it came back because it ate some mails while the mail system wasn't properly configured ...
- TFPWriterPNG patch1
The attached fixes a 32 bit overflow problem when writing PNG files using 16 bits per colour Colin
- Lazarus instability on windows caused by widestrings?2
I am investigating some instabilities of lazarus and stumbled on the following (from UTF8Decode). var hs: widestring; begin SetLength(hs,20); SetLength(hs,8); end; In…
- Generic Programming Units24
This is a repost of an earlier response to another thread. I did not recieve any response so I am posting this in its own thread. I have several old books (circa 1991),…
- GetText patch #21
This patch (ment for 2.1.1) cleans some of my old unnecessery mess but more importantly adds the GetLanguageIDs() method. This way, you can see what language was/will be…
- TFPObjectList patch1
This patch adds TFPObjectList to contnrs. It's a descendent of TFPList and uses same tricks to gain speed.(inline etc.) I've tested with bubblesort and it was 1/3 faster.
- ExceptAddr, but no ExceptFrameCount and ExceptFrames8
Sysutil has a function ExceptAddr to current exception address, but no corresponding functions to get the frame count and the frames of the current exception. Are these…
- leak in destroy0
i found a memory leak when calling Destroy explicitly. the leak is in 1.9.8 and 2.0 has anyone seen this? here is an example: program mem3; {$mode objfpc}{$H+} type…
- OpenGL patch, final(I hope)3
Ok this patch does the following: Removes the writeln() in case the library fails to load. If the whole library is not found, it throws an exception which tell the…
- About Turbo Vision in FreePascal4
Hello, Im from Mexico. Excuseme my bad and wrong English I want to konow if there is a units like Turbo Vision For Borland Turbo Pascal for Free Pascal. There are a…
- OpenGL patch3
Ok so here's the patch. If you feel some things should change, tell me about it. This patch adds "TryLoadGL[u[t]]" and "GL[u[t]]IsLoaded" methods and also "fixes" the…
- fpdoc and macros (-Sm)1
I tried fpdoc (fpc 2.0.0,win2000) and it crashes because it seems not to expand macros. Example unit: UNIT fpdoctest1; {$DEFINE HELLO:=//} HELLO WORLD; INTERFACE…
- OpenGL library loading1
I've noticed that openGL libraies are loaded in the initialization section and if the loading fails it writelns something and halts. I think this is innapropriate. I've…
- rtl/win directory0
I am gathering information for fixing the codetools in lazarus with fpc 2.1. There seems to be a new directory: rtl/win. Is it a directory for files shared between win32…
- Re: [MacPascal] FPC with XCode0
Look how e.g. sparc it does. It is moved to cgcpu.fixreg/make_simple_ref and cgcpu.loadaddr: if a symbol with type addr_full is passed, it simply "picifies" it.…
- Library and unit search paths under MacOSX with fpc 2.0.0?12
I have a "standard release" installation of fpc 2.0.0 under Mac OS X. I installed GTK through fink (as explained in the Lazarus wiki). This has given me GTK 1.2.10. No…
- A variant which stored string convert to DateTime failure in FPC 2.0.01
A variant which stored string convert to DateTime failure in FPC 2.0.0. There is a simple program can reproduce this problem.…
- gtk2 bugfix gfloat7
A c float is a fpc single, right? If yes, then there was a heavy bug in the gtk2 bindings. Attached patch fixes the gfloat. Mattias
- Bug: fpc-svn-392 compile error6
Hi latest version form SVN does not even compile. Is there any plan to have something similar to a mozilla tinderbox? Jan error: /usr/local/bin/ppcppc -dNOMOUSE -Ur…
- Patch to speed up Uppercase/Lowercase functions60
I don't know if rtl-optimilisation patches have a large priority, but nevertheless this patch improves the speed of the sysutils.uppercase and lowercase functions.
- RTTI for interface (2)4
To the compiler developers: In FPC 2.0.0 - Are the fields TTypeData.IntfParent, IID, IIDStr and IntfUnit valid for tkInterface? - Is TTypeData.IntfParent really…
- Inlining recursive functions works - and it's fast too?1
i'm curious what happens here. If I make a recursive funtion inlined, it runs way faster? Ackerman-test results: $ ppc386 -O3p3r -dRecursiveInline ackerman.pp &&…
- Re: type discussion53
Also, += and such were created to make it easier to convert C code. If you change this to +:= you do essentially two things: 1) Break existing code 2) Destroy any of…
- Interfaced Object leak in inherited Object3
It seems a bug in FPC 2.0.0.(Delphi 7.1 also has this bug) Assumes there is an object(not class) declaration, the object has a IInterface field. If we declare another…
- out parameters in RTL/FCL17
At the moment there are a lot of warnigns for uninitialised var parameters. Is it possible to replace the 'var' with 'out' specifiers? Can I send patches for that?…
- Fast ascii upper/lowercase4
With all the discussion about speed of lowercase/uppercase recently, I thought I'd chip in. I don't have the time to actually implement and test this, but I hope…
- Patch for fpreadpnm1
The attach fixes two problems I found reading pnm files: - RGB files were not being read correctly - byte values of 255 were overflowing. I have adjusted the colour…
- RTTI for interface2
I have problems with RTTI for tkInterface. Should it work in FPC 2.0.0? Martin
- Bug 400412
Can I ask somebody to have another look at this bug - it was flagged unreproducable on the web system, but I still get it from the current svn as shown below. (Note that…
- Bug 4063 Comment0
With the source of 2005-06-11T01:00Z make install compress files and copy the compiled units and some of the binaries (ppc386.exe, fpc.exe, ppufiles.exe, ppumove.exe,…
- Patch to remove 'ifdef virtualpascal' 's from rtl2
this patch removes all the 'ifdef virtualpascal' 's from the rtl. These are remainings of the idea to use the fpc-sysutils for virtualpascal. Joost van der Sluis
- TStringList.commatext1
I found some errors in TSringList.CommaText and tryed to fix it. For variable sl:TStringList, command sl.CommaText:=sl.CommaText; sometimes changes strings in the list -…
- Whay I can not post message to the mail list?1
Whay I can not post message to the mail list?
- BUG: gtk2 unit and GtkFileChooserDialog8
I'm new to FPC and making some tests in the last few days I've found 2 little but annoying bugs: 1) in libglade2 unit the windows dll is referenced as "libglade-2.0.dll"…
- GetText patch1
This patch makes GetText/TranslateResourceStrings(FileName) work in win32. (it didn't detect the right language under win32 before it worked only in POSIX enviroments)…
- packages\extra\uuid1
packages/extra/Makefile.fpc adds the uuid package for linux. The packages/extra/uuid/Makefile has: MAKEFILETARGETS=i386-linux Since i386 is not the only linux target a…
- gtk2 gdk_draw_pixbuf1
Here is a patch to add the missing gdk_draw_pixbuf function to the gtk2 bindings. Mattias
- Passing consts to const6
Hi The following code snippet gives a compile error: "Error: Can't assign values to const variable". It should be legal, since we are passing a const to a const…
- FPC 2.0 and Delphi difference in scope of protected class members0
Hi In Delphi the protected members are "visible anywhere in the module where its class is declared and from any descendant class, regardless of the module where the…
- Re: type discussion24
I agree. I hate prototyping. That's why you use top-down design. What's wrong with that? Not at all; I certainly don't indent them, and I'm a fanatical indenter. I…
- TMySQLConnection.LoadField field length3
The TMySQLConnection.LoadField method from sqldb/mysql does not fetch the field lengths properly. It uses mysql_fetch_field_direct, but this only returns data about an…
- compiler/utils/samplecfg, FPCWiki1
In the source repository, the current version for trunk/compiler/utils/samplecfg has a line…
- Re: type discussion120
I followed this discussion if that construction (see below) should be allowed or not (I think it should be allowed, but it's possible to live without it; I can imagine…
- Build 2.0.0 documentation in html format2
before I start re-inventing the wheel I ask it here: If I try to build the documentation using latex2html it complains that ref.htex coudn't be found. If I change the…
- David Intersimone Interview about Freepascal and Lazarus!!!6
David Intersimone Interview about Freepascal and Lazarus!!! http://www.bitwisemag.com/media/video/iv/davidi_june2005/davidi_interview_delphi.wmv go to 3:32
- How to manually control debug information14
I'm writting a custom preprocessor and I would like that the line number information maps to the original file. An example (not real, only an example): ...original.pas...
- units precedence cthreads, variants1
Hi I'm trying to track down 'Variant Array is locked' bug and during simulation on simple program i found the unit precedence problem.…
- modernizing pascal discussions3
I think we should put these kind of threads to an end. We get several different request which conflict or need a lot of time: - Packages - Better optimizer - Better…
