paul
9bc540e1c2
compiler: cleanup old code
...
git-svn-id: trunk@19458 -
2011-10-11 03:58:13 +00:00
paul
a99ffb3097
compiler: apply patches from Inoussa and Jonas:
...
defcmp: Address code paged' string type comparison taking care of the code page
ncnv: Remove un-needed code page comparison to CP_UTF8, some fixes regarding shortstrings and wide char/string
ncon: For the case of tstringconstnode.changestringtype (ncon.pas) where the code page are of CP_NONE or 0 no translation is done as :
* CP_NONE is compatible to all
* For 0 the raw bytes are just copied.
My changes:
- change ascii2unicode to allow pass source codepage,
- convert in both cases when source or destination is UTF8
git-svn-id: trunk@19457 -
2011-10-11 01:21:07 +00:00
Tomas Hajny
cf81d39682
* fixed wrong dependency of fppkg on fcl-web for all targets
...
git-svn-id: trunk@19456 -
2011-10-10 23:06:10 +00:00
Tomas Hajny
f10fbba180
* /etc/ location hardcoded only for Unix targets, support for retrieval from the environment added for platforms using it
...
git-svn-id: trunk@19455 -
2011-10-10 22:50:34 +00:00
pierre
0bc02701bd
* Fix missing pkgwget unit for OpenBSD due to a typing error
...
git-svn-id: trunk@19454 -
2011-10-10 22:38:47 +00:00
pierre
fb6f01714a
+ cthreads added to units list
...
git-svn-id: trunk@19453 -
2011-10-10 22:20:39 +00:00
pierre
6e3c6319c2
* New file for cthreads unit support
...
git-svn-id: trunk@19452 -
2011-10-10 22:19:11 +00:00
pierre
0cd15043b3
* Set a default dynamic linker for OpenBSD
...
git-svn-id: trunk@19451 -
2011-10-10 21:45:21 +00:00
pierre
4601bca836
* i386 OpenBSD target also uses GOT for pic code
...
git-svn-id: trunk@19450 -
2011-10-10 21:44:44 +00:00
pierre
473829f8bd
i386 cpu specific units rules updated
...
git-svn-id: trunk@19449 -
2011-10-10 21:43:07 +00:00
pierre
ec6e21d15b
Make __progname_storage external
...
git-svn-id: trunk@19448 -
2011-10-10 21:39:39 +00:00
pierre
ad40c306cd
* Use recent libc __errno function for OpenBSD
...
git-svn-id: trunk@19447 -
2011-10-10 21:33:58 +00:00
marco
929342aaf0
* added unit bsd (needed for kevent/lnet). OpenBSD seems to have it.
...
git-svn-id: trunk@19446 -
2011-10-10 20:35:00 +00:00
marco
c8457e8ffe
* Patch to add ftcurrency and ftbcd support to memds, Lacak2, Mantis #20451
...
git-svn-id: trunk@19445 -
2011-10-10 11:14:59 +00:00
paul
908673e48b
rtl: don't convert strings on compare if one of them is empty
...
git-svn-id: trunk@19444 -
2011-10-10 06:43:53 +00:00
pierre
6bf90dfc7d
Fix linking problems for programs using C lib
...
git-svn-id: trunk@19443 -
2011-10-09 23:16:41 +00:00
sergei
6e23565edf
+ Initialize/finalize variants using dedicated helpers, produces both smaller (no RTTI loading necessary) and faster (direct path taken) code.
...
git-svn-id: trunk@19442 -
2011-10-09 20:34:58 +00:00
marco
04b5c342d2
* OpenBSD fixes.
...
git-svn-id: trunk@19441 -
2011-10-09 20:21:14 +00:00
marco
199f7535b4
* fix pipe call for openbsd. fpmake now seems to work.
...
git-svn-id: trunk@19440 -
2011-10-09 19:34:21 +00:00
florian
1977b90195
*szAdapterName:GUID; -> szAdapterName:PTCHAR; in conmgr.LPCONNMGR_CONNECTION_DETAILED_STATUS, resolves #20440
...
git-svn-id: trunk@19439 -
2011-10-09 17:33:53 +00:00
florian
ad5ad8ed4f
* outdated defines removed
...
git-svn-id: trunk@19438 -
2011-10-09 17:33:03 +00:00
florian
6800465021
+ fix compilation on wince
...
git-svn-id: trunk@19437 -
2011-10-09 17:32:29 +00:00
pierre
318232ebb8
i386 openbsd C objects added
...
git-svn-id: trunk@19436 -
2011-10-09 16:37:49 +00:00
pierre
61eaa53fc9
Use old 3.5 version of getdirentries
...
git-svn-id: trunk@19423 -
2011-10-09 15:34:19 +00:00
marco
5955d477e9
* add openbsd set own target
...
git-svn-id: trunk@19422 -
2011-10-08 19:56:20 +00:00
marco
a80330de0b
* units dl and termio added that were implictely built.
...
git-svn-id: trunk@19421 -
2011-10-08 19:49:12 +00:00
paul
1c41680c58
rtl: don't perform string conversion if source string is in CP_NONE encoding (rawbytestring)
...
git-svn-id: trunk@19420 -
2011-10-08 17:56:43 +00:00
paul
7013237317
tests: fix tencodingtest to use internal bytes instead of external files
...
git-svn-id: trunk@19419 -
2011-10-08 17:18:00 +00:00
pierre
a6280de177
* Fix getdirentries problem for openbsd
...
git-svn-id: trunk@19418 -
2011-10-08 16:46:38 +00:00
michael
a5cff8099c
* Patch from Reinier Olieslagers to fix typo in property
...
git-svn-id: trunk@19417 -
2011-10-08 14:49:02 +00:00
pierre
03b4681c1b
* Rectify position of BirthTime fields in Stat record for openbsd
...
git-svn-id: trunk@19416 -
2011-10-08 13:01:05 +00:00
sergei
9ed2fa6f7b
- Exception handling: calling FPC_CATCHES(-1) is obsolete, it does not change any state and its return value is not used. Removed.
...
- Don't generate guard frame around 'except' block if it contains no code (tryexceptnode.t1 is an empty blocknode in this case).
git-svn-id: trunk@19415 -
2011-10-08 12:57:58 +00:00
sergei
fa4b78363c
+ Handle safecall exceptions with a dedicated compilerproc, simplifies compiler part and reduces generated code size.
...
git-svn-id: trunk@19414 -
2011-10-08 12:40:03 +00:00
sergei
e11c880b1e
x86 assembler improvements:
...
* Don't generate rex.w for "CALL|JMP|LCALL|LJMP regmem", they are 64-bit by default.
* LCALL,LJMP flagged as calljump instructions.
* LCALL,LJMP encode only far jumps and don't accept register operands.
* GAS writer: fixed writing rip-relative operands of calljump instructions.
+ test.
git-svn-id: trunk@19413 -
2011-10-08 11:34:04 +00:00
pierre
94eea3eca7
* Fix source info for openbsd
...
git-svn-id: trunk@19412 -
2011-10-08 09:53:46 +00:00
pierre
d1b2e2d439
Fix fpgetcwd for openbsd
...
git-svn-id: trunk@19410 -
2011-10-07 21:51:03 +00:00
pierre
902ba04ecd
* Fix stat type for openbsd
...
git-svn-id: trunk@19409 -
2011-10-07 21:28:08 +00:00
pierre
8d3c722eb5
* Remove unfound syscalls
...
git-svn-id: trunk@19408 -
2011-10-07 19:45:27 +00:00
pierre
8a0ddb11a0
* fix stupid mistake
...
git-svn-id: trunk@19407 -
2011-10-07 19:13:19 +00:00
pierre
248ef8786c
* Fix some syscall_nr with check_sys.sh script
...
git-svn-id: trunk@19405 -
2011-10-07 18:52:04 +00:00
pierre
98524eef69
* Script to check system call numbers
...
git-svn-id: trunk@19404 -
2011-10-07 18:41:35 +00:00
sergei
a463fbc578
* Reset unwind_info.flags between procedures. Writing non-zero flags without handler ends up in corrupt unwind info.
...
git-svn-id: trunk@19403 -
2011-10-07 14:46:56 +00:00
paul
05ca66adf8
tests: fix test of WideByteOf for big endian system
...
git-svn-id: trunk@19402 -
2011-10-07 13:36:40 +00:00
paul
99621cc290
tests: forgotten test
...
git-svn-id: trunk@19401 -
2011-10-07 06:00:15 +00:00
paul
ceb141523d
compiler: store property parameters in a parasymtables together with property. restore those parameters for descendant properties (fixes mantis #0020421 but maybe not very optimal)
...
git-svn-id: trunk@19400 -
2011-10-07 05:58:58 +00:00
paul
80a615c542
rtl: correct error check for encoding methods arguments
...
git-svn-id: trunk@19399 -
2011-10-07 05:56:02 +00:00
Tomas Hajny
af03a73af2
* fix DosExitCode for sessions of other types, consider ExecFlags for other session types
...
git-svn-id: trunk@19398 -
2011-10-06 23:57:59 +00:00
Tomas Hajny
9edae25cae
* added some missing constants and TResultCodes fields alias names
...
git-svn-id: trunk@19397 -
2011-10-06 23:56:34 +00:00
florian
4d148382dc
* patch from Ludo Brands: remove po_inline artefact from ancient inlining code in sparc parameter handling, resolves #20397
...
git-svn-id: trunk@19396 -
2011-10-06 18:39:40 +00:00
marco
5754af4061
* include cmem in makefile.
...
git-svn-id: trunk@19395 -
2011-10-06 18:17:16 +00:00