1
0
Fork 0
Commit Graph

58 Commits (master)

Author SHA1 Message Date
an 4644b4108c TokenStream: Fix erroneous block comment parsing 2017-04-29 02:01:10 -04:00
an 7c854b943f Token: Add more escape characters 2017-04-29 02:00:47 -04:00
an 12558fca11 Token: Add new tokens 2017-04-29 02:00:31 -04:00
an 7f3a6e222e Token: Improve string parsing 2017-04-24 06:18:03 -04:00
an 7c8da17172 Token: Add new tokens 2017-04-24 06:17:53 -04:00
an 8a73dc69f0 TokenStream: Add properties for TokenStream* functions 2017-04-24 06:17:37 -04:00
an d2242c1685 Token: Add property for TokenGet 2017-04-24 06:17:07 -04:00
an 88580c78ee HashMap: Add properties for HashMapFind* functions 2017-04-24 06:16:37 -04:00
an 84be5c83a2 HashMap: Add properties for certain functions 2017-04-06 07:47:44 -04:00
an 0446080176 Refactoring, part 2
Now with conditional compilation macros.
2017-03-12 16:55:50 -04:00
an 844919016c Refactoring, part 1
Changes made over the past week or so after using this in Lithium.
Some modules are missing and there is no makefile now.
2017-03-12 16:34:21 -04:00
Marrub 080b28c8c8 Fix licensing wording and add external licenses. 2016-11-21 02:35:59 -05:00
Marrub 953de47c94 Move code and remove lithos3l.lib 2016-11-21 02:30:03 -05:00
Marrub 4339cc7296 Mega commit.
Create WinMan module.
Remove HudMessage module.
Update tests.
Add (somewhat test) fonts.
Callback: Rename some things
Control: Improve font loading nonsense
Control: Make descendants have a head and tail pointer
Control: Move Lth_ControlCall to Callback
Control: Add Lth_ControlInit convenience macro
Context: Add scaled drawing
Context: Split into WinMan
Context: Fix trying to access a null pointer in Lth_ContextResource
Draw: Add more contextualized drawing functions
Font: Fully implement Unicode font rendering and loading
HashMap: Rename Lth_HashMapFree to Lth_HashMapDestroy
Window: Update code
2016-11-21 01:33:10 -05:00
Marrub f5fdcd56a9 Remove Lth_button and test file 2016-11-21 01:11:13 -05:00
Marrub 3f5d061bcd Manifest: Add string-constant-seq 2016-11-21 01:07:31 -05:00
Marrub ec2c3b8e7e Add Lth_stdfix.h. 2016-11-21 01:05:53 -05:00
Marrub 46f8776c89 TokenStream: Fix dumb typo 2016-11-21 01:04:44 -05:00
Marrub 89882c943f stdlib: Add Lth_ceilk and Lth_fractk
stdlib: Change memcpy calls to memmove calls
stdlib: Optimize Lth_PrintString with hacks
2016-11-21 01:03:52 -05:00
Marrub 4b20d830c4 Types: Add Lth_VectorAlloc and move Lth_pfor 2016-11-21 01:02:56 -05:00
Marrub 07bf122fdc Token: Add TOK_Minus and fix negative numbers 2016-11-21 00:58:32 -05:00
Marrub dbf3994ba3 TokenStream: Fix comment buffer eating forward slashes 2016-10-24 01:22:52 -04:00
Marrub ce3a67c737 Token: Simplify escape sequences 2016-10-23 21:25:30 -04:00
Marrub caf15b2866 Types: Add Lth_OptArgs macro 2016-10-23 21:24:40 -04:00
Marrub 44c32b82b0 HashMap: Make Lth_HashMapFind generic
Manifest: Fix Lth_Resource not handling char *
2016-10-23 21:22:44 -04:00
Marrub 33e5162f05 stdlib: Add Lth_stricmp, Lth_wcs*, Lth_mbslen, and Lth_Hash_wchar 2016-10-23 21:20:09 -04:00
Marrub 2420deecb3 Manifest: Fix boolean value loading 2016-10-22 14:48:42 -04:00
Marrub 9738d31bd0 Context: Fix double-free 2016-10-22 14:45:06 -04:00
Marrub d13f2f6fe4 Change headers so everything is included sequentially by Lth.h.
Context: Rename Lth_ContextResourceFind
stdlib: Fix Lth_isidenti
2016-10-21 21:55:38 -04:00
Marrub 0592eca67f stdlib: Fix Lth_Hash_* not masking characters, breaking unicode. 2016-10-21 17:55:00 -04:00
Marrub f69a1e8412 Manifest: Add string object-declarations and booleans 2016-10-21 17:13:29 -04:00
Marrub 2ede2f4928 Window: Switch x/y and w/h in Lth_WindowNew
main: Add new test code
2016-10-21 15:07:17 -04:00
Marrub abc86aaa8f Add Manifest module. 2016-10-21 15:05:29 -04:00
Marrub fb08786729 Token: Fix Lth_TOK_Dot eating numbers 2016-10-21 14:50:19 -04:00
Marrub ab547ad527 stdlib: Add Lth_fpeekc, Lth_strealoc, et al. 2016-10-21 14:49:11 -04:00
Marrub 6834efad4f stdlib: Add Lth_pfor 2016-10-21 14:47:55 -04:00
Marrub f30001b818 assert: Fix Lth_Assert not using stderr 2016-10-21 14:46:53 -04:00
Marrub 36f008b298 Types: Fix VectorForEach, add 'bufsz' to Vector and add Lth_Pair 2016-10-21 14:45:07 -04:00
Marrub 95c85fdb9f TokenStream: Remove scriptcall member 2016-10-21 14:44:37 -04:00
Marrub b745b2eb3f Hashmap: Change Lth_HashFindItr's parameters 2016-10-21 14:43:59 -04:00
Marrub 9f9daeb302 Create Token and TokenStream modules.
Draw: Change __fixed to standard _Accum.
main: Fix header comment.
2016-10-20 19:55:35 -04:00
Marrub 81061174e9 stdlib: Add Lth_Hash_char 2016-10-19 10:03:32 -04:00
Marrub 1038ca8961 Create Hashmap module. 2016-10-19 10:01:39 -04:00
Marrub 668f77010f Types: Add Lth_Vector macro 2016-10-19 10:00:41 -04:00
Marrub 22421f7eeb stdlib: Add Lth_strlocal and Lth_strdup_str 2016-10-19 10:00:10 -04:00
Marrub 93377a9dc7 Control: Add Lth_ControlFont 2016-10-18 20:02:02 -04:00
Marrub cceece2216 Context: Fix mapspace not actually being used 2016-10-18 19:40:00 -04:00
Marrub d34139fb4d Context: Change unnamed structs to Lth_IVec2 2016-10-18 19:39:30 -04:00
Marrub b550ec0668 Change header comment style. 2016-10-18 17:21:09 -04:00
Marrub 47acf3cadd Control, Context, LinkList, et al: Restructuring
LinkList: Rename Lth_LinkList* functions to Lth_List*
LinkList: Split Lth_LinkListInsert
LinkList: Add Lth_ListLinkTail

Control: Make controls associated with a context and font

Context: Fix mapped windows with unspecified position being placed wrong
Context: Fix mapped windows being added backwards

Draw: Fix rectangles being drawn wrong
2016-10-18 13:59:02 -04:00