Kristian Spangsege

Results issues of Kristian Spangsege

The Cocoa binding currently uses `[NSString initWithBytes:length:encoding:]` to convert strings from Realm core representation (UTF-8) to Cocoa representation (presumably UTF-16). The assumption here is that `initWithBytes:` respects the specified number...

In the latest release of SDL, i.e., 2.28.5, and when using the X11-based back-end, the effect of setting the minimum window size (`SDL_SetWindowMinimumSize()`) is lost if a renderer is created...

In the latest version of SDL 3 as of Nov 3, 2025 (main branch at `dc5b13693060770b36b43900347ca67ac35ababa`), and when using the X11 backend on Linux Mint 22.2, SDL_SetWindowRelativeMouseMode() appears to malfunction...

In SDL 3, and when using the X11 backend on Linux Mint 22.2 Cinnamon, when a window is unmapped and then remapped, the position of the window shifts upwards by...

tightdb_java2/tightdb_jni/src/util.hpp defines an anonymous variadic macro. Since they are not part of C++03, we should not use them. Note: Anonymous variadic macros were introduced in C99 as well as C++11.

I get a warning when the annotation processor runs because it declares that it does not understand Java source format beyond version 6. In com/tightdb/generator/CodeGenProcessor.java: @SupportedSourceVersion(SourceVersion.RELEASE_6) should probably be changed...

T-Enhancement

CodeGenProcessor.calculatePackageName() and/or its caller processAnnotatedElements() assumes that the customers code lives in a Java package. When it does not, the generator fails.

AbstractAnnotationProcessor.writeToSourceFile(), joins a package name with a class name using a "/" rather than a ".". This causes the generator to produce an invalid name for the generated source file,...

In my opinion, the code generator should not be part of tightdb.jar, because it is only needed during compilation of the customers Java code. When the customer deploys the code,...

T-Help

When code is generated 'on the fly' during compilation, it is not possible to write something like this in the application code: ``` import my.application.generated.*; ``` Because there is nothing...