Commit Graph

2776 Commits

Author SHA1 Message Date
Émilie Feral
1964d61fdc [libaxx] add cmath and use cmath instead of math.h when required
Change-Id: Id839b17d33c69e2e002f370e553ff35246a1bc90
2017-08-16 09:55:29 +02:00
Émilie Feral
9f0bbe0e75 [liba] Avoid implicit declarations
Change-Id: I4ee85185a2a35550b7dcdec383a8335423ac1156
2017-08-16 09:55:29 +02:00
Émilie Feral
09aaa3a19f [liba] Do not hide open bsd building warnings
Change-Id: I13b22a4997777d8e7a9e72611fb473b0489d99c5
2017-08-16 09:55:29 +02:00
Émilie Feral
44328a9faa [liba] Expose copysign libm function
Change-Id: Ib38f94a9bab141c5ed417d5ea2cf654aef9179f5
2017-08-16 09:55:28 +02:00
Émilie Feral
9aea689fb8 [liba] Correct tests on ieee754
Change-Id: I915a90e771364c19b721f07b0aed3f2a36d5e904
2017-08-16 09:55:28 +02:00
Émilie Feral
3bbc3f2cb9 [liba] Fix bug in double arithmetic implementation
Change-Id: I9344e5d9c483d17b8b8ce3a652a7b8259e0f651c
2017-08-16 09:55:22 +02:00
Émilie Feral
a66c356ec0 [liba] Mute softfloat warnings
Change-Id: Ic96e05da709ad280caa54d37d398522985cb0792
2017-08-11 14:07:14 +02:00
Émilie Feral
f8f81505bc [liba] Add DBL_MAX, DBL_MIN, DBL_EPSILON
Change-Id: Ib7f3e170c5305269624410b0464d44a16d961aa3
2017-08-09 16:42:13 +02:00
Émilie Feral
37fd06c2a5 [apps/calculation] Fix memory leak
Change-Id: I8f41f589a67e4b3ac641650ad8c6f44f7363f031
2017-08-09 16:42:07 +02:00
Romain Goyet
30471ede35 [apps] The code app runs Python code
Change-Id: I6034adeb368db2c5d3b64b16f8ad512750cd3bc0
2017-08-09 15:58:29 +02:00
Émilie Feral
c88b802516 Revert "[python] Do no build nlrthumb.c"
This reverts commit 04fade4920.

Change-Id: I116c43e7bf65f1b538b0353644bf43749c1c31f2
2017-08-09 15:56:47 +02:00
Émilie Feral
04fade4920 [python] Do no build nlrthumb.c
Change-Id: I3dc57a27563dfeab3019c1e455907eb2fadbf52a
2017-08-09 09:58:06 +02:00
Émilie Feral
66275c29ab [python] Fix bug in mpconfigport
Change-Id: If020d660f9ac67a94731cf1f77986697826ae624
2017-08-08 17:05:33 +02:00
Romain Goyet
ea52e627af [python] Add a (commented-out) example app
Change-Id: I3b00052bf7a116b4b6e2a785931e6a265cc6031c
2017-08-04 17:56:24 +02:00
Romain Goyet
16584c5a88 [python] Initial import of MicroPython 1.9.1
Change-Id: I1a8bafe720fb865f9418fc1e50de1184312e1653
2017-08-04 17:56:24 +02:00
Romain Goyet
741eaba19a [liba] Add empty setjmp.h and limits.h
MicroPython requires them but, in our case, doesn't use them.

Change-Id: Ide003974c71accb1e9cc42f0839f1f64d07b0390
2017-08-04 17:56:23 +02:00
Romain Goyet
d9975c92bb [liba] Add a test for stddef
Change-Id: I7a1dc05642a5840b491d6c439269312739388289
2017-08-04 17:56:23 +02:00
Romain Goyet
159b6f7429 [liba] Add strchr to string.h
Change-Id: I6651daa030ad6dc5e567bb78f2f22d48f07524aa
2017-08-04 17:56:23 +02:00
Romain Goyet
3ef709502e [liba] Add memcmp to strings.h
Change-Id: Ied4281e588d423e2b00dced10018a690455544d5
2017-08-04 17:56:23 +02:00
Romain Goyet
2898ec916c [liba] Add memmove to string.h
Change-Id: I99b412dc7404e2711dbf7753f0d619694dee3d19
2017-08-04 17:56:23 +02:00
Romain Goyet
301e0a7891 [liba] Add alloca.h
Change-Id: I190dd8a0836a60fa95cd159f6f636f7850fe7b63
2017-08-04 17:56:23 +02:00
Romain Goyet
c5d917c360 [liba] Cleaner __builtin-based defines
Change-Id: I4b58ab36f25e9cb136c21375166921c04882dd21
2017-08-04 17:56:23 +02:00
Romain Goyet
1972b30a77 [liba] Support for variadic functions (va_arg)
Change-Id: Ic4ea2bce521ad8149198433afe74214018998afc
2017-08-04 17:56:23 +02:00
Romain Goyet
878d86df71 [liba] Add intptr_t and uintptr_t to stdint.h
Change-Id: I7bb28aa1d449da0413c751e66e69f17dc9492d8f
2017-08-04 17:56:23 +02:00
Romain Goyet
15725a5cc8 [liba] Add ENOENT to errno.h
Change-Id: Ie25fae6abff7c384ee7bea02aa1d2dbba82c06c4
2017-08-04 17:55:53 +02:00
Romain Goyet
c8e2b0d2be [liba] Define ssize_t and offsetof
Change-Id: Icbf546cd09f4e3c3e849f830bb3c60ffa3c13b6c
2017-08-04 17:55:53 +02:00
Romain Goyet
750b51dd2f [liba] Proper testing of type signedness
Change-Id: I89ddc116ff33c384ba916f8f52e20347c49483f0
2017-08-04 17:55:53 +02:00
Romain Goyet
4e08d520da [escher] TextArea can now edit its content
Change-Id: I129a184bc94975c8dd5fd2e7b8c63309978bff02
2017-08-04 17:27:37 +02:00
Romain Goyet
f9b44b8e7b [escher] ScrollView::scrollToContentRect
Change-Id: I20db5dcee4e34b8a0bc08fda5938e8e647d3dea7
2017-08-04 17:26:42 +02:00
Romain Goyet
614b623a2b [kandinsky] KDRect::topLeft and bottomRight
Change-Id: I47e726cea81ea5bfb29409c5679c47dc1aae8f13
2017-08-04 17:26:15 +02:00
Romain Goyet
19cf3a4958 [apps] Add a code app
Change-Id: Icc72c378a6434b5d3b0af74f23e31ea7514882b8
2017-08-03 23:28:56 +02:00
Romain Goyet
20e1554a13 [escher] First working TextArea implementation
Change-Id: Iae9618f54813be9f116d4797feec6fd163a37a66
2017-08-03 23:28:24 +02:00
Romain Goyet
cbc78460ac [kandinsky] KDContext::drawString can take a max length
Change-Id: I59cf0c1fbfb2288ab54905a4fd2558885c279814
2017-08-03 23:26:29 +02:00
Romain Goyet
5a4fc8af5d [escher] ScrollableView can now scroll in both directions
Change-Id: Ic389c6eaa0ee182b8f9167248ca369e51fd9e54a
2017-08-03 23:25:47 +02:00
Romain Goyet
298a308f36 [escher] Add a TextArea view
Change-Id: I3dccb4baf806491dcd06050c4fd5d43b982c8f57
2017-08-03 18:41:17 +02:00
Romain Goyet
f21428e20f [liba] More detailed README for the externals
Change-Id: I9c5c4d9e86933aa81e3f45048bb004acafed41bc
2017-08-03 14:59:34 +02:00
Romain Goyet
c84b378b8b [liba] Add a double-precision libm
Change-Id: I3d0b5393eaaec3e01529e739535512c07f41a088
2017-08-03 14:52:20 +02:00
Romain Goyet
a1f1e2df6a [liba] isinf/isnan both work on double
Change-Id: I08e0c338e343a5357b91ed3a3f2e63db37efc983
2017-08-03 14:51:00 +02:00
Émilie Feral
878518b697 Merge "[poincare] Evaluation return numerical matrix" 2017-08-03 13:50:04 +02:00
Émilie Feral
f73ddcd08f [poincare] Evaluation return numerical matrix
Change-Id: I58dbc93ad22a086580a77318b2524db9c70e47d2
2017-08-03 13:47:11 +02:00
Romain Goyet
e655adb36a [liba] Remove some softfloat warnings
Change-Id: I932344e1f1997899dcc42cec54aaf10df1cf2eea
2017-08-03 13:19:18 +02:00
Romain Goyet
42e5a45539 [liba] Rename a libm file
Change-Id: Ic0271c3a769f29fa46dd9bc1bb65e848a0f48373
2017-08-03 13:10:36 +02:00
Romain Goyet
27b9675709 [liba] Nicer port softfloat.h header
Change-Id: I347b181ce8b69d5274e590edcac5ed32af867662
2017-08-03 13:10:30 +02:00
Romain Goyet
70b9f41de9 [liba] Implement AEABI double helpers using the softfloat library
Change-Id: If329dcc55425f6e8db4b2ce26ea7d8be15c31c8d
2017-08-03 11:10:57 +02:00
Romain Goyet
9659243a5b [liba] Add fast/least integer type definitions
Change-Id: Id360c019659e64a7f0a2137df206047c19be5906
2017-08-03 11:10:57 +02:00
Romain Goyet
42deac0770 [liba] stdbool.h defines true and false
Change-Id: I83ad538bdfc482af1c760a4c4609633ede42053f
2017-08-03 11:03:01 +02:00
Émilie Feral
d92eb6866d Merge changes I0d6b9119,I27e450d0
* changes:
  [poincare] Fix bug in transpose
  [apps] Fix bug: redraw window if alpha shift mode has changed
2017-08-02 10:45:03 +02:00
Romain Goyet
c0040d9aae [libaxx] Add operator new[] and delete[]
Change-Id: Id20e803461a6e8c2b3484d094a5483763c06ed0d
2017-08-02 09:56:19 +02:00
Émilie Feral
ac2edbb2b9 [poincare] Fix bug in transpose
Change-Id: I0d6b9119ffee5d512a3e40f9cd166b1c8c55856a
2017-07-31 11:27:57 +02:00
Émilie Feral
ac8df4f791 [apps] Fix bug: redraw window if alpha shift mode has changed
Change-Id: I27e450d007b3adbd96ae95026f0fa6e4016ee6bb
2017-07-28 11:30:25 +02:00