Commit graph

128 commits

Author SHA1 Message Date
Blake Harnden
819954a695 updated grpc node positions to use floats, avoids needing to deal with int conversions 2019-12-13 10:47:23 -08:00
Huy Pham
73b27d38cd Merge branch 'coretk' into coretk-selectbox 2019-12-12 16:18:20 -08:00
Huy Pham
2344e026ff check emulation light, fix one line of backend code 2019-12-12 16:17:33 -08:00
Blake Harnden
136121ca18 fixed issue saving wallpaper metadata when None 2019-12-12 12:34:50 -08:00
Blake Harnden
4e9de862a3 updated nodes to store actual positions, instead of scaled ones, updated shapes to return actual positions for metadata, added some logic for resetting the canvas and drawn nodes when resizing, convert node update coords into scaled coords for moving nodes 2019-12-12 11:06:52 -08:00
Huy Pham
d6ae39089e select box in select mode, link to selected for wlan/emane nodes, send session data to damon before save xml 2019-12-11 14:42:00 -08:00
Huy Pham
4cc83cf313 cel 2019-12-11 09:17:39 -08:00
Huy Pham
8bdc5c8e2e Merge branch 'coretk' into coretk-validation 2019-12-10 16:53:01 -08:00
Blake Harnden
5dda7396ef Merge branch 'coretk' of https://github.com/coreemu/core into coretk 2019-12-10 14:34:14 -08:00
Blake Harnden
51163a30d3 updates to handling movement for nodes/shapes on canvas, added initial canvas zoom/panning, fixed some issues with mobility player event handling when dialog is closed 2019-12-10 14:33:52 -08:00
Huy Pham
c4a117a236 insert default value to some entry when entry is empty 2019-12-10 13:23:03 -08:00
Huy Pham
2292001e17 Merge branch 'coretk' into coretk-validation 2019-12-10 09:58:54 -08:00
Blake Harnden
d78ef86cef added grpc error display and updated grpc calls to catch and display grpc exceptions 2019-12-09 22:50:26 -08:00
Huy Pham
7039a3682e fix merge conflict 2019-12-09 16:37:52 -08:00
Huy Pham
542d632066 fix merge conflict 2019-12-09 16:37:24 -08:00
Blake Harnden
33e3a46146 better gui startup connection failure message 2019-12-09 16:25:29 -08:00
Blake Harnden
088a69d9d9 catching grpc error on setup, displaying error dialog and exiting app 2019-12-09 16:23:09 -08:00
Blake Harnden
b04e61ccee added common tags file for canvas created items, to reduce duplicate strings 2019-12-09 14:13:21 -08:00
Blake Harnden
afdacf0c94 set to selection mode when starting/stopping a session as well as joining for runtime/design states 2019-12-09 13:19:45 -08:00
Blake Harnden
2a29cd1fe5 after joining a session default to select mode 2019-12-09 13:09:01 -08:00
Blake Harnden
5003e2356c small cleanup to canvas resize/redraw logic and updates to support saving/drawing gridlines and canvas dimensions 2019-12-09 12:07:42 -08:00
Huy Pham
11f771417e Merge branch 'coretk' into coretk-servicefix 2019-12-09 08:54:53 -08:00
Huy Pham
456e331870 loading xml set canvas state to select mode and display that on toolbar 2019-12-09 08:53:54 -08:00
Blake Harnden
0308a4c8d7 fixed temp issue for dealing with xml and node positions as floats, updated shape metadata to save bold/italic/underline options and read them back from xml 2019-12-06 22:33:21 -08:00
Blake Harnden
71df2a3b7f updated annotation text to be selectable/moveable, save annotation text with other shapes and reload from xml 2019-12-06 22:10:27 -08:00
Huy Pham
2add215704 fix configuring newly added services 2019-12-06 15:06:35 -08:00
Blake Harnden
bf710b9afc merged latest from coretk 2019-12-06 14:02:57 -08:00
Blake Harnden
742eb2bed6 cleanup for shapes and creating shapes and storing and restoring shapes from metadata 2019-12-06 14:01:03 -08:00
Huy Pham
6a08bff7de Merge branch 'coretk' of https://github.com/coreemu/core into coretk 2019-12-06 12:53:45 -08:00
Huy Pham
a7d9d588ae add display throughput back to the gui 2019-12-06 12:46:00 -08:00
Blake Harnden
0593d0c6a2 Merge branch 'coretk' of https://github.com/coreemu/core into coretk 2019-12-06 09:43:07 -08:00
Blake Harnden
45a23a6c14 updated usage of time.time to time.monotonic or time.perf_counter due to time.time possibly rolling backwards 2019-12-06 09:42:41 -08:00
Huy Pham
4a34aaa30d working on shapes and texts 2019-12-06 09:03:21 -08:00
Huy Pham
7e2ebb4a2c delete some extra print statement 2019-12-05 13:43:12 -08:00
Huy Pham
a44fc0b6f9 load shapes from xml 2019-12-05 13:39:09 -08:00
Huy Pham
c82453b981 load shapes 2019-12-05 11:15:51 -08:00
Blake Harnden
d970d5ee85 separated out graph code into more file and its own sub package 2019-12-05 11:12:25 -08:00
Huy Pham
8c30ad6af5 commit before splitting files 2019-12-05 10:39:53 -08:00
Huy Pham
59614fa8d3 try to load canvas config 2019-12-05 10:12:31 -08:00
Blake Harnden
5aa01d9bb5 simplify some join session logic to loop over nodes once 2019-12-04 14:44:43 -08:00
Blake Harnden
5a387537bb updates clean up setting wallpaper for graph canvas, updates to read metadata for canvas to display wallpaper from loaded xml file, update to allow reopening mobility player from node context 2019-12-04 13:40:35 -08:00
Blake Harnden
693d7beeb7 updated remove antenna logic to simplify, updated wireless edges to be objects 2019-11-27 15:40:54 -08:00
Blake Harnden
d1db5e4b4e added some data for node events to have a source field to help distinguish what originates from the gui or not 2019-11-27 12:55:39 -08:00
Blake Harnden
9a55ff4ca5 display mobility player on session start, change buttons and progress bar on session events 2019-11-27 11:41:54 -08:00
Blake Harnden
2a08c770d3 updates to handle node events for moving nodes and displaying mobility player dialog on session event with configured data 2019-11-26 16:50:23 -08:00
Blake Harnden
2586a5ad6f Merge branch 'coretk' of https://github.com/coreemu/core into coretk 2019-11-26 11:33:59 -08:00
Blake Harnden
bc026bb693 initial work for mobility player dialog, added default sample1.xml to created gui directory, fixed issue with non modal dialogs 2019-11-26 11:32:48 -08:00
Huy Pham
fa7e5e321b save service config, file config when join session, update progress bar to start, stop, join session, delete antennas, wirelesslink as well as other stuff that we had before when join session 2019-11-26 11:30:25 -08:00
Huy Pham
3493b05eb4 Merge branch 'coretk' into coretk-progress 2019-11-25 16:52:19 -08:00
Huy Pham
4238c14362 progress bar for start session 2019-11-25 16:50:44 -08:00