summaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-12[griffin.display] add a bunch of empty menu itemsOlliver Schinagl1-21/+695
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12[griffin.display] drop print_menu and replace it with a generic listOlliver Schinagl2-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>
2015-06-12[griffin.display] make the return entry a regular buttonOlliver Schinagl1-5/+18
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12[griffin.display] add network stats buttonOlliver Schinagl1-8/+54
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12[griffin.display] Add initial default menu structureOlliver Schinagl2-0/+304
Add first lines that shows the new menu structure Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12[griffin.display] rename settings to systemOlliver Schinagl1-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>
2015-06-12[griffin.display] Add top level buttons for materials and hotendOlliver Schinagl1-4/+195
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12replace change material with dual material change/settings buttonsOlliver Schinagl1-13/+124
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12[griffin.display] rename old random buttonsOlliver Schinagl1-23/+24
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12[griffin.display] rename material button to material & hot-endOlliver Schinagl1-8/+8
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12Fix segfault when we have no file handlers availableOlliver Schinagl1-0/+2
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12Remove empty button, jump straight to file listingOlliver Schinagl1-12/+2
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12[griffin.display] swap text in progress windowOlliver Schinagl1-7/+7
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12increase timer frequency to query griffin status more offtenOlliver Schinagl1-3/+2
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-06-12[griffin.display] Add more states based on the dummy printerOlliver Schinagl2-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>
2015-05-27Do not update state if it is sthe same as the previous stateOlliver Schinagl1-34/+35
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-27Use macro for time calculation, those magic values look too horribleOlliver Schinagl1-14/+21
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-26[griffin.display] Add mmc and usb storage optionsOlliver Schinagl1-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>
2015-05-26fix some typo-bugs and some verbosityOlliver Schinagl1-5/+5
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-26Add an empty buttonOlliver Schinagl1-0/+10
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-18[griffin.display] Creating an initial list is not neededOlliver Schinagl1-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>
2015-05-18Improve comments/text a bitOlliver Schinagl1-3/+4
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-18Do not use ints for something thats size_t.Olliver Schinagl1-4/+4
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-18[griffin.display] Add initial USB mount detection supportOlliver Schinagl2-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>
2015-05-13Fix segfault when exiting and no filehandler was loadedOlliver Schinagl1-2/+4
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-13Remove file type, handled by file_handler exclusivlyOlliver Schinagl1-8/+0
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-11Add initial eeze supportOlliver Schinagl1-1/+7
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-11[displayService] Query harmaService for file handlersOlliver Schinagl2-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>
2015-05-08Remove first run wizard as it is commented in the statemachineOlliver Schinagl1-7/+0
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-08Revamp progress displayOlliver Schinagl1-30/+20
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-08Remove statemachine from bed clearingOlliver Schinagl1-10/+4
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-08Remove start print 'state-mini-machine'Olliver Schinagl1-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>
2015-05-08fix build by adding _on_status_changed_ret and friends. Also the struct ↵Olliver Schinagl1-15/+82
(ns) based messaging protocol is gone and replaced with a string parser Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-08Add getFileHandlers from griffin, this patch breaks buildOlliver Schinagl1-10/+13
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-08Clean up bed-clearing function a littleOlliver Schinagl1-11/+10
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-08add missing _on_get_print_name_retOlliver Schinagl1-0/+18
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-08Add progress update timer for print-progressOlliver Schinagl2-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>
2015-05-08Completly disable cursor on a framebuffer deviceOlliver Schinagl1-0/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-08Some cleaning up, no code changesOlliver Schinagl1-11/+6
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-08Remove abort button from error screenOlliver Schinagl1-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>
2015-05-08Add 'clear data' routineOlliver Schinagl1-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>
2015-05-08Convert all floats to doublesOlliver Schinagl1-6/+6
Griffin supplies us with doubles, so use those rather then floats Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-05-08Do not use fixed printer enum, use printer stringsOlliver Schinagl1-1/+12
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-30Use new dual and split screen framesOlliver Schinagl1-34/+26
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-30Properly iterate complex dbus messages, they can not be read otherwiseOlliver Schinagl1-3/+13
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-30Use user-home icon and remove < symbol from the return buttonOlliver Schinagl1-2/+2
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29make splitscreen bottom button align betterOlliver Schinagl1-2/+2
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29Make a warning from a printfOlliver Schinagl1-1/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29change print progress to a box from a tableOlliver Schinagl1-34/+17
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29Move (almost) all callbacks to the top, add prototypes for themOlliver Schinagl1-215/+249
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>