Commit Graph

912 Commits

Author SHA1 Message Date
Ansgar Becker
cd9dc5cd48 Fix reconnection logic: restore active database, connected timer and server uptime in statusbar 2009-01-05 20:52:59 +00:00
Ansgar Becker
a3902ce6ba Repeat what I tried in r2184: Squeeze statusbar to the very bottom. 2009-01-05 19:48:05 +00:00
Ansgar Becker
af7e11e9e5 Fix comment 2009-01-05 18:35:25 +00:00
Ansgar Becker
98bb9c07f4 More compact and informative connect / disconnect messages in log 2009-01-05 18:28:28 +00:00
Ansgar Becker
925f42ffc7 Fix old query result from disconnected session being displayed as Node|Node|... 2009-01-05 18:09:49 +00:00
Ansgar Becker
e8ee48635e Do file logging to correct filename after connecting a different server. 2009-01-04 22:10:49 +00:00
Ansgar Becker
e6cb169193 Avoid unusable main form after failed session connect. Keep the old connection alive until it is verified that the new one is available. Moves code out of PerformConnect to DoAfterConnect.
Todo: Fix reconnection logic, see bug #858
2009-01-04 21:59:36 +00:00
Ansgar Becker
58c034ded8 Add session menu items to main menu, submenu of "File" : "Connect to" 2009-01-04 15:54:07 +00:00
Ansgar Becker
7ce39e4e58 Disable Zeos' disconnect message and create a nicer one in main.pas 2009-01-04 14:49:55 +00:00
Ansgar Becker
d7e3dcb678 Apply bigger font size of appname in about dialog, broken in r1718. 2009-01-04 14:39:28 +00:00
Ansgar Becker
bd797adebf Fulfill rfe #524: Ctrl+tab navigation 2009-01-04 14:34:57 +00:00
Ansgar Becker
57efab6097 Implement connecting to a different session per connections pulldown menu. 2009-01-04 12:18:16 +00:00
Ansgar Becker
4f74105032 Fix visible but unwanted tabs when lastUsedDB is empty 2009-01-03 21:19:18 +00:00
Ansgar Becker
97879fa5a3 Fix handling of SessionName in command line mode 2009-01-03 21:08:18 +00:00
Ansgar Becker
d6e40bef96 Use Main.SessionName as a replacement for FConn.Description. 2009-01-03 19:22:22 +00:00
Ansgar Becker
d8246b485f Clean up start up routines:
* Merge code from ReadWindowOptions() into FormCreate()
* Move session unrelated stuff from InitConnection() to FormCreate() or - where necessairy - to FormShow()
2009-01-03 18:06:17 +00:00
Ansgar Becker
909d31fd64 Simplify writing settings to registry:
* Keep only one TRegistry object in memory instead of creating a new one in each routine.
* Move out relevant functions and TRegistry object from main to helpers to make them usable globally.
2009-01-03 17:16:11 +00:00
Ansgar Becker
9bd350cf58 Fix bug #934 2009-01-03 16:03:04 +00:00
Ansgar Becker
206915583b Hopefully fix wrong component order of splitterTopBottom and SynMemoSQLLog in autobuild mode. 2009-01-02 19:54:23 +00:00
Ansgar Becker
2b873d94cb Fix compiler error, broken in previous commit 2009-01-02 14:41:13 +00:00
Ansgar Becker
886094d848 Update function hints with newer descriptions, fetched from the mysql documentation. 2009-01-02 14:36:20 +00:00
Ansgar Becker
9074d5b7ca Fix AV after cancelling connection dialog 2009-01-01 23:34:00 +00:00
Ansgar Becker
f1b3f5501f Remove last traces of MDI (issue #513). Merges code, controls and events from childwin into main. 2009-01-01 23:24:36 +00:00
Ansgar Becker
2643efc845 Minor code simplification 2008-12-28 19:53:31 +00:00
Ansgar Becker
bce67dc113 Fix bug #812: unable to edit time of datetime in datagrid. Displays two picker controls on datetime and timestamp columns to overcome a limitation of the TDatePicker, which allows either the date or the time portion to be edited but never both of them. 2008-12-28 16:27:21 +00:00
Ansgar Becker
6c941f2f9c Fulfill issue #885: Make create table form resizable 2008-12-28 11:33:13 +00:00
Ansgar Becker
bc58797405 Implement per session background color selection for database tree. rfe #896. 2008-12-28 10:56:47 +00:00
Ansgar Becker
d408dd3ba3 Code cosmetic: Printing list or grids doesn't make any difference now. 2008-12-27 19:47:30 +00:00
Ansgar Becker
32c7c9e906 Add menu item "Copy grid data as SQL" to main menu. 2008-12-26 19:26:45 +00:00
Ansgar Becker
561c5ad697 Add option to save grid data to SQL file. rfe #790 2008-12-26 19:21:40 +00:00
Ansgar Becker
f0459f9671 Fix AV, broken in r2130 2008-12-26 18:28:10 +00:00
Ansgar Becker
dfd64df4b6 Apply grid changes by click in grid whitespace, rfe #839 2008-12-26 14:23:59 +00:00
Ansgar Becker
7c5dec6968 No need to press Ctrl to make an URI in a help text clickable. 2008-12-26 13:56:40 +00:00
Ansgar Becker
a3a229a02e Add extra quick filter items with IS NULL and IS NOT NULL (rfe #477). For cases in which the focused cell is not NULL. 2008-12-26 13:52:13 +00:00
Ansgar Becker
f050baf1da Make quick filter menu work with NULL values when a NULL cell is focused (rfe #477) 2008-12-26 08:16:26 +00:00
Ansgar Becker
a958a01a65 Follow up to r2107: Indicate selectable SynEdit keywords by mouse cursor 2008-12-25 10:30:11 +00:00
Ansgar Becker
5a09fac960 Implement rfe #792: Copy grid data as SQL 2008-12-25 10:26:16 +00:00
Ansgar Becker
30e6e5a403 Do not readd auto_increment property if indexes were deselected in copy table dialog. Issue #918. 2008-12-17 20:00:52 +00:00
Ansgar Becker
874a95121f Support index names with reserved words or spaces in it. Issue #918. 2008-12-17 19:56:00 +00:00
Ansgar Becker
e6b3788924 Implement selection of pulldown attribute by click into SynMemo 2008-12-16 21:19:18 +00:00
Ansgar Becker
107bb0398d Fix bug #916: UNIX newline style auto converted to Windows style when executing queries . Extends escChars() to spit out \r + \n for new line chars, and tries not to break performance in that method. 2008-12-16 20:33:24 +00:00
Ansgar Becker
6f600f281c Code cosmetic - use VT.Text[] instead of long named arrays in "HTML view" 2008-12-16 17:22:00 +00:00
Ansgar Becker
3dd7e84220 Fix bug #915: HTML-View only export the first 256 characters in "Data" tab 2008-12-16 17:14:58 +00:00
Ansgar Becker
d97ac10323 Work around access violation in SynEdit by postponing change event to OnExit (bug #914) 2008-12-16 10:45:23 +00:00
Ansgar Becker
5466bca02b Add missing event handler for various numeric preference options. Issue #914 2008-12-16 10:28:40 +00:00
Ansgar Becker
f7a4832169 Fix bug #907: Editing a ´set´-field (can't see dropdown when record is the last row on screen). Adds extra space below the last row so that the SET editor is fully visible. 2008-12-15 12:44:13 +00:00
Ansgar Becker
6d641a1f29 Add date/time to SQL output, issue #483 2008-12-12 21:20:13 +00:00
Ansgar Becker
62c2a8dc6a Allow update checking each time the application is started ("0" in preferences option) 2008-12-12 21:11:19 +00:00
Ansgar Becker
5249426f25 Fix bug #866 : "Copy grid data as HTML" produces overlapping data in IE with very wide tables.
"white-space:pre" works similar like <pre></pre> which can cause more layout problems than it has good impact.
2008-12-12 19:57:33 +00:00
Ansgar Becker
9aca73cc5b Add inbetween panel to main statusbar, containing [line]:[char] for the query memo 2008-12-10 23:36:35 +00:00