KitCAD i3 KGC r3 development testing


Click to view larger image

KitCAD i3 KGC r3 is being developed on and off-line as a single webpage interface for the current webserver interfaces (not a replacement for the existing version). Its interface requires RPCL and a PHP enabled server to function. Existing online KitCAD i3 CGI interfaces are used for save/quote/3d buttons.

Currently no public release is planned however testing is being performed with a hope to release by end of 2012.

Information on the RadPHP XE RPCL 3.0 version of KGC can be found in the 2011 release testing notice.

Information and downloads of vcl4php (the original Delphi4Php), RPCL 2.0 (2008), and RPCL 3.0 for RadPHP XE (2010) can be found below:

37 Responses to “KitCAD i3 KGC r3 development testing”

  1. Admin Says:

    For testing/release; 3 other API interfaces have been created, as follows:

    • CGI perl script that returns user account validation as a JavaScript string within a iframe webpage *
    • CGI perl script that returns a user uploaded KP2 file as a JavaScript string within a iframe webpage *
    • CGI perl script that returns KPD files (using get.cgi) as JSON formatted JavaScript strings within a iframe webpage *

    Other existing KitCAD i3 cgi and LibSys i3 cgi interfaces have been modified to allow limited user access.

    * the iframe form post method is a process of posting form data to a server which returns a acceptable mime type for decoding by the return catching function (as example: Return processing function executed by the iframe element onload attribute). A more formal method of posting form data could be performed with XAJAX or the Qooxdoo interfaces which both have error handling support.

    NOTE: KitchenPages.com LibSys i3 is not required for KitCAD i3 KGC r3 to function.

  2. Admin Says:

    KitCAD i3 KGC r3 had problems with display and failure of pointer drop click of KGraphicControls (With no ‘+’ pointer for pointer carrot. The hand carrot is instead shown) – until the following style of public/system DOCTYPE and HTML namespace declarations, as follows:.

    <!--[if lt IE 4]><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40" DIR="ltr"><![endif]-->
    <!--[if gte IE 5]><!--><!DOCTYPE html><html DIR="ltr"><!--<![endif]-->

    The above issues is caused when a author is recycling and reusing KitCAD i3 Java-scripting code that worked with HTML 4.0 into a more modern system like HTML 4.01 strict.

    Valid element namespaces can be viewed at W3C html5.

    NOTE: allowance for MATH, SVG and pre-CANVAS standards of public/system ID declarations and element namespaces has not been included in the above workaround example; Apart from the removal/change to public/system ID.

  3. Admin Says:

    The KitCAD i3 KGC r3 *-get-svr.php file was modified to remove the XML Whitespace in response error message that affected use with some Webpage browsers/WebKit (currently unsupported).

    See release testing for more information.

  4. Admin Says:

    For testing/release; recycled code, some code from KitCAD i3 KGC, as follows:-

    • Loading Landing Page
    • _kitcad_img.js (draw/edit)
    • Revised KitCAD227.Loadall (load)
    • Preference Settings
    • ClipEd Settings
    • P3P Support

    Re-Tested draw, load, and edit functions (found minor issues/bugs exist).
    Re-Tested save, view, and report functions (without file sharing enhancements).
    Tested CSS for web2form user interaction.
    Tested Browser support and Landing page re-directions.

  5. Admin Says:


    Click to view larger image

    Re-wrote (by remarking lines) the www_kgc_rpcl3xajaxjson.js function of kgc_exploit_load for testing SVG. The corrected kgc_exploit_load function will be enabled after further testing, and modifications to the target HTML page.

  6. Admin Says:


    Click to view larger image

    Completed changes for IE, and tested for rendering KP2 drawings, saving KP2 drawings, and applying a change to a loaded drawing. SVG still needs corrections for use with Firefox/Chrome webbrowsers.

  7. Admin Says:


    Click to view larger image

    Updated KitCAD i3 KGC (online version) to use X3DOM 1.4.0; See the update notice for more information.

  8. Admin Says:


    Click to view larger image

    KitCAD i3 KGC r3 will show Share Icons for Signed-in users on the Quote and View web form Pages. The Share Icons become visible when a Signed-in user navigates over the X close web form symbol; When Share Icons are clicked the web form is closed, and the Share target will open in a new window.

  9. Admin Says:

    Re-wrote cDemo.exe PHP compiled HTML into JavaScript, increasing re-display speed by 1 second – (rewrite of compiled HTML into JavaScript makes the RadPHP XE IDE redundant as it can no longer be used to start a build process considering the amount of required alterations; Eg: RadPHP XE IDE designtime with compile for runtime + cDemo.exe compile of compiled runtime + Manual rewrite of final HTML4 into Javascript + allowance for existing standards used by KitCAD i3 software programs + upgrades + HTML5).

    The cDemo.exe code example is a sample application supplied within Rad Studio products (?maybe Delphi or Delphi for PHP ??). cDemo.exe uses a external dynamic link library file named php4app.dll for PHP 4.4.6 to process PHP scripting; Other versions of the external dynamic link library file are included for PHP 5.2.11, or PHP 5.3.0.

    Added a build_gz.php backend to merge scripts and create gz archives. The gz archives are not required on the KitchenPages server as webpage browsers negotiate with the server for gz or other compression during communication/download; The gz archives are used by KitCAD i3 KGC for increasing speed on local-machines/networks that are using the file:// protocol (The file:// protocol and gz archive speed-up is not supported by Internet Explorer or KitCADi3ie5.exe webpage browsers; And the planned releases of KitCAD i3 KGC r3 will not be designed for supporting the file:// protocol).

    Added some support functions for reuse within a HTML5 rewrite (one page). Tested LibSys and X3Dom view results; All Movement and Loading functions; And re-Tested Script loading.

    Recycled and included the Object Editor rotation maths from existing KitCAD i3 KGC interfaces.

    Recycled and included the Object Editor Fraction fixes from KitCAD i3 KGC interfaces. The dfsmf.js 2010 r3 converter for non-metric sizes will be used; See the dfsmf.js release page for more information.

    Remarked the untested KitCAD i3 KGC r3 Object item Draw script function that has similar function with JSRDOMCS. Pre-testing of the KitCAD i3 KGC r3 interface for release is 98% complete, with -2% defect in rendered result… 🙂

  10. Admin Says:

    Performed a very basic draw, drag, edit test of KitCAD i3 KGC r3 using a current webpage browser without major error. More advanced testing may occur at a later date.

    NOTE: The SWF rendered the title splash, no 3D was visible without the use of another browser capable of rendering the x3dom area correctly. No X3DOM support check was made to see if X3DOM or flash was the right version, is correctly installed or enabled, etc. A guide to requirements can be found at X3DOM.org release documents (Adobe Flash Player Incubator build 11.01.3d). A X3DOM browser supported test can be found by visiting doesmybrowsersupportwebgl.com

  11. Admin Says:

    Reviewed some of the loading and drawing code to match current KitCAD i3 release.

    Added an about message box; With external links to components and limited license information.
    Partly re-tested the example library system (LibSys i3; JSON formatted Object Items)

    Creating graphics and Writing KitCAD i3 KGC r3 help/guide document.

    A preview interface of r3 can be seen at:-
    http://www.KitchenPages.com/library/i3/r3
    (HTTP only, HTTPS is not enabled at this time).

    NOTE: Preview users will need to reset/clear their webpage browsers cache for any updates (try pressing F5), or wait 1 week where any updates may be applied (downloading updated files is dependent on if the webpage browser is set to check for changes from the server); See the Clear cache guide for more information. The r3 Preview may/does NOT save, and generate communications correctly – Drawings Saved and web communications generated for KitCAD i3 KGC r3 may NOT yet work with existing or current versions of KitCAD i3, at this time; EG: The un-bug-tested functions of Save, Render, or Quote may stop working after one use.

  12. Admin Says:

    Added text input element onclick EVENT focus checking function of checkqxievn for Mozilla/webkit Webpage browsers. To test if the EVENT fix is active try clicking between two letters within a text input element; The flashing | symbol will be located at the end of Text if the EVENT fix is active.

  13. Admin Says:

    Enabled SSL support and added loading splash screen

  14. Admin Says:

    Corrected minor errors, and fixed other issues.
    Added Filename lowercase correction support for Drawing Object Items.
    Included default library system for the Object Item drop-down menu.

  15. Admin Says:

    h5b
    Click to view larger image

    Created and tested a new interface using both RPCL 3.0 and RPCL 5.0 components. Added files for the new interface including JQueary 1.7.1 and XAJAX 0.5 scripts plus the required PHP from RPCL 5.0.

  16. Admin Says:

    Code review/Wishlist item: CGI/PHP error detection and/or requirement warning message.

  17. Admin Says:

    KitCAD i3 KGC r3 release notice

  18. Admin Says:

    ReTested next version of KitCAD i3 KGC r3 made with RPCL 5.0 (aka HTML5 Builder with 5.1 upgrade) and RPCL 3.0 (aka RadPHP XE);

    IE6 has failed with error thrown on line 157; At about 1 minute after XAJAX 0.5 processing message is displayed on the webpage Browsers status bar an error is thrown.

  19. Admin Says:

    Updated PHP and other required security to perform error checking for user supplied target URL’s called form XAJAX by a KitCAD i3 KGC r3 function.

  20. Admin Says:

    Updated and corrected minor bugs for log off function and two sharing functions. Added limited icon file support for Apple OSx to the KitchenPages.com server’s .htaccess file, only to prevent errors.

  21. Admin Says:

    h5b
    Click to view larger image

    Created a HTML5 Builder package that contains the KitCAD i3 KGC r3 interface. No date is planed for release all of running source code at this time (Any release will have a small setup program that gets and installs 16Mb of source code, designtime, and runtime files from ‘about’ 5Mb of setup files).

  22. Admin Says:

    h5b
    Click to view larger image

    Added 2 servers for r3 versions; The first for RPCL 3.0 – for use with non-tabbed web page Browsers like IE6 (XP with SP2), Mozilla 4; And the second of RPCL 3.0 updated with RPCL 5.1 – for use with HTML5 web page Browsers (or IE8; XP with SP3).

    Testing of both servers has started and once finished the current KitCAD i3 KGC r3 will be updated where needed to allow correct function.

    Began testing RPCL 5.1 toolbars, components, and some possible new functions for inclusion with the next KitCAD i3 KGC release for HTML5 or users on mobile devices/tablets; image included above

  23. Admin Says:

    The open source files and deployed Project files for the KGraphicControl and r3 packages running with RPCL versions 3.0 to 5.1 can be found within the KGC_RPCL_3-5_Installer_Setup.exe online download; See release notice for download links and more information.

  24. Admin Says:

    A deployed Project release of KitCAD i3 KGC r3 (localhost is enabled/any IP is partly disabled) with RPCL 3.0 and includes KitCAD i3 KGC (localhost) for XAMPP 1.8.1 Apache2 win32 web servers has been uploaded online. See release notice for download links and more information.

  25. Admin Says:

    Released KitCAD i3 KGC r3 for FaceBook apps . See FB app release notice for more information.

    Corrected minor issue in r3_.js/r3_.js.gz/_Index3050API2.js; when r3 is used inside Framed pages (like FB apps);
    Causing Dialog message of: UN-AUTHORISED TECHNOLOGY.

    The r3 and r35 versions located on the KitchenPages web server have been updated. Releases of Source and other On/Off-line versions may be updated at a later date (within a upgrade download).

    NOTE: This issue affects KitCAD i3 KGC r3 for XAMPP downloads before the 16 June, 2013; See upgrade release notice for more information

    To perform the work-around/correction do as follows:

    1) Edit the files of r3_.js, r3_.js.gz, and _Index3050API2.js
    2) Change the following line:

    try{ if (authorised == “0” && parent.document.domain.toLowerCase() != document.domain.toLowerCase()){alert(“POST BY UN-AUTHORISED DOMAIN”); } }catch(e){ if (authorised == “0” && document.location.protocol.toLowerCase() != “file:”){ alert(“UN-AUTHORISED TECHNOLOGY”); } }

    to be

    try{ if (authorised == “0” && parent.document.domain.toLowerCase() != document.domain.toLowerCase()){alert(“POST BY UN-AUTHORISED DOMAIN”); } }catch(e){ /*if (authorised == “0” && (document.location.protocol.toLowerCase() != “http:” || document.location.protocol.toLowerCase() != “https:”)){ alert(“UN-AUTHORISED TECHNOLOGY”); }*/ }

  26. Admin Says:


    Click to view larger image

    Started writing and testing the next version of KitCAD i3 KGC r5 for release 2014, or sooner. Recycled code from previous r3 versions will be over-ridden or removed where needed (as apposed to updated); The user interface is made using RPCL 5.0 methods.
    Status:

    15th June 2013 – 10% completed; Initial display and running loops.
    30th June 2013 – 11% completed; Display drag and drop functions.
    31st July 2013 – 60% completed; Open KP2, toolbar render, toolbar quote, toolbar print, move popup, edit popup, option popup.
    22nd Sept 2013 – 70% completed; Draw KPD, added default and LibSys i3 support to toolbar drop-down select.
    24th Sept 2013 – 80% completed; Save KP2, updated IE jumplist, Ff/Chrome bug fixing/tests.
    26th Sept 2013 – 85% completed; Added jQuery Event handlers to KGC elements for mousemove and mousedown, added loadtime function to disable KGC elements r3 IE standards CSS reset fix, updated content language set by .htaccess to be en-US (was en-us).
    28th Sept 2013 – 90% completed; Edit KPD, upgraded jQuery from 1.7.1 to 1.10.2, added jQuery UI 1.10.3 draggable attributes and script element to markup (disabled), minor changes to window/dialog drag and drop event functions, corrected RPCL event value testing.
    29th Sept 2013 – 91% completed; Added crossdomain.xml for X3Dom SWF cross-site-scripting support (issue 63)
    12th Oct 2013 – 92% completed; Applied X3dom 1.5.0, Sketch-up Make, .htaccess and i3 updates.
    12th Oct 2013 – 93% completed; Uploaded, tested and applied i3 updates.
    13th Oct 2013 – 94% completed; Added Keyboard Shortcut support and help (supporting r5/r35/r30 versions)
    18th Oct 2013 – 95% completed; Updated r30 source archive/installer (for Keyboard Shortcuts support).
    19th Oct 2013 – 95% completed; Tested and Updated r5 for use with r30 Keyboard Shortcuts.
    20th Oct 2013 – 95% completed; Tested compatibility for new i3 library system; Updated r30 source archive/installer.
    23rd Oct 2013 – 95% completed; Posted preview of KitCAD i3 KGC r5 (see next post, below).
    26th Oct 2013 – 96% completed; Tested source code deployment using Intel’s XDK (see below).
    20th Nov 2013 – 96% completed; Added Twitter Cards to online versions (optional, not in downloads)
    30th Nov 2013 – 96% completed; Performed testing with Chrome web browser
    7th Dec 2013 – 96% completed; Started making XAMPP version files for release
    24th Dec 2013 – 96% completed; Added links on blog to Chrome web store
    24th Dec 2013 – 98% completed; Tested XAMPP version files for release
    25th Dec 2013 – 100% completed; Uploaded packaged files, Added release download links

    TO DO: (skipped over; for next release)
    * Correct splash element move functions for non drag/drop enabled interfaces.
    * Re-write/override/test output generation functions.
    * Enable; any IP is partly disabled {XAMPP/localhost versions}
    * Perform cross Browser Testing (and some Mobile Testing if possible).
    * Enable KitCAD i3 KGC security to allow QUOTE and RENDER form post methods by an rX refer.
    * Add if tested and working the new i3 Library System update that removes need of waiting when downloading Object Items/Scripts/Images (this may be released after rX – see KGC rX kpx example notice and i3 KGC kpx conversions).
    * clean up code by removing unused or non-working functions.
    * Package rX files within archive/installer, upload, test, and add download link to dev site.

  27. Admin Says:

    KitCAD i3 KGC r5 release notice.

  28. Admin Says:

    r5_XDK_test
    Click to view larger image

    Tested KitCAD i3 KGC r3 and KitCAD i3 KGC r5 with the XDK deployment platform by Intel Corp. The rendered display is generated using Google Chrome surfing a localhost http server.

    KitCAD i3 KGC r3 displayed a black plan view on some devices.
    KitCAD i3 KGC r5 toolbar and dialog drag and drop could not be emulated correctly.

    XDK importing of the test source code was done from backup H5B/RadPHP ZIP file archives of the Projects folders 🙂

    Unlike H5B – the building of source into a working deployment using XDK requires the cloud.

    Microsoft also have a free to try product named WebMatrix that can emulate Windows mobile devices.
    For a list of other mobile emulators see http://www.mobilexweb.com

  29. Admin Says:

    r5 se test
    Click to view larger image

    Tested a stand alone version of KitCAD i3 KGC r5 se that can run from a windows XP desktop. Designed for use with kpx example (above).

  30. Admin Says:

    Changed KitCAD i3 KGC r5/r50 IE X-UA-Compatible meta tag from IE8 to be IE5 (quirks mode) due display bug placing object item on plan.

    Encountered the Windows Update error 0x80072EFD(2013-11-21-T-02_11_07A); The error results in failed attempts/Time outs when checking for updates to Windows;

    To attempt correction or check for problems; Download Microsoft Fixit and run.

    The blocked sites Privacy icon may be displayed for all web sites viewed using Internet Explorer (with Bing Bar installed); Double click on the Privacy Icon {Eye with red on status bar}, the Privacy Report dialog of blocked sites will include 2 or more URLs of http://www.bing.com/*

  31. Admin Says:

    KitCAD i3 KGC r5/r50 Upgrade, for XAMPP with KitCAD i3 KGC r3 release notice

  32. Admin Says:

    Updated online version of r5/r50 _Index5150print.css file by adding the follow 2 lines; This change removes the toolbar from the Print preview/output view device (media=print)


    #ToolbarPanel_outer {DISPLAY: none; VISIBILITY: hidden;}
    #ToolbarPanel {DISPLAY: none; VISIBILITY: hidden;}

    Current/Online version: /library/i3/_Index5150print.css

  33. Admin Says:

    Updated online version of r5/r50 _Index5150.css file by adding the follow lines – initaly developed for the rX version (See new feature notice for more information); This change makes view change depending on size of display.


    @media handheld and (max-width: 320px), handheld and (max-width: 480px), screen and (max-device-width: 320px), screen and (max-device-width: 480px), screen and (max-width: 600px) {
    #Toolbar { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; }
    #ToolbarPanel_outer { width: 465px; height: 59px; position: absolute; }
    #ToolbarPanel { width: 465px; height: 59px;}
    #ToolbarTitle_outer { z-index: 0; left: 28px; width: 256px; height: 13px; position: absolute; top: 2px; }
    #ToolbarTitle { font-size: 12px; width: 256px; height: 13px; }
    #ToolbarNew_outer { z-index: 1; left: 5px; width: 40px; height: 25px; position: absolute; top: 21px; }
    #ToolbarNew { font-size: 10px; width: 40px; height: 25px; }
    #ToolbarComboBox_outer { z-index: 2; left: 50px; width: 147px; height: 18px; position: absolute; top: 25px; }
    #ToolbarComboBox { font-size: 10px; height:16px; width:147px; }
    #ToolbarDraw_outer { z-index: 3; left: 200px; width: 40px; height: 25px; position: relative; top: 21px; }
    #ToolbarDraw { font-size: 10px; width: 40px; height: 25px; }
    #ToolbarEdit_outer { z-index: 4; left: 241px; width: 40px; height: 25px; position: absolute; top: 21px; }
    #ToolbarEdit { font-size: 10px; width: 40px; height: 25px; }
    #ToolbarSave_outer { z-index: 5; left: 285px; width: 40px; height: 25px; position: absolute; top: 21px; }
    #ToolbarSave { font-size: 10px; width: 40px; height: 25px; }
    #ToolbarPrint_outer { z-index: 6; left: 326px; width: 40px; height: 25px; position: absolute; top: 21px; }
    #ToolbarPrint { font-size: 10px; width: 40px; height: 25px; }
    #ToolbarQuote_outer { z-index: 7; left: 370px; width: 44px; height: 25px; position: absolute; top: 21px; }
    #ToolbarQuote { font-size: 10px; width: 44px; height: 25px; }
    #ToolbarRender_outer { z-index: 8; left: 415px; width: 44px; height: 25px; position: absolute; top: 21px; }
    #ToolbarRender { font-size: 10px; width: 44px; height: 25px; }
    #ToolbarImage_outer { z-index: 10; left: 5px; width: 16px; height: 16px; position: absolute; top: 1px; }
    #ToolbarImage { width:16px; height:16px; }
    #ToolbarImage_container { width: 16px; height: 16px; }
    #KGraphicControl111_outer { margin-left:-180px; }
    #Toolbar, .ui-btn-inner { margin-left:0px;padding-right:0px;padding-left:0px; overflow:visible;}
    #Toolbar, .ui-btn-text { font-size: 10px; margin-left:-5px; }
    }

    Current/Online version: /library/i3/_Index5150.css

  34. Admin Says:

    Corrected code to allow Internet Explorer 8 users to draw/move without placement bug of KGraphicControl; Internet Explorer 9 and Internet Explorer 10 issues were not corrected at this time (HTML1300 error). See release notice for more information.

    Updated online version of r5/r50 _Index5150.css file by adding the follow lines – initially developed for the rX version (See post above for more information); This change makes view change depending on size of display to web form 2 Editor dialog window.

    insert under the last ‘#Toolbar’ line;

    #PromptPanel_outer {left:20px;}
    #PromptfoeiClose_outer {left:295px;}
    #QWindow1promptfoei {width:320px;}
    #QWindow1promptfoei_outer {width:320px;}

    Current/Online version: /library/i3/_Index5150.css

  35. Admin Says:

    Firefox +29.1.0 does not start qooxdoo qx.ui interface. For KitCAD i3 KGC r3 online – A redirection to KitCAD i3 KGC r5 is performed; For more information see issue notice/work-around

  36. Admin Says:

    Added Enhanced Keyboard support for KGC to be moved using the arrow keys for all online versions of r30/r35/r3/r5/r50. See release notice for more information. (r3kb.js)

  37. Admin Says:

    Added fix into r5en.js for default user missing Object Items in drop-down selector, see issue notice for more information.

Leave a Reply

You must be logged in to post a comment.