aboutsummaryrefslogtreecommitdiffstats
path: root/lib/jinterface
AgeCommit message (Collapse)Author
2015-04-29Merge branch 'x0id/jinterface_generic_match'Zandra Hird
* x0id/jinterface_generic_match: jinterface: match/bind added to OtpErlangObject fix typo error from recent merge OTP-12691
2015-02-03jinterface: match/bind added to OtpErlangObjectDmitriy Kargapolov
Adding these two methods to the OtpErlangObject abstract class makes possible implementing of pattern matching and variable binding for all types of Erlang terms. Particular implementations may vary and include additional classes to define Variable placeholder objects and Bindings objects. Also Parser class may be added to facilitate creating complex patterns and terms. The purpose of this commit is to provide low level interface base methods sufficient for variety of higher level pattern matching/variable binding implementations. OtpErlangMap class is re-designed for efficiency (it is based on HashMap now). All changes are backward-compatible. Detailed test cases implemented.
2015-01-31jinterface: transport factory implementationDmitriy Kargapolov
Transport factory basic implementation added. This makes possible creating connections between nodes using ssh channels for example. Default transport factory based on standart Socket/ServerSocket classes is provided. Modifications are backward compatible.
2015-01-31fix typo error from recent mergeDmitriy Kargapolov
2015-01-18fix typo error from recent mergeDmitriy Kargapolov
2014-12-29Merge branch 'lemenkov/use_os_getenv_2'Marcus Arendt
* lemenkov/use_os_getenv_2: fix missing include Start using os:getenv/2 fun Introduce os:getenv/2
2014-12-15Start using os:getenv/2 funPeter Lemenkov
See #535 Signed-off-by: Peter Lemenkov <[email protected]>
2014-12-10Merge tag 'OTP-17.4'Marcus Arendt
=== OTP-17.4 === Changed Applications: - asn1-3.0.3 - common_test-1.9 - compiler-5.0.3 - crypto-3.4.2 - debugger-4.0.2 - dialyzer-2.7.3 - diameter-1.8 - edoc-0.7.16 - eldap-1.1 - erl_docgen-0.3.7 - erl_interface-3.7.20 - erts-6.3 - eunit-2.2.9 - hipe-3.11.2 - inets-5.10.4 - jinterface-1.5.12 - kernel-3.1 - megaco-3.17.3 - mnesia-4.12.4 - observer-2.0.3 - odbc-2.10.22 - otp_mibs-1.0.10 - parsetools-2.0.12 - percept-0.8.10 - runtime_tools-1.8.15 - snmp-5.1.1 - ssh-3.1 - ssl-5.3.8 - stdlib-2.3 - syntax_tools-1.6.17 - test_server-3.7.2 - tools-2.7.1 - wx-1.3.2 Unchanged Applications: - cosEvent-2.1.15 - cosEventDomain-1.1.14 - cosFileTransfer-1.1.16 - cosNotification-1.1.21 - cosProperty-1.1.17 - cosTime-1.1.14 - cosTransactions-1.2.14 - et-1.5 - gs-1.5.16 - ic-4.3.6 - orber-3.7.1 - os_mon-2.3 - ose-1.0.2 - public_key-0.22.1 - reltool-0.6.6 - sasl-2.4.1 - typer-0.9.8 - webtool-0.8.10 - xmerl-1.3.7 Conflicts: OTP_VERSION erts/vsn.mk
2014-12-09Prepare releaseErlang/OTP
2014-12-08Merge branch 'maint'Rickard Green
* maint: Add .appup file
2014-12-08Add .appup fileRickard Green
2014-11-25[jinterface] cleanup code according to new styleVlad Dumitrescu
2014-11-25[jinterface] add Eclipse projects and settingsVlad Dumitrescu
For other IDEs, use these as reference. In short, the formatting style is: - indentation uses only spaces; each level is 4 positions - no trailing whitespace - mostly default Java style formatting (any difference is minor) - always use {} - use 'final' as much as possible
2014-10-01Merge branch 'vladdu/jinterface_code_cleanup/OTP-12211' into maintMarcus Arendt
* vladdu/jinterface_code_cleanup/OTP-12211: fix warning: Socket's InputStream not closed silence 'potential resource leak' warnings don't warn about some unused fields/variables handle warnings about potential null pointers keep all method parameters final renamed method parameters hiding fields add 'break' statements to make compiler happy remove warnings from OtpMD5 rename OtpNode.flags to connFlags rename OtpNode.Acceptor.port to acceptorPort rename field 'self' to 'localNode' mark deprecated unused private constructor simplify 'if' statements remove warnings: @Override, switch fall-through make serialVersionUID fields private remove unnecessary syntax (casts) remove unused variables removed unnecessary semicolons, imports, labels remove unnecessary null pointer checks remove unnecessary Cloneable and Serializable
2014-10-01Merge branch 'vladdu/jinterface_findbugs/OTP-12210' into maintMarcus Arendt
* vladdu/jinterface_findbugs/OTP-12210: OtpErlangList.clone must not return null handle empty .erlang.cookie without crashing
2014-09-30Merge branch 'maint-17' into maintHenrik Nord
Conflicts: OTP_VERSION lib/ssh/test/ssh_connection_SUITE.erl
2014-09-29Prepare releaseErlang/OTP
2014-09-25Merge branch 'vladdu/jinterface_enable_warnings' into maintMarcus Arendt
* vladdu/jinterface_enable_warnings: let Java compiler output all warnings
2014-09-19Add erl_interface and jinterface .app filesRickard Green
2014-09-15Update release notesErlang/OTP
2014-09-15Update version numbersErlang/OTP
2014-09-12OtpErlangList.clone must not return nullVlad Dumitrescu
2014-09-12handle empty .erlang.cookie without crashingVlad Dumitrescu
2014-09-11fix warning: Socket's InputStream not closedVlad Dumitrescu
The warning is issued if we assign the stream to a variable. The stream is getting closed together with the socket.
2014-09-11silence 'potential resource leak' warningsVlad Dumitrescu
OtpInputStream and OtoOutputStream don't need closing (they are ByteArray*Streams)
2014-09-11don't warn about some unused fields/variablesVlad Dumitrescu
2014-09-11handle warnings about potential null pointersVlad Dumitrescu
2014-09-11keep all method parameters finalVlad Dumitrescu
2014-09-11renamed method parameters hiding fieldsVlad Dumitrescu
2014-09-11add 'break' statements to make compiler happyVlad Dumitrescu
2014-09-11remove warnings from OtpMD5Vlad Dumitrescu
2014-09-11rename OtpNode.flags to connFlagsVlad Dumitrescu
was colliding to AbstractNode.flags
2014-09-11rename OtpNode.Acceptor.port to acceptorPortVlad Dumitrescu
was colliding with OtpLocalNode.port
2014-09-11rename field 'self' to 'localNode'Vlad Dumitrescu
field 'OtpLocalNode self' was colliding with 'OtpSelf self' in OtpConnection
2014-09-11mark deprecated unused private constructorVlad Dumitrescu
2014-09-11simplify 'if' statementsVlad Dumitrescu
2014-09-11remove warnings: @Override, switch fall-throughVlad Dumitrescu
2014-09-11make serialVersionUID fields privateVlad Dumitrescu
2014-09-11remove unnecessary syntax (casts)Vlad Dumitrescu
2014-09-11remove unused variablesVlad Dumitrescu
2014-09-11removed unnecessary semicolons, imports, labelsVlad Dumitrescu
2014-09-11remove unnecessary null pointer checksVlad Dumitrescu
2014-09-11remove unnecessary Cloneable and SerializableVlad Dumitrescu
2014-09-10let Java compiler output all warningsVlad Dumitrescu
2014-08-25Merge branch 'vladdu/jinterface_fun_equals' into maintBruce Yinhe
OTP-12121 * vladdu/jinterface_fun_equals: jinterface: fix bug in equality for OtpErlangFun
2014-07-21jinterface: fix bug in equality for OtpErlangFunVlad Dumitrescu
Arrays (here: md5 and freeVars) must not be compared with equals, which is broken.
2014-07-16Include the cause when raising a new IOExceptionGarret Smith
2014-07-09Merge branch 'nox/fix-javadoc' into maintBruce Yinhe
OTP-12050 * nox/fix-javadoc: Fix a few javadoc errors
2014-06-08Fix a few javadoc errorsAnthony Ramine
Reported-by: Boris Mühmer
2014-06-02jinterface: OtpInputStream exceptions show useless valueVlad Dumitrescu
Arrays have no meaningful toString method, but one must use Arrays.toString instead. The meaningless value would look for example like "[C@16f0472", instead of "[2,4]".