9d4c8c655a
Increase requested partition size to 2MB.
...
This gives a GC heap of around 650kB and a similar amount for
OS-managed data such as resources.
2025-08-17 14:35:36 -05:00
6b69bb4030
uctypes: Make PtrType(0) cast the int to pointer
...
.. the previous interpretation made the data at address 0
be a pointer.
Additionally, `PtrType(buffer)` is not permitted anymore.
You can use `ctypes.struct(buffer, PtrType)` if you really want
to treat the content of the buffer as a pointer.
2025-08-17 14:33:09 -05:00
d325558b56
unix: Add additional testing targets.
...
These are convenience targets for running specific tests as a
developer. They are more useful that invoking run-tests
directly as they take account of the VARIANT= specified on the
make command-line.
For instance, you can run all tests matching the regular expression
"int" with `make VARIANT=... test//int`. (the new targets are
all documented in README.md)
Signed-off-by: Jeff Epler <jepler@gmail.com>
2025-08-17 08:52:08 -05:00
e25d545090
Merge pull request #30 from jepler/add-forgejo-actions
2025-08-17 08:06:32 -05:00
aecf0a7b7f
github ci also needs to run standard, not coverage
2025-08-17 08:03:39 -05:00
b2bac1016e
Merge pull request #29 from jepler/add-resourcemgr
2025-08-17 07:57:01 -05:00
fbb15cbfa5
put special stuff in the standard variant
...
.. we aren't really gonna care about coverage
2025-08-16 21:52:48 -05:00
b043cf04b6
these files should not have been added
2025-08-16 21:52:05 -05:00
ba2e62c5a0
point this script at our own docker image
2025-08-16 21:51:33 -05:00
bcbc8719a3
Add forgejo actions
...
This covers just the "main" target but proves that everything
could work in the case of an orderly departure from github.
2025-08-16 21:51:21 -05:00
d970e03117
Add resourcemgr module
2025-08-16 18:23:39 -05:00
75558756c7
Merge pull request #24 from jepler/update-examples
2025-08-11 19:21:06 -05:00
ed2a307236
update region example
2025-08-11 18:58:49 -05:00
4ee91be060
update moire example
2025-08-11 18:57:02 -05:00
ab8bc6fdfc
Correct NIL_WINDOW & kMoveToFront definition
...
Short version, I think this is another pointer vs handle problem.
Unfortunately, it's something the type system doesn't catch on
to.
2025-08-11 18:54:02 -05:00
be1c7dc0dc
Update two examples
...
they work on my machine, really!
2025-08-11 14:30:42 -05:00
1f4da24498
more doc updates
2025-08-11 12:43:54 -05:00
5e6e4d102e
Merge pull request #23 from m68k-micropython/fix-doc-build
2025-08-11 12:11:48 -05:00
2184015e22
theme
2025-08-11 12:10:23 -05:00
0501b82822
fix doc build?
2025-08-11 12:06:14 -05:00
0acb8eac92
add readthedocs yaml
2025-08-11 12:03:03 -05:00
7d51915a2e
Merge pull request #22 from jepler/mkapi-docs
2025-08-11 12:01:38 -05:00
0f0ee8ac2b
add moire example
2025-08-11 11:53:16 -05:00
dddbf1d4bc
mkapi: Generate documentation
2025-08-11 10:18:48 -05:00
8c1d76b688
Merge pull request #21 from jepler/mkapi-regressions-etc
2025-08-10 20:38:46 -05:00
90e5da4b29
Enable machine module with ShowConsole/HideConsole functions
...
note: the console will also be shown whenever an attempt to read
from stdin occurs
2025-08-10 19:51:27 -05:00
13431d831b
always show console window
2025-08-10 19:34:00 -05:00
643cb31bf3
TETextBox example
2025-08-10 19:33:16 -05:00
a8f115933c
mkapi: allow anything for 'Ptr'
2025-08-10 19:25:40 -05:00
39180354f4
mkapi: resolve multiple levels of typedef
2025-08-10 19:25:40 -05:00
e4b6da2a39
fix get_struct_desc
2025-08-10 19:25:40 -05:00
ccd01e33ad
fix comment
2025-08-10 19:25:40 -05:00
82c617a259
add two new tests for regressions reported by @smallsco
2025-08-10 19:25:23 -05:00
0f5f932df0
Merge pull request #20 from smallsco/flyingline
2025-08-10 17:15:03 -05:00
fe00d83462
don't be dogmatic about formatting in examples
2025-08-10 17:13:54 -05:00
Scott Small
1e37f28438
add FlyingLine demo
2025-08-10 13:27:28 -07:00
b045a72239
Merge pull request #16 from jepler/region-fixes
2025-08-01 09:41:56 -05:00
f1433d8f8f
uctypes: Fix overlap between position & kw args in constructor
2025-08-01 09:27:10 -05:00
370c824e0e
fix hattrib
2025-07-31 22:05:37 -05:00
ac08602581
copy examples to distribution disk
2025-07-31 22:05:32 -05:00
756e495c18
move code.py to examples
2025-07-31 21:55:23 -05:00
a54b3f2a51
check %r format strings
2025-07-31 17:24:28 -05:00
0f6adb8845
ctypes: a nicer repr of structs
2025-07-31 17:19:46 -05:00
28e06bd2d8
fix struct members that point
2025-07-31 16:26:08 -05:00
b7b5d9db06
tweak the example to print region bounding box
2025-07-31 16:25:58 -05:00
e188517863
Continue improving defs
...
& do some testing of mkapi-generated bindings
2025-07-31 15:52:17 -05:00
49bb45bad6
ctypes structures should be const
2025-07-31 15:13:22 -05:00
2755292684
do a region demo to check it works
...
adapted from Inside Macintosh Volume I page 182
2025-07-31 15:13:22 -05:00
b904874f2a
fix uctpyes type of scalar aggregates
2025-07-31 15:13:22 -05:00
546d03db12
Fix from_struct_helper for "untyped structs"
2025-07-31 15:13:22 -05:00