2940 Commits

Author SHA1 Message Date
c298dc62ea Append instead of overwrite data grid filter when user has Shift pressed. Fixes issue #865. 2013-06-03 17:16:38 +00:00
62a92ff577 Fix broken Unicode characters in MSSQL, data grid. Fixes issue #2873. 2013-06-03 04:55:47 +00:00
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
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
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
50e257de65 Apply system font to forms, not only Segeo on Vista and above. Fixes issue #3204. 2013-05-30 06:13:05 +00:00
ed4f197f3f Use additional EOleException message in GetLastError. See http://www.heidisql.com/forum.php?t=12758 2013-05-30 06:08:36 +00:00
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
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
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
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
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
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
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
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
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
550a139dac Support default values of BIT columns in table editor and SQL export. Fixes issue #2544. 2013-05-19 04:30:14 +00:00
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
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
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
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
b04fac85cc Add "Global" column to ListVariables, and highlight values different to their session pendant. 2013-04-17 05:02:36 +00:00
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
3606130311 Block "Empty tables" action if neither dbtree nor dbtab has focus. Fixes issue #3166. 2013-04-15 17:52:35 +00:00
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
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
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
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
c5ebca5e14 Revert helpers.RemoveComments(), accidentally committed in r4110 2013-04-11 19:52:28 +00:00
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
451e757846 Auto apply distinct accelerator chars to buttons on TTaskDialog. Fixes issue #3150. 2013-04-03 06:03:05 +00:00
c8e47298a9 Grid export: Remove zero padding to avoid octal => integer conversion in PHP. Fixes issue #3149. 2013-04-01 16:26:53 +00:00
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
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
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
ff046336ce Check KeepAskingSetting in MessageDialog() on older Windows versions. Broken since r4302. Fixes issue #3147. 2013-03-28 18:13:58 +00:00
690ac1691c Propose column names from selected table in filter panel. Fixes issue #3140. 2013-03-26 05:40:51 +00:00
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
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
99f560d55f Cast TEXT columns as VARCHAR in data grid selection, as MSSQL supports only VARCHAR in LEFT() function. Fixes issue #3141. 2013-03-18 05:56:45 +00:00
fda2b22811 Issue #2697: Make database + table tree filter case insensitive. See pm from Martin Bedrač. 2013-03-17 09:51:39 +00:00
46ce43da24 Issue #2496: Revert r4366, do not trim definition of MS SQL views. Instead, let the regex in ParseViewStructure() expect CREATE at any point instead of the very beginning of the code. That way the view definition may contain a BOM or any space at the start. 2013-03-17 06:50:16 +00:00
abf558c0d4 Move code from several action events to new functions GetFocusedObjects and DBTreeClicked. Detect here whether tree or database tab was the one where user clicked the context menu, instead of just checking which of both is focused. See http://www.heidisql.com/forum.php?t=12351 2013-03-16 07:07:14 +00:00
175b76491d Issue #2496: Trim definition of MS SQL VIEWS before passing to ParseViewStructure(), so its regex may expect CREATE at the very beginning. 2013-03-16 05:33:56 +00:00
478117d306 Issue #2496: Remove square brackets per TDBConnection.DeQuoteIdent() 2013-03-15 16:53:12 +00:00
a07d3818f2 Issue #2496: Support square brackets in MSSQL as an alternative way to quote identifiers. 2013-03-15 05:33:42 +00:00
78c6df9b52 Vtree does not focus cell after tab pressing. Do that by hand in TMainForm.AnyGridFocusChanged. Fixes issue #3139. 2013-03-14 06:02:43 +00:00
9e7adec692 Distinct between traditional and simplified Chinese, add zh_TW translated by jeff.tu. 2013-03-09 07:01:33 +00:00
5c0df59bde Complete list of contributers in about dialog 2013-03-08 05:55:33 +00:00
981b746752 Rename local variable to what it stands for. 2013-03-03 17:04:12 +00:00