Commit Graph

890 Commits

Author SHA1 Message Date
Émilie Feral
590c869bc8 [escher] create class expression view
Change-Id: I16ddd22318ad120d736ad7f10bb2800a13c2b005
2016-10-27 14:03:25 +02:00
Émilie Feral
2eae7c43ff [poincare] Handle inf and nan when convert float in string
Change-Id: I2121a8030d044984235e48ad50a3c6ec9e06c31e
2016-10-26 16:26:47 +02:00
Émilie Feral
0dffa59352 [poincare] Use roundf to turn float in string
Change-Id: I4414cc66c004c5abab12c36d945c63d2df8f70ea
2016-10-26 16:26:47 +02:00
Émilie Feral
e9795b16da [apps/calculation] Change calculation store model to be a buffer ring
Change-Id: Ic444456288e68dcf7b78705880b9507de0a95a2d
2016-10-26 16:26:12 +02:00
Émilie Feral
c94183253c Merge "[liba] Implement isnan and isinf as specified by the C99 standard" 2016-10-26 12:03:16 +02:00
Romain Goyet
8bff8a97aa [liba] Implement isnan and isinf as specified by the C99 standard
Change-Id: Ie767503568b7391d421a46052a1fc4a85b4006c7
2016-10-26 10:01:57 +02:00
Émilie Feral
cedabbb13a [escher] Change name list view cell -> menu list cell
Change-Id: I9fccf615fc0ebacadf7d0b55ca9af5ec997ce572
2016-10-25 17:55:28 +02:00
Émilie Feral
269b11efef [apps/probability] Use selectable table view in law controller
Change-Id: I286599de512fa9004846dbbe666d5ab8ed117407
2016-10-25 17:55:28 +02:00
Émilie Feral
b14217bb88 [apps/home] Use selectable table view in home controller
Change-Id: Iaa66f31ac3113372352254ecdd0bc4ca5c0452de
2016-10-25 17:55:28 +02:00
Émilie Feral
68a9f6113b [escher] Overwrite reload cell in text list view cell
Change-Id: Ic9567a3abe93f4983788f328e8b6c42c27cd5090
2016-10-25 17:55:28 +02:00
Émilie Feral
a2efc9c458 [apps/graph/values] Use selectable table view in values parameter
controller

Change-Id: I255b2759dbbb2954e3d192c6755e95b79bb66b33
2016-10-25 17:55:28 +02:00
Émilie Feral
790240bb25 [apps/graph/values] Use selectable table view in function parameter
controller

Change-Id: I2c94327f20b4451160c6948ab3669e14ab86ce79
2016-10-25 17:55:28 +02:00
Émilie Feral
b9eb9eb432 [apps/graph/values] Use selectable table view in derivatie parameter
controller

Change-Id: Idafdf76d00e610b17bf26e9ac9442be245be6ffb
2016-10-25 17:55:28 +02:00
Émilie Feral
1d4b7b9ba5 [apps/graph/values] Use selectable table view cell in the abscissa
parameter controller

Change-Id: I9a1e436da28cc7e9185c3395ce42c66bbe2fff72
2016-10-25 17:55:28 +02:00
Émilie Feral
b1b9af61f9 [apps/graph/list] Use selectable table view in parameter controller
Change-Id: I833d7775ec77d8900e378a3fa536f66ce5b4902b
2016-10-25 17:55:28 +02:00
Émilie Feral
49862196c8 [apps/calculation] Handle the case when the calculation history is empty
Change-Id: I164ae6406016031b803679c073957d1986069776
2016-10-25 17:55:28 +02:00
Émilie Feral
be8341b4a2 [apps/graph/list] Use selectable table view in the list controller
Change-Id: I7b4429ab04e7f452c5ff12f6483fc39fd39cea85
2016-10-25 17:55:28 +02:00
Émilie Feral
73694dcaac [escher] add default constructor to selectable table view
Change-Id: Iafde15dfabefafe9659e99aa7cbb5bf10fc79030
2016-10-25 17:55:28 +02:00
Émilie Feral
e96732352b [apps/caculation] Use a selectable table view instead of table view in
history controller

Change-Id: I0d7533ba055ed03547a20b3bef7936ed2ea0759f
2016-10-25 17:55:28 +02:00
Émilie Feral
a29c46f662 [escher] delete list view
Change-Id: Ia3e2aa2613479e2fcc7f12e7de3b7e8b8f2cff68
2016-10-25 17:55:28 +02:00
Émilie Feral
e7b3cb8df6 [apps/graph/values] make the table of values uses a selectable table
view instead of a table view

Change-Id: I5cba9d5d1fbaab3fc4b2c7fd5ab287d6dafdb3c1
2016-10-25 17:55:28 +02:00
Émilie Feral
c5bb3df9a8 [escher] create a class selectable table view
Change-Id: I4e6372ed7d586d35b9b96f8cb1d29bf693713dda
2016-10-25 17:55:28 +02:00
Émilie Feral
5d7e57b228 [escher] Add method to get data source in table view
Change-Id: I511bbbfa7727216bcd1d02b9df93491061f6a9a8
2016-10-25 17:55:28 +02:00
Émilie Feral
dd2fb25737 [escher] In header view controller, return a boolean when a button is
selectionned

Change-Id: I59e10ace4232d9e8d6fce5edf7215e04f909e73e
2016-10-25 17:55:28 +02:00
Émilie Feral
f809d089d6 [escher] Make table view accept only table view cell
Change-Id: I393375d0887e692a85747198d5b42d26d207dc83
2016-10-25 17:55:28 +02:00
Émilie Feral
9ffb74fcca [apps/graph/values] Simplify the values parameter controller
Change-Id: Idc5f983a79311ff1bb673cef6f79119c3df084ac
2016-10-25 17:55:28 +02:00
Émilie Feral
595f4a2460 [apps/graph/values] Correct bug: set the table as first responder
when the selection is on a cell of the table

Change-Id: I826360790a5793b59b02f1bf77beea21b13453bf
2016-10-25 17:55:28 +02:00
Émilie Feral
b56d88cefa [apps/graph] make the function title cells consistent
Change-Id: Ib59f3d5f8a679cddd8a88e16711138425a6e9ecb
2016-10-25 17:55:28 +02:00
Émilie Feral
b101308922 [apps/calculation] Rename calcul->calculation
Change-Id: I57ca7353516cee2da33470a8a0f622a21c3fe7e9
2016-10-25 17:55:28 +02:00
Émilie Feral
44249956df [apps/graph/values] Correct a bug: display the empty table warning when
no function is defined and active

Change-Id: I528d3437d274a08bf55e949c3f79646f71ce72af
2016-10-25 17:55:28 +02:00
Émilie Feral
25a4e619dc [apps/graph/list] Correct how switch view is updated
Change-Id: Iabe467f102d7e9f4beb36d48aac0ed86edbf0aff
2016-10-25 17:55:28 +02:00
Émilie Feral
c34ba06c09 [apps/calcul] Adjust the size of historic cells to the expression layout
Change-Id: I32d860a0cd6c4feb9354ec15a624c04a0f6db931
2016-10-25 17:55:28 +02:00
Émilie Feral
686d759993 [escher] Split the class list view data source in a simple view data
source and a data source (as for table view data source)

Change-Id: I66fc17d2a10a3a4db1ca250776f19de8fb559656
2016-10-25 17:55:28 +02:00
Émilie Feral
860ecc52c8 Merge "[liba] Use roundf from OpenBSD" 2016-10-25 17:54:44 +02:00
Émilie Feral
11ea7db481 Merge "[liba] Add isinff and isnanf" 2016-10-25 17:51:28 +02:00
Romain Goyet
6ba4c55832 [liba] Use roundf from OpenBSD
Change-Id: I00fbcadffcc54b2af820de203be6c5880f12a884
2016-10-25 11:38:13 +02:00
Romain Goyet
5befa0f0a8 [liba] Add isinff and isnanf
Change-Id: I7141c6aef7dc8fed3538f157f9c1fcec76d951d1
2016-10-25 11:01:21 +02:00
Émilie Feral
a82ab9f77d [escher] Correct a bug: mark text field as dirty when reinit
Change-Id: Ic5e3f6bde64d7cbd90c38458c15edb900951eacf
2016-10-24 15:24:02 +02:00
Émilie Feral
c0c889fde2 [apps/calcul] Add calcul to the history from the text field
Change-Id: Ie3c00b9dbe27f7fb61cc3cb073aa9b0e2a846dd6
2016-10-24 15:24:02 +02:00
Émilie Feral
44232b2c24 [apps/calcul] Display in the historic list the calcul stored in calcul
store

Change-Id: I390cc95f9ed45273445b56146df16f7f1b1941dd
2016-10-24 15:24:02 +02:00
Émilie Feral
c80771ad11 [apps/calcul] create a class calcul store
Change-Id: I239e189c46f53ce2683e66846687b461b45c8a1c
2016-10-24 15:24:02 +02:00
Émilie Feral
b54321c459 [apps/calcul] add a field to edit text before evaluate it
Change-Id: I1f21bc3bb1460d120161915bcad0db828bbdcc01
2016-10-24 15:24:02 +02:00
Émilie Feral
3146924f21 [apps/calcul] create a list representing the calcul history
Change-Id: I439b6c8ca25541ab64c3c5da7351ad0a18e862b3
2016-10-24 15:24:02 +02:00
Émilie Feral
3aad29019e [apps/calcul] create a cell to represent history line
Change-Id: Ib24189e510c10a5541b4ec83ce4dc286fba40706
2016-10-24 15:24:02 +02:00
Émilie Feral
7fdc7de746 [apps/calcul] create a model of a calcul
Change-Id: I5d5515f8d59f7259890425a3cde4e44d15cd5eba
2016-10-24 15:24:02 +02:00
Émilie Feral
0907794091 [apps] Add new appication calcul
Change-Id: Icfd51157b567b82229b9c6b48244187be0be8a85
2016-10-24 15:24:02 +02:00
Émilie Feral
e99804b747 [apps/graph] Correct the initialisation of the application
Change-Id: I34883d5a6d00c6627d8668d560880ca52f65f7ba
2016-10-24 15:24:02 +02:00
Émilie Feral
927ba42e22 [apps/graph/list] Add a button add a function in the function list
Change-Id: I0a535df7dbcee8809e5b52ff1c8fb28af6cbd916
2016-10-24 15:24:01 +02:00
Émilie Feral
34a614fbdf [apps/graph/list] Create a class for the button new function
Change-Id: Id9a03b9c7047ca709ee29298f10f7dde216e259a
2016-10-24 15:24:01 +02:00
Émilie Feral
e5ff8f65c3 [apps/graph] Handle undefined function
Change-Id: Id26e0f81ba5c1446655f33b2c63f97ab5b684e41
2016-10-24 15:24:01 +02:00