Ansgar Becker
f9297d4c7d
Use the same hotkey (Ctrl+S) for saving a table/trigger/... as for saving a query file. Closes #1619
2023-11-03 12:43:07 +01:00
Ansgar Becker
d28d03b6dd
Highlight active tab of most page controls, by adding greyscale icons to image list and using these for all inactive tabs. See https://www.heidisql.com/forum.php?t=41323
2023-10-03 13:34:28 +02:00
Ansgar Becker
f2cc5124d3
Restore previous scroll position after saving routine, trigger, event or view. See https://www.heidisql.com/forum.php?t=40291
2023-01-26 09:57:42 +01:00
Ansgar Becker
0d9de512cd
Remove unit scopes from project settings, prefer fully qualified unit names in uses clauses. Enhance readability and compiler performance.
2022-12-26 17:59:19 +01:00
Ansgar Becker
e27d9c1b96
Refactor: create and use self explanatory TDBObjectEditor.ObjectExists method
2022-04-22 12:42:37 +02:00
Ansgar Becker
e505b54bdd
Issue #1503 : fix unsaved setup of columns in lists on object editors (table + routine editors effectively are the only ones with lists)
2022-02-21 17:35:25 +01:00
Ansgar Becker
3eb3480e1c
Get rid of global esc() function (which always refers to MainForm.ActiveConnection) and prefer the method's or unit's connection object instead
2020-05-10 13:41:15 +02:00
Ansgar Becker
1c39075d7c
Issue #852 : Implement Assign method on TTableColumnList and friends, TDBObject.LoadDetails and .UnloadDetails, and cross fingers that assigning details to Mainform.FActiveDbObj reduces the number of internal queries
2020-01-16 07:40:30 +01:00
Ansgar Becker
db9e76bd78
Move code from TDBObjectEditor.GetDefiners to new TDBConnection.AllUserHostCombinations
2019-07-22 07:44:19 +02:00
Ansgar Becker
71d9ef9011
Same as for TExtForm: translate in TDBObjectEditor.OnCreate, not in all derived editor classed
2019-07-22 07:28:07 +02:00
Ansgar Becker
2a91a13b42
Issue #677 :
...
* drop workaround for application crash on WinXP, when loading newer libmariadb (see #79 )
* raise TDbLib's own exception instead of baking an own one with less details. Probably helps in debugging: https://www.heidisql.com/forum.php?t=34044
* rename EDatabaseError to EDbError, to overcome naming conflict in DB unit
* load libpq.dll always with path, which should anyway work better than without it. See http://www.heidisql.com/forum.php?t=22514
2019-07-08 20:23:05 +02:00
Ansgar Becker
5a8a4af29a
Rename helpers unit to apphelpers, to overcome a naming conflict with the FireMonkey unit FMX.Canvas.GPU.Helpers. Closes #102 .
2018-01-22 19:48:17 +01:00
Ansgar Becker
e6e9560cf8
Open new help page on "Help" buttons of the various object editors.
2014-11-09 12:00:41 +00:00
Ansgar Becker
77df51ae5f
Avoid using Format() on event body, as this causes AVs when it contains some % sign. See http://www.heidisql.com/forum.php?t=13010
2013-07-16 04:16:29 +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
ca1d94c87b
Issue #557 : Include gnugettext.pas from https://dxgettext.svn.sourceforge.net/svnroot/dxgettext/trunk/dxgettext/sample/ . And add basic code to all FormCreate events to translate their components in the future.
2012-11-10 14:28:44 +00:00
Ansgar Becker
2d548b5ef6
Introduce some wrapper functions for message and error dialogs in order to have less code and to avoid hidden titles on Windows XP. Fixes issue #2425 .
2011-05-27 04:48:21 +00:00
Ansgar Becker
4fbf2c23dd
Introduce experimental MS SQL support
2011-03-29 23:20:21 +00:00
Ansgar Becker
49a97584e6
Code preparation for non-MySQL connections: Extract abstract stuff into a new TDBConnection class, and let TMySQLConnection derive from that. Same with TDBQuery / TMySQLQuery. See issue #1008 .
2011-03-17 23:03:54 +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
6c2a100945
Implement combo box for definer in routine + view + trigger editor. Fixes issue #2189 . Some related changes here:
...
- Remove ensureValidIdentifier() and its partly uncatched exceptions. Instead, disable "OK" buttons for empty table/view/proc name.
- QuoteIdent and DeQuoteIdent now take the glue char instead of a "HasMultiSegments" boolean param, so they're more exact when "user@host" or "db.name" come in.
2010-10-12 22:13:08 +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
f323420ef1
Enable TDBObject instances to return and cache their own CREATE code, and replace various manual SHOW CREATE xyz occurrences with this new function call. Additionally, modify ParseViewStructure so it takes the CREATE code instead of just the VIEWs name, so it works similar to ParseTableStructure and ParseRoutineStructure. Finally, take this CREATE code to detect all settings for a VIEW, instead of taking them from information_schema.VIEWS. Fixes issue #2131 .
2010-09-07 20:58:48 +00:00
Ansgar Becker
91f5375e66
Be ungreedy in regular expression when finding end of comment position. Fixes issue #2130 .
2010-08-19 16:46:26 +00:00
Ansgar Becker
74327bbe9e
Remove superfluous uses unit.
2010-06-25 06:36:37 +00:00
Ansgar Becker
a795f0cbac
Use the right expression group when detecting "AT" date. Fixes issue #2041 .
2010-06-25 06:35:15 +00:00
Ansgar Becker
b3b1710c35
Introduce EDatabaseError exception class, so we're able to handle only those and let others raise the exception up to MadExcept. Helps finding non-database related AVs as users are able to get the callstack now. Similar to r3292 but more consistent all over the code now.
2010-04-24 13:56:57 +00:00
Ansgar Becker
604672f3d8
Attempt to slightly simplify logic for refreshing database tree node after adding/renaming a db object.
2010-04-18 23:15:20 +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