Commit Graph

57 Commits

Author SHA1 Message Date
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
Mihai Sucan
6415e8f1ec Bug 714942 - Implement minimal UI for Jump to line in the Source Editor. r=rcampbell 2012-01-16 13:59:39 +02:00
Mihai Sucan
32d121899a Bug 650345 - Implement minimal UI for Find in the Source Editor. r=rcampbell 2012-01-16 18:51:44 +02:00
Paul Rouget
bcfd55212b Bug 712867 - Orion is white-on-white when using High Contrast Black color scheme; r=msucan 2012-01-03 17:52:57 +01:00
Kenny Heaton
cef977575f Bug 684546 - The Scratchpad editor's undo/redo state is preserved across file loads. r=msucan 2011-12-20 20:03:16 +02:00
Paul Rouget
bbf6b68f20 Bug 711737 - Orion should support all the CSS properties from CSS1, CSS2, CSS2.1 and CSS3. r=msucan 2011-12-18 17:36:17 +01:00
Paul Rouget
da50e78b2b Bug 709006 - Implement a Orion theme that matches the DevTools theme. r=msucan 2011-12-18 17:02:54 +01:00
Mihai Sucan
8cdd13d325 Bug 683172 - Source Editor should automatically set up Undo/Redo key bindings; r=rcampbell 2011-12-12 23:17:11 +02:00
Mihai Sucan
4cde068276 Bug 695032 - [GTK/X11] selecting text in scratchpad doesn't place it on the X primary selection; r=rcampbell 2011-12-12 20:32:35 +02:00
Mihai Sucan
b5d4646edd Bug 687160 - Source Editor should provide a line-based API; r=rcampbell 2011-12-09 19:10:15 +02:00
Mihai Sucan
9d9bdec4f2 Bug 702331 - Update Orion from upstream; r=rcampbell 2011-12-10 19:03:57 +02:00
Mihai Sucan
35051c301e Bug 583041 - Style Editor integration; part 4 - orion fixes; r=rcampbell 2011-11-11 19:36:26 +02:00
Cedric Vivier
b5943d0f11 Bug 583041 - Style Editor integration; part 2; r=rcampbell 2011-10-03 19:08:15 +08:00
Rob Campbell
0c2ff8a995 Bug 583041 - Style Editor integration; backout; a=orange 2011-11-07 15:02:55 -04:00
Cedric Vivier
b7fdd4afd2 Bug 583041 - Style Editor integration; sourceeditor fix; r=rcampbell,msucan 2011-10-03 19:08:15 +08:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rob Campbell
1fb65676a4 merge m-c to fx-team 2011-11-05 10:11:34 -03:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Cedric Vivier
8bb0cae945 Bug 698703 - Source Editor should display text with the user's preferred monospace font size; r=msucan 2011-11-01 18:30:19 +08:00
Mihai Sucan
7267c27022 Bug 697407 - Another Orion upstream update; r=rcampbell 2011-10-31 13:07:51 +02:00
Mihai Sucan
020a909e6c Bug 692807 - Update the code from Orion upstream; r=rcampbell 2011-10-12 15:52:45 +03:00