You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds the cross-platform lightweight text-input bridge, editor document/rendering models, rich-text interchange, undo/redo, bidi/IME handling, touch selection, and optional lightweight editing for TextArea and TextField.
Moves the expanded editor documentation into its own developer-guide chapter and refreshes the editor screenshots and platform goldens.
Reworks the Playground source panes to use TextArea.setLightweightEditingEnabled(true) through PlaygroundLightweightEditor.
Removes the embedded browser editor implementation and its bundled assets from the repository. There are zero tracked matches for the removed editor engine name.
Why
PR #5378 was merged before the final CI result and then reverted. This replacement reapplies the final reviewed feature diff as one clean commit on the post-revert master, while preserving the centered-dialog test registrations added afterward.
The Playground now dogfoods the same lightweight editing API exposed to applications instead of maintaining a separate browser-based editor stack.
Validation
Full Playground smoke suite:
generated API registry checks passed
lightweight editor opt-in check passed
desktop and mobile layout harnesses found the lightweight TextArea source editor
Compared 146 screenshots: 146 matched.
Native Windows port, REAL shipping pipeline: the hellocodenameone screenshot suite rendered by a binary CROSS-COMPILED on Linux (clang-cl + xwin, WebView2 linked) and RUN on a Windows x64 runner. Compared against the in-repo baseline in scripts/windows/screenshots.
Benchmark Results
Detailed Performance Metrics
Metric
Duration
SIMD kernel backend
SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300)
java 47ms / native 3ms = 15.6x speedup
SIMD float-mul (64K x300)
java 46ms / native 2ms = 23.0x speedup
SIMD kernel correctness
PASS (native result == scalar reference)
Base64 native bridge
unavailable (CN1 + SIMD + image benchmarks only)
Base64 payload size
8192 bytes
Base64 benchmark iterations
6000
Base64 SIMD byte path
gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Compared 146 screenshots: 146 matched.
Native Windows port (x64 / Intel-AMD): full hellocodenameone screenshot suite rendered offscreen with Direct2D/DirectWrite, plus the real benchmarks (base64 native/CN1/SIMD, image createMask/applyMask/modifyAlpha/PNG/JPEG, SSE2 SIMD kernels). Compared against the in-repo baseline in scripts/windows/screenshots.
Benchmark Results
Detailed Performance Metrics
Metric
Duration
SIMD kernel backend
SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300)
java 60ms / native 4ms = 15.0x speedup
SIMD float-mul (64K x300)
java 59ms / native 3ms = 19.6x speedup
SIMD kernel correctness
PASS (native result == scalar reference)
Base64 native bridge
unavailable (CN1 + SIMD + image benchmarks only)
Base64 payload size
8192 bytes
Base64 benchmark iterations
6000
Base64 SIMD byte path
gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Compared 146 screenshots: 146 matched.
Native Windows port (arm64 / Apple Silicon - Arm): full hellocodenameone screenshot suite rendered offscreen with Direct2D/DirectWrite, plus the real benchmarks (base64 native/CN1/SIMD, image createMask/applyMask/modifyAlpha/PNG/JPEG, NEON SIMD kernels). Compared against the in-repo baseline in scripts/windows/screenshots.
Benchmark Results
Detailed Performance Metrics
Metric
Duration
SIMD kernel backend
SSE2 (x64) / NEON (arm64) native kernels
SIMD int-add (64K x300)
java 55ms / native 3ms = 18.3x speedup
SIMD float-mul (64K x300)
java 56ms / native 3ms = 18.6x speedup
SIMD kernel correctness
PASS (native result == scalar reference)
Base64 native bridge
unavailable (CN1 + SIMD + image benchmarks only)
Base64 payload size
8192 bytes
Base64 benchmark iterations
6000
Base64 SIMD byte path
gated to scalar (CPU autovectorizes scalar; explicit SIMD not beneficial here)
Compared 147 screenshots: 147 matched.
Native Linux port (x64), GTK3/Cairo/Pango, ParparVM bytecode-to-C (no JVM): the hellocodenameone screenshot suite rendered by a native ELF built + run on the GitHub x64 runner. Baseline: scripts/linux/screenshots.
Compared 147 screenshots: 147 matched.
Native Linux port (arm64), GTK3/Cairo/Pango, ParparVM bytecode-to-C (no JVM): the hellocodenameone screenshot suite rendered by a native ELF built + run on the GitHub arm64 runner. Baseline: scripts/linux/screenshots-arm.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
masterafter the revert in Revert "Pure Codename One rich text and code editors (remove BrowserComponent)" #5385.TextAreaandTextField.TextArea.setLightweightEditingEnabled(true)throughPlaygroundLightweightEditor.Why
PR #5378 was merged before the final CI result and then reverted. This replacement reapplies the final reviewed feature diff as one clean commit on the post-revert
master, while preserving the centered-dialog test registrations added afterward.The Playground now dogfoods the same lightweight editing API exposed to applications instead of maintaining a separate browser-based editor stack.
Validation
TextAreasource editorThis replaces #5378.