Commit Graph

46 Commits

Author SHA1 Message Date
Léa Saviot
7020ecef57 [apps/escher] Rename cursorTextLocation as cursorLocation 2019-04-12 15:16:51 +02:00
Léa Saviot
5142c071df [escher] Fix text inputs so they use UTF8 2019-04-12 15:16:51 +02:00
Émilie Feral
579da3033a [apps] Get rid of DynamicViewController (part 2) 2018-09-07 17:55:42 +02:00
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
e61a408a0a [poincare] Get rid of AngleUnit::Default 2018-07-18 17:09:07 +02:00
Émilie Feral
6de71ae145 [poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
2018-03-21 15:57:19 +01:00
Émilie Feral
d36cfcca51 [apps] In Editable cell table view controller, do not reload all table
data if the table dimensions did not evolve
2017-12-20 17:41:03 +01:00
Émilie Feral
077a95197e [escher] SelectableTableView handles setting the ccell as first
responder if needed
2017-12-20 17:17:41 +01:00
Émilie Feral
db35fc1d72 Merge branch 'cas_with_python' into python_console
Change-Id: I06e3e07b9fd8d52818d90110ed7517777b35b9f1
2017-12-01 17:29:55 +01:00
Léa Saviot
e43bbd38f2 [escher] Fixed TextField bug.
The Statistics apps crashed when navigating the Data table.
 -> Check that the textfield is editing before calling
textFieldShouldFinishEditing.
 -> Changed textLength() to draftTextLength().

Change-Id: Id373a7cd50438303f470abc5bcee7a795c33926a
2017-12-01 13:19:30 +01:00
Émilie Feral
76cbd2678d [poincare] Change names: approximate->approximateToScalar
Change-Id: I701451b35909bb577dd729e0ea76a405b9543f23
2017-11-24 12:06:35 +01:00
Romain Goyet
52bdf4a41f Merge branch 'cas_with_app_copy' into python_console 2017-11-21 18:44:38 +01:00
Léa Saviot
95c6d9532b [escher] Fixed TextField.
A TextField delegate should process events before the TextField itself.
EditableCellTableViewController now verifies the position of the cursor to
determine if a Left or Right event should finish the TextField edition.

Change-Id: I6c8e78d6d02c7ab87e7d81770b4242a16fecde32
2017-11-17 11:59:50 +01:00
Léa Saviot
a14cfd0aea [code] Script names are displayed and can be edited.
Change-Id: I5acc468920b66673e78da130bf90a74d0c062211
2017-11-17 11:59:50 +01:00
Jacob Young
da1e66e798 Fix #115 by fixing the math.h and cmath includes. 2017-10-13 18:08:15 +02:00
Émilie Feral
f0a776a670 [apps] Operations in double when precision required
Change-Id: I7168a861a76178f0bf81841e9378f7399f67914a
2017-08-17 09:31:53 +02:00
Émilie Feral
82e212e771 [poincare] Template for double
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
462fbd9434 [apps/shared] In editable cell table view controoler, reinit selection
only when no cell is selected

Change-Id: I5c1b0a18d504291bda308261efb9bb27470fc688
2017-06-02 14:07:55 +02:00
Émilie Feral
bbd1bf9a7f [apps] Change selection in tab children with button row controller
Change-Id: Id45fd599c76d758715afc6622abd419e04d6dd5b
2017-05-29 10:39:34 +02:00
Émilie Feral
7a23094657 [apps/shared] Change scroll indicator margin in table view
Change-Id: Ib3e3a5c673e39bd8d6f8515ae52f3fdfd58de300
2017-05-05 10:19:05 +02:00
Émilie Feral
70fc734f7b [escher] Change dynamic view controller paradigm
Change-Id: I57fd41c9b9ad8a1e8b684b97fdf80ddffd71881d
2017-05-03 14:22:51 +02:00
Émilie Feral
3f98061a4c [escher] Extrude the model in selectable table view controller to its
delegate

Change-Id: I4d49e0098d501e1419f7b216e828b13efbf74f81
2017-05-03 10:22:01 +02:00
Émilie Feral
784c27b8c8 [apps] Memory leak
Change-Id: Iffc90ef26a7e5aa500d47c77140b91e62cf6dbdc
2017-04-25 13:52:29 +02:00
Émilie Feral
edf5c47a4b [apps/shared] Avoid blinking in editable table
Change-Id: I1b6336412c43e9ae51a1e4a1adfdf21525557a73
2017-04-24 17:36:33 +02:00
Émilie Feral
230a53fe7e [apps] Use a forgotten method on selectable table view
Change-Id: I6b934ac0d2587565c6b94d5130d158b621c1e187
2017-04-24 17:36:32 +02:00
Émilie Feral
f3eb2b80df [escher] In textField, record edited data when changing selection
Change-Id: I74e1cac2188986244f79e7c5ad0eb1d300510475
2017-04-24 17:36:32 +02:00
Émilie Feral
5c7d763291 [apps/shared] Make tab table controller dynamic view controller
Change-Id: Id3a383e72173779eb295dc998f780041f62f8bf0
2017-04-21 10:08:09 +02:00
Émilie Feral
6d8d105d7e [escher][apps] Clean and fix bug in text field
function application)

Change-Id: I5d425ea7752a054ea6b05735b12442c4429f13b4
2017-03-29 15:04:37 +02:00
Émilie Feral
128af56396 [apps/statistics] Forbid negative sizes and round float sizes
Change-Id: I4db9777bea04f70b86da97f940ef5cbe669e41d9
2017-03-29 15:04:37 +02:00
Émilie Feral
4f089b2cf8 [apps] Avoid infinite value in editable table
Change-Id: I8ebbf99c244e7b7008c788aec8eed71b9ae20580
2017-03-28 14:49:22 +02:00
Émilie Feral
7a54fa0ea0 [apps/shared] Divide tab table controller in 2 classes
Change-Id: I7bd9f7395c000ad69198ab123ffcfe1b661350aa
2017-03-16 15:12:13 +01:00
Émilie Feral
adc80cd71b [apps][escher] I18n
Change-Id: I4d6f40155a8a182184af9ef2a583d0469196ffd5
2017-03-16 15:12:12 +01:00
Émilie Feral
b4b2e284e1 [apps/shared] Factorize tab table controller in a class
Change-Id: I0af0da6b9a1216c57c8a4b669d14d8a3473ac48b
2017-03-08 11:18:55 +01:00
Émilie Feral
38d184e3d9 [apps/shared] In editable cell table view controller, forbid nan values
Change-Id: Ia49d3ae6282c034c055298346d382544cb132405
2017-03-07 15:53:05 +01:00
Émilie Feral
9478fb2f26 [escher] Select tab when clicking on back: implement
willExitResponderChain for tab root controllers

Change-Id: Ie0399d24708e326d2284013a925792b36e6b629b
2017-03-07 14:34:12 +01:00
Émilie Feral
73c366652f [apps/shared] Fix bug: do not turn off editing mode when selection has
not changed in editable cell table view controller

Change-Id: Icf56a2383272f6c14b5698bd38fd538fd04291dc
2017-02-20 11:45:11 +01:00
Émilie Feral
8311e8857c [apps] Better compartimentalize viewWillAppear and
didBecomeFirstResponder

Change-Id: I9ad482907304973a4aa74f517d506667171a036f
2017-02-20 10:54:03 +01:00
Émilie Feral
0504d11c43 [escher] Change wall screen color for even odd table
Change-Id: I55ebb16c065b68e28d642a51f13924020746dc2b
2017-02-20 10:54:03 +01:00
Émilie Feral
2e16365100 [escher] Reorganize all cells'name and factorize their layouts
Change-Id: I69900ee98ff6a6868f96d70a0e335a589ef16c3f
2017-02-20 10:54:02 +01:00
Émilie Feral
c584d1fb4e [escher] Add toolbox event handling in responder [apps] Correct the text
field delegate app accordingly

Change-Id: I180fe53aaa1e0929b357d3985f584937fba2ecca
2017-02-20 10:48:50 +01:00
Émilie Feral
e5e9f7cc41 [poincare][apps] Make preferences a const object accessible from
anywhere (poincare and apps)

Change-Id: I49cc6bf940d1efeb6b153daac949ffcb23999a8d
2017-02-20 09:39:24 +01:00
Émilie Feral
b79bcfb9dc [poincare] Change name DisplayMode -> FloatDisplayMode
Change-Id: I7754b4a5ac96c3f3564749749b49130ddf357e20
2017-02-17 16:35:07 +01:00
Émilie Feral
15a736c855 [apps/shared] Avoid container casting when possible
Change-Id: I646e605c88ad577ebd9102032aad77ff8eae6ad7
2017-02-17 16:35:07 +01:00
Émilie Feral
6f138e6b1c [escher] Add methods viewWillAppear/Disappear in view controller instead
of keeping track of dataHasChanged in the selectable table view

Change-Id: Id2626f527f44714e29b9bd66e2c843193e1b57b5
2017-02-17 16:35:07 +01:00
Émilie Feral
23026b6718 [apps/shared] Namespace shared
Change-Id: I6dec7ce900bb4e801a25c567fe5e242cb744cf29
2017-02-13 17:15:06 +01:00
Émilie Feral
b06c54856f [apps\shared] Create a folder shared/
Change-Id: I94e4474ff5ab3bf9db7afd5b3be57b985755ecdf
2017-02-13 17:15:06 +01:00