summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Call Errno2inoutres for nativent failure calling NtClose inside do_closepierre2014-11-201-1/+8
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29096 3ad0048d-3df7-0310-abae-a5850022a9f2
* Call Errno2noutres if system call to close the handle fails in do_close for ↵pierre2014-11-204-7/+14
| | | | | | win and unix git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29095 3ad0048d-3df7-0310-abae-a5850022a9f2
* Only set StdInputHandle, StdOutputHandle and StdErrorHandle oncepierre2014-11-201-3/+9
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29094 3ad0048d-3df7-0310-abae-a5850022a9f2
* * Mantis #27044: copy Variant to temp if it cannot be passed by reference to ↵sergei2014-11-201-2/+20
| | | | | | fpc_dispinvoke_variant helper. This provides behavior consistent to implicit 'self' parameter of objects/records. git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29093 3ad0048d-3df7-0310-abae-a5850022a9f2
* * Fixed installation of smartlink libs and import libs after r29004.yury2014-11-201-7/+10
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29092 3ad0048d-3df7-0310-abae-a5850022a9f2
* Add check for absolute word typepierre2014-11-191-0/+4
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29091 3ad0048d-3df7-0310-abae-a5850022a9f2
* Fix for tw8513 failure for big endian processorspierre2014-11-191-2/+32
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29090 3ad0048d-3df7-0310-abae-a5850022a9f2
* * add dependency to rtl-extra. bzip2 uses unit objects.marco2014-11-172-2/+116
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29089 3ad0048d-3df7-0310-abae-a5850022a9f2
* * QueryOptions for disconnected mode and autoapplyupdatesmichael2014-11-176-38/+295
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29088 3ad0048d-3df7-0310-abae-a5850022a9f2
* * Asm readers: allow using procedure symbols in references, resolves #22376.sergei2014-11-173-6/+43
| | | | | | * rax86int.pas: reject RIP-relative references to locals/parameters. git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29087 3ad0048d-3df7-0310-abae-a5850022a9f2
* + also preserve the CGA background color in the go32v2 IDEnickysn2014-11-171-0/+6
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29086 3ad0048d-3df7-0310-abae-a5850022a9f2
* + change always floating point divisions into multiplications if they are a ↵florian2014-11-1619-24/+99
| | | | | | | | | power of two, this is an exact operation so it is always allowed * change only divisions by normal numbers into multiplications git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29085 3ad0048d-3df7-0310-abae-a5850022a9f2
* + implements TExtended80Rec, TDoubleRec, TSingleRecflorian2014-11-164-0/+661
| | | | | | + test git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29084 3ad0048d-3df7-0310-abae-a5850022a9f2
* * do not hide the cursor after returning from the output screen, because it ↵nickysn2014-11-161-1/+0
| | | | | | may have to be visible (if e.g. the editor window has the focus); instead, cursor state should be restored in UserScreen^.SwitchBackToIDEScreen git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29083 3ad0048d-3df7-0310-abae-a5850022a9f2
* - Forgot to commit with r29081sergei2014-11-161-1/+0
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29082 3ad0048d-3df7-0310-abae-a5850022a9f2
* - x86 assembler readers: cleaned out operand swapping code. Operands of ↵sergei2014-11-164-84/+23
| | | | | | TInstruction are kept in AT&T order, Intel reader attaches operands right-to-left. It was effectively the same way before the change (except Intel reader attaching operands left-to-right, followed by a single swap), operand order checks all over the place were just reducing readability. git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29081 3ad0048d-3df7-0310-abae-a5850022a9f2
* + enable USE_GRAPH_SWITCH by default for the go32v2 IDEnickysn2014-11-161-5/+3
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29080 3ad0048d-3df7-0310-abae-a5850022a9f2
* * TDOSScreen.ConsoleGraphDriver and .ConsoleGraphMode changed to smallint, ↵nickysn2014-11-161-1/+1
| | | | | | so they can be passed as var parameters to InitGraph. This fixes compilation with USE_GRAPH_SWITCH enabled git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29079 3ad0048d-3df7-0310-abae-a5850022a9f2
* * do not call SetVESAMode in TDOSScreen.SaveConsoleScreen, because it ↵nickysn2014-11-161-64/+61
| | | | | | destroys the palette before we can save it and because InitGraph is called later anyway git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29078 3ad0048d-3df7-0310-abae-a5850022a9f2
* * cleaned up TDOSScreen.SwitchToConsoleScreennickysn2014-11-161-32/+8
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29077 3ad0048d-3df7-0310-abae-a5850022a9f2
* + added CGA graphics mode saving to the go32v2 IDEnickysn2014-11-161-5/+28
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29076 3ad0048d-3df7-0310-abae-a5850022a9f2
* * new constants for options used in recently added APIshajny2014-11-151-20/+124
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29075 3ad0048d-3df7-0310-abae-a5850022a9f2
* * hide the mouse before saving the go32v2 IDE screen. This fixes a bug which ↵nickysn2014-11-141-0/+2
| | | | | | causes the mouse to leave a trace when returning to the IDE screen after viewing the user screen, if the mouse has been moved during the time the user screen was visible git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29074 3ad0048d-3df7-0310-abae-a5850022a9f2
* * yet more OS/2 API functions addedhajny2014-11-141-4/+308
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29073 3ad0048d-3df7-0310-abae-a5850022a9f2
* * fixed the go32v2 mouse unit for 40 column modesnickysn2014-11-131-1/+12
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29072 3ad0048d-3df7-0310-abae-a5850022a9f2
* * MouseIsVisible renamed CustomMouse_MouseIsVisible to indicate its value is ↵nickysn2014-11-131-10/+12
| | | | | | only used for the custom drawn mouse cursor git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29071 3ad0048d-3df7-0310-abae-a5850022a9f2
* * ELF linker: track relocation style (REL or RELA) of each input section and ↵sergei2014-11-133-2/+8
| | | | | | use it instead of global default on MIPS targets. This fixes internal linking of tests/test/units/system/tres*.pp. git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29070 3ad0048d-3df7-0310-abae-a5850022a9f2
* + convert floating point division by a constant into a multiplication if ↵florian2014-11-131-0/+25
| | | | | | fastmath is turned on git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29069 3ad0048d-3df7-0310-abae-a5850022a9f2
* * do not update MouseIsVisible in SysShowMouse and SysHideMouse, except when ↵nickysn2014-11-131-2/+0
| | | | | | doing a custom drawn cursor git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29068 3ad0048d-3df7-0310-abae-a5850022a9f2
* Fix bug in in_const_swap_qword handlingpierre2014-11-131-1/+1
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29067 3ad0048d-3df7-0310-abae-a5850022a9f2
* * the MouseIsVisible global variable from the go32v2 mouse unit moved to thenickysn2014-11-131-4/+1
| | | | | | | | | | | | | | | | | implementation part. Reasons for making it private: 1) its value is inaccurate when the mouse cursor is drawn by the int 33h mouse driver (which is the case e.g. in the standard 80x25 and 80x50 vga text modes, so quite a common case) and there's no way to make it accurate (there's no function to read the mouse driver's internal 'hide counter') 2) code using this variable to hide the cursor temporarily before updating the screen directly should instead always call HideMouse before updating and ShowMouse after updating, thus relying on the mouse driver's hide count to restore the mouse cursor to its original state 3) this variable is go32v2 specific and looks like it was meant only for internal use anyway. It was only used by the go32v2 video unit when updating the screen, but that was changed due to 2) git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29066 3ad0048d-3df7-0310-abae-a5850022a9f2
* * More correctly scan Elf Auxiliary Vector. Fixes possible crash when the ↵yury2014-11-121-8/+9
| | | | | | first vector entry is AT_NULL. Issue #26973. git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29065 3ad0048d-3df7-0310-abae-a5850022a9f2
* * fcl-db: dbftool: cosmetic/silence warningreiniero2014-11-121-1/+2
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29064 3ad0048d-3df7-0310-abae-a5850022a9f2
* * fcl-db: dbftool:reiniero2014-11-121-13/+26
| | | | | | | | | - detect upper, lower and mixed case .dbf files on *nix - create demo db in current directory instead of application directory git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29063 3ad0048d-3df7-0310-abae-a5850022a9f2
* * ogcoff.pas: when encountering symbol of unsupported type in input object ↵sergei2014-11-111-3/+9
| | | | | | | | | file, give a meaningful error message instead of internal error. Mantis #27020. - removed repeating check of section index. git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29062 3ad0048d-3df7-0310-abae-a5850022a9f2
* Use CHECKED="checked" and SELECTED="selected" as required by HTML specspierre2014-11-111-3/+3
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29061 3ad0048d-3df7-0310-abae-a5850022a9f2
* * Added original ncurses copyrightmichael2014-11-111-0/+31
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29060 3ad0048d-3df7-0310-abae-a5850022a9f2
* * change ulargeinteger quadpart to unsinged, mantis #27023marco2014-11-111-1/+1
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29059 3ad0048d-3df7-0310-abae-a5850022a9f2
* Multifield pthread_attr_t for NetBSDpierre2014-11-101-1/+5
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29058 3ad0048d-3df7-0310-abae-a5850022a9f2
* Also define __CPU_SIMPLE_LOCK_PAD for x86_64 netbsdpierre2014-11-101-0/+3
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29057 3ad0048d-3df7-0310-abae-a5850022a9f2
* Also define PHTREAD_INHERIT_SCHEDpierre2014-11-101-1/+3
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29056 3ad0048d-3df7-0310-abae-a5850022a9f2
* Also use PHTREAD_INHERIT_SCHED in pthread_attr_setinheritedsched for NetBSD ↵pierre2014-11-101-1/+1
| | | | | | system git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29055 3ad0048d-3df7-0310-abae-a5850022a9f2
* Use ptruint instead of longint cast for self address for WRITE_DEBUGpierre2014-11-101-1/+1
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29054 3ad0048d-3df7-0310-abae-a5850022a9f2
* * fixed misplaced constant definitionhajny2014-11-101-6/+7
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29053 3ad0048d-3df7-0310-abae-a5850022a9f2
* * boolean constant instead of IFDEFs for detection of microcontroller supporthajny2014-11-1021-67/+335
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29052 3ad0048d-3df7-0310-abae-a5850022a9f2
* * fixed typo in r29048jonas2014-11-101-1/+1
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29051 3ad0048d-3df7-0310-abae-a5850022a9f2
* Add AIX support, do not add gdbver to targetspierre2014-11-091-19/+21
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29050 3ad0048d-3df7-0310-abae-a5850022a9f2
* Add description of TEST_USE_LONGLOGpierre2014-11-091-1/+3
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29049 3ad0048d-3df7-0310-abae-a5850022a9f2
* Add AIX supportpierre2014-11-091-1/+7
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29048 3ad0048d-3df7-0310-abae-a5850022a9f2
* Allow use of native ld or GNU gld for AIXpierre2014-11-091-7/+16
| | | | git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29047 3ad0048d-3df7-0310-abae-a5850022a9f2