Commit Graph

7892 Commits

Author SHA1 Message Date
yury
14b5b6b9f2 + New wince api units and some fixes to existing api units by Vasil Maximov.
git-svn-id: trunk@11904 -
2008-10-16 11:43:01 +00:00
Jonas Maebe
13d92bfa04 + fpmkfifo for libc
git-svn-id: trunk@11903 -
2008-10-16 11:12:37 +00:00
Károly Balogh
a096096de1 + fixed Sysutils' ExecuteProcess() to allow longer ComLine than 256 chars (smartlinking needs this badly)
git-svn-id: trunk@11867 -
2008-10-07 19:33:30 +00:00
ivost
8fe3b40070 * added helper function "FindPropInfo" with additional TypeKind filter parameter
git-svn-id: trunk@11856 -
2008-10-02 21:56:54 +00:00
ivost
456e40bde7 * fixed bug in VarSupports (accessviolation when variant was nil)
git-svn-id: trunk@11847 -
2008-10-01 22:39:16 +00:00
ivost
1ec2bf7f94 * implemented VarSupports helpers
git-svn-id: trunk@11846 -
2008-10-01 21:34:48 +00:00
yury
1fe90fe7dc * Removed unused code and unused local variable.
git-svn-id: trunk@11845 -
2008-10-01 12:25:03 +00:00
yury
3e92fc8a28 * Use MB_SETFOREGROUND and ICON_ERROR flags for unhandled exception message box on wince to prevent message box hiding when sequential error messages are displayed.
git-svn-id: trunk@11844 -
2008-10-01 12:19:55 +00:00
florian
340844b9e0 * fixes array overflow in VarTypeAsText when an 'Array of' or 'Ref to' variant type is passed
git-svn-id: trunk@11842 -
2008-09-29 19:59:27 +00:00
florian
50012c2357 * fix by Inoussa OUEDRAOGO to improve UnicodeString property handling, resolves #12224
git-svn-id: trunk@11832 -
2008-09-27 13:25:11 +00:00
florian
f64dbd70cf * make unicodechar equivalent to widechar, resolves #12233
git-svn-id: trunk@11830 -
2008-09-27 12:40:42 +00:00
florian
17e7c221fd * typo fixed
git-svn-id: trunk@11829 -
2008-09-27 12:37:30 +00:00
marco
aa4edaf074 * yet another fix for 10292, mea culpa. (identifiers were added for the wrong architecture)
git-svn-id: trunk@11826 -
2008-09-26 19:32:39 +00:00
Jonas Maebe
b2531e9883 * don't "round" 0.0 when converting to a string (mantis #12202)
git-svn-id: trunk@11823 -
2008-09-26 13:28:53 +00:00
florian
50b63884cb + applied a fix similar to 11820 to x86-64
git-svn-id: trunk@11821 -
2008-09-25 19:31:16 +00:00
florian
558cf3ef87 * reset FPU properly after an exception, resolves #12214
git-svn-id: trunk@11820 -
2008-09-25 19:15:54 +00:00
marco
6cbe4131f1 * fix for 10292, baudrates for x86_64
git-svn-id: trunk@11819 -
2008-09-24 19:57:15 +00:00
marco
15b5f150b4 * getcombobox changes dll. (12200)
git-svn-id: trunk@11818 -
2008-09-23 08:36:56 +00:00
ivost
fc6ae58b9b * added GetPropList function for TClass parameter
git-svn-id: trunk@11811 -
2008-09-21 00:56:06 +00:00
marco
2300b7a484 * csu leftovers
git-svn-id: trunk@11802 -
2008-09-18 14:29:36 +00:00
marco
ec00f1d495 * initial version
git-svn-id: trunk@11799 -
2008-09-17 21:03:44 +00:00
ivost
69bd90996b * added S_IRWXG and S_IRWXU constants to ostypes.inc of linux (defined in sys/stat.h)
git-svn-id: trunk@11797 -
2008-09-16 22:57:07 +00:00
Jonas Maebe
6b473862cf * give an error stating that you have to use the latest released compiler
to build 2.3.1 since the unicode branch merge

git-svn-id: trunk@11795 -
2008-09-16 21:59:15 +00:00
florian
efe81977e1 + dummy intassignpipe for non-i386
git-svn-id: trunk@11791 -
2008-09-16 08:36:28 +00:00
marco
3f5511661a * lots of little longint() to TSysParam() fixes. Ancient code, brr.
git-svn-id: trunk@11790 -
2008-09-15 20:01:17 +00:00
ivost
15dd98d940 * removed size_t from ctypes.pp in trunk (reverted)
git-svn-id: trunk@11786 -
2008-09-14 20:58:37 +00:00
marco
55bf13596e * correction for omfsnamelen, which hopefully fixes ostat
git-svn-id: trunk@11784 -
2008-09-14 20:42:46 +00:00
Jonas Maebe
f9b4d58e98 * set finalized dynarrays to nil (mantis #12048)
git-svn-id: trunk@11773 -
2008-09-13 20:01:47 +00:00
florian
7ab3b2e3f6 * jb -> jnb
git-svn-id: trunk@11771 -
2008-09-13 18:17:13 +00:00
tom_at_work
8a5a6db065 * rol/ror inlines for powerpc/powerpc64 (only for 32/64 bit operands for now)
git-svn-id: trunk@11770 -
2008-09-13 16:29:42 +00:00
florian
e32f13dffb * intAssignPipe is i386 only code
git-svn-id: trunk@11767 -
2008-09-13 15:37:06 +00:00
florian
9c6e831c7a * fixed several syscall stuff for x86_64-freebsd
git-svn-id: trunk@11766 -
2008-09-13 15:21:17 +00:00
florian
7f32e48fe1 + non working dummies, makes make happy though
git-svn-id: trunk@11765 -
2008-09-13 14:54:08 +00:00
florian
a696344539 * fixed typo
git-svn-id: trunk@11758 -
2008-09-13 09:18:27 +00:00
florian
af3e0148fa * fixed syntax error caused by extra :
git-svn-id: trunk@11757 -
2008-09-13 09:18:14 +00:00
florian
fa9858cec2 + FreeBSD lazarus project
git-svn-id: trunk@11756 -
2008-09-13 08:58:54 +00:00
ivost
7582f7f325 added size_t type in ctypes.pp for non unix systems
git-svn-id: trunk@11752 -
2008-09-12 21:42:12 +00:00
florian
39fb51dff3 * fix building of simple x86_64-freebsd executables
git-svn-id: trunk@11750 -
2008-09-11 20:55:18 +00:00
michael
c94843c646 * Fixed writing of default boolean values
git-svn-id: trunk@11749 -
2008-09-11 19:37:18 +00:00
michael
d77b2b2c0c * Fixed writing of default float values
git-svn-id: trunk@11748 -
2008-09-11 19:04:26 +00:00
florian
20fd2d692f o patch by Markus Beth
* improves ReadInteger speed
  * unified ChPos variable casing

git-svn-id: trunk@11746 -
2008-09-11 13:41:54 +00:00
florian
a8804cf2a6 * unified some win32/win64 code
git-svn-id: trunk@11745 -
2008-09-10 21:25:59 +00:00
florian
f97c2968f9 * fixed widestring/unicodemanager initialisiation
git-svn-id: trunk@11743 -
2008-09-10 21:02:50 +00:00
Jonas Maebe
11ede88bec * fixed compilation
git-svn-id: trunk@11741 -
2008-09-10 20:54:00 +00:00
florian
b178b08ba7 Merged revisions 11665-11738 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/unicodestring

........
  r11665 | florian | 2008-08-30 13:30:17 +0200 (Sat, 30 Aug 2008) | 1 line
  
  * continued to work on unicodestring type support
........
  r11666 | florian | 2008-08-30 19:02:26 +0200 (Sat, 30 Aug 2008) | 2 lines
  
  * expectloc for wide/ansi/unicode strings is LOC_CONSTANT or LOC_REGISTER now
........
  r11667 | florian | 2008-08-30 20:42:37 +0200 (Sat, 30 Aug 2008) | 1 line
  
  * more unicodestring stuff fixed, test results on win32 are already good
........
  r11670 | florian | 2008-08-30 23:21:48 +0200 (Sat, 30 Aug 2008) | 2 lines
  
  * first fixes for unix bootstrapping
........
  r11683 | ivost | 2008-09-01 12:46:39 +0200 (Mon, 01 Sep 2008) | 2 lines
  
      * fixed 64bit bug in iconvenc.pas
........
  r11689 | florian | 2008-09-01 23:12:34 +0200 (Mon, 01 Sep 2008) | 1 line
  
  * fixed several errors when building on unix
........
  r11694 | florian | 2008-09-03 20:32:43 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * fixed unix compilation
........
  r11695 | florian | 2008-09-03 21:01:04 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * bootstrapping fix
........
  r11696 | florian | 2008-09-03 21:07:18 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * more bootstrapping fixed
........
  r11698 | florian | 2008-09-03 22:47:54 +0200 (Wed, 03 Sep 2008) | 1 line
  
  + two missing compiler procs exported
........
  r11701 | florian | 2008-09-04 16:42:34 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  + lazarus project for the linux rtl
........
  r11702 | florian | 2008-09-04 16:43:27 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  + set unicode string procedures
........
  r11707 | florian | 2008-09-04 23:23:02 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  * fixed several type casting stuff
........
  r11712 | florian | 2008-09-05 22:46:03 +0200 (Fri, 05 Sep 2008) | 1 line
  
  * fixed unicodestring compilation on windows after recent unix changes
........
  r11713 | florian | 2008-09-05 23:35:12 +0200 (Fri, 05 Sep 2008) | 1 line
  
  + UnicodeString support for Variants
........
  r11715 | florian | 2008-09-06 20:59:54 +0200 (Sat, 06 Sep 2008) | 1 line
  
  * patch by Martin Schreiber for UnicodeString streaming
........
  r11716 | florian | 2008-09-06 22:22:55 +0200 (Sat, 06 Sep 2008) | 2 lines
  
  * fixed test
........
  r11717 | florian | 2008-09-07 10:25:51 +0200 (Sun, 07 Sep 2008) | 1 line
  
  * fixed typo when converting tunicodestring to punicodechar
........
  r11718 | florian | 2008-09-07 11:29:52 +0200 (Sun, 07 Sep 2008) | 3 lines
  
  * fixed writing of UnicodeString properties
  * moved some helper routines to unicode headers
........
  r11734 | florian | 2008-09-09 22:38:55 +0200 (Tue, 09 Sep 2008) | 1 line
  
  * fixed bootstrapping
........
  r11735 | florian | 2008-09-10 11:25:28 +0200 (Wed, 10 Sep 2008) | 2 lines
  
  * first fixes for persisten unicodestrings
........
  r11736 | florian | 2008-09-10 14:31:00 +0200 (Wed, 10 Sep 2008) | 3 lines
  
  Initialized merge tracking via "svnmerge" with revisions "1-11663" from 
  http://svn.freepascal.org/svn/fpc/trunk
........
  r11737 | florian | 2008-09-10 21:06:57 +0200 (Wed, 10 Sep 2008) | 3 lines
  
  * fixed unicodestring <-> variant handling
  * fixed unicodestring property reading
........

git-svn-id: trunk@11739 -
2008-09-10 20:14:31 +00:00
Jonas Maebe
4f5513466a * reverted r11671 because it breaks tthread.waitfor on unix
git-svn-id: trunk@11731 -
2008-09-08 21:10:38 +00:00
Jonas Maebe
bc9e7c5580 * fixed syntax errors in r11708 (and it wasn't tested in the nightly
Sparc regressions tests because Solaris is an FPC_USE_LIBC platform,
    and these use memset rather than the generic fillchar)

git-svn-id: trunk@11711 -
2008-09-05 13:14:41 +00:00
Jonas Maebe
af05770a7c * fixed alignment code in generic fillchar (not sure why
tests/test/tfillchr didn't fail in the nightly sparc tests)

git-svn-id: trunk@11708 -
2008-09-04 21:42:51 +00:00
Jonas Maebe
7aee2f3d71 * moved fplstat(ansistring,pstat) overload to bunxovl(h).inc, so all
platforms have (fixes compilation for FPC_USE_LIBC platforms after
    r11681)

git-svn-id: trunk@11693 -
2008-09-02 10:14:45 +00:00
michael
0ed810b6b0 * Fixed default value for floats (mantis #9183)
git-svn-id: trunk@11687 -
2008-09-01 16:54:05 +00:00
michael
64e6d68a64 * Implemented StrictDelimiter without the delphi bugs (mantis #8910)
git-svn-id: trunk@11686 -
2008-09-01 16:06:28 +00:00
michael
7a058a9bf2 * Added overloaded call for fplstat which has var argument (as for stat)
* Implemented support for faSymlink, as per 9915

git-svn-id: trunk@11681 -
2008-09-01 09:17:58 +00:00
michael
ca4fa01f8f * Fixed formaatfloat for negative numbers (Bug ID 11711) objpas/sysutils/sysstr.inc
git-svn-id: trunk@11680 -
2008-08-31 22:25:19 +00:00
michael
d0d3a79731 * Patch from Martin Schreiber to fix streaming inherited collections
(mantis #11774)

git-svn-id: trunk@11679 -
2008-08-31 21:57:27 +00:00
Jonas Maebe
65f217ed02 * only set dynarray pointer to nil in decref in case the last reference
has been destroyed (mantis #12000)

git-svn-id: trunk@11672 -
2008-08-31 10:07:53 +00:00
michael
c179162028 * Call EndThread manually if thread function returns (mantis #11490)
git-svn-id: trunk@11671 -
2008-08-30 21:48:39 +00:00
florian
820a9ad8e8 * merged fix for #10175 to win64
git-svn-id: trunk@11641 -
2008-08-23 13:24:31 +00:00
florian
93d86a60e4 * patch by Sergei Gorelkin improving win32 command line handling, resolves #10175
git-svn-id: trunk@11640 -
2008-08-23 13:08:30 +00:00
Vincent Snijders
783a1ce4e7 * fixed typos in comment
git-svn-id: trunk@11613 -
2008-08-18 22:23:32 +00:00
marco
03fd61b68d * booltostr overload
git-svn-id: trunk@11600 -
2008-08-17 13:26:02 +00:00
marco
24d8341ed6 * (IDE-sysutils) dateutil has now unpacktime/packtime alike to Delphi dt.
* newstr and disposestr for pshortstring in sysutils. Avoids import order
     problems because of duplicate definitions of pstring between objects
     and sysutils

git-svn-id: trunk@11598 -
2008-08-17 12:10:35 +00:00
Jonas Maebe
7b467fa2a0 * Don't inline ioresult. It's not speed critical and inlining it causes
code bloat.

git-svn-id: trunk@11596 -
2008-08-16 20:51:52 +00:00
yury
bf6bf46708 * buildrtl does not depend on macpas unit.
git-svn-id: trunk@11580 -
2008-08-14 15:03:27 +00:00
yury
15d0521f39 * Inlining is not supported for formal parameters. Disable inlining to prevent warning.
git-svn-id: trunk@11579 -
2008-08-14 14:56:28 +00:00
yury
9015e06907 * Some fixes and additions by Vasil Maximov.
git-svn-id: trunk@11578 -
2008-08-14 14:51:21 +00:00
yury
f020a0a669 * LPMSG is pointer to MSG. Spotted by Vasil Maximov.
git-svn-id: trunk@11577 -
2008-08-14 14:49:36 +00:00
florian
07182fba98 * continued work on avr-embedded
git-svn-id: trunk@11575 -
2008-08-14 14:23:25 +00:00
florian
27ff21f00e * fixed compilation of embedded system unit
git-svn-id: trunk@11559 -
2008-08-12 20:58:55 +00:00
Jonas Maebe
bbaacc593a + darwin implementation of ipc unit by Werner Bochtler (mantis #10612)
git-svn-id: trunk@11549 -
2008-08-11 21:29:49 +00:00
Almindor
4a54f15b47 * fix GetAppConfigDir and GetTmpDir for Windows(R)(c)(TM) and WinCE, unify with unix and provide pathdelim at end
git-svn-id: trunk@11529 -
2008-08-07 10:22:30 +00:00
florian
1fa70f7a0a * proper support for tobject.getinterface with raw/corba interfaces, resolves #6798 and #6036
git-svn-id: trunk@11497 -
2008-08-01 15:27:58 +00:00
florian
fe7cba52dc + support of inlined ror/rol on arm
git-svn-id: trunk@11473 -
2008-07-28 15:48:38 +00:00
florian
20e632c8d8 * reorganized ror/rol defines
git-svn-id: trunk@11472 -
2008-07-28 13:03:18 +00:00
florian
1afb1aa9cc + ror/rol functions
+ internal compiler support for ror/rol on i386

git-svn-id: trunk@11466 -
2008-07-27 17:12:32 +00:00
florian
0a26b6a129 + lazarus project to build win32 rtl
git-svn-id: trunk@11464 -
2008-07-27 09:21:03 +00:00
marco
e6410f45c1 * disable iochecking when opening terminal (to avoid RTE of #11376).
This is damage control. The prime problem (text after pid) as described in
  that bugrepo still has to be fixed.

git-svn-id: trunk@11462 -
2008-07-26 10:48:36 +00:00
Almindor
3588a9d02c * inline the ** operators since they just call functions directly
git-svn-id: trunk@11461 -
2008-07-26 10:31:23 +00:00
Jonas Maebe
0c002889b0 + fpchown() for FPC_USE_LIBC (by Tobias Giesen, mantis #11705)
git-svn-id: trunk@11432 -
2008-07-21 19:37:24 +00:00
florian
502b41a277 * fixes reading/writing of extended properties on arm-linux, by Koenraad Lelong
git-svn-id: trunk@11431 -
2008-07-21 19:01:46 +00:00
yury
65dffb0e7c * wince readme.txt is outdated. Leave link to wiki page only.
git-svn-id: trunk@11425 -
2008-07-20 21:45:00 +00:00
yury
06ba5b7c2e * Compile fpintres just after system unit.
git-svn-id: trunk@11424 -
2008-07-20 21:38:57 +00:00
Jonas Maebe
1251ec996b - removed $(SYSTEMUNIT)$(PPUEXT) from the macpas unit dependencies
(that variable is not defined for all targets and is not necessary
     anymore either)
  * fixed building of win32/win64 (different because of the buildrtl unit)

git-svn-id: trunk@11419 -
2008-07-20 13:05:03 +00:00
marco
88bf6dc8fd * Makefile didn't work anymore after Jonas' changes. Added some missing dependancies that were previously not
specified due to fact that they can change with FPC_USE_LIBC

git-svn-id: trunk@11417 -
2008-07-20 12:11:26 +00:00
marco
97cf173578 * Removed the bootstrapping related charset.pas, and merged one minor fix from it to the rtl one.
git-svn-id: trunk@11416 -
2008-07-20 12:10:31 +00:00
Jonas Maebe
f22c6870d5 * use math.SetExceptionMask() to disable floating point exceptions
in the macpas initialisation code (mantis #11516)

git-svn-id: trunk@11415 -
2008-07-20 09:07:50 +00:00
marco
bcfb545837 * deprecation of tsearchrec.pathonly, under ifndef ver2_2 as per 11579
git-svn-id: trunk@11402 -
2008-07-18 20:05:32 +00:00
florian
70e7932fe4 + rescued old QNX RTL code
git-svn-id: trunk@11397 -
2008-07-18 13:24:50 +00:00
joost
acff7f60bd * Add path-delimiters properly in GetAppConfigDir and GetAppConfigFile
git-svn-id: trunk@11384 -
2008-07-15 13:12:42 +00:00
florian
d672700a59 * some avr fixes
+ cpu16 type defines

git-svn-id: trunk@11380 -
2008-07-13 18:16:24 +00:00
florian
5ff2312993 * fixed x86 unit for x86-64
* enabled ports again for x86_64-linux

git-svn-id: trunk@11360 -
2008-07-10 19:52:14 +00:00
florian
85c46e72cc * reverted previous commit because it turned out when testing on x86-64, that unit x86 requires a deep overhaul
git-svn-id: trunk@11359 -
2008-07-10 19:28:12 +00:00
florian
9c7b0c7693 * enabled ports unit for x86_64-linux
git-svn-id: trunk@11358 -
2008-07-10 19:22:21 +00:00
florian
f56b741948 * quicker finalization of dyn. arrays, thanks to the hint of Volker Zipfel
git-svn-id: trunk@11357 -
2008-07-10 16:44:45 +00:00
marco
7e72e81662 * pboolean is now deprecated because it conflicts with system.pboolean. Under ifndef 2_2. (#11380)
Merging not needed, except maybe for documentation purposes?

git-svn-id: trunk@11350 -
2008-07-09 13:43:27 +00:00
Almindor
3195d8bd79 * patch from Vincent to fix TReader.ReadCollection calling clear() logic
git-svn-id: trunk@11348 -
2008-07-07 21:21:44 +00:00
michael
1ea2129c0d * Changed var to out parameters for strtoint*
git-svn-id: trunk@11314 -
2008-07-02 18:00:07 +00:00
Jonas Maebe
f3afd6d934 * fixed TCollection.FindItemID as suggested by "de" (mantis #11588)
git-svn-id: trunk@11301 -
2008-06-30 19:18:45 +00:00
marco
f9c179da18 * add psize_t
git-svn-id: trunk@11296 -
2008-06-28 18:16:44 +00:00
Jonas Maebe
310ec39757 * fixed + optimized generic round_real
- removed cgenmath version of round_real because it wasn't any better
    than the generic one anymore

git-svn-id: trunk@11295 -
2008-06-28 14:17:06 +00:00
Jonas Maebe
30a51c2dee + support for the different rounding modes in the generic rounding
routines (mantis #11392)

git-svn-id: trunk@11290 -
2008-06-27 17:20:56 +00:00