Commit Graph

144 Commits

Author SHA1 Message Date
Ansgar Becker
d07cfcb7c6 Provide option "tabs to spaces" in preferences dialog. For space reasons, move highlighter options to new tab "Highlighter". Also, unify padding on tab sheets, and move "Ask for saving files" option to "SQL" tab. 2011-11-10 23:27:02 +00:00
Ansgar Becker
53444c700a Add "truncate table" feature to text import dialog. See http://www.heidisql.com/forum.php?t=9367 2011-11-10 22:15:42 +00:00
Ansgar Becker
783cbdbcc0 Save and restore settings in table tools dialog. Restore server selection only in export mode. Fixes issue #2520 and non-restored previous file settings. 2011-08-14 10:15:09 +00:00
Ansgar Becker
3824e552fe Rewrite import file dialog: Use a grid for column values, distinct between binary and text files 2011-07-11 06:13:50 +00:00
Ansgar Becker
2ed5c39916 Do not force quotation when identifier contains underline char. 2011-06-24 22:02:22 +00:00
Ansgar Becker
ed577e4482 Detect MariaDB, and use MariaDB icon in session manager, status bar and database tree. 2011-06-10 22:26:13 +00:00
Ansgar Becker
5e1d4645d2 Remove unused global constants 2011-05-27 20:16:04 +00:00
Ansgar Becker
624863d5e1 Store and restore state of multi queries option. Fixes issue #2384. 2011-05-05 17:19:22 +00:00
Ansgar Becker
3c11e6c5a8 Introduce a separate dialog for all "copy grid data as .." actions, including the file export. Fixes issue #1499. 2011-04-28 07:33:49 +00:00
Ansgar Becker
77c5b3e219 Fix window placement problems due to multi monitor setup and restored minimized window state. Fixes issue #2372. See also http://www.heidisql.com/forum.php?t=8126 2011-04-16 16:34:59 +00:00
Ansgar Becker
4fbf2c23dd Introduce experimental MS SQL support 2011-03-29 23:20:21 +00:00
Ansgar Becker
1c279fd85b Exclude chars between ord(Z) and ord(a) in non-quoted identifiers. Fixes issue #2293. 2011-02-03 22:00:34 +00:00
Ansgar Becker
199d7c6e0f Make plink.exe wait timeout configurable in session manager. Fixes issue #2236. 2010-11-28 12:47:00 +00:00
Ansgar Becker
ffb99d8962 Add right click option to toggle visibility of horizontal scrollbar in SQL log. http://www.heidisql.com/forum.php?t=6984 2010-11-24 23:39:22 +00:00
Ansgar Becker
6f95a796e1 Modify identifier quoting logic:
- Move QuoteIdent() and DeQuoteIdent() out of TMySQLConnection, make them classless
- Remove TMainForm.mask(), instead always use QuoteIdent()
- Introduce a third parameter to QuoteIdent(): "AlwaysQuote" - setting this to false will quote only if required
- Set AlwaysQuote to false for all stuff which drops some code into the query editor, see http://www.heidisql.com/forum.php?t=6986
2010-11-24 23:12:13 +00:00
Ansgar Becker
98300c9bd5 Make SET cell editor resizable, and store and restore its dimensions. Fixes issue #2212. 2010-11-13 21:16:36 +00:00
Ansgar Becker
be3e393534 Add "case sensitive" checkbox to "Find text on server" dialog. Fixes issue #2199. 2010-10-23 07:07:55 +00:00
Ansgar Becker
0fa6c15c9d Implement multiple connections per window. DBtree and friends now have their nodes bound to TDBObject instances. Fixes issue #2144. 2010-10-05 23:06:29 +00:00
Ansgar Becker
f42c62638c Display parameters of stored routines in completion proposal. Fixes issue #2149. 2010-09-20 22:12:07 +00:00
Ansgar Becker
243a553d9d Make prompt to save modified SQL text customizable. See http://www.heidisql.com/forum.php?t=6373 2010-09-19 18:52:22 +00:00
Ansgar Becker
22f9fa176b Make "Wrap long lines" button work globally, for all SynMemos except the SQL log. Also, store and restore its state when closing/opening HeidiSQL. See forum post: http://www.heidisql.com/forum.php?t=6476 2010-09-19 13:46:55 +00:00
Ansgar Becker
6cd5673a21 Remember sorted column and its sort direction, across sessions. Requested via forum: http://www.heidisql.com/forum.php?t=6419#p6423 2010-09-16 19:04:25 +00:00
Ansgar Becker
a08d0d9949 Remove feature: "Skip tables larger than X MB". Fixes issue #2153. 2010-09-08 18:16:30 +00:00
Ansgar Becker
b16b7010a2 Issue #2134: More enhancements for text import dialog:
- Add option to unformat local numbers from file contents
- Add option "Low priority" again
- Fetch warnings and notes via SHOW WARNINGS, display them in log panel and leave dialog open if there are any
- Inform user if 0 rows were imported and display hint about what could be the cause
2010-09-05 10:33:39 +00:00
Ansgar Becker
b51123ee2c Reorganize "import textfile" dialog, and implement an own CSV parser, selectable as an alternative to the LOAD DATA method. Fixes issue #2134. 2010-09-03 22:22:23 +00:00
Ansgar Becker
88e7f7aa05 Implement query profiling in helpers box. Enhance usability of turning the listbox + tabset into a tree, with 5 root nodes instead of 5 tabs. Fixes issue #902. 2010-08-13 19:42:54 +00:00
Ansgar Becker
25fb0ed266 Refactor code in SQL help dialog, replace the TTreeView with a VirtualTree. 2010-07-31 17:16:08 +00:00
Ansgar Becker
8c34a9e15a Session manager: Add checkbox option for users who want to be prompted for username + password rather than saving that to registry. Prompt window itself is called from within TMySQLConnection.SetActive. 2010-07-19 20:06:09 +00:00
Ansgar Becker
2796965146 Remove 3 dead constants 2010-07-11 20:13:53 +00:00
Ansgar Becker
5757899eaa Bring back database filter pulldown, for users who dislike to create one session per filter. Fixes issue #2054. 2010-07-04 10:59:46 +00:00
Ansgar Becker
ff1467c749 Remember state of WordWrap button on text and hex editor. Fixes issue #2055. 2010-07-02 23:08:06 +00:00
Ansgar Becker
63be11dd14 Implement recent filters in "Copy table" dialog, selectable via button + dropdown menu. 2010-06-15 18:36:58 +00:00
Ansgar Becker
c0da6e5a21 Refactor "Copy table" dialog:
* Replace checkboxes, radio buttons and checklistbox by a VirtualTree using checkbox support
* Support selecting/deselecting single indexes
* Support foreign keys
* Place a SynMemo at the bottom in which the user can type an optional WHERE clause to filter incoming data. Fixes issue #2000.
* Move code for SQL generation into TTableColumn etc.
2010-06-14 00:21:33 +00:00
Ansgar Becker
3c4beba2dd Set and fetch default height of PageControl via constant rather than from the control itself, as that may not be created that early. A minimal chance that this fixes issue #1995. 2010-06-11 16:56:12 +00:00
Ansgar Becker
0767d5387a Replace "Image view" action code which opened BLOBs in external app by a home brown preview area for images in BLOBs, using GraphicEx library for detecting image types. Also, add a "Save to file" action for any grid cell content. Fixes issue #1960. Fixes issue #492. Fixes issue #955. 2010-06-03 23:19:27 +00:00
Ansgar Becker
2e301d1095 Code cosmetic: Do not pass default parameter in one zillion callers of ShowStatusMsg() 2010-05-28 23:09:38 +00:00
Ansgar Becker
d1db340f7b Wording: Display "Idle" instead of "Ready" in status bar 2010-05-28 13:45:54 +00:00
Ansgar Becker
9984bf0236 Issue #1135: Implement tabs for multiple batch results in a query tab. Does not yet show multi results of stored procedures. Maximum number of tabs is customizable in Preferences > Data. 2010-05-26 23:11:08 +00:00
Ansgar Becker
05b07eb8f2 Implement editing capabilities into TMySQLQuery, and make query results editable by using all the same events as in DataGrid. Most probably some bugs to fix now.
* Fixes issue #723
* Fixes issue #873
2010-05-05 21:39:15 +00:00
Ansgar Becker
97f01a175b Move database filter again from mainform to session manager, so people without privilege to run SHOW DATABASE are not stuck. Fixes issue #1485. Also, allow to see available databases when user does a dropdown. Also, simplify logic for refreshing database list in mainform. 2010-04-22 15:16:27 +00:00
Ansgar Becker
2cda425c39 Make SQL completion proposal optional. Fixes issue #1782. 2010-04-11 22:23:58 +00:00
Ansgar Becker
5f9129bef2 Implement event editor for MySQL 5.1+ servers. Also, simplify some code around database objects and their editors. Fixes issue #1527 2010-04-08 23:16:40 +00:00
Ansgar Becker
adf68ecc65 Issue #401: Extend SSH tunnel options: Allow user to set SHH host/ip and port, and a private key file used for authentication. If SSH host is not set, use what the user specified as MySQL server host. 2010-04-01 23:34:07 +00:00
Ansgar Becker
0970f5c2bd Implement SSH tunnel with plink.exe on session manager. Fixes issue #401 Plus:
* Simplify code for getting connection parameters from registry by implementing helpers:LoadConnectionParams()
* Use combobox for network type instead of radio buttons, now that 3 options would need more horizontal space than we have
* Hide tabs on session manager which are irrelevant for the selected network type (e.g. no SSL options for named pipe)
* Some minor code simplifications
2010-03-30 23:22:08 +00:00
Ansgar Becker
ed5ec1e122 Rethink portable releases:
* Remove complicated and unreadable NSIS stuff. No need to have a installer for a developer application. ZIP file is fine.
* On startup, if a portable_settings.txt exists in the application folder, heidisql.exe will read its contents into a unique registry key.
* In MainForm.OnDestroy, settings are written to that file again, and the reg key gets deleted.
* Avoid using Microsoft's .reg file syntax, as you need admin privileges to store and restore such files, even when using the appropriate Windows API functions.
2010-03-22 21:10:38 +00:00
Ansgar Becker
3ed8c5bd91 Make session log directory configurable. Fixes issue #494. 2010-03-16 00:18:44 +00:00
Ansgar Becker
e417eef591 Datagrid: To reduce network traffic and loading time, reintroduce the old LEFT() strategy for potentially large columns. 2010-03-12 21:27:19 +00:00
Ansgar Becker
f7ee77561b Display colored bar for table size and row count columns in ListTables, and for process time column in ListProcesses. Also, extend the preferences dialog so this color can be customized and/or disabled. 2010-03-09 23:30:44 +00:00
Ansgar Becker
c426bc5e16 Enable variable node height in data and query grids. Customizable as number of lines per row. Fixes issue #1082. 2010-03-02 23:11:48 +00:00
Ansgar Becker
458b4c3acf Introduce a more simple strategy in data tab grid for loading data:
* Load in OnBeforePaint, if the tree's tag is set to NOTLOADED
* Load 1,000 rows in one step, up to a maximum of 100,000 rows. Both values are customizable.
* Load next chunk when user presses PageDown on the last node, or, more explicitly, when user clicks "Next rows" button
* Should fix all AVs which seem to be a timing issue with loading data on demand.
* Fixes issue #1675, fixes issue #1580, fixes issue #1721, fixes issue #1734, fixes issue #972
2010-03-01 16:44:36 +00:00