History log of /external/lldb/examples/summaries/cocoa/CFArray.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ae2ae94bd72daf435204e99a0e03ccc64470a843 04-Sep-2012 Enrico Granata <egranata@apple.com> <rdar://problem/11485744> Implement important data formatters in C++. Have the Objective-C language runtime plugin expose class descriptors objects akin to the objc_runtime.py Pythonic implementation. Rewrite the data formatters for some core Cocoa classes in C++ instead of Python.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163155 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py
0ff10b595416cc33bd66ecbdbcb93935327be0d0 25-Apr-2012 Enrico Granata <egranata@apple.com> Fixing a typo in the NSArray data formatter

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155586 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py
a5c2ce05705f784fd4ada97823af6ff7006fea58 25-Apr-2012 Enrico Granata <egranata@apple.com> Returning data formatters to their previous working condition - Plus fixing an issue that was preventing Python oneliners from executing

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155563 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py
0d235d5864e996d95f485df1a0df406126e1ccde 25-Apr-2012 Enrico Granata <egranata@apple.com> Making the Cocoa formatters comply with the new on-disk layout of the Python resources - This is one of the steps towards making the data formatters work again

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155526 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py
6805e3f988769b01a1c9bcdba1497afb026a8058 03-Apr-2012 Enrico Granata <egranata@apple.com> Fixing syntax typos in Python formatters

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py
9b8608555e889ad0ca754b8f83ed4edc02b33aca 02-Apr-2012 Enrico Granata <egranata@apple.com> Removing some instances of str(SBValue)

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153899 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py
8f18240a09893310c43673901d863892ae7b0611 02-Apr-2012 Enrico Granata <egranata@apple.com> Logging for data formatters.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153878 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py
579a296e7566b7b6d24b51e383bca1fe1e62086f 13-Mar-2012 Enrico Granata <egranata@apple.com> The Cocoa formatters now provide error messages for many of the common things-went-wrong situations. Previously they would say nothing or log failures to the Python console


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152673 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py
7b9aacf4a454465af905e505f74245173714b23b 13-Mar-2012 Enrico Granata <egranata@apple.com> Changed several of the Cocoa formatters to match the output style that Xcode uses internally to provide summaries
This has been done for those summaries where the difference is only cosmetic (e.g. naming things as items instead of values, ...)
The LLDB output style has been preserved when it provides more information (e.g. telling the type as well as the value of an NSNumber)

Test cases have been updated to reflect the updated output style where necessary


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152592 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py
323cec97d94bd1836e8c158e7065fdb5ad71ad48 07-Mar-2012 Enrico Granata <egranata@apple.com> Fixing some of the new Python formatters to report '1 object' instead of '1 objects'

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152186 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py
f2a84671ff78bee1f82b60698f3ee9791585f8ac 05-Mar-2012 Enrico Granata <egranata@apple.com> Several performance-oriented changes to the introspecting data formatters:
(a) the SystemParameters object is now passed around to the formatters; doing so enables the formatters to reuse computed values for things such as pointer-size and endianness
instead of repeatedly computing these on their own
(b) replacing the global ISA cache with a per-process one
(c) providing a per-process types cache where each formatter can store the types it needs to operate, and be sure to find them the next time without recalculating them
this also enables formatters to share types if they agree on a local naming convention
(d) lazy fetching of data from Objective-C runtime data structures
data is fetched as needed and we stop reading as soon as we determine that an ISA is actually garbage


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152052 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py
1328b1410eb0f5e03c3b3ee302e9adca3e1b0361 29-Feb-2012 Enrico Granata <egranata@apple.com> This commit:
a) adds a Python summary provider for NSDate
b) changes the initialization for ScriptInterpreter so that we are not passing a bulk of Python-specific function pointers around
c) provides a new ScriptInterpreterObject class that allows for ref-count safe wrapping of scripting objects on the C++ side
d) contains much needed performance improvements:
1) the pointer to the Python function generating a scripted summary is now cached instead of looked up every time
2) redundant memory reads in the Python ObjC runtime wrapper are eliminated
3) summaries now use the m_summary_str in ValueObject to store their data instead of passing around ( == copying) an std::string object
e) contains other minor fixes, such as adding descriptive error messages for some cases of summary generation failure


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151703 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py
b370df27c76fd875f3312be487868528121a4838 24-Feb-2012 Enrico Granata <egranata@apple.com> This patch provides a set of formatters for most of the commonly used Cocoa classes.
The formatter for NSString is an improved version of the one previously shipped as an example, the others are new in design and implementation.
A more robust and OO-compliant Objective-C runtime wrapper is provided for runtime versions 1 and 2 on 32 and 64 bit.
The formatters are contained in a category named "AppKit", which is not enabled at startup.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151300 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/CFArray.py