Commit Graph

44 Commits

Author SHA1 Message Date
Ansgar Becker
506a187239 Enlarge the "Allow NULL" checkbox image slightly, makes it look more like a standard checkbox. 2009-08-30 06:53:10 +00:00
Ansgar Becker
6517a04eff Implement creation and editing of foreign key constraints in a separate new tab on the table editor. Fixes issue #400. 2009-08-16 20:32:37 +00:00
Ansgar Becker
4ff1acf408 Refactor session manager:
* Replace the pulldown by a list to get a better overview
* Display last connected and created date in details
* Prompt user on form closing if modifications should be saved
* Remove moreorless useless image
* Remove options "timeout" and "sort database"
TODO: Display some help text on the right side when no session at all is existant to help new users.
2009-08-09 23:57:52 +00:00
Ansgar Becker
d9c317277d Prefer an image over a text character on the tab close buttons - the character was nice but displayed differently in Bulgaria. Fixes issue #1283 2009-08-05 18:47:49 +00:00
Ansgar Becker
7e9fcc6586 Implement multiple query tabs. Fixes issue #443. 2009-08-03 23:16:16 +00:00
Ansgar Becker
d139ab355d * Replace all "Edit table|view|..." buttons and menuitems by one single "Edit" item.
* Move "Create table|view|..." items into a submenu and have one single "Create" item
* Remove all above mentioned buttons from the main toolbar, leaving them in the context menus where there function is more predictable
* Streamline context menu of db tree and database tab
Fixes issue #1139, issue #1124, issue #1108, issue #820, issue #738, issue #595
(The diff tends to be unreadable here, as there are many automatic GUI adjustments after having removed a toolbar)
2009-05-19 22:37:22 +00:00
Ansgar Becker
7f32b33505 Issue #436: Implement a new table editor dialog. Nukes both create + alter table dialogs. 2009-05-12 22:24:09 +00:00
Ansgar Becker
f0264cef56 Handle different styles of linefeeds (Windows, UNIX, Mac) in popup editor. Solves issue #905 and issue #1016
a) Detect current linefeed style
b) Convert all linefeeds to CRLF
c) Let the user chose a different one or leave it as it is
d) Convert linefeeds back to selected before saving
2009-03-08 13:07:44 +00:00
Ansgar Becker
f20dad8adb Implement stored routine editor, see issue #420
Todo: make routines visible in the database tab so they can be edited.
2009-02-28 22:57:55 +00:00
Ansgar Becker
a74673befa Seems the file description gets displayed in FireFox when you download a .sql file and HeidiSQL is associated to .sql files. So the description should include the app name. 2009-01-18 18:47:55 +00:00
Ansgar Becker
1629251475 Add homebrown icon for "Select all" action 2009-01-18 16:07:27 +00:00
Ansgar Becker
6d388db57b Move resource files where they belong 2009-01-13 18:12:08 +00:00
Ansgar Becker
73492eb54d Fix XP theming in auto build mode now the res file is removed ("runtime themes" option was stored in the res file) 2009-01-13 01:03:23 +00:00
Ansgar Becker
bd797adebf Fulfill rfe #524: Ctrl+tab navigation 2009-01-04 14:34:57 +00:00
Ansgar Becker
bc58797405 Implement per session background color selection for database tree. rfe #896. 2008-12-28 10:56:47 +00:00
Ansgar Becker
5a09fac960 Implement rfe #792: Copy grid data as SQL 2008-12-25 10:26:16 +00:00
Ansgar Becker
9369754fe7 Beautify installer image, add "4" and MySQL logo 2008-10-21 22:19:14 +00:00
Ansgar Becker
12ad369e64 Rename "View" to "Perspective" in GUI controls and apply a more specific icon to the relevant toolbutton. 2008-10-21 21:45:57 +00:00
Ansgar Becker
0115bfa2ce rfe #708: No indicator of changed row . Adds a red small triangle at the top left corner of a modified cell. Background colors don't work here as the cell always has the selection color before modifications get posted. 2008-09-03 19:32:25 +00:00
Ansgar Becker
aa0bd953c6 Replace TNTDBGrids with VirtualTrees to enhance grid viewing and editing.
Affected issues: rfe #618, rfe #464, bug #324, bug #635 (maybe more)
Breaks: Unicode grid editing (due to yet unsolved bug #620), enum pulldowns, MEMO editing
Major changes:
  - editor tab at bottom completely removed, SQL log is always visible now.
  - memo, blob and enum editors don't have a replacement yet. This is left for later commits.
  - grid cells are colorized to signalize their datatypes
  - UPDATEs, DELETEs and INSERTs are composed by own code, no longer by Zeos internal mechanisms. Should make debugging easier.
  - UPDATEs + DELETEs on tables without unique key are blocked now.
  - editing in the query grid is always blocked. Would need some extensive parser to allow that.
2008-08-03 19:30:07 +00:00
Ansgar Becker
dd786c14b4 Find better icons for up/down/left/right buttons and fix bug #626 2008-07-17 19:52:44 +00:00
Ansgar Becker
f122cb82f7 Find colors for drop down arrows which do their job better to signalize a currently active SELECT or ORDER clause 2008-07-08 22:27:49 +00:00
Ansgar Becker
d4e9386682 Work around bug #580 by converting the two TSpeedbuttons above the datagrid to toolbar buttons. This should stop the AV annoyance for these buttons. Not sure if we have the same issue still on other TPNGSpeedButtons as it's long ago I saw one. 2008-07-07 23:22:36 +00:00
Ansgar Becker
1d3bfe6219 Fix and simplify delimiter customizing, now that the dropdown was moved to the mainform and didn't fire the OnExit event any longer for some reason. The new mechanism just uses a button (surely including a new icon, sigh...) which asks via InputQuery for the new value. Delimmiter "validation" is only done when setting the value per button, not in parseSql() any longer - avoids being bug-per-bug compatible with MySQL's SQL parser at least in the non interactive mode.
(Hope that code is ok with Franciscos original implementation. At least the old validation IF's are adapted)
2008-07-06 20:22:16 +00:00
Ansgar Becker
0a3e514983 Add button on query toolbar for executing the current SQL line and find different icons for both "exec selection" and "exec line" actions. 2008-07-06 08:53:38 +00:00
Ansgar Becker
754ccec6a4 Find/create more distinct icons for
- add field
- edit field
- drop field
- create view
- edit view
- stop on errors in batch mode
- wordwrap mode
- various weblinks in help menu
- export/import settings
- maybe more..
2008-07-05 20:04:09 +00:00
Ansgar Becker
2be5153edf Convert old style TDBNavigator to standard toolbuttons, use PNG icons for them and keep only needed (not redundant) buttons: first, last, insert, delete, post. Fixes bug #572 which was caused by r1401. 2008-06-23 23:09:20 +00:00
Ansgar Becker
cf295905cc Add usefull "Expand all" and "Collapse all" menuitems to dbtree. 2008-06-13 23:29:59 +00:00
Ansgar Becker
074f160575 Adjust controls in "About" box:
- Remove the "Donate" button and add a more eye catching "Make donation by Paypal" logo below the MySQL logo
- Rename "Support forum" to what it is: a "User to user forum"
- Add a "Check for updates..." button right besides the version infos which basically calls the updatecheck dialog.
2008-05-13 18:29:30 +00:00
Ansgar Becker
8f26db8090 Try to create bigger and darker bullet icons for representing columns and its neighbours in ListColumns. The column icon is also used in the usermanager btw. I don't think they're too pretty now but they'll do their job better than before. Please shout if you find prettier icons. 2008-05-12 22:22:01 +00:00
rosenfield
9ca0cea574 Add two more icons: group {add,delete}. 2008-05-09 13:09:47 +00:00
rosenfield
e5a8981c66 Partial revert of r1348: restore the group edit icon, which is going to be used in a moment. 2008-05-09 12:49:09 +00:00
Ansgar Becker
d4c32d56d7 Implement a completely new user manager (look + feel + logic):
- Accounts and existing privileges are presented in a pulldown which makes it as easy to use as a toy
- Adding privileges calls the new SelectDBO dialog which is basically a tree like childwins dbtree
- Updating accounts canonicalizes various odd/legacy mechanisms in the MySQL user system
- Fullfills feature request #1547437 (btw)
- Wants to be tested heavily on different servers

A result of a team work. 1000 thanks to rosenfield for the admin friendly logic implementation, tons of fixes and usability ideas.
2008-05-08 20:45:51 +00:00
Ansgar Becker
112ea167a5 Add basic support for views, without changing too much GUI logic:
- Give them their own icon in dbtree and ListTables
- Disable pure table actions (like "Alter table", "Optimize" etc.) in context menus when a view is selected
- Add new column in ListTables: "Type" which is filled either with "Base table" or "View"
- Introduce new property "NodeType" in TVTreeData record, used currently to store NODETYPE_VIEW or NODETYPE_TABLE. This new property is meant to be used for various purposes in other VirtualTrees in the future.
- Introduce Childwin.SelectedTableType, corresponding to Childwin.SelectedTable
- Make DropTable action fit for also dropping views (and surely a list with a mixture of views and tables)
- Don't fetch rowcount from views in DisplayRowCountStats to fix bug #1844952
2008-03-17 20:35:50 +00:00
Ansgar Becker
01c6552829 Fix/enhance various icon issues:
- Fix wrong imageindexes in quickfilter menus for clipboard inserting and "Drop filter"
- Assign existing, fitting icons to all other quick filter menu items and "Insert date/time" items.
- Replace icon for "Query" tab by the big blue arrow which is also used for the "Play" button
- Replace icon for "View Data" buttons and "Data" tab with a more simplistic one from the Silk set. This makes the normal "table" icon more distinct as these both looked very similar previously.
- Edit the "Import CSV file" icon: add some lines which can be better associated with a "text file"
- Remove "Reload privileges" button on toolbar and leave it in the tools "flush" menu. Also remove confusing icon for this menu item as that was highly similar to the master refresh symbol.
- Assign a different (hopefully clearer) icon to "Export SQL" action
- Add seperator between database and table toolbuttons
2008-03-15 10:45:00 +00:00
Ansgar Becker
e53db0a9b7 PngIcons:
- Ban glyph data of all TSpeedButton's + TBitBtn's out of dfm files by converting them to TPngSpeedButtons and assign an image from PngImageListMain at runtime.
- Add "highlight" versions of "database" and "table" icons and use these on selected DBtree nodes.
- Remove no longer used BMP icons

Todo: Fill PngImageListMain at runtime.
Note 1: TBitBtn's are not Windows-theme-aware, even with a manifest in place, so we should avoid using them anywhere.
Note 2: T(Png)SpeedButton lacks a TabOrder property, so some of the other TabOrder's are automatically changed here.
2008-03-09 19:56:52 +00:00
Ansgar Becker
bd597d0c1d Use a PNGImageList and find replacements for nearly all icons in the application.
Sources:
- Mark James' Silk icons
- Everaldo's Crystal icons

Todo: Load icons at runtime
2008-03-04 00:20:38 +00:00
Ansgar Becker
d6d8f88417 Move unused stuff from rev 1209 and 1210 out of the release relevant files, to a place where they can be reactivated if required sometime in the future. The .res file can be restored by calling /extra/updater/makeresource.cmd . 2008-02-23 22:29:41 +00:00
Francisco Ernesto Teixeira
218b63d5f5 Update Callback Application:
Resource file to main application.
2008-02-21 02:54:34 +00:00
Ansgar Becker
85ea545c29 Follow up to rev 1201: remove resource file previously used on updatecheck dialog. 2008-02-19 19:33:23 +00:00
Ansgar Becker
638b69ea85 Add feature 1769207 "Automatic Software Update":
Implements a simple dialog which tells the user if there is some new release or nightly build available. Parses http://www.heidisql.com/updatecheck.php as a .ini file. Download buttons just start the webbrowser currently.
Todo: Automatic invocation of this dialog at regular intervals (for example once a week)
Todo: Automatic download + update + restart
2008-02-10 23:29:39 +00:00
Ansgar Becker
1f33030188 Replace ugly bitmap button by a TButton 2007-07-28 06:36:12 +00:00
Ansgar Becker
7f630fa4de Followup to recent dialog implementation: This is the black arrow for "dropdown" buttons. 2007-06-26 19:16:01 +00:00
rosenfield
bffc0206f2 Organize repository into standard trunk/branches/tags structure. 2007-06-26 11:26:18 +00:00