summaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* [griffin.display] add a bunch of empty menu itemsOlliver Schinagl2015-06-121-21/+695
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] drop print_menu and replace it with a generic listOlliver Schinagl2015-06-122-94/+133
| | | | | | | | | | | To work with selection menu's, we've added a generic menu_widget_list to fill menu list with. This list is generic enough that it can equally work with the file list. This patch refactors the list to accomplish this and in turn removes eulogium_print_menu. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] make the return entry a regular buttonOlliver Schinagl2015-06-121-5/+18
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] add network stats buttonOlliver Schinagl2015-06-121-8/+54
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add initial default menu structureOlliver Schinagl2015-06-122-0/+304
| | | | | | Add first lines that shows the new menu structure Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] rename settings to systemOlliver Schinagl2015-06-121-20/+20
| | | | | | | System was accidentally named settings, resulting in strange consturcts like settings_settings. This patch fixes this. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add top level buttons for materials and hotendOlliver Schinagl2015-06-121-4/+195
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* replace change material with dual material change/settings buttonsOlliver Schinagl2015-06-121-13/+124
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] rename old random buttonsOlliver Schinagl2015-06-121-23/+24
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] rename material button to material & hot-endOlliver Schinagl2015-06-121-8/+8
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Fix segfault when we have no file handlers availableOlliver Schinagl2015-06-121-0/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Remove empty button, jump straight to file listingOlliver Schinagl2015-06-121-12/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] swap text in progress windowOlliver Schinagl2015-06-121-7/+7
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* increase timer frequency to query griffin status more offtenOlliver Schinagl2015-06-121-3/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add more states based on the dummy printerOlliver Schinagl2015-06-122-11/+62
| | | | | | | The dummy printer is giving us more states and allows for more advanced screens (for now). Update the progress screen with more information Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Do not update state if it is sthe same as the previous stateOlliver Schinagl2015-05-271-34/+35
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Use macro for time calculation, those magic values look too horribleOlliver Schinagl2015-05-271-14/+21
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add mmc and usb storage optionsOlliver Schinagl2015-05-261-4/+80
| | | | | | | | Adds support for mmc or usb storage as an option. Only the last hot-plugged device is being displayed/used now, as we don't know how we want to handle multiple storage options yet. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* fix some typo-bugs and some verbosityOlliver Schinagl2015-05-261-5/+5
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add an empty buttonOlliver Schinagl2015-05-261-0/+10
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Creating an initial list is not neededOlliver Schinagl2015-05-181-7/+1
| | | | | | | | | | | | | Initially I made mount->mounts (the self list pointing pointer) an Eina_List *, and while this worked, it was wrong. It also required to have a dummy first entry to actually create the list so we could pass it around properly. The proper fix was to use a pointer to the Eina_List, and with the proper use the initial entry is no longer needed and thus no strange things need to be created around it to deal with the sentinel. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Improve comments/text a bitOlliver Schinagl2015-05-181-3/+4
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Do not use ints for something thats size_t.Olliver Schinagl2015-05-181-4/+4
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [griffin.display] Add initial USB mount detection supportOlliver Schinagl2015-05-182-0/+274
| | | | | | | | | | | | | | | | This patch adds support for external mounts, when a user inserts or removes a USB stick (technically, if the fs is being mounted) and systemd takes notice of this, an eeze_disk object is created for this. Other media types are ignored for now, until they can be properly identified. All storage kinds should eventually end up in the mounts struct, so that the UI can scan that for mount points. Right now, only USB storage is added to this. A hack to add local storage will be required (tmpfs?) Also, all available storage is scanned during startup, in case storage was mounted during boot and thus no hotplug event is being generated. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Fix segfault when exiting and no filehandler was loadedOlliver Schinagl2015-05-131-2/+4
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Remove file type, handled by file_handler exclusivlyOlliver Schinagl2015-05-131-8/+0
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add initial eeze supportOlliver Schinagl2015-05-111-1/+7
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* [displayService] Query harmaService for file handlersOlliver Schinagl2015-05-112-14/+32
| | | | | | | | | | | | Harma is the only service that knows which file types are supported by the installed engine. With this patch harma is queried for the supported file handlers. Note. We cache the result and is valid for the lifetime of the displayService. To change this a signal could be added to harma to notify the users of a changed file handler support Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Remove first run wizard as it is commented in the statemachineOlliver Schinagl2015-05-081-7/+0
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Revamp progress displayOlliver Schinagl2015-05-081-30/+20
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Remove statemachine from bed clearingOlliver Schinagl2015-05-081-10/+4
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Remove start print 'state-mini-machine'Olliver Schinagl2015-05-081-32/+6
| | | | | | | | | | | The UI is fully controlled by the states of griffin.printer.getState and thus we don't worry about various states when starting a print, we let griffin.printer worry about that. It should be noted that the griffin.printer state machine is far from complete and we may still end up in a strange state. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* fix build by adding _on_status_changed_ret and friends. Also the struct ↵Olliver Schinagl2015-05-081-15/+82
| | | | | | (ns) based messaging protocol is gone and replaced with a string parser Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add getFileHandlers from griffin, this patch breaks buildOlliver Schinagl2015-05-081-10/+13
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Clean up bed-clearing function a littleOlliver Schinagl2015-05-081-11/+10
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* add missing _on_get_print_name_retOlliver Schinagl2015-05-081-0/+18
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add progress update timer for print-progressOlliver Schinagl2015-05-082-0/+93
| | | | | | | While we poll the remaining time with griffin.printer, griffin.printer doesn't know this yet, so results are untested and may not work. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Completly disable cursor on a framebuffer deviceOlliver Schinagl2015-05-081-0/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Some cleaning up, no code changesOlliver Schinagl2015-05-081-11/+6
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Remove abort button from error screenOlliver Schinagl2015-05-081-1/+3
| | | | | | | Remove the abort button from the error screen. Maybe in the future replace it with a shutdown button. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Add 'clear data' routineOlliver Schinagl2015-05-081-27/+36
| | | | | | | | | | Currently there are is a lot (too much?) data in the data structures that need to be cleaned up afterwards. This patch adds a function to clear up as much as possible in one go. Additionally this patch sets some sane default values to these data Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Convert all floats to doublesOlliver Schinagl2015-05-081-6/+6
| | | | | | Griffin supplies us with doubles, so use those rather then floats Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Do not use fixed printer enum, use printer stringsOlliver Schinagl2015-05-081-1/+12
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Use new dual and split screen framesOlliver Schinagl2015-04-301-34/+26
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Properly iterate complex dbus messages, they can not be read otherwiseOlliver Schinagl2015-04-301-3/+13
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Use user-home icon and remove < symbol from the return buttonOlliver Schinagl2015-04-301-2/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* make splitscreen bottom button align betterOlliver Schinagl2015-04-291-2/+2
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Make a warning from a printfOlliver Schinagl2015-04-291-1/+1
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* change print progress to a box from a tableOlliver Schinagl2015-04-291-34/+17
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
* Move (almost) all callbacks to the top, add prototypes for themOlliver Schinagl2015-04-291-215/+249
| | | | Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>