Commit Graph

56063 Commits

Author SHA1 Message Date
Jonas Maebe
213b87fe91 * optimized and simplified tai_aggregatetypedconst destruction
git-svn-id: trunk@41963 -
2019-04-30 19:36:46 +00:00
Jeppe Johansen
3ad450c636 avr: Add peephole optimization for in+sbr* bit test sequence.
git-svn-id: trunk@41962 -
2019-04-30 17:00:30 +00:00
michael
858030d826 * Fix compilation on 16-bit targets
git-svn-id: trunk@41961 -
2019-04-30 05:53:38 +00:00
pierre
819752c334 Avoid warnings when -v0 is used by using $push/$pop
git-svn-id: trunk@41960 -
2019-04-29 14:19:16 +00:00
pierre
b365fdd478 Fix compilation of testsuite program
git-svn-id: trunk@41959 -
2019-04-29 09:09:41 +00:00
michael
135e74c65d * Avoid ScanDateTime in TryISO functions, it raises an exception
git-svn-id: trunk@41958 -
2019-04-28 17:15:35 +00:00
marcus
0a1d88b824 MorphOS: adding missing dtReleaseDrawInfo to datatypes
git-svn-id: trunk@41957 -
2019-04-28 15:27:54 +00:00
marcus
cd3e6a9c73 AROS: fixed structures and alignment for datatypes,locale,serial and workbench
git-svn-id: trunk@41956 -
2019-04-28 15:26:49 +00:00
marcus
b793e14f57 Amiga: structure fixes and unification with other amiga-systems
git-svn-id: trunk@41955 -
2019-04-28 12:09:35 +00:00
michael
74455d0720 * Added ISO8601ToDate and inverse (Bug ID 35307)
git-svn-id: trunk@41954 -
2019-04-28 11:47:49 +00:00
marcus
494854b4d3 MorphOS: UtilityBase fixed
git-svn-id: trunk@41953 -
2019-04-28 10:21:47 +00:00
michael
587397253d * Patch from Serge Anvarov (bug ID 35102) to reduce code duplication
git-svn-id: trunk@41952 -
2019-04-28 09:26:52 +00:00
michael
a254a49e84 * Patch from Ondrej Pokorny to fix bug ID : #32961 reflect system code page change in TEncoding
git-svn-id: trunk@41951 -
2019-04-28 09:02:41 +00:00
pierre
a06e5d0fe9 Comment out ports, doscalls, crt printer and graph rules completely to avoid multiple calls to compiler for same unit
git-svn-id: trunk@41949 -
2019-04-28 05:48:27 +00:00
marcus
0da87a4b49 MorphOS: Intuition.library structure fixes
git-svn-id: trunk@41948 -
2019-04-27 21:53:39 +00:00
marcus
b6c095c771 AROS: Intuition.library structure fixes
git-svn-id: trunk@41947 -
2019-04-27 21:46:47 +00:00
joost
3a964d8556 * Custom resource-files support
git-svn-id: trunk@41946 -
2019-04-27 21:44:08 +00:00
marcus
7601a4ba97 MorphOS: missing TLayer_Info and structures fixes
git-svn-id: trunk@41945 -
2019-04-27 20:30:12 +00:00
marcus
62ecd686c6 AROS: graphics.library structures fix
git-svn-id: trunk@41944 -
2019-04-27 19:57:50 +00:00
marcus
1ec067dfef AROS: fixed amigados units (removed deprecated packets stuff)
git-svn-id: trunk@41942 -
2019-04-27 17:19:40 +00:00
marcus
a5b8463260 morphos: fixed exec and amigados structures
git-svn-id: trunk@41941 -
2019-04-27 16:32:41 +00:00
lacak
0a821710ac fcl-db: odbc: align implementation with code-page aware string fields. Use connection CharSet property to determine charset of connection and when creating string fields use it for code-page of string field.
git-svn-id: trunk@41939 -
2019-04-26 10:32:30 +00:00
svenbarth
b7a716cd81 * correct return a pointer to the list so that List^[x] works as it did before 3.2
+ added test

git-svn-id: trunk@41938 -
2019-04-26 08:13:11 +00:00
pierre
639adc314f Eliminate wrong line (bug report 35441)
git-svn-id: trunk@41934 -
2019-04-25 13:04:39 +00:00
svenbarth
75baf343d6 + add format placeholder for the type's name
git-svn-id: trunk@41931 -
2019-04-25 09:27:07 +00:00
marco
8a23e813ca * GetPhysicallyInstalledSystemMemory mantis 035439 by 440bx
git-svn-id: trunk@41930 -
2019-04-25 09:06:23 +00:00
pierre
66401652fd * Update syscall list for i386 and x86_64 cpus,
based on values found on gcc121 machine,
     CentOS Linux release 7.6.1810 (Core)
   * Commented out values not accepted by GNU C compiler.
     For i386: madvise1(219), security(223),set_zone_reclaim(251)
     New last number: 382(pkey_free).
     For x86_64: 331(pkey_free).

git-svn-id: trunk@41929 -
2019-04-25 06:23:37 +00:00
pierre
a83bc62639 Improve syscall number testing script:
+ Add support for parameters:
    -v sets verbose variable to 1
    VAR=value gets evaluated.
  * moves to rtl/$os if called at diferent level.
  + check if there is a incude directive in sysnr.inc file.
  + Add compilation of C source code with the C variant of the syscall number.
  + Support 32 and 64-bit version of C compilation for systems
    allowing 32 and 64-bit executable (like x86_64-linux).
  + Add 'preprocessing' using AWK to test {$ifdef CPUXXX} macro.
  + Add summary at end of script.
  * Rename check_syscall_number to check_c_syscall_from_fpc_rtl
  * Rename check_syscall_number_reverse to check_c_syscall_in_fpc_rtl
  * Try to remove most intermediate files.
  + Generate add_missing_syscalls.inc file if numbers are missing.

git-svn-id: trunk@41928 -
2019-04-25 06:10:43 +00:00
marco
982bef0ed8 * iswow64present and enable*fsredirection with a byte as param because the BOOLEAN type is a byte according to MSDN. Mantis 035429
git-svn-id: trunk@41926 -
2019-04-23 07:50:12 +00:00
marco
573666405d * wow64 related functions from mantis 034328
git-svn-id: trunk@41925 -
2019-04-22 19:51:41 +00:00
Jonas Maebe
55aeac44f0 * micro-optimization for tentryfile.getbyte() (based on patch by
J. Gareth Moreton, mantis #35406)

git-svn-id: trunk@41924 -
2019-04-22 15:16:33 +00:00
marco
75cdae9836 * add uint typecast to some negative message numbers Mantis 035324
git-svn-id: trunk@41922 -
2019-04-22 09:42:44 +00:00
marco
febb1aab0b * IsDebuggerPresent, bug #35422
git-svn-id: trunk@41921 -
2019-04-21 18:12:57 +00:00
marco
7acd242683 * PROCESS_QUERY_LIMITED_INFORMATION, mantis 35423
git-svn-id: trunk@41920 -
2019-04-21 18:10:12 +00:00
marco
afa6aaab95 * PROCESS_NAME_NATIVE constant
git-svn-id: trunk@41919 -
2019-04-21 18:06:09 +00:00
marco
6559033d2d * QueryFullProcessImageName
git-svn-id: trunk@41918 -
2019-04-21 18:00:24 +00:00
Jonas Maebe
8d19bb12a2 * moved sleb/uleb128 helpers to cutils and use SarInt64() intrinsic (based on
patch by J. Gareth Moreton, mantis #35327)

git-svn-id: trunk@41917 -
2019-04-21 10:07:42 +00:00
Jonas Maebe
d150869dea * record symbols that need to remain in their original order, and on Darwin
pass them to the linker so it does not reorder them
   o fixes resource strings on Darwin when using LTO (this used to reorder the
     resource string symbols, so they no longer all appeared between the START
     and END symbols for their compilation module)

git-svn-id: trunk@41907 -
2019-04-20 18:18:10 +00:00
Jonas Maebe
33d57ac646 * replaced TCmdStrListItem getter function with a property
git-svn-id: trunk@41906 -
2019-04-20 18:18:07 +00:00
Jonas Maebe
0225a3a39a * ppudump: fixed reading of ibresource section
git-svn-id: trunk@41905 -
2019-04-20 18:18:03 +00:00
Mattias Gaertner
636ae5c01d pastojs: clean up
git-svn-id: trunk@41903 -
2019-04-19 18:12:22 +00:00
Jeppe Johansen
12879adc2f - Adds intrinsics to save/restore SREG when disabling interrupts.
- Adds nostackframe to stack frame investigation stubs.

git-svn-id: trunk@41898 -
2019-04-18 18:26:51 +00:00
Mattias Gaertner
1bb2173939 pastojs: fixed quoted string literal
git-svn-id: trunk@41897 -
2019-04-18 14:18:26 +00:00
pierre
ec76e879c9 Integrate patch from bug report 35409.
Add possibiliy to throw InternalError
  for unhandled case values inside tentryfile,
  But avoid adding dependency on verbose unit
  as this would break ppudump handling of ppu files.

  Add RaiseAssertion virtual method to tentryfile class.
  Call RaiseAssertion in tentryfile methods
  where an internal error is wanted.
  Override RaiseAssertion method in symtype.pas unit
  to call InternalError.
  Add new class tppudumpfile to override RaiseAssertion
  in utils/ppuutils/ppudump.pp unit.

git-svn-id: trunk@41896 -
2019-04-18 14:08:03 +00:00
marco
28c15a95d5 * Mantis 35257 modifyworldtransform, defined with var parameter could also take NIL. Split into straight pointer + redef var overload.
git-svn-id: trunk@41893 -
2019-04-18 09:00:42 +00:00
marco
07c21e5128 * and the setters.
git-svn-id: trunk@41892 -
2019-04-17 16:01:50 +00:00
marco
e9c2f46172 * fix mantis 35368 and mantis 35369
git-svn-id: trunk@41891 -
2019-04-17 15:57:05 +00:00
pierre
6f411d6355 Avoid C 64-bit compiler warnings by using %lu instead of %u for sizeof and offsetof
git-svn-id: trunk@41888 -
2019-04-16 22:03:40 +00:00
nickysn
d9c109a4dd + added h2paschk structure checker files for the DirectDraw and DirectInput
header translations, used by PTCPas.

git-svn-id: trunk@41887 -
2019-04-16 16:45:54 +00:00
Jonas Maebe
b9ddddf9b1 * use ".set" for aliasing global symbols on Darwin, instead of declaring
symbols after each other
   o removed the .reference hack that was used previously

git-svn-id: trunk@41885 -
2019-04-16 16:11:54 +00:00