Commit Graph

2758 Commits

Author SHA1 Message Date
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
Émilie Feral
f68b40d99d [apps/proba] Enable to inverse finite integral calculation for normal
law

Change-Id: I018083d9ca0c79de7d9258888b813e7dedc071b5
2017-07-28 11:25:12 +02:00
Émilie Feral
f48d65e85f [apps/probability] Handle more events on calculation page
Change-Id: I752d79aed23061d3d86134d234024ca8ffd1733d
2017-07-28 11:12:53 +02:00
Émilie Feral
2468a6d9c3 [apps/shared] Correct drawHistogram
Change-Id: If2262489b01ab4725a2e3d553b7381c4777807a1
2017-07-28 10:40:05 +02:00
Émilie Feral
6510fafe77 [apps/proba] Add a new calculation for discrete laws
Change-Id: I581d7871b6340a23c99379a5cca7fd0874e943d0
2017-07-28 10:40:05 +02:00
Émilie Feral
277170fd9d [apps/probability] Improve the calculation selection button
Change-Id: Idddc06fd0158e357f82f43da27d3254fef25e211
2017-07-28 10:40:00 +02:00
Émilie Feral
1d03c422d2 Merge "[poincare] Clean trigo tests" 2017-07-28 10:19:22 +02:00
Émilie Feral
9ca27fa2b1 Merge "[apps/probability] Fix edge case in uniform law" 2017-07-28 10:19:20 +02:00
Émilie Feral
0588074174 Merge "[apps] Clean dispatch event apps container" 2017-07-28 10:19:18 +02:00
Émilie Feral
018013e323 Merge changes I4fcc116c,I2033a99f,I6dd667fb
* changes:
  [apps/hardware_test] Clean plugging USB test
  [escher] App can have timers that are ticked when the app is active
  [ion] Clean alpha shift event modifiers
2017-07-28 10:19:15 +02:00
Romain Goyet
70174638df [ion] Fix sending events to emscripten build
Change-Id: I9306554044a0b2fe2ee26769cc66a2684a05bebe
2017-07-21 15:12:38 +02:00
Romain Goyet
80c6d052f2 [ion] Emscripten display uses an internal framebuffer
We operate on a framebuffer (push/pull rect), and then copy it all to
the screen at once. This avoids reading back from video memory. All in
all, it goes *much* faster this way.

Change-Id: I472d35988fde876906a9be71e0666b2c238114b3
2017-07-21 14:02:12 +02:00
Romain Goyet
0a6e223230 [kandinsky] Inline KDColor::red, green and blue
Change-Id: Ief45fa20155c5857be36e2acd7351dfdf71639cb
2017-07-21 14:00:50 +02:00
Romain Goyet
42123dd03d KDImage now takes a KDColor buffer as pixel data
This prevents alignment issues, visible on emscripten for example.

Change-Id: I3b25a21214c5f3e4f08e5f299d4c20234a5824f6
2017-07-21 09:54:38 +02:00
Émilie Feral
e1a635a9a8 [poincare] Clean trigo tests
Change-Id: I477945831ae39ad27ad69bf2e9208d8954052748
2017-07-10 10:41:12 +02:00
Émilie Feral
93baed09d4 [apps/probability] Fix edge case in uniform law
Change-Id: Ia98838ce742642d609d468d04be795afb464f1a6
2017-07-10 10:11:32 +02:00
Émilie Feral
1011fae644 [apps] Clean dispatch event apps container
Change-Id: I960fffd914c3b3e821e0654a7ad20318b5a7c807
2017-07-10 10:11:24 +02:00
Émilie Feral
cb8a18e551 [apps/hardware_test] Clean plugging USB test
Change-Id: I4fcc116c4d498bbc3510c9d9be4596c4e3472f4f
2017-06-30 15:18:28 +02:00
Émilie Feral
e0f2fcb2f6 [escher] App can have timers that are ticked when the app is active
Change-Id: I2033a99fb2ebff030934b02d6128dce721012979
2017-06-30 11:21:33 +02:00