Commit Graph

2786 Commits

Author SHA1 Message Date
Émilie Feral
0abe51ccbb [poincare] In fraction layout, align fraction line to +/- symbols
Change-Id: I9528e9c5e6219a365adf7fbf8a0db163c618c7fe
2017-08-17 16:21:20 +02:00
Émilie Feral
319955424b [escher] In table view, use scrollToContentRect instead of recomputing
everything

Change-Id: Idb3ec8218386b03bc34d08fcd888d1a671ea98f9
2017-08-17 16:21:20 +02:00
Émilie Feral
8e5691bcc7 [escher] In container, initiate the window when switching to first app
Change-Id: I782f017320279cdd2076b950f10ee6a9e7d69ffa
2017-08-17 16:21:20 +02:00
Émilie Feral
5c4740913b [kandinsky] Replace KDText::stringSize(" ") by KDText::charSize()
Change-Id: Ie962d7784b54ff41431d21f64d9af0887a86f9b7
2017-08-17 16:21:17 +02:00
Émilie Feral
cdee87527e [poincare] Cheat on evaluation of power, cosine and sine
Change-Id: Iebe4433b6bde35b92df78986f3360aa3a936024a
2017-08-17 09:31:59 +02:00
Émilie Feral
c0a178b464 [apps] Fix uninitialized value
Change-Id: I2b02169112f3e78dda4f223c2a8a6cbf48b8949f
2017-08-17 09:31:59 +02:00
Émilie Feral
e0676d9cfc [ion] Fix dummy events modifier
Change-Id: If79f8e61c275189bc72ad2cbe035609e4c31d694
2017-08-17 09:31:59 +02:00
Émilie Feral
f0a776a670 [apps] Operations in double when precision required
Change-Id: I7168a861a76178f0bf81841e9378f7399f67914a
2017-08-17 09:31:53 +02:00
Émilie Feral
82e212e771 [poincare] Template for double
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
05d2b83f92 [liba] Implement memclr8
Change-Id: Icc1ad9aed4911c5990e4f2e51e68c596e99e8534
2017-08-16 09:55:29 +02:00
É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