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
ea9d877d75
Modify installer sidebar image for the next release.
8.0
2013-05-19 05:00:51 +00:00
Ansgar Becker
4cf7927e06
Prepare release: Update major version to 8
2013-05-19 04:45:38 +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
Ansgar Becker
4c0516733c
Remove MainFormOnTaskBar, revert r3763, to fix issue #2640 . Disables support for Windows Flip3D, but who cares.
2013-03-20 21:49:20 +00:00
Ansgar Becker
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
Ansgar Becker
fda2b22811
Issue #2697 : Make database + table tree filter case insensitive. See pm from Martin Bedrač.
2013-03-17 09:51:39 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
478117d306
Issue #2496 : Remove square brackets per TDBConnection.DeQuoteIdent()
2013-03-15 16:53:12 +00:00
Ansgar Becker
a07d3818f2
Issue #2496 : Support square brackets in MSSQL as an alternative way to quote identifiers.
2013-03-15 05:33:42 +00:00
Ansgar Becker
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
Ansgar Becker
8856e82c53
Rename translation as done in dfm file in r4312
2013-03-09 07:34:02 +00:00
Ansgar Becker
9e7adec692
Distinct between traditional and simplified Chinese, add zh_TW translated by jeff.tu.
2013-03-09 07:01:33 +00:00
Ansgar Becker
5c0df59bde
Complete list of contributers in about dialog
2013-03-08 05:55:33 +00:00
Ansgar Becker
981b746752
Rename local variable to what it stands for.
2013-03-03 17:04:12 +00:00
Ansgar Becker
e60fb7a925
Display number of selected nodes from ListTables in status bar. Fixes issue #3127 .
2013-03-03 09:29:33 +00:00
Ansgar Becker
c037dce946
Include database name in GetCreateViewCode(). Fixes issue #3098 .
2013-03-03 09:13:25 +00:00
Ansgar Becker
6a2605adf2
Issue #2697 : Move pnlTreeFilter to top.
2013-03-03 08:49:38 +00:00