Commit Graph

7312 Commits

Author SHA1 Message Date
Émilie Feral
2aa227ce0f [apps/graph/values] add an interval in values controller
Change-Id: I3ff16e6baaf91e8351f6b1ec756291af447c9fbf
2016-10-12 17:39:53 +02:00
Émilie Feral
300d595c9d [apps/graph/values] Create a class Interval
Change-Id: Ie05a9887c0f3d4146b9e90a139f57e6eec7981b1
2016-10-12 17:39:53 +02:00
Émilie Feral
0d98d57031 [apps/graph/values] add margin to the table of values
Change-Id: I606917b6dc0313a1b9041993aa1315ad7c15f089
2016-10-12 17:39:53 +02:00
Émilie Feral
3360275cea [apps/graph/graph] call method to evaluate functions to display curves
Change-Id: I87e6cce28d491b6298ac5a10b2d2b518051d3fd4
2016-10-12 17:39:53 +02:00
Émilie Feral
604e2211ab [apps/graph/function] Add a method to evaluate the function
Change-Id: I54516369bbbde8d65d98ad41d6e94cd3780e6162
2016-10-12 17:39:53 +02:00
Émilie Feral
440bf4d187 [escher] improve the drawing of tabs
Change-Id: I52d4f36087258f0c7fc9f7450ca77a0d2ae77aad
2016-10-12 17:39:52 +02:00
Émilie Feral
a4a0a4b298 [apps/graph/list] improve the drawing of the list of function
Change-Id: I0e0ea607988fdb6debeb7c48a04945519859db19
2016-10-12 17:39:50 +02:00
Émilie Feral
4f72c379f3 [apps/graph] add the table of values in graph app
Change-Id: I878362d63afddc10afa5114b9cf3afbca3b34db2
2016-10-12 17:38:53 +02:00
Émilie Feral
68db109faf [escher] add a third tab in tab view controller
Change-Id: Ia0c3f252a3779e9506c25bd894aac43f486cba8b
2016-10-12 17:38:53 +02:00
Émilie Feral
b4eb64ea76 [apps/graph/values] add a controller of the table of values
Change-Id: Ie294d85c3c31871372cf82ae9828382adb55d1ef
2016-10-12 17:38:53 +02:00
Émilie Feral
9f762f81ff [apps/values] add a class of value cell inheriting from even odd cell
Change-Id: I2c03bb0323bb7e3df7c1d5098ba677812256178b
2016-10-12 17:38:53 +02:00
Émilie Feral
016e42050f [apps/graph/values] Add a class of title cell inheriting of even odd cell
Change-Id: I013659fe18c9d6b69b3f718f1974384298a71a56
2016-10-12 17:38:53 +02:00
Émilie Feral
5004b3af9c [apps/graph/values] add a temporary methods to print float in a buffer
Change-Id: Ib81339b4b7e41a59f20432c90310a8aee68c9299
2016-10-12 17:38:53 +02:00
Émilie Feral
bda1982db0 [apps/graph] Add methods to find active functions in function store
Change-Id: Ibe7242b945160b8917421186d061c46301bb004d
2016-10-12 17:38:52 +02:00
Émilie Feral
22271b1f74 [apps/graph/list] Improve the drawing of the list of functions
Change-Id: I5325ed1a8959b55958dfd14c111e5369aed4ce81
2016-10-12 17:38:40 +02:00
Émilie Feral
fc5e282edf [apps/graph] Put the function variable name "(x)" in function
Change-Id: I0bd287363e4fc957a72dacef1a8f61f1c276da7e
2016-10-11 10:31:50 +02:00
Émilie Feral
c3524fa287 [apps/graph/list] make the class function cell inherits from even odd cell class
Change-Id: I8c786d76c7be726b2672713a5150dce5abb12061
2016-10-11 10:31:50 +02:00
Romain Goyet
72f9fa9bd5 [poincare] Use libm to eval trig functions
Change-Id: I6d0d505829b0f0e4c05f84715dea42b921f63f55
2016-10-07 20:11:22 +02:00
Romain Goyet
183efe9257 [liba] Import trigonometric function from OpenBSD's libm
Change-Id: Ib192451a0063388e0438bdef5e7ae776ed058e19
2016-10-07 20:10:57 +02:00
Romain Goyet
e61dce4c65 [poincare] Remove a warning
Change-Id: I1b13df6570d281933f2a05aba54a5a83164cca6e
2016-10-07 20:07:48 +02:00
Romain Goyet
e991ea07c2 [liba] Use OpenBSD's libm
It has support for single-precision float functions

Change-Id: Ibf59c0fd790445773b24d4832a4b30a1eb15006d
2016-10-07 19:45:09 +02:00
Romain Goyet
ba3eb94be7 [poincare] Add a Logarithm expression
Change-Id: Iaf10dec4b298811edaef1cebd04ac0b0175d9025
2016-10-07 17:11:52 +02:00
Romain Goyet
4ab77b0ca8 [poincare] Clean sin/cos/tan
Change-Id: Ie1d9d6318058546d8b0393bcb085a47bd0733532
2016-10-07 17:11:52 +02:00
Romain Goyet
6b2766035f Build using the hard-float abi
Change-Id: I85962b64a4d0f5043828f93934405597f816d859
2016-10-07 17:11:52 +02:00
Romain Goyet
39f6990f76 [liba] Add powf from FreeBSD and its dependencies
Change-Id: I8cfe65edfb95232e6a6bc66dcc2f908a3135ed14
2016-10-07 17:11:52 +02:00
Émilie Feral
02857d499d [apps/graph] create a class of even odd cell
Change-Id: Ie39168a0b298e67bfff39a35cac4f0804cae16ab
2016-10-07 14:23:24 +02:00
Émilie Feral
51c460939c [apps/graph] correct constant name inconsistency
Change-Id: I2033a202d4cc425010ab57b3a088372733126ae4
2016-10-07 14:23:24 +02:00
Romain Goyet
9fd2d9e68c [liba] Use log10f from FreeBSD's msun library
Change-Id: Ief92bbab53377e093a381aed5e92ab00c894b9d0
2016-10-07 13:54:56 +02:00
Romain Goyet
7b059c096c Remove some warnings
Change-Id: I18456e133c84e81adf5b18171ed23e7d15f6644b
2016-10-04 17:26:45 +02:00
Romain Goyet
416a14d512 [escher] Changing a window's content makes it dirty
Change-Id: I37a06abb72388312c50d406e6048e63f6898315c
2016-10-04 17:15:53 +02:00
Romain Goyet
091de58335 [escher] Avoid repositionning the ScrollView's content
Change-Id: Ia23cb4414efc7adef91e4f4b2befe1a2cf3e12fa
2016-10-04 17:07:48 +02:00
Romain Goyet
020d0cc0a8 [escher] Don't set the frame if it's already the good one
Change-Id: Ie862b41a3863ffb363de9d21fe86c99e33e16dab
2016-10-04 17:06:59 +02:00
Romain Goyet
0e26e1b2b7 [kandinsky] Add an equality operator on KDRect
Change-Id: Id9d1ce04ecc8869d221c5f6db5faac47bdb391bd
2016-10-04 17:06:19 +02:00
Romain Goyet
77abebfcc6 [escher] Add View::setSize
Change-Id: I8eb9a4423752d1a2065efac15cdcaafb72a50932
2016-10-04 17:05:12 +02:00
Émilie Feral
9e7ce25976 [apps/graph] handle function edition in list controller
Change-Id: I3d5bee396d268cff120c35d65c1128bf4a01c4f0
2016-10-04 15:59:29 +02:00
Émilie Feral
e3f3487912 [apps/graph] add an input view controller as root controller of graph app
Change-Id: I1e78c2405e05d58e3e2dd229b59e307c89b02f78
2016-10-04 15:57:57 +02:00
Émilie Feral
4064dcd5d3 [escher] create a class input view controller
Change-Id: Ibd85039b9d24bceef012414ff18d0bd92e710331
2016-10-04 15:54:10 +02:00
Romain Goyet
a8184e3d35 Merge changes Ia777cd9a,Ia3e96787
* changes:
  [escher] optimize the redraw of text fields
  [escher] add methods to textField
2016-10-04 15:54:07 +02:00
Émilie Feral
5a410095fe [escher] optimize the redraw of text fields
Change-Id: Ia777cd9a4668e7bf582c3f76cd4cca30e5e900a5
2016-10-04 15:48:09 +02:00
Émilie Feral
3e239663f2 [escher] add methods to textField
Change-Id: Ia3e96787b494a24e32f6e46d265fd55fc2214041
2016-10-04 15:42:16 +02:00
Émilie Feral
4325d78ae5 [escher] handle event DOWN_ARROW in tab view controller
Change-Id: I6d284a9005d7cc1969a1eff4fc4e9bb344fa43db
2016-10-04 15:34:09 +02:00
Romain Goyet
f11079eb71 Merge "[apps/graph] Correct error: keep the function of interest highlighted when going back and forth to the parameter page" 2016-10-04 15:20:31 +02:00
Romain Goyet
266d3e02c9 Merge changes I83daefa6,Iee820055
* changes:
  [apps/graph] draw only active functions
  [apps/graph] add a method in function expression view to mark a cell as dirty
2016-10-04 15:20:19 +02:00
Romain Goyet
d9b0132f16 [liba] Add a bridge for incomplete libc
For example, GLIBC doesn't provide strlcpy which we want to use

Change-Id: Iebbadfd42ca8e5dc089a8fe0b670fef843a10027
2016-10-04 14:22:19 +02:00
Émilie Feral
64b3e0906e [apps/graph] Correct error: keep the function of interest highlighted when going back and forth to the parameter page
Change-Id: I52e631a586fc2fa87e899092ee6efc02435c2e4e
2016-10-04 12:26:30 +02:00
Émilie Feral
c2981505c1 [apps/graph] draw only active functions
Change-Id: I83daefa66e17843909c4f2aeab836cbb7affb56e
2016-10-04 12:26:30 +02:00
Émilie Feral
a29be020f5 [apps/graph] add a method in function expression view to mark a cell as dirty
Change-Id: Iee820055f36f18a31af5bd69097557e9718c6425
2016-10-04 12:26:30 +02:00
Émilie Feral
5f30507f2d [apps/graph] handle edge case: when the function store is empty
Change-Id: I5e9ce26fffc0e6957a6333e8e1230d38f2145fec
2016-10-04 12:26:13 +02:00
Émilie Feral
e09317b243 [apps/graph] Recompute expression and layout when a function sets a new content
Change-Id: I15f39c72cfed28fe6eca5b401eb8da149d30fe12
2016-10-04 11:29:04 +02:00
Émilie Feral
54f3614e51 Merge "[apps] App objs depend on inlined images" 2016-10-03 14:44:49 +02:00