Commit Graph

11243 Commits

Author SHA1 Message Date
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
Romain Goyet
83b3be93ae [apps] App objs depend on inlined images
Change-Id: I405d79c627329d7b166411440b5ca2cdf02184e4
2016-10-03 14:42:52 +02:00
Émilie Feral
a811f09583 Merge "[apps/home] Display app name and icon" 2016-10-03 14:22:38 +02:00
Romain Goyet
748fac0de8 [apps/home] Display app name and icon
Change-Id: Ia09827dd1fa027cee80145c0d2dab5a29cd51d11
2016-10-03 14:15:16 +02:00
Émilie Feral
3bf5ff9007 [apps/graph/list] draw function names align to expression baselines with colors
Change-Id: I381ef6c984db156fc61129a76a2ac086a769fe9a
2016-10-03 14:14:24 +02:00
Romain Goyet
c5526a092c Merge changes I18c5083c,I358b893a,Ib77c95d8,I25d881f2,I67881d8b, ...
* changes:
  [Escher] Image setter for the ImageView
  [Escher] The TextView handles the case where its text is nullptr
  [Escher] Add getters for App::name() and App::icon()
  [apps] Use the Home app
  [Escher] Sanity check
  [Escher] Container::switchTo is now public
  [escher] An App now can store an icon and a name
  [apps/home] Select the active cell by default
  [apps/home] Cell selection
  [apps] Add a Home app
2016-10-03 14:13:19 +02:00
Émilie Feral
611528eab4 [apps/graph/list] adjust the row height occupied by functions to their sizes.
Change-Id: Icd99d12c62f42847036b6d2900ca5a14b2bc3b2e
2016-10-03 14:04:58 +02:00
Émilie Feral
e109a23485 [apps/graph] add methods to handle function names and colors.
Change-Id: Ic11f2dd6bd9cb473b436d5e7769e2660c173c733
2016-10-03 14:04:58 +02:00
Romain Goyet
dbab72fced [Escher] Image setter for the ImageView
Change-Id: I18c5083c130ba5602cb8279ecb6c1a51692bacbe
2016-10-03 12:02:16 +02:00
Romain Goyet
7bc830da4f [Escher] The TextView handles the case where its text is nullptr
Change-Id: I358b893ab64ee969f41b4f6f0df0ca6a37201de3
2016-10-03 12:00:19 +02:00
Romain Goyet
9e33577779 [Escher] Add getters for App::name() and App::icon()
Change-Id: Ib77c95d8593e342e48c8e5615e019034df432821
2016-10-03 11:59:54 +02:00
Romain Goyet
654024e860 [apps] Use the Home app
Change-Id: I25d881f237ce4b7db0b92afe68596416d3704781
2016-10-03 11:24:20 +02:00
Romain Goyet
96c764e5f0 [Escher] Sanity check
Change-Id: I67881d8b61e3fa5044f2bef14082352db7f4faf5
2016-10-03 11:20:54 +02:00
Romain Goyet
69ac080319 [Escher] Container::switchTo is now public
Change-Id: I2e786a4bcb6308f198a01d038b4b4b0cee49a7bf
2016-10-03 11:20:31 +02:00
Romain Goyet
90eb34725c [escher] An App now can store an icon and a name
Change-Id: I4911fb5f077ab7ccae3f6ce4021a903ae8e63f6b
2016-10-03 11:19:42 +02:00
Romain Goyet
d510dc6ab9 [apps/home] Select the active cell by default
Change-Id: I09febc2a9e07de35c1427ae337c88241bf191330
2016-10-03 11:17:50 +02:00
Romain Goyet
e6d3f8a9dc [apps/home] Cell selection
Change-Id: Iebfd7d6ba2c4ec2ce94929dd039fcbcba324218b
2016-10-03 11:17:50 +02:00
Romain Goyet
e1d8289bea [apps] Add a Home app
Change-Id: I4d2da7d8a954131a3e561f175f88cd72abf6f2ba
2016-10-03 11:17:50 +02:00
Émilie Feral
b250795e2d Merge changes Ifd3d7a17,Icb1701bf
* changes:
  [escher] Fix an invalid array access
  [kandinsky] Optimize KDColor::blend
2016-09-30 17:59:07 +02:00
Émilie Feral
bc00592571 [poincare] add color parameters when drawing expression
Change-Id: I69f2aba0c69bac92b7a6dd1e78bcb45602f87110
2016-09-30 17:36:38 +02:00