Commit Graph

61 Commits

Author SHA1 Message Date
Ruben Dashyan
43d72e082f [apps] Move sumBetweenBounds from Shared::Function to Shared::SumGraphController 2019-08-29 11:07:22 +02:00
Ruben Dashyan
2866a8f861 [apps/shared/sum_graph_controller] Clean start/endSum 2019-08-29 11:07:22 +02:00
Ruben Dashyan
b2bca3e4aa [apps/shared/sum_graph_controller] Remove redundancy 2019-08-29 11:07:22 +02:00
Léa Saviot
0840ca7a1e [apps/poincare] Move NormalDistribution to Poincare 2019-08-23 13:47:52 +02:00
Émilie Feral
a2059432bd [apps/shared] SumGraphController keeps 2 text buffers for its editable
zone (to be able to abort editing and find back the previous text)
2019-08-13 09:44:00 +02:00
Émilie Feral
12060e2ae7 [escher] TextField: all text fields use the same draft text buffer 2019-08-13 09:44:00 +02:00
Léa Saviot
b0b10f184e [poincare/print_float] convertFloatToText -> ConvertFloatToText 2019-08-08 17:22:06 +02:00
Ruben Dashyan
44809f4b3f Substitute Escher app() by Container::activeApp() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
ff887ec4a0 [apps/shared] Define static app() accessor in FunctionApp class 2019-07-19 15:06:25 +02:00
Ruben Dashyan
62cec10b46 [apps] Clean unnecessary AppsContainer class declarations and header inclusions 2019-07-19 15:06:25 +02:00
Ruben Dashyan
0e1c1a017d [apps] Implement TextFieldDelegate methods in GraphControllers 2019-05-03 15:54:22 +02:00
Ruben Dashyan
5b6fca8f72 [apps] Replace k_cursorTop/BottomMarginRatio by virtual methods
In SimpleInteractiveCurveViewController subclasses.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
ce712eac53 [apps/shared] Clean SimpleInteractiveCurveViewController constructor 2019-05-03 15:54:21 +02:00
Ruben Dashyan
82685cb371 [apps] Factorize portions checking whether text approximates to double 2019-05-03 15:54:21 +02:00
Ruben Dashyan
a400a5024b [apps/shared] Implement SumGraphController::reloadBannerView 2019-05-03 15:54:21 +02:00
Ruben Dashyan
e47ab69e53 [apps/shared] Implement SumGraphController::handleLeftRightEvent 2019-05-03 15:54:21 +02:00
Ruben Dashyan
211ae05667 [apps/shared] Clean SumGraphController 2019-05-03 15:54:21 +02:00
Léa Saviot
1d26e6da73 [ion/unicode] Clean special code points 2019-05-03 15:53:21 +02:00
Émilie Feral
578c65d5dd [shared] Clean class names containing storage 2019-05-03 15:53:20 +02:00
Émilie Feral
ad8fea46c3 [shared] Clean unused classes 2019-05-03 15:53:20 +02:00
Léa Saviot
40c057f0ee [apps] Fix SumGraphController array size 2019-05-03 15:53:20 +02:00
Léa Saviot
47e9be2574 [apps] Fix SumGraphController use of CodePointString 2019-05-03 15:53:19 +02:00
Léa Saviot
bbb10f1993 [ion/kandinsky] Move unicode to ion 2019-05-03 15:53:19 +02:00
Léa Saviot
65e5adafac Remove Ion::Charset 2019-05-03 15:53:19 +02:00
Émilie Feral
7b5f3c570d [poincare] Change the way Expression are built 2019-02-21 11:29:35 +01:00
Émilie Feral
ac6f23684d [poincare] Clean Expression and Layout builders
Before: Opposite(Opposite(Rational(1))) misleadingly created the
expression "-1"; now, Opposite::Builder(Opposite::Builder(Rational(1)))
creates "--1"
2019-02-21 11:29:35 +01:00
Émilie Feral
7e7c77a0e8 [escher] TextField and LayoutField handle move events while in editing
mode to avoid leaving unexpectedly edition mode
2018-11-23 12:04:03 +01:00
Émilie Feral
698332c355 [escher] InputTextDelegate and LayoutFieldDelegate don't inherit from
InputTextDelegate to avoid diamond inheritance
2018-11-23 12:04:03 +01:00
Lionel Debroux
1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Léa Saviot
5d92f13c26 Clean strlcpy arguments 2018-10-17 11:22:37 +02:00
Romain Goyet
f8beae3b86 [kandinsky] Move to KDFont 2018-10-11 16:44:02 +02:00
Émilie Feral
365b145cf3 [poincare] Change names: LayoutReference-->Layout 2018-09-18 16:29:44 +02:00
Émilie Feral
616e4c0bcc [poincare] Change name: LayoutRef --> LayoutReference 2018-09-14 16:57:12 +02:00
Émilie Feral
03d3c1f9f2 [shared] SumGraphController: fix the condensed sum layout 2018-09-07 14:05:42 +02:00
Émilie Feral
f70f72da1a Change new Layout -> LayoutRef 2018-09-06 16:04:17 +02:00
Émilie Feral
eeaea93468 [shared] Fix SumGraphController 2018-09-06 14:07:41 +02:00
Léa Saviot
5d9e69dedc [poincare] Remove Tree constructors that use nullptr as parameter 2018-08-14 14:58:47 +02:00
Émilie Feral
cb4bb4f8f0 [poincare] Engine-->Helper and break LayoutHelper into LayoutHelper and
SerializationHelper
2018-08-08 14:00:52 +02:00
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Léa Saviot
3b1fc4b3d5 [poincare] Remove old layouts 2018-07-26 14:46:55 +02:00
Léa Saviot
a3032e5ec3 Merge branch Tree into master 2018-07-19 14:01:02 +02:00
Émilie Feral
e61a408a0a [poincare] Get rid of AngleUnit::Default 2018-07-18 17:09:07 +02:00
Émilie Feral
b8af15f1ab [poincare] change createLayout signature
- CreateLayout depends on the float display mode and the number of
significant digits
- Float display mode does not have a default value anymore
2018-07-18 16:32:50 +02:00
Léa Saviot
f579e95815 [poincare] Start removing ExpressionLayout 2018-07-03 17:33:06 +02:00
Léa Saviot
c70feb9a46 [poincare] Fix SumGraphController CondensSumLayout size on second step
Change-Id: Ia9608ccf6b556183ed8def852d35a9096aeaac19
2018-05-15 11:35:11 +02:00
Léa Saviot
9af3d378d1 [apps] Fix CondensedSumLayout created with a nullptr child
Change-Id: Ie6d4c6408a45a9cdf617b8cba988667c17f4cc36
2018-05-09 09:55:58 +02:00
Léa Saviot
88aaab64ba [apps] Fix obsolete code in Code and Shared
Change-Id: Ie6ce0f753bf05cb5f6dd5ed974db2a715b21624e
2018-04-11 17:10:09 +02:00
Léa Saviot
cbaba85daa [apps] Fix missing arguments in layout creation.
Change-Id: If819c6f8d067b80d5672774ca303b68e21cf0d7a
2018-04-11 10:41:28 +02:00
Léa Saviot
7991c5376f [apps] Fix typos
Change-Id: I650d0d98daab5959e9efab79b78905533316b85d
2018-04-10 18:14:55 +02:00
Léa Saviot
1c6e8119b3 [apps] Remove use of StringLayout
Change-Id: I4b8cac2fa778ebddb3e2b1f3f0f75182deb45a61
2018-04-10 18:03:19 +02:00