Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel

fpc-devel · 2012-02

  1. Closures

    Hello. I have implemented the support for the Delphi-compatible non-generic closures. Gradually, I plan to extend that support with: * generic closures (I am not sure,…

    Blaise Thorn, Florian Klämpfl, Hans-Peter Diettrich
    26
  2. Customize TRequest and TResponse

    Hello fpc-devel list. I need to implement some customizations to the request and response classes of the fastcgi implementation -- maybe others as well -- but afaics I…

    Joao Morais, Jonas Maebe, Michael Van Canneyt
    7
  3. TMSSQLConnection - sqlDB component for accessing MS SQL Server

    As you can see here http://bugs.freepascal.org/view.php?id=17303 the developer known to LacaK developed a new connector for MSSQLServer, descendant of TSQLConnection…

    Marcos Douglas, LacaK, Michael Van Canneyt
    33
  4. [Go32v2] LFN FindFirst bug

    on system with long file name support activated (I have FreeDos with doslfn), the example below types all files instead of directory only. program test; uses dos; var…

    Marco Borsari, Jonas Maebe, Tomas Hajny
    5
  5. Copy function and dynamic array

    I found small incompatibility between Delphi and FPC. This code: var a,b: array of byte; begin setlength(a,2); b:=copy(a,2,1); //<--HERE "Range check error" in FPC,…

    LacaK, Hans-Peter Diettrich, ik
    12
  6. FP IDE fails to compile under FreeBSD 9.0

    I'm busy setting up a new development system using FreeBSD 9.0 (32-bit) on i386 hardware. I downloaded the FPC 2.6.0 binary release for FreeBSD 8.0, which works fine.…

    Graeme Geldenhuys, Marco van de Voort
    2
  7. global property, with getter in other unit

    Defining a property in the interface section (outside a class), that refers to methods in another unit, gives an *unexpected* error. It may well be not allowed and then…

    Martin, Hans-Peter Diettrich, Paul Ishenin
    7
  8. Episode 4. Addressing and it's limits Part Two

    Episode 4.  Addressing and it's limits Part Two So we have seen that Base / Displacement will handle addresses up to a reasonable size.  This should cover most of the…

    steve smithers, Hans-Peter Diettrich, Mark Morgan Lloyd
    35
  9. TXMLDataPacketReader width field attribute

    the other day i had to do a utility to talk with a delphi written app via its web services api. In no time i had build a prototype with WST which worked perfectly. Now…

    Dimitrios Chr. Ioannidis
    0
  10. TBytes

    I read that we should use TBytes instead of AnsiString in order to implement combined binary/character buffers with automatic memory management. With AnsiString we used…

    Martin Schreiber, Marco van de Voort, Mattias Gaertner
    36
  11. procedure declaration forward, to other unit ?

    If I have a class TFoo in UnitFoo, then I can : unit UnitOther; uses UnitFoo; interface type TFoo = UnitFoo.TFoo; Now people who use UnitOther, can use TFoo, but do nut…

    Martin
    0
  12. possibility to include compiler info (line number) as integer rather than string

    Quoting http://www.freepascal.org/docs-html/prog/progsu38.html -------------------- the {$INCLUDE} directive inserts a string constant in the source code. ... LINE…

    Seth Grover, Sven Barth
    4
  13. BackTraceStrFunc / reset to system handler

    In light of a recent mail thread on the topic and http://bugs.freepascal.org/view.php?id=21370 From: rtl\inc\lnfodwrf.pp function DwarfBackTraceStr(addr : Pointer) :…

    Martin
    0
  14. 64bit FPC gdb backtrace format

    32 bit FPC default debug info (I assume STABS) shows the classname and the function name in gdb stack traces which is very useful to navigate in inherited calls for…

    Martin Schreiber, Jonas Maebe
    1
  15. Creation of event handlers problem

    i just update fpc from fixes_2_6 and now lazarus can't create event handlers. I tried with a clean fpc checked out tree and even i done the the same with lazarus tree.…

    Dimitrios Chr. Ioannidis
    1
  16. Faster InitObject

    I have a code, developed in object pascal, with many classes. The project is working fine. Today, I used callgrind (valgrind --tool=calgrind) to see which function…

    Amir, Alexander Shishkin, Hans-Peter Diettrich
    24
  17. fcl-xml updates

    Thanks for updating some units :-) I still feel a need for more updates, to replace e.g. WideString in e.g. xmlread.pp. DoDi

    Hans-Peter Diettrich
    0
  18. fpdoc (trunk) gives AV's

    Note: I can generate the fpGUI documentation without problems using fpdoc from the v2.6.0 release. Last night I implemented displaying a class hierarchy in the linear…

    Graeme Geldenhuys
    2
  19. copy for PChar

    When I use "copy" on a PChar (e.g. copy(p,1,1)), it is very slow, because the compiler converts the PChar to a string. Is there already a function for PChar? Can an…

    Mattias Gaertner, Marco van de Voort, Michael Schnell
    7
  20. MakeSkel problem with operators?

    In an attempt to check the yet undocumented FCL units for use with FPDoc and MakeSkel, I got an error in the created skeleton for gmp: <element name="operator <(MPFloat,…

    Hans-Peter Diettrich, Mattias Gaertner, Sven Barth
    7
  21. PParser.IsTokenHint deserves an update

    The extended syntax of hint tokens should be reflected in IsTokenHint. See oldlinux.pp: unit oldlinux deprecated 'Use Baseunix/Unix'; Perhaps it's sufficient to skip the…

    Hans-Peter Diettrich, Unknown author
    2
  22. getting error, after publishing property

    I have some code, and an error, that I can not explain (fpc 2.4.4 and 2.6) the base class defines public property Editor: TCustomSynEdit read GetEditor write SetEditor;…

    Martin, Sven Barth
    3
  23. TMultiReadExclusiveWriteSynchronizer

    Under Delphi if the TMultiReadExclusiveWriteSynchronizer writelock is held a read is not blocked if the ThreadID for the read is the same as the ThreadID for the write. …

    David Jenkins, Jonas Maebe
    1
  24. Problem documenting source code

    After adding documentation for some items in the FPDoc Editor, I have problems running MakeSkel or FPDoc. Both report errors in the input file, which seem to be related…

    Hans-Peter Diettrich, Unknown author
    2
  25. Merge request of rev. 18141 to FPC 2.6.x

    Hello. I would like to request merging rev. 18141 from trunk to 2.6.x branch. It seems a simple fix. FPC 2.6.0 hangs when compiling some of our code.…

    cobines
    0
  26. Replacement for make -C packages fcl-base_all

    If I just wanted to build the fcl-base units after having built the rtl, I could do make -C packages fcl-base_all in the fpc source directory. Since r20315 this is not…

    Vincent Snijders
    0
  27. New i386 netbsd snapshot available

    I managed to create a new trunk snapshot for i386-netbsd (created on a NetBSD 5.1 release) You can find it on:…

    Pierre Free Pascal
    0
  28. Adding Notes in FPDoc

    Seeing the discussions about annotating the documentation created by FPDoc, I added support for notes. (revision 20304) In short: At the level of the <module>, <topic>…

    Michael Van Canneyt, Graeme Geldenhuys, Michael Schnell
    3
  29. Documentation contribution

    Again I found almost all of my notes removed from the LCL documentation. If this is how my work is honored, I see no reason why I should spend any more time with…

    Hans-Peter Diettrich, Graeme Geldenhuys, Mattias Gaertner
    3
  30. System 370: Episode 3. Addressing and it's limits Part One!

    Episode 3.  Addressing and it's limits Part One! First, let me apologise for this post as it's going to be a large one.  Second, I don't talk about 64 bit modes here…

    steve smithers, Hans-Peter Diettrich, Jonas Maebe
    13
  31. System/370 port. Episode 5 - Addressing data

    Episode 5 - Addressing data This is where I really expose my ignorance of FreePascal internals. I know a teeny little bit about Delphi so I hope it carries through. As…

    steve smithers, Sven Barth
    1
  32. [admin] problems with mail delivery?

    I've received mails from two people the last couple of weeks that not all messages they sent (from subscribed addresses) went through to the FPC mailing lists. In order…

    Jonas Maebe
    0
  33. WinRT support planned ?

    is there any plan to support the new WinRT coming with Windows 8 ? Jerome. ------------------------------ From: Jy V Sent: 03/02/2012 10:09 To: FPC developers' list…

    Jy V, Felipe Monteiro de Carvalho, Sven Barth
    3
  34. Changing Windows API A routines in SysUtils to W in Windows NT

    SysUtils for Windows utilizes only A Windows APIs, while it could use W APIs in Windows NT. The attached patch starts correcting improving the situation. Advantages of…

    Felipe Monteiro de Carvalho, Craig Peterson, Hans-Peter Diettrich
    42
  35. Bounty for MIPS

    Hello to all possible interested MIPS hackers, as I read the wiki page http://wiki.lazarus.freepascal.org/Native_MIPS_Systems it looks like actual status of FPC for MIPS…

    Jy V, Andrew Haines, Felipe Monteiro de Carvalho
    42
  36. Re: fpc-devel Digest, Vol 94, Issue 14

    There are certain similarities, but System 360  onwards are true 32-bit processors.  It's compilers, and there must be hunderds of them by now are 32-bit compilers.…

    steve smithers, Mark Morgan Lloyd
    1
  37. Re: EBCDIC (was On a port of Free Pascal to the IBM 370)

    Same here, but things got better.  But to some extent, that's looking back through rose-tinted spectacles.  We managed with the resources we had at the time.…

    steve smithers, Mark Morgan Lloyd
    1
  38. Building FPC on SPARC Solaris

    Just a note to confirm that FPC 2.6.0 builds and installs from source on SPARC Solaris 10 and 8. I had to revert from 2.5.1 to 2.4.4 on one machine before it would…

    Mark Morgan Lloyd
    1
  39. FPDoc imports

    In an attempt to help improve fpdoc I'm blocked in understanding the handling of imported modules. The content files are imported into the link tree, but this tree seems…

    Hans-Peter Diettrich, Michael Van Canneyt, Sven Barth
    14
  40. Re: EBCDIC (was On a port of Free Pascal to, the IBM 370)

    That's a good point, but I'm not really suggesting doing it all in one hit. You can't convert that way, at least not all the time.  There are always going to be mixed…

    steve smithers, Mark Morgan Lloyd, Tomas Hajny
    2
  41. Strange errors in 2.7 cross-compiler

    I get very strange errors when trying to cross-compiler the LCL to arm-wince which never happened in FPC up to 2.6…

    Felipe Monteiro de Carvalho, Sven Barth
    3
  42. Re: Re: EBCDIC (was On a port of Free Pascal to, the IBM 370)

    steve smithers wrote the following on 02/02/12 14:38:08: I had nearly 40 years of mainframe development (OS/360 through MVS and VM/SP) and it is not a comfortable…

    Unknown author
    0
  43. Warning: Implicit string type conversion

    I wonder how these many messages occur, even in building the libraries. Is it only lazyness why according fixes are missing, or are there reasons why such conversions…

    Hans-Peter Diettrich, Marco van de Voort, Paul Ishenin
    4