Added statement to send end of transmission (ASCII 4) before close for
non-Windows PTY.
Change-Id: If98848a833f7619ce93277d05d39f3ba986a3cf4
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
There are a number of requests to support serial port independent of
CDT and independent of Eclipse. Putting the serial port into it's
own plug-in so it's jar can be loaded into pure Java apps.
Change-Id: I9b35d9bedeee0a0b1c16ad1c884830894320a726
Not checking the binaries in until I get closer to the end. Still some
API changes I want to make to do more buffering.
Done as a Visual Studio 2013 project. I also brough winreg into that
sln file as I though I had to make a change in it but didn't in the
end. But really should bring them all.
Change-Id: I6e7d472763381cdc0ae558d8cd63993bb0460457
Signed-off-by: Doug Schaefer <dschaefer@qnx.com>
Java classes are defined and a pretty simple native library for
Mac is there. Tested with Arduino so I know reading works. This
implementation should work for Linux as well. Windows is going to
be the hard one.
Not checking in the binaries yet until I get more testing with them.
Also remove ppc native libraries for Mac since that hasn't been
supported in a long time.
Change-Id: If4ffbc6e73a7656a47c2f45b875be0842c482b05
After studying in more detail how the org.eclipse.core.runtime /
org.eclipse.equinox.common bundles deal with the split package
situation, I believe that our split package declaration must be
fixed in MANIFEST.MF or there is risk that an "import-package" client
would be wired by OSGi against the wrong bundle.
Also reduced the minimum execution environment of the native bundle
to J2SE-1.5 such that it is more widely usable across a broader range
of possible aadopters.
Change-Id: I6dfc0c67987203810a3fd75d49a5f26bb7ee30c1
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
Reviewed-on: https://git.eclipse.org/r/27581
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
The org.eclipse.cdt.core.native plugin has been renamed from
org.eclipse.cdt.core.spawner but that has left a couple inconsistencies
which are fixed with this commit:
1. Rename o.e.cdt.internal.core.spawner package -> natives package
Note that renaming the package to "native" was not possible since
"native" is a Java keyword, thus I chose "natives"
2. Rename CSpawnerPlugin -> CNativePlugin, update win32 fragment
3. Fix PLUGIN_ID for proper logging with IStatus
4. Fix MANIFEST.MF export-package;split declaration
5. Add "version" spec on "export-package" for pty and spawner packages
6. Rename "utils" source folder to "src" as this is standard practice
7. Remove "spawner" from the list of Javadoc plugins in cdt.core
Change-Id: Ie5d1112d3f2da120dd5b1446cb6a137382226f0f
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
Reviewed-on: https://git.eclipse.org/r/27346
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Native more accurately reflects what we've put there. They're native
utilities that can be reused by other Eclipse bundles to access
native services.
Also fixed up the cdt 4.4 target which had fixed version numbers for
some of the dependencies and used RSE out of the Luna repo instead
of their latest milestones.
Change-Id: I259aa9e92212409378679a8c61bf2fffd05c67a2
Reviewed-on: https://git.eclipse.org/r/27304
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>