Commit Graph

479 Commits

Author SHA1 Message Date
Ansgar Becker
fbf8528bb3 Tag for 3.1 3.1 2007-11-14 19:58:08 +00:00
Ansgar Becker
aefe3b36ab Prepare installer for 3.1 release 2007-11-14 19:53:54 +00:00
Ansgar Becker
4107c21e1d Fix order of developers in aboutbox. Active members should be listed at the top. 2007-11-14 19:35:54 +00:00
Ansgar Becker
29d1105383 AnsiStrComp + AnsiCompareStr both are a bit blind when it comes to compare certain local characters. For example the german sharp s (ß) and double-s (ss) are reputed to be equal strings. This leads to edited records in grids not being posted because their new values are not recognized as modified. Hereby fixed.
Thanks to Marvin for the bugreport via mail short before 3.1 release.
2007-11-09 22:55:18 +00:00
rosenfield
55acd1c45a Revert r1092 and apply an alternate solution. Wants nothing more than to be tested badly. 2007-11-09 15:02:07 +00:00
rosenfield
0cc2bd5f7f Get rid of deprecated and platform symbols. 2007-11-09 12:14:25 +00:00
rosenfield
b9d3c32f21 Follow-up to r951. 2007-11-09 12:12:38 +00:00
rosenfield
e7bcbdf293 * Bugfix: plug the most obvious memory leaks.
* Clear some unused code and wrong comments.
2007-11-09 09:51:31 +00:00
rosenfield
51c23000f9 Correct some code comments. 2007-11-09 07:59:14 +00:00
rosenfield
727e79aa33 Parameter checking is not useful here, at least not until Insert Files makes use of the query thread. 2007-11-09 07:55:10 +00:00
rosenfield
875407d0bd Bugfix: Zeos threw away conditional SQL. Fixes issue #1828300. 2007-11-09 07:54:10 +00:00
Francisco Ernesto Teixeira
6498d22f2e Compiling Bugfix: Runtime packages path reference to Design and relative packages on Delphi 2007. 2007-11-09 02:42:36 +00:00
rosenfield
a706163966 Bugfix: regression introduced in revision 1104 - Abort()ing in popupTreeView causes various misbehaviours.
Also added three debug statements so the rest of you can test and see that things happen in the right order now; feel free to remove these.
2007-11-08 12:10:37 +00:00
Ansgar Becker
c8d8712a89 Fix bug #1827494 import csv file field terminated by not working 2007-11-07 19:01:02 +00:00
rosenfield
95125c1861 TTreeNode.AbsoluteIndex did not work exactly as I had imagined. With this patch we're back to right-click + refresh in tree view being unstable, in fact with the exact same exception as before. (But at least it should be easier to debug now.) 2007-11-07 12:09:59 +00:00
rosenfield
5f86b11cad * Bugfix: The TTreeView component has a nasty habit of inserting a bad memory reference into TTreeView.Selected whenever TTreeView.ClearSelection() or TTreeView.Items.Clear() are called. The bad memory reference is in turn picked up by GetActiveDatabase and GetSelectedTable, which are used all over the place, making stuff like this fun to debug. Worked around by constructing a 'fake' db tree in memory, then prodding the TTreeNodes structure from that on top of the regular DB tree. Someone bothered to do a bit of serialization / deserialization magic in TTreeNodes.Assign, making this work beautifully.
* Bugfix: When methods are called recursively, they should push/pop altered event handlers on a LIFO stack instead of blindly setting and unsetting them.

* Cosmetic: Reclaim screen real estate in ReadDatabasesAndTables().
2007-11-07 07:02:10 +00:00
rosenfield
a8c01d8f77 * Bugfix: node.Selected := true and tree.Selected := node is not the same, for some reason.
* Bugfix: Some state changes (tree.Selected) did not correctly take effect when tree.Items.{Begin,End}Update was used, causing an exception later on in GetSelectedTable, GetActiveDatabase etc.

To reproduce the bug, right-click a table, drop it, then right-click another table in same database and choose "refresh".
2007-11-06 14:53:12 +00:00
rosenfield
fcc066d3e0 Follow-up to r1103: Enable keys before unlocking the table, so things are done in reverse to the locking process. 2007-11-06 14:20:11 +00:00
rosenfield
62eb57abf1 Follow-up to r1104: popup menu entry click event handlers are invoked via window messages, sigh. 2007-11-06 14:19:21 +00:00
rosenfield
508bd4c96d Oops, forgot to check before committing. This line should not have been part of the last commit. 2007-11-06 13:38:22 +00:00
rosenfield
90035256ec Bugfix: Fix a whole slew of access violations when various routines try to read memory referenced by DBRightClickSelectedItem but already released (or reused). For example, the recurring AVs when opening the 'export tables' dialog. 2007-11-06 13:33:20 +00:00
rosenfield
6d326739c2 Bugfix: LOCK TABLES needs to be done before DISABLE KEYS. MySQL seemingly does not always enforce this correctly? Either way, it's the correct semantics, to prevent other writers leaving data in the table after keys has been disabled but before HeidiSQL locks it. 2007-11-06 13:07:39 +00:00
rosenfield
65cfbd462d Add user preference to disable snipping of long log lines. While it conserves memory, it is undesirable if you are debugging.
(Changed to help andipfaff troubleshoot issue #1815148.)
2007-11-06 12:48:31 +00:00
Francisco Ernesto Teixeira
2220a2c081 Bugfix: Prevents the change of delimiter on focus query editor. 2007-11-06 04:34:06 +00:00
Francisco Ernesto Teixeira
f0bc98f305 Fix bug #1826253 "Too easy to change delimiter by accident" 2007-11-06 04:22:48 +00:00
Ansgar Becker
7cc7007de1 Fix one memory leak in threaded queries (detected by testing and comparing, using taskmanager) 2007-11-04 13:23:47 +00:00
Ansgar Becker
a42a84ff6e Fix bug #1819886 "export silently overwrites target files" by later prompting for overwriting the target file. 2007-10-28 13:01:02 +00:00
Ansgar Becker
d3529fd37d Fix bug #1820595 "Access violation in manage indexes" 2007-10-28 12:39:04 +00:00
Ansgar Becker
22f5af0f8b Fix bug #1820597 "Can't delete the last index of a table" 2007-10-28 12:25:31 +00:00
Ansgar Becker
9b90e38572 Fix bug #1685799 "interface allows selecting zerofill without unsigned" 2007-10-28 12:01:34 +00:00
rosenfield
382af79afc Fix issue #1819883. 2007-10-25 13:32:24 +00:00
rosenfield
e6977624cc My IDE seems quite eager to remove this property. Anybody using it? 2007-10-24 14:13:56 +00:00
rosenfield
44e399fd9e Bugfix: TSMDBGrid.AcquireFocus() did not take into account the in-place editor, causing TSMDBGrid.MouseDown() to abort early. Fixes issue #1690550. 2007-10-24 14:01:37 +00:00
Ansgar Becker
0a3f6abdf9 Add a light "progress bar" to the percentage column of ListCommandStats to visualize the amount of the commands. 2007-10-23 22:58:20 +00:00
Ansgar Becker
07be7a7222 GUI specific initializings and restoring registry settings belongs to ReadWindowOptions. So, move all two lines from FormCreate here. 2007-10-23 21:40:18 +00:00
Ansgar Becker
edbfbedc2f Hide columns in ListTables if their header was "draggedout", which means: dragged up or down, not to the left or right. 2007-10-23 21:29:20 +00:00
Ansgar Becker
cbc37695de Minor: Add/update documentation for MakeFloat 2007-10-23 19:00:54 +00:00
Ansgar Becker
f085be1ca8 Rename mysql.pas and it's helper file installer_function_list_generator.php so their purpose is more clearer to newbies. 2007-10-23 18:49:14 +00:00
rosenfield
1bea12d4bf Cosmetic: silence standard output from copy command - errors should still slip through. 2007-10-23 12:58:23 +00:00
rosenfield
13e925b9fa Bugfix: Quick fix for multiple access violations in filter code, as described in issue #1704044. 2007-10-23 12:52:37 +00:00
rosenfield
88076cd475 Cosmetic: clarify a comment. 2007-10-23 12:17:59 +00:00
rosenfield
6eb385689d Change caption shown when fetching data fails. 2007-10-23 12:06:53 +00:00
rosenfield
7569a53c00 Fix memory leak when prefRememberFilters is false. 2007-10-23 10:59:35 +00:00
Ansgar Becker
62e071693c Renovate print dialog:
- Fix displaying generated checkboxes in hidden area by adjusting the form's height after generating the checkboxes.
- Apply 8px margins on all edges
- Replace printer bitmap by clearer TLabel saying "Select printer"
- Sanitize component names
- Rely on ModalResult of buttons and save a btnCancelClick procedure
2007-10-22 19:01:41 +00:00
rosenfield
2285a32114 Add --clean option to build script, which skips the final build step. 2007-10-22 18:24:19 +00:00
rosenfield
c8927e5344 Add a quick-start section to the readme. Getting kinda bloated.. 2007-10-22 18:07:32 +00:00
rosenfield
df1efb7ef5 Workaround a Delphi bug: BDS 2006 does not load dependencies for a package anymore. Regression introduced at the same time as "demand loading" feature was added. Dependencies will now only be loaded if LoadLibrary happens to be able to find needed BPLs in system path.
(If the My Documents folder starts breaking or disappearing from system path, we'll have to dump the files in system32 instead.)
2007-10-22 18:00:11 +00:00
rosenfield
4f5108ff1c * Add IdeBplInstall executable to be used from a batch file.
* Add a batch file which installs design-time components.
* Bugfix build_super; going to the end of a batch file to exit it when inside a batch procedure does not work.
* Rename batch scripts so they appear in the directory in the order they are to be used in (1. compile, 2. install ide components, 3. generate installer relevant stuff).
2007-10-22 15:34:17 +00:00
rosenfield
058cd04d97 Add tool to install design-time packages into the Delphi or BDS IDE.
This tool only modifies 'Known Packages', 'Package Cache' and 'ToolForm/Mapping' are left untouched (since it would be a bitch to muck with those).
Seems to work fine in BDS 2006, everything is listed correctly in the tool palette etc.
2007-10-22 15:32:08 +00:00
rosenfield
3a643d03f3 Synchronize build script and package output directories. 2007-10-22 11:14:17 +00:00