| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Native pascal strings shall be just treated as normal Java strings on the Java side.
Hence drop the length parameter across generated API, i.e.
- C Function bindings
- Java Callbacks
|
|
|
|
| |
Double quoting of the exe-file for execution is only allowed and required on Window.
|
|
|
|
|
|
|
|
|
|
|
| |
If the temp path contains parenthesis on Windows, e.g. the username or the sub-temp folder,
the used exeTestFile.getCanonicalPath() can't be used by 'Runtime.getRuntime().exec( path )'.
Example: C:\Users\(ABC)abc\AppData\Local\Temp
Output: Exe-Tst: 'C:\Users\' is not recognized as an internal or external command, operable program or batch file.
Hence the complete canonical path must be quoted, i.e.
Path: "C:\Users\(ABC)abc\AppData\Local\Temp"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
native library path, supported throughout DynamicLibraryBundle[Info]
Motivation: It is helpful to retrieve the actually used native library pathname,
since loading a library w/o absolute path but lookup through LD_LIBRARY_PATH
may render it hard for the user to determine which library is used.
+++
+++
Windows implementation simply can use GetModuleFileNameA() with the native library handle.
POSIX implementation may utilize a symbol-name to retrieve its address within the
loading native library used to retrieved the library information
via dladdr().
To support this feature throughout DynamicLibraryBundle and DynamicLibraryBundleInfo,
the custom DynamicLibraryBundleInfo specializations shall provide
optional symbol-names per each tool-library-name for the POSIX implementation,
see above.
public interface DynamicLibraryBundleInfo {
...
/**
* Returns optional list of optional symbol names per {@link #getToolLibNames()}
* in same order for an OS which requires the symbol's address to retrieve
* the path of the containing library.
*/
public List<String> getSymbolForToolLibPath();
...
}
|
| |
|
| |
|
|
|
|
|
|
|
| |
last PTS value against System Clock Reference (SCR)
This allows passing through actual SCR with the PTS when enqueueing audio frames
and utilizing it when querying actual time lapsed PTS value (interpolation SCR to currentMillis).
|
| |
|
|
|
|
| |
for PTS and duration, i.e. good for 24.855 days
|
|
|
|
|
|
|
|
| |
current monotonic milliseconds **since start of this application**
Also added TSPrinter, a simple millisecond timestamp prepending `print*()` wrapper for a {@link PrintStream}.
Test coverage via TestClock01.
|
|
|
|
| |
access the last buffered audio pts
|
| |
|
|
|
|
| |
Last review editting I hope :)
|
|
|
|
| |
usability, as well as getScheme(String), isValidScheme(String), isFileScheme(String) and isHttpxScheme(String)
|
|
|
|
| |
changes, using bitfield state (earmarked to be used within GLMediaPlayerImpl etc)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
thread with an optional minimum execution duration
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
using markdown -> manual/index.md and add conversion recipes + make/scripts/md2html_update.sh
Noyte: Additionally edited 'doc/misc/macos_nativelib_dependencies.md`
to include `Use explicit OpenJDK/Temurin JDK `java` executable path`
as a workaround to pass `DYLD_LIBRARY_PATH` to `/usr/bin/java`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add following configuration :
* CustomJNICode
* ExtendedInterfaceSymbolsIgnore
* ExtendedInterfaceSymbolsOnly
* ExtendedImplementationSymbolsIgnore
* ExtendedImplementationSymbolsOnly
* ExtendedIntfAndImplSymbolsIgnore
* ExtendedIntfAndImplSymbolsOnly
* MaxOneElement
* ParentClass
* ReturnsStringOnly
Update following configuration :
* Extends
|
| |
|
| |
|
| |
|
|
|
|
| |
TestJCPP and new TestCParser
|
|
|
|
| |
defines, include native expression
|
|
|
|
|
|
| |
'patternCPPOperand'
i.e. all supported operands used for constant-expression of define macros.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`additiveExpr` and `unaryExpr` consume the '-' operator
n GlueGen commit 10032c0115f2794a254cffc2a1cd5e48ca8ff0b8 in branch JOGL_2_SANDBOX
Ken hacked in consuming a '-' prefix to have negative numbers covered by 'Number'.
This is wrong, as it breaks deduction of `additiveExpr` and 'unaryExpr' rules,
which want to consume '-' and '+'.
The latter is used to completely resolve constant expressions
starting from the 'constExpr' rule.
See ISO 9899:202x Programming Language - C
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2596.pdf
|
| |
|
|
|
|
| |
'-' and in a subdir containing a '-'
|
|\ |
|
| |
| |
| |
| | |
of java callback implementation
|
|\ \
| | |
| | |
| | | |
'Mathieu_Fery/1446-parent-class-directives-issue-with-if-and-impl'
|
| |/
| |
| |
| | |
When both classExtended and interfaces are specified for given class space missing between classExtended and implements keyword
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2abb40b0ca9a6a06bdbe3e66b4235301ed15c693; Updated GlueGen_Mapping.md
Original comment of commit 2abb40b0ca9a6a06bdbe3e66b4235301ed15c693
wip(test_case): Example of test case for issue related of 927bbc7160a812bb29c0e7120d4a3009bfb13bbf
Revised comment taken from unmerged updated branch f6de3646acf0fdadf55708fd8a1c42fbd8663bc5
wip(test_case): Example of test case for issue related of 927bbc7160a812bb29c0e7120d4a3009bfb13bbf
Some short summary of modifications :
* Add tests with each emitters for test2, but tests are shared and run for each emitters
* Update JavaParser.g to allow parsing of bindings generated after test2 processing
* Add basic management of generic type (But not yet retrieved inside classTypeSpec args)
* Add basic management of annotations (with or w/o parameter(s)) (Retrieved in statement, classes and interfaces but not used)
* Align lexer constants in JavaParser.g
* Update JavaParser.g to allow fetching all inner classes and inner interfaces to allow excluding by ExtendedInterfaceSymbolsIgnore
* Modify JavaConfiguration::requiresJavaCallbackCode because all callback need to force generation not only callback without user param
* Functions not generated w/o JavaConfiguration::requiresJavaCallbackCode :
* SetLogCallBack12a
* SetLogCallBack12b
* MessageCallback11b
* alBufferCallback0
|
| |
|
|
|
|
| |
path in unit test script for library-path
|
|
|
|
| |
intermediate 'Test' for supporting, non-test classes
|
|
|
|
| |
intermediate 'Test' for supporting, non-test classes
|
|
|
|
| |
'Test' for supporting, non-test classes
|
|
|
|
|
|
| |
JavaCallback cases no just non-userParam case
Additional body code for JavaCallback is required for methods it.
|
|
|
|
|
|
| |
to load the tool library dynamically, hence dropped.
Just ensure GlueGen itself is initializes via Platform.initSingleton() in common BaseClass
|