Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made some refactor, fix some bugs #42

Merged
merged 8 commits into from
Jan 26, 2016
Merged

Commits on Feb 10, 2015

  1. development version

    AlexLee committed Feb 10, 2015
    Configuration menu
    Copy the full SHA
    fd8612e View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2015

  1. 1. fix issue:yuhua-chen#10; 2. add iOS testing demo, There is still a…

    … bug that confused me: if I DO NOT use the colorful log, then some of the tail logs won't be displayed, anyone could help me?
    Alex Lee authored and Alex Lee committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    50af6c7 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2016

  1. merge from yuhua-chen/MCLog

    Alex Lee committed Jan 5, 2016
    Configuration menu
    Copy the full SHA
    ddc3efa View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2016

  1. Refactor MCLog.m

    Seperate the big file to some small files, it maybe easier to maintain.
    
    *** I don't know why MCDVTTextStorage must use method_exchangeImplementations to hook the original method,
    not like others.
    Alex Lee committed Jan 6, 2016
    Configuration menu
    Copy the full SHA
    d30717b View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2016

  1. refactor ANSI attribute parser

    *** I don't known why this version's Log filter is so bad.
    Alex Lee committed Jan 12, 2016
    Configuration menu
    Copy the full SHA
    5473799 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2016

  1. find out and fix the bug that cause performance of filtering log: we …

    …should not remove the pattern object in -[MCLog searchFieldDidEndEditing:] but in -[MCLogIDEConsoleArea _shouldAppendItem:] when searchFile.text is empty
    Alex Lee committed Jan 25, 2016
    Configuration menu
    Copy the full SHA
    84bb77a View commit details
    Browse the repository at this point in the history
  2. fix bug: yuhua-chen#39

     I found the cause of Issue yuhua-chen#39: In last version of yuhua-chen/MCLog, use GCD and buffer_queue to wait the coming unfinished log content, so there is a risk: we operate the unprocessedOutputInfo in two threads.
    In some situation, if we set value to unprocessedBuffer ( the code actually is " [unprocessedBuffer release]; unprocessedBuffer = newVal;" ), if method "outputForStandardOutput:"(thread 1),  after the call of "[unprocessedBuffer release];" thread 2(buffer_queue) go into MCOutputUnprocessedBuffer and get the value of  unprocessedBuffer, there would be EXC_BAD_ACCESS.
    Alex Lee committed Jan 25, 2016
    Configuration menu
    Copy the full SHA
    8521afc View commit details
    Browse the repository at this point in the history
  3. fix a experience bug

    Alex Lee committed Jan 25, 2016
    Configuration menu
    Copy the full SHA
    ec566a6 View commit details
    Browse the repository at this point in the history