Commit Graph

40115 Commits

Author SHA1 Message Date
reiniero
f7d2f86398 ibconnection:fixed rounding problem in timestamp (complements r24225)
git-svn-id: trunk@24234 -
2013-04-12 13:52:14 +00:00
nickysn
3870f76cda * ncgutil: set pushexceptaddr_frametype_cgsize and setjmp_result_cgsize according to cpu16bitaddr, instead of cpu16bitalu
git-svn-id: branches/i8086@24233 -
2013-04-12 13:38:18 +00:00
nickysn
107a6f6552 * i8086 versions of i386*.inc and r386*.inc renamed to i8086*.inc and r8086*.inc
git-svn-id: branches/i8086@24232 -
2013-04-12 12:06:28 +00:00
pierre
7b411e70b8 Merge forgotten go32v2 2.6.0 branch changes back into trunk.
------------------------------------------------------------------------
r20577 | pierre | 2012-03-22 16:35:26 +0100 (Thu, 22 Mar 2012) | 4 lines

// * Provide both environ and _environ inside startup file
//   to avoid loading of old or new crt1.o object from DJGPP libc.
//  Not merged as this is now treated in linker script.
 * Make some labels local to be able to get a complete
   disassembly of start function using GDB.
------------------------------------------------------------------------

git-svn-id: trunk@24231 -
2013-04-12 10:33:06 +00:00
pierre
57c5821042 Merge forgotten go32v2 2.6.0 branch changes back into trunk.
------------------------------------------------------------------------
r20580 | pierre | 2012-03-22 17:52:40 +0100 (Thu, 22 Mar 2012) | 1 line

 * Set __environ to envp in Setup_environment function
------------------------------------------------------------------------

git-svn-id: trunk@24230 -
2013-04-12 10:28:40 +00:00
pierre
8a6e057fca Merge forgotten go32v2 2.6.0 branch changes back into trunk.
* Change it also in TInternalLinkerGo32v2.DefaultLinkScript method.
------------------------------------------------------------------------
r20578 | pierre | 2012-03-22 17:34:35 +0100 (Thu, 22 Mar 2012) | 1 line

 Force _environ to be the same as __environ
------------------------------------------------------------------------

git-svn-id: trunk@24229 -
2013-04-12 10:25:13 +00:00
pierre
a08d0eb693 Merge forgotten go32v2 2.6.0 branch changes back into trunk.
------------------------------------------------------------------------
r20595 | pierre | 2012-03-23 14:45:47 +0100 (Fri, 23 Mar 2012) | 1 line

 * Fix fppkg short source zip name
------------------------------------------------------------------------

git-svn-id: trunk@24228 -
2013-04-12 10:21:34 +00:00
pierre
9720bd8e82 Merge forgotten go32v2 2.6.0 branch changes back into trunk.
------------------------------------------------------------------------
r20575 | pierre | 2012-03-22 16:27:57 +0100 (Thu, 22 Mar 2012) | 1 line

 Avoid 'Discard file' question inside reset
------------------------------------------------------------------------
r20581 | pierre | 2012-03-22 18:21:34 +0100 (Thu, 22 Mar 2012) | 1 line

 * Disable iocheck when closing gdb_file
------------------------------------------------------------------------

git-svn-id: trunk@24227 -
2013-04-12 10:19:38 +00:00
nickysn
70a0d2989c * fixed tmoddivnode.pass_typecheck on 64-bit CPUs; I was wrong about uint64 div uint64 producing int64 on 64-bit CPUs; this fixes make cycle on e.g. x86_64
git-svn-id: branches/i8086@24226 -
2013-04-11 19:51:01 +00:00
ludob
b470db3085 ibconnection:fixed rounding problem in timestamp
git-svn-id: trunk@24225 -
2013-04-11 17:44:30 +00:00
sergei
c3f8086598 + Internal linker: base support for sections that aren't referenced but must be linked if section referenced by them is linked (like win64 .pdata). Actual handling is still to be implemented in descendant classes.
git-svn-id: trunk@24224 -
2013-04-11 17:42:09 +00:00
michael
fe7bfc4e93 * Better and more configurable multipart-formdata handling.
git-svn-id: trunk@24223 -
2013-04-11 09:50:31 +00:00
nickysn
f84fc17edc + implemented a timeout in the dosbox wrapper, so that we don't wait forever if a test hangs
git-svn-id: branches/i8086@24222 -
2013-04-10 13:44:30 +00:00
pierre
3ab1762d92 Use new GetExceptionPointer nostackframe assembler function to avoid 32bit relocation on .bss problem
git-svn-id: trunk@24221 -
2013-04-10 13:36:07 +00:00
reiniero
ca9b78fd06 fcl-db/tests: cosmetic: add dbase3 & IV to database template
git-svn-id: trunk@24220 -
2013-04-10 10:55:20 +00:00
reiniero
ff3b0734ec * fcl-base: simplify running gui testframework
without compiling db ppus locally which messes up builds

git-svn-id: trunk@24219 -
2013-04-10 09:47:50 +00:00
pierre
cf0391a9d6 * Load crypto library before ssl library, required for OpenBSD (contributed by Pascal Stumpf)
git-svn-id: trunk@24218 -
2013-04-10 08:20:38 +00:00
nickysn
3c6df5bedc * use is_nativeuint() in ninl.get_str_int_func(), instead of the ifdef sequence
git-svn-id: branches/i8086@24217 -
2013-04-09 20:39:58 +00:00
reiniero
bceb3b28d4 fcl-db/dbase:
* Foxpro: memo pointer 10 chars=>4 bytes, should make files compatible with (V)FoxPro
* Started support for FoxPro P(picture), Visual FoxPro 9 W(blob),V(varchar),Q(varbinary) field types.

git-svn-id: trunk@24216 -
2013-04-09 13:10:15 +00:00
florian
af6bf244f2 * version update
* do not use default config file

git-svn-id: trunk@24215 -
2013-04-09 13:06:26 +00:00
florian
7ac7d8a4b6 + define UNICODE as well as FPC_UNICODESTRINGS
git-svn-id: trunk@24214 -
2013-04-09 13:05:29 +00:00
florian
c25f56fa64 + several pwidechar/unicode string functions added
git-svn-id: trunk@24212 -
2013-04-09 11:09:10 +00:00
florian
d48d388e7a + simple example for cairo
* fix cairo for win64

git-svn-id: trunk@24211 -
2013-04-09 07:34:26 +00:00
reiniero
36cb560e0d * fcl-db/dbase: let dbf.pas apply default blocklength=64 (instead of 512) for *foxpro
git-svn-id: trunk@24210 -
2013-04-09 06:55:08 +00:00
nickysn
7a15fd0444 * in the case of (uint8 div/mod small_positive_const), convert the const to unsigned, so that we don't do a 16-bit division on 8-bit CPUs
git-svn-id: branches/i8086@24209 -
2013-04-08 18:08:10 +00:00
nickysn
3558766390 * first attempt to simplify tmoddivnode.pass_typecheck handling of all cpu native int sizes
git-svn-id: branches/i8086@24208 -
2013-04-08 17:11:33 +00:00
svenbarth
8353d53b69 Fix for Mantis #22433.
pdecsub.pas, parse_parameter_dec:
  * allow inline specialization for array types in mode Delphi

+ added test

git-svn-id: trunk@24207 -
2013-04-08 14:51:42 +00:00
reiniero
213060d9e3 fcl-base/dbase:
* when tdbf "auto upgrades" foxpro to visual foxpro, write the missing backlink info
* updated tablelevel test that deals with FoxPro=>VFP "auto upgrade"
* default block length for (visual) foxpro files is 64, not 512
* match (Visual)FoxPro empty characters in memo field

git-svn-id: trunk@24206 -
2013-04-08 14:24:54 +00:00
florian
ec69ed5b3c * spelling fixed
git-svn-id: trunk@24205 -
2013-04-08 11:50:09 +00:00
reiniero
002d6de3f2 fcl-base/dbase:
* fix foxpro (tablelevel 25) files so they are readable by visual foxpro
+ added file specification links for FoxPro 2.x
+ added file specification links for Visual FoxPro 9 specific changes

git-svn-id: trunk@24204 -
2013-04-08 10:20:18 +00:00
florian
f80b6f4774 * arm thumb: take care of large offsets in interface wrappers
git-svn-id: trunk@24203 -
2013-04-07 21:56:37 +00:00
florian
dee35abf41 * arm thumb: let all registers used in a ldr/str operation interfere with the "hi" registers
git-svn-id: trunk@24202 -
2013-04-07 21:39:30 +00:00
florian
36a32e153d + arm thumb: tarmloadparentfpnode moves the stack pointer to a different register to avoid illegal instruction encodings
git-svn-id: trunk@24201 -
2013-04-07 21:29:12 +00:00
florian
e41b7b1b94 * arm thumb: strh/ldrh does not allow stack pointer based references with offset
git-svn-id: trunk@24200 -
2013-04-07 21:27:59 +00:00
florian
877c6e9ce9 * formatting
git-svn-id: trunk@24199 -
2013-04-07 21:26:56 +00:00
florian
b41728c129 * estimatedtempsize should be a longint to avoid warnings on 8 bit targets
git-svn-id: trunk@24198 -
2013-04-07 21:01:18 +00:00
florian
7ba197a221 * fix stack parameter handling for arm thumb
* fix entry/exit code generation for arm thumb

git-svn-id: trunk@24197 -
2013-04-07 21:01:15 +00:00
florian
f9ef8e90da + a_op_const_reg_reg for arm thumb taking care of availability of add sp,sp, ...
* handle references with base and index on arm thumb correctly

git-svn-id: trunk@24196 -
2013-04-07 21:01:11 +00:00
florian
9bbc24b5e3 * r13 might be used only under certain circumstance in memory reference on arm thumb
git-svn-id: trunk@24195 -
2013-04-07 21:01:08 +00:00
florian
79334242a2 * arm thumb uses always the stack pointer as frame pointer
git-svn-id: trunk@24194 -
2013-04-07 21:01:05 +00:00
florian
308fb42f4b * fix parameter handling in FPC_SYSCALL4 to FPC_SYSCALL6
git-svn-id: trunk@24193 -
2013-04-07 21:01:01 +00:00
florian
52070e26e1 * arm thumb uses always the stack pointer as frame pointer
git-svn-id: trunk@24192 -
2013-04-07 21:00:58 +00:00
florian
a86531c225 * load exit code in _haltproc for thumb
git-svn-id: trunk@24191 -
2013-04-07 21:00:54 +00:00
florian
f25a905904 * fix register allocation initalization for arm thumb
* avoid that the register allocator creates code which writes to frame/stack pointer

git-svn-id: trunk@24190 -
2013-04-07 21:00:50 +00:00
florian
4e4cc4e289 * support neg instruction for spilling
git-svn-id: trunk@24189 -
2013-04-07 21:00:47 +00:00
florian
075abd6220 + support of stackframesize for arm thumb
+ estimatedtempsize to get a good estimatation for architectures which require to know the stack size before

git-svn-id: trunk@24188 -
2013-04-07 21:00:38 +00:00
reiniero
33f4bfd5b2 fcl-db/dbase:
* fix TestRecNo test
* dbtestframework: ignore currency test as tdbf uses bcd fields
* fix writing $1A EOF marker at end of dbf file
* fix: FoxPro does not allow null fields

git-svn-id: trunk@24187 -
2013-04-07 18:33:39 +00:00
Jonas Maebe
f620f05bde * prefix calls to dynlibs routines with "dynlibs." so that under Win* the
versions from the Windows unit aren't used instead (mantis #24242)

git-svn-id: trunk@24186 -
2013-04-07 17:25:06 +00:00
nickysn
0dcbb4f1cc * refactored tunaryplusnode.pass_typecheck as well
git-svn-id: branches/i8086@24185 -
2013-04-07 16:50:30 +00:00
nickysn
a3117beb12 * refactored tunaryminusnode.pass_typecheck to handle all native int sizes generically, without ifdefs
git-svn-id: branches/i8086@24184 -
2013-04-07 16:45:52 +00:00