Commit Graph

177 Commits

Author SHA1 Message Date
Anton Kovalyov
e37bd6d5eb Bug 960704 - Upgrade CodeMirror to 3.21. r=msucan 2014-01-17 13:04:00 -08:00
Anton Kovalyov
c66cff2b44 Bug 960270 - Streamline Editor API. r=msucan 2014-01-17 12:58:45 -08:00
Anton Kovalyov
d9b64b76ed Bug 734439 - Add code folding support to the source editor. r=msucan r=benvie 2014-01-15 16:23:32 -08:00
Anton Kovalyov
57570f0640 Bug 941725 - Add emacs and vim key bindings to source editor. r=harth r=benvie r=msucan 2014-01-15 12:04:19 -08:00
Ben DeCoste
2dae43534f Bug 910183 - Highlight trailing space in the editor. r=msucan 2014-01-14 14:12:39 -08:00
Anton Kovalyov
c7671bbf53 Bug 920876 - Longer timeout for the CodeMirror suite since we added VIM/Emacs tests. r=me 2014-01-08 11:34:57 -08:00
Victor Porof
6ccce03e88 Bug 957187 - The variable inspection popup never appears in the right place on Linux and Windows, r=past 2014-01-08 16:59:00 +02:00
Phil Ringnalda
d451b46f71 Back out f122349d9fbd (bug 941725) for debug and ASan bc timeouts in browser_codemirror.js
CLOSED TREE
2014-01-07 20:48:34 -08:00
Anton Kovalyov
5f800bb280 Bug 941725 - Add emacs and vim key bindings to source editor. r=harth r=benvie r=msucan 2014-01-07 15:02:01 -08:00
Minarto Margoliono
6cf24fa223 Bug 865448 - Fix alignment issue of debug icon; r=anton 2014-01-07 13:08:32 -08:00
Anton Kovalyov
a503368800 Bug 956943 - Replace Editor.extendSelection with CM version. r=vporof 2014-01-07 13:01:38 -08:00
Anton Kovalyov
07634c1c44 Bug 951975 - Expose Editor.setOption and Editor.getOption. r=msucan 2014-01-07 11:24:57 -08:00
Chris Peterson
c5937fbed4 Bug 955890 - Part 1: Fix DevTools JS warnings about some code paths not returning a value. r=rcampbell 2013-12-31 19:28:42 -08:00
Girish Sharma
ff60b8a74e Bug 935176 - saving a style sheet doesn't remove the star, r=harth 2013-12-06 23:51:16 +05:30
Brandon Benvie
0f5930d447 Bug 943673 - Convert to Promise.jsm in the source editor. r=anton 2013-12-02 14:10:57 -08:00
Victor Porof
d6057ceb5c Bug 725235 - In the debugger, show a details bubble while hovering over a variable or property in the source editor, r=past,rcampbell 2013-11-29 16:47:52 +02:00
Anton Kovalyov
6dcf4dd097 Bug 919707 - Make shift-click on a gutter select whole lines in the editor. r=robcee 2013-11-26 14:32:28 -08:00
Gabriel Luong
59942dfdb6 Bug 924996 - Implement keyboard shortcut to move selected lines in source editor. r=anton 2013-11-25 19:06:42 -08:00
Anton Kovalyov
0617575b55 Bug 736879 - Set cursor:text on the SourceEditor's text area. r=jryans 2013-11-25 18:57:27 -08:00
Gabriel Luong
a32bb60a38 Bug 940713 - Enable autoclose brackets for source editor. r=anton 2013-11-25 15:57:51 -08:00
Anton Kovalyov
934952b38e Bug 941781 - Upgrade CodeMirror to 3.20. r=robcee 2013-11-22 11:56:43 -08:00
Paul Rouget
96f992e70b Bug 941643 - Use menlo and consolas. r=bgrins 2013-11-21 11:48:59 -05:00
Victor Porof
3ea5a49a5e Bug 937539 - Cmd+Alt+F opens find/replace in the Debugger's editor. r=anton 2013-11-20 21:51:33 +02:00
Anton Kovalyov
2fc429b259 Bug 919703 - Make search/replace and goto UX more Firefox-ey. r=harth 2013-11-20 16:04:26 -08:00
Anton Kovalyov
4aad69a6ee Bug 938111 - Don't use innerHTML in the Editor. r=harth 2013-11-20 14:39:10 -08:00
Anton Kovalyov
e26d1575d0 Bug 929766 - Remove Orion from the SourceEditor component. r=msucan 2013-11-19 15:53:13 -08:00
Nick Fitzgerald
715002d816 Bug 922812 - Add an 'eval current top level function' command to scratchpad; r=past 2013-11-19 15:17:40 -08:00
Anton Kovalyov
7e6b594102 Bug 920570 - requestLongerTimeout for browser_codemirror and re-enable it on Linux. r=me 2013-11-19 10:54:19 -08:00
Wes Kocher
28b297c750 Backed out changeset 71dc115fe230 (bug 929766) for other m-bc bustage on what I'm guessing is a CLOSED TREE 2013-11-18 16:03:13 -08:00
Anton Kovalyov
5e677c0be4 Bug 929766 - Remove Orion from the SourceEditor component. r=msucan 2013-11-18 14:05:07 -08:00
Girish Sharma
253adf45f4 Bug 931041 - Bring back floating scrollbars in the editor. r=anton, r=paul 2013-11-12 15:51:37 +05:30
Anton Kovalyov
5cf0d1402d Bug 929234 - Make CodeMirror extraKeys localizable. r=vporof 2013-11-07 14:39:31 -08:00
Victor Porof
a90dea7e23 Bug 933649 - Group methods in editor.js for better self-documentation, r=anton 2013-11-06 11:59:20 +02:00
Victor Porof
f38a02524f Bug 934225 - GLSL code should be syntax highlighted, r=anton 2013-11-06 11:59:20 +02:00
Anton Kovalyov
67bbcc406b Bug 933015 - Attach Editor controller to the hidden textarea instead of a CM window. r=benvie 2013-11-05 10:30:19 -08:00
Victor Porof
a27ebe4b32 Bug 930928 - Shader compilation errors should be displayed in the editor, r=rcampbell,anton 2013-11-05 14:07:37 +02:00
Victor Porof
39ed225e41 Bug 910955 - Implement a live WebGL shader editor, r=dcamp 2013-10-25 10:18:41 +03:00
Brian Grinstead
fd589740da Bug 895561 - 'Edit As HTML' option in the markup view - browser changes, r=jwalker 2013-10-24 08:41:03 -05:00
Victor Porof
974e75c85a Bug 929888 - Remove the editor context menu listeners from the debugger, r=anton 2013-10-24 11:48:42 +03:00
Girish Sharma
de1cb3378c Bug 919978 - Make StyleEditor use CodeMirror, r=anton, msucan 2013-10-24 10:31:02 +05:30
Anton Kovalyov
31daa479fa Bug 919706 - Localize search UI. r=robcee 2013-10-23 14:57:13 -07:00
Anton Kovalyov
8bd5814074 Bug 919709 - Make Debugger use CodeMirror. r=vporof 2013-10-22 13:53:53 -07:00
Ed Morley
58c734c755 Bug 920570 & bug 920876 - Skip-if browser_codemirror.js on linux for too many intermittent failures 2013-10-14 22:56:25 +01:00
Ms2ger
105ce73cfa Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Gregory Szorc
b03f79a7e6 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Ed Morley
eccf636a23 Backed out changeset 8b02873ee07e (bug 920223) 2013-09-30 12:50:05 +01:00
Gregory Szorc
e4af98efbf Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Anton Kovalyov
e1e454ec8e Bug 912260 - Make Scratchpad use CodeMirror. r=robcee r=msucan 2013-09-20 11:34:10 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Gregory Szorc
5c25cc9036 No Bug - Removing empty Makefile.in files; r=me 2013-07-18 09:09:28 -07:00
Mike Shal
8bc3bf52b7 Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #3); r=joey 2013-06-28 15:17:07 -04:00
Girish Sharma
5d5c8e458d Bug 886474 - Stop using Ctrl + ] [ to match brackets in source editor, r=msucan 2013-07-02 16:07:31 +05:30
Girish Sharma
43eb2fc44a Backout 4cdab5388392 (Bug 886474) because of wrong shortcut modifier 2013-07-02 16:05:09 +05:30
Girish Sharma
293da90098 Bug 886474 - Stop using Ctrl + ] [ to match brackets in source editor. r=msucan 2013-06-27 00:51:33 +05:30
Brandon Benvie
9261fc9f4c bug 679364 - Use content/browser/devtools/* for aliases; r=rcampbell 2013-04-30 11:56:00 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc
758d7a8978 Bug 784841 - Part 18d: Convert /browser; r=gavin f=Ms2ger 2013-02-25 12:47:18 -08:00
Mihai Sucan
9db627542c Bug 826388 - Allow single click on line numbers to add/remove breakpoints; r=rcampbell 2013-01-03 21:29:53 +02:00
Mihai Sucan
e7a0a5f4b7 Bug 725392 - Source Editor: add a method to convert mouse coordinates to character offsets, r=msucan 2012-08-02 22:30:46 +03:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Girish Sharma
1dc4ee209f Bug 744021 - Source Editor jump to prev/next block should move to prev/next sibling block when caret has no parent block; r=msucan 2012-10-12 22:27:18 +05:30
Abhishek Potnis
c186bfb37f Bug 691925 - Replaced content.focus() with gBrowser.selectedBrowser.focus() and/or window.focus(). r=dao 2012-09-19 12:59:26 +02:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ehsan Akhgari
b6f4ebefe4 Bug 769881 - copyStringToClipboard Optional parameters should go at the end, also this will make it backward compatible for version bumped extensions; r=roc 2012-07-01 14:18:23 -04:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Thaddee Tyl
7da53ac80f Bug 714832 - [Linux] the redo command should also have the ctrl-y shortcut; r=msucan 2012-06-16 12:02:32 +03:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Robert Longson
38cb4c47d9 Bug 528332 - Implement non-scaling-stroke vector-effect. Part 2 - SVG changes r=dholbert 2012-05-18 09:34:25 +01:00
Girish Sharma
6c9880e498 Bug 729960 - Source Editor: add shortcuts to quickly jump to the code block start and end; r=msucan 2012-04-09 13:31:45 +03:00
Girish Sharma
8f24955bbb Bug 739192 - Source Editor should toggle comment on line or selection with one key binding; r=msucan 2012-04-09 13:31:45 +03:00
Mihai Sucan
e4736b88f6 Bug 731721 - Source Editor stepping support; r=rcampbell,past 2012-03-14 18:23:39 +02:00
Pranav Ravichandran
8cecf18c67 Bug 725430 - Add feature to sourceeditor/scratchpad: comment/uncomment line/block of code; r=msucan 2012-03-16 15:17:11 +02:00
Mihai Sucan
baffe26611 Bug 734432 - Add Orion ProjectionTextModel to our package; r=rcampbell 2012-03-11 13:25:19 +02:00
Girish Sharma
c26714844a Bug 729480 - Link to rule in Style Editor should show the relevant line at the top of the editor's viewport; r=msucan f=msucan 2012-03-11 11:50:01 +02:00
Mihai Sucan
f66d17c0c9 Bug 731394 - Source Editor in read only mode is not entirely read only; r=rcampbell f=rcampbell 2012-03-08 19:37:35 +02:00
Mark Capella
c4ced37152 Bug 730898 - Reuse editMenuKeys in scratchpad.xul, r=msucan 2012-03-11 11:47:01 +02:00
Allen Eubank
78abd7a1d7 Bug 725618 - Source Editor: keyboard shortcut for moving lines up/down; r=msucan 2012-03-06 17:53:59 +02:00
L. David Baron
0094d67d7a Fix uses of removed CSS2Properties.MozOutline DOM property (replaced by outline). (Bug 730532, patch 3) r=mihai.sucan
Note that since these are all property sets and since the unprefixed set
is already present in all cases, they don't block actually removing the
property.
2012-02-29 20:47:52 -08:00
Mihai Sucan
4432547c07 Bug 684445 - Orion source editor should have built-in context menu; r=rcampbell f=rcampbell 2012-02-27 20:08:45 +02:00
Mihai Sucan
45e2eca463 Bug 700893 - API for tracking unsaved/saved state in source editor; r=rcampbell f=fayearthur 2012-02-17 19:11:17 +02:00
Mihai Sucan
b1d7a9bf3c Bug 717613 - Make sure the primary selection is not updated too often in the Source Editor; r=rcampbell 2012-02-08 22:59:33 +02:00
Mihai Sucan
9fb01298e1 Bug 712982 - can't select line by clicking the line number in scratchpad; r=rcampbell 2012-02-20 19:13:19 +02:00
Mihai Sucan
0f406b941d Bug 717219 - Source Editor should highlight the current line in HTML documents; r=rcampbell 2012-02-08 22:49:10 +02:00
Mihai Sucan
4de5d7da6c Bug 707987 - Ability to set breakpoints in the Source Editor (orion); r=rcampbell f=past 2012-02-18 12:58:54 +02:00
Mihai Sucan
f5411f80b0 Bug 718816 - Orion upstream update (with debugger ruler support code); r=rcampbell 2012-02-21 20:05:46 +02:00
Spyros Livathinos
49d16c9f98 Bug 725388 - Expose the Orion mouse events in the Source Editor; r=msucan f=msucan 2012-02-17 18:40:03 +02:00
Spyros Livathinos
bf552b9084 Bug 703692 - Source Editor: add support for the focus/blur events; r=msucan f=msucan 2012-02-09 14:40:41 +02:00
Rob Campbell
cb4b96de38 Bug 717373 - Remove the textarea fallback from the Source Editor; r=msucan 2012-02-08 10:48:07 -04:00
Cedric Vivier
4dbf499a75 Bug 723459 - Add an API to SourceEditor to retrieve the character(s) used for indentation. r=msucan 2012-02-02 04:18:00 +01:00
VD
b540fba3c0 Bug 721324 - Allow the source code editor of Scratchpad & StyleEditor to be themed; r=dao,msucan 2012-02-06 21:35:19 +02:00
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Alex Lakatos
2be3bd2261 Bug 719028 - Style Editor does not highlight a few CSS2.0 and CSS3 properties. r=msucan 2012-01-22 01:11:28 +02:00
Dao Gottwald
5b8afd1702 Bug 719849 - global variables pollute the browser window during devtools tests; r=rcampbell 2012-01-23 11:50:11 -04:00