Commits on Aug 23, 2012

  1. Configuration menu
    Copy the full SHA
    24eb80b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bf62ac View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2012

  1. Fix typo in setting drag image

    Though it doesn't seem to have any observable effect on Chrome.
    
    @peterkroon Where does the image actually show up?
    marijnh committed Aug 24, 2012
    4 Configuration menu
    Copy the full SHA
    3c28110 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2012

  1. Remove src attribute from dummy image

    When dragging there is no src attribute needed on the dummy image.
    peterkroon authored and marijnh committed Aug 27, 2012
    Configuration menu
    Copy the full SHA
    f667421 View commit details
    Browse the repository at this point in the history
  2. 1 Configuration menu
    Copy the full SHA
    14bf21c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aae8b37 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2012

  1. 1 Configuration menu
    Copy the full SHA
    8f2dd94 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2012

  1. Configuration menu
    Copy the full SHA
    f175e8d View commit details
    Browse the repository at this point in the history
  2. Make right-click select-all work on some browsers

    The hack is horrible, but it seems to do the trick.
    
    Also simplifies context-menu handling somewhat.
    
    Issue #755
    marijnh committed Aug 29, 2012
    Configuration menu
    Copy the full SHA
    a4effe3 View commit details
    Browse the repository at this point in the history
  3. Add a .INI mode

    marijnh committed Aug 29, 2012
    2 Configuration menu
    Copy the full SHA
    c565edc View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2012

  1. Revert "Add a .INI mode"

    It turns out the properties mode already handles .ini files just fine.
    
    This reverts commit 9afd96d94d65e27329887d16e8e2cd7f6ffed1d6.
    marijnh committed Aug 30, 2012
    Configuration menu
    Copy the full SHA
    bf3a6f4 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2012

  1. Configuration menu
    Copy the full SHA
    1b07cc3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ba2481 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2257ba View commit details
    Browse the repository at this point in the history
  4. Change the way highlighting information is updated

     - Background parsing now never goes past the visible part of the
       document.
    
     - We only store style information for lines that are actually visible
       (and then keep it cached).
    
     - When the document changes, background highlighting always
       re-highlights from the change to the end of the visible part.
    
     - Gets rid of compareState mode methods and the hairy heuristic that
       tried to simulate it when absent.
    
     - The onHighlightComplete callback was removed, since it no longer
       really applies -- the document is only fully parsed when scrolled
       to its end.
    
    This should help preserve memory (a huge document will no longer
    immediately have parser state and highlighting information built up
    for all lines, but only for the parts that you look at), and removes
    the pathological case when you, for example, are typing at the top of
    a huge XML document, and opening or closing a tag causes a whole
    re-highlight to cascade all the way to the bottom because the
    compareState will detect a change.
    
    Issue #688
    marijnh committed Aug 31, 2012
    Configuration menu
    Copy the full SHA
    ff6bc0c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ee16009 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2012

  1. Configuration menu
    Copy the full SHA
    0cae19e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59d6bbe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5bc1e89 View commit details
    Browse the repository at this point in the history
  4. [clojure mode] Check if +/- is immediately followed by digit before m…

    …arking as leading sign
    
    Closes #782
    
    Correct highlighting for the following code snippet should highlight the + as an operator, and each 2 as a number (taken from http://clojuredocs.org/clojure_core/1.2.0/clojure.test/deftest)
    
        (is (= 4 (+ 2 2)))
    0b10011 authored and marijnh committed Sep 3, 2012
    Configuration menu
    Copy the full SHA
    a562bed View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3e4a4a4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4ac5b7a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aeccaf5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    79fa0bd View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2012

  1. [shell mode] Fix unsafe use of object

    Parsing the word constructor would look up words["constructor"], and
    return Object.prototype.constructor instead of a style string.
    
    Closes #793
    marijnh committed Sep 4, 2012
    Configuration menu
    Copy the full SHA
    9adaafa View commit details
    Browse the repository at this point in the history
  2. [markdown mode] Improvements to parsing and tester

    (Squashed commit. Below are the original commit messages:)
    
    - Add highlighting test for Markdown for consecutive backticks.
    
    - Make it possible to wrap inline code in multiple backticks.
    
    - Add highlighting test for Markdown mode to only allow a single space
      to separate brackets.
    
    - Make it possible to separate bracket groups with a space.
    
    - Allow for horizontal rules to use dashes.
    
    - Allow for *any* number of -'s or ='s for setex headers.
    
    - Remove requirement that the text for setext headers have to be
      highlighted.
    
    - Might revisit someday to work on this, but in the meantime, it's
      better to prevent regressions than to be picky about what would be
      highlighted in an ideal world.
    
    - Correctly match single line footnotes with title.
    
    - Match inline links in Markdown mode.
    
    - Don't match unclosed code blocks.
    
    - Get mode test highlighter in line with CodeMirror.highlight().
    
    - It would be nice to use all native functions, to avoid having to update this manually each time.
    
    - Fix tests per fixes made to mode test highlighter.
    
    - Properly handle multiple classes for mode tests.
    
    - More correct handling of EM and STRONG in Markdown mode.
    
      Per Markdown documentation: "You can use whichever style you prefer;
      the lone restriction is that the same character must be used to open
      and close an emphasis span." # This is the 15th commit message:
    
    - Allow escaping of * and _ by surrounding with spaces.
    
      Per Markdown documentation:
    
      "But if you surround an * or _ with spaces, it’ll be treated as a
      literal asterisk or underscore."
    
    - More correct support for inline code blocks.
    
    - Adjust Markdown highlighting tests to fit readability, rather than
      100% conformance with Markdown documentation.
    
      Although unclosed italics, bold, and inline code would not be
      formatted by a Markdown parser, it is extremely helpful to have the
      styles added even when it is not yet closed. It may be a good idea
      to add an 'incomplete' flag for each at some point, in order to
      style it (and mark it) as different. Perhaps piggyback off of
      "error".
    0b10011 authored and marijnh committed Sep 4, 2012
    Configuration menu
    Copy the full SHA
    2189810 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2012

  1. [markdown mode] More improvements to parsing and tester.

    Markdown mode
    
    - Add additional link tests and correctly match link titles on next
      line.
    
    - Adjust tests code so sections (including "Basics") can be rearranged
      and removed easily without breaking the script.
    
    - Add tests and fix highlighting for lists.
    
    Test harness
    
    - Sort styles in mode test script so "quote string" = "string quote".
    Brandon Frohs authored and marijnh committed Sep 5, 2012
    Configuration menu
    Copy the full SHA
    367cfc6 View commit details
    Browse the repository at this point in the history
  2. Prevent logo from causing a horizontal scrollbar at smaller viewport …

    …widths.
    
    This was especially noticeable with non-default font-sizes. The wrapper div and additional pre are required due to using the font-size provided by the browser (using em throughout).
    0b10011 authored and marijnh committed Sep 5, 2012
    Configuration menu
    Copy the full SHA
    82920f7 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2012

  1. Fully integrate mode tests into main test harness, with extra features.

    - Integrated stex and Markdown mode tests into main test harness
    
    - Added ability to restart tests partway through
    
    - Added verbose option, to add message to output for *every* test
    
    - Added ability to show verbose messages and run specific tests or all tests for 1+ mode(s) via location.hash
    
    - Added support for custom messages (either return value [pass] or throw value [fail])
    
    - Switched away from .innerHTML, .write(), etc in most places
    
    - Make the progress bar actually 0px wide when 0% complete (and still keep padding)
    
    - Added link to tests from each mode's demo page
    Brandon Frohs authored and marijnh committed Sep 7, 2012
    Configuration menu
    Copy the full SHA
    38d0cb8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b306f7c View commit details
    Browse the repository at this point in the history
  3. Don't wait 50 ms between tests

    There are now enough tests to make this take a serious amount of time.
    
    A 0 timeout seems to work just as well.
    marijnh committed Sep 7, 2012
    Configuration menu
    Copy the full SHA
    dcc976c View commit details
    Browse the repository at this point in the history
  4. Prevent tests from locking up browser on slower machines (closes #805).

    Brandon Frohs authored and marijnh committed Sep 7, 2012
    Configuration menu
    Copy the full SHA
    fafa9d2 View commit details
    Browse the repository at this point in the history
  5. Fix a number of ECMA-5-isms in the test runner

    We do still support IE7/8.
    
    Also removes some non-CodeMirror-code-style things like left-aligned
    commas and semicolons.
    marijnh committed Sep 7, 2012
    3 Configuration menu
    Copy the full SHA
    cab9417 View commit details
    Browse the repository at this point in the history
  6. A few small improvements to the test suite:

    - Move unchanging styles for #progress to style sheet
    
    - Forgot to update testCM() when I added the `verbose` option
    Brandon Frohs authored and marijnh committed Sep 7, 2012
    Configuration menu
    Copy the full SHA
    5d3d207 View commit details
    Browse the repository at this point in the history
  7. Extend closetag to work with html / PHP Mixed Code

    I just added support for closing Tags inside a file in "application/x-httpd-php" Mode including HTML Code
    dagsta authored and marijnh committed Sep 7, 2012
    Configuration menu
    Copy the full SHA
    bd9a83b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1cea077 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2d38a15 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2012

  1. Reset verbose flag when running tests.

    0b10011 authored and marijnh committed Sep 10, 2012
    Configuration menu
    Copy the full SHA
    ba11716 View commit details
    Browse the repository at this point in the history
  2. Fix bug with duplicate test names starting out at the wrong number.

    If two tests have the name "foo", the second should appear as "foo_2", but instead it appeared as "foo_3".
    0b10011 authored and marijnh committed Sep 10, 2012
    Configuration menu
    Copy the full SHA
    cde3d17 View commit details
    Browse the repository at this point in the history
  3. Add a text-shadow behind test progress text so it's readable while th…

    …e progress bar hasn't passed yet.
    0b10011 authored and marijnh committed Sep 10, 2012
    Configuration menu
    Copy the full SHA
    c9fb2ba View commit details
    Browse the repository at this point in the history
  4. Add tests for CSS mode and fixed found bugs

    - Added link to tests on mode page
    - More consistent naming with CSS spec (some of the previous var naming was completely incorrect/misleading)
    - Improved highlighting
      - Match vendor prefixes
      - Check for known properties and values (known properties are bold, unknown are not)
      - Added highlighting for media queries
    - Cleaner stacking of state
    0b10011 authored and marijnh committed Sep 10, 2012
    Configuration menu
    Copy the full SHA
    d0a4a67 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fdfba6d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    328780d View commit details
    Browse the repository at this point in the history
  7. Make undo/redo preserve text markers and bookmarks

    Cleans up the implementation of marked ranges, makes the data
    structure for markers-within-a-line persistant, and attaches them to
    the lines stored in the undo history when necessary.
    
    Closes #675
    marijnh committed Sep 10, 2012
    Configuration menu
    Copy the full SHA
    0d3df7e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9a7a53c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d00082a View commit details
    Browse the repository at this point in the history
  10. Add a Common Lisp mode

    marijnh committed Sep 10, 2012
    Configuration menu
    Copy the full SHA
    f23da64 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    db012e8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8556412 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    53b6852 View commit details
    Browse the repository at this point in the history