Commit Graph

2965 Commits

Author SHA1 Message Date
Émilie Feral
5d01277ab2 [poincare] Update gitignore to ignore rulegen files
Change-Id: If76c86c98f5050326580c9d6faf9cae3f327dadc
2017-09-25 10:38:08 +02:00
Émilie Feral
590f15da65 [poincare] Add implementation of type and value selector
Change-Id: I79cf70e40a3b7415bdb54123cc1b3a7e03273504
2017-09-25 10:31:57 +02:00
Émilie Feral
ae22615901 [poincare] Add an instance in selectors (partial match)
Change-Id: Ibe24dccd10bd6bc818ff7c25d76c911b3020cdd4
2017-09-25 10:04:51 +02:00
Romain Goyet
fd0141337c [poincare] Add RemoveParenthesisTransform and IntegerMultiplicationTransform 2017-09-24 21:31:00 +02:00
Romain Goyet
43eec38cb7 [poincare] Rule-based capture length 2017-09-24 19:02:30 +02:00
Romain Goyet
778903196f [poincare] Transform returns a boolean value
Which tells wether the transform applied or not
2017-09-24 18:47:15 +02:00
Romain Goyet
39b1f12f0a [poincare] Remove dead code 2017-09-24 17:42:56 +02:00
Romain Goyet
34b03a0dc0 [poincare] Small cleanups 2017-09-24 17:38:18 +02:00
Romain Goyet
3d7f70c6bb [poincare] Get rid of NAryOperation 2017-09-24 09:22:09 +02:00
Romain Goyet
37557d6332 [poincare] Add Expression::setParent when modifying the tree 2017-09-24 09:20:37 +02:00
Romain Goyet
e308fdb488 [poincare] Transform is now just a function pointer 2017-09-23 19:38:46 +02:00
Romain Goyet
d80f2f964b [poincare] SubtractionTransform 2017-09-23 15:41:23 +02:00
Romain Goyet
acbcbbfe6d [poincare] Hierarchy::operands() is a "const Expression * const *" 2017-09-23 15:40:29 +02:00
Romain Goyet
48fe20a786 [poincare] Debug NaperianLogarithm 2017-09-22 22:30:54 +02:00
Romain Goyet
763d800ac6 [poincare] Convert MergeAdditionTransform to MergeDynamicHierarchyTransform 2017-09-22 22:30:33 +02:00
Romain Goyet
443506687d [poincare] Merge additions 2017-09-22 22:11:34 +02:00
Romain Goyet
32d434b256 [poincare] A first rule built by rulegen is functional 2017-09-22 22:07:27 +02:00
Romain Goyet
cee6117b99 [poincare] Use the rulegen 2017-09-22 21:07:41 +02:00
Romain Goyet
b58bdaba1d [poincare] Proper RuleSet namespacing 2017-09-22 19:01:33 +02:00
Romain Goyet
ec81a5aee8 [poincare] Update the rulegen 2017-09-22 18:50:49 +02:00
Émilie Feral
a5ca0f93bf [poincare] Throw a bison error when functions have wrong number of
arguments

Change-Id: I33f0a9b7cad3b1fde2df25ecfdc568187b79f248
2017-09-22 14:23:15 +02:00
Émilie Feral
41521388e5 [poincare] Remove header of class function
Change-Id: I2aaa523ddc0fa90de2242f957893cf3da8e7779e
2017-09-22 14:22:32 +02:00
Émilie Feral
2b1bd5c191 [poincare] In context: clean setExpressionForSymbol
Change-Id: I13f51a6c84537be43de3b78de68e77fade502344
2017-09-22 13:21:55 +02:00
Romain Goyet
2e0caf5374 [poincare] Add IntegerAdditionTransform 2017-09-22 12:17:11 +02:00
Romain Goyet
84e4e80a6d [poincare] Clean the simplification folder 2017-09-22 12:07:55 +02:00
Romain Goyet
0c140cc4c7 [poincare] Hiearchy modification 2017-09-22 11:42:14 +02:00
Émilie Feral
8aa0e40d46 [poincare] First version simplify
Change-Id: I7ff4396f42bb980df2780dfc59bfb8b22205abc8
2017-09-21 13:56:38 +02:00
Émilie Feral
23629b0939 [poincare] Restructuration of poincare (no duplication of children
storage)

Change-Id: Ia10c3cc83e10d238750c6954b7c093d26b762c94
2017-09-21 13:49:06 +02:00
Émilie Feral
d3a2109b5f [poincare] Change binary_operation -> n_ary_operation and add an order
on expressions

Change-Id: Ia881728ef965eb1f7ff9449d14253ea347fdeed7
2017-09-21 11:18:03 +02:00
EmilieNumworks
f34f6dfb82 Merge pull request #104 from EmilieNumworks/version
Change software version to 1.1.2
2017-09-07 10:40:37 +02:00
Émilie Feral
329dff7b6e Change software version to 1.1.2 2017-09-07 10:34:48 +02:00
EmilieNumworks
e9afe0c59a Merge pull request #101 from jacobly0/fix/zero-power
Fix #100.
2017-09-07 10:33:42 +02:00
Jacob Young
0904313624 Fix #100. 2017-09-06 23:38:04 -04:00
EmilieNumworks
92245312b5 Merge pull request #97 from numworks/version
Change software version to 1.1.1
2017-09-06 17:51:24 +02:00
Émilie Feral
8a50b42611 [escher] Fix bug in text area (afl-fuzz) 2017-09-06 17:40:46 +02:00
Émilie Feral
f8e5946f75 Change software version to 1.1.1 2017-09-06 17:36:32 +02:00
Émilie Feral
01efc3c95d [apps/settings] Connect settings gauge to prefered brightness 2017-09-06 17:34:18 +02:00
Émilie Feral
7c1d540a87 [apps] Add a brightness level in preferences 2017-09-06 17:34:18 +02:00
Émilie Feral
7a5bcf3e0f [apps/settings] Add a row 'Brightness' to settings 2017-09-06 17:34:18 +02:00
Émilie Feral
10c42e276a [escher] Add a gauge view and a message table cell with gauge 2017-09-06 17:34:18 +02:00
Marc Lagrange
1633709389 Add -fPIE for simulator build (#93)
Add -fPIE for simulator build using SFLAGS
2017-09-06 10:42:18 +02:00
mjmdavis
a6ee0e4f82 Removed the automatic insertion of 'ans' when pressing '-'. 2017-09-06 10:15:24 +02:00
Émilie Feral
9ac25fc03a Repair windows build 2017-09-06 10:05:17 +02:00
Romain Goyet
df31f0ce34 Improve the app_flash command
We now display a small inline tutorial, and wait for a device to be
connected
2017-09-06 10:00:14 +02:00
Émilie Feral
66fdc1a12f [poincare] Fix power 2017-09-05 19:15:16 +02:00
EmilieNumworks
21f6723daa Merge pull request #85 from adriweb/fix/overflow-poincare-stringlayout
[various apps] StringLayout: fix buffer overflow and use auto size
2017-09-05 17:07:53 +02:00
EmilieNumworks
da5ec51731 Merge pull request #67 from mateoconlechuga/master
Add shift activated text (Fix #22)
2017-09-05 16:21:48 +02:00
Émilie Feral
5551378109 [poincare] Fix root of negative values 2017-09-05 15:04:28 +02:00
Adrien Bertrand
d150837d7d [various apps] StringLayout: fix buffer overflow and use auto size
* The buffer overflow was happening when changing the complex format in
the settings.
* All const char arrays manually ending with a nul char were trimmed of
it considering StringLayout adds it already.
* Use automatic compile-time array-size when possible, avoids mistakes
2017-09-04 23:31:51 +02:00
Adrien Bertrand
503786ec72 [apps/settings] sub controller: fix buffer overflow.
- Caught by ASan
- The 3 and 4 length were swapped
- It's now using compile-time automatic sizes
2017-09-04 21:35:53 +02:00