Commits on Oct 20, 2012
  1. v0.9.1 beta

    mattpass committed Oct 20, 2012
  2. stickyTabWindow now stickyTab

    mattpass committed Oct 20, 2012
    Removed the flag variable stickyTab and stickyTabWindow now becomes this
    Saves excess vars
  3. Show screenshot of ICEcoder

    mattpass committed Oct 20, 2012
  4. Fullscreen icon now changing on event handler

    mattpass committed Oct 20, 2012
    No longer detecting current image src and showing the opposite icon on
    We're now changing the icon on screen change event handler
Commits on Oct 9, 2012
  1. JS src is ice-coder.js now

    mattpass committed Oct 9, 2012
Commits on Oct 8, 2012
  1. v0.9.0 alpha

    mattpass committed Oct 8, 2012
  2. Code condensing

    mattpass committed Oct 8, 2012
    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
Commits on Oct 6, 2012
  1. use showHide, fix availability bug & use regex

    mattpass committed Oct 6, 2012
    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
  2. New regex for efficiency

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

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

    mattpass committed Oct 4, 2012
    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
Commits on Oct 3, 2012
  1. Simplifying and condensing code

    mattpass committed Oct 3, 2012
    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
  2. Anon objects & CM's searchCursor used, fixed nest

    mattpass committed Oct 3, 2012
    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)
  3. Fix to 1st line charCount & simplifying

    mattpass committed Oct 3, 2012
    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
Commits on Oct 2, 2012
  1. Condensing and simplification

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

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

    mattpass committed Sep 30, 2012
    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)
  3. Condensing code & new deselectAllFiles func

    mattpass committed Sep 30, 2012
    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
Commits on Sep 29, 2012
  1. Check typeof parent and swap vars around

    mattpass committed Sep 29, 2012
    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
  2. htmlTagArray defined in top settings now

    mattpass committed Sep 29, 2012
    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
  3. Using indexOf to check nestTagExceptions

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

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

    mattpass committed Sep 28, 2012
    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)
  2. Highlight line on moving up/down

    mattpass committed Sep 28, 2012
    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
Commits on Sep 27, 2012
Commits on Sep 21, 2012
  1. Go back to hiding code editor till loaded

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

    mattpass committed Sep 21, 2012
    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
  3. Remove ICEroot from path

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

    mattpass committed Sep 20, 2012
    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
  2. Input field glow updates

    mattpass committed Sep 20, 2012
    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