Commit Graph

22 Commits

Author SHA1 Message Date
Bryan Housel 6c3a02cebe Avoid lodash in hot code in coreDifference
(closes #2743, closes #4611)
2018-02-05 13:44:01 -05:00
Bryan Housel 78908bfaa1 Convert lodah-es and d3 to named imports for core 2017-09-24 22:52:12 -04:00
Bryan Housel 99a3741b0c Better isolation of services, to avoid hitting network during test runs
1. All services are disabled in testing now to prevent network accesses
2. Only services are enabled when needed to test something
3. Many changes throughout code to allow iD to run with services disabled
   (e.g. check for osm service instead of assuming context.connection() will work)
4. Actually export the services so we can disable and enable them
2017-08-09 22:04:09 -04:00
Bryan Housel ef95db8524 Add ability to history.pop n times
This is a little better than just calling pop a bunch of times because
it avoids dispatching extra history change events
2017-05-03 16:03:56 -04:00
Bryan Housel 2ebfcd174e Don't redo into un-annotated edit states
(closes #4006)
2017-05-03 00:21:37 -04:00
Bryan Housel 2e81e71859 Add history.toIntroGraph() for saving the edited introGraph to JSON 2017-04-04 02:00:01 -04:00
Bryan Housel 833a67f399 Allow history to set checkpoints and reset to them 2017-03-22 22:05:27 -04:00
Bryan Housel ddd1b7e43a Don't change history state while in transition 2017-01-04 17:37:29 -05:00
Bryan Housel eb0cdd5e8c History transition code cleanup 2016-12-23 17:18:28 -05:00
Bryan Housel d917424fc4 Support for performing transitionable actions 2016-12-23 00:57:05 -05:00
Bryan Housel 6ca4b13304 Store view transform and selectedIDs w/history, and undo/redo them
(closes #2204)
2016-12-10 23:25:58 -05:00
Bryan Housel 07fa5fcc34 Refactor Entity, Node, Relation, Tags, Way from core to osm 2016-10-11 22:41:24 -04:00
Bryan Housel 0d0e54fdff Fix more namespaces that were missed in the first pass 2016-10-04 21:15:30 -04:00
Bryan Housel 3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Bryan Housel a86f34b4ef Pacify eslint, get build and tests running again 2016-08-26 01:15:07 -04:00
Tom MacWright cdb533fa84 Begin d3 v4 update 2016-08-21 15:19:27 -04:00
Tom MacWright 604d1e2719 import lodash (#3257) 2016-07-19 12:04:16 -04:00
Tom MacWright 3856b1ff2f Inter-require iD instead of relying on the global (#3256) 2016-07-19 10:30:50 -04:00
Kushan Joshi 39c82af158 Sort modules [eslint rule] 2016-07-06 12:12:08 +05:30
Kushan Joshi 780960c711 interim 2016-07-06 00:34:35 +05:30
Kushan Joshi 12df331d51 external modules for core 2016-06-18 02:08:14 +05:30
Kushan Joshi 59e6581aa5 Modularize iD.core 2016-06-16 18:41:37 +05:30