Commit Graph

6189 Commits

Author SHA1 Message Date
Émilie Feral
d668eccb4f [poincare] Tests: no variable-size tables 2018-09-17 17:14:43 +02:00
Émilie Feral
f8f0813485 [escher] TextInput: get rid of variable-size tables 2018-09-17 17:14:43 +02:00
Émilie Feral
dae91f1540 [apps] VariableBoxController: get rid of variable-size table 2018-09-17 17:14:43 +02:00
Émilie Feral
ba0f866dc6 [apps] Toolbox: get rid of variable-size tables 2018-09-17 17:14:43 +02:00
Émilie Feral
d17b0f1afb [poincare] Get rid of char table of variable size 2018-09-17 17:14:43 +02:00
Léa Saviot
7f4e76424d [poincare] Fix Ceiling::shallowReduce that added uninitialized nodes 2018-09-17 11:45:06 +02:00
Léa Saviot
be25848578 [poincare] Fix Floor::shallowReduce that added uninitialized nodes 2018-09-17 11:31:02 +02:00
Léa Saviot
4aa2c07321 [poincare] Assert that id is not NoNodeIdentifier
Instead of checking that node is not nullptr, which triggers a false
assertion in node()
2018-09-17 11:29:47 +02:00
Léa Saviot
41ae49ccf5 [poincare] Add non-zero assertion in Integer::udiv 2018-09-17 11:04:28 +02:00
Émilie Feral
257194507c [poincare] Integer: avoid invalid read 2018-09-17 10:54:12 +02:00
Léa Saviot
a4d79332ea [poincare] Fix Warning message exit on special keys
We want the memory full warning to be exited only on OK, EXE, ... but
Syntax warning (for instance) to be exited on any key pressed
2018-09-14 17:59:14 +02:00
Émilie Feral
e0495de6af [poincare] Change name: TreeByReference --> TreeHandle 2018-09-14 17:22:36 +02:00
Léa Saviot
d34ee9ceee [poincare] Fix empty layout insertion in horizontal layout 2018-09-14 17:19:51 +02:00
Émilie Feral
d1e9c460ca [poincare] Discard floor_layout.cpp which is empty 2018-09-14 17:01:36 +02:00
Émilie Feral
8cffbdd7de [poincare] Change name of files: *_layout_node --> *_layout 2018-09-14 16:57:12 +02:00
Émilie Feral
616e4c0bcc [poincare] Change name: LayoutRef --> LayoutReference 2018-09-14 16:57:12 +02:00
Léa Saviot
467cc2b76f [poincare] Add missing check that a pointer is not nullptr 2018-09-14 16:26:40 +02:00
Émilie Feral
3310743151 [poincare] Integer: fix extractedInt: make a special case for 0 2018-09-14 16:19:21 +02:00
Léa Saviot
7edeacd378 [poincare] Add test on ".1.2" that should not be parsed 2018-09-14 16:10:37 +02:00
Émilie Feral
e9a14de101 [poincare] Integer: revert uint8_t--> size_t wrongly changed 2018-09-14 16:06:58 +02:00
Émilie Feral
99d72a8b68 [poincare] I should be used only for std::complex 2018-09-14 15:47:09 +02:00
Émilie Feral
a104d72d25 [poincare] Fix Integer constructor 2018-09-14 15:21:50 +02:00
Léa Saviot
67606d41f5 [poincare] Remove code that handled Static nodes 2018-09-14 15:15:07 +02:00
Émilie Feral
9016d30cef [regression] Fix StoreController::view() 2018-09-14 15:13:20 +02:00
Émilie Feral
1b0cd43b56 [regression] Tidy the models' layouts before leaving the app 2018-09-14 15:13:20 +02:00
Léa Saviot
206fb5999d [poincare] Translate app memory full message 2018-09-14 15:10:32 +02:00
Léa Saviot
9b6fe58afe [escher] Dismiss memory full warning on OK, EXE, Back, Home, Power only 2018-09-14 15:00:39 +02:00
Léa Saviot
2be65c9b1b [poincare] Use small variable types in Nodes 2018-09-14 14:50:19 +02:00
Léa Saviot
9a289dc7eb [poincare] When app memory exception, got to Home app 2018-09-14 14:49:40 +02:00
Léa Saviot
6deaef49b8 [poincare] When memory exception, stay in the app and display popup 2018-09-14 13:43:54 +02:00
Émilie Feral
f394a799ea [apps] VariableBoxController: when disappearing, tidy the layouts from
the TreePool
2018-09-14 11:55:09 +02:00
Émilie Feral
42c7c26414 [escher] TableView: when the TableView has a null frame, its
numberOfSubviews is 0
2018-09-14 11:55:09 +02:00
Émilie Feral
fbbf883b92 [poincare] Decimal: fix log 2018-09-14 11:55:09 +02:00
Léa Saviot
9d5893f38c [escher] Uninline methods in LayoutField 2018-09-14 11:29:01 +02:00
Léa Saviot
985f310b1c [escher] Just replace the layout when clearing it in LayoutField 2018-09-14 11:28:37 +02:00
Léa Saviot
230bb91374 [poincare] Remove unneeded using operator 2018-09-14 11:28:13 +02:00
Léa Saviot
642d19c1e6 [poincare] remove old comment 2018-09-14 11:24:41 +02:00
Léa Saviot
fdba006e5b [poincare] Use const and & in TreeByReference != and == operators 2018-09-14 11:24:11 +02:00
Léa Saviot
c8960db230 [poincare] Add tests on 0 and inf 2018-09-13 17:49:02 +02:00
Léa Saviot
5c2ab75ea1 [poincare] 0*inf should be undef, not 0 2018-09-13 17:48:42 +02:00
Léa Saviot
1c2079dcf5 [bench] Fix bench command to print Integer 2018-09-13 17:36:52 +02:00
Léa Saviot
4d5b5dee95 [poincare] Prevent parsing of ".2.3" as "0.2*0.3" 2018-09-13 17:16:36 +02:00
Léa Saviot
52c49f7f76 [poincare] Parse inf as Infinity and remove redundant parser tokens 2018-09-13 17:16:25 +02:00
Émilie Feral
c95c3145bc Merge remote-tracking branch 'github/master' into Tree 2018-09-13 17:03:31 +02:00
Émilie Feral
b66cc754ed [poincare] Clean parser 2018-09-13 16:05:32 +02:00
Émilie Feral
0c602459ca [poincare] Lexer: Symbols token are Expression and instead of Char 2018-09-13 16:05:32 +02:00
Émilie Feral
8368950f83 [poincare] Clean Makefile 2018-09-13 16:05:32 +02:00
Léa Saviot
deada55740 [poincare] Fix a node/ref comparison: use id comparison instead of nodes
This prevents breaking an assertion in node(), that Ghost should not be
a Ghost
2018-09-13 16:03:12 +02:00
Léa Saviot
ba7c013c72 [poincare] Handle release of nullptr nodes (due to exceptions) 2018-09-13 16:03:04 +02:00
Léa Saviot
f240899fc7 [poincare] Put the exception handler before Container::run 2018-09-13 16:02:58 +02:00