Commit Graph
3333 Commits
Author SHA1 Message Date
bigguy345 a106343a0e NashornBuiltins fixes 2026-01-10 05:07:48 +02:00
bigguy345 289c78f4de Proper TypeInfo getter for synthetic type members 2026-01-10 04:34:24 +02:00
bigguy345 55ae325458 Removed duplicate class 2026-01-10 04:09:50 +02:00
bigguy345 95f550df0b Moved SubGuiSelectList to CNPC+ 2026-01-10 02:52:38 +02:00
bigguy345 9454af30cf Moved SubGuiSelectList to CNPC+ 2026-01-10 02:52:20 +02:00
bigguy345 0f27ef2628 Merge branch 'janino-scripts' into syntax-highlighter-unified 2026-01-10 00:27:53 +02:00
bigguy345 fb0332e5cf Merge branch 'dev' into janino-scripts 2026-01-10 00:19:14 +02:00
bigguy345 deec2a1986 Merge remote-tracking branch 'origin/janino-scripts' into janino-scripts 2026-01-10 00:04:12 +02:00
bigguy345 b5df6b1709 Moved all janino classes to CNPC+ janino-scripts branch 2026-01-09 23:44:07 +02:00
bigguy345 1e844444cf Colored Autocomplete items according to their token types 2026-01-09 05:11:07 +02:00
bigguy345 5c604a6919 Colored return type of members in Autocomplete menu according to their type token (Class/Interface/Enum/Primitive) 2026-01-09 04:46:47 +02:00
bigguy345 c661bc95c8 Small AutocompleteMenu draw bug 2026-01-09 04:28:58 +02:00
bigguy345 277fe3387d oops forgot important class 2026-01-09 03:00:32 +02:00
bigguy345 bfcdd3c47c - Set vars assigned with type ClassTypeInfo (e.g.Java.type("")) as static access
- Unified isStaticAccess checkers to TypeResolver.isStaticAccessExpression
2026-01-08 07:05:30 +02:00
bigguy345 176a3b6d50 - Added Java.type("") for JS API
- Added synthetic types (non-existant in java classloader and JS API, but custom defined like Nashorn's Java.type/extends/etc..
2026-01-08 06:56:41 +02:00
bigguy345 5790679048 Properly setup autocompletion member suggestion for java classes in JS API 2026-01-08 04:48:16 +02:00
bigguy345 9eb30f862a Fixed AutocompleteManager breaking in findReceiverExpression if it contains quotes "" 2026-01-08 04:20:39 +02:00
bigguy345 e45f6b7da5 Forgot this from last commit 2026-01-08 04:19:54 +02:00
bigguy345 869dda34a5 -Java class types can are now functional in JS API. (Autocomplete and marking)
-Revamped JSMethodInfo/ParamInfo/FieldInfo/TypeInfo to allow for the above change
2026-01-08 04:09:18 +02:00
bigguy345 99f7d05948 Properly resolved type parameters for autocomplete display (e.g., T → EntityPlayerMP) 2026-01-08 03:14:44 +02:00
bigguy345 2632ff4bc6 Added type parameter TypeInfo fetching to MethodInfo 2026-01-08 02:42:01 +02:00
bigguy345 7725d16e82 Implemented TypeParamInfo to TypeInfo and JSTypeInfo, and resolved all type params of JS API types after all are loaded 2026-01-08 02:23:36 +02:00
bigguy345 798e238804 Parsed generic type parameters in .d.ts files. i.e. IPlayer<T extends EntityPlayerMP> 2026-01-08 01:26:01 +02:00
bigguy345 8fb683ff2c Dynamic AutocompleteMenu dimension adjustment depending on available game window space above/below current line 2026-01-07 23:30:15 +02:00
bigguy345 b74a29dc29 Expanded namespace pattern 2026-01-07 22:47:13 +02:00
bigguy345 2311634817 Revert "Fixed StackOverflows"
This reverts commit 7d6bacb824.
2026-01-07 22:46:04 +02:00
bigguy345 7d6bacb824 Fixed StackOverflows 2026-01-07 20:31:02 +02:00
bigguy345 beefd35bd9 actually nvm 2026-01-06 04:09:25 +02:00
bigguy345 c10fa8e17e Added global engine objects to JSTypeRegistry and marked them properly as global fields 2026-01-06 04:01:19 +02:00
bigguy345 bdda92cae0 Fixed type aliases and nested interfaces not being properly read from the .d.ts files 2026-01-06 02:53:44 +02:00
bigguy345 4726c23ba1 Got refactoring func param name working for JSDoc param name 2026-01-06 02:26:27 +02:00
bigguy345 3ee6b69eb1 renamerefactor aint workin for JSDoc parameter name 2026-01-06 00:15:54 +02:00
bigguy345 edffd7aaaf JSDoc tag rendering for HoverInfo 2026-01-05 23:49:49 +02:00
bigguy345 9b1ffb4992 -Fixed JSDocTypeTag type not being marked properly
-Matched marking of JSDocParamTag name with equivalent method parameter (if exists, else UNDEFINED)
2026-01-05 23:46:46 +02:00
bigguy345 4741b58aed Fixed description not being stored for JSDocTypeTag 2026-01-05 23:42:20 +02:00
bigguy345 830f2a3d8f Stored JSDocInfo in FieldInfo and MethodInfo 2026-01-05 23:41:48 +02:00
bigguy345 ce3700b820 Fixed hoverinfo not showing on JS method declarations 2026-01-05 23:39:06 +02:00
bigguy345 60af203165 Renamed to moveFromGlobalToLocal 2026-01-05 20:32:18 +02:00
bigguy345 33442f9398 Merge branch 'dev' into syntax-highlighter-unified 2026-01-05 20:30:04 +02:00
bigguy345 e8ef60deb4 Important IAnimation takeTasksFrom global instance in AnimationController to local instance in entity AnimationData 2026-01-05 20:25:34 +02:00
bigguy345 db0aa94a3a IAnimation instead of Animation 2026-01-05 20:17:55 +02:00
bigguy345 eb660b38ae Added IAnimation consumers to API 2026-01-05 17:14:45 +02:00
bigguy345 7aeb003806 Merge branch 'dev' into syntax-highlighter-unified 2026-01-05 17:03:01 +02:00
bigguy345 68681931f8 Animation Data Store (for cross event/frame data handling) 2026-01-05 16:53:58 +02:00
bigguy345 a33acee117 Added Animation task consumers (much better than animation events) 2026-01-05 16:49:48 +02:00
bigguy345 3929888f60 Removed redundant JS type resolution code and improved logic 2026-01-05 05:43:30 +02:00
bigguy345 5720b3a081 Added @type JSDOC stub auto generation for fields 2026-01-05 05:42:12 +02:00
bigguy345 cd942fea30 Inferred type of 'any' vars upon their first assignment
i.e.:
var npc
npc = event.getNpc()

npc becomes ICustomNpc
2026-01-05 05:25:39 +02:00
bigguy345 761b59479e lil tweak 2026-01-05 05:08:00 +02:00
bigguy345 35ca7ca479 Completely functional JSDoc parsing/stub auto generation for functions and field types, parameters and their return types, and function return types 2026-01-05 05:07:50 +02:00