Skip to content

Commit

Permalink
add LLDebugTool
Browse files Browse the repository at this point in the history
  • Loading branch information
XLsn0w committed Sep 9, 2019
1 parent b3beab3 commit ce21d1d
Show file tree
Hide file tree
Showing 628 changed files with 48,880 additions and 0 deletions.
283 changes: 283 additions & 0 deletions LLDebugTool/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,283 @@
## [1.3.1](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.3.1) (09/06/2019)

### Fix some bugs.

Fixed bugs in the UI.

Compatible with version 2.0 or above of `FMDB`.

#### Update

* Update `LLStorageManager` to fix low version `FMDB`.

## [1.3.0](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.3.0) (09/01/2019)

### Hierarchy and magnifying is coming.

Hierarchy function : Now you can use `Hierarchy` function to see every element on screen, and you can visually see their frame and properties, `Hierarchy info` will come soon.

Magnifying function : Now you can use `Magnifying` function to see the contents or color of each pixel, this makes it easier for you to communicate with the UI designer.

More changes can be viewed in [Version 1.3.0 Project](https://github.com/HDB-Li/LLDebugTool/projects/8).

#### Add

* Refactory UI hierarchy, now use many windows to display functions, each function use one window, more information you can see `LLWindowManager.m`.

#### Update

* Changed folder path.
* Update a new user interface.
* Fix in iOS 13.

#### Remove

* `LLDebugTool` didn't supports component-based now. This is a useless feature and adds to the difficulty of calling between modules. `LLDebugTool` is later maintained as a single app rather than as multiple functional modules.
* Remove some unused files, methods and macros.

## [1.2.2](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.2.2) (10/23/2018)

### Fix LLWindow become keywindow's bug.

`LLDebugTool` supports component-based now. Now you can integrate only one or more modules into your own **Debug debugger**. You can directly use the view controller contained in each module, or just call the functions in `Function` folder and build UI yourself.

How to use components, see Wiki[Use Components](https://github.com/HDB-Li/LLDebugTool/wiki/Use-Components) or [Adding LLDebugTool to your project](https://github.com/HDB-Li/LLDebugTool#adding-lldebugtool-to-your-project).

More changes can be viewed in [Version 1.2.2 Project](https://github.com/HDB-Li/LLDebugTool/projects/7).

#### Update

* Update `LLWindow.m` and make `[UIApplication sharedApplication].delegate.window` become key window when `LLWindow` become key window.

## [1.2.1](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.2.1) (10/10/2018)

### Fix a display bug.

`LLDebugTool` supports component-based now. Now you can integrate only one or more modules into your own **Debug debugger**. You can directly use the view controller contained in each module, or just call the functions in `Function` folder and build UI yourself.

How to use components, see Wiki[Use Components](https://github.com/HDB-Li/LLDebugTool/wiki/Use-Components) or [Adding LLDebugTool to your project](https://github.com/HDB-Li/LLDebugTool#adding-lldebugtool-to-your-project).

More changes can be viewed in [Version 1.2.1 Project](https://github.com/HDB-Li/LLDebugTool/projects/7).

#### Update

* Update `LLFilterEventView.m` and add a default averageCount to fix FilterView showing incomplete questions.

## [1.2.0](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.2.0) (09/22/2018)

### Supports component-based.

`LLDebugTool` supports component-based now. Now you can integrate only one or more modules into your own **Debug debugger**. You can directly use the view controller contained in each module, or just call the functions in `Function` folder and build UI yourself.

How to use components, see Wiki[Use Components](https://github.com/HDB-Li/LLDebugTool/wiki/Use-Components) or [Adding LLDebugTool to your project](https://github.com/HDB-Li/LLDebugTool#adding-lldebugtool-to-your-project).

More changes can be viewed in [Version 1.2.0 Project](https://github.com/HDB-Li/LLDebugTool/projects/7).

#### Add

* Add `LLRoute`, In order to solve mutual reference between components. When the relevant components exist, `LLRoute` will call the corresponding method, otherwise it will not do anything.

#### Update

* Update folder structure. Now the whole project is classified according to the components, Under each component folder, it is divided into `Function` and `UserInterface`.

* Modify files referenced between components instead of `LLRoute`.

* Update `NSURLSessionConfiguration.m` to hook protocolClasses method.

## [1.1.7](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.1.7) (09/14/2018)

### Support Swift now, More swift usage informations see [LLDebugToolSwift](https://github.com/HDB-Li/LLDebugToolSwift).

`LLDebugToolSwift` is a swift component for `LLDebugTool`, It provide the `LLog` swift class that used to log function in swift.

More changes can be viewed in [Version 1.1.7 Project](https://github.com/HDB-Li/LLDebugTool/projects/6).

#### Add

* Add `LLog.swift`, In order to solve `LLDebugToolMacros` can't work in swift.

#### Update

* Update `LLCrashHelper`, now `LLDebugTool` can crash signal correct.

## [1.1.6](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.1.6) (08/31/2018)

### Fixed bug that could not catch crash information

If you use versions between 1.1.3 and 1.1.5, you are strongly recommended to upgrade to 1.1.6.

More changes can be viewed in [Version 1.1.6 Project](https://github.com/HDB-Li/LLDebugTool/projects/5).

#### Update

* Update `LLCrashHelper`, save a crash model must be synchronous.

## [1.1.5](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.1.5) (08/29/2018)

### Start/stop function module dynamically

Add a options `LLConfigAvailableFeature` in `LLConfig` used to control whether to enable ` LLDebugTool` one of function module, now you can dynamically start/stop a module. More changes can be viewed in [Version 1.1.5 Project](https://github.com/HDB-Li/LLDebugTool/projects/4).

#### Add

* Add a options `LLConfigAvailableFeature` in `LLConfig` used to control whether to enable ` LLDebugTool` one of function module, now you can dynamically start/stop a module.
* Add enumeration values `LLConfigLogFileFuncDesc` and `LLConfigLogFileDesc` in `LLConfigLogStyle`.

#### Update

* Update `LLAppHelper` and `LLConfig`, Cleaner code.
* Update `LLConfig`, now you can dynamic change `colorStyle` and `windowStyle` in running, See demo for more effects.
* Update `LLSubTitleTableViewCell` to fix UITextView bug under ios 8.

#### Extra

* Update demo file, It looks more comfortable now.

## [1.1.4](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.1.4) (08/27/2018)

### Increase network traffic monitoring

Now you can check your network request traffic, although it is not very accurate. Other some known problems have been fixed. More changes can be viewed in [Project 1.1.4](https://github.com/HDB-Li/LLDebugTool/projects/3).

#### Add

* Add data traffic function, details can see `LLNetworkModel.m`.

#### Update

* Update the constraints in all XIB files, remove constraint warnings from the console.
* Use `UITextView` replace `UILabel` in `LLSubTitleTableViewCell`, used to solve the problem that `UILabel` does not show when there is too much data, such as 1000 lines.
* Use `MIMETYPE` to judge the type of a network response.
* Update `LLAppHelper.h`, expose more interfaces.
* Update `LLStorageManager`, rewritten SQL statements.

#### Extra

* Now we can display GIF images.
* Fix some bugs.

## [1.1.3](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.1.3) (08/16/2018)

### Refactory database

Fix some bugs operation in database. It looks more friendlier now, you can watch model's description in Mac software. Someday, `LLLogHelper` will be separated into an online event-tracking tool used in release environment.

The new version will delete the old version of the table in database, if you need the old data, please upgrade when you don't need it.

#### Add

* Add UnitTests and UITests, Even now there's nothing.

#### Update

* Refactory `LLStorageManager` to make sure it will work well in synchronous and asynchronous or main thread and child thread.
* `DEPRECATED` some method in `LLStorageManager`, `LLTool` and `LLAppHelper`, More infomations please see`LLStorageManager.h`, `LLTool.h` and `LLAppHelper.h`.
* Add a enumeration values in `LLConfig` to control `LLLogHelper`'s log style.

## [1.1.2](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.1.2) (08/09/2018)

### Add window style

Some time suspension ball is too big, so you can put `LLDebugTool` on power bar or network bar now. It can work like a suspension ball, just can't move.

<div align="left">
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenShot-windowStyle.png" width="20%"></img>
</div>

#### Add

* Add window style enum. now you can show as suspension ball , power bar or network bar.
* Add some `LLDebugTool` event log, you can close it in `LLConfig`.
* Add `LLNetworkFilterView`, now you can filter network with url, header, body or response.

#### Update

* Update `LLURLProtocol` to fix some untrusted HTTP requests that fail.
* Update `LLBaseViewController` to deal some bugs when project use runtime to change default settings.
* Update `LLStorageManager` to ensure that database operations are not performed in the main thread.
* Rename `LLFilterView` to `LLLogFilterView`.

#### Remove

* Remove `LLFilterLevelView`, use `LLFilterEventView` to replace.

#### Extra

* Adapter iPhone SE

## [1.1.1](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.1.1) (07/27/2018)

Fix crash when use `use_frameworks!` in `CocoaPods`. (Failed resource loading)

#### Add

* Add `LLLogHelperEventDefine.h` to define and record LLDebugTool system event.

#### Update

* Use method `[UIImage LL_imageNamed:]` to replace method `[UIImage imageNamed]`, to solve image resource loading failed.
* Use `[LLConfig sharedConfig].XIBBundle` to register XIB file, to solve crash when use `use_frameworks!` in `CocoaPods`.

## [1.1.0](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.1.0) (06/07/2018)

### Add screenshot function.

Increases the need to the permissions of the album, but it is not necessary, if the project has the authority, save will be synchronized to photo album, if the project doesn't have the permission, is saved into the sandbox alone, LLDebugTool will not actively apply for album permissions.

<div align="left">
<img src="https://raw.githubusercontent.com/HDB-Li/HDBImageRepository/master/LLDebugTool/ScreenGif-Screenshot.gif" width="20%"></img>
</div>

#### Add

* Add `LLScreenshotHelper` in `Helper` folder, used to control screenshot.
* Add `LLScreenshotView` folder in `UserInterface/Others` folder, used to show and draw screenshot.
* Add `LLDebugToolMacros.h`, used to manage public macros.

#### Update

* Update `LLBaseNavigationController` and `LLBaseViewController` to repair toolbar's frame is wrong when hiding tabbar.
* Update `LLAppHelper` to fix iPhone X getting network status error.
* Remove `LLog` macros in `LLDebugTool.h` and moved to `LLDebugToolMacros.h`

#### Additional Changes

* Update demo for saving screenshots to photo albums when screenshots are taken.

## [1.0.3](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.0.3) (05/31/2018)

Fix some leaks.

#### Update

* Call `CFRelease` in `LLAppHelper`.
* Resolve circular references caused by the `NSURLSessionDelegate` in `LLURLProtocol`.
* Call `Free` in `LLBaseModel`.
* Fix analyze warning in `LLBaseViewController` / `LLFilterOtherView`.
* Uncoupled code in `LLTool` / `LLNetworkContentVC`.

#### Additional Changes

* Add `NetTool`(Use URLSession in a singleton.) and update `ViewController` (Fix a circular reference.)

## [1.0.2](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.0.2) (05/21/2018)

* Fix the side gesture recognizer bug when pop.

## [1.0.1](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.0.1) (05/12/2018)

* Support iOS8+.

## [1.0.0](https://github.com/HDB-Li/LLDebugTool/releases/tag/1.0.0) (05/09/2018)

* Initial release version.
* Contains the following functions:

 * Monitoring network requests.
 * Save and view log information.
 * Crash information collection.
 * Monitoring app properties.
 * Operation of sandbox file.


18 changes: 18 additions & 0 deletions LLDebugTool/LLDebugTool.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Pod::Spec.new do |s|
s.name = "LLDebugTool"
s.version = "1.3.1"
s.summary = "LLDebugTool is a debugging tool for developers and testers that can help you analyze and manipulate data in non-xcode situations."
s.homepage = "https://github.com/HDB-Li/LLDebugTool"
s.license = "MIT"
s.author = { "HDB-Li" => "[email protected]" }
s.social_media_url = "https://github.com/HDB-Li"
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/HDB-Li/LLDebugTool.git", :tag => s.version }
s.requires_arc = true
s.public_header_files = "LLDebugTool/LLDebug.h", "LLDebugTool/DebugTool/*.h"
s.source_files = "LLDebugTool/**/*.{h,m}"
s.resources = "LLDebugTool/**/*.{xib,storyboard,bundle}"
s.frameworks = "Foundation", "UIKit", "Photos", "SystemConfiguration", "CoreTelephony", "QuickLook"
s.dependency "FMDB", "~> 2.0"

end
Loading

0 comments on commit ce21d1d

Please sign in to comment.