From 64567b12a8e9449ea3e23e20f0d236a9bde24dad Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 5 Feb 2010 11:37:30 +0000 Subject: =?UTF-8?q?=E2=80=A2=20refactored=20the=20entire=20history=20logic?= =?UTF-8?q?=20in=20Custom=20Query=20-=20queries=20which=20are=20longer=20t?= =?UTF-8?q?han=20then=2064=20chars=20are=20truncated=20in=20title=20and=20?= =?UTF-8?q?=20queries=20which=20are=20longer=20than=20then=20256=20chars?= =?UTF-8?q?=20are=20truncated=20in=20tooltip=20to=20avoid=20processing=20t?= =?UTF-8?q?ime=20to=20load=20very=20long=20queries=20from=20history;=20thi?= =?UTF-8?q?s=20also=20decreases=20the=20memory=20usage=20-=20added=20"Inse?= =?UTF-8?q?rt=20Next/Previous=20History=20Query"=20logic=20bound=20to=20^?= =?UTF-8?q?=E2=86=91=20and=20^=E2=86=93=20-=20fixed=20tiny=20GUI=20spacing?= =?UTF-8?q?=20problem=20in=20Custom=20Query?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Interfaces/English.lproj/DBView.xib | 246 +++++++++++++++++++++++++++++++++--- 1 file changed, 229 insertions(+), 17 deletions(-) (limited to 'Interfaces') diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index 784d7bf5..2fe957de 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -23,9 +23,8 @@ YES - - + YES @@ -3393,6 +3392,7 @@ + 1 YES 3 YES @@ -3403,7 +3403,7 @@ 268 - {{-10, 245}, {46, 25}} + {{-10, 245}, {48, 25}} YES @@ -3476,7 +3476,6 @@ - YES Previous Query from History 262144 @@ -3489,7 +3488,6 @@ - YES Next Query from History 262144 @@ -3674,7 +3672,7 @@ YES - 17 + 4 YES 1 YES @@ -8542,7 +8540,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 {3.40282e+38, 3.40282e+38} {350, 250} - + 256 YES @@ -8739,7 +8737,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 {{1, 17}, {423, 141}} - 6 @@ -8773,7 +8770,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 {{1, 0}, {423, 17}} - 4 @@ -8782,7 +8778,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 {{20, 45}, {425, 159}} - 530 @@ -8927,7 +8922,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 {465, 294} - {{0, 0}, {1920, 1178}} {350, 272} @@ -15201,6 +15195,38 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 6759 + + + previousHistoryMenuItem + + + + 6760 + + + + gearMenuItemSelected: + + + + 6761 + + + + nextHistoryMenuItem + + + + 6762 + + + + gearMenuItemSelected: + + + + 6763 + @@ -22166,7 +22192,9 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 5289.IBPluginDependency 5290.IBPluginDependency 5291.IBPluginDependency + 5292.IBAttributePlaceholdersKey 5292.IBPluginDependency + 5293.IBAttributePlaceholdersKey 5293.IBPluginDependency 5295.IBPluginDependency 5296.IBPluginDependency @@ -23079,7 +23107,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin - {{510, 680}, {212, 108}} + {{1640, 470}, {212, 108}} com.apple.InterfaceBuilder.CocoaPlugin @@ -23104,7 +23132,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin - {{600, 690}, {212, 108}} + {{517, 559}, {212, 108}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -23663,10 +23691,10 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{139, 140}, {944, 550}} + {{148, 290}, {944, 550}} com.apple.InterfaceBuilder.CocoaPlugin - {{139, 140}, {944, 550}} + {{148, 290}, {944, 550}} {{62, 352}, {845, 504}} @@ -23832,7 +23860,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{522, 364}, {256, 445}} + {{1592, 135}, {256, 445}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -23840,7 +23868,23 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Replaces the current query by the previous one coming from the history. + + com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Replaces the current query by the next one coming from the history. + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -24852,7 +24896,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 - 6759 + 6763 @@ -26438,6 +26482,174 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 YES + + CustomQuery + NSObject + + YES + + YES + chooseQueryFavorite: + chooseQueryHistory: + clearQueryHistory: + closeSheet: + copyQueryHistory: + filterQueryFavorites: + filterQueryHistory: + gearMenuItemSelected: + helpSearchFindNextInPage: + helpSearchFindPreviousInPage: + helpSegmentDispatcher: + helpSelectHelpTargetMySQL: + helpSelectHelpTargetPage: + helpSelectHelpTargetWeb: + helpTargetDispatcher: + runAllQueries: + runSelectedQueries: + saveQueryHistory: + showAutoHelpForCurrentWord: + showHelpForCurrentWord: + showHelpForSearchString: + + + YES + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + + + + YES + + YES + affectedRowsText + autohelpMenuItem + autoindentMenuItem + autopairMenuItem + autouppercaseKeywordsMenuItem + clearHistoryMenuItem + commentCurrentQueryMenuItem + commentLineOrSelectionMenuItem + completionListMenuItem + copyHistoryMenuItem + customQueryScrollView + customQueryView + editorFontMenuItem + encodingPopUp + errorText + helpNavigator + helpSearchField + helpSearchFieldCell + helpTargetSelector + helpWebView + helpWebViewWindow + multipleLineEditingButton + nextHistoryMenuItem + previousHistoryMenuItem + queryFavoriteNameTextField + queryFavoritesButton + queryFavoritesSaveAllMenuItem + queryFavoritesSaveAsMenuItem + queryFavoritesSearchField + queryFavoritesSearchFieldView + queryFavoritesSearchMenuItem + queryFavoritesSheet + queryHistoryButton + queryHistorySearchField + queryHistorySearchFieldView + queryHistorySearchMenuItem + runAllButton + runAllMenuItem + runSelectionButton + runSelectionMenuItem + saveHistoryMenuItem + saveQueryFavoriteButton + saveQueryFavoriteGlobal + shiftLeftMenuItem + shiftRightMenuItem + tableDocumentInstance + tableWindow + textView + valueSheet + valueTextField + + + YES + id + NSMenuItem + NSMenuItem + NSMenuItem + NSMenuItem + NSMenuItem + NSMenuItem + NSMenuItem + NSMenuItem + NSMenuItem + NSScrollView + CMCopyTable + NSMenuItem + NSPopUpButton + id + NSSegmentedControl + NSSearchField + NSSearchFieldCell + NSSegmentedControl + WebView + NSWindow + id + NSMenuItem + NSMenuItem + NSTextField + id + NSMenuItem + NSMenuItem + NSSearchField + id + NSMenuItem + NSWindow + id + NSSearchField + id + NSMenuItem + id + NSMenuItem + id + NSMenuItem + NSMenuItem + NSButton + id + NSMenuItem + NSMenuItem + id + id + CMTextView + id + id + + + + IBDocumentRelativeSource + ../../Source/CustomQuery.h + + TableDump NSObject -- cgit v1.2.3