965e88b579
Delphi 11.1: fix VirtualTree package files, fix missing uses clauses, and some newly required type casts
2022-06-18 18:08:00 +02:00
c4085bed4e
Refactor: move structures for specific network types out of dbstructures, into their own dbstructures.xxx.pas, and include const.inc in project sources
2022-04-23 11:38:26 +02:00
e27d9c1b96
Refactor: create and use self explanatory TDBObjectEditor.ObjectExists method
2022-04-22 12:42:37 +02:00
459925977d
Disable save and discard buttons of routine editor temporarily while saving changes. Closes #616
2022-04-17 10:06:06 +02:00
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
142e26ec22
Issue #1503 : move SaveListSetup and RestoreListSetup to extra_controls unit, and handle column widths DPI independently
2021-12-26 13:58:25 +01:00
9baeb9f018
Outsource large list of MySQL functions into separate .ini files, one per server type. Todo: definitions for SQLite and Interbase.
2021-10-11 21:32:55 +02:00
dd38ba4f6f
Code cosmetic: rename implodestr() to Implode()
2021-06-03 08:32:06 +02:00
c6d9af9a3a
Separate Create > "Stored routine" menu item into two, one for procedures and one for functions. Closes #987
2021-01-17 14:37:34 +01:00
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
bb86bf4944
Don't auto-fit width of columns in routine parameter tree. Just store and restore what the user has set. Closes #903 .
2020-02-22 16:47:18 +01:00
56e541a478
Introduce read-only mode for grid editors. Closes #631
2020-02-06 12:29:35 +01:00
340cd5066c
Unify name and case of information_schema, per connection. Finally. Closes #855
2020-01-16 08:03:20 +01:00
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
53b8f544c2
Remove useless DPI helper panel from tabs in routine editor, table editor and table tools dialog
2019-07-25 07:44:04 +02:00
db9e76bd78
Move code from TDBObjectEditor.GetDefiners to new TDBConnection.AllUserHostCombinations
2019-07-22 07:44:19 +02:00
71d9ef9011
Same as for TExtForm: translate in TDBObjectEditor.OnCreate, not in all derived editor classed
2019-07-22 07:28:07 +02:00
c31cae2060
Giving up on high DPI readiness - remove tweaks which mostly don't work as expected, and even differently on various computers. Instead, let Windows blur fonts.
2019-07-18 20:53:53 +02:00
2ebbdc6ba3
Issue #718 : Fonts may still be too large because the monitor on which a form is created has DPI > 100%. Calculate DpiScaleFactor based on that first monitor. See https://www.heidisql.com/forum.php?t=34230
2019-07-18 19:08:32 +02:00
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
1d6a415f5f
Refactor: rename mysql_structures unit neutrally to dbstructures
2019-06-22 14:26:41 +02:00
8927b6849c
Fix misplaced buttons on procedure editor in high dpi mode. Closes #482 .
2019-01-14 19:05:32 +01:00
cdb10d8005
Required code updates for recent VirtualTreeview update
2018-12-11 21:50:26 +01:00
aeba457257
Fix increasing height of upper table editor area on each table click. Closes #405 . Also fix double-scaled controls on routine editor.
2018-11-25 14:46:04 +01:00
9983792b17
Issue #213 : nest everything on broken TTabSheet's on a TPanel, to avoid overscaling in high-dpi mode
2018-11-01 19:05:00 +01:00
3759611c34
Issue #8 : convert system colors applied by code into their theme color
2018-10-27 17:47:16 +02:00
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
a50c21a383
* unify context menu of various sql editors, by supporting all contained editors instead of searching for one with the name "SynMemoBody"
...
* disable actions which need to modify the contents on readonly editors
* add "save to textfile" and "un/comment" actions to the unified context menu
2017-05-18 13:10:59 +00:00
dec6f9ee63
Set each procedure parameter on its own line, and remove some tabs. See http://www.heidisql.com/forum.php?t=21166
2016-04-27 18:08:00 +00:00
ac8d6bb560
Add splitter on procedure editor. See http://www.heidisql.com/forum.php?t=21106
2016-04-13 17:27:40 +00:00
285007f9ad
Only make first part of data type to uppercase, not the part in parentheses. See http://www.heidisql.com/forum.php?t=17845
2015-02-22 17:06:43 +00:00
e6e9560cf8
Open new help page on "Help" buttons of the various object editors.
2014-11-09 12:00:41 +00:00
8c3775fe0f
Add "Save as textfile" action, and include that in routine editor > "CREATE code" tab > context menu. Fixes issue #3486 .
2014-05-08 04:50:59 +00:00
25b471be0e
Auto-uppercase data types of routine parameters. Fixes issue #3497 .
2014-03-10 04:01:30 +00:00
fc015e61bd
Let ParseRoutineStructure() cache values from IS.ROUTINES into TDBObject members. Fixes issue #3108 .
2013-02-21 11:19:44 +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
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
0dd802d13f
Do not use translated words for CREATE/DROP code in routine editor:ApplyModifications. Fixes issue #3053 .
2012-12-09 12:45:48 +00:00
fcc6ffee5b
Follow up to r4266, issue #3051 : Fix selection of the right routine type, based on the itemindex, not the combo box text.
2012-12-09 09:42:19 +00:00
3ef3092b42
Do not use translated combo box text for CREATE code, in routine editor. Fixes issue #3051 .
2012-12-08 21:17:05 +00:00
f96288fce9
Translate string variables and literals in .pas files. TODO: translate constants.
2012-11-26 05:44:01 +00:00
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
a9ce7eb5b9
Autofit first '#' column in routine editor, which has not enough width in some cases. Fixes issue #2993 .
2012-10-19 06:14:13 +00:00
39d16d283c
Focus new node in parameters list after clicking "Add". Also, add new parameters at the focused tree position. See http://www.heidisql.com/forum.php?t=11132 .
2012-09-02 08:23:36 +00:00
90ab0b6cf1
Refactor logic for reading and writing application and session settings:
...
* Introduce TAppSettings, created in dpr file
* Implement read and write methods, and replace callers of GetRegValue and MainReg.WriteInt/... with these
* Optimize read and write methods for avoiding redundant accesses to registry
* Auto-remove stored default settings from registry to avoid registry spam
* Replace synced MainForm.pref* variables with TAppSettings.Read* calls
* Move SetLocales call to dpr file
* Move MainForm.FDirname* variables to appropriate methods in helpers.pas
* Implement TQueryHistory.Create(SessionPath), reading its items within constructor
2012-08-19 10:55:08 +00:00
5e8bf8306a
Remove unused unit inclusions, detected by CNPack/Uses cleaner
2012-05-01 08:34:12 +00:00
0d0fad6745
SelectNode triggers a potentially set OnFocusChanged event, benefit from that logic in some places where I used to assign Focusnode := xyz.
2012-03-13 22:21:53 +00:00
f36f54b0b8
Disable editing routines if user has no privilege to select from mysql.proc or if he's not the owner of that routine. See http://www.heidisql.com/forum.php?t=10231
2012-03-07 20:57:46 +00:00
0b49dfc4b8
Accidentally forgotten files for r3849
2011-05-28 21:25:56 +00:00