Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 17, 2012
  1. @bfrohs @marijnh
Commits on Sep 12, 2012
  1. @marijnh

    Add NoTex to real-world uses

    marijnh authored
  2. @marijnh

    [util/formatting] Fix a bunch of bugs

    marijnh authored
    That's what you get when you test with the published version,
    rather than the one you're actually editing.
  3. @marijnh

    [util/formatting] Move over to new mode extension/introspection

    marijnh authored
    This makes the formatter easier to adjust to new mode, and
    cleans it up somewhat.
  4. @marijnh

    Add new state introspection mechanism for nested modes

    marijnh authored
    And move closetag over to it.
    
    This makes the code that gets the XML state out of the mode actually
    sound and extensible.
    
    Issue #820
Commits on Sep 11, 2012
  1. @marijnh
Commits on Sep 10, 2012
  1. @marijnh
  2. @marijnh
  3. @marijnh
  4. @marijnh
  5. @marijnh

    Add a Common Lisp mode

    marijnh authored
  6. @marijnh
  7. @marijnh
  8. @marijnh

    Make undo/redo preserve text markers and bookmarks

    marijnh authored
    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
  9. @marijnh
  10. @marijnh
  11. @bfrohs @marijnh

    Add tests for CSS mode and fixed found bugs

    bfrohs authored marijnh committed
    - 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
  12. @bfrohs @marijnh

    Add a text-shadow behind test progress text so it's readable while th…

    bfrohs authored marijnh committed
    …e progress bar hasn't passed yet.
  13. @bfrohs @marijnh

    Fix bug with duplicate test names starting out at the wrong number.

    bfrohs authored marijnh committed
    If two tests have the name "foo", the second should appear as "foo_2", but instead it appeared as "foo_3".
  14. @bfrohs @marijnh

    Reset `verbose` flag when running tests.

    bfrohs authored marijnh committed
Commits on Sep 7, 2012
  1. @marijnh
  2. @marijnh
  3. @dagsta @marijnh

    Extend closetag to work with html / PHP Mixed Code

    dagsta authored marijnh committed
    I just added support for closing Tags inside a file in "application/x-httpd-php" Mode including HTML Code
  4. @bfrohs @marijnh

    A few small improvements to the test suite:

    bfrohs authored marijnh committed
    - Move unchanging styles for #progress to style sheet
    
    - Forgot to update testCM() when I added the `verbose` option
  5. @marijnh

    Fix a number of ECMA-5-isms in the test runner

    marijnh authored
    We do still support IE7/8.
    
    Also removes some non-CodeMirror-code-style things like left-aligned
    commas and semicolons.
  6. @bfrohs @marijnh
  7. @marijnh

    Don't wait 50 ms between tests

    marijnh authored
    There are now enough tests to make this take a serious amount of time.
    
    A 0 timeout seems to work just as well.
  8. @marijnh
  9. @bfrohs @marijnh

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

    bfrohs authored marijnh committed
    - 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
Commits on Sep 5, 2012
  1. @bfrohs @marijnh

    Prevent logo from causing a horizontal scrollbar at smaller viewport …

    bfrohs authored marijnh committed
    …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).
  2. @bfrohs @marijnh

    [markdown mode] More improvements to parsing and tester.

    bfrohs authored marijnh committed
    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".
Commits on Sep 4, 2012
  1. @bfrohs @marijnh

    [markdown mode] Improvements to parsing and tester

    bfrohs authored marijnh committed
    (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".
  2. @marijnh

    [shell mode] Fix unsafe use of object

    marijnh authored
    Parsing the word constructor would look up words["constructor"], and
    return Object.prototype.constructor instead of a style string.
    
    Closes #793
Commits on Sep 3, 2012
  1. @marijnh
  2. @marijnh

    Add CodeMirror.version to API

    marijnh authored
Something went wrong with that request. Please try again.