diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-15 12:04:36 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-15 12:04:36 +0000 |
commit | 89c1a27700dff50d7c8c1cf76196abbec69f9024 (patch) | |
tree | 8d20f5a00ac09050e2010af3db0546b3f2e19374 /Resources | |
parent | 6ca2488a6679f574368a5b7475875f410cb7ec69 (diff) | |
download | sequelpro-89c1a27700dff50d7c8c1cf76196abbec69f9024.tar.gz sequelpro-89c1a27700dff50d7c8c1cf76196abbec69f9024.tar.bz2 sequelpro-89c1a27700dff50d7c8c1cf76196abbec69f9024.zip |
• Quicklook support
- used embedded icon image via cid and mime type image/tiff
- sql view now wraps long lines
- improved general stability
- QL now runs on main thread
note: there're still some issues for which QL crashed mostly due NSAutoReleasePool releases - more investigations are needed; most of this issues are releted to long lines, icon caching, releasing ...
Diffstat (limited to 'Resources')
11 files changed, 32 insertions, 16 deletions
diff --git a/Resources/English.lproj/SPQLPluginConnectionBundleTemplate.html b/Resources/English.lproj/SPQLPluginConnectionBundleTemplate.html index c97fb4bc..b3348134 100644 --- a/Resources/English.lproj/SPQLPluginConnectionBundleTemplate.html +++ b/Resources/English.lproj/SPQLPluginConnectionBundleTemplate.html @@ -14,7 +14,7 @@ body { <table> <tr> <td valign="right"> -<img width="128" height="128" src="data:image/auto;base64,%@"> +<img width="128" heigth="128" src="cid:icon.tiff"> </td> <td> <center> diff --git a/Resources/English.lproj/SPQLPluginConnectionTemplate.html b/Resources/English.lproj/SPQLPluginConnectionTemplate.html index 48345fcb..7d8ea5ed 100644 --- a/Resources/English.lproj/SPQLPluginConnectionTemplate.html +++ b/Resources/English.lproj/SPQLPluginConnectionTemplate.html @@ -14,7 +14,7 @@ body { <table> <tr> <td valign="right"> -<img width="200%" src="data:image/auto;base64,%@"> +<img width="128" heigth="128" src="cid:icon.tiff"> </td> <td> <center> diff --git a/Resources/English.lproj/SPQLPluginContentFiltersTemplate.html b/Resources/English.lproj/SPQLPluginContentFiltersTemplate.html index b6765826..710911c3 100644 --- a/Resources/English.lproj/SPQLPluginContentFiltersTemplate.html +++ b/Resources/English.lproj/SPQLPluginContentFiltersTemplate.html @@ -14,7 +14,7 @@ body { <table> <tr> <td valign="right"> -<img width="200%" src="data:image/auto;base64,%@"> +<img width="128" heigth="128" src="cid:icon.tiff"> </td> <td> <center> diff --git a/Resources/English.lproj/SPQLPluginQueryFavoritesTemplate.html b/Resources/English.lproj/SPQLPluginQueryFavoritesTemplate.html index 5a04861d..2928617f 100644 --- a/Resources/English.lproj/SPQLPluginQueryFavoritesTemplate.html +++ b/Resources/English.lproj/SPQLPluginQueryFavoritesTemplate.html @@ -14,7 +14,7 @@ body { <table> <tr> <td valign="right"> -<img width="200%" src="data:image/auto;base64,%@"> +<img width="128" heigth="128" src="cid:icon.tiff"> </td> <td> <center> diff --git a/Resources/English.lproj/SPQLPluginSQLTemplate.html b/Resources/English.lproj/SPQLPluginSQLTemplate.html index 65ba2a3c..31e182ec 100644 --- a/Resources/English.lproj/SPQLPluginSQLTemplate.html +++ b/Resources/English.lproj/SPQLPluginSQLTemplate.html @@ -7,6 +7,14 @@ body { font-family:'Lucida Grande'; font-size:10pt; } +pre { + font-family:'Monaco'; + font-size:9pt; +} +.wrappedPre { + font-family:'Monaco'; + font-size:9pt; +} </style> </head> <body> @@ -14,7 +22,7 @@ body { <table> <tr> <td valign="right"> -<img width="128" height="128" src="data:image/auto;base64,%@"> +<img width="128" height="128" src="cid:icon.tiff"> </td> <td> <center> @@ -25,8 +33,8 @@ size: %@ </tr> </table> </center> -<pre> +<span class="wrappedPre"> %@ -</pre> +</span> </body> </html> diff --git a/Resources/German.lproj/SPQLPluginConnectionBundleTemplate.html b/Resources/German.lproj/SPQLPluginConnectionBundleTemplate.html index 6dea8846..01ccffd7 100644 --- a/Resources/German.lproj/SPQLPluginConnectionBundleTemplate.html +++ b/Resources/German.lproj/SPQLPluginConnectionBundleTemplate.html @@ -14,7 +14,7 @@ body { <table> <tr> <td valign="right"> -<img width="128" heigth="128" src="data:image/auto;base64,%@"> +<img width="128" heigth="128" src="cid:icon.tiff"> </td> <td> <center> diff --git a/Resources/German.lproj/SPQLPluginConnectionTemplate.html b/Resources/German.lproj/SPQLPluginConnectionTemplate.html index c1e3dc45..e5a9de41 100644 --- a/Resources/German.lproj/SPQLPluginConnectionTemplate.html +++ b/Resources/German.lproj/SPQLPluginConnectionTemplate.html @@ -14,7 +14,7 @@ body { <table> <tr> <td valign="right"> -<img width="200%" src="data:image/auto;base64,%@"> +<img width="128" heigth="128" src="cid:icon.tiff"> </td> <td> <center> diff --git a/Resources/German.lproj/SPQLPluginContentFiltersTemplate.html b/Resources/German.lproj/SPQLPluginContentFiltersTemplate.html index cc3d2828..834fa6c7 100644 --- a/Resources/German.lproj/SPQLPluginContentFiltersTemplate.html +++ b/Resources/German.lproj/SPQLPluginContentFiltersTemplate.html @@ -14,7 +14,7 @@ body { <table> <tr> <td valign="right"> -<img width="200%" src="data:image/auto;base64,%@"> +<img width="128" heigth="128" src="cid:icon.tiff"> </td> <td> <center> diff --git a/Resources/German.lproj/SPQLPluginQueryFavoritesTemplate.html b/Resources/German.lproj/SPQLPluginQueryFavoritesTemplate.html index 64494a9d..ad9a6403 100644 --- a/Resources/German.lproj/SPQLPluginQueryFavoritesTemplate.html +++ b/Resources/German.lproj/SPQLPluginQueryFavoritesTemplate.html @@ -14,7 +14,7 @@ body { <table> <tr> <td valign="right"> -<img width="200%" src="data:image/auto;base64,%@"> +<img width="128" heigth="128" src="cid:icon.tiff"> </td> <td> <center> diff --git a/Resources/German.lproj/SPQLPluginSQLTemplate.html b/Resources/German.lproj/SPQLPluginSQLTemplate.html index 41bff669..0ace0250 100644 --- a/Resources/German.lproj/SPQLPluginSQLTemplate.html +++ b/Resources/German.lproj/SPQLPluginSQLTemplate.html @@ -7,6 +7,14 @@ body { font-family:'Lucida Grande'; font-size:10pt; } +pre { + font-family:'Monaco'; + font-size:9pt; +} +.wrappedPre { + font-family:'Monaco'; + font-size:9pt; +} </style> </head> <body> @@ -14,7 +22,7 @@ body { <table> <tr> <td valign="right"> -<img width="128" heigth="128" src="data:image/auto;base64,%@"> +<img width="128" heigth="128" src="cid:icon.tiff"> </td> <td> <center> @@ -25,8 +33,8 @@ Größe: %@ </tr> </table> </center> -<pre> +<span class="wrappedPre"> %@ -</pre> +</span> </body> </html> diff --git a/Resources/Plists/Sequel Pro QLGenerator-Info.plist b/Resources/Plists/Sequel Pro QLGenerator-Info.plist index 59418aad..9fb710ab 100644 --- a/Resources/Plists/Sequel Pro QLGenerator-Info.plist +++ b/Resources/Plists/Sequel Pro QLGenerator-Info.plist @@ -50,13 +50,13 @@ <key>CFPlugInUnloadFunction</key> <string></string> <key>QLNeedsToBeRunInMainThread</key> - <false/> + <true/> <key>QLPreviewHeight</key> <integer>280</integer> <key>QLPreviewWidth</key> <integer>600</integer> <key>QLSupportsConcurrentRequests</key> - <false/> + <true/> <key>QLThumbnailMinimumSize</key> <real>17</real> </dict> |