Commit Graph

  • 1b83526c57 [apps/shared] Revert "ScrollableExactApproximateExpressionsView: remove useless reload" This was not useless: without it, when you push several times the calculation "1.2", going up in the history will display corrupted cells... Émilie Feral 2020-01-03 12:22:30 +01:00
  • 73a8ec24f2 [calculation] Revert "HistoryViewCell: remove useless m_expandedCalculation" Émilie Feral 2020-01-03 12:19:21 +01:00
  • 80d8e8eead Coding style Émilie Feral 2019-12-31 12:23:39 +01:00
  • c47394ae22 [calculation] (revert previous commit) HistoryViewCell: setCalculation should decide which subviews is displayed. 'setCalculation' is the only method called when scrolling (when using a new cell for a calculation) so it should take into accound whether the cell is expanded or not. Émilie Feral 2019-12-31 12:22:54 +01:00
  • c12304a00e [calculation] Remove outdated comment Émilie Feral 2019-12-31 11:51:05 +01:00
  • 6a2f11ef1b [escher] ExpressionTableCell & ExpressionTableCellWithExpression: reloadScroll when displaying cell Émilie Feral 2019-12-31 11:45:41 +01:00
  • 8a07d335a3 [calculation] Additional Ouputs: speed up scrolling in ExpressionsListController by memoizing layouts. Avoid glitering Émilie Feral 2019-12-31 11:29:56 +01:00
  • 74b5ca2f12 [escher] ExpressionTableCellWithExpression: avoid to add margins around the accessory subview twice Émilie Feral 2019-12-31 10:33:37 +01:00
  • 3806a78141 [escher] ExpressionTableCellWithExpression: make the accessory expression scrollable and set it as the first responder Émilie Feral 2019-12-31 10:21:09 +01:00
  • 711c4a6554 [escher] ScrollableExpressionView: fix background color Émilie Feral 2019-12-27 18:11:09 +01:00
  • 4bd3dfd542 [escher] TableCell: the subviews are layoutted horizontally or vertically. We add an option to decide which subviews should overlap on top of the other if there is not enough space Émilie Feral 2019-12-27 18:09:17 +01:00
  • 5974149162 [escher] Metric: change name TableCellLabelTopMargin to TableCellHorizontalMargin and add TableCellHorizontalMargin Émilie Feral 2019-12-27 17:45:01 +01:00
  • d0e2e71e10 [escher] TableCell: fix layoutSubviews Émilie Feral 2019-12-27 14:20:50 +01:00
  • 816e17df66 [escher] TableCell: factorize code Émilie Feral 2019-12-27 13:30:05 +01:00
  • 9312d2bd65 [escher] ExpressionTableCell is composed of a ScrollableExpressionView instead of an ExpressionView Émilie Feral 2019-12-27 13:18:40 +01:00
  • 9301dd510a [calculation][escher] Move ScrollableExpressionView from apps/calculation/ to escher/ Émilie Feral 2019-12-27 10:29:08 +01:00
  • 70ce133b4c [calculation] Change name: simple_list_controller --> expressions_list_controller Émilie Feral 2019-12-27 10:04:34 +01:00
  • 7abe8e2e4d [calculation] ScrollableInputExactApproximateExpressionsCell: margins are controlled by the scrollview instead of TableCell in order to display arrows indicator correctly Émilie Feral 2019-12-27 09:46:04 +01:00
  • 439c85eda5 [escher] TableCell: make the label margin optional Émilie Feral 2019-12-27 09:45:47 +01:00
  • 2e3a904b9b [escher] TableCell: fix layoutSubview to avoid letting subviews overflow bounds() Émilie Feral 2019-12-26 14:30:05 +01:00
  • 10c906e5e2 [shared] AbstractScrollableExactApproximateExpressionsView: when the left subview is selected, reload the scroll to display the left view Émilie Feral 2019-12-26 13:39:18 +01:00
  • acd9e63cbd [shared] AbstractScrollableExactApproximateExpressionsView: fix setDisplayLeft and setDisplayCenter to re-layoutSubviews Émilie Feral 2019-12-26 13:38:02 +01:00
  • 7e96ccf5a6 [shared] Typo Émilie Feral 2019-12-26 13:15:05 +01:00
  • c6efb99e05 [calculation] ScrollableInputExactApproximateExpressionsCell: select the left expression when the cell becomes first responder Émilie Feral 2019-12-26 13:14:17 +01:00
  • d8d0f33b1b [calculation] ExpressionWithEqualSignView: add a margin between expression and equal sign Émilie Feral 2019-12-26 12:19:14 +01:00
  • 85ba8f8076 [calculation] RationalListController: display MixedFraction layout Émilie Feral 2019-12-26 11:52:36 +01:00
  • ef3e33f343 [poincare] Implement Integer::CreateMixedFraction Émilie Feral 2019-12-26 11:52:09 +01:00
  • 40996deb0a [calculation] RationalListController: use Integer::CreateEuclideanDivision to build layout Émilie Feral 2019-12-26 11:30:25 +01:00
  • df6817547f [poincare] Integer: create 2 methods 'CreateMixedFraction' and 'CreateEuclideanDivision' that build expected expressions from 2 integers Émilie Feral 2019-12-26 11:28:06 +01:00
  • 6af04edf32 [poincare] Expression::additionalInformationType: return Rational for all forms of type [±12]/[±32] Émilie Feral 2019-12-26 11:26:54 +01:00
  • ae438ca546 [poincare] DivisionQuotient, DivisionRemainder: add method to reduce on Integers Émilie Feral 2019-12-26 10:47:31 +01:00
  • de2046fea8 [poincare] BasedInteger: fix multiplication sign with Decimal integer Émilie Feral 2019-12-26 10:46:26 +01:00
  • 280f20c93c [poincare] Fix remainder of division by 0: rem(12,0) should be undefined and not infinity Émilie Feral 2019-12-26 10:29:14 +01:00
  • f47a18bf4a [calculation] Remove useless includes Émilie Feral 2019-12-23 19:09:08 +01:00
  • df47a355a2 [calculation] HistoryController: display RationalListController when clicking on a burger of a Rational input Émilie Feral 2019-12-23 19:08:39 +01:00
  • 54f1984cf0 [calculation] Create a class RationalListController Émilie Feral 2019-12-23 19:08:22 +01:00
  • 47e7a8407b [calculation] WIP: add messages for RationalListController Émilie Feral 2019-12-23 19:07:46 +01:00
  • f94727b62d [calculation] HistoryController: factorize code Émilie Feral 2019-12-23 18:36:15 +01:00
  • 1dae85694f [calculation] IllustratedListController: empty calculation store before reloading it Émilie Feral 2019-12-23 18:30:49 +01:00
  • 847eb8d907 [calculation] Create a class ListController to factorize IllustratedListController and SimpleListController Émilie Feral 2019-12-23 18:30:10 +01:00
  • 714e5f12d9 [calculation] WIP: display IntegerListController when clicking on a burger view of an integer input Émilie Feral 2019-12-23 17:30:24 +01:00
  • 51d5fc0473 [calculation] AdditionalOutputs: Create a IntegerListController Émilie Feral 2019-12-23 17:30:00 +01:00
  • 8d40ef8ccb [calculation] Add sketch messages for IntegerListController Émilie Feral 2019-12-23 17:29:18 +01:00
  • 80100b62af [calculation] Additional outputs: Create a class SimpleListController. Future IntegerListController and RationalListController will inherit from it Émilie Feral 2019-12-23 17:26:35 +01:00
  • 2cae1cdf50 [poincare] Integer: factorize overflown integer handling in serialization methods Émilie Feral 2019-12-23 14:43:54 +01:00
  • 7209265254 [poincare] Parser: forbid parsing 0xABCF as 0xABC*F Émilie Feral 2019-12-11 16:37:46 +01:00
  • 00e8af789b [poincare] BasedInteger: use dot mutliplication sign around binary/hexadecimal integers Émilie Feral 2019-12-11 16:15:54 +01:00
  • a900e39cf3 [poincare] Parser: fix sequence parsing Émilie Feral 2019-12-11 15:14:44 +01:00
  • b875d02fdf [poincare] Parsing: prevents from tokenizing "0b" "0x" Émilie Feral 2019-12-11 15:13:57 +01:00
  • 30c4e01737 [poincare] Fix and add tests about BasedInteger Émilie Feral 2019-12-10 18:10:55 +01:00
  • 1f3dc95a0f [poincare] Fix AdditionalInformation on Integer and Rational Émilie Feral 2019-12-10 15:10:03 +01:00
  • aabe663376 [poincare] Number: "12242" is parsed as a BasedInteger instead of a Rational Émilie Feral 2019-12-10 15:09:33 +01:00
  • ce85fa2185 [poincare] BasedInteger: fix multiplication sign between 0x23A and π Émilie Feral 2019-12-10 15:03:44 +01:00
  • e72ba3d064 [poincare] Number: fix number to handle BasedInteger case Émilie Feral 2019-12-10 12:04:07 +01:00
  • a1b2cbb0a9 [ion] Unicode: clean warning Émilie Feral 2019-12-10 11:38:05 +01:00
  • 54c55d130a [poincare] Tokenize/Parse BasedInteger Émilie Feral 2019-12-10 11:37:38 +01:00
  • 7c2ef5847b [poincare] Add class BasedInteger Émilie Feral 2019-12-10 11:37:19 +01:00
  • fef07ee239 [poincare] Integer: add methods to serialize/layout/build in hexadecimal and binary Émilie Feral 2019-12-09 11:37:59 +01:00
  • 49d52f293e [calculation] First version of the TrigonometryListController Émilie Feral 2019-12-06 15:55:29 +01:00
  • 83a29a822b [calculation] Improve ComplexListController Émilie Feral 2019-12-06 15:54:36 +01:00
  • 715a1a2d5e [calculation] AdditionalInformation are base on the Calculation input instead of exact output Émilie Feral 2019-12-06 15:54:03 +01:00
  • 1eb0744caa [calculation] IllustratedListController: fix setExpression (use virtual symbol) Émilie Feral 2019-12-06 15:53:24 +01:00
  • a75acf6f87 [calculation] IllustratedListController: fix numberOfRows Émilie Feral 2019-12-06 15:51:53 +01:00
  • d178adc936 [apps/calculation] Improve expressions that are displayed in Complex pop-up Émilie Feral 2019-12-04 16:34:54 +01:00
  • d698af035c [calculation] ScrollableInputExactApproximateExpressionsView: improve margins, background color, size Émilie Feral 2019-11-22 13:49:13 +01:00
  • 157aa206c6 [calculation] Calculation: add a parameter to height to compute the height of the calculation cell with all expressions inlined Émilie Feral 2019-11-22 13:48:36 +01:00
  • 52ac7b1a94 [calculation] IllustratedListController: fix first responder when IllustratedListController becomes first responder Émilie Feral 2019-11-22 09:54:04 +01:00
  • 24873ef730 [calculation] IllustratedListController: forbid selection of the illustration cell Émilie Feral 2019-11-22 09:48:27 +01:00
  • 79a84d1044 [calculation] Add an equal sign in ScrollableInputExactApproximateExpressionsCell Émilie Feral 2019-11-22 09:33:15 +01:00
  • f850226341 [calculation] Fix ScrollableInputExactApproximateExpressionsView margins Émilie Feral 2019-11-21 17:31:28 +01:00
  • dcdc5ac879 [calculation] ScrollableInputExactApproximateExpressionsCell inherits from TableCell to draw borders Émilie Feral 2019-11-21 17:26:06 +01:00
  • d1439c2453 [calculation] ScrollableInputExactApproximateExpressionsCell is a responder Émilie Feral 2019-11-21 17:19:39 +01:00
  • 90033a54c0 [shared] Avoid extra function call Émilie Feral 2019-11-21 16:44:03 +01:00
  • c7ae89fcba [calculation] Additional outputs: display left and center subviews of InputExactApproximateExpressionsView in the additional output pop-up Émilie Feral 2019-11-21 16:42:55 +01:00
  • eac83fce0b [calculation] Improve margins of additional results pop-up Émilie Feral 2019-11-21 15:01:46 +01:00
  • 2ebbe5ae25 [calculation] WIP: first version of ComplexListController Émilie Feral 2019-11-21 14:04:31 +01:00
  • 47e4abee81 [apps/calculation] Reload display output when HistoryController appears (to avoid displaying 2 = 2 when leaving and reentering Calculation app) Émilie Feral 2019-11-21 13:34:18 +01:00
  • ec0c7c0384 [apps/calculation] Create ScrollableInputExactApproximateExpressionsView inheriting from Shared::ScrollableExactApproximateExpressionsView Émilie Feral 2019-11-20 11:59:10 +01:00
  • 6ed9e11de3 [apps/shared] ScrollableExactApproximateExpressionsView: split ScrollableExactApproximateExpressionsView into AbstractScrollableExactApproximateExpressionsView and ScrollableExactApproximateExpressionsView to factorize code with future ScrollableInputExactApproximateExpressionsView Émilie Feral 2019-11-19 17:43:53 +01:00
  • a21689d72c [apps/calculation][poincare] Move additionalInformationType method from Calculation to Poincare module Émilie Feral 2019-11-19 11:02:56 +01:00
  • 66b88de4b4 [apps/calculation] WIP: Improve Calculation::additionalOuput Émilie Feral 2019-10-16 17:55:40 +02:00
  • e932e8f895 [apps/calculation] Fix HistoryController: update the OutputView when reloading the table data Émilie Feral 2019-10-16 15:49:00 +02:00
  • 904995f841 [apps/shared] ScrollableExactApproximateExpressionsView: remove useless reload Émilie Feral 2019-10-16 15:02:26 +02:00
  • 400819d87d [apps/calculation] HistoryViewCell: remove useless m_expandedCalculation Émilie Feral 2019-10-16 14:59:56 +02:00
  • 6c9832c9e1 [apps/calculation] Avoid blinking in Calculation Émilie Feral 2019-10-16 12:11:19 +02:00
  • 8e57c00ff8 [apps/calculation] Additional outputs: clean complex model (handle undefined values) Émilie Feral 2019-10-16 10:21:26 +02:00
  • b33a778ccb [ion] N0110 linker script: fix symbol name of section internal_to_external Émilie Feral 2019-10-16 10:16:42 +02:00
  • f0ec2136b7 [apps/calculation] WIP: display the complex graph when clicking on the burger menu Émilie Feral 2019-10-16 10:16:10 +02:00
  • b566846c49 [apps/calculation] SelectableView: force relayouting subviews in scrollToCell Émilie Feral 2019-10-15 17:20:28 +02:00
  • efe66a1218 [apps/calculation] HistoryViewCell: memoize the calculation additional output and display burger when required Émilie Feral 2019-10-15 17:18:21 +02:00
  • fa5902dcd2 [apps/calculation] Calculation: add a methods additionalOuput Émilie Feral 2019-10-15 17:17:40 +02:00
  • 29c50702ae [apps/shared] ScrollableExactApproximateExpressionsView: add a burger view Émilie Feral 2019-10-15 15:13:55 +02:00
  • 8915148e72 [escher] Add a class BurgerMenuView Émilie Feral 2019-10-15 11:04:18 +02:00
  • bb8bf9862c [apps/calculation] ComplexGraphView: add the angle value on the graph Émilie Feral 2019-10-14 13:26:51 +02:00
  • 27618e20d1 [apps/calculation] ComplexModel: use inheritance instead of composition with std::complex<float> class Émilie Feral 2019-10-14 11:40:06 +02:00
  • 6af92c6d14 [apps/calculation] ComplexModel: change methods names Émilie Feral 2019-10-14 11:34:34 +02:00
  • 94ae9be992 [apps/calculation] ComplexGraphView: draw the angle and a segment from the origin to the complex dot Émilie Feral 2019-10-14 11:31:55 +02:00
  • f7942207f5 [apps/shared][apps/calculation] Create a methods Shared::CurveView::drawAxisLabel and use it in ComplexGraphView Émilie Feral 2019-10-14 10:40:22 +02:00
  • 9c3dd84c42 [apps/shared] CurveView: factorize code of drawLabels and drawLabel Émilie Feral 2019-10-14 10:28:13 +02:00
  • 0beceede5f [apps/shared][apps/calculation] Create CurveView::drawLabel and use it in complex_graph_view Émilie Feral 2019-10-14 09:46:21 +02:00