History log of /external/lldb/examples/summaries/cocoa/NSNumber.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3ca24b48096ca34bdcfed26e85bb0d6be6169153 10-Dec-2012 Enrico Granata <egranata@apple.com> <rdar://problem/12817233>

Change the wording of NSNumber summary from absurd value to unexpected value when a tagged pointer shows up that does not match our knowledge of the internals



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/NSNumber.py
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/NSNumber.py
9aa80028ae8f7e570759617f7838bbf29fb26698 13-Jul-2012 Enrico Granata <egranata@apple.com> <rdar://problem/11753405> Making sure we deal correctly with signed NSNumber values

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160179 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/NSNumber.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/NSNumber.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/NSNumber.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/NSNumber.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/NSNumber.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/NSNumber.py
805f79b15edd61887c26a3f0ea80457790ba5807 30-Mar-2012 Enrico Granata <egranata@apple.com> Fixing a whole class of crashers and potential crashers related to data formatters eating up all the stack when an unknown class has to be summarized ; this should make the whole Objective-C summaries more stable

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/NSNumber.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/NSNumber.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/NSNumber.py
83410e5e9e040ea5c6691f933aa9a6c4dcea4d8b 01-Mar-2012 Enrico Granata <egranata@apple.com> (a) adding an introspection formatter for NS(Mutable)IndexSet
(b) fixes and improvements to the formatters for NSDate and NSString
(c) adding an introspection formatter for NSCountedSet
(d) making the Objective-C formatters test cases pass on both 64 and 32 bit
one of the test cases is marked as expected failure on i386 - support needs to be added to the LLDB core for it to pass


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151826 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/summaries/cocoa/NSNumber.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/NSNumber.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/NSNumber.py