summaryrefslogtreecommitdiffstats
path: root/src/eulogium.c (unfollow)
Commit message (Collapse)AuthorFilesLines
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 Schinagl1-9/+52
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 Schinagl1-0/+266
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-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 Schinagl1-14/+31
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 Schinagl1-0/+89
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-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>
2015-04-29Make vertical button box homogeneous and available to allOlliver Schinagl1-7/+28
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29split tripple menu up into a dual buttonOlliver Schinagl1-29/+37
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29Check for print bed status before starting a printOlliver Schinagl1-4/+74
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29improve dbus error handling a bit, i think we try to get a message, even if ↵Olliver Schinagl1-13/+24
we allready know we have failed. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29Add error printing if the printer is in an error state, open the option for ↵Olliver Schinagl1-4/+23
an error dialog Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29Get and store printer statusOlliver Schinagl1-0/+47
The printer service constantly emits a signal whenever the signal changes. If we connect however and if the status is for example IDLE, we won't know about this state until the signal gets emitted via a status change. To counter this, we also add a method to get the initial status. Right now, we store only the actual state. Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29Add some very preliminary dummy IP info screenOlliver Schinagl1-1/+18
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29add comment about what to do with the error screenOlliver Schinagl1-0/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29Try to abort the print when using the abort buttonOlliver Schinagl1-0/+14
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29fix up some wording orderOlliver Schinagl1-2/+1
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29Move return button to the top as it can be very commonly usedOlliver Schinagl1-23/+23
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29Add print progress data containerOlliver Schinagl1-1/+2
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-29typo cleanups + enable wizardOlliver Schinagl1-3/+2
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>