Commit Graph
4695 Commits
Author SHA1 Message Date
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 bee84a622c Merge branch 'dev' into syntax-highlighter-unified 2026-03-05 00:50:59 +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 e8b0c6a542 Merge remote-tracking branch 'origin/syntax-highlighter-unified' into syntax-highlighter-unified 2026-03-05 00:32:34 +02:00
Kam e4033481bc Better Script Session Token Handling 2026-03-04 17:28:45 -05:00
Kam 88d8af8b96 Revert "Crazy Logging for Health Spam Debugging"
This reverts commit a981060e9e.
2026-03-04 17:28:23 -05:00
Kam cf49d9a778 Revert "Fix Timer not being able to be called from a Spawning NPC [Revert if not working]"
This reverts commit d1b32ea8a1.
2026-03-04 17:28:18 -05:00
Vidal bed959c658 ConditionCompare abstraction for Skill and DBCLevel 2026-03-04 19:27:27 -03:00
Kam c5cd2d7ce1 Merge branch 'dev' into syntax-highlighter-unified 2026-03-04 16:21:29 -05:00
Kam 5a879cd6a5 Beta 13.1 2026-03-04 16:21:22 -05:00
Kam d3346111c7 Animation Resync on Teleport 2026-03-04 16:19:42 -05:00
Kam a981060e9e Crazy Logging for Health Spam Debugging 2026-03-04 16:05:09 -05:00
Kam d1b32ea8a1 Fix Timer not being able to be called from a Spawning NPC [Revert if not working] 2026-03-04 15:59:41 -05: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 789c7f5317 faaah 2026-03-04 13:00:50 +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 bd9d56943e Fix Push Through wall Teleport Logic for Barriers 2026-03-04 04:32:54 -05:00
Kam b72e6e3466 Update EffectScriptPacket.java 2026-03-04 02:02:54 -05:00
Kam 2eecf9c230 Merge branch 'dev' into syntax-highlighter-unified 2026-03-03 23:01:37 -05:00
Kam 2f33abc75c 1.11 Beta 13 2026-03-03 23:01:03 -05:00
Kam 556d7daa13 Fix Script Contexts 2026-03-03 22:53:18 -05:00
Kam 9e68943b7e Merge branch 'dev' into syntax-highlighter-unified 2026-03-03 22:32:38 -05:00
Kam 307a029995 Fix Script Ability System on Create not Available 2026-03-03 22:31:32 -05:00
Kam 54e0ca6510 Fix Instanced Abilities Reloading per Usage 2026-03-03 22:15:49 -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 b59f0b8f2f Energy Explosion API and some changes to Energy Projectile API 2026-03-03 17:11:12 -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 c3096b320e Fix Critical and Attribute Handling for CNPC+ and DBC Addon 2026-03-03 04:06:34 -05:00
Kam 159b740f39 Fix Panel Redirection 2026-03-03 03:11:41 -05:00
Kam 9f311903e0 Update Modules 2026-03-03 02:02:27 -05:00
Kam ee192a247f Better API Handling for Scripting Energy Utilitizes / Damage Handling 2026-03-03 02:02:13 -05:00
Kam 572a51ad32 Better API Handling for Scripting Energy Utilitizes / Damage Handling 2026-03-03 02:02:05 -05:00
Kam 7df1cfbfb9 Script Token Handling 2026-03-03 01:58:45 -05:00
Kam 6489f75b7d Fix DBC Damage for Panel, Sweeper, Zones 2026-03-03 00:36:45 -05:00
Kam dad49f1867 Add Track Delay and Anchor Handling 2026-03-02 20:09:32 -05:00
Kam 36aab9e86e Fix Some LOGIC!!!! 2026-03-02 18:29:39 -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
Kam 702dec9c40 Small Bug Fixes to Flight, Command Handling, Linked Items 2026-03-02 15:23:54 -05:00
bigguy345 a5ffe34c2d feat(script-editor): apply receiver generic type args to legacy Object params in JDK collection methods
This change enables the script editor to display and validate generic type arguments
for method parameters that are erased to Object in Java's built-in collection interfaces.

MOTIVATION
----------
Java's Map, Collection, List, Deque, and concurrent variants use Object-typed parameters
(e.g., Map.get(Object), Collection.contains(Object)) for backward-compatibility reasons.
When the receiver is parameterized (e.g., HashMap<String, Integer>), the editor should
show get(String) instead of get(Object) to provide better hints and stricter validation.

IMPLEMENTATION
--------------
New GenericParameterAdapter utility (contract-level rules, NOT per-concrete-class):
- Covers 8 JDK collection contracts exhaustively (Map, ConcurrentMap, Collection, List,
  Set, Deque, BlockingQueue, BlockingDeque)
- 35+ rules total mapping erased Object params to appropriate type arguments (K, V, or E)
- Integrated into MethodInfo.fromReflection() so all code paths (autocomplete, hover,
  validation) use the same adapted parameter types
- Hover signature rendering now routes through MethodInfo for parameterized receivers,
  ensuring consistency with autocomplete

Related-to: Generic type argument substitution framework (TypeSubstitutor, GenericContext)
which already applied V correctly; this extends that same mechanism to K/E for the
JDK's intentionally-erased-for-compatibility method parameters.
2026-03-02 17:11:52 +02:00