Jump to content

Kexi/Releases/1.0.0 Changes: Difference between revisions

From KDE Community Wiki
Jstaniek (talk | contribs)
No edit summary
Jstaniek (talk | contribs)
No edit summary
 
Line 1: Line 1:
KEXI is a visual database apps builder, developed since 2002.
KEXI is a visual database apps builder, developed since 2002.
< Back to [[../1|KEXI 1 Releases]]


== Changes in KEXI ==
== Changes in KEXI ==

Latest revision as of 23:12, 31 August 2023

KEXI is a visual database apps builder, developed since 2002.

< Back to KEXI 1 Releases

Changes in KEXI

Highlight:

  • Improved data-aware forms.
  • Form Designer's Data Source Pane for assigning data source to forms and widgets. Object tree view for easier navigating within widgets hierarchy.
  • Import from CSV files and pasting tabular data from clipboard. Export data to CSV files and copying tabular data to clipboard. Automatic detection of delimiters and column types.
  • Improved server connection dialog. Stored connection data.
  • Support for images in forms (stored as BLOBs).
  • New form widget: multiline editor.
  • Improved MS Access (mdb/mde) file import (optional plugin).
  • Improved import of server databases to a file-based projects. Entire Kexi projects (not only tables) can be imported too.
  • Scripting plugin (Python and Ruby) to extend functionality, including example script for HTML export.
  • Simple printouts, print settings and print preview for table and query data.
  • Handbook added (incomplete).
  • More than two hundreds of overall improvements and bug fixes.
  • Kexi 1.0 has been produced by Kexi Team - an international group of independent developers, with assistance and workforce (sponsoring) coming from the OpenOffice Polska company.

Details:

  • 1.0.0 Beta 2
    • Changes since Beta 1
    • Forms
      • Fixed saving images within forms for MySQL and PostgreSQL databases.
    • Database Drivers
      • MySQL: non-latin1 text data (UTF8 encoded) was not properly retrieved.
      • MySQL, PostgreSQL: entering special characters like ', \, ", \n did not work.
    • CSV Import Dialog
      • Fixed crash when importing CSV files smaller than 200 bytes.
      • Fixed CSV importing for MySQL and PostgreSQL databases.
    • Command-line Options
      • Fixed support for -print-preview option.
  • 1.0.0
    • Core Library
      • Fixed possible crash when an object has beed saved with a different name than proposed
      • Field draging: API improved, now both query and table fields/columns can be dragged; added support for multiple fields dragging
      • Added 'higlight object' action for KexiProject(external) (available from property pane)
      • Improved API for reaction on object creation/deletion/renaming
      • applications/x-kexi-connectiondata MIME type defined
      • Internal BLOB storage framework added
      • Fixed autogenerating object names (e.g. tables, queries) based on caption: latin1 base name can be now chosen by translator
      • Plugins: added servicetype property: X-Kexi-SupportsDataExport (boolean); true for tables and queries
      • File dialog's filters now contain only filters that make sense, e.g. there's no "mdb" filter when we're writing to a file.
      • Usability: file dialogs now store recent directory paths in the config file, and this is now used everywhere in Kexi
      • Default extension is properly added when there's multiple filters set in the file dialog
      • Custom "Identifier" property type and editor added (allows only entering identifiers); used in Table/Form/Report Designers
      • Possibility of adding non-db-aware windows/tabs in Kexi
    • Table Designer
      • Fix for 'subType' combo box
      • Avoid possible infinite recursion
      • Selecting non-integer type group using 'type combo' clears PKEY flag, if set
      • Fixed retrieving field captions and descriptions
      • Field captions can be now entered by users instead of names. Field names are then automatically generated.
      • Fixed problem with undo button for subtype combo box
      • Avoid asking twice for saving changes to the design on window closing
      • Find unique name for autogenerated primary key fields
    • Query Designer
      • A few bugs for relationships creation fixed
      • Object combo box now also contain queries (supporting queries is not implemented yet though) the list within the combo is property sorted and grouped; it's reused in 'Data source' tab of the Property Pane; the combo now reacts on deleting/creating/renaming of table or query
      • Fixed redrawing (in an unoptimized way)
      • Conditions: ambiguous expressions fixed: "t1.id > 100" is used instead of "id > 100" in queries like SELECT * FROM t1, t2 WHERE t1.id = t2.id AND t1.id > 100
      • Fixed possible crash when invalid query design is loaded in design view
      • Fixed switching to design mode after invalid query was opened directly in text mode
      • Eat parentheses on criteria loading, in WHERE conditions like (a.id = value)
      • Also accept tableName.fieldName on criteria loading, not only tableName
      • Also accept e.g. "2 = variable" as condition, not only "variable = 2"
      • Graphical representation of joins is generated back from SQL statement, not only based on explicit query schema's relations but are also retrieved from "t1.f1 = t2.f2" expressions within WHERE section
      • Fixed displaying criteria for table view rows when 'visible' column is set to false
      • All-tables-asterisk is also hidden when last table is hidden
      • Fixed possible crash when switching back from SQL View to Design View
      • Fixed displaying criteria if WHERE section contains '('
      • Tables' positions are preserved if possible when relations view updating is needed
    • Form Designer
      • "vAlign" property is now invisible for lineedit widgets (it's noop there)
      • "(autonumber)" label is (identical to the one in tableview) is displayed in lineedit and label widgets assigned to autonumbered fields
      • Shadow in label widgets is properly set for altered indenting, margins and alignment
      • Double focusing of text field fixed
      • "format_font" action added; it's now possible setting font for one or multiple widget's standard using font dialog
      • Fixed crash when there're missing widgets
      • Record is properly fetched on subsequent switching to Data View mode, specially after data source changes
      • Data aware 'text editor' widget added
      • We're not creating additional (blue) resize handle set, but just change color of existing set thus resizing works well even if we're during inline editing
      • Copy common properties from an editing widget to an inline editor (e.g. "margin")
      • Fixed resetting cursor after editing
      • On creating a new spring, splitter and line widget, orientation is set according to its aspect ratio; if the ratio is undefined, popup menu with vertical/horizontal/cancel options is displayed
      • Fixed crash when pressing Tab key on form surface in design mode
      • Data source tab in the Property Pane implemented
      • Fixed switching property buffers when switching between child windows
      • Record navigator is now hidden if there's no data source assigned for a form
      • Fixed i18n for property captions
      • Fixed filling enum values
      • Better handling multiple widget selection; fixes for widget info label
      • Data source fields can be dragged from Data Source Pane and dropped on the form's surface to create data-aware line edit widgets
      • On new form empty creation, undo/redo history is cleared and undo/redo actions are not available
      • On design time, 'dataSource' properties for forms and dataaware widgets are synced with data source combo boxes
      • Inline editing enabled for checkbox widget
      • Width of inserted widgets' size hint increased a bit to for better usability
      • Better support for Auto Fields, including drag&drop
      • Editor inside Auto Field is visible at design time
      • Version information is loaded/saved within form's UI string
      • Field editor's default focus policy is now inherited from internal editor
      • Autocaption is set properly for field editor on design time
      • Field editor's labelCaption is no longer needed
      • Avoid adding accelerators
      • Properties like "iconText" are properly hidden
      • When a widget is deleted or cut, its parent container become selected
      • Added possibility of inserting autofields using 'Insert fields' button from Data Source tab
      • Make a single command out of 'inserting multiple autoFields' task
      • Top-level form surface is resized when inserted autoField(s) couldn't fit
      • Inserting autofields is atomic command supporting undo/redo
      • "other widgets" toolbar popup added for clarity
      • Data-aware image box widget": "insertFromFile", "saveAs", "cut", "copy", "paste", "delete", "properties" popup actions added
      • "readOnly" property added for image, spinboxes and dbfield widgets
      • Widget's look&feel can differ depending on the view mode
      • Support for static and data-aware images boxes; properties implemented: scaling (aspect ration can be kept), horizontal/vertical alignment
      • Images are stored in memory in original form, converting to QPixmap is only performed for displayoing purposes. Such original pixmap can be saved back to file. Original file name is also kept.
      • Application-wide buffer for local (static) BLOB data like pixmaps. For now only pixmaps are supported. Used on design time before objects are stored. This allows to copy multimegabyte pixmaps within Kexi without unnecessary memory loss.
      • Handle Kexi-specific property editor items
      • Accessibility: allow changing the tab order of widgets in the Edit Tab Order dialog using keyboard
      • AutoField widget: update label for font/palette change, display "Unbounded Auto Field" text when no data source is set (in design time, like for image box); improved behaviour in design time (setting caption/type/label position)
      • "frameColor" property added for widgets like text label or frame: behaves well also for "raised" frame shapes
      • New frame widget "KexiFrame", will provide more features; backward compatible with QFrame
      • Do not allow to move top-level widget's position using arrow keys
      • Memory for data is now properly freed before closing a form
      • Infinite loop removed when updating multiple selection
      • "Assign Action" dialog cleaned
      • Versioning added for widget library plugins; this can also avoid conflicts between plugins as we've just renamed them
      • Data source pane: disable widget's data source combo box when there is no form's data source is defined
    • Report Designer
      • (none)
    • Script Editor
      • Open, edit, save and execute scripting code.
      • Catch stdout and stderr and display them. On exceptions jump to the line of code where it got thrown.
      • Switch between supported interpreter bindings via propertyeditor.
      • Configure interpreter-dependend options via property editor.
    • Scripting Library (KROSS)
      • Framework: Let everything, interpreters and wrappers, be a plugin.
      • Framework: Load plugins only on demand.
      • Framework: Call scripting functions from within native code.
      • Framework: Callback of native functionality from within scripting code.
      • Framework: Integrate handling of classes and instances.
      • Embedding: Wrap KexiDB to access the whole database-functionality Kexi provides.
      • Embedding: Wrap the Kexi application to access Kexi runtime-stuff like the KexiMainWindow(external).
      • Embedding: Support QObject, signals and slots and Q_PROPERTY's.
      • Extending: Enable using of GUI-toolkits like TKinter or PyQt.
      • Extending: Add some example scripts to demonstrate how scripting could be used to extend Kexi.
      • Security: Integrate Zope RestrictedPython to provide a restricted python environment to execute python scripting code in a secure sandbox.
      • Interpreter: implement Python binding
    • Data and Project Migration Wizard
      • 'Back' button works well on "dest. type" page when file-based driver is used
      • User is warned when no source filename was specified
      • Usability: after successful import, the project is opened
      • Speedup: table creation and data copying is performed within transactions
      • Added possibility of migrating Kexi projects from one backend to another (e.g. from MySql server to SQLite file) internal 'kexi_ _*' tables are properly recreated; data, e.g. for 'kexi_ _parts' and 'kexi_ _blobs' is properly copied
      • Implemented moving kexi projects from database servers to database files. 'kexi_ _objects' table contents are properly copied if existed in source database, so queries, forms etc. are properly imported.
      • GUI improvements
      • Added versioning for migration drivers (current one is 1.1)
      • Added properties support for migration drivers
      • All error messages are displayed on the last "Failure" page
      • Added "Advanced options" button and dialog, currently with "Encoding" parameter for source database. Currently used by MDB driver for MSJet3 files.
      • "All Supported Files" filter added to Kexi file dialogs
      • Import Wizard's GUI: improved messages, added real Finish page
      • No need to select source driver, it's enought to select a filename or db connection
      • Added "Always use this encoding in similar situations" option to "Advanced options" dialog (saved to Kexi config file).
      • If a destination for imported project is a server, it is also opened after import, if user wanted this
      • Hide Kexi file extensions in source connection file dialog's filter
    • CSV Data Import and Export
      • Support for setting primary key (including autodetection)
      • Support for 'first row contains column names' flag (including autodetection)
      • Column types are autodetected
      • Import is performed within a single transaction
      • Characted encoding fixes; different encoding can be selected
      • Delimiting character is autodetected
      • Clipboard support
      • Floating-point values are properly parsed
      • Empty cells are supported
      • New table name is based on provided filename
      • Deadlock removed when importing CSV text like ","
      • Space saved: radio buttons replaced by combo boxes
      • Added "Always use this encoding when importing CSV data files" option to "CSV Import Options" dialog (saved to Kexi config file).
      • Usability: integer spin box used for "Start at line" option instead of a combo box
      • CSV Export dialog added (also for copying to clipboard) with storable export options
      • Fixed handling line endings inside strings
      • Importing and detection of time and date/time types added
      • Export: CRLF characters are used as in RFC 4180
      • Export: quote characters are escaped inside strings
      • Export: date/time values are exported without "T" inside (from ISO format)
      • Optimalization for large data: only about 100 rows are loaded for preview
      • Import dialog's layout fixed
      • Missing column with primary key is added if user wants it
      • Optimized importing large (many thousands of rows) tables: Table GUI is not used to store entire table before importing; only current record is kept in memory buffer
      • Progress dialog added on importing large data; importing can be cancelled
      • Tabulator is default field delimiter for clipboard data
    • MS Access Database Import
      • Aall strings are now properly decoded (object names and data): MDB(UCS2)->MDBTOOLS(UTF8, using libiconv)->KEXI_MDB(QString)
      • Non-latin1 filenames handling fixed
      • Fixed date, date/time types handling (including Y2k problem for years >=1930)
      • Fixed currency handling (double type is assumed for now)
    • MySQL Database Import
      • (none)
    • Data Table Widget
      • Update combobox items after change of list data
      • Combo box popup behaves more like a normal combo (highlighting, selecting)
      • Added "what's this" support for table columns
      • Fixed possible crashes for comboboxes within non-db-aware table views
      • Row repainting fixed when currently highlighted row has changed
      • Alt+Down shortcut can be used to drop down combo box (previously only F4 worked)
      • Bug #114697: crash fixed in combo box
      • Fixed bug for switching sort order
      • Better sorting: NULL values are smaller than everything else; special sorting for date, time, date/time, boolean, integer and floating-point data types
      • Clearing text removes value in combo box field for "enum" mode
      • Failed accepting of row editing now cancels window closing
      • Fixes for updating row data (this was sometimes visible in Table Designer)
      • Fixed entering row number in the row navigator (the same within forms)
      • Usability: Date, Date/Time and Time cell editors completely reimplemented
      • Data for large table view is destroyed without blocking GUI (the same within forms)
      • Date, time and date/time values are displayed using KDE settings
    • Property Editor Pane and Property Library
      • KexiProperty library moved to more generic KoProperty
      • Widget class is displayed above property editor
      • Blinking reduced on property buffer switching
      • Added 2 custom tabs: Data Source, Widgets
      • Editor within property panel is accepted before buffer switching
      • Number of currently selected tab of the Property Pane is preserved when switching back to dialog for a particular part (in design mode). So if a user have looked at "data source" tab, it's no longer necessary to click this tab again.
      • Properties now have 'sortingKey', so the order of properies is maintained
      • 'list data' introduced to clearly define 'keys' and 'strings' for combobox-like editors
      • Cursor editor fixed
      • Fix for spin box editor's width
      • Better display for composed editors for types like Rect
      • Fixed undo button's size in Editor
      • Font editor fixed
      • Editor: expand/collapse boxes painted using styles; whitespace added on the left hand
      • Editor: editor widget's focusing fixed
      • Editor: possible crashes fixed
      • Show preview box in visible area
      • Fixed entering text into string-type editors with 'autoSync' flag
      • Repaint fixes when column width changes or when persistent selection is set
      • Better support for multiline property captions
      • Method names improved in Factory
      • Do not steal focus when selection is preserved
      • Possible crashes fixed when property values are changed in an instant reaction on changing a property value in the editor; this is the case e.g. in Kexi Table Designer
      • Preserve "changed" flags (marked with BOLD) between property set switching
    • Main Window
      • 'Close all' works well if there are more than one yes/no/cancel dialogs required to show
      • Missing icons added: small icons cleaned up; added better query/form/report/script icons
      • Crash fixed in 'detach window' action (Childframe mode)
      • Navigator: when items renaming, treat "*" ("changed" flag) as a special character, not a part of the item's name
      • Better readibility: new project type selector uses listview, not icon view
      • Toplevel (buggy) and Tabbed (redundant) KMDI modes hidden in Window menu; Changing MDI mode now requires application restart
      • 'Create' menu renamed to more typical 'Insert'; 'Data' menu moved after 'Format'
      • Project navigator: usability fixes
      • Project navigator visibility flag is now stored in config file (usable for IDEAl mode)
      • Many i18n'd messages fixed
      • "File->Export->Data Table" and "Edit->Copy Special->As Data Table" actions added
      • Usability: for IDEAl mode tabs are also visible when one window is opened (otherwise user could not know what the window's caption is)
      • Usability: added "close" button to the tab widget for IDEAl mode
      • 'hover close button' is now turned off by default for IDEAl mode (added appriopriate setting to kexirc for changing this)
      • Fixed saving Project Navigator Side Panel's visibility
      • Do not allow to open the same dialog twice - it was possible for slowly loading dialogs with large data (e.g. a table view with 10^4 rows); pending 'open' actions are now known
      • "Dangerous" flag set for potentially destructive dialogs
      • 'Single click opens' mode is off by default, can be turned on
    • Simple Printouts
      • Added Simple Printouts with Print Preview and Page Setup windows
      • Pages to print can be selected
      • Number of copies can be entered
      • Pages collation switch on or off (i.e. 1-2..n; 1-2..n.... for collation and 1-1-...1; 2-2..2; .. for "no collation")
      • Page count is computed and printed on the footer as "Page x of y"
      • "Page Setup" action added; now it's window is only presented when user really wants this
      • Do not paint invalid values of type time, date or date/time
    • KexiDB (Database Support Library)
      • Field names converted to lowercase in memory to avoid problems with comparisons
      • TableOrQuerySchema helper class added
      • Database Properties utility class added to API
      • More verbose error messages: Error messages and result numbers can be now inherited, so less information will be lost while displaying message e.g. on failed cursor opening.
      • Generate cleaner query statements: if there's single table in query schema, skip "table." prefix in resulting SQL string, e.g. build "SELECT a, b FROM t" instead of "SELECT t.a, t.b from t".
      • Testing connection executes "USE DATABASE" if needed (e.g. for PostgreSQL)
    • SQL Parser
      • (none)
    • Database Drivers
      • General
        • MySQL, SQLite drivers: avoid double memory freeing.
      • SQLite Drivers
        • Fixed crash for SQLite2 driver
        • Update for the current KexiDB API.
      • MySQL Driver
        • Update for the current KexiDB API.
    • Application Startup
      • Connection data editor improved; connection data is now storable; added support for adding/deleting/editing connection data
      • "-type connection" command line arg added (i.e. support for applications/x-kexi-connectiondata mime type)
      • When opening connection (most often using .kexic file), connection dialog is shown so user can adjust connetion parameters, (optionally save them) and finally perform the connection to see available databases. If connection failed, connection dialog is popping up again.
      • Better usablity of 'Open Existing' tab page and 'New Project' wizard
      • Files like MS Access .mdb can be clicked and then Import Wizard will pop up with preselected parameters. This also works using the command line options.
      • Check for existence of a file user has selected to open
      • Added --print and --print-preview command line options
      • Project Migration Wizard is proposed if a server-based database is incompatible with Kexi and cannot be opened
      • "--skip-dialog" command line option added. Skips displaying connection dialog and connects directly. Available when opening .kexic or .kexis shortcut files.
      • Opening server-based projects works in File->Open when there's already project opened.
      • "--connection <shortcut_filename>" command line option added. Specifies a database connection shortcut .kexic file containing connection data. Can be used with --createdb or --create-opendb for convenience instead of using options like --user, --host or --port. Note: Options like --user, --host have precedence over settings defined in the shortcut file.
      • Creating server-based projects works in File->New when there's already project opened.
    • MS Windows-Specific
      • Opened files are now locked for writing by default; related error messages improved