fpc-devel · 2014-04
- https support; call for testers31
I've just committed support for SSL in the ssockets unit of FPC. I also made the OpenSSL unit more thread-safe. One consequence of this is that the fphttpclient unit now…
- heaptrc: question about missing caller stack1
[Sorry for the length and clutter of this post.] It is really helpful when tracking down memory leaks to have a call stack that goes all the way to the line where the…
- Need heap manager -gv explanation17
Hi I have some application with huge usage ReAllocMem and I found the big performance difference if application is compiled with -gv option (cca 20x faster) then without…
- 0026080: Access by index to dynamic array may be failed2
http://bugs.freepascal.org/view.php?id=26080 Reading this bug, I came to an interesting question. (Purely out of academic interest / not really interested in the final…
- Need an elegant way to preset a specific memory area in elf files14
I need to preset 4 longWords at a specific memory location in flash of the microcontroller that define the startup behaviour of the chip. I came up with two solutions,…
- Lazarus 1.2.2 Release0
The Lazarus team is glad to announce the release of Lazarus 1.2.2. This release was built with fpc 2.6.4. The previous release 1.2 was built with 2.6.2. Here is the list…
- Heaptrc settings by environments2
http://www.freepascal.org/docs-html/rtl/heaptrc/environment.html I was comparing the keywords accepted in the environment with the list of options that exist in the unit.
- Order of Observer notification (fpObserver)2
I just notice that the observers are notified in reverse order (see TPersistent.FPONotifyObservers), i.e., last attached observer is notified first. Is this the intended…
- Overflow checks differ between constants and variables0
In the below example range and overflow checks are off. The "a-b" line gives the result "2". (As expected after the overflow) Doing the same operation with constants,…
- dwarf line info and try finally0
I added some code to the debugger, to allow stepping from a risen exception, to a finally or except block. And also to step correctly from the end of finally (reraise)…
- 2.6.4 or 2.6.2 ? The only supported starting compiler version is 2.6.21
From todays trunk (if not using 2.6.4 nor 2.6.2): The only supported starting compiler version is 2.6.2 But 2.6.4 is out, so the message should be updated? (The check…
- Error building compiler with -O41
Using 2.6.4 as starting compiler. Attempting to build 2.7.1 rev 27596 How to I prevent the option from being passed to the starting compiler? SET…
- DWARF Error on mipsel-embedded target0
I knew for a while that dwarf output for the target is not 100% correct, I now found one example of a wrongly generated debuginfo, could somebody please help me and fix…
- Need the snapshots3
How can I get the snapshots directly on my mail so I can just save it on my device and transfer it to my laptop because am finding it difficult accessing the snapshot…
- extend fpjson with support for cardinal/qword3
I need to encode/transfer Cardinal and Qword values, which is currently not possible (at least for qwords) therefor i wanted to extend fpjson with support for that…
- OT: Code generation2
Knowing that there are some good compiler guys in here: does anybody remember a paper and set of patches for GCC that randomises register allocation and makes random…
- -dTEST_WIN32_SEH7
Just been looking at this, and trying to thing of how to catch in the debugger. From a very brief look at the sources (please correct me, if I got it wrong, or missed…
- Strange dot allowed in array?2
Just seen http://forum.lazarus.freepascal.org/index.php?topic=24191 trunk (2 or 3 weeks old) indeed compiles the below. Looking at the SetLength line: Why does it allow…
- Setting locale format data0
I have an application that reads a locale from a configuration file (simple form). This determines how the output is formatted, in particular date-time. This change is…
- Changed Math functions in FPC development trunk 2.72
A year ago there was a post from Jonas Maebe on this list () asking about the possibility to reuse parts of AMath/DAMath in FPC. Today I downloaded the development…
- i8086 huge pointers9
I started investigating huge pointer support in 16-bit C compilers and discovered there are at least two different implementations: Borland C++ 3.1: Huge pointers aren't…
- Range check with array of const, and dword?1
Is the following supposed to give a range check? 2.6.4 on win The value is correct for a DWord. program Project1; {$R+} uses sysutils; var n: DWORD; s: String; begin n…
- OS2 DOSCALLS and timezone2
i've a need to work with the OS2 timezone parameter in the OS' system clock... i'm not understanding a few things and haven't been able to figure out the code path so…
- Pascal to Javascript - Call for Help9
After many years of dreaming of an open source version of Morfik Appsbuilder, (and more recently Smart Mobile Studio), I've finally committed a first version of the…
- minor spelling glitch in FPImage.pp4
Not sure if this warrants a bug report or not. In the FPImage.pp unit of the fcl-image package file extension data is stored, but the sources misspell this term as…
- Extentions/extensions in fpmimetypes.pp2
Noticed this in fpmimetypes.pp: Type TMimeType = Class(TObject) private FExtensions: String; FExtentions: String; ... Public ... Property Extensions : String Read…
- bad adresses in dwarf line info in fpc 2.6.40
Since I switched to 2.6.4 (win 32 vista), I had several occurrences of -break-insert "\"B:/lazarus_latest/components/fpdebug/fppascalbuilder.pas\":387…
- What is / Where originates : FLAG_TRACE_BIT = $100; { our own invention } IN rtl\win\wininc\defines.inc4
C:\FPC\SVN\fpc_2.6.4\rtl\win\wininc\defines.inc line 5669 (in 3.6.4) { our own invention } FLAG_TRACE_BIT = $100; This is only there for 32 bit and wince, but not for…
