Commit graph

64 commits

Author SHA1 Message Date
John Lewin
2d737b679c Switch menus from TupleList<string, Func<bool>> to List<NamedAction>
- Menu actions always returned true and result was ignored
- Remove custom TupleList type, prefer lists with custom types
2017-05-31 12:51:15 -07:00
John Lewin
03a593f1b5 Move to new library model and view
- Add new listview control for library content
- Migrate library providers to containers
  - Cloud, Sqlite, Directories, Queue, History
- Migrate SideBar components to containers
  - Primatives, Text, Braille, ImageConverter
- Create new library container types
  - Zip files, Calibration parts, Printer SDCards
- Reduce leftnav to Library, Settings, Controls, Options
- Add DragDrop support for image content
2017-05-20 00:41:02 -07:00
Lars Brubaker
352eb792f1 Merge branch 'smash_1.7.1' into design_tools
# Conflicts:
#	PartPreviewWindow/View3D/View3DWidget.cs
#	SlicerConfiguration/SliceSettingsWidget.cs
#	SlicerConfiguration/SlicingQueue.cs
#	StaticData/SliceSettings/Properties.json
2017-05-19 14:57:04 -07:00
Lars Brubaker
a1e1c48d90 All new 1.7.1 changes 2017-05-19 14:39:57 -07:00
John Lewin
78b0834e7d Extract distinct volumes from mesh on Ungroup
- Rename event to clarify intent
2017-03-28 10:31:43 -07:00
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07:00
John Lewin
79415949c2 Keep Sign in/out visible after click 2017-01-06 16:55:24 -08:00
John Lewin
dffcf48532 Collapse single use functions into callers, remove unused variable 2017-01-04 16:00:22 -08:00
John Lewin
a92e1ad724 Delete unused function, use TryGetValue 2017-01-04 16:00:22 -08:00
Lars Brubaker
135f5b4fc1 refactoring 2017-01-03 13:05:57 -08:00
Lars Brubaker
95fc69e7f8 Always call UserChanged when ChangeCloudSyncStatus
Don't clear the LastSessionUserName
It should only be used in the name field of the login screen and nowhere else.
2016-10-21 17:09:53 -07:00
John Lewin
67b151aa2c Revise IsGuestProfile property, revert LastSessionUsername changes 2016-10-21 16:12:47 -07:00
John Lewin
42cc88b9d4 Refactor ProfileManager to prefer isolated instances
- Replace DB nomenclatures with ProfilesDoc/Profiles terms
- Convert SetLastProfile() to LastProfileID property
- Remove LoadLastProfileWithoutRecovery function
  - Use LoadWithoutRecovery(LastProfileID)
  - One caller, far more clear with only one LoadWithout function
- Move safe FileSystem UserName to AuthenticationData, like UserName
- Skip importing guest profiles that are missing PrinterSettings files
2016-10-21 13:00:53 -07:00
John Lewin
38042d1d86 Load session values during construction, remove LoadFirstInstance 2016-10-06 18:07:39 -07:00
John Lewin
87316dadff Revise ClientToken use for multi-instanced MatterControl
- Add public const EnvironmentName for Services environment
- Remove GetSessionUsername method
- Remove ClearCachedCredentials
- Pull in AuthData type
- Add system to store and use ClientTokens
- Add using statements for common namespaces
2016-09-29 11:47:06 -07:00
John Lewin
fcad2ee3e6 Remove invalid and noisy logging statements 2016-09-23 12:45:44 -07:00
Lars Brubaker
2dadb72271 Changed Login -> Sign in & Logout -> Sign Out 2016-08-29 17:13:45 -07:00
Lars Brubaker
1340e875d3 Making the add to queue automation tests work again 2016-08-01 13:53:28 -07:00
John Lewin
208d9b334a Rename Draw events 2016-07-24 16:32:04 -07:00
Lars Brubaker
cda645d03d Made Marlin EEProm have import and export 2016-02-12 10:26:40 -08:00
Gregory Diaz
b191ba3db1 Added more Android Automated tests. 2016-01-15 18:15:21 -08:00
Gregory Diaz
c64bef5be2 Added Android Automated tests to be incorporated at a later date 2016-01-15 17:39:19 -08:00
John Lewin
513bd1cea3 Add missing localizations 2016-01-14 14:20:11 -08:00
John Lewin
c15271a36b Spelling
- Latest Agg
2016-01-12 21:46:42 -08:00
Lars Brubaker
5cf447bc3a Don't crash on corrupt zip files
Better text around z can be negative setting.
2016-01-11 16:43:57 -08:00
John Lewin
0978570fd4 Clear spinner on http request failures
- Add timeouts to RequestManager request model
 - Support timeouts in WebRequestBase<T> requests
2015-12-23 13:35:21 -08:00
Lars Brubaker
695aa2d891 white space 2015-12-22 16:44:54 -08:00
Lars Brubaker
b70da46e69 Finishing up the behavior of clicking on a named list of stuff. 2015-12-11 13:42:46 -08:00
Lars Brubaker
a5f5f85499 Made a new automation runner to click a series of named controls. 2015-12-11 13:20:31 -08:00
Lars Brubaker
a07a15a7c7 Adding in a new performance test structure. 2015-12-11 11:56:51 -08:00
Lars Brubaker
5b13fc9c5a Put in position reporting and a new utility class to limit the rate we call a function. 2015-11-23 13:08:21 -08:00
Gregory Diaz
4576c78398 Removed code for making local copies of queue items 2015-10-29 12:02:52 -07:00
larsbrubaker
35330844eb Moved all of the timer display code into AGG. 2015-10-27 08:10:32 -07:00
larsbrubaker
ed2d36f25a Moving performance timer to AGG GUI
Putting in some performance monitoring for startup.
2015-10-25 19:40:17 -07:00
Lars Brubaker
c19de2cf3f Making the output easier to read 2015-10-22 14:44:54 -07:00
Lars Brubaker
b9fb72f305 Broke up PerformanceTimer into separate class files
Made it render as overlays when needed (android)
Turned off tests we are not currently using.
2015-10-22 13:41:12 -07:00
Lars Brubaker
5bc930a4b1 Made gcode renderer render faster if in opengl
put in new functions to render fast gl lines and round lines
Put in some comments for RenderOpenGL
2015-10-21 14:51:39 -07:00
Lars Brubaker
25a2dc032e Wrote new performance timer code
Put in a warning when infilling 100% and not on LINES
2015-10-20 15:39:59 -07:00
Gregory Diaz
aac0de598f Use Path.Combine() for concatenating paths instead of "+" 2015-09-08 14:36:59 -07:00
Gregory Diaz
a7bd278e4a Commented out code that breaks the queue 2015-09-04 18:16:51 -07:00
Gregory Diaz
ababc041ec Added code to ensure that the Queue has unique copies of items 2015-09-03 09:26:54 -07:00
Lars Brubaker
d1a26eb2a1 Got the sql and file system unit tests running
Made the ApplicationUserDataPath a static
2015-08-21 11:04:27 -07:00
John Lewin
0ab547bb26 Restore ability to attach VS to Android via debugger
- Prevent accidental construction of ProviderSQLite objects inside of ProviderSQLite constructor
 - Initialize .baseLibraryCollection during rootLibraryCollection construction to prevent null reference errors
   caused by access before assignment
 - Remove AddItem -> AddStlOrGcode -> AddItem recursion - Fixes crash due to concurrent writes to default.mcp
 - Add sqlite async methods and supporting logic to ensure disk IO operations aren’t run in parallel
 - Consolidate logic around sample part extraction from StaticData from various areas into a single method
 - Rename that method from SyncCalibrationFilesToDisk to EnsureSamplePartsExist
 - Break apart the large LINQ query into discrete and easier to understand steps
 - Add shared base class for sqlite backed library providers and resuse common code in base
 - Guard against cache deletion during one-time library initialization
 - Discard StreamReader cases in favor of ReadAllText - Ensures .Dispose is always called and is ultra succinct
 - Purge orphaned code
2015-08-09 21:05:53 -07:00
Lars Brubaker
038b40ada6 New library code to support provider pluggins for things like
cloud library
drop box
file system folders
etc...
2015-06-10 17:53:17 -07:00
Lars Brubaker
7d8dff4040 handle bad requests better (don't fail when connection not available)
Don't crash when writing log to protected directory.
2015-05-28 11:03:45 -07:00
Lars Brubaker
591528ee91 Ran code maid against this code. 2015-04-08 15:20:10 -07:00
John Lewin
af9668b40c Ensure overwrite behavior if possible for CreateFromDirectory or fallback to rename if not 2015-02-10 10:56:56 -08:00
John Lewin
9804967804 Fix spelling 2015-02-09 19:31:37 -08:00
John Lewin
c0ee83e1a7 Revise export to zip 2015-02-09 19:26:37 -08:00
John Lewin
6ffb66a7ca Import project refactoring 2014-12-10 11:03:07 -08:00