Commit Graph

971 Commits

Author SHA1 Message Date
Jean-Baptiste Boric
739bd31d10 Remove statically-allocated buffers 2020-01-04 10:34:28 +01:00
Quentin Guidée
85c98cefe5 Fix conflicts 2019-12-24 17:33:32 +01:00
redgl0w
bb83ec9b76 Update text_area.cpp 2019-12-24 09:20:33 +01:00
redgl0w
a680bb5aa2 Update layout_field.cpp 2019-12-24 09:19:12 +01:00
Quentin Guidée
a159d80b1c Resolved conflicts 2019-12-24 01:07:22 +01:00
redgl0w
eb28aabd75 Removed experiment 2019-12-22 11:18:52 +01:00
redgl0w
c903e674d3 Remove %
Removed % and put again the remove glyph
2019-12-22 11:14:56 +01:00
Léa Saviot
4e96a11a4c [escher/responder] Clean commonAncestor method 2019-12-20 11:49:30 +01:00
Léa Saviot
0412a45cea [escher/responder] Inline some methods 2019-12-20 11:49:30 +01:00
Quentin Guidée
ae43f31f2d Fixes theme engine 2019-12-01 00:10:41 +01:00
Quentin Guidée
058e0552fa Omega theme finished 2019-11-30 22:59:33 +01:00
Quentin Guidée
62695f50d7 Fix buttons color not loaded correctly 2019-11-30 21:22:31 +01:00
Quentin Guidée
2c49b8f5c9 New fixes for the themes 2019-11-30 13:31:01 +01:00
Quentin Guidée
ec43f41a8e Omega theme: some fixes 2019-11-29 23:35:35 +01:00
Quentin Guidée
cd604bcb53 Omega Theme: some fixes 2019-11-29 22:11:35 +01:00
Quentin Guidée
c68a0cdb33 New Default theme: Omega theme! (Beta) 2019-11-29 19:42:39 +01:00
Quentin Guidée
af2e8209ef Update of submodules + Atom is now themed 2019-11-27 16:19:39 +01:00
Quentin Guidée
3b592c847e New dark theme & KDColorWhite -> Palette::BackgroundHard 2019-11-26 23:04:03 +01:00
Quentin Guidée
db269f1204 KDColorBlack -> Palette::Text for the theming engine 2019-11-26 19:22:24 +01:00
Quentin Guidée
aa9854b330 Work in progress: resolve conflicts + settings easier 2019-11-17 14:04:53 +01:00
M4x1m3
48e8259def Added colors for Atom in palette.h 2019-11-10 15:25:52 +01:00
RedGl0w
fa9ec8e40e Added submenu in settings for changing the symbol of multiplication 2019-11-10 11:53:44 +01:00
Émilie Feral
770f0971d7 [escher] TableView: cellAtLocation returns nullptr if the cell is not
currently displayed
2019-10-07 14:36:03 +02:00
Émilie Feral
4d593a6149 [poincare] PrintFloat: take into account the distinction between char
and glyph length in ConvertFloatToText
2019-09-26 11:26:48 +02:00
Émilie Feral
743bf7cf28 [escher] EvenOddMessageTextCell wraps the message view with a 2-pixel
margins (avoid almost duplicate classes)
2019-09-26 11:26:48 +02:00
Émilie Feral
6f70924893 [escher] EvenOddBufferTextCell wraps the text view with a 2-pixel margin 2019-09-26 11:26:48 +02:00
Ruben Dashyan
1d966ce23c [apps/*/expression_model_list_controller] editExpression sets text instead of InputViewController::edit 2019-09-20 17:11:42 +02:00
Ruben Dashyan
7d9f479f3c [escher/input_view_controller] Define setTextBody method
And inline textBody method.
2019-09-20 17:11:42 +02:00
Léa Saviot
4caf9f5197 [coding style] Make some methods const 2019-09-09 20:05:14 +02:00
Ruben Dashyan
ff6eb00801 [escher/selectable_table_view_data_source] Inline all in header file 2019-09-04 15:07:40 +02:00
Léa Saviot
f3376de1b2 [escher/scroll_view] Fix redrawing glitch
Scenario: Go to statistics, add values on the last column, when the
vertical scrollbar appears there is a drawing glitch on the horizontal
bar.
2019-09-04 13:43:37 +02:00
Léa Saviot
41bcc1f133 [escher/scroll_view] Coding style 2019-09-04 13:43:37 +02:00
Émilie Feral
6013e6a937 [escher] Add a class MessageTableCellWithChevronAndBuffer 2019-08-29 15:54:52 +02:00
Émilie Feral
638b655c58 [escher] Add a comment to clean TableCell and margins handling 2019-08-29 15:54:52 +02:00
Ruben Dashyan
c1470ed9d3 [escher/input_view_controller] Define isEditing method 2019-08-29 11:07:22 +02:00
Ruben Dashyan
0f3fc46ad1 [escher/message_table_cell_with_chevron_and_expression] subAccessoryView has margin by default 2019-08-29 11:07:22 +02:00
Émilie Feral
011142427a [esher] TextField: fix issues:
- when textFieldDidFinishEditing failed ("1+ln(-2)" in a scalar
entry for instance), the previous text was modified even if edition aborted
- The draft buffer was not reinitialized when overriding the draft text
buffer with a text event
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
c839fb52a3 [escher/layout_field] Fix cursor position on Empty layout
Scenario: In the calculations app, write 1, Enter, write •|/2, go up,
then go down. There is a problem with the empty layout and the cursor.
2019-08-08 17:22:03 +02:00
Léa Saviot
ce15bc202d [escher/layout_field] Fix EmptyLayout disappearance
Scenario :
In the calculation app, write 1, press Enter.
       •|
Write ---
       2
Then go up. The empty layout on top of the fraction disappears.
2019-08-08 17:22:03 +02:00
Émilie Feral
2ecc566c2c [escher] TextField: when handling event with text, replace system
parenthesis by user parenthesis to switch from layout structure to
linear text.

When copying a layout and pasting it to a textfield, we add required
parentheses:

 2+1
----- serializes to ---> [2+1]/3 and is turned to (2+1)/3 before being
  3
handled by a textfield.
2019-08-08 17:22:02 +02:00
Émilie Feral
2861a35840 Clean some warnings 2019-08-08 16:29:38 +02:00
Émilie Feral
7a4ee746b2 [escher] TextField: call reinitDraftBuffer after edition is complete to
avoid erasing text that is required later.

Fix bug: OK handling on function list in linear mode did not copy the
function expression into the textfield before editing
2019-07-30 11:47:42 +02:00
Ruben Dashyan
bc8b5af2e6 [escher/modal_view_controller] didBecomeFirstResponder selects modal view if displayed 2019-07-19 15:06:25 +02:00
Ruben Dashyan
44809f4b3f Substitute Escher app() by Container::activeApp() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
b4cac92af2 [escher/modal_view_controller] Clean didBecomeFirstResponder 2019-07-19 15:06:25 +02:00
Ruben Dashyan
a0e6151b26 [*container] Remove static Container::sharedContainer 2019-07-19 15:06:25 +02:00
Ruben Dashyan
80981ce865 [escher/container] Make activeApp static 2019-07-19 15:06:25 +02:00
Ruben Dashyan
17795eed87 [escher] Include container.h instead of app.h
app.h did actually include container.h
2019-07-19 15:06:25 +02:00
Ruben Dashyan
0531187cda [escher] Cleaner app header inclusion 2019-07-19 15:06:25 +02:00