Commit Graph

2951 Commits

Author SHA1 Message Date
Ansgar Becker
f2a89f28b8 Various variables are int64 or float, for which we have no specific editor other than the string editor. Do not quote these to avoid "Incorrect argument type to variable.." Fixes issue #3153. 2013-06-14 04:26:13 +00:00
Ansgar Becker
051770c595 Issue #1289: Remove menu item as long as synchronize dialog is not fully implemented. 2013-06-14 03:50:09 +00:00
Ansgar Becker
6bab8c57a5 Include net type in server statistics call, so we can distinct between MySQL and MSSQL usage. 2013-06-13 04:59:08 +00:00
Ansgar Becker
9b21fc6d56 Support editing DEFINER clause in scheduled event editor. Fixes issue #2548. 2013-06-12 04:50:25 +00:00
Ansgar Becker
819d3ed85c Refresh CREATE CODE after pressing Save button on table editor, so we don't display no longer present indexes, and probably more. Fixes issue #3198. 2013-06-12 04:16:34 +00:00
Ansgar Becker
01c5e5b65e Call ValidateControls() after pressing last or end button. Fixes issue #3234. 2013-06-12 04:07:00 +00:00
Ansgar Becker
8d13e84ed4 Remove default length of new INT columns in table editor. Fixes issue #3226. 2013-06-09 05:19:46 +00:00
Ansgar Becker
28708dd598 Issue #3215: Adjust date/time values converted from UNIX timestamps to use UTC time instead of local time. 2013-06-09 05:14:21 +00:00
Ansgar Becker
8ce2505f52 Set minimum height of listColumns in table editor. Works around AV mentioned in issue #3189. 2013-06-08 05:13:07 +00:00
Ansgar Becker
8b36ccdce3 Display values in grid columns which the user explicitly sets to be a UNIX timestamp in date/time format. Fixes issue #3215. 2013-06-08 04:27:48 +00:00
Ansgar Becker
3109547d40 Fix disabled "clear" button after adding AND filter in data tab. See http://www.heidisql.com/forum.php?t=12805#p12807 2013-06-05 17:15:33 +00:00
Ansgar Becker
c298dc62ea Append instead of overwrite data grid filter when user has Shift pressed. Fixes issue #865. 2013-06-03 17:16:38 +00:00
Ansgar Becker
62a92ff577 Fix broken Unicode characters in MSSQL, data grid. Fixes issue #2873. 2013-06-03 04:55:47 +00:00
Ansgar Becker
574498f955 Fix detection of text column types in MSSQL, so TEXT and NTEXT do not appear as numbers in query results. 2013-06-03 04:47:45 +00:00
Ansgar Becker
99f62c4324 Process placeholders in filename also in grid export dialog. Provide a list of valid placeholders below the recent files pulldown menu. See http://www.heidisql.com/forum.php?t=12506 2013-06-01 05:45:17 +00:00
Ansgar Becker
976881c748 Join the two error message snippets with a linefeed, not a space, so that gets more readable. See http://www.heidisql.com/forum.php?t=12758 2013-05-30 08:48:57 +00:00
Ansgar Becker
50e257de65 Apply system font to forms, not only Segeo on Vista and above. Fixes issue #3204. 2013-05-30 06:13:05 +00:00
Ansgar Becker
ed4f197f3f Use additional EOleException message in GetLastError. See http://www.heidisql.com/forum.php?t=12758 2013-05-30 06:08:36 +00:00
Ansgar Becker
438281fe5f Extend detection of requirement to name resolving in user manager, to allow netmasks. Also, "localhost" is no longer auto-resolved via libmysql.dll. Fixes issue #3205. 2013-05-30 06:05:44 +00:00
Ansgar Becker
b359c9df88 MSSQL: Escape joker chars in conjunction with an "ESCAPE" appendix after the LIKE clause. See http://www.heidisql.com/forum.php?t=12747 . 2013-05-28 17:48:55 +00:00
Ansgar Becker
c4f0b2798b MSSQL wants single quotes escaped with a second single quote, not with a backslash. No clue how to escape joker chars in a WHERE clause. 2013-05-28 04:54:08 +00:00
Ansgar Becker
debf37824c Issue #3191: Use some standard TActions to implement a simple search/replace dialog in the popup text editor. 2013-05-28 04:30:35 +00:00
Ansgar Becker
9cf6634426 Insert/update NVARCHAR/NTEXT/NCHAR contents with preceding "N", as MSSQL wants Unicode strings handled this way. See issue #2873. 2013-05-27 04:32:01 +00:00
Ansgar Becker
8c711d3e56 Put session name into caption of login-on-demand dialog, so applications like Keepass can identify it. Fixes issue #3180. 2013-05-25 06:15:17 +00:00
Ansgar Becker
3569ee8d94 Do not restore previous state of checkbox options "Drop database" and "Drop tables", leave them off when calling the export sql dialog. Fixes issue #3197. 2013-05-25 05:45:25 +00:00
Ansgar Becker
62da5d8833 Leave SQL help action disabled as long as there is no selected connection. Fixes issue #3200. 2013-05-25 05:32:41 +00:00
Ansgar Becker
8dd4399395 Introduce server specific quote characters, so ParseTableStructure() and DeQuoteIdent() do not remove too much.
* bug report: http://www.heidisql.com/forum.php?t=12685
* broken in r4364, for fixing issue #2496
2013-05-23 17:37:01 +00:00
Ansgar Becker
550a139dac Support default values of BIT columns in table editor and SQL export. Fixes issue #2544. 2013-05-19 04:30:14 +00:00
Ansgar Becker
1e3fde7234 Give the datagrid-truncation cast a length of 256 in MSSQL, so we don't just get the CAST default of 30 chars. Fixes issue #3186. 2013-05-17 04:08:27 +00:00
Ansgar Becker
056322c488 Expect dots in database and table names, when parsing SHOW GRANTS results. See http://www.heidisql.com/forum.php?t=12640 2013-05-11 05:15:11 +00:00
Ansgar Becker
108c5037aa Turn column default text memo into a TButtonedEdit, and use a right button drop down menu which displays ENUM and SET values. Fixes the ENUM+SET part of issue #1160. 2013-05-10 05:12:41 +00:00
Ansgar Becker
edf71c87fc Use internal flag to remember whether we have a NULL value when copying and pasting in grid fields. Fixes issue #3171. 2013-04-23 07:19:24 +00:00
Ansgar Becker
b04fac85cc Add "Global" column to ListVariables, and highlight values different to their session pendant. 2013-04-17 05:02:36 +00:00
Ansgar Becker
a589e7f9cf Use "times" symbol × instead of the letter x. See http://www.heidisql.com/forum.php?t=12543 2013-04-16 04:08:16 +00:00
Ansgar Becker
3606130311 Block "Empty tables" action if neither dbtree nor dbtab has focus. Fixes issue #3166. 2013-04-15 17:52:35 +00:00
Ansgar Becker
f9f2b82919 Append number of columns and rows in query result tab caption. See http://www.heidisql.com/forum.php?t=12543 2013-04-15 16:57:32 +00:00
Ansgar Becker
a3a42b5d87 Fix repeated column comment in table editor. See http://www.heidisql.com/forum.php?t=12540 2013-04-15 05:54:03 +00:00
Ansgar Becker
e42cb467fc Fix wrong offset in db.table string when checking for foreign key match. Fixes issue #3160. 2013-04-14 05:21:04 +00:00
Ansgar Becker
7f87bc7eb2 Try a new approach in TDBConnection.ParseRoutineStructure(). Should fix stripped backslashes from routine body, issue #3107.
* Use SHOW CREATE PROCEDURE/FUNCTION result again, instead of code from IS.ROUTINES
* Remove every known CREATE PROCEDURE/FUNCTION clause and use remaining text as routine body.
* Respect MS SQL function options, taken from http://msdn.microsoft.com/en-us/library/ms186755.aspx
* Introduce helpers.ExtractComment() for usage in ParseRoutineStructure() and ParseTableStructure()
2013-04-11 21:29:44 +00:00
Ansgar Becker
c5ebca5e14 Revert helpers.RemoveComments(), accidentally committed in r4110 2013-04-11 19:52:28 +00:00
Ansgar Becker
a68c51154c MSSQL stored routine editor:
* Extend TAdoDBConnection.GetCreateCode for stored routines
* Extract the relevant routine code in TDBConnection.ParseRoutineStructure
* Match database name against ROUTINES.ROUTINE_CATALOG (not ROUTINE_SCHEMA). See http://www.heidisql.com/forum.php?t=12435 .
2013-04-04 06:40:25 +00:00
Ansgar Becker
451e757846 Auto apply distinct accelerator chars to buttons on TTaskDialog. Fixes issue #3150. 2013-04-03 06:03:05 +00:00
Ansgar Becker
c8e47298a9 Grid export: Remove zero padding to avoid octal => integer conversion in PHP. Fixes issue #3149. 2013-04-01 16:26:53 +00:00
Ansgar Becker
002e9bc544 Accept column rename when it has the same name as a deleted column. Fixes issue #3137. 2013-03-31 06:45:24 +00:00
Ansgar Becker
ae76fcde28 Mark table key as modified after editing its contained column names, so such changes get posted to the server when clicking "Save". Fixes issue #3144. 2013-03-31 06:36:15 +00:00
Ansgar Becker
1bd28f43e6 Ignore errors due to non existent columns in IS.ROUTINES on MSSQL. See http://www.heidisql.com/forum.php?t=12435 2013-03-31 06:19:57 +00:00
Ansgar Becker
ff046336ce Check KeepAskingSetting in MessageDialog() on older Windows versions. Broken since r4302. Fixes issue #3147. 2013-03-28 18:13:58 +00:00
Ansgar Becker
690ac1691c Propose column names from selected table in filter panel. Fixes issue #3140. 2013-03-26 05:40:51 +00:00
Ansgar Becker
1e0463bd08 Return focused tree item in GetFocusedObjects() even if tree is not focused, in cases where database tab does not has focus. Fixes issue #3146. 2013-03-26 05:23:39 +00:00
Ansgar Becker
ca9acecf72 Same as r4304: Fix broken drop down buttons on main toolbar, now that MainFormOnTaskBar is missing. 2013-03-20 22:17:06 +00:00