Commit Graph

47118 Commits

Author SHA1 Message Date
marcus
4a8feeff42 Amiga, MorphOS: Match SDKs for PolyDraw, PixelArray8, PixelLine8, WriteChunkyPixels
git-svn-id: trunk@31852 -
2015-09-27 16:48:04 +00:00
pierre
57bff01715 Add dummy function result after HandleError call inside fpc_sqr_real and fpc_trunc_real compilerproc to suppress warning
git-svn-id: trunk@31851 -
2015-09-27 16:47:24 +00:00
nickysn
4c8cea1d1a + implemented ChDir, MkDir, RmDir and GetDir for Win16
git-svn-id: trunk@31850 -
2015-09-27 15:47:25 +00:00
nickysn
f5c2ce9058 * fixes to the win16 stderr output
git-svn-id: trunk@31849 -
2015-09-27 15:17:59 +00:00
Jonas Maebe
84b47dc92c * fixed test on systems not using UTF-8 as defaultsystemcodepage. This test
was correct before the ansistrings with codepage support had been
    implemented, and by accident kept working afterwards on platforms that
    don't use UTF-8 as defaultsystemcodepage, but after r31831 it started
    failing. This commit fixes it again, in combination r31847 (by ensuring
    that the string data passed to ansistart/endtext is encoded in
    defaultsystemcodepage).

git-svn-id: trunk@31848 -
2015-09-27 14:46:44 +00:00
Jonas Maebe
8e50695f78 * make the meaning of "string" in {$h+} mode the same as that of ansistring:
"type ansistring(CP_ACP)", rather than "type ansistring(sourcefilecodepage)"

git-svn-id: trunk@31847 -
2015-09-27 14:46:41 +00:00
nickysn
406d5b7b3d + implemented a win16 heap manager for the far data memory models, using the
global heap; TODO: allocate heap in blocks and perform suballocation for small
  memory blocks, because the number of global heap blocks is limited

git-svn-id: trunk@31846 -
2015-09-27 13:00:27 +00:00
blikblum
755a6cc776 Remove commented code in fillds demo commited by accident
git-svn-id: trunk@31845 -
2015-09-27 12:01:13 +00:00
blikblum
776534a43d Fix mem leak in InitiRecord
git-svn-id: trunk@31844 -
2015-09-27 12:01:05 +00:00
florian
53ea4fb7d4 * unify x86 peephole optimizer helpers
git-svn-id: trunk@31843 -
2015-09-27 09:36:39 +00:00
nickysn
3e2248f41a + implemented exporting of functions for the win16 target
git-svn-id: trunk@31842 -
2015-09-27 00:48:35 +00:00
blikblum
d144073299 Adapt demos programs to use sqlite3ds by default
git-svn-id: trunk@31841 -
2015-09-26 21:34:29 +00:00
blikblum
e4ec432012 Fix sqliteds compilation
git-svn-id: trunk@31840 -
2015-09-26 21:34:16 +00:00
blikblum
55ad9b69d0 Free row from begin item
git-svn-id: trunk@31839 -
2015-09-26 21:34:06 +00:00
blikblum
cc11bc4590 Fix Comparebookmarks properly handling nil parameters
git-svn-id: trunk@31838 -
2015-09-26 21:33:55 +00:00
blikblum
da100b43f7 Use actual item instead of cache item for edit
git-svn-id: trunk@31837 -
2015-09-26 21:33:43 +00:00
nickysn
c513cec740 - disallow mixing 'export' and 'interrupt' for the same procedure
git-svn-id: trunk@31836 -
2015-09-26 18:35:04 +00:00
nickysn
b26e10d53c + generate proper win16 prologue/epilogue for exported routines (we don't yet
actually export them from the .exe or .dll, but they can now be used as
  callbacks)
+ support win16 smart callbacks via the $K switch

git-svn-id: trunk@31835 -
2015-09-26 18:04:59 +00:00
nickysn
ae533e4c77 + made the $W switch control the FarProcsPushOddBP target switch in the i8086
compiler (BP7 compatibility) instead of controlling stack frame elimination
  (which isn't supported by the compiler on i8086 anyway, due to i8086's lack
  of support for stack relative addressing)

git-svn-id: trunk@31834 -
2015-09-26 15:41:44 +00:00
nickysn
e0aa6bf85f * the FarProcsPushOddBP target switch made local instead of global (BP7 compatibility)
git-svn-id: trunk@31833 -
2015-09-26 15:14:15 +00:00
nickysn
3a4afab681 * fixed a bug in the $targetswitch directive, which prevented target switches
from being turned off (they were turned on instead)

git-svn-id: trunk@31832 -
2015-09-26 13:36:51 +00:00
Jonas Maebe
2cf8e50771 * fixed unwanted disabling of a codepage set via -FcXXX/{$codepage XXX}
when {$modeswitch systemcodepage} gets disabled without having been
    enabled first (such as when initially setting the syntax mode)
    (mantis #28718)

git-svn-id: trunk@31831 -
2015-09-25 18:31:58 +00:00
Jonas Maebe
7c594b0288 + added support for using Clang as an assembler, and make it the default
for all non-ppc(32/64) Darwin platforms
   o pass the macosx-version-min/iphoneos-version-min to clang as an assembler,
     so that it properly sets this information starting with Xcode 7 (solves
     errors when targeting the iOS simulator, and warnings about object files
     being compiled for a different OS X version when targeting (Mac) OS X)
   o the old assembler is still selectable via -Aas-darwin (required with
     Xcode 3.1.x and older)
   o since the first Xcode version that shipped with Clang is Xcode 3.2, which
     is available for Mac OS X 10.6, most users should not encounter any issues
     with the new default (in fact, it fixes some tests for x86 because Clang
     supports some instructions that "as" doesn't). Clang does not support
     Stabs however, so -gs does require the use of -Aas-darwin

git-svn-id: trunk@31830 -
2015-09-25 18:31:54 +00:00
nickysn
624376b403 + handle properly win16 "odd bp" stack frames in get_caller_addr and get_caller_frame
git-svn-id: trunk@31829 -
2015-09-25 16:19:56 +00:00
nickysn
1c3a0864e8 + implemented win16 stderr via messageboxes similar to the way it is implemented for win32/win64 gui apps
git-svn-id: trunk@31828 -
2015-09-25 14:51:50 +00:00
pierre
938c797a0d Fix error in last commit opthandled -> opt_handled; Add FORCEAWK option to overrule AWK found in Makefile
git-svn-id: trunk@31827 -
2015-09-25 13:44:23 +00:00
lacak
33986a03d3 fcl-db: mysql: add missing mysql57conn.pas (MySQL 5.7 wrapper)
git-svn-id: trunk@31826 -
2015-09-25 04:51:57 +00:00
nickysn
aa883d0f85 + added the win16api driver support functions
git-svn-id: trunk@31825 -
2015-09-24 19:49:19 +00:00
nickysn
f71598a633 + added the win16api string formatting support functions
git-svn-id: trunk@31824 -
2015-09-24 19:09:25 +00:00
nickysn
5cb89fba9e + added the win16api comm support functions
git-svn-id: trunk@31823 -
2015-09-24 17:02:45 +00:00
nickysn
6767906755 + added the win16api sound support functions
git-svn-id: trunk@31822 -
2015-09-24 16:21:37 +00:00
nickysn
926d66b9f5 + added the win16api help support functions
git-svn-id: trunk@31821 -
2015-09-24 16:06:55 +00:00
nickysn
c2a303b1da + added the win16api debugger support functions
git-svn-id: trunk@31820 -
2015-09-24 15:58:42 +00:00
nickysn
e8fc56066b + added the win16api journalling support functions
git-svn-id: trunk@31819 -
2015-09-24 15:50:59 +00:00
nickysn
5c9a09a38b + added the win16api shell consts
git-svn-id: trunk@31818 -
2015-09-24 15:44:09 +00:00
nickysn
d6fdab5e0e + added the win16api hardware hook support constants and types
git-svn-id: trunk@31817 -
2015-09-24 15:40:58 +00:00
pierre
4cb5a35228 Add removedir= argument; use cd ; pwd -P to obtain absolute path; use defs.h header in gdb_get_stdin.c source
git-svn-id: trunk@31816 -
2015-09-24 15:34:21 +00:00
nickysn
46c4ebbf58 + added the win16api computer-based-training support constants and types
git-svn-id: trunk@31815 -
2015-09-24 15:22:49 +00:00
nickysn
79968e4bf1 + added the win16api windows hook support functions
git-svn-id: trunk@31814 -
2015-09-24 15:14:44 +00:00
nickysn
198cc330ec + added the win16api combo box control consts
git-svn-id: trunk@31813 -
2015-09-24 14:51:59 +00:00
nickysn
3d637e59eb + added the win16api dialog directory support functions
git-svn-id: trunk@31812 -
2015-09-24 14:34:26 +00:00
nickysn
000cc1d56c + added consts and types for various win16api dialog controls
git-svn-id: trunk@31811 -
2015-09-24 14:23:40 +00:00
nickysn
f3c235ef8a + added the win16api dialog and control management functions
git-svn-id: trunk@31810 -
2015-09-24 13:50:58 +00:00
nickysn
09b0f516ee + added the win16api MDI support functions
git-svn-id: trunk@31809 -
2015-09-24 13:08:48 +00:00
Jonas Maebe
1131b08d6d * changed idtext of as_darwin to AS-DARWIN, so it can be explicitly
selected via -Aas-darwin (since it compares uppercased strings)

git-svn-id: trunk@31808 -
2015-09-24 06:49:29 +00:00
Jonas Maebe
8155d759dc - reverted r31806, it breaks building on non-Darwin (mantis #28716)
git-svn-id: trunk@31807 -
2015-09-24 06:44:12 +00:00
Jonas Maebe
c0b451e788 - removed as_darwin, since there is no difference with as_gas (there is no
GNU as from binutils for Darwin, and Apple's "as" is based on an old
    version of GNU as)
   o this will not cause any backward compatibility problems, as the
     previous identifier for as_darwin was "AS-Darwin" and the compiler
     compared the uppercase value of the -A parameter to the identifier,
     so it was not explicitly selectable earlier. The new name is "AS",
     so it is explicitly selectable via -Aas like on other platforms.

git-svn-id: trunk@31806 -
2015-09-23 21:25:38 +00:00
Jonas Maebe
840c043c75 * always use unified assembler syntax on Darwin (required by Xcode 7+)
git-svn-id: trunk@31805 -
2015-09-23 20:38:18 +00:00
Jonas Maebe
c5f64a51da * also support unified syntax for non-thumb2 (not yet activatable/usable)
git-svn-id: trunk@31804 -
2015-09-23 20:38:14 +00:00
Jonas Maebe
ff4847f685 * also write out the assembler invocation when using pipes
git-svn-id: trunk@31803 -
2015-09-23 20:38:11 +00:00