nickysn
4a649c9b08
+ i8086 far data memory model support in DebugWrite
...
git-svn-id: trunk@27265 -
2014-03-24 16:51:38 +00:00
nickysn
32c3f4e682
+ added cld to DebugWrite
...
git-svn-id: trunk@27264 -
2014-03-24 15:41:29 +00:00
nickysn
25be2bc720
* define macros identifying the code and data model in each of the memory models
...
git-svn-id: trunk@27263 -
2014-03-24 14:02:57 +00:00
nickysn
0236c2823a
+ added startup modules for compact, large and huge model that define the
...
memory model and include the common startup code prt0comn.asm (which is not
yet adapted for the new models, but eventually will be)
git-svn-id: trunk@27262 -
2014-03-24 13:42:42 +00:00
nickysn
f4c463b6bd
* prt0stm.asm renamed prt0comn.asm, as it will probably be used as the common
...
startup code for all memory models and not just for small, tiny and medium
git-svn-id: trunk@27261 -
2014-03-24 13:23:36 +00:00
michael
de1489f98c
* Patch from Laco to initialize character set function
...
git-svn-id: trunk@27260 -
2014-03-24 12:34:59 +00:00
reiniero
77d74614cb
fcl-db: cosmetic
...
git-svn-id: trunk@27259 -
2014-03-24 12:24:39 +00:00
reiniero
f005a65ce4
fcl-db:
...
* add logging support for TSQLConnection.ExecuteDirect
git-svn-id: trunk@27258 -
2014-03-24 12:10:15 +00:00
lacak
285d459801
fcl-db: sqldb: cosmetic
...
git-svn-id: trunk@27257 -
2014-03-24 10:57:36 +00:00
reiniero
e8de259b63
* fcl-db: cosmetic: debug output
...
git-svn-id: trunk@27256 -
2014-03-24 09:40:12 +00:00
reiniero
d9ba17b147
* fcl-db: cosmetic: debug output
...
git-svn-id: trunk@27255 -
2014-03-24 09:25:06 +00:00
reiniero
2cd94bcd8e
* fcl-db: dbtestframework: database.ini template:
...
+ add mysql5.6 connector
+ resort db list; move descriptions below sections so GUI ini editor will not mess them up
git-svn-id: trunk@27254 -
2014-03-24 08:08:10 +00:00
lacak
0beac5834f
fcl-db: postgres: PostgreSQL allows for TIME data type value ='24:00:00' and for INTERVAL data type >= '24:00:00'. Because we map both TIME, INTERVAL data types to ftTime fields, value can be >= TDateTime(1). Same for Params (if Param is of type ftTime value can be >= TDateTime(1) )
...
Fixes TestTimeParamQuery
git-svn-id: trunk@27253 -
2014-03-24 08:04:52 +00:00
reiniero
f7a7701f5c
fcl-db: cosmetic
...
git-svn-id: trunk@27252 -
2014-03-24 07:36:20 +00:00
nickysn
71720533d7
* fixed the comparison of near pointers in i8086 far data memory models
...
+ added charfarpointertype and charnearpointertype to symdef
* the system unit compiles in the i8086 compact memory model now
git-svn-id: trunk@27251 -
2014-03-24 00:34:52 +00:00
nickysn
a0f08f3d5c
* objpas.IntegerArray on 16 and 8-bit CPUs made as large as possible without
...
causing 'data element too large'
git-svn-id: trunk@27250 -
2014-03-24 00:01:13 +00:00
nickysn
a4ac2a3538
* fixed compilation of unit objpas in i8086 large memory model
...
git-svn-id: trunk@27249 -
2014-03-23 23:54:15 +00:00
nickysn
2b57a50233
* i8086 far data model implementation of typeconvnode.second_ansistring_to_pchar
...
git-svn-id: trunk@27248 -
2014-03-23 22:32:46 +00:00
nickysn
f6b18e9b8d
* i8086 far data memory model fixes in defutil.def_cgsize
...
git-svn-id: trunk@27247 -
2014-03-23 22:14:09 +00:00
nickysn
97a3f50351
* use voidpointertype.size (supports i8086 far data memory models) instead of
...
sizeof(pint) to return the size of tabstractpointerdef
git-svn-id: trunk@27246 -
2014-03-23 20:34:19 +00:00
florian
7107e9d5ea
* do cse on all const. intregable expressions
...
git-svn-id: trunk@27245 -
2014-03-23 20:11:15 +00:00
nickysn
043c0ba215
* use voidpointertype.size (which supports i8086 far data memory models) instead
...
of sizeof(pint) in tobjectdef.size and tobjectdef.alignment when returning the
size and alignment of classes and interfaces
git-svn-id: trunk@27244 -
2014-03-23 19:36:33 +00:00
nickysn
5d9a193887
* use voidpointertype.size instead of sizeof(pint) in tarraydef in order to
...
determine the size of dynarrays correctly in the i8086 far data memory models
git-svn-id: trunk@27243 -
2014-03-23 18:33:14 +00:00
nickysn
149db35910
* i8086 far data memory model fix in ncgutil.new_exception
...
git-svn-id: trunk@27242 -
2014-03-23 18:11:50 +00:00
nickysn
ebdfbeaac8
* return voidpointertype.size instead of sizeof(pint) in tstringdef.size in
...
order to return the correct size in the far data i8086 memory models
git-svn-id: trunk@27241 -
2014-03-23 17:44:52 +00:00
nickysn
2556ada8da
* instead of setting savesize in each of the tstringdef constructors, added an
...
tstringdef.size overriden method, which returns the proper size according to
the string type
git-svn-id: trunk@27240 -
2014-03-23 17:29:10 +00:00
florian
686a2d2f3f
+ Support omitting the frame pointer on arm even in procedures with incoming parameters
...
on the stack, this can be enabled by -OoFORCENOSTACKFRAME. This reduces the required
entry/exit code and makes an extra register available to the compiler. However, since this is
based on an estimation of the required stack size, it might have two drawbacks:
either the stack frame is estimated to big, the program requires a bigger stack than needed
or it is estimated too small, then the compiler throws an internalerror during compilation. These
issues can be overcome as soon as the compiler supports recompiling subroutines if needed.
git-svn-id: trunk@27239 -
2014-03-23 14:38:53 +00:00
nickysn
dfa1f3e0a3
* NativeInt and NativeUInt redefined as aliases to PtrInt/PtrUInt, so now they
...
become 32-bit in some i8086 memory models. Added comment explaining why they
were introduced (delphi compatibility) and why they shouldn't be used in the
FPC RTL.
git-svn-id: trunk@27238 -
2014-03-23 14:06:47 +00:00
nickysn
fb20791cbe
* replaced all the remaining uses of nativeint in the rtl with either sizeint
...
or objpasint
git-svn-id: trunk@27237 -
2014-03-23 13:38:16 +00:00
nickysn
e471a7dd2c
* use ObjpasInt, instead of nativeint in fpc_div_dword and fpc_mod_dword
...
git-svn-id: trunk@27236 -
2014-03-23 13:09:22 +00:00
nickysn
ec9a57f854
* local variables in fpc_AnsiStr_Concat_multi changed from nativeint to objpasint
...
git-svn-id: trunk@27235 -
2014-03-23 12:43:52 +00:00
nickysn
ff6b258379
* changed ExceptTryLevel from nativeint to objpasint
...
git-svn-id: trunk@27234 -
2014-03-23 12:42:57 +00:00
sergei
531c2d79e0
- RTL: removed 'unimplementedwidestring' procedure and use 'unimplementedunicodestring' instead. Reduces bloat. Furthermore, a separate message about missing widestring manager is misleading, because there is only one wide/unicodestring manager that can be set.
...
git-svn-id: trunk@27233 -
2014-03-23 02:16:03 +00:00
sergei
8ad5e6fb26
- RTL: cleaned out FPC_FREEMEM_X. We now have a dedicated compilerproc 'fpc_freemem' for this purpose.
...
git-svn-id: trunk@27232 -
2014-03-23 02:11:38 +00:00
marco
c376210946
* regenned makefiles which were regennerated with a 2.6.x fpcmake in the rtl-unicode transition
...
Mantis #25897
git-svn-id: trunk@27231 -
2014-03-22 20:11:13 +00:00
marco
0def931419
* Mantis #25889 Patch by Ocean:
...
Activex more consts, IOleInPlaceSiteEx and IOleInPlaceSiteWindowless
Description OLERENDER_* and XFORMCOORDS_* consts
IOleInPlaceSiteEx and IOleInPlaceSiteWindowless from OCIdl
git-svn-id: trunk@27230 -
2014-03-22 17:44:50 +00:00
marco
ac2d4389ac
* patch from Ocean, Mantis #0025890 shlobj classids constants and IShellIcon
...
git-svn-id: trunk@27229 -
2014-03-22 17:06:56 +00:00
florian
23ab30c1f8
- removes accidently commited comments for testing
...
git-svn-id: trunk@27228 -
2014-03-22 17:03:39 +00:00
florian
3b14b28161
+ support for FASM output, using it for testing does not work though, see readme.txt
...
git-svn-id: trunk@27227 -
2014-03-22 17:02:19 +00:00
marco
b3b9041f54
* fpmkunit no longer depends on strutils.
...
git-svn-id: trunk@27226 -
2014-03-22 13:36:27 +00:00
sergei
a882e89bc2
* x86_64: SetExceptionMask and SetRoundingMode must return the old value of mask/mode respectively, not the new one.
...
git-svn-id: trunk@27225 -
2014-03-21 18:08:11 +00:00
florian
04464b8622
* do not create an fpc_zeromem node if size=0
...
git-svn-id: trunk@27224 -
2014-03-21 16:34:35 +00:00
florian
6f14dbdebe
* avoid internal error if an empty record is assigned to a function result, resolves #25895
...
git-svn-id: trunk@27223 -
2014-03-21 16:31:57 +00:00
florian
303e8c609d
* internalerror unified
...
git-svn-id: trunk@27222 -
2014-03-21 16:31:17 +00:00
nickysn
47aed8b01f
* optimized the i8086 version of Get8087CW
...
git-svn-id: trunk@27221 -
2014-03-21 13:46:38 +00:00
reiniero
62f8792cb5
fcl-db: dbtestframework:
...
* Sybase: improve compatibility; instructions for test db required settings
git-svn-id: trunk@27220 -
2014-03-21 12:32:33 +00:00
sergei
bce33ee063
* software_rounding_mode -> softfloat_rounding_mode.
...
git-svn-id: trunk@27219 -
2014-03-21 07:45:13 +00:00
sergei
295e795a0a
* SPARC: SetExceptionMask and SetRoundingMode must return the old value of mask/mode respectively, not the new one.
...
git-svn-id: trunk@27218 -
2014-03-21 06:26:06 +00:00
sergei
67a8c315d8
* ARM: SetExceptionMask and SetRoundingMode must return the old value of mask/mode respectively, not the new one.
...
git-svn-id: trunk@27217 -
2014-03-21 06:03:00 +00:00
sergei
29bf988ca7
+ Implemented m68k-specific (actually, softfloat-specific) part of Math unit.
...
git-svn-id: trunk@27216 -
2014-03-21 05:24:09 +00:00