Commit graph

301 commits

Author SHA1 Message Date
James D. Forrester 14a0f93621 Update VE core submodule to master (d418c99)
New changes:
81e2135 Remove upstreamed ve.contains function
77166d7 Update RangeFix library 0.1.0 -> 0.1.1
6fe9405 Give table overlay width so row context positions correctly in RTL
a2001e2 Fix getDirectionFromSelection to work with table selections
ca75f05 Make table inserts directional
7ce4a63 Follow-up 2075a46: Fix RTL image build by embedding after flipping
5068bcd Restore original rowspan/colspan rather than normalizing or overwriting with NaN
e1bff77 Localisation updates from https://translatewiki.net.
a92012e Use strict comparison for insertionAnnotationsChange
39f7b91 Localisation updates from https://translatewiki.net.
b5e1130 Localisation updates from https://translatewiki.net.
c577aeb Initialize mobile context as visible

Change-Id: I113250f8caec07f9a7e59116417eb582ea0e7ae5
2014-11-17 09:54:39 -08:00
James D. Forrester abaea95fec Update VE core submodule to master (0a42f21)
New changes:
0736e17 Localisation updates from https://translatewiki.net.
31eab5b tests: RuboCop checks .docs/CustomTags.rb
bf19679 Move FragmentInspector initialization to initialize
68f7798 Allow <meta> tags in GeneratedContentNodes
6c71f56 Localisation updates from https://translatewiki.net.
d77c436 Use .super in nodes, annotations, meta and lineardata implementations
1582bab Initialize context's $element as hidden
d3fc6d7 AUTHORS.txt: Credit libraries as well as direct contributors
091f781 [BREAKING CHANGE] Remove the ve.bind function
9b578f1 Localisation updates from https://translatewiki.net.
0a42f21 Update OOjs UI to v0.1.0-pre (fe4076af75)

Change-Id: Ie849ef2179989881356a245bc6431e7d9ad1a665
2014-11-13 22:28:15 +00:00
James D. Forrester 385f895980 Update VE core submodule to master (f5083c6)
New changes:
6ec286e Support for generic file drop handlers
4f2ab66 Generic progress dialog for drag and drop uploads
742e0fe Fix pasteSpecial command
87ea9e9 Fix up/down arrowing off a focusable node
643ea34 spinner.gif: Update with new version from Trevor
ffd8b1e Position the table context relative to the first section node
393776a Fix logic for ignoring (col|row)span=1
f94b10e Don't unmerge spanned cells when spanned cell is removed
3416764 TableContext: Simplify row/column overlays styles
e6c0038 Localisation updates from https://translatewiki.net.
fb1a922 Register select all as a command and perform programmatically
3c1ce93 Make caption tool available when caption selected
dd0ac7d Move disabling logic from tools to commands
8bf33a5 Bold & italic icons for Armenian
058b32c Update OOjs UI to v0.1.0-pre (05f0fefc3f)
c01d115 Create filedrophandlers folder for implementations

Local changes:
* Register new files
* Move disabling logic from tools to commands
  onUpdateState should only ever call setActive. setDisabled should
  already be determined by the command so that it can prevent itself
  being called by triggers.

Change-Id: Icdeaa4c152a0dcd839c8e7cc4e64b2215eb2de1e
2014-11-11 16:51:24 +00:00
James D. Forrester d4c133b573 Update VE core submodule to master (bc4355a)
New changes:
fe0bc6c Move most of ve.js to ve.utils.js
6be79d9 Remove and restore selection for non-isolated dialogs
2bf123d Localisation updates from https://translatewiki.net.
d2c4d18 Fix missed conversion of inlineMenuWidget to dropdownWidget in demos
bc4355a Localisation updates from https://translatewiki.net.

Local changes:
* ve.utils.js updates

Change-Id: Ibb7d7483b23edcccbd83dc8fadd4407dca380a25
2014-11-10 12:56:17 +00:00
James D. Forrester 09a518db71 Update VE core submodule to master (bb67705)
New changes:
a824357 Node method cleanups
fa4e504 Add isAllowed(Child|Parent)NodeType to ve.Node
08974ed Replace block drop logic with isAllowedChildNodeType check
5fb113e Don't focus Edit HTML on load
799d27b Create table cells with wrapper paragraphs by default
5d3b5db Localisation updates from https://translatewiki.net.
11cb975 Use hasOwnProperty instead of 'key in obj'
77e24e2 Update OOjs to v1.1.2
bd36a32 Update OOjs UI to v0.1.0-pre (12b66051ff)
f368788 Localisation updates from https://translatewiki.net.
1ee759b Fix non-linear selection handling in ce.Surface#focus

Change-Id: I89aba1cb50cda91721473c2c33b41d7b12433bd5
2014-11-06 17:03:11 -08:00
Roan Kattouw 711d3629dd Update VE core submodule to master (caaff2c)
New changes:
d0ab5bd Localisation updates from https://translatewiki.net.
6b876bd Update OOjs UI to v0.1.0-pre (b38d485723)
caaff2c Blur contentEditable node while destroying surface

Change-Id: I4121ed82617053e8763cdc3d3aaa5ee9aa76e571
2014-11-04 17:17:47 -08:00
James D. Forrester 31bafa183d Update VE core submodule to master (a942301)
New changes:
2cc219a Update OOjs UI to v0.1.0-pre (571f26d0ab)
3543cb7 Protect against offset=-1 in insertContent()
7a3d456 [BREAKING CHANGE] Move selection restrictions from tools to commands
3d847bb Disable desktop context on table selections
41282dd Missed function rename from RangeFix change
dd6c8b8 Support toDomElements returning an empty array
9be6464 Placholder -> placeholder
9bdd0a8 Restore basic styling to toolbar in core target (only)

Local changes:
Move selection restrictions from tools to commands

Change-Id: I88f3d04946bd1d03ed001d747475a8b495a0f64c
2014-11-04 14:11:04 -08:00
James D. Forrester 27fc889cc2 Update VE core submodule to master (dc8cf63)
New changes:
38fc5bb Replace native range rectangle hacks with RangeFix library
4713b8e Disable cell editing when a context is opened
1113a13 AUTHORS.txt: Re-update for late 2014
37af5c4 Prevent clicks on focusable nodes in tables
2152877 Localisation updates from https://translatewiki.net.
b766ecc Update OOjs UI to v0.1.0-pre (eee616d664)
20cb077 Follow-up Ifb7ffb1: Update demo.js for breaking OOUI change
6760cdd Localisation updates from https://translatewiki.net.
555c6ea Set insertion annotations when typing over cell contents
819ad6b Fix width of demo page dropdown
9f4705c Catch backwards selection error in Firefox
ac8a4e8 Add missing focus call to pasteTarget
b034657 Add support for non-table nodes in tables (e.g. aliens)
25aef0c Fixes to onDocumentDrop
622957f Add support for dropping text/html from external sources

Change-Id: Ic704b95c1dc91a1ae74f9a60101cb949b34c9e0d
2014-11-03 11:39:46 -08:00
James D. Forrester c2dfd1ba04 Update VE core submodule to master (b7b56dd)
New changes:
6b820e6 [BREAKING CHANGE] Unisolate dialogs
0bae8f4 Fix selection when inserting a caption
6a31afd Localisation updates from https://translatewiki.net.
ab362b4 Add sparse table demo and fix related selection bug

Change-Id: I8d95b32d01e7a8e1aa9db0e4dc7a2e1e470bd46d
2014-10-31 11:22:45 -07:00
James D. Forrester a8db969c36 Update VE core submodule to master (260d6c5)
New changes:
eb95f82 Store intended table selection before expansion and use when translating
392d1e6 Add table selection support to clear annotation tool
2529985 Refactor and fix table cell editing code
de1117c Support editing of caption nodes
f831ee7 Table caption tool

Change-Id: I8ddfe6349723bb20d9b530e954f745d1757bfbc1
2014-10-30 12:27:55 -07:00
Roan Kattouw 407ed04ef0 Update VE core submodule to master (f9f51a5)
New changes:
7d36bd8 Don't create tables with a thead
dfee68d Localisation updates from https://translatewiki.net.
dde7897 Fix selection transitions between FocusableNodes and non-linear selections
6f9437f Update OOjs UI to v0.1.0-pre (da4b0d5c14)
1ec4bf5 Always emit context change on null selection

Change-Id: Ib3c175199950822cda7b34a3c8ca4faa20c53cfc
2014-10-30 11:52:59 -07:00
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 564a6d0a90 Update VE core submodule to master (ce4ee02)
New changes:
56c30cb Remove font-size: 0.8em; rule for OOUI change
97d5111 Update OOjs UI to v0.1.0-pre (deccd11549)

Change-Id: I6efd0a9a996ae60404e029748ef71672cd5ab07d
2014-10-28 10:28:50 -07:00
Roan Kattouw dde33f2297 Update VE core submodule to master (07b2eda)
New changes:
4193898 Remove mw-specific message
f14b214 tests: Prepare repository for running RuboCop after every push to Gerrit
1d81df3 Localisation updates from https://translatewiki.net.
ded6be7 Localisation updates from https://translatewiki.net.
8417636 Localisation updates from https://translatewiki.net.
881d9e5 Make link inspector not close itself in IE... again
07b2eda Recalculate toolbar size on window resize

Change-Id: I5e3becac07cb20d39026786051ca28db0b3a13ca
2014-10-27 18:03:30 -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
James D. Forrester 4d12d6c443 Update VE core submodule to master (5fed7c4)
New changes:
a554ea6 Add button to debug bar to enable input debugging
8480f41 Add 'valid' event to MediaSizeWidget
a1c42b5 Update OOjs UI to v0.1.0-pre (531d497d3b)
3910521 Prevent JS error in getNativeRange()

Change-Id: I5f13b5d5d0a15579ed2027a09e3fc3933346b2f7
2014-10-21 19:19:29 -07:00
Roan Kattouw f5ccaa509e Update VE core submodule to master (1835848)
New changes:
6b5a276 ve.ui.FormatTool: Update heading size CSS for new OOUI version
2dd5e9c Fix getAnnotationsFromRange when starting with an element
d7db9af Localisation updates from https://translatewiki.net.
3aa1c88 Update OOjs UI to v0.1.0-pre (44db8292bf)

Change-Id: Id5a465af1f14f9e0371d7672d04a7430bcea98d6
2014-10-21 15:56:13 -07:00
James D. Forrester e20b47f84b Update VE core submodule to master (db78bdd)
New changes:
69ecc8e Remove MW-specific mobile hack from core
e556440 doc: Use wildcards for Desktop/Mobile …Context and …Surface for simplicity of extension

Local change:
Bring in MobileContext hack to filter out all tools except links and citations from core where
it didn't belong.

Change-Id: Ica837abd45f0ff02b49a44da617bc1fd8e9872d4
2014-10-20 12:43:39 -07:00
James D. Forrester 4fd4367d6a Update VE core submodule to master (f8a563a)
New changes:
e251898 [BREAKING CHANGE] Allow tools to specify which selection types they support

Local changes:
New requiresSelection api for tools

Change-Id: Idc3f62d60bfb5710f786734c342f71b1c73fd4c0
2014-10-20 12:15:29 -07:00
Roan Kattouw 90705118d9 Update VE core submodule to master (51a919d)
New changes:
618a773 Update OOjs UI to v0.1.0-pre (99ec31d9b9)
e651bd9 Update OOjs UI to v0.1.0-pre (0d358b167a)
0918a82 Use better unicorn image data
1eea699 Stage an empty comment node when inserting
e49a185 Fix height calculation in fragment inspector
26c8566 Stage a space when inserting a special character
480472c Localisation updates from https://translatewiki.net.
990e807 Update OOjs UI to v0.1.0-pre (db065e5a9f)
279031d Fix scroll jumping in Firefox when pasting at end of line
5519914 Handle paste events on the paste target

Change-Id: I760e0f31cbd20dc704a4131384d84d671520f339
2014-10-20 11:45:22 -07:00
Roan Kattouw d0cc8074c2 Update VE core submodule to master (0190744)
New changes:
a7e4b2f Update OOjs UI to v0.1.0-pre (98cecf304d)
fa38ad1 Update OOjs UI to v0.1.0-pre (1829141230)
0190d46 Prevent observeration during copy and paste
8e300bf Factor out selection of entire pasteTarget
0bdd637 Fix clipboardData API path on copy
0654b4c Localisation updates from https://translatewiki.net.
9a22fe6 Replace calls to ve.bind( fn, ... ) with fn.bind( ... )
447e8de Use local var instead of bind() for inline functions
13f7c0b Get rid of toHashObject from ranges/selection
74fc34a Fix contextChange events from annotations
c750849 Fix broken node change detection
fdbda64 Close inspector on model select
dd8d23f Fix shift-click select on links in Chrome

Change-Id: I163bd8f04cf945bbec41b06b0a631e0a1e1e5eeb
2014-10-17 12:42:38 -07:00
James D. Forrester e83118a90e Update VE core submodule to master (660ac11)
New changes:
af8f17d Add CollapseToFrom/To to Selection API
90d2085 Don't force focus after history action
56f2864 More flexible selection reporting in the debug bar
f01b696 Add content-heavy table to demo HTML
4b9857d Fix typo in getSelectionBoundingRect
781e24c Update OOjs UI to v0.1.0-pre (d74a46ca6a)
93b2dc5 Fix paste by never polling while pasting
b214e89 Fix theme on mobile-dist
aaccabe Replacing push.apply with newly created ve.batchPush in VE core
a00e846 Followup 2432cbf: add recursion guard to updateSlug

Change-Id: I75881c6d6de63589eba1be85e2ee0d0242cc4478
2014-10-15 15:03:28 -07:00
James D. Forrester 24e4bc5013 Update VE core submodule to master (25b398c)
New changes:
2432cbf Also make transitions when leaving slugs work again
af2072a Remove unicorn debug styling
18845bf Remove unused wrongly named class from ve.ui.Context

Change-Id: I97984a448c6ad7751a9024081e98d18685b4b930
2014-10-14 11:57:39 -07:00
James D. Forrester 33d43066f4 Update VE core submodule to master (0dd43dc)
New changes:
93e42f0 Fix documentation
b4574e4 MobileContext fixes
312cf30 Switch mobile demo from deprecated Minerva to MediaWiki
8656c51 Localisation updates from https://translatewiki.net.
3c51598 Stage slugs
ed9a456 Get rid of trigger-happy slugChange event
1074bab Replace pawns with unicorns for pre-annotations
de5cb90 Make slug animations work again
54c711d Localisation updates from https://translatewiki.net.
c05bf65 build: Update karma and switch from PhantomJS to Chrome
d172dcc Update OOjs UI to v0.1.0-pre (837b2f733e)
d8bffa0 Fix icon opacity
22a25bc Localisation updates from https://translatewiki.net.

Local changes:
* Disable most IME tests in VE-MW because they fail

Change-Id: I475a83eac76d9c20b206113bbd0e2a4c352fdb66
2014-10-14 10:57:53 -07:00
James D. Forrester eaa4a2a5f3 Update VE core submodule to master (8b78c2b)
New changes:
388a930 Followup b8d8a5b: fix getNativeRange() in null selection case
c049570 ve.ui.CommentInspector: Update size when the textarea gets resized

Change-Id: Idaf49529c65ed858a11c27b0d9ec0dd55488c9a7
2014-10-08 18:11:51 -07:00
James D. Forrester a2ad67fafe Update VE core submodule to master (07b791e)
New changes:
35e9cdd Followup b8d8a5b: pass selections, not ranges, to SurfaceFragment#clone

Change-Id: Ic6c2e7067180d43d23c1bb5e1443bbcd77f62e9a
2014-10-08 13:09:23 -07:00
James D. Forrester f944683393 Update VE core submodule to master (4b3da84)
New changes:
4b3da84 Followup b8d8a5b: fix stray check for !selection

Change-Id: I1d73d11fd47182147ae15b4c5bb14fdaf27be933
2014-10-08 12:18:59 -07:00
James D. Forrester 24bcc8f4aa Update VE core submodule to master (8280da5)
New changes:
fdbbad7 Followup 2fcc4c0: fix bugs with selection-only polling
d821f07 Getting rid of ve.splitClusters in VE core
efa6933 Add Sucheta to AUTHORS.txt
abd9023 Move Bartosz to principal authors section

Change-Id: I3ff7bd7b48f92e7b01df5589f9f92e15c0a49a08
2014-10-08 11:13:54 -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 71bb01a8de Update VE core submodule to master (cfd855e)
New changes:
21bba98 update-oojs-ui.sh: Exclude the minimised distribution files
d9114f9 Update OOjs UI to v0.1.0-pre (48980881f3)
3ebaade Localisation updates from https://translatewiki.net.
2a2e256 Update OOjs UI to v0.1.0-pre (26dadbc60f)
517ebb0 Emit change event when dimensions change in MediaSizeWidget

Change-Id: Id30517765563547df92d2f432307fc7e719d05c8
2014-10-06 15:03:32 -07:00
James D. Forrester 677878db41 Update VE core submodule to master (a1c190c)
New changes:
27ae4bd Localisation updates from https://translatewiki.net.
f41633d Revert "ve.ce.Surface: Magic workaround for broken Firefox cursoring"

Change-Id: I544f906fa8166c6abff647611e6ce91e7058008f
2014-10-03 11:49:02 -07:00
James D. Forrester 41802f5c04 Update VE core submodule to master (0d7eaf5)
New changes:
539ef0c Localisation updates from https://translatewiki.net.
0d7eaf5 ve.ce.Surface: Magic workaround for broken Firefox cursoring

Change-Id: I7e57e7d1c55cb97dd1efffb718c5e5534f60233c
2014-10-02 09:15:25 -07: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
James D. Forrester 9127e80bcf Update VE core submodule to master (0677c3b)
New changes:
28ebb29 ve.ui.CommentInspector.css: Fix documentation
b3b3b11 Followup a618491: fix JS errors when slugging near annotated inline nodes
b987d63 Record and show observation times in ve.Filibuster
60ac437 ve.ui.FragmentInspector: Remove #setDimensions
9f4a067 ve.ui.CommentInspector.js: Fix documentation
0677c3b Followup b149390: fix dm.Surface's concept of "selectedNode" to match SurfaceFragment's

Change-Id: I1f3c9d3e81eea9d380b2e2aa5deb9fdbf0ca9c93
2014-09-30 07:58:26 -07:00
James D. Forrester 55a35e9011 Update VE core submodule to master (3aafc81)
New changes:
b9bd135 Fix getUsedStoreValues and allow a range to be passed
33f4026 Update OOjs UI to v0.1.0-pre (98e770ce46)
c78efc5 DesktopContext: Ensure that inspectors/menus are fully visible when created
1dff977 ve.ui.DesktopContext: Fix comment typo
3aafc81 Localisation updates from https://translatewiki.net.

Change-Id: Icba3f7bb3916be19832387e3ef541613a78bdda8
2014-09-27 21:30:02 -04:00
James D. Forrester 9772524748 Update VE core submodule to master (6012dc5)
New changes:
4ad56e9 Be more cautious about placing the cursor
b39c9e2 Fix some getSelectionRects edge cases
cbb4197 Don't perform focus node native selection trick while dragging
817ef5f Follow-up I99acd6c6: More files' header comment fixes
d28aacb Localisation updates from https://translatewiki.net.

Change-Id: I42ba31b3428d98695c5a51d194cf972d649fef48
2014-09-25 15:48:00 -07:00
Roan Kattouw 6347274f47 Update VE core submodule to master (6e68242)
New changes:
c06fa64 Account for isValid() becoming async
12e4840 Account for WhitespacePreservingTextInputWidget#getValue being called early

Local changes:
* Make MWLinkTargetInputWidget#isValid asynchronous

Bug: 71237
Bug: 71246
Change-Id: Iab83e743f99973f01a54b23fd5ddf1081f7effd6
2014-09-24 12:18:16 -07:00
Roan Kattouw 8517777b9f Update VE core submodule to master (8d5ec7a)
New changes:
8d5ec7a [BREAKING CHANGE] Rename ve.Document.getNodeFromOffset to getBranchNodeFromOffset

Local changes:
* Update calls for rename of getNodeFromOffset to getBranchNodeFromOffset

Change-Id: Ibc69f5a5deeed5698368bb19b30f14497c579e90
2014-09-24 11:34:14 -07:00
Roan Kattouw 679b880ce7 Update VE core submodule to master (9e69dba)
New changes:
78dfa9d Move deletion part of handleDelete logic to surface fragment
2f964f9 Tweak traverseUpstream documentation and code style
54dd25d Add expand method to ranges, finish unit test coverage
a0d94c0 Make newFromTranslatedRange a method (translate)
5eafb4d Tolerate null boundingRect in all code paths in DesktopContext#updateDimensions
35b1f0d Prevent page elements from displaying on top of highlights
c864eff ve.dm.Surface: Fix documentation typo
5f869bc Don't drop 1px rects for FocusableNodes if all we have is 1px rects
65c782d Update OOjs UI to v0.1.0-pre (880100c45e)
b149390 Calculate selected node on change and emit contextChange
e032cea Fix documentation in ve.Document
eaab57b [BREAKING CHANGE] Remove ve.isArray and use Array.isArray instead

Change-Id: I1367c721b285ca093ac78aee59a9e9a188ad552f
2014-09-24 11:10:25 -07:00
James D. Forrester 52a69e24f1 Update VE core submodule to master (563666a)
New changes:
e066826 Localisation updates from https://translatewiki.net.
dabe910 Localisation updates from https://translatewiki.net.
3fc0e0a SurfaceObserver should observe the surface
d86d4df Update OOjs UI to v0.1.0-pre (bab8befc94)
563666a Converter: Allow Nodes to return empty arrays if they want not to be output

Change-Id: Iba784d8278609e3c1f95eafd595528e8097be8ff
2014-09-23 11:32:56 -07:00
James D. Forrester 889d8e6d5f Update VE core submodule to master (90bb24f)
New changes:
65d4858 README: Add devDependencies badge
4d88b3a Replace boolean checks of getSlugAtOffset with hasSlugAtOffset
b0edb58 Add getNativeRange method with optional DM range argument
f59bb20 Separate computation of highlights from rendering
4face58 Remove getSelection*Client* methods
c94234a Rename inlineRects to startAndEndRects everywhere
69c42c2 Allow specification of range when getting selection rectangles
7883250 Provide a method to get all the rectangles for a given selection
c346ebd Work around Chrome's Range.getClientRects bug

Change-Id: Idb695a64353177e5e5210bae3c4202e701f4d95e
2014-09-18 17:49:40 -07:00
Roan Kattouw 34ec304ec7 Update VE core submodule to master (d6904b5)
New changes:
925ed5c Move sluggability methods to model
a618491 Calculate slug positions in the model
b8fb05e Make the trigger demo kind of work again
e41d22e Update OOjs UI to v0.1.0-pre (ec785c2c64)
4119470 build: Make headers atop dist files suitable for distribution
fca4fec Follow-up cc657c4: Change strikethrough key command to not clash with Macs
a29a561 Add hasSlugAtOffset to DM document
9f47efb Move getRelativeOffset, getRelativeRange, getNearestFocusableNode to model
aa35e96 Remove hard coded types from canHaveSlugBefore and fix logic
49a239b Emit 'position' and 'contextChange' events correctly
3c50321 Refactor out finding of CE focusedNodes
d6904b5 Update OOjs UI to v0.1.0-pre (f2c3f12959)

Local changes:
* Move ce.Document tests to dm.Document

Change-Id: Ifa5abd0341e858b20e73e9071d597a25112cadfb
2014-09-18 17:03:46 -07:00
James D. Forrester abe059df2b Update VE core submodule to master (6f1b98e)
New changes:
247ee74 Set size to default on 0 value
dd00977 ve.ce.CommentNode: Correct comments formatting
bafad68 Update OOjs UI to v0.1.0-pre (24ac83a472)
0b24cbc Localisation updates from https://translatewiki.net.
a6ca80a Followup cc657c4: make code and strikethrough key commands actually work

Change-Id: Ic0dad055bc7e725f23de947ff56a83e463239cc6
2014-09-17 17:25:09 -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 30d50cb900 Update VE core submodule to master (3e09af1)
New changes:
b6898f6 Localisation updates from https://translatewiki.net.
a9c15e4 Followup 80dd016: avoid using XMLSerializer when not absolutely necessary

Change-Id: I362c6d6e1e55c4c4757b25bdff4e4f29310832f8
2014-09-16 16:07:31 -07:00
James D. Forrester 906cfc7a9b Update VE core submodule to master (ebc8569)
New changes:
80dd016 Work around IE's normalization of style attributes by abusing XML parsers

Change-Id: I7ff4d6c4aa2e85c87c7c1372ba94b3e18d58f1e9
2014-09-15 19:35:05 -07:00
James D. Forrester 516927e786 Update VE core submodule to master (0facbc0)
New changes:
cc657c4 Add keyboard shortcuts for strikethrough and code annotations
7d7f803 build: Bump miscellaneous devDependencies to latest
6de5bbf Update OOjs UI to v0.1.0-pre (49b64bdba7)

Change-Id: Iba45cd1382fdb2070093058252e0e2dcb7442c76
2014-09-15 18:45:33 -07:00
James D. Forrester 350a4220e2 Update VE core submodule to master (8fb94f1)
New changes:
80b26bc ve.ce.Surface: Insert new paragraphs after empty nodes rather than before
c2b06b2 ve.ui.AnnotationInspector: Apply existing annotations to inserted content
de5eef0 Strip Start/EndFragment comments from paste
79f632b Localisation updates from https://translatewiki.net.
21eab72 Update OOjs UI to v0.1.0-pre (073f37e258)

Change-Id: I78c3c29ea05ccf136b28bd2a521337d624e0702a
2014-09-15 10:34:06 -07:00
James D. Forrester e3267e13d8 Update VE core submodule to master (f646507)
New changes:
b6881c5 (Kind of) fix treatment of strange dir values
4e2ce2b Account for the case where a FocusableNode has an empty outerRects array

Change-Id: I3fbdd471a368fb4171e5213751544b4c263f0bf8
2014-09-12 15:03:01 -07:00
James D. Forrester 686e294d79 Update VE core submodule to master (badcac5)
New changes:
badcac5 ve.getStartAndEndRects returns null for empty rect lists

Change-Id: I7236cb20101eea274aa04732e7d3d7e1e216a5ff
2014-09-12 14:40:13 -07:00
James D. Forrester 702a38d700 Update VE core submodule to master (028e8cb)
New changes:
7e271a4 Add containsRange method to ve.Range
4745931 Convert all instances of assert.equal to assert.strictEqual
a8fab7a Rename frequency to pollInterval in SurfaceObserver
8e8217e Bind ve.ce.Surface#onDocumentMouseUp to the entire document on mousedown
29029c3 Localisation updates from https://translatewiki.net.
8345488 DomRange / getOffset edge cases
3c4826a Cache $documentNode in surface view
2fcc4c0 Trigger selection update on selectionchange or mousemove events
67aa7dd Fix JS error due to typo in dm.Converter

Change-Id: I846318357ba1f3a8ee59c4384b5dceef7a9e70ff
2014-09-11 19:14:55 -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 f3d60e7b1a Update VE core submodule to master (216941c)
New changes:
5b8bcb3 Update OOjs UI to v0.1.0-pre (1c5e409ab1)
7e09f7f Table demo
5f33b9c Update OOjs UI to v0.1.0-pre (f9c217dfa4)
34efe9e Localisation updates from https://translatewiki.net.
216941c Update OOjs to v1.1.1

Change-Id: I4b8cbad25385ea16caafa8884703196a428ac699
2014-09-10 19:07:45 -07:00
James D. Forrester ba2564c65d Update VE core submodule to master (85a059e)
New changes:
3f5029c Add a secondary label (Edit) to ContextItemWidget
807d377 Update OOjs UI to v0.1.0-pre (cc3c62607c)
45d82b6 Localisation updates from https://translatewiki.net.

Change-Id: Ie3104507d188ac8d3c45698bfd345c3c1146a938
2014-09-08 15:21:48 -07:00
James D. Forrester 3d4d92e33d Update VE core submodule to master (8f66045)
New changes:
4463279 Update OOjs UI to v0.1.0-pre (72f047e5d8)
8f66045 Localisation updates from https://translatewiki.net.

Change-Id: I5a3898beb386bc8242960be82d4caa8324832f65
2014-09-08 10:41:03 -07:00
James D. Forrester b0b2199730 Update VE core submodule to master (bc9ae1f)
New changes:
98fb46e Update OOjs UI to v0.1.0-pre (8ad150e4e7)
d2a6e4c ve.ui.AnnotationInspector: Explicitly permit inserting non-text data

Change-Id: I408cd23596641ba48b8f00ae8d15b482dfb62215
2014-09-05 16:48:30 -07:00
Roan Kattouw 0f63204caf Update VE core submodule to master (50be82b)
New changes:
11cc189 Localisation updates from https://translatewiki.net.
51a7ebe Followup de40432: fix JS errors in Firefox
90706af Fix conversion of non-paragraph content-containing nodes in sanitize
50be82b Localisation updates from https://translatewiki.net.

Change-Id: Id59e7b235937c2b97ecb7cb876f433f0a634045c
2014-09-05 14:21:13 -07:00
James D. Forrester 7ac7797d4a Update VE core submodule to master (65991da)
New changes:
de40432 Absolutely eradicate absolute selection coordinates

Change-Id: I1df26e32d28299792e6634f360683e589408b587
2014-09-03 18:08:02 -07:00
James D. Forrester 5dbe1d10fc Update VE core submodule to master (8eb47c7)
New changes:
7600823 Remove lies about event objects being passed through
4a3adbb Ignore focusin/focusout events on iframes
c5fe1cd Position the paste target just below the top of the screen
71dc684 Reorder CSS rules in ve.ce.Surface.css to make sense
99d3235 Update OOjs UI to v0.1.0-pre (36d0c7dc3b)

Change-Id: I3732683bcd0652b909411beec1dd7a228c2cc6fc
2014-09-03 17:55:16 -07:00
James D. Forrester f2e22babaa Update VE core submodule to master (1f82a47)
New changes:
5d063a2 Don't use three different coordinate systems in getSelectionRect()
feeb1ae Only focus the paste target if focusedNode has changed
2c1bb97 Update OOjs UI to v0.1.0-pre (4cef83f702)

Local changes:
* Update references to renamed classes
* Update calling patterns element mixins

Change-Id: I330c0e308807597dec31dad8dbf713eb29fdc290
2014-09-03 17:20:09 -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 a26aeca144 Update VE core submodule to master (dd2398c)
New changes:
d635974 Use staging instead of undo in annotation inspector
29233b8 Localisation updates from https://translatewiki.net.
efb3296 Localisation updates from https://translatewiki.net.
cfc5ad1 Localisation updates from https://translatewiki.net.
c609e02 Update OOjs to v1.1.0
dd2398c Update OOjs UI to v0.1.0-pre (adfcf92c6a)

Change-Id: Id122cd8a266554fdbe9f10dcdf53d87c7dd21b17
2014-09-01 10:36:02 -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
James D. Forrester adb0593c92 Update VE core submodule to master (be42edf)
New changes:
7a2e989 Update OOjs UI to v0.1.0-pre (43f379c884)

Local changes:
Eliminate all references to Agora, now Minerva

Change-Id: I497e122a35090a909b1fbb00d0a9487d97e09da1
2014-08-28 13:51:10 -07:00
James D. Forrester a9b01bdc8d Update VE core submodule to master (15cce1d)
New changes:
235faf9 Try a bit harder not to create empty text nodes
72f9aff Followup 355be3ed: fix getOffset() behavior inside block aliens
c81dd57 Trigger handleDelete inside onCut
edb4c60 Only block language change if dir hasn't changed
15cce1d Localisation updates from https://translatewiki.net.

Change-Id: Ic205fd2ae9ddc3f870b74a49bfc02fea9a14546a
2014-08-28 13:45:34 -07:00
James D. Forrester f99a0a4bc0 Update VE core submodule to master (c9304ac)
New changes:
8592238 Localisation updates from https://translatewiki.net.
446b53d Remove unnecessary execCommand('undo') from onCut

Change-Id: I804eb7dbb0205780bdae06db45cc9c94f09eab02
2014-08-28 08:34:26 -07:00
Roan Kattouw d8f9884b15 Update VE core submodule to master (9e92194)
New changes:
e06966f Fix the newline bunny-hop bug harder
bb7afae dm.NodeFactory: Use .lookup() instead of .create().constructor
d18a33f Localisation updates from https://translatewiki.net.
fce9ad2 Check for selection in ve.ce.Surface#onDocumentFocus

Change-Id: I3dd706d956c409418c761a95cc631575fb36b8e9
2014-08-27 10:41:43 -07:00
James D. Forrester 719acdb42f Update VE core submodule to master (a96cb00)
New changes:
c66e7a8 Update oo#compare usages
bbff57b Followup 8c71904: use getter for availableTools
f9587e8 Add myself to AUTHORS.txt
ffc9358 Localisation updates from https://translatewiki.net.
1025f3b Fix JS error in ce.LanguageAnnotation when dir is set but lang isn't
4ad483f Check IME simulations actually fail as expected
aaa991a Followup bbff57b, 8c71904: use getter for availableTools, again

Change-Id: I5bfa1201f38f2b86234535ed97a1c394d9cf8e58
2014-08-26 09:59:48 -07:00
Ed Sanders 9a1e3852fc Update VE core submodule to master (c231b71)
New changes:
c9f1027 Remove broken ve.isMsie() function
6571da1 Fix case on language annotation CSS class
c231b71 Fix case in all annotation classes

Local changes:
Fix case in all annotation classes

Change-Id: Iba2596cde52d8f8be27e0257893ef8ec77798ae8
2014-08-22 14:27:14 -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 67f304a414 Update VE core submodule to master (c4ce5ee)
New changes:
c4ce5ee Update OOjs UI to v0.1.0-pre (466a8762ac)

Update changes:
* Remove manager arugment from window constructors
* Use this.$content instead of this.frame.$content
* Use this.getDir() instead of this.frame.getDir()
* this.loading is now a promise, not a boolean

Change-Id: Ia83449a60078dd24ea4f976221c0859e5a121279
2014-08-20 18:42:52 -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 c4b7d2ca95 Update VE core submodule to master (c6085d9)
New changes:
449ecfa Fix check for left/right annotations
41d85fd Label 'insert' buttons with just "Insert" instead of varying by content

Local changes:
* Add new message to VisualEditor.php

Change-Id: I61fe1bc0fd4d7ac1736f1b182b54a631bcad10ed
2014-08-20 14:11:46 -07:00
James D. Forrester d1ef4fd01c Update VE core submodule to master (d515ce6)
New changes:
c600eb4 Ignore whitespace when generating paste context
3b1b740 Add an event to updating current values in scalable
5140616 Add description to title attribute of focusable highlight
6df8830 Default dimensions to null, not empty objects
d515ce6 Update OOjs UI to v0.1.0-pre (51f513f9d3)

Change-Id: Ie2446b4a767cb56de392f8f0315d0289fe6da570
2014-08-20 13:55:39 -07:00
James D. Forrester 54be1ee6e5 Update VE core submodule to master (f7fa420)
New changes:
9371f89 Add local image to demo
be862da Add VE logo to repo and use in image demo and for branding demo page
a2c53ab Factor out wordbreak detection code and run it for simple insertions too

Change-Id: I1be861a69a1cd6eb1e163ac15b18b6d92973ed60
2014-08-16 17:03:49 +01: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
James D. Forrester 9b27df0de9 Update VE core submodule to master (ce51e22)
New changes:
2075a46 Embed CSS images in dist
9e15b04 Localisation updates from https://translatewiki.net.
ce51e22 Make sure image attribute is cleared if set to null

Change-Id: I8edefe662d5d3c88abef242fdaf4d45644a130b1
2014-08-14 12:48:10 +01: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
Roan Kattouw c66c9edeec Update VE core submodule to master (8a5945c)
New changes:
96331bf Localisation updates from https://translatewiki.net.
ba0ba78 Followup 23a949844: fix typo in class name for WhitespacePreservingInputWidget
8a5945c Have LanguageInputWidget return lang+dir, not an annotation

Change-Id: If05f29a8680e9475e6b749d82db30a20859f1c41
2014-08-01 12:25:01 -07:00
James D. Forrester 678cad00bd Update VE core submodule to master (6c2c474)
New changes:
8cab432 ve.ui.AnnotationInspector: Allow content insertion without annotating
f5cbd05 ve.ui.AnnotationInspector: Stop truncating fragments to 255 elements
13d9f5e Update OOjs UI to v0.1.0-pre (dd294dc785)
50c4efd Set a default language for ve.dm.Document if we can't guess it otherwise
b28f2f1 Disable tools other than links and references on mobile

Change-Id: Ib4178c3c7e67135806046decff0bde05a2702f7d
2014-07-30 18:06:52 -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
James D. Forrester 1fcc9fa035 Update VE core submodule to master (61dea59)
New changes:
76bbf3b [BREAKING CHANGE] Fix camel-casing of countNonInternalElements

Local changes:
Use renamed countNonInternalElements function

Change-Id: Ib5f86ea5cfeb5e577f61349ed4bbb231ea155638
2014-07-29 17:15:35 -07:00
Ed Sanders c9c10cf5b8 Update VE core submodule to master (0709218)
New changes:
20c220a Remove unused CSS classes
9bdcc65 Comment icon positioning
e50e790 [BREAKING CHANGE] Fix ve.ui.Overlay classes
1ac4927 ve.ce.TextNode: Use getChar() helper
29fd0f8 ve.ce.TextNode: Simplify #getAnnotatedHtml logic
18336eb ve.ce.ResizableNode: Run find() once instead of 4x in showHandles()
febf125 Use getDescription for title attribute
ab3cb6c Localisation updates from https://translatewiki.net.

Local changes:
* Rename overlay class rules

Change-Id: Ia90b6afbd4abdf3267f4ccaac0b2a7d4101ccc7b
2014-07-29 16:31:42 -07:00
James D. Forrester cc886681da Update VE core submodule to master (2fc7855)
New changes:
95ee357 Copy annotation indexes before returning
91a5630 Localisation updates from https://translatewiki.net.
978e223 Function name fix
7558ed0 Add 'snowman' and '☃' in comment for greppability
af0e8b1 Localisation updates from https://translatewiki.net.
43e6144 CommentNode: Change icon from orange to grey
349cbec Update OOjs UI to v0.1.0-pre (e9cf571db2)
921103b Generate only one pair of snowmen for multi-sibling nodes

Change-Id: Ifa0009e9363fa39a2c5ef41a42410391ea4f4711
2014-07-29 08:03:14 -07:00
James D. Forrester 08af374928 Update VE core submodule to master (8686f85)
New changes:
84ac603 Use shorthand for collapsed ranges
542dc47 SVG fixes
8686f85 Move non-icon/indicator styles out of ve.ui.Icons.css

Change-Id: I4d524da912dec338b2fdaf3b58060e3d47292d9c
2014-07-26 18:42:01 -07:00
Roan Kattouw 959fe94d51 Update VE core submodule to master (433007d)
New changes:
102e351 Remove transparent selection from focusable nodes in FF
7be8cd9 Add a space to the comment node for selection highlighting
40c7dd2 Highlight and bind events to $focusable, not $element
6d52af0 Add @embed directive for resize-nw-se and resize-nw-sw icons
004201c Initialize defaultSize as boolean in ve.dm.Scalable
a3eb9c0 Localisation updates from https://translatewiki.net.
bf5ccc6 Followup ab2d4cbe: Correct comment indicator's size
565e484 Fix copy paste of comments in Firefox
3698286 Generate fake comment nodes (spans) when copying
febb100 Meta-fy empty comments as they aren't editable/useful
fc553e2 Localisation updates from https://translatewiki.net.
433007d Style MobileContext properly

Change-Id: I55b79c398dd43bd5854ff53dc89f25cbca31670e
2014-07-25 16:48:47 -07:00
James D. Forrester b4f2b24ad7 Update VE core submodule to master (98b5c53)
New changes:
d79270a Update context menu according to stricter rules
af6ec80 Ignore staging events in CE surface
43f7385 SpecialCharacterInspector: Don't have a hard-coded default message for the JSON blob
0081b13 Update OOjs UI to v0.1.0-pre (a7ce4d48d9)
8e08e9f build: Remove over-ride on jscs's disallowQuotedKeysInObjects and make pass
a1fb10c Followup ab2d4cbebf40: fix whitespace preservation in CommentInspector

Change-Id: I1615665437a4c481371cee7e643cddf281c6434a
2014-07-23 19:02:06 -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 ed7f08ecd8 Update VE core submodule to master (1bfcb16)
New changes:
585401c Followup b141a7d23: don't display:none; the popup in the DesktopContext
1bfcb16 Localisation updates from https://translatewiki.net.

Change-Id: Ic687835458dd833ae0200a3cb5c51af49f4b5672
2014-07-23 15:36:54 -07:00
James D. Forrester d41a1d5cc5 Update VE core submodule to master (97a5007)
New changes:
9e2238b Add special case for up/down arrow key on focusable node
30f0329 Fix for cursoring into focusable nodes with up/down
6c8da6a Fix spacing inside fragment inspector
3114f74 Remove Firefox listnode hack
e7d98b7 Fix calculation of affectedRange in transaction processor
c6d7589 Use native focus
d71e3a2 Use proper methods for detecting data type in getAnnotationIndexesFromOffset
a930e57 Add optimised method hasAnnotationsInRange
74c729f Use the current document when evaluating activeElement
10aefba Remove is*ArrowKey functions
10465c1 Remove onFocusableHistory listeners
22eb203 Bind/unbind setResizableHandlesSizeAndPosition on focus/blur

Change-Id: I1843ae58fd692c940e4e3d285bfadd3febedca07
2014-07-22 19:30:05 -07:00
Roan Kattouw 4d9cf59db0 Update VE core submodule to master (426f9e4)
New changes:
1b7b23b Tests: Move …/test/… to …/tests/… to be the same as other repos
cd3fc66 Update OOjs UI to v0.1.0-pre (9cd400e3d5)
81be252 Deprecate 'live' event in favor of 'setup' and 'teardown'

Change-Id: I71277d0a3fc85541cf3a0859f58d6d522ad1db6d
2014-07-23 01:23:02 +00:00
James D. Forrester 7007f61291 Update VE core submodule to master (244bf0e)
New changes:
32c7edd Localisation updates from https://translatewiki.net.
c7d61bc Round up height of language inspector widget
9473d2f Localisation updates from https://translatewiki.net.
2cffb4d build: Update grunt-jscs (formerly grunt-jscs-checker) from 0.6.0 to 0.6.1
b3f861e Localisation updates from https://translatewiki.net.
76b7992 Localisation updates from https://translatewiki.net.
76f8e90 Make the re-render flash more prominent
d2506a3 Localisation updates from https://translatewiki.net.
244bf0e CommandHelpDialog: Make closing action 'safe' not 'primary' for consistency

Change-Id: I68db9bdfa6078d4ab3b110e140c413fc6b865c1b
2014-07-22 13:05:31 -07:00
James D. Forrester 72fa906d9f Update VE core submodule to master (63b10db)
New changes:
63b10db Fix-up mobile context and surface

Change-Id: I4b917615a814cbc609a1cf236bd18ce15ef52fbf
2014-07-16 17:17:14 -07:00
James D. Forrester 040ef014bd Update VE core submodule to master (8bb3848)
New changes:
8bb3848 Bring back global/local specific CSS classes

Local changes:
Use global overlay class to target the z-index hack for the Vector skin.

Bug: 68066
Change-Id: If1b6ba0c9035ff32b61d34ee779a95554883a2ec
2014-07-16 23:48:07 +00:00
James D. Forrester eec5946d17 Update VE core submodule to master (48772a2)
New changes:
77dd12e Prevent deletion of focusable nodes by typing
da66427 Update OOjs UI to v0.1.0-pre (97dbb50137)

Change-Id: Ia6d83495a523106e92b184c8b60f815d3739d1fa
2014-07-16 16:00:14 -07:00
Moriel Schottlender e94a185fda Update VE core submodule to master (ad18102)
New changes:
65042de Fix alien test data
83dccbe Add toolbar menu labels to each group for consistency
2e40ef9 Move 'language' tool from the insert to the styling menu, like in VE-MW
6fb21b2 Add toolbar action section to SA demo with keyboard shortcuts tool
f3eb000 ve.ui.Toolbar: Optimise onSurfaceViewKeyUp performance
eb4e9eb Make sure the document is focused when setting a selection
48584d3 Fixes to getRelativeOffset and getRelativeRange		
fcc427f [BREAKING CHANGE] Remove generatedContents argument from afterRender
825e4be Documentation fixes in test utils		
dbbbe0b Unit tests for showSelection		
1ba9234 Don't handle up/down on focusableNodes even if backwards
a667b87 Remove label from 'insert' menu, and instead use a large plus icon
88885b1 Localisation updates from https://translatewiki.net.		
1f3b79f Initialize data first		
18369b1 Add 'clone' and make 'getDimensionsFromValue' static in ve.dm.Scalable		
92e6b7b Switch to 'custom' when MediaSizeWidget updates		
d0cd87e Localisation updates from https://translatewiki.net.		
1ee21ff Remove lies from documentation		
164f07f Safely ignore requests to open unrecognized windows

Local changes:
Work on a cloned scalable when editing images

Make sure the image model handles a cloned copy of the node's
scalable object, which is then shared with the media size widget.

Bug: 67687
Change-Id: Ie3676b715f5bae3d83da03d667cef3a6a847e212
2014-07-16 22:38:09 +00: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 9b275ae066 Update VE core submodule to master (7af9774)
New changes:
b3e4c35 Localisation updates from https://translatewiki.net.
e0708f2 Show from/to of range in debug bar
a132724 Localisation updates from https://translatewiki.net.
d80b127 Localisation updates from https://translatewiki.net.
c81a3f3 Localisation updates from https://translatewiki.net.
7f90e0b Apply 'original size' to images

Change-Id: I14b7fc9c1b61b8a30e57eb366b06d1032b12d00a
2014-07-08 10:59:08 -07:00