Commit Graph

49399 Commits

Author SHA1 Message Date
nickysn
710c830859 + added constructors taiconst.Create_sizeint and .Create_sizeint_unaligned. They
create constants, corresponding to the SizeInt type for the current target and
  are intended to eventually replace .Create_pint, since the pint type is now
  deprecated (because it does not correspond to the size of a pointer in certain
  i8086 memory models).

git-svn-id: trunk@34620 -
2016-10-04 14:08:33 +00:00
nickysn
35b2ffa872 + added types sizesinttype and sizeuinttype, corresponding to the SizeInt and
SizeUInt types for the target platform

git-svn-id: trunk@34619 -
2016-10-04 13:40:02 +00:00
michael
1cbfa35ad2 * Patch from Laco to update to version 3.14.2
git-svn-id: trunk@34618 -
2016-10-04 12:33:46 +00:00
Károly Balogh
72424073d7 rtl-extra: objects unit actually doesn't seem to depend on dos
git-svn-id: trunk@34617 -
2016-10-04 10:58:17 +00:00
Károly Balogh
5cec4b565b atari: use gemdos malloc/free as underlying functions for the heap
git-svn-id: trunk@34616 -
2016-10-04 10:31:49 +00:00
Károly Balogh
50251a0fee atari: disabled some more packages
git-svn-id: trunk@34615 -
2016-10-04 10:14:58 +00:00
Károly Balogh
4133847225 atari: disabled some packages
git-svn-id: trunk@34614 -
2016-10-04 10:12:40 +00:00
nickysn
f76722b6c3 * fixed i8086's tcpupointerdef.pointer_arithmetic_int_type and
.pointer_subtraction_result_type methods after r34607

git-svn-id: trunk@34613 -
2016-10-04 00:06:50 +00:00
nickysn
481a8ec58d * for pointers, converted to arrays, use a newly added virtual method
tpointerdef.converted_pointer_to_array_range_type to obtain their integer
  range type, instead of using ptrsinttype

git-svn-id: trunk@34612 -
2016-10-04 00:01:06 +00:00
Károly Balogh
003487baab m68k: code generation for atari syscalls
git-svn-id: trunk@34611 -
2016-10-03 23:39:36 +00:00
Károly Balogh
5db02f4202 atari: initial support for TOS syscalls
git-svn-id: trunk@34610 -
2016-10-03 23:37:30 +00:00
Károly Balogh
7bf2055ef9 atari: added an include file containing GEMDOS calls and other defines, to be used in the RTL
git-svn-id: trunk@34609 -
2016-10-03 23:12:05 +00:00
nickysn
e847971477 * use the actual ValSInt type from the system unit, instead of ptrsinttype when
handling the code parameter of val()

git-svn-id: trunk@34608 -
2016-10-03 21:45:08 +00:00
nickysn
dd12e0afb2 * set ptrsinttype and ptruinttype according to voidpointertype.size, instead of
using the cpuXXbitaddr define, so it now really reflects the default pointer
  size in the different i8086 memory models

git-svn-id: trunk@34607 -
2016-10-03 20:09:16 +00:00
nickysn
cc234e7de9 + when the -vp option is specified, also print the node tree in tree.log right
before pass 2, since there are now quite a lot of changes to the tree
  happening after pass 1.

git-svn-id: trunk@34606 -
2016-10-03 14:15:59 +00:00
lacak
59246b402c fcl-db: odbc: add to ConnOptions +sqSupportEmptyDatabaseName because TODBCConnection does not require it and used empty with TSQLConnector raises unwanted exception in DoInternalConnect.
git-svn-id: trunk@34605 -
2016-10-03 10:11:50 +00:00
Károly Balogh
ff09cb569d atari: the Atari GNU AS won't tolerate .section .fpc, much like the amiga one
git-svn-id: trunk@34604 -
2016-10-03 04:06:49 +00:00
Károly Balogh
311f6dbf84 atari: fixed exe extension typo.
git-svn-id: trunk@34603 -
2016-10-03 04:06:04 +00:00
Károly Balogh
8d56d60d78 atari: added an external linker implementation, supporting GNU LD and VLink in theory. however the GNU LD version I have segfaults when I try to link the executable...
git-svn-id: trunk@34602 -
2016-10-03 03:54:56 +00:00
Jonas Maebe
a3afefc6cb + test for mantis #27522 (fixed in r29811)
git-svn-id: trunk@34601 -
2016-10-02 21:51:31 +00:00
Jonas Maebe
906994258e * updated to r417 of the common Mac OS X interfaces:
* CFComparisonResult is an alias for CFIndex since Mac OS X 10.5

git-svn-id: trunk@34600 -
2016-10-02 13:36:32 +00:00
Jonas Maebe
868370d727 + InterlockedCompareExchangePointer() alias for InterlockedCompareExchange(pointer)
(mantis #29964)

git-svn-id: trunk@34599 -
2016-10-02 12:57:07 +00:00
Jonas Maebe
e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers)
git-svn-id: trunk@34598 -
2016-10-02 12:56:59 +00:00
Jonas Maebe
94d7a7274b * compare floating point default parameter values bytewise instead of as
floating point values, so that NaNs can also be compared (mantis #30299)

git-svn-id: trunk@34597 -
2016-10-02 12:56:49 +00:00
Jonas Maebe
f5973eaddd - removed unnecessary glGetString(GL_EXTENSIONS) calls (mantis #30663,
patch by Paul Michell)

git-svn-id: trunk@34596 -
2016-10-02 12:56:46 +00:00
Jonas Maebe
37a365c236 * update AllOk parameter of Load_GL_version_1_2x() when loading an extension
fails (mantis #30663, patch by Paul Michell)

git-svn-id: trunk@34595 -
2016-10-02 12:56:43 +00:00
Jonas Maebe
de60bfab9c * make the string data of pchar constants read-only (mantis #30666)
git-svn-id: trunk@34594 -
2016-10-02 12:56:40 +00:00
marcus
559a5982f9 Morphunits: layers unit, types fixed, v51 functions/structures added
git-svn-id: trunk@34593 -
2016-10-02 12:49:57 +00:00
marcus
21b84eacaf Morphunits: utility unit, types fixed, missing varargs versions added
git-svn-id: trunk@34592 -
2016-10-02 11:45:23 +00:00
Károly Balogh
33602807f5 amicommon: set the return value of SysErrorMessage to something default. this is consistent with some other platforms
git-svn-id: trunk@34591 -
2016-10-02 02:03:22 +00:00
Károly Balogh
bfe904fb16 atari: dummy sysutils unit. to be implemented.
git-svn-id: trunk@34590 -
2016-10-02 01:58:32 +00:00
Károly Balogh
175cc52e8d atari: added classes unit and a dummy threading implementation
git-svn-id: trunk@34589 -
2016-10-02 01:33:26 +00:00
Károly Balogh
39f0b9c888 m68k: added atari to the .section exception list in the GNU AS writer
git-svn-id: trunk@34588 -
2016-10-01 23:38:47 +00:00
marcus
2ec510e368 Morphunits: intuition unit rewritten, types fixed, missing varargs versions added
git-svn-id: trunk@34587 -
2016-10-01 21:08:18 +00:00
Károly Balogh
39f043c7fd atari: removed the ancient readme, stating there's no Makefile, as there's one now apparently
git-svn-id: trunk@34586 -
2016-10-01 16:39:48 +00:00
joost
cc70bbbd1f * Removed double directory-separator
git-svn-id: trunk@34585 -
2016-10-01 14:56:10 +00:00
Károly Balogh
def4df9791 m68k: fixed a bug, where during during unaligned stores, the base address was preinitalized to a temp address register from the wrong reference, causing havoc
git-svn-id: trunk@34584 -
2016-10-01 14:43:47 +00:00
marcus
c0fb39607f Morphunits: agraphics unit rewritten, types fixed, missing varargs versions added
git-svn-id: trunk@34583 -
2016-09-30 17:35:18 +00:00
svenbarth
246de84ef3 * ensure that a finalization section is parsed before the generation of specializations as otherwise specializations in such sections would result in unresolved forward declarations
git-svn-id: trunk@34582 -
2016-09-30 15:41:35 +00:00
svenbarth
da5bc92ae0 * pmodules.finish_unit: fix condition that would lead to no implicit initialization code being generated if no explicit one is available, but an implicit one would be required
git-svn-id: trunk@34581 -
2016-09-30 15:11:16 +00:00
svenbarth
74db27ca15 * due to the removal of addr_load_indirect also revert the changes to refaddr2str(_darwin)
git-svn-id: trunk@34580 -
2016-09-30 14:13:26 +00:00
svenbarth
c8202061dc * get rid of addr_load_indirect again by having tcgx86 provide an internal implementation of both make_simple_ref() and a_load_ref_reg() so that make_direct_ref() can call the latter (and the latter the former) without fear of inifinite recursive calls due to the symbol; a_load_ref_reg() is additionally declared as "final" as a_load_ref_reg_internal() needs to be overloaded instead (which is the case for tcg8086)
git-svn-id: trunk@34579 -
2016-09-30 14:01:02 +00:00
marcus
d4f0634908 Morphunits: exec unit updated functions, missing varargs versions
git-svn-id: trunk@34578 -
2016-09-30 13:21:45 +00:00
marcus
6b25911bcb Morphunits: exec unit updatd to current SDK, Type adjustments
git-svn-id: trunk@34577 -
2016-09-30 12:26:34 +00:00
pierre
1e9491550d nutils.pas: Add new procedure:
procedure node_change_local_switch(p : tnode;cs : tlocalswitch;enable : boolean);
    to add/remove cs local switch from all p tnode tree localsettings.

    modify second_prefetch implementation in arm, ppcgen and x86 subdirectories
    to use node_change_local_settings to temporarily disabled
    checkpointer local switch, as prefetch is allowed even on unaccessible addresses.
    (previous code was buggy because I frogot that each node has it own localswitches).

git-svn-id: trunk@34576 -
2016-09-29 21:34:34 +00:00
marcus
3ba12f2fd7 Morphunits: amigados unit, 64bit file access functions, V51 functions/consts
git-svn-id: trunk@34575 -
2016-09-29 17:01:06 +00:00
marcus
e42119e573 Morphunits: locale unit, fixed calling convention, missing functions
git-svn-id: trunk@34574 -
2016-09-29 14:10:46 +00:00
lacak
cc100208c9 fcl-db: sqldb: Test for assigned AParams in LogParams to avoid AV. Bug #30662
git-svn-id: trunk@34573 -
2016-09-29 05:29:02 +00:00
marco
fe99472d22 * fix missing 'kernel32' reported on forum by "DG"
git-svn-id: trunk@34571 -
2016-09-28 14:24:53 +00:00
pierre
3360410c35 Fix cycling with -dTest_Double_checksum option
git-svn-id: trunk@34570 -
2016-09-28 08:56:30 +00:00