mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Remove old (crash reports) debug info
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
#import <Find/Find.h>
|
||||
#import <BundlesManager/BundlesManager.h>
|
||||
#import <network/network.h>
|
||||
#import <crash/info.h>
|
||||
#import <file/path_info.h>
|
||||
#import <io/entries.h>
|
||||
#import <scm/scm.h>
|
||||
@@ -529,9 +528,6 @@ namespace
|
||||
if([anIndexSet count] == 0 || _documents.empty())
|
||||
return;
|
||||
|
||||
crash_reporter_info_t crashInfo(text::format("close %lu documents with %zu open and index of selected being %zu.", [anIndexSet count], _documents.size(), _selectedTabIndex));
|
||||
crashInfo << to_s([anIndexSet description]);
|
||||
|
||||
std::vector<document::document_ptr> documentsToClose;
|
||||
for(NSUInteger index = [anIndexSet firstIndex]; index != NSNotFound; index = [anIndexSet indexGreaterThanIndex:index])
|
||||
documentsToClose.push_back(_documents[index]);
|
||||
@@ -582,8 +578,6 @@ namespace
|
||||
newSelectedTabIndex = newDocuments.empty() ? 0 : newDocuments.size() - 1;
|
||||
}
|
||||
|
||||
crashInfo << text::format("keep %zu documents open, new selected index at %zu, create untitled %s", newDocuments.size(), newSelectedTabIndex, BSTR((createIfEmptyFlag && newDocuments.empty())));
|
||||
|
||||
if(createIfEmptyFlag && newDocuments.empty())
|
||||
newDocuments.push_back(document::create());
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
SOURCES = src/*.mm
|
||||
CP_Resources = resources/*
|
||||
LINK += BundleEditor BundlesManager Find HTMLOutputWindow OakAppKit OakFileBrowser OakFilterList OakFoundation OakSystem OakTextView Preferences bundles command crash document editor file io kvdb network ns scm settings text
|
||||
LINK += BundleEditor BundlesManager Find HTMLOutputWindow OakAppKit OakFileBrowser OakFilterList OakFoundation OakSystem OakTextView Preferences bundles command document editor file io kvdb network ns scm settings text
|
||||
EXPORT = src/DocumentController.h
|
||||
FRAMEWORKS = Cocoa
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#import <settings/settings.h>
|
||||
#import <oak/oak.h>
|
||||
#import <ns/ns.h>
|
||||
#import <crash/info.h>
|
||||
|
||||
@interface OakEncodingSaveOptionsViewController : NSViewController <NSOpenSavePanelDelegate>
|
||||
{
|
||||
@@ -92,7 +91,6 @@
|
||||
|
||||
- (void)panel:(NSSavePanel*)sender didChangeToDirectoryURL:(NSURL*)anURL
|
||||
{
|
||||
crash_reporter_info_t info("NSSavePanel did change to directory: " + to_s([anURL path]));
|
||||
[self updateSettings:[self encodingForURL:[sender URL]]];
|
||||
}
|
||||
@end
|
||||
@@ -114,10 +112,8 @@
|
||||
[savePanel setNameFieldStringValue:[aPathSuggestion lastPathComponent]];
|
||||
[savePanel setAccessoryView:optionsViewController.view];
|
||||
[optionsViewController updateSettings:[optionsViewController encodingForURL:[savePanel URL]]];
|
||||
crash_reporter_info_t info("Setup NSSavePanel delegate with path: " + to_s([[savePanel URL] path]));
|
||||
savePanel.delegate = optionsViewController;
|
||||
[savePanel beginSheetModalForWindow:aWindow completionHandler:^(NSInteger result) {
|
||||
crash_reporter_info_t info("Clear NSSavePanel delegate");
|
||||
savePanel.delegate = nil;
|
||||
NSString* path = result == NSOKButton ? [[savePanel.URL filePathURL] path] : nil;
|
||||
encoding::type encoding(to_s(optionsViewController.lineEndings), to_s(optionsViewController.encoding));
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <cf/run_loop.h>
|
||||
#include <ns/ns.h>
|
||||
#include <oak/debug.h>
|
||||
#include <crash/info.h>
|
||||
|
||||
OAK_DEBUG_VAR(Document_Scanner);
|
||||
OAK_DEBUG_VAR(Document_LRU);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
TESTS = tests/t_*.cc
|
||||
SOURCES = src/*.{mm,cc}
|
||||
EXPORT = src/OakDocument.h src/OakDocumentEditor.h src/document.h src/collection.h
|
||||
LINK += BundlesManager OakAppKit OakFoundation OakSystem authorization buffer cf command crash editor encoding file io layout ns plist regexp scope selection settings text theme undo
|
||||
LINK += BundlesManager OakAppKit OakFoundation OakSystem authorization buffer cf command editor encoding file io layout ns plist regexp scope selection settings text theme undo
|
||||
FRAMEWORKS = ApplicationServices
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
#include "fsref.h"
|
||||
#include "path.h"
|
||||
#include <cf/cf.h>
|
||||
#include <crash/info.h>
|
||||
|
||||
namespace path
|
||||
{
|
||||
bool is_text_clipping (std::string const& path)
|
||||
{
|
||||
crash_reporter_info_t info("Path: " + path);
|
||||
|
||||
bool res = false;
|
||||
if(extension(path) == "textClipping")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user