Commit Graph
2101 Commits
Author SHA1 Message Date
bigguy345 106f886e83 Made JS 'number' primitive 2026-03-06 02:24:47 +02:00
bigguy345 c1b298e46d In JS enriched String/Object types with ES5.1 unique members added in .d.ts files 2026-03-06 01:55:06 +02:00
bigguy345 1d1962603b Merge remote-tracking branch 'origin/syntax-highlighter-unified' into syntax-highlighter-unified 2026-03-06 00:15:41 +02:00
bigguy345 18f614d142 Parsed static .d.ts members properly 2026-03-05 22:50:30 +02:00
bigguy345 f0770fb7fc Checked static context 2026-03-05 22:47:54 +02:00
bigguy345 3172e6673f Implemented ES5.1 global functions 2026-03-05 21:12:50 +02:00
bigguy345 eaedb1b88f Added array.length and array.clone() to TypeInfo arrays 2026-03-05 20:25:38 +02:00
bigguy345 100ed4ecdd Adjusted package name consistency + removed [] for arrays 2026-03-05 19:02:39 +02:00
bigguy345 7c3b823ce1 Change globalEngineImports structure 2026-03-05 18:53:43 +02:00
bigguy345 61d1efe943 Unused 2026-03-05 18:51:46 +02:00
bigguy345 4d2938ac81 Added proper generics to autocomplete menu i.e List<String> is now rendered with proper colors for List, String and <> 2026-03-05 18:50:33 +02:00
bigguy345 d762f21c54 Fixed hover bug 2026-03-05 18:47:40 +02:00
bigguy345 0a42ea6d57 Proper array syntax highlight colors for editor/hover info/autocomplete are finally implemented i 2026-03-05 17:32:07 +02:00
bigguy345 ad2c8c89c1 Array syntax is now functional and resolves i.e. 'items[i].getName()' 2026-03-05 16:07:39 +02:00
bigguy345 131f0e2d74 Treated "Object" as universally compatible in JS (methods requiring int accepts Object) 2026-03-05 13:53:01 +02:00
bigguy345 5899ea7932 Treated all java primitive numbers as universally compatible in JS (methods requiring int accept float/double) 2026-03-05 13:40:00 +02:00
bigguy345 8539fe96a4 Fix DTSJSDocParser not working for files like RegExp and String (removed artificial window) 2026-03-05 13:24:49 +02:00
bigguy345 8996f2b7f1 Fixed containsOperator failing for "" + Object 2026-03-05 13:10:29 +02:00
Kam 1885308639 Merge branch 'dev' into syntax-highlighter-unified 2026-03-05 04:42:28 -05:00
Kam 37d4b97a44 Ability Checking 2026-03-05 03:15:47 -05:00
Kam dbca3da639 Fix some Packet / Language Handling for Race Condition 2026-03-05 01:37:44 -05:00
Kam 6007b49271 Fix Texture Pathing Removing Icons 2026-03-05 00:53:19 -05:00
bigguy345 66c4b4c4c3 Tightened safety checks 2026-03-05 04:19:58 +02:00
Kam 8c8815dc45 Various Changes / Health Preservation to Request Spawn Data 2026-03-04 20:56:06 -05:00
bigguy345 8b41391a5f In JavaScript mode, assigned all integers/float/doubles/longs as 'number' instead of their java types 2026-03-05 03:51:16 +02:00
bigguy345 bfcca3e6f9 In JavaScript mode, treat java.lang.Object as "any", universally compatible with all types 2026-03-05 03:50:37 +02:00
Kam 5271f90fa9 Merge branch 'dev' into syntax-highlighter-unified 2026-03-04 20:45:46 -05:00
Kam 12cf4b9a85 Revert Script Token 2026-03-04 20:45:33 -05:00
bigguy345 9b7528f723 Fixed spaces being inappropriately stripped from parsed .d.ts JSDocs 2026-03-05 02:59:42 +02:00
bigguy345 1cf1ffd2c0 Hover Info panel padding/panning/resize adjustments
No longer stripping spaces from ``` code markdown blocks
2026-03-05 02:59:04 +02:00
bigguy345 36c2326466 Fixed the accursed backspace/enter tab multiplication bug 2026-03-05 02:36:19 +02:00
bigguy345 f02f8478da Properly scissored Autocomplete panel 2026-03-05 02:15:45 +02:00
bigguy345 0b9abf2a57 Made Autocomplete panel pannable and resizable 2026-03-05 01:52:18 +02:00
bigguy345 c537a09ad1 Made Hover Info resizable via handle at bottom right 2026-03-05 01:17:22 +02:00
bigguy345 b9b1b0725a JSDoc hover tooltip improvements: fix scissor clip, remove trailing whitespace, balance code block padding, support multi-resolution wrapping, add tooltip panning
- Trim trailing blank lines from JSDoc descriptions to remove extra bottom space
- Add tooltip panning: drag M1 anywhere on tooltip panel body to reposition it freely
2026-03-05 00:35:25 +02:00
bigguy345 2578ce1cf6 feat(hover): wire tooltip scrollbar drag into GuiScriptTextArea input handling
- drawTextBox: update scrollbar drag each frame via Mouse.isButtonDown(0),
  release drag when button lifted (mirrors existing ScrollState pattern)
- mouseClicked: intercept LMB on tooltip scrollbar thumb before text interaction

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)
Co-authored-by: Sisyphus <[email protected]>
2026-03-04 22:56:10 +02:00
bigguy345 58f86058d4 feat(hover): scrollbar drag/hover-highlight, smooth scroll, compact blank-line spacing
- HoverState: add smooth-scroll lerp (updateSmoothScroll, targetScrollOffset),
  scrollbar thumb bounds (setScrollbarThumb), click/drag/release state methods,
  and fix broken scrollTooltip/getTooltipScrollOffset/resetTooltipScroll methods
  that referenced the deleted int field
- TokenHoverRenderer: call updateSmoothScroll each frame; store thumb bounds
  for drag+hover detection; highlight thumb on hover/drag; reduce empty
  DocumentationLine height from lineHeight+LINE_SPACING to lineHeight/2

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)
Co-authored-by: Sisyphus <[email protected]>
2026-03-04 22:54:38 +02:00
bigguy345 24af603ce1 Java/Janino editor fixes and improvements:
- Fixed clicking and adding hooks not properly resolving added types like INpcEvent.CollideEvent

- Imported wildcards of all available events in the given context.
  i.e ScriptContext NPC has INpcEvent,IProjectileEvent,IAbilityEvent,etc.. as available wildcard imports

- Added nested types to autocomplete of outer classes so INpcEvent. shows InitEvent, UpdateEvent, InteractEvent,etc...

- Added wildcard imports to autocomplete
2026-03-04 15:08:30 +02:00
bigguy345 784fb8da65 feat(hover): markdown-aware JSDoc description rendering with heading and code colors 2026-03-04 14:11:46 +02:00
bigguy345 f08e97af1f fix(jsdoc): preserve newlines in JSDoc description and tag continuation 2026-03-04 14:05:20 +02:00
bigguy345 60fc7ec252 Add ECMAScript 5.1 global imports like Math/JSON/Date/Number 2026-03-04 13:21:40 +02:00
bigguy345 2821b5da09 Merge remote-tracking branch 'origin/syntax-highlighter-unified' into syntax-highlighter-unified 2026-03-04 12:54:29 +02:00
Kam 9e68943b7e Merge branch 'dev' into syntax-highlighter-unified 2026-03-03 22:32:38 -05:00
Kam 2ba2372bde Fix some Selection Handling for Abilities 2026-03-03 21:56:17 -05:00
Kam 513956062d Merge branch 'dev' into syntax-highlighter-unified 2026-03-03 20:30:02 -05:00
Kam 6f6e080ee0 Add Better Info Panel and Display Damage to Abilities 2026-03-03 16:32:16 -05:00
Kam d9f100d245 Cleanup Damage Handling Logic for CNPC+ and DBC Addon for better readability / context. Added Magic Data Support to Abilities 2026-03-03 14:55:50 -05:00
Kam 7df1cfbfb9 Script Token Handling 2026-03-03 01:58:45 -05:00
Kam c16aae75e2 Merge branch 'dev' into syntax-highlighter-unified 2026-03-02 16:38:44 -05:00
Kam dfa6ccb350 Fixes to some Script Handling 2026-03-02 16:38:35 -05:00