Commit Graph

7312 Commits

Author SHA1 Message Date
Émilie Feral
4d4163f13b Merge "[escher] do not display the scroll indicator when unneeded" 2016-09-26 14:17:12 +02:00
Émilie Feral
5385c69bbe Merge "[escher] update the scroll indicator at each call to layoutSubviews" 2016-09-26 14:17:10 +02:00
Émilie Feral
1e3bc1b85e Merge "[apps/graph/list] keep the function of interest selected when going forth and back to the parameter page" 2016-09-26 14:17:02 +02:00
Romain Goyet
fa2d8848d3 Merge "[apps/graph/list] clean empty functions" 2016-09-26 12:29:36 +02:00
Romain Goyet
e8c1fa18a0 Merge "[escher] modify the constructor of table view to choose the margins at construction" 2016-09-26 12:28:46 +02:00
Émilie Feral
33401a361b [escher] do not display the scroll indicator when unneeded
Change-Id: Ife24fa2fe175b3d944749ff4a1ea8e2017f04048
2016-09-26 12:27:16 +02:00
Émilie Feral
89736fd3f1 [apps/graph/list] clean empty functions
Change-Id: I73e6e068f663002216dbab864f8f2281fe176f80
2016-09-26 12:25:41 +02:00
Émilie Feral
1ab75e8298 [escher] modify the constructor of table view to choose the margins at construction
Change-Id: Iadfc9e4b3142d5c0b4ec3b75db5a598eb40ffab7
2016-09-26 12:25:24 +02:00
Émilie Feral
34c1c92ab1 [liba] implement _aeabi_memcpy4 required by ARM EABI
Change-Id: I1a9b267b6c9118be224ec6a5115f53755f004c33
2016-09-26 12:24:49 +02:00
Émilie Feral
5fdb7d729e [liba] implement strlcpy
Change-Id: I083129b31cbb070e8c1d87d7e3db91f8134e3540
2016-09-26 12:22:15 +02:00
Émilie Feral
2e116344ea [escher] update the scroll indicator at each call to layoutSubviews
Change-Id: I3e3d5acbd983f30283ec2090fc7554c38c9cc4b7
2016-09-26 12:20:14 +02:00
Émilie Feral
7708b903c9 [apps/graph/list] keep the function of interest selected when going forth and back to the parameter page
Change-Id: I0b73395d579d82e36b51e5fb3601e621445463c0
2016-09-26 12:14:22 +02:00
Émilie Feral
a6ed6fcc31 [apps/graph/list] do not suppress the last function of the list
Change-Id: Iba5af053fa388fd65cc9017507b21ee1dd853b9e
2016-09-26 12:13:31 +02:00
Émilie Feral
ff70414108 [apps/graph/list] handle deleting functions from the parameter page
Change-Id: I34eff520f40ed5901011499c770c1b06d72b3cc7
2016-09-26 09:39:46 +02:00
Émilie Feral
82ea774621 [apps/graph] implement add and remove functions in function store
Change-Id: Iabbe9a83f575a81081999d65e6faedbc05476626
2016-09-26 09:39:46 +02:00
Émilie Feral
98f1a2e998 [apps/graph/list] handle the activation and desactivation of a function in the parameter page
Change-Id: Ie4adbcd6f626d16e80001ceb426dc3dbf2b8990e
2016-09-26 09:39:28 +02:00
Émilie Feral
362f2db368 [escher] add an active/desactive state to switch view
Change-Id: I9858b3f5fbb6acaeba00234cf52931fa409cc32f
2016-09-23 09:41:41 +02:00
Émilie Feral
0048e9fc68 [escher] Discard label view
Change-Id: I77206c1b474d6d87957a81546278c219ce1e2720
2016-09-23 09:41:41 +02:00
Émilie Feral
86983d2280 Clean warnings
Change-Id: I576621aeea71cc343a255ea2d668a0cbd3504e9e
2016-09-23 09:41:41 +02:00
Émilie Feral
0418f76ce1 [escher] modify the drawing of scrollview
Change-Id: I9398e2a539bcfb1991948f8afa1cb66c55857f30
2016-09-23 09:41:29 +02:00
Émilie Feral
f089ea8ddf [escher] merge label view and text view in text view
Change-Id: Ia2422af03ebb79ba7450a1c8d220933cdd7a4586
2016-09-22 14:54:56 +02:00
Émilie Feral
0178a7fff9 [escher] correct metric names
Change-Id: I69e8292a7abd5799c9248631a4ef9527a58c7413
2016-09-22 09:52:04 +02:00
Émilie Feral
b54c992938 [escher] implement redraw in switch view
Change-Id: I9a917f2788e918acb68b139cb55132497954ca3b
2016-09-22 09:51:43 +02:00
Émilie Feral
788f1ed5c8 [escher] reorder the instance variables of label
Change-Id: I6b5cbe3ca40f83edf17101153b62b91e4b23f096
2016-09-22 09:34:52 +02:00
Romain Goyet
42d0bd045a [liba] Update the size_t definition
Change-Id: I88bf9b82956c471e5da53525e98af89bfaab5d48
2016-09-21 14:09:35 +02:00
Romain Goyet
e24d8a55fb [liba] Update the size_t type definition
size_t must be an unsigned it. Moreover, by definition, size_t is the
return type of the "sizeof" operator, which is defined by the compiler.
Both GCC and clang define a __SIZE_TYPE__ macro to let the libc header
know about the type used by the sizeof operator.

Change-Id: Ie44f1ba69fe2b1d5ce5cd9a0e7fd8a7f10c1199d
2016-09-21 14:03:52 +02:00
Romain Goyet
d6c52ac3d0 [ion] Avoid explicit namespaces when they're not needed
Change-Id: Ibe523d0aadaf4d408f915d705475fcd779caa2a7
2016-09-21 13:57:00 +02:00
Romain Goyet
c55c4aba37 [ion] Increase the stack size to 32 KB
Turns out 4K was too small for our usage pattern (we measured an
overflow when drawing function curve - probably because we store a
little bit of bitmap data on the stack). So the same area was used for
the heap *and* the stack, causing terrible memory corruption.

We could use a stronger pattern (stack on the SRAM boundary + MPU to
trigger an exception when overflowing the stack) to prevent memory
smashing.

Change-Id: I4d187e154322f18e1e7deddd75f7242af777ade3
2016-09-21 13:52:26 +02:00
Romain Goyet
7ab49e9371 [ion] Remove the framebuffer from the memory map
Change-Id: I9b8aaacc93ec1eac54045a1d654986e1777ba4ad
2016-09-21 13:51:52 +02:00
Romain Goyet
e3c6264068 [ion] Remove _liba_heap_start, simply use _heap_start
Change-Id: I395762275f3aa1832210dfc3faae9c0eefb91d9e
2016-09-21 13:50:58 +02:00
Émilie Feral
47db327752 [escher] add metric constants
Change-Id: I5a46afe6e97dde3ee480507ba576373a645bc254
2016-09-21 12:08:24 +02:00
Émilie Feral
a0870a563b [escher] define a class "metric" similar to palette
Change-Id: I0c0c9898b55ad562de726c4d11ba2dfaea534a6c
2016-09-21 11:55:19 +02:00
Émilie Feral
56edcded0a [apps/graph/list] Add a switch to the parameter page in graph app
Change-Id: I51f432939157cbd772e7e868d3e0c8e54d279a6d
2016-09-21 11:55:18 +02:00
Émilie Feral
a28731c459 [escher] define table view cell switch and switch view
Change-Id: I7bf72c7f0e938513d5baeb44a07b6906bc5adebf
2016-09-21 11:55:18 +02:00
Émilie Feral
219d6e6731 [escher] change structure of table view cell and define label view
Change-Id: Iaeb3f567c4e1be6dfea3076ee7465c21e5ad98e9
2016-09-21 11:55:01 +02:00
Émilie Feral
0741cd091a [escher] define a palette
Change-Id: Ia5fda18da5f0830071ad68e73ed627451c546438
2016-09-20 15:41:34 +02:00
Émilie Feral
88c74e5e6d [escher] display page title on stack headers
Change-Id: Ia5e5f0f2b735a89f4559af0edb13c5668eecc142
2016-09-20 15:41:34 +02:00
Romain Goyet
5385a45609 Merge "[apss/graph/list] implement the parameter page as a table view data source" 2016-09-20 13:46:19 +02:00
Émilie Feral
3298e956ef Merge "Clean the dynamic dependency files (.d)" 2016-09-20 12:11:00 +02:00
Émilie Feral
6594628fa8 [apss/graph/list] implement the parameter page as a table view data source
Change-Id: Id27758683f67419c3741754dc40ead6712bd1232
2016-09-20 12:08:45 +02:00
Émilie Feral
faf438e0c4 [escher] define class table view cell
Change-Id: I9291a9239a269cc4a85b87e9a94a00e8d8f72b03
2016-09-20 11:54:37 +02:00
Romain Goyet
e822a74393 Clean the dynamic dependency files (.d)
Change-Id: I75ac64fea628f0e1762f58de887c790376af230a
2016-09-20 11:26:01 +02:00
Émilie Feral
1f7ba888c9 [apps/graph] add an attribute "activate" to functions
Change-Id: I1a1f548c540a6e31fe9ce1aeb742bf6a6292362c
2016-09-20 11:12:46 +02:00
Émilie Feral
8a27740719 [escher] in stack view controller, correct the size of the content view
Change-Id: Idc5e8f6f7a771855c924ed8d108884d71ce4f8db
2016-09-19 15:07:00 +02:00
Émilie Feral
52f30ddf28 [apps/graph/list] turn the childless function cell in a controller with two subviews
Change-Id: I7606a3c2b4ab81cba90b78ed70dac9ba6ebb09c2
2016-09-19 15:07:00 +02:00
Romain Goyet
05be5f01cc Merge changes I7c8e976e,I7a8fd170,Idbcdff57
* changes:
  [apps/graph/list] clean the list controller (handle parameter controller)
  [apps/graph] Add a name attribute to functions
  [escher] define class invocation
2016-09-19 09:56:55 +02:00
Émilie Feral
844d6f848e [apps/graph/list] clean the list controller (handle parameter controller)
Change-Id: I7c8e976ebcceb7071e0f57348af4b07203d35adb
2016-09-16 17:27:06 +02:00
Émilie Feral
082a3883cd [apps/graph] Add a name attribute to functions
Change-Id: I7a8fd1701b026b27d1dfcfc87fc92398c494e7fd
2016-09-16 17:23:45 +02:00
Émilie Feral
c633fbda4d [escher] define class invocation
Change-Id: Idbcdff574aa9b79864d26a13448a5b6c896f65f4
2016-09-16 17:20:29 +02:00
Romain Goyet
5f2427aef2 Instruct Make about #include dependencies
Change-Id: I5e87f31c0a67b9cd59271f25a213aa68ee99ce51
2016-09-16 15:34:52 +02:00