Commit Graph

5644 Commits

Author SHA1 Message Date
oro06
63a7fabebc + Added WinCE API port readme
git-svn-id: trunk@927 -
2005-08-23 06:46:22 +00:00
yury
5ad7967a67 fix: Console window was created for gui apps.
git-svn-id: trunk@925 -
2005-08-23 06:35:35 +00:00
oro06
d96231af45 + Added WinCE API files updated from Win32
* unidef.inc complete

git-svn-id: trunk@918 -
2005-08-22 17:27:28 +00:00
marco
73799540c1 * Compilation on FreeBSD restored (\ in makefile.fpc) + fix for bug #4297
Adding NT function tryentercriticalsection

git-svn-id: trunk@906 -
2005-08-20 08:22:35 +00:00
florian
84fe2c604d * patch from Yury Sidorov to fix WinCE console I/O
git-svn-id: trunk@850 -
2005-08-13 16:34:44 +00:00
florian
8602390d46 * Makefiles regenerated to propagate -Ur change of fpcmake
git-svn-id: trunk@844 -
2005-08-10 21:55:57 +00:00
florian
5b32d2797e * more units are built on wince
git-svn-id: trunk@839 -
2005-08-10 08:58:03 +00:00
florian
67cdcd11e7 * fixed makefiles for wince support
git-svn-id: trunk@838 -
2005-08-10 08:50:07 +00:00
florian
a9a0e65eab * optimized exception handler routine from Yury Sidorov
git-svn-id: trunk@835 -
2005-08-09 19:14:04 +00:00
marco
fa19bc05c8 * pos(shortstring,ansistring) for bug #4119
git-svn-id: trunk@828 -
2005-08-09 07:34:56 +00:00
florian
2d606f52f3 + added missing inline directives for 2.0.x
git-svn-id: trunk@818 -
2005-08-07 15:17:07 +00:00
florian
494664ae3f + some inline directives added
+ max/min(cardinal,cardinal) removed, causes trouble, see e.g. webtbs/tw3900.pp

git-svn-id: trunk@817 -
2005-08-07 15:10:55 +00:00
marco
fc3c244f4a * some cosmetic cleanups while investigating bug #4154 which was already
fixed.

git-svn-id: trunk@814 -
2005-08-07 10:47:28 +00:00
florian
39310ff5dd * marked several small "wrapper only" procedures as inline
* fixed some warnings

git-svn-id: trunk@808 -
2005-08-07 08:26:30 +00:00
florian
547c3f92b2 * AnsiReplaceText fixed, fixes 4260
git-svn-id: trunk@807 -
2005-08-07 07:57:27 +00:00
marco
287e8317a6 * apparantly broke linux since iconv is in glibc there, fixed + some minor gotchas
git-svn-id: trunk@806 -
2005-08-06 20:20:19 +00:00
marco
c90da53c9f * more darwin fixes. Export to libiconv not iconv
git-svn-id: trunk@805 -
2005-08-06 17:11:08 +00:00
marco
40ff86dd59 * Darwin fixes. Untested on Darwin yet. (adding lib + name to external statements)
git-svn-id: trunk@804 -
2005-08-06 15:35:12 +00:00
marco
801428838f * FreeBSD cwstring support
git-svn-id: trunk@802 -
2005-08-06 13:33:36 +00:00
florian
4ad7eac915 * fixed setting of WindMax*/WindMin*, fixes 4212
git-svn-id: trunk@801 -
2005-08-06 11:17:49 +00:00
marco
90d0f399d7 * Patch from Vincent
git-svn-id: trunk@795 -
2005-08-05 12:59:58 +00:00
florian
e473858821 * fixed setting of widestringmanager
--Ths line, and those below, will be ignored--

M    rtl/unix/cwstring.pp

git-svn-id: trunk@790 -
2005-08-04 18:52:16 +00:00
marco
1c9e6e4a24 * Fixed tzseconds problem. I hope.
git-svn-id: trunk@788 -
2005-08-04 06:36:35 +00:00
florian
4e6b371dc5 * patch from Martin Schreiber to fix bug #4247
git-svn-id: trunk@784 -
2005-08-03 19:55:06 +00:00
florian
451a7c3366 + GetEnumNameCount by Danny Milosavljevic
git-svn-id: trunk@783 -
2005-08-03 18:54:18 +00:00
florian
fe5bd6902d * sockets unit fixed
git-svn-id: trunk@760 -
2005-07-27 18:04:20 +00:00
florian
614a0703c8 * fix for sockets from Ales Katona
git-svn-id: trunk@758 -
2005-07-27 09:07:56 +00:00
florian
bcb717f7ea * patch from Ales Katona to fix ssize_t on win32
git-svn-id: trunk@747 -
2005-07-25 19:03:34 +00:00
michael
42f219cfc4 + Fix for bug #4222 by Rodrigo Robles
git-svn-id: trunk@745 -
2005-07-25 17:11:08 +00:00
daniel
f6ad2aa425 * Hopefully fixes compilation
git-svn-id: trunk@741 -
2005-07-25 13:05:20 +00:00
florian
9e6c9d4fc7 * sysutils.format: floating point formatting takes care of currency type now
git-svn-id: trunk@736 -
2005-07-24 12:14:18 +00:00
michael
84a4c40a3d + Patch from Joost Van der Sluis to fix DoEncodeTime
git-svn-id: trunk@732 -
2005-07-23 21:13:58 +00:00
Jonas Maebe
bf51ab03af + support for Mach-O in lineinfo.pp (by Jan Ruzicka)
* always store the return address in the stack frame on ppc if debuginfo
    or lineinfo is turned on (otherwise the parent of a leaf function is
    missing in backtraces)

git-svn-id: trunk@724 -
2005-07-21 13:09:45 +00:00
florian
bf311fd100 + ExpandUNCFilename for win32 from Klaus Hartnegg
git-svn-id: trunk@715 -
2005-07-20 18:39:21 +00:00
florian
13299f521b + ExpandUNCFilename for win32 from Klaus Hartnegg
git-svn-id: trunk@714 -
2005-07-20 18:38:11 +00:00
peter
b0e5f64091 * call uniquestring before calling stringtoppchar
git-svn-id: trunk@709 -
2005-07-20 07:11:55 +00:00
Jonas Maebe
8cbdbc4951 - disabled SYSTEMINLINE until conflict with compilerprocs is fixed
git-svn-id: trunk@647 -
2005-07-18 12:58:51 +00:00
florian
e686da2026 * fixed and removed some missing HASINLINE directives, needs more work
git-svn-id: trunk@637 -
2005-07-17 08:21:17 +00:00
peter
1cecfcc09f * only all resizes for fixed blocks when the blocksize doesn't
change.
  * check the new size first if it fits in the fixed size range
    to prevent truncation of the size when the fixedsizemask is applied

git-svn-id: trunk@636 -
2005-07-16 20:17:24 +00:00
florian
30769ea013 * made variant operators inlined
* fixed some inline directives
+ variant<->olevariant cast operators

git-svn-id: trunk@632 -
2005-07-15 21:12:21 +00:00
florian
8dd52941d5 * tdynarraytypeinfo moved to interface
* made aligntoptr inlined

git-svn-id: trunk@630 -
2005-07-15 21:09:45 +00:00
florian
ce08f48926 - from Jakob Klos: removed DefaultTextLineBreakStyle and TTextLineBreakStyle, it's already in the system unit
git-svn-id: trunk@624 -
2005-07-14 10:27:32 +00:00
florian
6ed53e2c70 * Trim removes now all spaces and controll chars
+ Trim* for widestrings

git-svn-id: trunk@618 -
2005-07-13 08:32:41 +00:00
daniel
e87ea7642c * Remove tabs
git-svn-id: trunk@613 -
2005-07-10 15:41:51 +00:00
florian
0508459315 * From Jakob Klos:
* assign takes care of DefaultTextLineBreakStyle when determing the line ending style, fixes 4164

git-svn-id: trunk@610 -
2005-07-10 13:59:47 +00:00
florian
cfcaff7dc9 * fixed mysql date problems using sscanf :]
* better integer parsing in sscanf

git-svn-id: trunk@609 -
2005-07-10 13:43:49 +00:00
florian
4258bee1c5 + char support for sscanf
git-svn-id: trunk@605 -
2005-07-09 22:42:39 +00:00
florian
0d79442d0f + sscanf
git-svn-id: trunk@604 -
2005-07-09 22:34:26 +00:00
florian
9e5a2f9522 * From Yury Sidorov:
* Now runtime error is not popped on program's exit if exception was handled. 

git-svn-id: trunk@601 -
2005-07-09 13:06:19 +00:00
florian
ba07b3920e * Makefile regenerated
git-svn-id: trunk@599 -
2005-07-09 09:36:42 +00:00
florian
0a58f18502 * from Yury Sidorov:
+ Added new target WinCE for i386 (to be able compile and run programs in WinCE emulator)
  + Exceptions work now.
  * System unit seems to be fully working

git-svn-id: trunk@597 -
2005-07-09 09:33:07 +00:00
florian
25b79e9db3 * patch from Yury Sidorov to make simply exception handling without sysutils possible
git-svn-id: trunk@595 -
2005-07-07 18:53:21 +00:00
Vincent Snijders
a879211175 fixed setting memstream capacity to 0
git-svn-id: trunk@590 -
2005-07-05 21:54:32 +00:00
florian
caced33fed * Makefile generated
git-svn-id: trunk@574 -
2005-07-03 16:26:41 +00:00
florian
8adc1c9b0c + RTL part of WinCE patches from Yuri Sidorov
git-svn-id: trunk@572 -
2005-07-03 15:52:27 +00:00
peter
73e0105080 * use Reallocmem in TStream.Realloc
* prevent setting the capacity < 0, which will give an RTE when
    passed to the heap manager

git-svn-id: trunk@566 -
2005-07-03 13:20:06 +00:00
florian
a440df217b * v.vtype=varString -> double fixed
git-svn-id: trunk@564 -
2005-07-02 16:11:35 +00:00
florian
f5b9130b98 * deallocation of translated resourcestrings
* load heaptrc before objpas

git-svn-id: trunk@549 -
2005-06-30 19:07:45 +00:00
peter
2654bf6a16 * reset fpucw in system startup
git-svn-id: trunk@543 -
2005-06-30 14:02:15 +00:00
Jonas Maebe
e374c0c899 + ord4() support
* made Member() inline
* turn off invalid fpu exceptions for ppc, because Carbon under Mac OS X 10.4.x
  has some bugs

git-svn-id: trunk@516 -
2005-06-28 19:42:14 +00:00
michael
fee6627a8a + Fixed typo, patch by Colin Western
git-svn-id: trunk@507 -
2005-06-26 14:53:09 +00:00
Jonas Maebe
9d9fd923d9 * the 'main' procedure for darwin is now placed in the main program instead
of in the system unit
+ ability to rename this 'main' symbol (-XM<x>, e.g. -XMSDL_main for SDL), for
  all OS'es
+ mention the -Xm parameter in the help

git-svn-id: trunk@503 -
2005-06-26 13:24:12 +00:00
florian
ed95c19399 * reallocation of widestrings on windows fixed
* warnings in sstrings.inc fixed

git-svn-id: trunk@500 -
2005-06-26 08:17:21 +00:00
peter
822f7f0f16 * allow freemem nil
git-svn-id: trunk@499 -
2005-06-25 21:11:16 +00:00
michael
64f1948f3e + Added overloaded stringtoset which starts from typinfo, not propinfo
git-svn-id: trunk@492 -
2005-06-25 17:26:36 +00:00
michael
2ec3e6db01 + Added overloaded settostring which starts from typinfo, not propinfo
git-svn-id: trunk@491 -
2005-06-25 17:22:21 +00:00
Jonas Maebe
4292e7f939 - removed obsolete FPC_MTFSB0_CORRECTED macro
git-svn-id: trunk@487 -
2005-06-24 18:34:58 +00:00
florian
13e3102954 * Patch from Vincent Snijders:
* 1. except.patch implements ExceptFrameCount and ExceptFrames
  * 2. arg.patch fixes a bug in the copying of the commandfilename to the arg array. The #0 character was not copied, so the pchar was not properly terminated.

git-svn-id: trunk@461 -
2005-06-21 12:55:45 +00:00
florian
67d640ad13 * some parts of strutils cleaned up, bug #3124 fixed
git-svn-id: trunk@459 -
2005-06-20 20:46:11 +00:00
florian
07442c5693 * fixed passing of variant parameters for windows api
* widestrings need to be allocated by a special OS call on windows

git-svn-id: trunk@458 -
2005-06-20 19:56:36 +00:00
florian
38c46b4809 * mime properties on Makfiles set
git-svn-id: trunk@453 -
2005-06-19 21:58:46 +00:00
Jonas Maebe
437f35315c * fixed datetime related routines for unix
git-svn-id: trunk@444 -
2005-06-19 14:49:37 +00:00
marco
c1275de06a * mods.
git-svn-id: trunk@437 -
2005-06-17 20:08:07 +00:00
michael
7c1ce9f49e + Initial implementation of new fpmake system
git-svn-id: trunk@436 -
2005-06-17 16:58:31 +00:00
florian
03dde52c5b + WS_* constants are longints, added type casts for constants > $7fffffff
git-svn-id: trunk@425 -
2005-06-15 22:03:24 +00:00
florian
e292915577 + GetNextWindow
git-svn-id: trunk@424 -
2005-06-15 21:44:51 +00:00
florian
90cdc1b6fe * fixed interface rtti, fixes bug #4089
git-svn-id: trunk@422 -
2005-06-15 21:27:51 +00:00
Jonas Maebe
828eebe984 * cwstring fixed and activated for Darwin
git-svn-id: trunk@407 -
2005-06-14 18:30:05 +00:00
michael
d2d33c03fb + Added missing FileSetDate call
git-svn-id: trunk@403 -
2005-06-14 11:46:31 +00:00
peter
58cdeb8184 * give runerror 231 if exceptobjectstack=nil
git-svn-id: trunk@401 -
2005-06-14 05:22:18 +00:00
peter
f8e713c9cb * check for FPC < 2.0.0
git-svn-id: trunk@395 -
2005-06-13 07:27:07 +00:00
Jonas Maebe
a71e25ffe0 + Mac Object Pascal support
git-svn-id: trunk@387 -
2005-06-12 14:00:27 +00:00
michael
7fb254755d + Optimizations for lower/uppercase functions
git-svn-id: trunk@380 -
2005-06-11 13:14:59 +00:00
daniel
cb9e465f9f * Add --32 xor --64 to assembler command line depending on CPU_TARGET.
i386 only.

git-svn-id: trunk@375 -
2005-06-10 20:32:05 +00:00
florian
64c72bd312 * patch from Joost van der Sluis to remove VIRTUALPASCAL define since VP is officially dead
git-svn-id: trunk@374 -
2005-06-10 17:05:35 +00:00
florian
6a279f8569 * small compilation fixes for win64 system unit
git-svn-id: trunk@373 -
2005-06-10 17:04:02 +00:00
michael
7449f99d5f + Removed all compatibility defines from compiler
git-svn-id: trunk@335 -
2005-06-09 21:14:22 +00:00
michael
b29507407e + Removed HASOVERLOADASSIGNBYUNIQUERESULT define
git-svn-id: trunk@315 -
2005-06-09 18:08:11 +00:00
michael
198b2104be + Removed HASFUNCTIONCOPYDYNARR define
git-svn-id: trunk@313 -
2005-06-09 18:06:35 +00:00
michael
fccc19aa5c + Removed HASGETHEAPSTATUS HASGETFPCHEAPSTATUS defines
git-svn-id: trunk@311 -
2005-06-09 18:04:47 +00:00
michael
9beb37574e + Removed SHORTSTRCOMPAREINREG define
git-svn-id: trunk@309 -
2005-06-09 17:59:46 +00:00
michael
5cafc069b5 + Removed NOSAVEREGISTERS define
git-svn-id: trunk@307 -
2005-06-09 17:58:20 +00:00
michael
06ab2d2ee6 + Removed STR_USES_VALINT define
git-svn-id: trunk@305 -
2005-06-09 17:53:01 +00:00
michael
684b7fa85f + Removed HAS_INTERNAL_INTTYPES define
git-svn-id: trunk@303 -
2005-06-09 17:50:58 +00:00
michael
f7edd5a256 + Removed DECRREFNOTNIL define
git-svn-id: trunk@300 -
2005-06-09 17:48:33 +00:00
michael
033e38b8df + Removed NOCLASSHELPERS define
git-svn-id: trunk@299 -
2005-06-09 17:46:56 +00:00
michael
addadd41bf + removed HAS_GENERICCONSTRUCTOR define
git-svn-id: trunk@297 -
2005-06-09 17:43:58 +00:00
michael
859bb30daa + Removed HASTHREADVAR SUPPORT_THREADVAR defines
git-svn-id: trunk@295 -
2005-06-09 17:40:29 +00:00
michael
a775d3d487 + Removed HASCURRENCY VALUEGETMEM VALUEFREEMEM defines
git-svn-id: trunk@293 -
2005-06-09 17:33:22 +00:00
florian
6992fde8fc * patch from Ales to Katona to change some var parameters to out
parameters

git-svn-id: trunk@292 -
2005-06-09 07:42:40 +00:00
florian
84958dd3d9 * fixed compilation on x86-64
git-svn-id: trunk@291 -
2005-06-08 21:05:57 +00:00
florian
bffd9f2cc7 * killed legacy x87 code for Win64
git-svn-id: trunk@288 -
2005-06-08 19:12:23 +00:00
florian
ad3b9b9464 * windows rtl restructuring to share code between win32 and win64
* BeginThread can take a qword on 64 bit targets as stacksize

git-svn-id: trunk@287 -
2005-06-08 19:08:49 +00:00
michael
3a2eaa94b1 + Removed INTERNCONSTINTF define
git-svn-id: trunk@267 -
2005-06-07 22:04:18 +00:00
michael
93ba0409be + Removed HASCOMPILERPROC define
git-svn-id: trunk@265 -
2005-06-07 21:41:02 +00:00
michael
0fe5266f4d + Removed NOBOUNDCHECK define
git-svn-id: trunk@263 -
2005-06-07 21:17:22 +00:00
michael
5d02b2c6cc Removed HAS_ADDR_STACK_ON_STACK define
git-svn-id: trunk@261 -
2005-06-07 21:14:57 +00:00
michael
db5d9d75aa + Removed INTERNCOPY define
git-svn-id: trunk@259 -
2005-06-07 21:11:49 +00:00
michael
a20556e62d + Removed INTERNLENGTH/INTERNSETLENGTH defines
git-svn-id: trunk@257 -
2005-06-07 21:07:21 +00:00
michael
71318f202b + Removed FPC_HASUSERDATA32 define
git-svn-id: trunk@254 -
2005-06-07 21:02:43 +00:00
michael
b6d3df6cb8 + Removed FPC_HASNOFARPOINTER define
git-svn-id: trunk@253 -
2005-06-07 21:01:02 +00:00
michael
7712d4e2d1 + Removed FPC_ALIGNSRTTI define
git-svn-id: trunk@251 -
2005-06-07 20:59:11 +00:00
michael
b1b3e0ea6f + Removed FPC_LINEEND_IN_TEXTREC define
git-svn-id: trunk@249 -
2005-06-07 20:56:24 +00:00
michael
a44d5f5c13 + Removed HASGLOBALPROPERTY define
git-svn-id: trunk@247 -
2005-06-07 20:52:42 +00:00
michael
21425e303c + Removed HASVARIANT define
git-svn-id: trunk@244 -
2005-06-07 20:48:31 +00:00
michael
8a226bba52 + Removed HASWIDESTRING/HASWIDECHAR defines
git-svn-id: trunk@241 -
2005-06-07 20:42:22 +00:00
michael
23ad0ae1ec + Removed HASINTF and VER1_0 defines
git-svn-id: trunk@239 -
2005-06-07 20:30:03 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
florian
0d7aaab6b8 * patch from Ales Katona making the memory manager more
smart when releasing memory chunks back to the OS

git-svn-id: trunk@190 -
2005-06-04 10:53:38 +00:00
Jonas Maebe
7ba46ce6f0 * Darwin TThreadID is a pointer
* BeginThread now returns a TThreadID instead of dword

git-svn-id: trunk@189 -
2005-06-04 09:33:39 +00:00
Jonas Maebe
619cbfd88b * definition of pthread_mutex_t moved to pmutext.inc
git-svn-id: trunk@186 -
2005-06-03 21:07:55 +00:00
Jonas Maebe
7a79e0f083 * use definition of pthread_mutex_t from ptypes.h instead of
the linux definition in the system unit

git-svn-id: trunk@185 -
2005-06-03 21:07:04 +00:00
Jonas Maebe
f1a2ef1db2 * don't detach thread when finished, but pthread_exit it
(so it can be joined)

git-svn-id: trunk@184 -
2005-06-03 21:05:14 +00:00
armin
af059326c3 * end. was moved outside of ifdef INCLUDED_FROM_SYSTEM ???
git-svn-id: trunk@181 -
2005-06-03 08:09:50 +00:00
Tomas Hajny
d035b0c0d3 * fix for range error on some platforms
git-svn-id: trunk@178 -
2005-06-03 04:52:24 +00:00
armin
d0ae92c6db * currected some cvs conversion probs
* removed fpc1.0 from Makefile.fpc

git-svn-id: trunk@172 -
2005-06-02 11:37:02 +00:00
fpc
c5b90ed37c * fixed variant array creation and copying on non win32 system
git-svn-id: trunk@170 -
2005-06-01 19:30:17 +00:00
michael
0882b637a4 * Patch from Ing. Petr Kristan
- Add dlerror() to dl unit
  - Add CurValue to TField in db.pp
  - Add TCurrencyfield to db.pp
  - Add TDataset.IslinkedTo to db.pp
  - Add ShellExecuteEx call to shellapi

git-svn-id: trunk@167 -
2005-06-01 16:16:35 +00:00
peter
cae26c3ab4 * missing .o files
git-svn-id: trunk@163 -
2005-06-01 08:15:20 +00:00
peter
87fe5d9b98 * limit backtraces to values inside the stack, patch by Vincent Snijders
git-svn-id: trunk@162 -
2005-06-01 06:50:52 +00:00
florian
9da46ff50a * more descriptive error message in case of a missing variant unit added
* variant unit uses now the math unit for ** implementation

git-svn-id: trunk@158 -
2005-05-30 20:47:34 +00:00
florian
4f30642b4a * fixed StrToDate to throw proper exceptions in case of an error, fixes bug #3913
git-svn-id: trunk@156 -
2005-05-30 20:37:35 +00:00
florian
7e1546243e * patch from Vinzent Hoefler with first go32v2 fixes
git-svn-id: trunk@152 -
2005-05-30 17:42:20 +00:00
daniel
a7d57f0268 * Fix tabs
git-svn-id: trunk@135 -
2005-05-29 10:15:45 +00:00
michael
aea4d56d46 + Reversed setup of stdio and arguments to fix bug #3962
git-svn-id: trunk@114 -
2005-05-25 21:47:52 +00:00
michael
d438530088 + Fix for bug #3917 by Michael Deutschmann
git-svn-id: trunk@112 -
2005-05-25 21:35:29 +00:00
michael
08c7681c60 + EncodeDate routines raise EConvertError as needed
git-svn-id: trunk@110 -
2005-05-25 21:26:36 +00:00
Tomas Hajny
8e19280c79 + OS/2 implementation of unit sockets
git-svn-id: trunk@101 -
2005-05-25 20:51:21 +00:00
michael
77152e9d1b + Added VarCast routine
git-svn-id: trunk@100 -
2005-05-25 20:25:58 +00:00
Tomas Hajny
09dd14ca17 * fix for missing INLINE ON removed during VER1_0 cleanup
git-svn-id: trunk@94 -
2005-05-25 09:18:59 +00:00
peter
fca7672e8e * Remove log
git-svn-id: trunk@93 -
2005-05-25 08:18:08 +00:00
peter
523d3e6ced * remove log
git-svn-id: trunk@91 -
2005-05-25 07:19:10 +00:00
Tomas Hajny
403bdb534d * fix for bug #3995 - paramstr(0) needs full path
git-svn-id: trunk@83 -
2005-05-23 22:09:12 +00:00
florian
f8c314a7b7 * changed fpc_read_text to use out instead of var
git-svn-id: trunk@73 -
2005-05-22 18:17:15 +00:00
marco
1efce6412b * FPC_USE_LIBC and uuidgen(2) support under IFDEF FREEBSD5.
git-svn-id: trunk@72 -
2005-05-22 14:24:55 +00:00
marco
cc6d13cca4 * uuidgen added
git-svn-id: trunk@71 -
2005-05-22 14:23:15 +00:00
florian
937fcdf41e * better message in case of missing variants unit
git-svn-id: trunk@69 -
2005-05-22 12:41:36 +00:00
florian
dfcb5903a9 * fixed TimeStampToMSecs as suggested by Vinzent Hoefler in bug report 3915
git-svn-id: trunk@67 -
2005-05-22 12:25:12 +00:00
florian
7257f05776 * mouse events in the fifo doesn't get overriden under heavy load anymore
* fixed getmousevent, see comment in source

git-svn-id: trunk@60 -
2005-05-22 09:45:52 +00:00
marco
1467901e3e * Fixes for some $LOG$ removal snafu's
git-svn-id: trunk@57 -
2005-05-21 23:15:32 +00:00
michael
180fd52858 + Reworked GUID creation
git-svn-id: trunk@43 -
2005-05-21 10:03:44 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
florian
3beb4d960f * createguid fixed
git-svn-id: trunk@34 -
2005-05-19 22:13:11 +00:00
michael
ffb55c4254 + Removed VER1_0 defines
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +00:00
michael
99658cf4d6 + Implementation of CreateGUID
git-svn-id: trunk@27 -
2005-05-19 17:31:25 +00:00
fpc
48feb5014c * eol style property in main branch fixed
git-svn-id: trunk@19 -
2005-05-18 16:53:52 +00:00
marco
9d33cf03b1 * Patch from maillist for read() on a file with only a few numerical digits
in them and no crlf

git-svn-id: trunk@15 -
2005-05-18 08:57:17 +00:00
florian
f949a53da8 * format(%u",[<qword>]); fixed
* made test working

git-svn-id: trunk@13 -
2005-05-17 22:27:53 +00:00
peter
b68af1b0e3 * post 2.0.0 fixes from cvs
git-svn-id: trunk@7 -
2005-05-16 20:59:02 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
Tomas Hajny
d24956505a * TextMode parameter type changed to word for TP/BP compatibility 2005-05-15 12:44:14 +00:00
Tomas Hajny
77d16a7ad9 * TextMode parameter type changed to word for TP/BP compatibility 2005-05-14 15:01:49 +00:00
Tomas Hajny
7be6c68518 * TextMode parameter type changed temporarily not to break other platforms 2005-05-14 14:58:41 +00:00
Tomas Hajny
01ee93f838 * fix for bug #3713 and other - basis for future common implementation prepared 2005-05-14 14:40:45 +00:00
Tomas Hajny
cdccf904cd + basis for common platform independent implementation of Crt 2005-05-14 14:32:55 +00:00
olle
d988d8d694 * Fixed typo 2005-05-14 11:54:00 +00:00
olle
559ee781b3 - Removed outcommented function 2005-05-14 11:53:31 +00:00
olle
9c34d047ed * Updated header comments 2005-05-14 11:52:37 +00:00
michael
30b55c8bee + Added MAX_PATH for Delphi/Kylix compatibility. 2005-05-12 20:30:51 +00:00
michael
2e48181661 + Added maxpathlen constant (maximum length of filename path) 2005-05-12 20:29:04 +00:00
Tomas Hajny
3ddd944b81 * fix for potential SIGSEGV during argv allocation 2005-05-10 21:45:08 +00:00
michael
7764270152 + Added overloads of G(S)etwindowplacement with pointer versions 2005-05-09 18:39:58 +00:00
michael
b60c5b9cd2 + Fixed bug #3957 2005-05-09 18:35:06 +00:00
michael
71f56b3d61 + Patch to return nil if there is no exception object (as in Delphi) 2005-05-08 21:20:26 +00:00
florian
207e67cc4d + cycling with 1.0.x fixed, hopefully the last fix of this for ever ;) 2005-05-08 08:03:15 +00:00
florian
bf179526ff + TryStrToDate/Time functions 2005-05-07 10:23:17 +00:00
peter
6cf4eb98c3 * use current fpcmake instead of from 1.9.8 2005-05-05 13:28:47 +00:00
peter
7dadd64723 * 2.0.0 2005-05-05 12:59:59 +00:00
peter
e6fcb4996f Call InitSystemThreads 2005-05-05 11:40:23 +00:00
michael
7df51de3d6 + Fix for Utf8ToUnicode from Lazarus bug tracker 888 2005-05-04 10:34:48 +00:00
michael
d08c54d7a4 + Added HModule compatibility 2005-05-04 09:04:58 +00:00
michael
81fd0bb72c + Removed S_OK declarations, they are in objpash.inc 2005-05-04 08:56:03 +00:00
Tomas Hajny
2b7afcc4d8 * SysAllocMem used for ArgV [Idx] allocation again 2005-05-03 22:17:26 +00:00
peter
d955da19dd use fillchar after reallocmem, fix taken from win32 2005-05-01 13:00:53 +00:00
florian
db865d1e51 + variant<->currency/tdatetime operators 2005-04-28 19:34:19 +00:00
olle
381f243243 * Fixed bug in stack crawling routines for macos 2005-04-28 18:29:01 +00:00
olle
eb96e72bdc * Fixed loding of magic constant for macos 2005-04-28 18:22:34 +00:00
olle
b9de360650 * Set errno to zero after close 2005-04-28 18:21:04 +00:00
florian
3a6006367f * getinterface fixed 2005-04-28 17:58:18 +00:00
florian
c36eadddf7 + variants: string -> float/int casts 2005-04-28 09:15:43 +00:00
michael
525e2cf1ff + Added FormatCurr by Uberto Barbini 2005-04-26 16:40:51 +00:00
marco
0e32fbaeb7 * most constants now arch dependant due to ppc. Other archs still have to be checked 2005-04-25 10:26:21 +00:00
florian
58202bd7d5 * some ifdef'ed pic code 2005-04-25 09:40:27 +00:00
peter
16b121f8c4 * unblock signal in signalhandler, remove the sigprocmask call
from setjmp
2005-04-24 21:19:22 +00:00
peter
d8ca878d72 * use -Tall 2005-04-24 20:33:25 +00:00
marco
8884d2e079 * mmap had another, yet unknown 8th parameter which must be 0 and comes after the offset param 2005-04-24 19:11:28 +00:00
Tomas Hajny
4c3c44293d * one more correction for dependencies of variants 2005-04-23 14:14:22 +00:00
Jonas Maebe
d508b01ceb * fixed dependencies for ctypes and dl 2005-04-22 14:01:41 +00:00
Tomas Hajny
076364ca7f * TThreadID fix 2005-04-20 21:52:16 +00:00
Tomas Hajny
226b1ff3a7 * two more (TThreadID) 2005-04-20 07:41:48 +00:00
Tomas Hajny
1723f08a51 * yet another TThreadID fix 2005-04-20 06:32:47 +00:00
Tomas Hajny
a5396415a7 * rule for variants added 2005-04-19 21:59:44 +00:00
Tomas Hajny
b2f7e0a64c * typinfo and variants dependencies changed according to Michael's description, plus other dependencies fixes 2005-04-17 20:45:30 +00:00
Tomas Hajny
4065965ed7 * more rtlconst/s fixes 2005-04-17 17:33:40 +00:00
Tomas Hajny
787bd9171d * one more TThreadID fix 2005-04-17 17:19:41 +00:00
michael
6947da1ae2 + Corrected variants/typinfo dependencies 2005-04-16 09:26:38 +00:00
michael
f30652e048 + Added TypInfo unit constants 2005-04-16 09:25:02 +00:00
michael
686de2c1f8 + Moved constants to rtlconsts and added callbacks for variant support 2005-04-16 09:24:29 +00:00
michael
1a3f0b5894 + Fixed variant support of sysutils unit 2005-04-16 09:23:12 +00:00
michael
783376530d + Streaming of subcomponents added by Marc Weustink 2005-04-15 07:21:09 +00:00
marco
b19f7b3dc8 * typinfo imports variants makefile fixes 2005-04-15 06:49:35 +00:00
Tomas Hajny
057d488f48 * rtlconst/s fix for GO32v2 etc. 2005-04-14 21:47:27 +00:00
Tomas Hajny
06011c9eb1 * TThreadID changed to cardinal 2005-04-14 21:17:51 +00:00
florian
c04f0bc856 * fixed more TThreadID stuff 2005-04-14 20:42:14 +00:00
florian
9f875b3c36 * fixed typinfo dependencies 2005-04-14 20:40:54 +00:00
michael
e0f4f77b94 + Fix for BintoHex and hextobin by Uberto Barbini 2005-04-14 17:43:35 +00:00
michael
16f5f310b1 + Added getPropValue by Uberto Barbini 2005-04-14 17:43:07 +00:00
florian
3ab66b5576 * TThread on linux fixed 2005-04-13 20:15:47 +00:00
florian
4aa4aeae79 + TThreadID 2005-04-13 20:10:50 +00:00
florian
89da61f7a8 + basic operators (int, real and string) for variants implemented 2005-04-10 20:24:31 +00:00
florian
9a463a8bc3 + varrarrayredim added and implemented 2005-04-10 09:22:38 +00:00
marco
433bfc3dfb * added condtimedwait 2005-04-09 20:29:15 +00:00
marco
6f86d5b12a * added condtimedwait 2005-04-09 20:28:04 +00:00
florian
90a26e0f7d * fixed some unix stuff 2005-04-09 18:45:43 +00:00
florian
710dbcef0a + classes.mainthreadid is set now
+ rtleventresetevent
  + rtleventwairfor with timeout
  + checksynchronize with timeout
  * race condition in synchronize fixed
2005-04-09 17:26:08 +00:00
florian
b9eaaad45f * applied Jesus Reyes win32 crash fixed 2005-04-09 07:23:07 +00:00
Károly Balogh
bc4e62c112 * fixed attribute handling in findfirst/findnext 2005-04-07 03:57:58 +00:00
michael
0274b9b848 + Removed erroneously committed debug statement 2005-04-06 07:45:14 +00:00
michael
ba4454e2cb + Variant type conversion rules 2005-04-06 07:43:02 +00:00
peter
36d97e9310 * call initspecialchars if one of the specialchars is configured
for the first time
2005-04-05 21:05:31 +00:00
marco
960e15e2b9 * Currency property patch from Dean Zobec 2005-04-05 06:44:25 +00:00
peter
5687c3c24c * don't use keywords for variables 2005-04-04 16:14:09 +00:00
peter
234df84b11 * use smallint 2005-04-04 16:13:09 +00:00
peter
fc977d3259 * check if there is enough room before concatting blocks in
systryresizemem()
2005-04-04 15:40:30 +00:00
peter
aef9ac69a2 * fixed crash in tracereallocmem statictics 2005-04-04 15:16:26 +00:00
olle
1595efd65b * SetFAttr now fails on attempt to set VolumeID 2005-04-03 22:16:02 +00:00
olle
c5373fd3b9 * fixed correct handling of empty pathname 2005-04-03 22:15:04 +00:00
Tomas Hajny
d3c103dfd7 * EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug #2453) 2005-04-03 21:10:59 +00:00
florian
d18746bd15 * proper error message if the cthreads unit is included too late
uses clause
2005-04-03 19:29:28 +00:00
marco
92244190a1 * fix from bug #3861 2005-04-03 15:17:50 +00:00
marco
f18a22f5a6 * patch for 3854 added. There are probably more places that need explicit
currency handling.
2005-04-03 11:50:58 +00:00
marco
3c053e8639 * some constants changed to unsigned to avoid warnings (bug 3817) 2005-04-03 11:33:08 +00:00
florian
cd86e40cb7 * ref. counting for popping second exceptiono object fixed 2005-04-03 11:32:05 +00:00
florian
375d7711b8 * widestr->shortstr fixed
* wstrings to system unit dependencies added
2005-04-03 08:46:02 +00:00
florian
f787600c86 + 0x is now recognized as hex prefix 2005-04-02 07:57:38 +00:00
marco
1910cee059 * fix to lastmouseevent update 2005-03-31 14:43:03 +00:00
marco
62d2bd16a4 * fix from Thomas Schatzl for 3208 2005-03-31 12:47:20 +00:00
Tomas Hajny
f540d0be8b * OS/2 fixes merged to EMX 2005-03-30 23:11:35 +00:00
Tomas Hajny
7836216e6d * fix for InsLine 2005-03-30 22:42:49 +00:00
Tomas Hajny
f21bd3d2c3 * fix for 3792 2005-03-30 22:40:25 +00:00