Commits on Oct 8, 2012
  1. v0.9.0 alpha

    committed Oct 8, 2012
  2. Code condensing

    pB var setup to avoid repeating long DOM elem refs again
    Removed end point from substr, not necessary
    Put 3 x themes into an array and test using indexOf instead
    Syntax spacing in a couple of areas
    committed Oct 8, 2012
Commits on Oct 6, 2012
  1. use showHide, fix availability bug & use regex

    use showHide function where possible
    Check file and fileName are available before using them
    Shorten code by setting in vars and reusing
    Syntax & comment simplification
    Use regex to work out previousFiles (also fixed comma prefix on string)
    Slight adjustment to for loop using less chars
    committed Oct 6, 2012
  2. New regex for efficiency

    More specific regex used to ensure efficiency & speed are optimal
    Syntax spacing adjusts on couple of other lines
    committed Oct 6, 2012
Commits on Oct 5, 2012
  1. Improved regex on CSS values

    Looks for hex, rgb/hsl-a or colour name values in their correct format
    Need match ? match[0] : '' to handle no match scenarios
    committed Oct 5, 2012
Commits on Oct 4, 2012
  1. newTab now innerLI & better cssColorPreview code

    newTab isn't a tab at all, it's inner contents of an LI, so now called
    2nd insertBefore should be inserting newText not newLI again
    New code to get CSS values via regex
    Now only showing the preview if the caretLocType is CSS
    committed Oct 4, 2012
Commits on Oct 3, 2012
  1. Simplifying and condensing code

    No need to return cM in getcMInstance, just return the ternary value
    Shortened a few comments for clarity & byte saving
    No need to add length as 2nd param on substrs in a couple of places
    newTab setup as string to be used in a couple of places
    Ternary shortening on elemType
    Converted ternary statement back to if else to byte save on 2 ternaries
    Reversing bool on codeAssist var by using ! instead
    break is shorter & better too, than increasing i's value to escape
    committed Oct 3, 2012
  2. Anon objects & CM's searchCursor used, fixed nest

    Now just usage anonymous objects inline instead of creating for single
    (saves adding extra vars and is less code)
    Removed findLen and replaceLen as only findLen was being used twice
    Replaced how we find & replace by using CM's searchcursor
    Fix to the selection on hover over nest items, doesn't need -1
    (This is because I fixed CM's tagRangeFinder to include last line)
    committed Oct 3, 2012
  3. Fix to 1st line charCount & simplifying

    If our result is within the first line, add 1 to it to fix offset
    No need to have ternary case for replace all, this is now done with a
    committed Oct 3, 2012
Commits on Oct 2, 2012
  1. Condensing and simplification

    Reducing code in many areas by condensing and simplifying
    committed Oct 2, 2012
Commits on Sep 30, 2012
  1. Lots of ternary & array check shortening

    Shorting to ternary statements instead of if else statements in many
    Checking indexOf on arrays to condense code here too
    committed Sep 30, 2012
  2. Combo moveLine function & code condensing

    moveLine(dir) func added as combo of moveLineUp and moveLineDown funcs
    Move initialising vars to start of func
    Used indexOf to check array for shortURL instead of for loop in 2 places
    Improving/removing a few comments
    Condensed code to now check if selectedFiles is empty or contains right
    clicked file and also condensed code to use indexOf on array instead of
    for loop
    Don't need foundFile because of this condensing
    Using ICEcoder ref for filesFrame and also showing dropdown higher up
    (next to mouse pointer/inline with file/folder name)
    committed Sep 30, 2012
  3. Condensing code & new deselectAllFiles func

    Syntax format improvements on fileManager function
    selectFileFolder improvements:
    - Removed a load of vars we no longer need & new tgtFile var added
    - 2 x areas where we deselect files/folders now done via new function
    - tgtFile now avail to avoid duplicate setup
    - Other much more efficient and clearer processes setup to achieve same
    New function added to deselect all files
    Ternary shortening on colouring of selected/deselected files & folders
    Swapped var order around
    committed Sep 30, 2012
Commits on Sep 29, 2012
  1. Check typeof parent and swap vars around

    Checking state.curState.context can cause issues is state.curState
    doesn't exist so just check state.curState instead
    Swapped a couple of vars round to match order of usage in func
    committed Sep 29, 2012
  2. htmlTagArray defined in top settings now

    updateNestingIndicator now setup on a setInterval every 30 ms
    (This is due to timing issues and solves this without being noticable)
    Only if we have a context for the given tag build up the array
    If so, reset htmlTagArray and build up the array again
    This means we stick with the old array if we're in a script or style
    block (for example)
    Set the tagString to be the last item in the array
    If caretLocType is JS, set the tagString to script
    (This is because CodeMirror doesn't recognise this as a tag)
    updateNestingIndicator now works by:
    - checking if we have a cM instance and not in JS, Coffee etc filetypes
    - gets token information for the very end of the document
    - detects if it's className is an error or not to determin if the
    nesting is broken
    Fix to detecting the code type we're in as without -1, JavaScript is
    ignored as it's array item 0
    committed Sep 29, 2012
  3. Using indexOf to check nestTagExceptions

    No need to use for loop here, instead use indexOf to check tagString is
    an array item within nestTagExceptions
    committed Sep 29, 2012
  4. New ICErepo logo

    Lost the standard Octocat logo in favour of this one
    committed Sep 29, 2012
Commits on Sep 28, 2012
  1. Revised version to establish htmlTagArray

    Uses a method from Marijn Haverbeke to establish an array of nested
    This means chars in the document don't need to be scanned and the array
    worked out in a more complex way
    It means quite a few lines can be condensed down to just 3
    Also means it's far less expensive on the CPU, meaning there is no
    sluggishness onCursorActivity on large documents (ie typing etc)
    committed Sep 28, 2012
  2. Highlight line on moving up/down

    No longer setting the cursor ch position on moving line up/down
    Instead now highlighting the line that has been moved
    This is done via the new function highlightLine
    committed Sep 28, 2012
Commits on Sep 27, 2012
Commits on Sep 21, 2012
  1. Go back to hiding code editor till loaded

    Shows as a white block until loaded, so go back to having it's
    visibility hidden until we're loaded and then show
    committed Sep 21, 2012
  2. Remove iceRoot from location & perms file path

    Clear iceRoot from the beginning of location (needed for when you set
    your own ICEroot), so it doesn't cause DOM ID issues/mismatches
    Also remove it from the file path passed through to file-control when
    changing perms when you have your own ICEroot and don't show in server
    message either
    committed Sep 21, 2012
  3. Remove ICEroot from path

    This is applied in file control and by not removing it we have 2 x dirs
    committed Sep 21, 2012
Commits on Sep 20, 2012
  1. Condensing code in a few areas

    Reworked detecting if it's a JS, CoffeeScript, Ruby, CSS or LESS file by
    switching the indexOf around
    Also performed indexOf on an array rather than looking at each array
    item in a for loop
    Ternary shortening of code in a few areas
    committed Sep 20, 2012
  2. Input field glow updates

    Blue glow on input fields now set to 100% opacity, instead of 70%, was a
    bit weak before
    Also now showing on go to line input field
    committed Sep 20, 2012
  3. setLayout on creating new tab

    Won't have height set on the editor instance otherwise
    committed Sep 20, 2012
  4. Condensing PHP code into 1 echo

    committed Sep 20, 2012
Commits on Sep 19, 2012
  1. Version 0.8.6

    committed Sep 19, 2012
  2. Title tag alts, code condensing & tweaks

    Version number now in title tag text
    Tidied up some comment text re whats included in
    No longer relying on PHP to echo HTML as much
    Code folding vars renamed to codeFoldTag and codeFoldBrace
    A new var also set up to define the style of the + that appears in the
    Also some fixes to the + symbol which was overlapping numbers & wrapping
    This var is used by both codeFoldTag and codeFoldBrace to set + styling
    Formatting of code in creating CM instances
    Pulling thisCM through on onCursorActivity and onKeyEvent
    This is so we have an object which we can use instead of much more code,
    doing it the easier way
    committed Sep 19, 2012
  3. Title tag changed & simpler code

    Title tag text changed to match other files
    Decided to drop setting bannedFiles in the ICEcoder array to match
    session based version
    Checking against the session based version now
    Ternary formatting just for ease of reading
    Root list item now created mostly without PHP echos
    Just echoing now rather than building up a var to echo
    committed Sep 19, 2012
  4. Title tag text alt & better textarea text buildup

    Tweaked title tag text to match other files
    Outputting plugin text using implode, which makes for much less code
    committed Sep 19, 2012
  5. Removed trailing spaces & semicolons

    Also moved position to front of progressBar
    committed Sep 19, 2012
  6. onLoad clear load screen, ternary shortening

    Now clears load screen when this is loaded
    Ternary statements shortened even further in 3 areas
    committed Sep 19, 2012
  7. title tag text tweak only

    committed Sep 19, 2012