Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PTS: Add copy constructor | Sven Gothel | 2023-10-16 | 1 | -0/+5 |
| | |||||
* | PTS: get(currentMillis): Employ rounding in integer conversion | Sven Gothel | 2023-10-16 | 1 | -2/+2 |
| | |||||
* | Bug 1472: Enhance AV Sync: Pass through PTS object in AudioSink, tracking ↵ | Sven Gothel | 2023-10-15 | 4 | -19/+159 |
| | | | | | | | 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). | ||||
* | AudioSink: Rename getQueued{Time->Duration}(), add updateQueue() | Sven Gothel | 2023-10-06 | 3 | -4/+22 |
| | |||||
* | AudioSink/TimeFrame1: API doc: Add notes about integer stored milliseconds ↵ | Sven Gothel | 2023-10-06 | 2 | -7/+39 |
| | | | | for PTS and duration, i.e. good for 24.855 days | ||||
* | Clock/Platform: Add currentMillis() analogue to currentNanos(), returning ↵ | Sven Gothel | 2023-10-06 | 5 | -9/+277 |
| | | | | | | | | 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. | ||||
* | AudioSink: Just pass a finte buffer size (KISS), add getLastBufferedPTS() to ↵ | Sven Gothel | 2023-10-04 | 3 | -67/+52 |
| | | | | access the last buffered audio pts | ||||
* | WorkerThread.start(paused): Merge RUNNING | ACTIVE | Sven Gothel | 2023-09-22 | 1 | -1/+1 |
| | | | | Last review editting I hope :) | ||||
* | Uri: Added `Uri tryUriOrFile(final String uri_s)` for convenience / ↵ | Sven Gothel | 2023-09-22 | 1 | -0/+56 |
| | | | | usability, as well as getScheme(String), isValidScheme(String), isFileScheme(String) and isHttpxScheme(String) | ||||
* | WorkerThread: Enhanced testing, added optional StateCallback for state ↵ | Sven Gothel | 2023-09-22 | 2 | -134/+605 |
| | | | | changes, using bitfield state (earmarked to be used within GLMediaPlayerImpl etc) | ||||
* | WorkerThread: Remove minDelayMS field, have it in Runnable branch only | Sven Gothel | 2023-09-21 | 1 | -3/+2 |
| | |||||
* | WorkerThread: Fix minDelayMS assignment using validated field value | Sven Gothel | 2023-09-21 | 1 | -1/+1 |
| | |||||
* | WorkerThread: Add optional minDelay to throttle excecution | Sven Gothel | 2023-09-21 | 2 | -24/+57 |
| | |||||
* | WorkerThread: Move 'streamErr' Exception to local Runnable | Sven Gothel | 2023-09-20 | 1 | -1/+1 |
| | |||||
* | Add WorkerThread: A re-start'able, pause'able and interrupt'able worker ↵ | Sven Gothel | 2023-09-20 | 2 | -0/+490 |
| | | | | thread with an optional minimum execution duration | ||||
* | InterruptSource.Thread: Add ctor variant w/ sole Runnable argument (was missing) | Sven Gothel | 2023-08-23 | 1 | -0/+7 |
| | |||||
* | GlueGen: 'from expression' -> 'with expression' | Sven Gothel | 2023-08-10 | 1 | -1/+1 |
| | |||||
* | Bug 1450: TestCParser: Enable test10_cc() w/o JCPP | Sven Gothel | 2023-08-10 | 1 | -1/+1 |
| | |||||
* | Bug 1450: Add test snippets covering the issues: test2.h for Bindingtest2, ↵ | Sven Gothel | 2023-08-10 | 5 | -11/+367 |
| | | | | TestJCPP and new TestCParser | ||||
* | Bug 1450: Be more verbose w/ JavaEmitter comment lines for enums and ↵ | Sven Gothel | 2023-08-10 | 2 | -4/+9 |
| | | | | defines, include native expression | ||||
* | Bug 1450: Widen ConstantDefinition.isConstantExpression() to include ↵ | Sven Gothel | 2023-08-10 | 1 | -2/+4 |
| | | | | | | 'patternCPPOperand' i.e. all supported operands used for constant-expression of define macros. | ||||
* | Bug 1450: Fix 'Number' rule, i.e. only consume positive numbers as ↵ | Sven Gothel | 2023-08-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | `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 | ||||
* | ANTLR Syntax: Add debugging facility for GnuCParser.g and StdCParser.g | Sven Gothel | 2023-08-10 | 2 | -9/+29 |
| | |||||
* | TestJCPP: Add recursive-include test and include a header file starting with ↵ | Sven Gothel | 2023-08-08 | 4 | -9/+53 |
| | | | | '-' and in a subdir containing a '-' | ||||
* | Merge remote-tracking branch 'Mathieu_Fery/1447-java-wildcard-parsing' | Sven Gothel | 2023-08-08 | 1 | -1/+7 |
|\ | |||||
| * | feat(generation): Fix generic parsing inside JavaParser.g to allow parsing ↵ | Mathieu Féry | 2023-08-08 | 1 | -1/+7 |
| | | | | | | | | of java callback implementation | ||||
* | | Merge remote-tracking branch ↵ | Sven Gothel | 2023-08-08 | 1 | -0/+1 |
|\ \ | | | | | | | | | | 'Mathieu_Fery/1446-parent-class-directives-issue-with-if-and-impl' | ||||
| * | | feat(generation): Fix CodeGenUtils.emitJavaHeaders | Mathieu Féry | 2023-08-08 | 1 | -0/+1 |
| |/ | | | | | | | When both classExtended and interfaces are specified for given class space missing between classExtended and implements keyword | ||||
* | | Drop PCPP, GlueGen exclusively uses JCPP; Adopt test case Test{P->J}CPP | Sven Gothel | 2023-08-08 | 5 | -1426/+26 |
| | | |||||
* | | Bump jcpp (merged w/ jcpp upstream v1.4.14) and adopt to changes | Sven Gothel | 2023-08-08 | 1 | -2/+5 |
|/ | |||||
* | Minor cleanup (includes, spacing) | Sven Gothel | 2023-08-05 | 5 | -12/+1 |
| | |||||
* | Cleanup unit test class names (pt3): Try to start w/ 'Test', remove ↵ | Sven Gothel | 2023-08-05 | 1 | -3/+3 |
| | | | | intermediate 'Test' for supporting, non-test classes | ||||
* | Cleanup unit test class names (pt2): Try to start w/ 'Test', remove ↵ | Sven Gothel | 2023-08-05 | 16 | -23/+23 |
| | | | | intermediate 'Test' for supporting, non-test classes | ||||
* | Cleanup unit test class names: Try to start w/ 'Test', remove intermediate ↵ | Sven Gothel | 2023-08-05 | 9 | -0/+0 |
| | | | | 'Test' for supporting, non-test classes | ||||
* | JavaConfiguration.requiresJavaCallbackCode() shall return true for all ↵ | Sven Gothel | 2023-08-05 | 1 | -1/+1 |
| | | | | | | JavaCallback cases no just non-userParam case Additional body code for JavaCallback is required for methods it. | ||||
* | GlueGen Code Unit Tests using a statically linked tool library do not need ↵ | Sven Gothel | 2023-08-05 | 4 | -21/+4 |
| | | | | | | to load the tool library dynamically, hence dropped. Just ensure GlueGen itself is initializes via Platform.initSingleton() in common BaseClass | ||||
* | WIP JavaCallback Tests: Fix Test4p2JavaCallback.chapter__TestLoadLibrary() ↵ | Sven Gothel | 2023-08-05 | 1 | -1/+1 |
| | | | | issue loadBindingtest2p2() not loadBindingtest2p1() | ||||
* | WIP JavaCallback Tests: Fix typo in 'CustomJavaCode' Java class target name | Sven Gothel | 2023-08-05 | 1 | -1/+1 |
| | |||||
* | WIP JavaCallback Tests: Fix: test2-CustomJavaImplCode.java.stub must be ↵ | Sven Gothel | 2023-08-05 | 1 | -2/+3 |
| | | | | 'IncludeAs' for both implementations, Bindingtest2p1Impl and Bindingtest2p2Impl | ||||
* | WIP JavaCallback Tests: Rename test2-gluegen.cfg -> test2-if.cfg | Sven Gothel | 2023-08-05 | 1 | -0/+0 |
| | |||||
* | Merge remote-tracking branch 'Mathieu_Fery/wip/test_case_callback_emission' | Sven Gothel | 2023-08-04 | 18 | -295/+835 |
|\ | |||||
| * | wip(test_case): Example of test case for issue related of ↵ | Mathieu Féry | 2023-08-04 | 18 | -295/+835 |
| | | | | | | | | | | | | 927bbc7160a812bb29c0e7120d4a3009bfb13bbf Almost done | ||||
* | | Merge remote-tracking branch ↵ | Sven Gothel | 2023-08-04 | 5 | -7/+19 |
|\ \ | | | | | | | | | | 'Mathieu_Fery/feature/prevent_callback_generation_if_setter_is_absent' | ||||
| * | | feat(callbackGenerator): Prevent generation of CallBack interface if setter ↵ | Mathieu Féry | 2023-08-04 | 5 | -7/+19 |
| | | | | | | | | | | | | related isn't present | ||||
* | | | Merge remote-tracking branch ↵ | Sven Gothel | 2023-08-04 | 1 | -4/+15 |
|\ \ \ | | | | | | | | | | | | | 'Mathieu_Fery/feat/array_accessor_with_getter_of_field_in_pascal_case' | ||||
| * | | | feat(arrayAccessor): Allow to use ReturnedArrayLength with getter associated ↵ | Mathieu Féry | 2023-08-03 | 1 | -4/+15 |
| |/ / | | | | | | | | | | with field with name in PascalCase or camelCase | ||||
* | / | Revert "JavaCallback: Remove non-UserParam ↵ | Sven Gothel | 2023-08-04 | 2 | -2/+12 |
| |/ |/| | | | | | | | | | JavaConfiguration.requiresJavaCallbackCode()" This reverts commit 927bbc7160a812bb29c0e7120d4a3009bfb13bbf. | ||||
* | | JavaCallback: Remove non-UserParam JavaConfiguration.requiresJavaCallbackCode() | Sven Gothel | 2023-08-04 | 2 | -12/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Method was encapsulated in commit d4e8ecc3b4f68b86d95ec951971a0fea20217988 and questioned whether it is required. The non-userParam callback case adds no additional code requirements. Both, callback with and without userParam shares same code path and the respective native static fields. Only that the non-userParam code path adds additional native static fields, but all code sections are produced in both cases. Passed all unit tests. | ||||
* | | JavaCallbackEmitter.emitJavaKeyClass(): Use directBufferAddress for compound ↵pulled | Sven Gothel | 2023-08-04 | 5 | -16/+259 |
| | | | | | | | | | | | | | | | | | | types in equals and hashCode, i.e. use memory identity Use case is having a compound-type as userParam, which also acts as key, see MessageCallback13, Test4JavaCallback.chapter13(). The Java compound instance is re-created using the actual identical native memory (address), which has been stored or passed in the native toolkit. | ||||
* | | JavaEmitter.bindFunction(): Add JavaCallback userParam non-void case (i.e. ↵ | Sven Gothel | 2023-08-04 | 1 | -18/+28 |
| | | | | | | | | | | | | | | | | | | 'String') Use case: String type as userParam, barely tested and not useful. However, let's pass through all cases in our code. Added LOG INFO for mapped types. |