Nico Rehwaldt
a708a1cd4e
chore(tests): adapt bendpoint tests to new cropping
...
Related to #684
2017-12-13 14:20:40 +01:00
Nico Rehwaldt
61f3ac4cc2
chore(project): bump diagram-js dependency
2017-12-13 14:05:15 +01:00
Nico Rehwaldt
4a3c0378b9
fix(label-editing): fix isTouch not being processed
...
Actually use event.isTouch to check label editing activation on
create.end.
This makes 7e928ec709
work.
2017-12-13 13:30:51 +01:00
Nico Rehwaldt
058cfbb579
chore(label-editing): use isAny helper
2017-12-13 13:30:51 +01:00
Nico Rehwaldt
26f26945b6
chore(project): bump diagram-js dependency
...
Adds ability to distinguish create via touch / no touch.
2017-12-13 13:30:51 +01:00
Nico Rehwaldt
869e484601
chore(tests): use have.waypoints helper
2017-12-13 13:25:51 +01:00
Nico Rehwaldt
f24b21684d
test(cropping): add stress test
...
Related to #684
2017-12-13 13:25:51 +01:00
Nico Rehwaldt
408dd5383a
chore(tests): localize test file
2017-12-13 13:25:51 +01:00
Nico Rehwaldt
221b3279ac
chore(project): add .npmignore
...
* keep test utilities, helper and matchers
2017-12-13 12:17:43 +01:00
Nico Rehwaldt
1bf07d7e85
chore(project): bump bpmn-moddle dependency
2017-12-13 12:17:21 +01:00
Nico Rehwaldt
51ec9b8676
chore(test): correct test helper styles
2017-12-11 21:26:37 +01:00
Nico Rehwaldt
5761e01ffe
feat(modeling): adjust label location based on free space
...
Reacts on connection create, layout, reconnect and waypoint
update to find a suitable place for the label and reposition it.
Closes #738
2017-12-11 15:40:40 +01:00
Nico Rehwaldt
a830c1e1e0
chore(snapping): remove dead code
...
* we don't support moving of lanes;
the removed code never made it into production.
2017-12-11 15:40:40 +01:00
Nico Rehwaldt
ce361dabd7
fix(modeling/DropOnFlowBehavior): ensure label is created before executing
2017-12-11 15:40:40 +01:00
Nico Rehwaldt
48490197a5
chore(tests): improve test container styling
2017-12-11 15:25:10 +01:00
Nico Rehwaldt
cd24b27768
fix(copy-paste): ignore data associations during cloning
...
* use bpmnFactory for cloning to ensure all relevant
elements have actual IDs
* don't copy dataAssociations, as they are visual elements
that will be created during element re-connection
NOTE: This fixes data input association not properly being
wired during target replace, too.
Closes #694 , #693
2017-12-11 15:14:31 +01:00
Nico Rehwaldt
25d5fb2967
chore(project): bump build dependencies
...
+ browserify
+ uglify-es
2017-12-10 23:19:19 +01:00
Nico Rehwaldt
e7da5af0a1
chore(tests): depend on move module, where used
...
Tests would otherwise break in the future.
Related to bpmn-io/diagram-js#152
2017-12-10 23:04:11 +01:00
felixlinker
36a12396fd
chore(renderer): extract BpmnRenderer utilities into util
...
Closes #731
2017-12-10 19:10:12 +01:00
Nico Rehwaldt
e9eb9e374a
fix(snapping): correct bendpoint snapping on shape move
...
Don't blindly snap first waypoint; instead, snap only bendpoints
that are manhattan layout aligned with other bendpoints (excluding
start and end).
2017-12-10 13:48:46 +01:00
Nico Rehwaldt
f05ad02198
feat(layout): filter redundant connection waypoints
2017-12-10 12:29:54 +01:00
Nico Rehwaldt
357f3b3e96
chore(project): rebuild package-lock.json
2017-12-09 22:36:38 +01:00
Nico Rehwaldt
7ffb865023
chore(project): consistent async error handling
...
Async utilities properly propagate _all_ errors to the
specified _done_ callback. Failing in _done_ does not
re-invoke it.
Adjustments made in
* Viewer#importXML
* Viewer#saveSVG
* Importer#importBpmnDiagram
Tests cleaned up to remove un-necessary `if (err) { ...` snippets.
2017-12-09 22:31:15 +01:00
Nico Rehwaldt
105f326dad
chore(project): bump bpmn-moddle dependency
...
* unused namespace does not get serialized anymore
Closes #469
2017-12-09 22:30:56 +01:00
Nico Rehwaldt
7e928ec709
fix(label-editing): use new isTouch detection for conditional activation
...
Chrome and other modern desktop browsers
ship with touch features out of the box.
Because of that, it is not possible to use
the check
```
'ontouchstart' in document.documentElement
```
2017-12-08 19:32:13 +01:00
Nico Rehwaldt
2b37cebeb6
chore(context-pad): remove unused argument
2017-12-08 11:40:55 +01:00
Nico Rehwaldt
db64aa1377
chore(project): bump bpmn-moddle
...
Closes #735
2017-12-08 00:18:51 +01:00
Philipp Fromme
bc0fd114d0
chore(project): bump diagram-js dependency
...
Closes camunda/camunda-modeler#463
Closes #734
2017-12-07 16:35:09 +01:00
Nico Rehwaldt
c14be5d258
chore(test/util): remove snap.svg remainders
2017-12-07 13:19:02 +01:00
Nico Rehwaldt
50da47e1e1
fix(Viewer): trigger resized on attach
...
Ensure components get notified on `canvas.resized`, whenever
the Viewer instance gets attached.
2017-12-07 11:59:25 +01:00
Nico Rehwaldt
029c3d76aa
chore(context-pad): minor connect / remove tweek
...
* remove does not activate on dragstart
* connect does not trigger default drag behavior
2017-12-06 23:30:43 +01:00
Nico Rehwaldt
e34ca2feb2
chore(project): remove grunt-release
...
We do <np **> to release things.
2017-11-29 12:23:14 +01:00
Nico Rehwaldt
cbc3a7b3c5
chore(project): re-build package-lock
2017-11-29 12:19:05 +01:00
Nico Rehwaldt
e02dd55493
chore(project): bump stringify dependency
2017-11-29 11:00:05 +01:00
Nico Rehwaldt
8de61c714a
0.25.2
2017-11-28 18:19:49 +01:00
Nico Rehwaldt
c92cbda54e
chore(project): bump bpmn-moddle dependency
2017-11-28 18:17:13 +01:00
Nico Rehwaldt
e0104e3589
chore(Viewer): handle import error outside try/catch
2017-11-28 13:24:36 +01:00
Nico Rehwaldt
9b2a07d958
style(test): re-format test case
2017-11-23 11:00:23 +01:00
Nico Rehwaldt
a6b26b0b59
chore(test): add missing custom Chrome headless launcher
2017-11-23 10:46:29 +01:00
Nico Rehwaldt
3908ac64c5
0.25.1
2017-11-23 09:54:47 +01:00
Nico Rehwaldt
2ef82970fd
chore(Viewer): re-expose loaded definitions
...
The previous release kinda removed access to the currently
loaded definitions.
This restores access by exposing it by `Viewer#getDefinitions()`.
2017-11-23 09:49:54 +01:00
Nico Rehwaldt
6bb1128ccc
0.25.0
2017-11-21 09:29:58 +01:00
Nico Rehwaldt
8feb2eca97
chore(project): bump diagram-js version
...
* Fixes markers to be properly removed on connect/reconnect
in Internet Explorer / Edge.
Related to bpmn-io/diagram-js#236
2017-11-21 09:27:33 +01:00
Nico Rehwaldt
642d7b88af
chore(Viewer+Modeler): consistently name private instance variables
...
BREAKING CHANGE:
* definitions, container and moddle have been prefixed with
an underscore (_) to denote they are private use.
2017-11-20 15:28:29 +01:00
Nico Rehwaldt
844bc9a922
chore(wiredeps): use saxen
2017-11-20 15:04:37 +01:00
Nico Rehwaldt
cfcf5ddd41
chore(project): shrink bundle sizes
...
Reduces the size of bpmn-js {Viewer, NavigatedViewer, Modeler}
bundles by roughly eight percent:
* module concat / tree-shake produced production bundle
* bump diagram-js version to fix <this> used in ManhattanLayout
utility
2017-11-20 15:04:37 +01:00
Nico Rehwaldt
2441b153f6
chore(project): rebuild package-lock.json
2017-11-20 10:34:18 +01:00
Nico Rehwaldt
447cb2be98
0.24.0
2017-11-15 20:29:17 +01:00
Nico Rehwaldt
ce45e9081b
chore(project): bump bpmn-moddle dep
...
This improves the import and export of BPMN 2.0 XML documents
+ improves di prefix collision handling
+ proper deconflicting of prefixes during export
+ validate and detect non-BPMN root elements
+ replace underlying XML parser for higher speed and smaller
bundle size
+ pass parse warnings with errors
NOTE:
* some error messages on broken XML may have changed
due to changes in the underlying XML parser
2017-11-15 19:55:34 +01:00
Nico Rehwaldt
0227eb2d3c
chore(tasks/stages): attempt fix
2017-11-15 08:46:18 +01:00