[Jsdc-info] New version of JSDC: 0.91
Brought to you by:
zig007
From: JSDC u. information. <jsd...@li...> - 2006-08-03 17:57:47
|
Hi! This is a quite large commit and many things have changed. For example, the code for all data aware objects(dao) has been moved = from dataview.js to dao_tree.js, dao_table.js, dao_select.js and = dao_input_group.js(the last being quite empty at the moment, being = unimplemented). Also, lookup editors(drop-down) are now available in the table data = aware object and input validation has been cleaned up. I think the library is looking almost structure-stable now, and few, if = any, major changes will occur until 1.0.=20 I will now focus on fleshing out the existing stuff and adding some = small things. Here'd be the changes: CHANGES: -------- -------------- application.js -------------- 1.1.2.6.2.1 * Added getEventKeyCode()-function. 1.1.2.6.2.2 * Added string filtering and isnumeric functions and improved = add_tr_to_table. 1.1.2.6.2.3 * application_check_input() has been added. It performs generic input = validation on input elements. * The application now sports an array of editor_object. editor_object = holds an input element and related settings and events. * isnumeric() has been split into two since JSDC no longer has a = "numberic" datatype. The two new functions are isdecimal() and = isInteger(). * pausecomp function removed 1.1.2.6.2.4 Major cleanup, moved the input validation into validation.js and = generalised so that the standalone editor class in application.js uses = the same input validation as dataview.js. ------------- dao_tree.js, dao_table.js, dao_select.js and dao_input_group.js=20 ------------- * Created in this release, consists of code moved from dataview.js and = application.js ------------- datatable.js ------------- * Major cleanup and improved change event propagation. ------------- dataview.js ------------- 1.1.2.19.2.1 * Move out aggregate calculations to separate = function(dataview_recalculate_aggregates) and change table_refresh = accordingly. 1.1.2.19.2.2 * Major rewrite, added tableview-editing, completed all change event for = the tableview. 1.1.2.19.2.3 * Got rid of "number" datatype. Now has "integer" and "decimal" instead. * Darned IE. Now the applikation uses Application.IEOKColor instead of = "transparent" in IE when resetting editcolor after an validationerror = has ben fixed. 1.1.2.19.2.4 Added lookup handling for the datatable. This will probably move to the = dataviewcolumn later on. 1.1.2.19.2.5 Moved data aware object-specific code to dao_tree.js, dao_table.js, = dao_select.js and dao_input_group.js. 1.1.2.19.2.6 * Fixed the names of the constants. 1.1.2.19.2.7 * The logic surrounding the input validation has been moved out of this = file to application.js(the making background red GUI-stuff) and = validation.js(the validation). This to unify the validation routines in = dataview.js with the standalone routines in application.js. * Also, the lookup_values array in dataviewcolumn is now a list of = lookup_value objects, each containing names and values. 1.1.2.19.2.8 dataviewcolumn.setData() now suspends updating when a decimal dot is = entered. Otherwise the entered "1." will be interpreted as "1" and the = editor is reset to "1". This must be possible to make nicer, though. 1.1.2.19.2.9 * Added support for "custom" datatype. This type stores data as a string = but has an edit button in the dao_table which triggers the onEdit event. * The onEdit function now uses the edit_event_object to fetch event = info. ------------- transcode.js ------------- This file is just started with two new unfinished functions, = escapeUnicode() and unescapeUnicode(). So don't use it yet. It is merely = a hint on what's to come. It will host decompression algoritms, = encryptions an lotsa neat stuff. //Zig007 =20 |