diff options
Diffstat (limited to 'Resources')
57 files changed, 188 insertions, 0 deletions
diff --git a/Resources/Growl Registration Ticket.growlRegDict b/Resources/Growl Registration Ticket.growlRegDict new file mode 100644 index 00000000..e2992404 --- /dev/null +++ b/Resources/Growl Registration Ticket.growlRegDict @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>AllNotifications</key> + <array> + <string>Connected</string> + <string>Disconnected</string> + <string>Import Finished</string> + <string>Export Finished</string> + <string>Table Syntax Copied</string> + <string>Query Finished</string> + </array> + <key>DefaultNotifications</key> + <array> + <string>Connected</string> + <string>Disconnected</string> + <string>Import Finished</string> + <string>Export Finished</string> + <string>Table Syntax Copied</string> + <string>Query Finished</string> + </array> + <key>TicketVersion</key> + <integer>1</integer> +</dict> +</plist> diff --git a/Resources/Images/CodeAssistantProtocol.tiff b/Resources/Images/CodeAssistantProtocol.tiff Binary files differnew file mode 100644 index 00000000..5e701423 --- /dev/null +++ b/Resources/Images/CodeAssistantProtocol.tiff diff --git a/Resources/Images/appicon.icns b/Resources/Images/appicon.icns Binary files differnew file mode 100644 index 00000000..a4c1523c --- /dev/null +++ b/Resources/Images/appicon.icns diff --git a/Resources/Images/clearconsole.tiff b/Resources/Images/clearconsole.tiff Binary files differnew file mode 100644 index 00000000..ec7d181a --- /dev/null +++ b/Resources/Images/clearconsole.tiff diff --git a/Resources/Images/columnadd.tiff b/Resources/Images/columnadd.tiff Binary files differnew file mode 100644 index 00000000..1eaa8822 --- /dev/null +++ b/Resources/Images/columnadd.tiff diff --git a/Resources/Images/columncopy.tiff b/Resources/Images/columncopy.tiff Binary files differnew file mode 100644 index 00000000..55848ac1 --- /dev/null +++ b/Resources/Images/columncopy.tiff diff --git a/Resources/Images/columndelete.tiff b/Resources/Images/columndelete.tiff Binary files differnew file mode 100644 index 00000000..5ddee6ff --- /dev/null +++ b/Resources/Images/columndelete.tiff diff --git a/Resources/Images/columnrefresh.tiff b/Resources/Images/columnrefresh.tiff Binary files differnew file mode 100644 index 00000000..37ba5d75 --- /dev/null +++ b/Resources/Images/columnrefresh.tiff diff --git a/Resources/Images/connectionadd.tiff b/Resources/Images/connectionadd.tiff Binary files differnew file mode 100644 index 00000000..73437571 --- /dev/null +++ b/Resources/Images/connectionadd.tiff diff --git a/Resources/Images/connectioncopy.tiff b/Resources/Images/connectioncopy.tiff Binary files differnew file mode 100644 index 00000000..1072e270 --- /dev/null +++ b/Resources/Images/connectioncopy.tiff diff --git a/Resources/Images/connectiondelete.tiff b/Resources/Images/connectiondelete.tiff Binary files differnew file mode 100644 index 00000000..edd40a9e --- /dev/null +++ b/Resources/Images/connectiondelete.tiff diff --git a/Resources/Images/connectionrefresh.tiff b/Resources/Images/connectionrefresh.tiff Binary files differnew file mode 100644 index 00000000..4dd27062 --- /dev/null +++ b/Resources/Images/connectionrefresh.tiff diff --git a/Resources/Images/createtablesyntax.tiff b/Resources/Images/createtablesyntax.tiff Binary files differnew file mode 100644 index 00000000..0bf7f1a2 --- /dev/null +++ b/Resources/Images/createtablesyntax.tiff diff --git a/Resources/Images/databases.tiff b/Resources/Images/databases.tiff Binary files differnew file mode 100644 index 00000000..f535fb2c --- /dev/null +++ b/Resources/Images/databases.tiff diff --git a/Resources/Images/dbadd.tiff b/Resources/Images/dbadd.tiff Binary files differnew file mode 100644 index 00000000..8b5a71ca --- /dev/null +++ b/Resources/Images/dbadd.tiff diff --git a/Resources/Images/dbdelete.tiff b/Resources/Images/dbdelete.tiff Binary files differnew file mode 100644 index 00000000..0b1c1eaf --- /dev/null +++ b/Resources/Images/dbdelete.tiff diff --git a/Resources/Images/dbrefresh.tiff b/Resources/Images/dbrefresh.tiff Binary files differnew file mode 100644 index 00000000..e85c6d1e --- /dev/null +++ b/Resources/Images/dbrefresh.tiff diff --git a/Resources/Images/flushprivileges.tiff b/Resources/Images/flushprivileges.tiff Binary files differnew file mode 100644 index 00000000..94c4fca1 --- /dev/null +++ b/Resources/Images/flushprivileges.tiff diff --git a/Resources/Images/grabber-horizontal.png b/Resources/Images/grabber-horizontal.png Binary files differnew file mode 100644 index 00000000..2604c89a --- /dev/null +++ b/Resources/Images/grabber-horizontal.png diff --git a/Resources/Images/grabber-vertical.png b/Resources/Images/grabber-vertical.png Binary files differnew file mode 100644 index 00000000..b93c1211 --- /dev/null +++ b/Resources/Images/grabber-vertical.png diff --git a/Resources/Images/hideconsole.tiff b/Resources/Images/hideconsole.tiff Binary files differnew file mode 100644 index 00000000..d6c116ea --- /dev/null +++ b/Resources/Images/hideconsole.tiff diff --git a/Resources/Images/indexadd.tiff b/Resources/Images/indexadd.tiff Binary files differnew file mode 100644 index 00000000..b985d693 --- /dev/null +++ b/Resources/Images/indexadd.tiff diff --git a/Resources/Images/indexdelete.tiff b/Resources/Images/indexdelete.tiff Binary files differnew file mode 100644 index 00000000..d692adf7 --- /dev/null +++ b/Resources/Images/indexdelete.tiff diff --git a/Resources/Images/logo-48.png b/Resources/Images/logo-48.png Binary files differnew file mode 100644 index 00000000..ca8ddbcf --- /dev/null +++ b/Resources/Images/logo-48.png diff --git a/Resources/Images/optimizetable.tiff b/Resources/Images/optimizetable.tiff Binary files differnew file mode 100644 index 00000000..761e44cd --- /dev/null +++ b/Resources/Images/optimizetable.tiff diff --git a/Resources/Images/query.tiff b/Resources/Images/query.tiff Binary files differnew file mode 100644 index 00000000..4d7d23e1 --- /dev/null +++ b/Resources/Images/query.tiff diff --git a/Resources/Images/queryadd.tiff b/Resources/Images/queryadd.tiff Binary files differnew file mode 100644 index 00000000..e174b9b0 --- /dev/null +++ b/Resources/Images/queryadd.tiff diff --git a/Resources/Images/querycopy.tiff b/Resources/Images/querycopy.tiff Binary files differnew file mode 100644 index 00000000..54f43e93 --- /dev/null +++ b/Resources/Images/querycopy.tiff diff --git a/Resources/Images/querydelete.tiff b/Resources/Images/querydelete.tiff Binary files differnew file mode 100644 index 00000000..98e5a0c1 --- /dev/null +++ b/Resources/Images/querydelete.tiff diff --git a/Resources/Images/queryrefresh.tiff b/Resources/Images/queryrefresh.tiff Binary files differnew file mode 100644 index 00000000..5d233769 --- /dev/null +++ b/Resources/Images/queryrefresh.tiff diff --git a/Resources/Images/reload.tiff b/Resources/Images/reload.tiff Binary files differnew file mode 100644 index 00000000..40d020e5 --- /dev/null +++ b/Resources/Images/reload.tiff diff --git a/Resources/Images/rowadd.tiff b/Resources/Images/rowadd.tiff Binary files differnew file mode 100644 index 00000000..9cc750b6 --- /dev/null +++ b/Resources/Images/rowadd.tiff diff --git a/Resources/Images/rowcopy.tiff b/Resources/Images/rowcopy.tiff Binary files differnew file mode 100644 index 00000000..348a53ce --- /dev/null +++ b/Resources/Images/rowcopy.tiff diff --git a/Resources/Images/rowdelete.tiff b/Resources/Images/rowdelete.tiff Binary files differnew file mode 100644 index 00000000..8f5cd340 --- /dev/null +++ b/Resources/Images/rowdelete.tiff diff --git a/Resources/Images/rowrefresh.tiff b/Resources/Images/rowrefresh.tiff Binary files differnew file mode 100644 index 00000000..09231808 --- /dev/null +++ b/Resources/Images/rowrefresh.tiff diff --git a/Resources/Images/selectall.tiff b/Resources/Images/selectall.tiff Binary files differnew file mode 100644 index 00000000..17b35cad --- /dev/null +++ b/Resources/Images/selectall.tiff diff --git a/Resources/Images/selectnone.tiff b/Resources/Images/selectnone.tiff Binary files differnew file mode 100644 index 00000000..de505f10 --- /dev/null +++ b/Resources/Images/selectnone.tiff diff --git a/Resources/Images/sheettotable.tiff b/Resources/Images/sheettotable.tiff Binary files differnew file mode 100644 index 00000000..90f7ccb7 --- /dev/null +++ b/Resources/Images/sheettotable.tiff diff --git a/Resources/Images/showconsole.tiff b/Resources/Images/showconsole.tiff Binary files differnew file mode 100644 index 00000000..861be377 --- /dev/null +++ b/Resources/Images/showconsole.tiff diff --git a/Resources/Images/showvariables.tiff b/Resources/Images/showvariables.tiff Binary files differnew file mode 100644 index 00000000..4c4b3400 --- /dev/null +++ b/Resources/Images/showvariables.tiff diff --git a/Resources/Images/spyglass.tiff b/Resources/Images/spyglass.tiff Binary files differnew file mode 100644 index 00000000..0a561926 --- /dev/null +++ b/Resources/Images/spyglass.tiff diff --git a/Resources/Images/table-small.tif b/Resources/Images/table-small.tif Binary files differnew file mode 100644 index 00000000..d3c3a705 --- /dev/null +++ b/Resources/Images/table-small.tif diff --git a/Resources/Images/tableadd.tiff b/Resources/Images/tableadd.tiff Binary files differnew file mode 100644 index 00000000..792277d9 --- /dev/null +++ b/Resources/Images/tableadd.tiff diff --git a/Resources/Images/tablecopy.tiff b/Resources/Images/tablecopy.tiff Binary files differnew file mode 100644 index 00000000..39e8bbdd --- /dev/null +++ b/Resources/Images/tablecopy.tiff diff --git a/Resources/Images/tabledelete.tiff b/Resources/Images/tabledelete.tiff Binary files differnew file mode 100644 index 00000000..a915bf8e --- /dev/null +++ b/Resources/Images/tabledelete.tiff diff --git a/Resources/Images/tablerefresh.tiff b/Resources/Images/tablerefresh.tiff Binary files differnew file mode 100644 index 00000000..f452b4bb --- /dev/null +++ b/Resources/Images/tablerefresh.tiff diff --git a/Resources/Images/tables.tiff b/Resources/Images/tables.tiff Binary files differnew file mode 100644 index 00000000..217dcd07 --- /dev/null +++ b/Resources/Images/tables.tiff diff --git a/Resources/Images/tabletosheet.tiff b/Resources/Images/tabletosheet.tiff Binary files differnew file mode 100644 index 00000000..a35755e5 --- /dev/null +++ b/Resources/Images/tabletosheet.tiff diff --git a/Resources/Images/textencode.tiff b/Resources/Images/textencode.tiff Binary files differnew file mode 100644 index 00000000..671ade4d --- /dev/null +++ b/Resources/Images/textencode.tiff diff --git a/Resources/Images/toolbar-switch-to-browse.png b/Resources/Images/toolbar-switch-to-browse.png Binary files differnew file mode 100644 index 00000000..762659f8 --- /dev/null +++ b/Resources/Images/toolbar-switch-to-browse.png diff --git a/Resources/Images/toolbar-switch-to-sql.png b/Resources/Images/toolbar-switch-to-sql.png Binary files differnew file mode 100644 index 00000000..9c1a58a1 --- /dev/null +++ b/Resources/Images/toolbar-switch-to-sql.png diff --git a/Resources/Images/toolbar-switch-to-structure.png b/Resources/Images/toolbar-switch-to-structure.png Binary files differnew file mode 100644 index 00000000..0e2c819a --- /dev/null +++ b/Resources/Images/toolbar-switch-to-structure.png diff --git a/Resources/Images/toolbar-switch-to-table-info.png b/Resources/Images/toolbar-switch-to-table-info.png Binary files differnew file mode 100644 index 00000000..3a72aecf --- /dev/null +++ b/Resources/Images/toolbar-switch-to-table-info.png diff --git a/Resources/Info.plist b/Resources/Info.plist new file mode 100644 index 00000000..e3851dd8 --- /dev/null +++ b/Resources/Info.plist @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleDocumentTypes</key> + <array> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>????</string> + </array> + <key>CFBundleTypeIconFile</key> + <string>appicon.icns</string> + <key>CFBundleTypeName</key> + <string>DocumentType</string> + <key>CFBundleTypeOSTypes</key> + <array> + <string>????</string> + </array> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>NSDocumentClass</key> + <string>TableDocument</string> + </dict> + </array> + <key>CFBundleExecutable</key> + <string>${EXECUTABLE_NAME}</string> + <key>CFBundleHelpBookFolder</key> + <string>english_help</string> + <key>CFBundleHelpBookName</key> + <string>Sequel Pro Help</string> + <key>CFBundleIconFile</key> + <string>appicon.icns</string> + <key>CFBundleIdentifier</key> + <string>com.google.code.sequel-pro</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>0.9.3</string> + <key>CFBundleVersion</key> + <string>238</string> + <key>NSAppleScriptEnabled</key> + <string>YES</string> + <key>NSHumanReadableCopyright</key> + <string>0.9.3 (238)</string> + <key>NSMainNibFile</key> + <string>MainMenu</string> + <key>NSPrincipalClass</key> + <string>NSApplication</string> + <key>NSServices</key> + <array> + <dict> + <key>NSKeyEquivalent</key> + <dict> + <key>default</key> + <string>M</string> + </dict> + <key>NSMenuItem</key> + <dict> + <key>default</key> + <string>Sequel Pro/Perform selection as MySQL query</string> + </dict> + <key>NSMessage</key> + <string>doPerformQueryService</string> + <key>NSPortName</key> + <string>Sequel Pro</string> + <key>NSSendTypes</key> + <array> + <string>NSStringPboardType</string> + </array> + </dict> + </array> + <key>SUFeedURL</key> + <string>http://sequelpro.com/appcast/app-releases.xml</string> +</dict> +</plist> diff --git a/Resources/askForPass.sh b/Resources/askForPass.sh new file mode 100755 index 00000000..9dc68933 --- /dev/null +++ b/Resources/askForPass.sh @@ -0,0 +1,12 @@ +#!/bin/sh +PF=$* +UUID=`uuidgen` +mkfifo /tmp/$UUID +SCRIPT=`echo tell application \"Sequel Pro\" to authenticate tunnel \"$TUNNEL_NAME\" query phrase \"$PF\" fifo \"/tmp/$UUID\"` +echo $SCRIPT > /tmp/test +#PASS=`osascript -e "$SCRIPT"`; +osascript -e "$SCRIPT" > /dev/null 2>&1 +#echo $PASS; +PASS=`cat /tmp/$UUID` +echo $PASS +rm -f /tmp/$UUID
\ No newline at end of file diff --git a/Resources/sequel-pro.scriptSuite b/Resources/sequel-pro.scriptSuite new file mode 100644 index 00000000..74053c27 --- /dev/null +++ b/Resources/sequel-pro.scriptSuite @@ -0,0 +1,37 @@ +{ + "Name" = "Sequel Pro"; + "AppleEventCode" = "cmec"; + + "Classes" = { + "MainController" = { + "Superclass" = "NSCoreSuite.NSAbstractObject"; + "AppleEventCode" = "capp"; + "SupportedCommands" = { + "authenticate" = "authenticate:"; + "NSCoreSuite.Quit" = "handleQuitScriptCommand:"; + }; + }; + }; + "Commands" = { + "authenticate" = { + "CommandClass" = "NSScriptCommand"; + "AppleEventCode" = "auth"; + "Class" = "NSString"; + "ResultAppleEventCode" = "****"; + "Arguments" = { + "query" = { + "Type" = "NSString"; + "AppleEventCode" = "qery"; + }; + "fifo" = { + "Type" = "NSString"; + "AppleEventCode" = "fifo"; + }; + "tunnelName" = { + "Type" = "NSString"; + "AppleEventCode" = "tunn"; + }; + }; + }; + }; +}
\ No newline at end of file diff --git a/Resources/sequel-pro.scriptTerminology b/Resources/sequel-pro.scriptTerminology new file mode 100644 index 00000000..78ff78dc --- /dev/null +++ b/Resources/sequel-pro.scriptTerminology @@ -0,0 +1,31 @@ +{ + "Name" = "Sequel Pro suite"; + "Description" = "Suite for handling tunnel management"; + "Classes" = { + "MainController" = { + "Name" = "application"; + "PluralName" = "applications"; + "Description" = "Sequel Pro application"; + }; + }; + "Commands" = { + "authenticate" = { + "Name" = "authenticate"; + "Description" = "Open the dialog asking for password or passphrase"; + "Arguments" = { + "query" = { + "Name" = "query phrase"; + "Description" = "The string to show in the dialog"; + }; + "fifo" = { + "Name" = "fifo"; + "Description" = "The FIFO file where expecting the passphrase"; + }; + "tunnelName" = { + "Name" = "tunnel"; + "Description" = "Tunnel's name"; + }; + }; + }; + }; +}
\ No newline at end of file |