Commit Graph

334 Commits

Author SHA1 Message Date
Émilie Feral
e80512f362 [poincare] Context::expressionForSymbol takes a boolean notifying that
we want a copy or not
2018-11-23 12:04:08 +01:00
Léa Saviot
b9bf5be5f6 [apps/escher] Remove wrong markRectAsDirty, use reloadCell instead 2018-11-23 12:04:04 +01:00
Émilie Feral
80c1fe627c [sequence] Fix CacheContext 2018-11-23 12:04:04 +01:00
Léa Saviot
bea78aa3b1 [apps/escher] Invocation::Action returns a bool 2018-11-23 12:04:04 +01:00
Émilie Feral
0a823da78c [escher] Variable box pop-up is handle as Toolbox pop-up by asking
InputEventHandlerDelegate
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
Émilie Feral
7778c694d1 [escher] Create an InputEventHandlerDelegate that gives the toolbox to
be used by an InputEventHandler
2018-11-23 12:04:02 +01:00
Léa Saviot
71d8358722 [apps/escher/poincare] Change KDText::FontSize to KDFont 2018-11-23 12:04:02 +01:00
Émilie Feral
01e433a9f2 [escher] Clean Field and Input class hierarchy:
Class hierarchy:
- InputEventHandler
- TextInput
- EditableField derives from InputEventHandler
- LayoutField, TextField and ExpressioField derives from EditableField
- TextArea and TextField derives from TextInput
2018-11-23 12:04:02 +01:00
Léa Saviot
da226f7861 [tests] Fix GlobalContext namespace and duplicate test 2018-11-23 12:04:01 +01:00
Léa Saviot
21b214e60f [apps] Build all apps 2018-11-23 12:04:01 +01:00
Léa Saviot
6197ebd4c5 [poincare] SymbolAbstract is parent of Symbol and Function 2018-11-23 12:04:00 +01:00
Léa Saviot
96b594b875 [apps/graph] Adapt function name column width to names 2018-11-23 12:04:00 +01:00
Léa Saviot
a7a719df4a [poincare] Handle functions in replaceSymbolWithExp and similar methods 2018-11-23 12:03:59 +01:00
Émilie Feral
cf68a9ed18 [shared] Change TextFieldDelegateApp::XNT() signature 2018-11-23 12:03:59 +01:00
Léa Saviot
aaca53e9b0 [poincare] Fix symbol constructor: name and its length are mandatory 2018-11-23 12:03:59 +01:00
Émilie Feral
ccbcf18811 [poincare] VariableContext holds an Expression instead of a Float<T> 2018-11-23 12:03:59 +01:00
Émilie Feral
e58395e8c8 [sequence] Get rid of Symbol::SpecialSymbols in Sequence 2018-11-23 12:03:58 +01:00
Léa Saviot
31d3a04678 [poincare] setExpressionForSymbolName takes a symbol name 2018-11-23 12:03:58 +01:00
Émilie Feral
a6663f524f [poincare] VariableContext hold a const char * instead of a char 2018-11-23 12:03:58 +01:00
Émilie Feral
1fff98f1c4 [poincare] Change Expression methods' signature to work with const char
* symbol instead of char symbol
2018-11-23 12:03:58 +01:00
Léa Saviot
37a22aa708 [apps/sequence] Margin in parameter controller between type and chevron 2018-11-16 14:13:27 +01:00
Lionel Debroux
70a8d06cfe [apps, poincare] Optimize the preferences singletons' usage by removing superfluous checks in the setters, and performing manual CSE in the callers.
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
2018-10-23 11:49:09 +02: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
dcf88eae01 [sequence] Revert: when editing expression with other event than OK or
EXE, we do not want to edit the previous text but to override it
2018-10-08 13:16:40 +02:00
Da Costa Faro Rémy
9a58f25646 Reindent 2018-10-02 09:49:11 +02:00
Da Costa Faro Rémy
dd678fd66b Fix sequence field 2018-10-02 09:49:11 +02:00
vardai
fc18915f89 Corrected German translation with corrections by @mhaupt 2018-09-25 10:01:17 +02:00
vardai
fab726e514 Corrected German translation without Umlaut 2018-09-25 10:01:17 +02:00
vardai
4892b87dde Corrected German translation 2018-09-25 10:01:17 +02:00
Léa Saviot
36388c9d4d [sequence] Inline some getters in sSequence::App 2018-09-21 10:46:46 +02:00
Léa Saviot
9d23fe3e22 [sequence] Do not set YAuto when resetting App::Sequence::Snapshot 2018-09-21 10:46:41 +02:00
Émilie Feral
365b145cf3 [poincare] Change names: LayoutReference-->Layout 2018-09-18 16:29:44 +02:00
Émilie Feral
ba0f866dc6 [apps] Toolbox: get rid of variable-size tables 2018-09-17 17:14:43 +02:00
Émilie Feral
616e4c0bcc [poincare] Change name: LayoutRef --> LayoutReference 2018-09-14 16:57:12 +02:00
Émilie Feral
86b3d366ca [apps] All apps are allocated in the same union 2018-09-11 11:32:29 +02:00
Émilie Feral
579da3033a [apps] Get rid of DynamicViewController (part 2) 2018-09-07 17:55:42 +02:00
Émilie Feral
0fbab2f35c [apps] Get rid of DynamicViewController 2018-09-07 17:55:42 +02:00
Émilie Feral
ca0baff80e [sequence] Fix ListParameterController 2018-09-07 11:40:05 +02:00
Émilie Feral
d4520b4648 [sequence] Fix ValuesController with new Poincare API 2018-09-07 11:40:05 +02:00
Émilie Feral
b6b5821bb6 [sequence] Fix ListController with new Poincare API 2018-09-07 10:17:52 +02:00
Émilie Feral
eaf6105438 [sequence] Fix Sequence with new Poincare API 2018-09-06 17:04:09 +02:00
Émilie Feral
cd199a97e6 [sequence] Fix SequenceToolbox with new Poincare API 2018-09-06 16:05:34 +02:00
Émilie Feral
f70f72da1a Change new Layout -> LayoutRef 2018-09-06 16:04:17 +02:00
Émilie Feral
e0d298789a [sequence] Fix TypeParameterController with new Poincare API 2018-09-06 15:56:31 +02:00
Émilie Feral
b6f977f894 [sequence] Fix TermSumController with new Poincare API 2018-09-06 15:56:31 +02:00
Émilie Feral
30f83cde2c [apps] Change names: ExpressionLayout -> Layout 2018-09-06 14:23:57 +02:00
Émilie Feral
5cc3930a44 [apps] Fix header inclusion: name of expression_layout_field_delegate
changed to layout_field_delegate
2018-09-06 14:07:41 +02:00