Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2012-05

  1. fpimage blur

    Is there a function to blur an entire fpimage or a rectangular area? Mattias

    Mattias Gaertner, Graeme Geldenhuys, Michael Van Canneyt
    9
  2. large TFDSet in windows, select() and FD_XXX() functions - will this work?

    I'm going to experiment with something like this: https://gist.github.com/2842807 Am I calling for trouble, did I forget something? According to some Google searching it…

    Bernd
    2
  3. Cross compiling x86_64 on i386 Linux.

    Is it possible to cross-compile a Linux/x86_64 target on a Linux/i386 host? AFAICT it should be possible and I've almost got it working (using Debian's gcc-4.4-multilib…

    Bruce Tulloch, Causal Lists, Jonas Maebe
    12
  4. fpGUI Toolkit v0.8 release for FPC 2.4.4 & 2.6.0-rc

    I'm glad to announce the next release of fpGUI Toolkit. fpGUI v0.8 ---------- An archived source download and pre-built binaries for DocView (fpGUI's Documentation…

    Graeme Geldenhuys, Howard Page-Clark, Paul Breneman
    7
  5. I need an lNet expert: multiple connections and only one central CallAction() - is this possible?

    This is a pure fpc project, no LCL. If I have understood it correctly then I have to call the CallAction() method for every connection I have created but this seems to…

    Bernd, Bernd Kreuss, Jonas Maebe
    4
  6. clarification about StackBottom and StackLength in threaded programs and/or shared libraries

    Hey, guys. I hate to crosspost but nobody answered me in fpc-devel so I thought I'd try it here. Here's my original email from…

    Seth Grover
    0
  7. Debug information

    How to get debug information? There is an error, but only adresses are shown. I put on debugger Information in Lazarus (-g) but can get no further infos when an error…

    Rainer Stratmann, Bernd Kreuss, Martin
    11
  8. Streaming of Generics

    I want to find a way to write a streaming mechanic for Generic data structures. For simplicity let's assume that I want to write a class or function to stream TFPGList…

    Kornel Kisielewicz, Jorge Aldo G. de F. Junior, kyan
    4
  9. Error in x32 compiler when using SSE3

    I'm compiling the program at the end of this message in x86 and x64 mode using the following command lines: ppc386 -MDelphi -CfSSE3 testFPU.dpr ppcrossx64 -MDelphi…

    OBones, Jonas Maebe
    6
  10. Linux elf with signed checksum

    I see that most of the ELF on my system, contain a signature like so: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for…

    ik, Jonas Maebe
    2
  11. fcl-web: custom URL dispatcher/mapper

    By default, fcl-web uses the following dispatching schema: <host>/<module>/<action> Is there anyway to customize this behavior? View this message in context:…

    leledumbo
    0
  12. have anyone binded librsync to pascal yet ?

    Is there anyone who binded librsync into Pascal/FPC ? Ido

    ik, Daniel Gaspary
    1
  13. Parameters to Format()

    How should I put this? procedure TUnyokedFrontendForm.OutputWriteF(const str: widestring; values: array of variant; fg: TColor= clBlack; bg: TColor= clDefault); var …

    Mark Morgan Lloyd, Michael Van Canneyt, Unknown author
    3
  14. Proposed FPC database example code: request for testing

    I've created a small SQL*Plus/isql/osql/sqlcmd clone, pasql. It lets you connect to a database and run select queries as well as queries that don't return a dataset. It…

    Reinier Olislagers, Michael Van Canneyt
    2
  15. TList Notify count changed

    In TList how can i notify if Count is changed with New and Old values as like in SetCount, SetCount procedure not virtual? procedure SetCount(NewCount: Integer); I am…

    Zaher Dirkey, Michael Van Canneyt
    2
  16. Re: fpc-pascal Digest, Vol 95, Issue 21

    Bien Miguel, estos son los costos: Ya esta colocado en la WEB 24/05/12 Cambio: texto Banner Promociones S/. 5.00 24/05/12 Actualización: Promoiocnes S/. 15.00…

    Luis Fernando Del Aguila Mejía
    0
  17. TimSort

      Is there already a TimSort implementation in fpc?   http://en.wikipedia.org/wiki/Timsort   Mattias  

    Mattias Gaertner, Flávio Etrusco, Jonas Maebe
    20
  18. Catching math exceptions in a DLL

    Using FPC, I'm writing a DLL that exports functions used by a given host process. In order to protect the host process, it is mandatory that all exceptions are trapped…

    OBones, Jonas Maebe, Sven Barth
    6
  19. TP 4 to FPC 2.6.0 conversion

    My conversion of TP 4 programs into FPC 2.6.0 to obtain hi res graphics on Win2000 OS is almost complete. My program starts in a VGA type window requesting a keyboard…

    Robert Zimmerer
    0
  20. 2.6.0 for Solaris?

    Hi, I was looking to try FPC but I saw the latest release isn't available for Solaris, only 2.4something. Do you guys plan on releasing the new version on Solaris? Do…

    Unknown author, Jeff Wormsley, Jonas Maebe
    43
  21. Unicodestrings and Assign(File)

    Is it (already) possible to use Unicodestrings for file paths? I was able to access long paths (with many hundreds of characters) in the windows API functions…

    Jürgen Hestermann, Bernd, dmitry boyarintsev
    35
  22. You can probably ignore this

    It seems I have to post twice or nothing shows up to the list!

    Unknown author
    0
  23. Can't install FPC on mac bookair 10.7.4

    Dear I can't install FPC compiler on mac 10.7.3 Please see attachment files Thank you Chovav P.S. -http://www.lazarus.freepascal.org/index.php/topic,16125.0.html

    Chovav Sutachy, Jonas Maebe
    1
  24. Darwin i386

    I'm having a hard time with GDB and debugging threads on a OSX 10.7.4 with fpc/trunk The shipped gdb worked great with the exception of threads calling methods via…

    Andrew Brunner, Jonas Maebe
    4
  25. FPMake configure script

    I've been playing with a configuration script for my project some time now. What started as a simple compiled application, it has changed into a instantFPC script. Today…

    Unknown author
    0
  26. Extend multiple classes with same code

    I have 2 objects inherited from the base one T_A = class(TObject); T_B1 = class(T_A); T_B2 = class(T_A); T_B3 = class(T_A); Now if I want to extend T_B1 it is easy to…

    Zaher Dirkey, Bernd, Jorge Aldo G. de F. Junior
    10
  27. FSplit is deprecated

    unixutil another deprecated function that has not written any hint towards its replacement right behind the 'deprecated' keyword (where it would belong). The RTL…

    Bernd, Marco van de Voort
    3
  28. Handling with sources and exebutables with different names

    I am compiling CGI modules with Freepascal in commandline mode. if I do: fpc test.pas the result is "test.exe". But the source name needs to be different from the…

    luciano de souza, Michael Van Canneyt, Sven Barth
    5
  29. Unicode support

    I wanted to ask what the present state of unicode support is now. I'm running into problems with some various strings. Sometimes when a string contains a unicode…

    Andrew Brunner, Paul Ishenin
    1
  30. Strange compile error

    I have a simple application that uses glut and opencv. However as soon as I add the opencv wrapper unit to the uses clause I get: video.pp(10,1) Fatal: Syntax error,…

    Unknown author, Darius Blaszyk, Sven Barth
    6
  31. Setting string to be UnicodeString by default

    Is there a way to force the string type to be an alias to UnicodeString instead of AnsiString as it is by default? I tried the obvious "type string = UnicodeString" but…

    Olivier Sannier, Jonas Maebe, Marcos Douglas
    8
  32. Linux sound (especially MIDI) programming: ALSA?

    Has anybody used FPC to control ALSA on Linux? I need to filter a MIDI stream in real time, and handle transposition etc. If anybody knows of useful resources I'd…

    Mark Morgan Lloyd, leledumbo, Wimpie Nortje
    7
  33. Parsing parameters inside an interpreter

    I trying to build a very small interpreter. I can type commands like: $ add "Luciano de Souza" Somewhere in my code, I can have something like: procedure…

    luciano de souza, Jorge Aldo G. de F. Junior, leledumbo
    7
  34. Adding USB library to FPC

    I have seen several header translations of the various libusb variants (0.1, 1.0 & win32) scattered on the web and forums. I have also noticed several dead links, a…

    Christo Crause
    0
  35. FpProfiler patch to compile with fpmake

    I'm not sure if anyone is actively watching the Mantis issues for FpProfiler, so I thought I'll mention it here: I submitted a patch to fix the compilation with fpmake…

    Michalis Kamburelis, Darius Blaszyk
    1
  36. converting c code

    I'm struggling to convert a simple for loop from C to pascal. The code is shown below (as is a trace of the loop parameter values). I'm a bit puzzled how this should…

    Darius Blaszyk, Dimitri Smits, Marco van de Voort
    4
  37. FPC and (minimal) telnet

    I'm using the ltelnet unit to good effect in a special-purpose terminal emulator which doesn't merit e.g. Synapse, although since it's not part of the the fcl I'm having…

    Mark Morgan Lloyd
    0
  38. FPC + valgrind massif problems

    I wanted to debug where my program uses the most memory. (There are no memory leaks, but I want to optimize memory usage on some large inputs. As the code is quite…

    Michalis Kamburelis, Ludo Brands, Sven Barth
    4
  39. Runs correctly when debugging.

    I'm working on a wrapper of a C library. I've found a bug, but I can't debug it with GDB because if I compile with "-g" and link with the debug version of the library…

    Guillermo Martínez Jiménez, Henry Vermaak
    7
  40. fpc & arm-embedded interrupts

    I'm working on an embedded-arm application. I do want to use interrupts but I don't find how to easily setup the interrupt-handlers. In the startup code in C, I see…

    Koenraad Lelong, Jeppe Græsdal Johansen
    1
  41. SIGFPE with SameValue()

    Hi List. I have discovered the following strange bug/problem. Please check out the following program and tell me which part is right or perhaps what i'm doing wrong in…

    Torsten Bonde Christiansen, Jonas Maebe, Unknown author
    4
  42. Assigning absolute record to variable

    I hope I can make myself clear. I'm making a driver to control an LCD with an STM32 microcontroller, using fpc-embedded-arm. I want to make my driver re-usable, i.e. I…

    Koenraad Lelong
    1
  43. ObjectBinaryToText - how to write only selected property?

    ObjectBinaryToText method can save object structure to string, but how save only some propertys? I could use RTTI and TypeInfo, but ObjectBinaryToText can parse property…

    Krzysztof, Graeme Geldenhuys, Martin Schreiber
    6
  44. cross compiler linker issue win32 to Linux

    I have the cross compiler setup(win32 to linux) and I can compile most of my apps just fine except for one that is a daemon and uses cthreads and cmem in the uses. It…

    Tony Caduto
    0
  45. Reversing bit-order of byte

    I'm porting a driver, originally written in C, for an LCD to be used with an embedded arm-processor (STM32). The original driver uses SPI, my driver will use a USART in…

    Koenraad Lelong, David Butler, Geoffrey Barton
    15
  46. InstantFPC and argv

    I'm creating a script to be executed by instantfpc when I noticed that paramstr(0) does not reflect the location of the script but the location of the cached executable.…

    Unknown author, Darius Blaszyk, Jonas Maebe
    25
  47. Writeln in embedded systems

    I have been experimenting with compiling to an embedded ARM platform I succeeded in compiling with a minimum system unit. Now the ARM processor can blink with a LED. I…

    Carsten Bager, Jonas Maebe, LanceKalp
    2
  48. TBufDataSet: ApplyUpdates

    I saw the TBufDataSet.ApplyUpdates and it calls ApplyRecUpdate. The ApplyRecUpdate just raises an exception... There is some implementation, in some place, to work with…

    Marcos Douglas, LacaK, Sven Barth
    6
  49. c to pascal converters

    I'm in the process of converting an old MSVC6 application to FPC/Delphi, so I'm thinking about using a c to pascal converter. The code is older 6-10kloc, and is plain C…

    Marco van de Voort, Unknown author
    2
  50. Errors compiling FPC trunk r21192 x86 windows & existential questions

    Seem to be having some problems compiling FPC trunk r21192 x86 windows (see below). However, x64 build does work. Is this a known problem? Should I keep pestering the…

    Reinier Olislagers, Jonas Maebe, Marco van de Voort
    3