2875 Commits

Author SHA1 Message Date
d03ae628cc Reposition default value editor so it's not outside the main form. Fixes issue #2868. 2013-02-24 10:13:26 +00:00
7c96c04ed9 Make detection of active grid or editor in search/replace dialog more stable. 2013-02-24 09:30:12 +00:00
8e68663636 Detect primary and unique keys on MS SQL tables. Makes grid updates safer, and these keys show up in the table designer. Fixes issue #2946. 2013-02-23 10:33:55 +00:00
e639c4c043 Store last sessions also when connecting to an additional session, not only when closing the program. See http://www.heidisql.com/forum.php?t=12149 2013-02-22 08:59:48 +00:00
fc015e61bd Let ParseRoutineStructure() cache values from IS.ROUTINES into TDBObject members. Fixes issue #3108. 2013-02-21 11:19:44 +00:00
53c9553c5b Grid export: Export quoted empty string when blob value is empty (SQL INSERTS/REPLACES). Fixes issue #2941. 2013-02-21 10:48:30 +00:00
33730aa064 Create database dialog: Remove charset pulldown, leave collation pulldown alone. Init collation pulldown with the server variable "collation_server". 2013-02-21 08:56:58 +00:00
d84e4ca8b1 Support old style "TYPE BTREE" in table index code. See http://www.heidisql.com/forum.php?t=12150 2013-02-20 16:07:02 +00:00
3d6ab973d6 Get everything except routine parameters from IS.ROUTINES, to fix another regular expression problem in ParseRoutineStructure. Fixes issue #3114. 2013-02-20 15:51:12 +00:00
80577d8d89 Add missing tool tip hint for disconnect button. 2013-02-19 09:20:05 +00:00
5431204c5a Create save/open dialogs per code, not per dfm file. That way, I can remove strings like "SQL files (*.sql)..." from the translation, and only let "SQL files" get translated. Avoids translation errors. 2013-02-18 07:27:44 +00:00
6333920637 SQL export dialog: Arrange controls so translated items fit. 2013-02-18 07:04:15 +00:00
968c594d70 Enable OK button when checking "Reset autoincrement" check box. See http://www.heidisql.com/forum.php?t=12143 2013-02-16 08:21:00 +00:00
342f1b37d7 Fix setting for name of selected database, which must be a session setting, not a global one. See http://www.heidisql.com/forum.php?t=12101 2013-02-13 07:51:53 +00:00
95ab784008 Finally fix ramshackle detection of routine body. Fixes issue #3103, #3104. 2013-02-08 11:25:12 +00:00
28409cf78b Work around empty body detected in ParseRoutineBody, and get it from information_schema.ROUTINES in that case. See http://www.heidisql.com/forum.php?t=12075 . 2013-02-07 21:09:21 +00:00
6ba892c534 Issue #400: Compare data types and unsigned flags of source and reference columns, when leaving foreign column editor. Introduce a more helpful error message when these do not match, as a replacement for the servers poor message "Foreign key constraint is incorrectly formed". 2013-02-06 19:24:21 +00:00
faf0f2e68a Increase height of memoFindText from 26 to 60 pixels. Accidentally resized to a minimum in r4254. See http://www.heidisql.com/forum.php?t=12064 2013-02-05 21:45:01 +00:00
d517dc2a21 Hide non-InnoDB tables in foreign key editor. See http://www.heidisql.com/forum.php?t=11816 2013-02-04 18:40:34 +00:00
e1c4f14dbc Make foreign values drop down optionally. See http://www.heidisql.com/forum.php?t=11816 2013-02-04 18:30:35 +00:00
3b56ed5b6f No need to rethink height of SQL memos and SQL log when window is minimized. Fixes issue #3093. 2013-01-31 20:06:38 +00:00
95ba3d7e3d r4185 broke Host > Variables tab for MSSQL. Introduce SQL specifity for SHOW VARIABLES to fix that. Fixes issue #3100. 2013-01-28 19:06:13 +00:00
ebe36bb0cd Strip routine body early in ParseRoutineStructure, so later regular expressions don't get confused by keywords in user SQL. Fixes issue #3085. 2013-01-27 06:59:37 +00:00
78ef13fc99 Display child count on group nodes. Fixes issue #2912. 2013-01-27 06:48:14 +00:00
17a50eb275 Enable right click options for creating new objects when one of the grouping nodes is focused. Fixes issue #2964. 2013-01-27 06:38:26 +00:00
60618e4124 Launch command line: Escape double quotes in password, and fix broken replacement with stars if password contains double quotes. See http://www.heidisql.com/forum.php?t=11976 2013-01-24 05:55:48 +00:00
cd75b0899d Quote db and table name in new function TDBObject.QuotedDbAndTableName, which also adds "dbo" for MS SQL inbetween. Plus, run SELECT in SQL export through ApplyLimitClause, to fix an SQL error on MS SQL. See http://www.heidisql.com/forum.php?t=11956 2013-01-19 12:43:41 +00:00
88b3666bf1 Support search/replace in data and result grids. Fixes issue #2979. 2013-01-15 20:46:41 +00:00
252e343c22 Ignore error at connection time on MS Azure servers without sysprocesses table. Fixes issue #3087. 2013-01-15 09:38:54 +00:00
d16f19da91 Disallow to drag a session folder somewhere below itself, which would end up in an infinite folder structure, theoretically. Fixes issue #3086. 2013-01-15 09:09:44 +00:00
7ddfa83ace Fix minor memory leak 2013-01-14 20:34:43 +00:00
0d6945ebcc Remove "Created" date/time from SQL export header. Fixes issue #3083. 2013-01-14 20:33:31 +00:00
d630989541 Ensure row count step + maximum settings are never "0". Fixes issue #3080. 2013-01-12 18:11:14 +00:00
becd4bdd0e Work around broken ToolButton with Style=tbsDropDown after translation: https://sourceforge.net/tracker/index.php?func=detail&aid=902470&group_id=74086&atid=539908
Fixes issue #3066.
2013-01-02 19:12:13 +00:00
4fd920906c Introduce "KeepAskingSetting" parameter to MessageDialog(), which activates a verification checkbox left besides the dialog buttons. Use that when confirming to close a query tab, so the user can disable the dialog within the dialog itself, without the need to disable this setting in Preferences > SQL. Fixes issue #3065, which was broken since r4283. 2012-12-31 11:03:16 +00:00
551864a06c Ensure we do not send an empty query, if a single query is larger than the max_allowed_packet setting. This way, we most probably get disconnected anyway, but that clearly leaves responsibility to the user to make the query smaller. 2012-12-31 10:33:32 +00:00
65d7e2ffab Read and write snippet files in a subdirectory of the application directory when in portable mode. Fixes issue #2980. 2012-12-31 10:30:33 +00:00
c02f4896d8 Ignore TFont when translating main form, so "Default" does not get broken, for XP users. Fixes issue #3064. 2012-12-30 09:20:58 +00:00
cf87ae63d6 Fix file open dialog file filter, so it gets translated like its similar dialogs. 2012-12-28 20:15:20 +00:00
2b5b69cc4d Preparation for issue #3002: Move startup script and local time zone options together with SSL settings to a new "Advanced" tab. 2012-12-28 20:09:28 +00:00
d2255ed06e Widen "Bold" checkbox in highlighter options dialog, so translations fit into it. See issue #557. 2012-12-28 07:15:22 +00:00
8ac1e41cba Fix named pipe usage on command line. Fixes issue #3052. 2012-12-27 18:32:34 +00:00
39b69226e1 Group tree options in popup submenu, and introduce new option "Auto expand on click". Fixes issue #3061. 2012-12-26 08:14:10 +00:00
e25ea34794 No need to cast for TTableKey. 2012-12-26 07:34:16 +00:00
13cff8c63c Silently auto-rename index to "PRIMARY" when index type gets set to "PRIMARY". Fixes issue #3031. 2012-12-26 07:33:21 +00:00
39926ac729 Remove properties FFullDatatype, Connection and Datatype from TBaseGridEditorLink, for the benefit of a new property "TableColumn", which has everything we need. Using this TableColumn property, the data grid editors can now read the LengthSet attribute of the source column, which we need to read + write the microseconds part of DateTime values. Add some additional code to make editing microseconds peachy. Fixes the second part of issue #3003. 2012-12-24 13:12:25 +00:00
1dff9d9814 Degrade (silence) error message in log panel to lcDebug which is mostly not displayed. Works around issue #2960, which I am not able to track down to some code path. Only I have a gutt feeling that threading causes this registry read error. 2012-12-22 14:00:35 +00:00
51307686a5 New attempt to remove left space after r4277 broke translations. Our main ImageList on the TMainMenu seems to cause its top TMenuItems to reserve left sided space for some icon during TranslateComponent(). Get rid of this space by applying the imagelist *after* the call to TranslateComponent(). See issue #557. 2012-12-19 20:04:00 +00:00
1ad11ad92c Revert r4277, add code block again, see http://code.google.com/p/heidisql/issues/detail?id=557#c66 . Seems like PropInfo.PropType.Kind=tkClass is handling TStringList's on forms. 2012-12-18 18:41:19 +00:00
f9af910ffe Block close button on query tab while its query thread is running. Fixes issue #3063. 2012-12-18 18:30:14 +00:00