Commit Graph

8800 Commits

Author SHA1 Message Date
michael
33fea4f9e3 * Fix detection of usage
git-svn-id: trunk@36917 -
2017-08-15 16:22:21 +00:00
michael
1fa863721f * Patch from Denis Kozlov to fix threaded server
git-svn-id: trunk@36916 -
2017-08-15 09:55:18 +00:00
michael
a9819b3289 * Patch from Denis Kozlov to fix threaded server
git-svn-id: trunk@36915 -
2017-08-15 09:55:14 +00:00
michael
3c45ad8c01 * jsonini has no resourcestrings
git-svn-id: trunk@36914 -
2017-08-15 09:48:34 +00:00
michael
25e85d1772 * TJSONIniFile class added
git-svn-id: trunk@36913 -
2017-08-15 08:58:18 +00:00
andrew
9bff5e1d2f Small changes to chmbase. Changes parameter to const. Small formating changes.
git-svn-id: trunk@36912 -
2017-08-14 23:29:40 +00:00
svenbarth
8aa90d0967 * tkQWord is considered an ordinal as well
git-svn-id: trunk@36911 -
2017-08-14 20:32:53 +00:00
svenbarth
e60e055b8b * handle tkClassRef
git-svn-id: trunk@36910 -
2017-08-14 20:32:25 +00:00
svenbarth
89f03f4fdf * adjust casing so that Lazarus keeps from changing it
git-svn-id: trunk@36909 -
2017-08-14 20:29:30 +00:00
svenbarth
89e47e098a * better handling of floating point types
git-svn-id: trunk@36908 -
2017-08-14 20:28:41 +00:00
svenbarth
9a7d26e349 * correctly handle ordinals of different sizes
git-svn-id: trunk@36907 -
2017-08-14 20:28:01 +00:00
svenbarth
56459594c0 * more complete TValueData record
git-svn-id: trunk@36906 -
2017-08-14 20:26:55 +00:00
svenbarth
ee4c92af6e * change TValue from object to record as there might be record helpers for TValue out there
git-svn-id: trunk@36904 -
2017-08-14 19:45:16 +00:00
svenbarth
a3652bb69d * fix test run in Delphi: for some reason a method pointer is considered managed by Delphi
git-svn-id: trunk@36903 -
2017-08-14 19:09:52 +00:00
svenbarth
251d223f29 * fix test run in Delphi: TypeInfo(Integer) is indeed for "Integer" in Delphi, not "LongInt" as in FPC
git-svn-id: trunk@36902 -
2017-08-14 19:09:24 +00:00
svenbarth
88eabc12ff * fix warnings in Delphi test compilation: published implicitely enables $M for the class
git-svn-id: trunk@36901 -
2017-08-14 19:08:32 +00:00
svenbarth
bb947ed639 * fix test compilation in Delphi: TypeInfo() of a file type is not supported
git-svn-id: trunk@36900 -
2017-08-14 19:07:10 +00:00
svenbarth
95f3c6c427 * fix test compilation in Delphi: TypeInfo() requires a type identifier, variables/parameters are not supported :'(
git-svn-id: trunk@36899 -
2017-08-14 19:06:27 +00:00
svenbarth
2c70a0431e * fix test compilation in Delphi: raw interfaces are not supported in Delphi
git-svn-id: trunk@36898 -
2017-08-14 19:04:34 +00:00
svenbarth
dd906faf04 * fix test compilation in Delphi: management operators are not supported in Delphi
git-svn-id: trunk@36897 -
2017-08-14 19:03:45 +00:00
Károly Balogh
331b37ca48 palmunits: change the obsolete dispatcher wrappers to syscalls, batch 2
git-svn-id: trunk@36894 -
2017-08-13 22:35:28 +00:00
Károly Balogh
8920d35c41 palmunits: change the obsolete dispatcher wrappers to syscalls, batch 1
git-svn-id: trunk@36893 -
2017-08-13 02:15:41 +00:00
Károly Balogh
fbe7798f6a palmunits: made it build with current compiler
git-svn-id: trunk@36890 -
2017-08-12 21:39:54 +00:00
Károly Balogh
4c25bd935f packages: disabled packages for macos and palmos which currently cannot be built for these
git-svn-id: trunk@36889 -
2017-08-12 21:08:34 +00:00
joost
fd8072e525 * When available, try to negotiate a TLS connection, if not available, use the deprecated way (sslv23)
git-svn-id: trunk@36853 -
2017-08-04 22:51:09 +00:00
joost
84635bcffa * Added OpenSSL's SslTLSMethod
git-svn-id: trunk@36852 -
2017-08-04 22:45:04 +00:00
joost
4d2d45da0b * When InitContext fails, TSSLSocketHandler.Connect should return false.
git-svn-id: trunk@36851 -
2017-08-04 21:40:27 +00:00
svenbarth
8ffc035a86 * inline for simple methods
git-svn-id: trunk@36846 -
2017-08-04 15:51:08 +00:00
Mattias Gaertner
37c9dc2c3f fcl-passrc: resolver: eval set of integer range
git-svn-id: trunk@36819 -
2017-08-03 09:28:29 +00:00
michael
1729d6a848 * Rework to be able to use in compiler testsuite
* Refactor for better code readability
  * Set exit status based on bitmask: 
    bit 0 set -> there were failures
    bit 1 set -> there were errors 
  * Allow use of testdefaults.ini file
  * Location of testdefaults.ini file can be set in environment variable FPCUNITCONFIG.
  * Improved usage message.

git-svn-id: trunk@36816 -
2017-08-02 10:02:24 +00:00
lacak
301fc9af70 fcl-db: base: fix widestring copy #32215
git-svn-id: trunk@36812 -
2017-07-28 19:04:28 +00:00
Mattias Gaertner
4a588fcbc2 pastojs: error on var absolute
git-svn-id: trunk@36811 -
2017-07-28 17:50:52 +00:00
Mattias Gaertner
e266fd75e0 fcl-passrc: resolver: read widechar literals
git-svn-id: trunk@36810 -
2017-07-28 17:50:24 +00:00
svenbarth
0076284a86 * revert changes from r36770
* use constref for REFIID parameters, at least for non-interface functions (interface methods will be done separately as they're a breaking change, not to mention TObject's methods)

git-svn-id: trunk@36806 -
2017-07-28 15:37:49 +00:00
maciej-izak
b087cc81f5 fcl-passrc: paswrite: fix for fields declarations inside classes. Variables can't be declared directly after methods nor properties (visibility section or var keyword is required)
git-svn-id: trunk@36798 -
2017-07-27 10:07:22 +00:00
marcus
13ab320618 Ami-Extra: muihelper does not need amigalib anymore, functions are moved to utility
git-svn-id: trunk@36788 -
2017-07-25 17:16:42 +00:00
maciej-izak
ddc7631e09 fcl-passrc: paswrite: prepare 'type' section for types only when type has parent like module interface section etc.
git-svn-id: trunk@36787 -
2017-07-25 13:51:59 +00:00
maciej-izak
c025e4cb61 fcl-passrc: paswrite: prepare type section for enums and unresolved type ref.
git-svn-id: trunk@36786 -
2017-07-25 13:28:05 +00:00
maciej-izak
93b8a2de44 fcl-passrc: paswrite: write enums
git-svn-id: trunk@36784 -
2017-07-24 14:01:07 +00:00
Mattias Gaertner
c77b403928 pastojs: fixed rtti property override
git-svn-id: trunk@36783 -
2017-07-24 13:33:17 +00:00
marcus
645dd2a272 amunits: move DoMethod/DoSuperMethod to intuition, Hook Helper to Utility, exec helper to exec, commodities macros to commodities, mark amigalib as deprecated
git-svn-id: trunk@36778 -
2017-07-23 21:52:30 +00:00
marcus
20f148ef89 Morphunits: move DoMethod/DoSuperMethod to intuition, Hook Helper to Utility, mark amigalib as deprecated
git-svn-id: trunk@36777 -
2017-07-23 19:59:05 +00:00
michael
2d64b99ac8 * Added HTML to color functions
git-svn-id: trunk@36774 -
2017-07-23 14:40:29 +00:00
michael
2b8e23e722 * Fix bug ID #32114: more value types for TRegistry
git-svn-id: trunk@36773 -
2017-07-23 14:28:28 +00:00
michael
ef809c6341 * Added UTF8 versions of some filenames (bug ID 31676)
git-svn-id: trunk@36772 -
2017-07-23 10:39:56 +00:00
michael
aa5b2ff6fb * Fix bug ID #24099 (make sure self is not destroyed while disconnecting sink)
git-svn-id: trunk@36771 -
2017-07-23 10:22:46 +00:00
michael
4e494607d6 * Fix definition of REFIID
git-svn-id: trunk@36770 -
2017-07-23 09:49:35 +00:00
michael
f61e1cdb85 * Fix bug ID #31569
git-svn-id: trunk@36767 -
2017-07-23 09:05:55 +00:00
michael
3b5d532ab5 * Corrected patch from Rolf Wetjen to use unicode API on windows (bug ID 32185)
git-svn-id: trunk@36765 -
2017-07-22 17:09:45 +00:00
Mattias Gaertner
5494057e7f fcl-passrc: resolver: eval const str()
git-svn-id: trunk@36754 -
2017-07-20 18:13:55 +00:00
michael
b34ff11803 * Fix bug ID #32172, correct installation of sighandlers
git-svn-id: trunk@36752 -
2017-07-20 11:39:16 +00:00
michael
d975ec6d0b * Patch from Cyrax to initialize search index (bug id 32173)
git-svn-id: trunk@36751 -
2017-07-20 08:50:01 +00:00
marco
f3e55c4019 * fixes from WP reported on forum "non blocking bugs in chmcmd"
git-svn-id: trunk@36747 -
2017-07-19 07:49:10 +00:00
Mattias Gaertner
64a6eaf91a fcl-passrc: resolver: eval const set of char, int, bool
git-svn-id: trunk@36734 -
2017-07-15 09:50:15 +00:00
Károly Balogh
40cf0deab7 show the right help text for skipcrossprograms option
git-svn-id: trunk@36733 -
2017-07-14 23:12:12 +00:00
Mattias Gaertner
a29c7c7fac fcl-passrc: resolver: check duplicates in set const
git-svn-id: trunk@36731 -
2017-07-14 12:40:55 +00:00
Mattias Gaertner
6dcd2db78c fcl-passrc: resolver: eval const strings, enums, sets
git-svn-id: trunk@36730 -
2017-07-14 11:47:48 +00:00
marco
92405e640a * try to find javascript files too.
git-svn-id: trunk@36729 -
2017-07-14 10:04:00 +00:00
marcus
f60e3686c0 AmigaOS4: fixed pack in workbench unit
git-svn-id: trunk@36727 -
2017-07-12 20:43:56 +00:00
Mattias Gaertner
82569975c6 fcl-passrc: resolver: const float typecast, operators, string[]
git-svn-id: trunk@36725 -
2017-07-11 16:46:56 +00:00
michael
be39ca0c85 * Fix bug ID #32136, object not freed when replaced by another
git-svn-id: trunk@36724 -
2017-07-11 07:37:04 +00:00
Mattias Gaertner
b884ab31fa pastojs: use strict equal when converting equal
git-svn-id: trunk@36721 -
2017-07-10 17:38:49 +00:00
Mattias Gaertner
9cc3bc0a47 fcl-passrc: fixed result of TPascalScanner.SetForceCaret
git-svn-id: trunk@36720 -
2017-07-10 17:38:15 +00:00
joost
19b60c0cf3 * Fixed the ability to build packages in .source.zip files
from the command-line. +test

git-svn-id: trunk@36715 -
2017-07-09 20:30:28 +00:00
joost
33e83d5422 * Do not try to build a package when it is not found
git-svn-id: trunk@36712 -
2017-07-09 20:27:35 +00:00
michael
541128b086 * Fix bug ID #32048: class variables (and variables) in record
git-svn-id: trunk@36709 -
2017-07-09 14:17:09 +00:00
michael
c9e15b9380 * Forgot tga in previous commit
git-svn-id: trunk@36708 -
2017-07-09 13:57:52 +00:00
michael
9968867c2c * Seems previous commit was before complete save in IDE
git-svn-id: trunk@36707 -
2017-07-09 13:52:08 +00:00
michael
03267e3ba3 * Fix bug ID #31750
git-svn-id: trunk@36705 -
2017-07-09 09:33:11 +00:00
michael
31d9d345e1 * Fix bug ID #32025
git-svn-id: trunk@36704 -
2017-07-09 09:10:53 +00:00
michael
cf1bd813a8 * Better operator as identifier mechanism
git-svn-id: trunk@36702 -
2017-07-09 08:04:54 +00:00
michael
31bc025d08 * Better operator as identifier mechanism
git-svn-id: trunk@36701 -
2017-07-09 08:04:48 +00:00
michael
68414a358c * Operator is a valid field name (bug ID 32049)
git-svn-id: trunk@36700 -
2017-07-09 07:43:26 +00:00
joost
cfbb7efc85 * llProgres -> llProgress
git-svn-id: trunk@36691 -
2017-07-08 20:41:08 +00:00
michael
e787cb1ff3 Fix bug ID #31871
git-svn-id: trunk@36684 -
2017-07-08 16:56:51 +00:00
michael
0a73f141a4 * Forgotten in commit 36662
git-svn-id: trunk@36683 -
2017-07-08 14:10:35 +00:00
michael
d6552989d6 * Fix bug ID #31825: because of helpers, almost any expression can have a .
git-svn-id: trunk@36682 -
2017-07-08 14:05:43 +00:00
Mattias Gaertner
b11a0c4eab pastojs: declarations: nicer srcmaps
git-svn-id: trunk@36681 -
2017-07-08 12:45:38 +00:00
Mattias Gaertner
627323b96e fcl-js: jswriter: nicer CurElement for srcmaps
git-svn-id: trunk@36680 -
2017-07-08 12:44:46 +00:00
michael
c24172f670 * Patch from Thaddy de Koning to add in operator for strings
git-svn-id: trunk@36679 -
2017-07-08 12:02:18 +00:00
michael
606d6d7316 * Fix bug #32055
git-svn-id: trunk@36678 -
2017-07-08 11:33:51 +00:00
michael
feebdbfc92 * Winhttp unit added (bug id 30650)
git-svn-id: trunk@36677 -
2017-07-08 11:25:03 +00:00
Mattias Gaertner
b5b58fd34c fcl-passrc: scanner: fixed column starting at 1
git-svn-id: trunk@36670 -
2017-07-07 19:40:23 +00:00
Mattias Gaertner
6b11e10edc pastojs: asm: set source pos to first non empty line
git-svn-id: trunk@36669 -
2017-07-07 17:31:27 +00:00
Mattias Gaertner
1f5fc91144 fcl-pas: parser: asm: add first empty line to Tokens
git-svn-id: trunk@36668 -
2017-07-07 17:31:09 +00:00
Mattias Gaertner
97fd5b956a fcl-js: comments
git-svn-id: trunk@36667 -
2017-07-07 17:30:28 +00:00
marco
bf0a4e9ad7 * check writeconsoleinput and only wait for back data if write was succesful
otherwise it hangs if input is closed. Mantis #32096, analysis by jamie philbrook

git-svn-id: trunk@36663 -
2017-07-07 10:40:02 +00:00
marco
fdd78657e8 * initial android pthreads, by Bero, mantis #32105
git-svn-id: trunk@36662 -
2017-07-07 10:26:46 +00:00
Mattias Gaertner
5e409ff349 pastojs+pparser: fixed copying last line of asm..block with option po_asmwhole
git-svn-id: trunk@36650 -
2017-07-05 20:33:48 +00:00
Mattias Gaertner
8cd56fb9be pastojs: fixed tests
git-svn-id: trunk@36649 -
2017-07-05 19:58:16 +00:00
Mattias Gaertner
6d764dff98 fcl-pas: less hints
git-svn-id: trunk@36648 -
2017-07-05 19:57:56 +00:00
Mattias Gaertner
a9502f9d3d fcl-js: parse source map
git-svn-id: trunk@36647 -
2017-07-05 19:50:16 +00:00
marco
0eaa8c2a57 * preparation for 64-bit amiga support (:-))
git-svn-id: trunk@36643 -
2017-07-04 11:55:48 +00:00
marco
cb0f89c4a8 * change longint cast of pointer to ptrint #32096
git-svn-id: trunk@36642 -
2017-07-04 11:48:49 +00:00
maciej-izak
72a35844c5 fcl-passrc: pparser: Correct parent for first method on overloads list.
git-svn-id: trunk@36641 -
2017-07-03 22:30:44 +00:00
pierre
91995c004c Fix compilation of graph unit for msdos OS target
git-svn-id: trunk@36630 -
2017-07-03 17:07:42 +00:00
maciej-izak
f5b8825662 fcl-passrc: new GlobalDirectivesSection (section between unit and interface) to allow writing $IFDEFS and global directives from paswrite.pp by TPasImplCommand/TPasImplCommands
git-svn-id: trunk@36628 -
2017-07-03 13:58:42 +00:00
maciej-izak
bbc2ef6ac0 fcl-passrc: paswrite: write initialization and finalization sections for module
git-svn-id: trunk@36627 -
2017-07-02 20:57:41 +00:00
maciej-izak
184157c9d7 fcl-passrc: paswrite: allow writing "out" and "constref" modifiers
git-svn-id: trunk@36625 -
2017-07-01 18:31:28 +00:00
maciej-izak
f475ba39ba fcl-passrc: pastree: Don't create TPasUnresolvedTypeRef for empty AUnresolvedTypeName in TPasProcedureType.CreateArgument (parameter can be declared without type with additional modifiers)
git-svn-id: trunk@36624 -
2017-07-01 17:06:13 +00:00