Commit graph

63 commits

Author SHA1 Message Date
James D. Forrester cc8f6970a5 Update VE core submodule to master (f4ff1d6)
New changes:
d845991 Data model implementation for tables
a27c148 ContentEditable implementation for tables
3c47428 Actions and context menus for manipulating tables
543ca54 Support annotation tool on table selections
149cf3d Supporting copy paste of single table cells
25c9eee Table header/data format tools
e557e46 Merge cells tool
afcf2d9 Allow custom type and attributes when creating a table

Local changes:
Add the files and messages for table editing

Change-Id: I6e6c33b96d3089049a0fd5385191caa83df5756b
2014-10-29 11:52:09 -07:00
Roan Kattouw f039160b62 Update VE core submodule to master (545d8db)
New changes:
b79bf0d Add table to test node hack as MWTable is coming
545d8db Provide a generic mechanism for mapping classes to attributes

Change-Id: I4911e81856c66fdde4b5cae622b474be36834911
2014-10-29 11:19:35 -07:00
James D. Forrester 50e59f328a Update VE core submodule to master (27de0c4)
New changes:
016642e Remove crazy space exception from link validity regex
b538834 Remove insertion inspector class
50839f5 Work around *another* browser bug in getBoundingClientRect
e2e916a Increase inspector height by 1 to deal with Chrome opacity bug
9e387da Update OOjs UI to v0.1.0-pre (40de4dabe6)
27de0c4 Follow-up I2f34448: ve.ui.InsertionInspector.js was deleted, so remove from manifest

Change-Id: If979beb12fe865c0e217b93381769264e2efdc20
2014-10-22 17:14:29 -07:00
Ed Sanders 1af18c3c12 Update VE core submodule to master (984b57a)
New changes:
6bbcd6a Localisation updates from https://translatewiki.net.
b8d8a5b [BREAKING CHANGE] The Great Selection Rewrite of 2014

Local changes:
Update to use new selection/range API

Change-Id: I5480d5c77d599c93c2d374fac88bb2fdb68b0024
2014-10-07 21:39:33 +02:00
James D. Forrester 9d27d0605b Update VE core submodule to master (859654b)
New changes:
6cb04e0 Fix JS error in mostly-dead Opera compat code
454d486 Handle triple click with surface fragments
c1e5c78 Update OOjs UI to v0.1.0-pre (afa3241e8e)
859654b Update OOjs UI to v0.1.0-pre (30b0407428)

Change-Id: I3f166c002783e9b62f31cbd0ef02930abe107b21
2014-09-30 16:26:59 -07:00
Roan Kattouw cf1a889ac8 Update VE core submodule to master (5f4b740)
New changes:
a047e72 [BREAKING CHANGE] Create ve.dm.Focusable and store focusable flag there

Local changes:
* Add new ve.dm.FocusableNode mixin where required

Change-Id: Ie9ee2de05acfe3c4c62c4864e65bd20397d6a069
2014-09-16 18:45:22 -07:00
James D. Forrester eb55cc06d6 Update VE core submodule to master (1fd23db)
New changes:
3e2537f Split getSelectionRect into bounding and inline
b73d010 Kill rangy (almost)
38207f4 Kill rangy: Vol. 2
b392d88 Rangy's dead honey, rangy's dead

Local changes:
* Remove references to rangy

Change-Id: I900eb3e36a564a526c01a5e00f8ea31a1ac9c0a3
2014-09-10 19:13:08 -07:00
James D. Forrester a74950a693 Update VE core submodule to master (7004717)
New changes:
6d8a59f Create ImageNode mixin to share logic between Block & Inline
aa6765f Fix `ve.dm.Transaction.newFromReplacement` when `removeMetadata` is true
a6e7a0c Set expanded=false on command help dialog layout
029dbe4 Allow override of window manager in language input widget
8407325 Annotate inserted special characters
4666caf Localisation updates from https://translatewiki.net.
f67e81e Factor out ve.dm.Transaction.pushReplaceInternal
7004717 Prefer String#slice over substr() or substring()

Change-Id: I72dbf37750b5582049cb0fb2730a99066a64b067
2014-09-03 10:35:21 -07:00
James D. Forrester 6340a5a3e8 Update VE core submodule to master (d6d6db4)
New changes:
378bc4c Polyfill Node.prototype.normalize in IE
d54cd30 Call onTargetInputChange when the link inspector is ready
00f7a00 Only undo if an initial annotation was applied
5d39686 Make filibuster code debug only
fdda60a Track selectionBefore in staging transactions

Change-Id: I2a70d599838b3575c5b0a63ffc60d023b04a8e80
2014-08-29 12:05:12 -07:00
Roan Kattouw 2cf3c8bcd8 Update VE core submodule to master (f1fd9a8)
New changes:
eaa4528 Queue up annotation changes to make operations safer
09fc01f [BREAKING CHANGE] Remove span-wrapping of images
b59f85f Followup b141a7d2: make inspectors not close immediately in IE
1088cac Define kbd font-family explicity in case environment overrides
137add3 Fix embeddable desktop context popups
a2f0f80 Rename getRelativeOffset to getBoundingRect and use in getSelectionRect
fc09114 Fallback to node position when getting selection rectangle
1506099 Change comment to meta in whitespace test case to actually test whitespace handling
7dc4854 Remove global overlay classes when destroying MobileSurface
6e6b08a Update OOjs UI to v0.1.0-pre (d6008381aa)
e0a8089 Destroy WindowManagers in Context and Surface destructors
8c71904 Never embed the context when an inspector is present
163bd50 [BREAKING CHANGE] Rename 'image' to 'inlineImage'
5dd8bad Make focusables behave correctly when $element != $focusable
ba6fba7 Basic block image (figure/figcaption) support

Update changes:
* ImageNode was renamed to InlineImageNode in VE core
* BlockImageNode and BlockImageCaptionNode were added in VE core
* ve.ce.ImageNode.css was removed in VE core

Change-Id: Ide31b47448a4b4d6388f84a7a6ee9d471c1331f6
2014-08-22 11:51:50 -07:00
James D. Forrester 54f609324f Update VE core submodule to master (59a25cb)
New changes:
5e35cc0 ve.Filibuster: Scrupulous state logging
82961d0 Re-sync bin/update-oojs.sh with equivalent script in MediaWiki core
2b540a7 Don't blank .static in ve.dm.Document
cfbb0e6 Update OOjs to v1.0.12
59a25cb Update OOjs UI to v0.1.0-pre (944c47c5fe)

Change-Id: I4713b73a7897c54da30db32db0ac66e8bcc1b208
2014-08-20 17:42:52 -07:00
Roan Kattouw 924e3c026d Update VE core submodule to master (03975f8)
New changes:
a28e085 Restore QUnit web UI
8e2477c [BREAKING CHANGE] Move modules to src and tests and i18n, UnicodeJS to lib
26adfaf Fix path prefix for tests/index.html so it actually runs
d87dab5 Work around getSystemPlatform() race condition
6682ebc Make getParsedMessage() test actually test getParsedMessage()

Local changes:
* Update paths from lib/ve/modules/ve to lib/ve/src or lib/ve/tests
* Update paths from lib/ve/modules/unicodejs to lib/ve/lib/unicodesjs
* Rename unicodejs.wordbreak module to unicodejs
* Update code for getSystemPlatform() and isInternetExplorer()
  being made static

Change-Id: I7bb3bb74addfd3fbb64795c5ac3ff791b8874a4f
2014-08-15 14:42:08 -07:00
Roan Kattouw 7eee4604f7 Update VE core submodule to master (8e56dd5)
New changes:
36705e9 Replace setModulesPath with addMessagePath

Change-Id: I7b95d1f10bf2d131343613bc5e6bc334d3ad40d0
2014-08-13 12:37:53 -07:00
Roan Kattouw bea40f6a93 Update VE core submodule to master (f443f90)
New changes:
c23d345 Localisation updates from https://translatewiki.net.
2662be5 Localisation updates from https://translatewiki.net.
f04910e Set selection before focusing document
31fc043 Localisation updates from https://translatewiki.net.
b4eed30 Localisation updates from https://translatewiki.net.
40016d7 Disable basic reference on mobile
e4bad2e Localisation updates from https://translatewiki.net.
e476e79 Fix `Transaction.isNoOp` test
3cfccf8 Update OOjs UI to v0.1.0-pre (0e50d2e336)
55d1d03 Add bidi isolation to language annotations
3f2a1c6 Localisation updates from https://translatewiki.net.
a399aee Actually check annotations in paste test
b3b7d67 Add missing messages from MW
c327e1f Localisation updates from https://translatewiki.net.
d52a40a Show metadata in the debug bar
d9c3b90 build: Switch from qunit directly to karma for code coverage reports
b421ac3 tests: Fix some minor issues flagged up by karma and related MW references
35f76d1 Fix bad jquery 'append' instances
7766751 Localisation updates from https://translatewiki.net.
f443f90 Followup 95ee357: make remapStoreIndexes() work again

Change-Id: I04e2ad1ecc31aefc482e81724e28271704fbfd35
2014-08-12 14:57:47 -07:00
James D. Forrester c6b07fcd50 Update VE core submodule to master (5fdb204)
New changes:
bf5ed78 Fix expandRange( 'root' ) to not include the internal list
1aeb5ce Use native style property names instead of jQuery's css map
2106806 Greatly simplify ve.ce.Surface#getSelectionRect
23a9498 Create a whitespace preserving TextInputWidget and use in CommentInspector
e8d4c45 Update OOjs UI to v0.1.0-pre (3d8475c0b3)
5fdb204 Localisation updates from https://translatewiki.net.

Local changes:
* Add ve.ui.WhitespacePreservingTextInputWidget.js

Change-Id: Icdb5d5d3041512558dce31e56cf58ea992e4f686
2014-07-30 16:36:42 -07:00
Moriel Schottlender e281f921f2 Update VE core submodule to master (4424195)
Update tests and VisualEditor.php for comment node.

New changes:
5885b6a Update OOjs to v1.0.11
ab2d4cb [BREAKING CHANGE] Show comments inline to the user

Change-Id: Ie2787c3e29951cb7940f65bf104e7c9cccdbebd1
2014-07-23 17:21:47 -07:00
James D. Forrester fbdff76263 Update VE core submodule to master (f2277ea)
New changes:
56de6f5 Localisation updates from https://translatewiki.net.
f8bda64 Widgetise demo menu
6ac48d8 Localisation updates from https://translatewiki.net.
365e131 builderloader: Omit value for boolean "disabled" attribute per HTML5
706e4b3 Prevent double counting of DM nodes in getNodeAndOffset
b141a7d Update OOjs UI to v0.1.0-pre (d2451ac748)
c5b3921 Localisation updates from https://translatewiki.net.
1606983 Update reference to ConfirmationDialog to use MessageDialog

Deletions:
* Styles for ve.ui.MWBetaWelcomeDialog - not needed anymore because
  OO.ui.MessageDialog provides them
* Styles for ve.ui.MWGalleryInspector - not needed anymore because
  ve.ui.MWExtensionInspector provides part of them and the rest are being
  replaced by programatic sizing

Modifications:
* ve.ui.MWLinkTargetInputWidget - Added support for validation and href
  getter
* Split message between tool and dialog title for ve.ui.MWEditModeTool
  and ve.ui.MWWikitextSwitchConfirmDialog

General changes:
* Updated inheritance.
* Added manager param to constructors of dialogs and inspectors.
* Updated use of show/hide with toggle.
* Added meaningful descriptions of dialog and inspector classes.
* Configured dialog and inspector sizes statically.
* Configured dialog action buttons statically.
* Interfaced with OO.ui.ActionSet to control action buttons.
* Moved applyChanges code into getActionProcess methods.
* Always using .next in setup/ready process getters and .first in
  hold/teardown process getters.

Change-Id: Ia74732e6e32c0808eee021f0a26225b9e6c3f971
2014-07-14 23:24:45 +00:00
James D. Forrester ec30c025d1 Update VE core submodule to master (2a2ebe9)
New changes:
ca2d078 Grunt: Create a distribution files for the ve module
ff4bf36 Run node-svgo to crush all SVGs whilst retaining readibility
076edd4 Provide the (currently-unused) external link icon in LTR and RTL variants
96ff968 Use globalOverlay as the contextOverlay in MobileContext
374fd68 In the toolbar, display superscript tool above subscript tool
e800343 Update OOjs UI to v0.1.0-pre (432a76f7d4)
2d4b557 Use CSSJanus to generate RTL stylesheets

Change-Id: If07518c1a7b72fb0fadd7ee840809006ad87a3c0
2014-07-02 10:41:43 -07:00
James D. Forrester ceb8834ffc Update VE core submodule to master (480b813)
New changes:
8a64317 Set XML encoding to utf-8 in SVGs
6bdacc7 Select highlights on touchend event
19409c6 Localisation updates from https://translatewiki.net.
2dca505 Split out ve.{dm,ce}.TextStyleAnnotation into parts, add other annotations

Change-Id: I42f82440919973dd040e3cb18ae0acba7d4a0c8d
2014-06-30 12:15:52 -07:00
Timo Tijhof b2d4d7d8c0 build: Sync buildloader in eg-iframe.html
Follows-up Ic962fbc1dcbca1a which forgot to sync the buildloader.

Change-Id: Iceef2ae82e02ac7003a2f50928c99352fb3a19bc
2014-06-26 13:26:41 +02:00
James D. Forrester 00145d495e Sync eg-iframe.html
Change-Id: I1ab760c9022108dfd3db1d078cf097fd2187e58b
2014-06-20 18:09:44 -07:00
Ed Sanders 0688aa7b02 Update VE core submodule to master (89820e5)
Remove clickable node mixins.

New changes:
65e2e22 [BREAKING CHANGE] Make all focusable nodes clickable

Change-Id: I24403e12621e5b789e0b8c99f54f1d1b8fa802cc
2014-06-16 12:59:37 -07:00
Ed Sanders 1169ebf801 Update eg-iframe with build script
Change-Id: Id8c943d14f9292cba33a4a06c319bfa83a9e344f
2014-06-12 20:27:54 +01:00
Roan Kattouw 10cda9359a Update VE core submodule to master (fc52878)
Remove RelocatableNode mixins for new FocusableNode.

New changes:
fc52878 [BREAKING CHANGE] Merge RelocatableNode into FocusableNode

Change-Id: Id8ce497b0fd1ff7732f68aa1ae8af4f4f8f9db0f
2014-06-11 11:14:46 -07:00
Roan Kattouw 310601ef47 Update VE core submodule to master (e1b0e33)
Remove ProtectedNode mixins for new FocusableNode.

New changes:
e1b0e33 [BREAKING CHANGE] Merge ProtectedNode into FocusableNode

Change-Id: Ie515704163c24317739fd34d35094b9ada6bfa66
2014-06-10 16:52:49 -07:00
James D. Forrester 4be0218bbb Update VE core submodule to master (5f10e73)
New changes:
a53f101 Update OOjs UI to v0.1.0
1fa518b Update OOjs UI to v0.1.0-pre (15f4156bac)
257af53 Use ContextWidget instead of toolbar inside context menu
5f10e73 Follow-up Ia2076a42: Mark getDescription() as @inheritable for Annotation, Node

Local changes to adjust for the ContextWidget changes.

Change-Id: I47f68f5cf1b9583dab9bd0109fa6504481bdfc67
2014-06-09 18:35:08 -07:00
James D. Forrester 2c89665070 Update .docs/eg-iframe.html to sync with new changes
Change-Id: Ie267927f695cf83958933545c78195a2b0accf2e
2014-05-27 16:14:04 -07:00
James D. Forrester e2fab2f1eb Dump raster support (unuseful) and assert SVG works before loading
Depends on Idb26804576 in core.

Change-Id: I17481b2d52ab2c33c26ff935b0fd58deb4aa207b
2014-05-27 15:22:26 -07:00
jenkins-bot 29ca9c6a59 Merge "Remove DesktopContext.css/js from core, leave in desktop" 2014-05-24 04:06:11 +00:00
James D. Forrester 1d92138f99 Update eg-iframe.html
Change-Id: I41a6e89339b586690d04c4704d2427e89d2c8605
2014-05-23 20:20:49 -07:00
Ed Sanders 7330b38ebf Fix dependencies for eg-iframe
Requires standalone to actually run, as in core.

Change-Id: I408981eb1ba12f0a447d0582b88f6b67d0e455cb
2014-05-23 16:56:53 -07:00
Ed Sanders bafad7ea1e Remove DesktopContext.css/js from core, leave in desktop
Change-Id: I6f5e5a01a9feba593567288f5237a773fa02453e
2014-05-22 18:23:52 +01:00
James D. Forrester 1294791b40 Re-sync .docs/eg-iframe.html
Change-Id: I50d2bee652d2a1c2b61d34eefaf61817e4c60bce
2014-05-21 16:17:15 -07:00
Roan Kattouw 2e5e7594a8 Update VE core submodule to master (19be0c1)
Also add OO.ui.ConfirmationDialog things and
update Gruntfile.js for breaking changes in VE core.

New changes:
5f1514b Localisation updates from https://translatewiki.net.
0cde22f Localisation updates from https://translatewiki.net.
ca021d8 Fix desktop dialogs
3503287 Localisation updates from https://translatewiki.net.
f02286b build: [BREAKING CHANGE] Add dependency expression
25fc053 Use message function and correct message key
a097202 Create phantom/shield nodes with methods not templates
1399844 Load dependencies in correct order
5a39c9e build: Simplify building of module dependency list
2a3871f build: Upgrade jscs and jshint
7db9b88 Localisation updates from https://translatewiki.net.
d34b2ae Update OOjs UI to v0.1.0-pre (80f1797a5c)

Change-Id: I0f23042e3cadd4614cd1dcd905287af777dd6ed3
2014-05-14 15:27:46 -07:00
Moriel Schottlender bf1574f888 Add MobileSurface to .docs/eg-iframe.html
Change-Id: Id3b84ac20f81be470e541d5e45f6dd93cfcb9c8c
2014-05-08 02:25:22 -04:00
Ed Sanders 8d202e89bb Add LanguageResultWidget files
Depends on I6e0e67ce8da in core.

Change-Id: I1eae5493b6c0737abc71b36bb4eabffd5f6f116b
2014-05-02 14:04:14 +01:00
James D. Forrester 3b3a66763a Update /.docs/eg-iframe.html for ActionDialog/NodeDialog
Change-Id: Iadb41f2b53c15824282773ab52d379ef540234c4
2014-04-29 17:51:03 -07:00
Ed Sanders be36dfca25 Use core language search dialog
Depends on I21a9d7e in core.

Change-Id: I12cacf775b490d7c676011a5a154deeefe5527c5
2014-04-23 18:43:03 -07:00
Ed Sanders 0c82889ac5 Update built html files
Change-Id: Iae32c35aca7cbdcce83b424763318a2609c3e9f1
2014-04-22 17:01:00 -07:00
James D. Forrester 7cc2190e68 Update .docs/eg-iframe.html to current
Change-Id: I323265e303258929eac5d85a96a412315c6780a5
2014-04-21 09:06:39 -07:00
Roan Kattouw 9312501824 Update VE core submodule to master (2d96306)
Add reference to DimensionsWidget.css

New changes:
2d96306 [BREAKING CHANGE] Separate Widget styles properly

Change-Id: I84c1a3576b8eca74d483e26a4affd21f790040ad
2014-04-16 16:02:51 -07:00
Roan Kattouw f2422d916c Update VE core submodule to master (c150259) for scalable changes
ve.dm.Scalable is now a computational model for image scaling and
size manipulation. This commit adjusts the nodes and the edit and
insertion dialog to handle the new scalable model, and by that
use a centralized computational engine for all scaling and size
changes.

New changes:
3ec19fb8 Refactor Scalable functionality

Change-Id: I017a017924f544cc8bc9b7d8245335759ae0e890
2014-04-09 17:29:49 -07:00
Trevor Parscal 793fbb0e24 Correctly insert or update citations based on template option
When using a tool that opens a citation or citation transclusion dialog,
the dialog shouldn't use edit mode unless the template in the node and the
template the tool would insert match.

Bug: 63452
Change-Id: I34a5a2da576247f4046da45f742bccc3cec22c5a
2014-04-02 16:38:34 -07:00
Roan Kattouw 39f8019c47 Update VE core submodule to master (9484b81)
New changes:
b045c0c Localisation updates from https://translatewiki.net.
3221c45 Introduce ve.ui.Tool
c3a2a85 Detect document focus properly and allow null selection in model
03fed20 Localisation updates from https://translatewiki.net.
07dfc7d Actually use getRelative[Content|Structural]Offset wrappers
8fced5f Show VE demo error in VE
547e3d2 Localisation updates from https://translatewiki.net.
d6316f5 Fix handlesOwnChildren check in getRelativeOffset
e23f1ab Style link inspector on mobile
5968559 Localisation updates from https://translatewiki.net.
4bce90c Bump jscs to 0.4.1
7e39f49 Disable certain tools when surface has no range
edde8ca Emit event when insertion annotations change
2a89173 Update OOjs UI to v0.1.0-pre (8986c46d35)
103c4b9 Support null ranges in the demo debug bar
9eb3810 Adjust loop counters in word break detection when removing item
914e002 Skip over handlesOwnChildren nodes in newFromAnnotation
ef6096a Improve hasFocus check to compare the anchorNode to the parent
18171bf Revert "Improve hasFocus check to compare the anchorNode to the parent"
3950cef Revert "Detect document focus properly and allow null selection in model"
1c4cac4 Revert "Fix handlesOwnChildren check in getRelativeOffset"

Change-Id: Ic3054c668866307a5cfbb74f23efd82ceb2f0ee3
2014-04-02 16:15:01 -07:00
James D. Forrester 66d8fc9d9f Add missing VE core themes/apex/ve.ui.Inspector.css to .docs/eg-iframe.html
Follows-up I4af6c0341.

Change-Id: Ia0d2c22aa647ea1ee6cca8a38d99a8eb14aa3c87
2014-04-01 23:23:32 +00:00
Trevor Parscal 46e7f55ba5 Update VE core submodule to master (1adc9f5)
New changes:
e02cb87 Fix left-over autoAdd property that didn't get fixed with Idaf3041
74037b0 Split up omnibus CSS files into per-item ones
1adc9f5 Localisation updates from https://translatewiki.net.

Change-Id: I71498cd0b990aebd85dabb68afb3485350b8ac36
2014-03-21 16:42:33 -07:00
James D. Forrester f8720326b0 Split out omnibus CSS files
Change-Id: I195a0e4091cf2d003c325e9c653dd634e7096779
2014-03-21 20:14:52 +00:00
James D. Forrester 6322ec3afb Add missing ve.ce.ClickableNode.js to .docs/eg-iframe.html
Change-Id: Ibaf3a11116b43acc4d150c2950432229a3109acf
2014-03-19 19:35:41 -07:00
Roan Kattouw 6b22f272e9 Rerun grunt to regenerate eg-iframe.html
Change-Id: I5f0d03407eadcdb811281b1406fe664d280504c3
2014-03-14 15:28:29 -07:00
Trevor Parscal 42ba981e27 Update VE core submodule to master (520299e)
New changes:
dd15f23 Split ve.ui.Surface into DesktopSurface and MobileSurface
16283f4 Add OOjs UI's sco.json i18n file
ef94038 Split ve.ui.Context into DesktopContext and MobileContext

Minor adjustments to point to desktop and mobile Surface or Context.

Change-Id: I7cf6f99a5a1216a28a7146afcd4deb68c7eac38e
2014-03-14 13:13:02 -07:00