Hello,

Some automatic checking support has been added to Gnoga with the help of 
AdaControl.
https://sourceforge.net/projects/adacontrol

I have done some simple fixes (no backward compatibility issue).
Most others are type names breaking naming rule for types, see attached file.

gnoga-application-multi_connect.ads:49:9: Error: NAMING_CONVENTION: Name does 
not follow naming rule for "access_type": "Application_Connect_Event"
gnoga-gui-base.ads:91:12: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "type": "Base_Type_Array"
gnoga-gui-base.ads:94:12: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "type": "Base_Type_Map"
gnoga-gui-base.ads:279:9: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "access_type": "Action_Event"
gnoga-gui-base.ads:285:9: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "type": "Mouse_Event_Record"
gnoga-gui-base.ads:301:9: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "access_type": "Mouse_Event"
gnoga-gui-base.ads:307:9: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "type": "Keyboard_Event_Record"
gnoga-gui-base.ads:318:9: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "access_type": "Keyboard_Event"
gnoga-gui-base.ads:322:9: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "access_type": "Character_Event"
gnoga-gui-base.ads:326:9: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "access_type": "Wide_Character_Event"
gnoga-gui-base.ads:330:9: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "access_type": "Message_Event"
gnoga-gui-base.ads:336:9: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "access_type": "Child_Changed_Event"
gnoga-gui-base.ads:340:9: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "access_type": "Drop_Event"
gnoga-gui-element.ads:70:12: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "type": "Element_Type_Array"
gnoga-gui-element.ads:73:12: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "type": "Element_Type_Map"
gnoga-gui-element.ads:555:9: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "type": "Border_Style"
gnoga-gui-element-canvas-context_2d.ads:61:9: Error: NAMING_CONVENTION: Name 
does not follow naming rule for "access_to_class_type": "Pointer_To_Image_Data"
gnoga-gui-element-canvas-context_2d-plotting.ads:40:9: Error: 
NAMING_CONVENTION: Name does not follow naming rule for "type": "Plot_Info"
gnoga-gui-element-canvas-context_2d-plotting.ads:64:9: Error: 
NAMING_CONVENTION: Name does not follow naming rule for "type": "Plot_Point"
gnoga-gui-element-canvas-context_2d-plotting.ads:97:12: Error: 
NAMING_CONVENTION: Name does not follow naming rule for "type": "Positive_Float"
gnoga-gui-element-canvas-context_2d-plotting.ads:146:9: Error: 
NAMING_CONVENTION: Name does not follow naming rule for "type": "Point_List"
gnoga-gui-element-canvas-context_2d-sprite.ads:56:12: Error: NAMING_CONVENTION: 
Name does not follow naming rule for "type": "Velocity"
gnoga-gui-element-canvas-context_2d-sprite.ads:139:9: Error: NAMING_CONVENTION: 
Name does not follow naming rule for "type": "Sprite_Data"
gnoga-gui-element-canvas-graphics_2d-sprite.ads:54:12: Error: 
NAMING_CONVENTION: Name does not follow naming rule for "type": "Velocity"
gnoga-gui-element-multimedia.ads:87:12: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "Volume_Range"
gnoga-gui-plugin-message_boxes.ads:9:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "Message_Box_Result"
gnoga-gui-plugin-message_boxes.ads:1:1: Error: HEADER_COMMENTS: line does not 
match pattern 
"^------------------------------------------------------------------------------$"
gnoga-gui-plugin-pixi-sprite.ads:53:12: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "Velocity"
gnoga-gui-window.ads:267:9: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "type": "Storage_Event_Record"
gnoga-gui-window.ads:274:9: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "access_type": "Storage_Event"
gnoga-server-connection.ads:106:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "access_type": "Connect_Event"
gnoga-server-connection.ads:128:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "access_type": "Post_Request_Event"
gnoga-server-connection.ads:138:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "access_type": "Post_Event"
gnoga-server-connection.ads:146:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "access_type": "Post_File_Event"
gnoga-server-connection-common.ads:77:9: Error: NAMING_CONVENTION: Name does 
not follow naming rule for "access_type": "Client_Factory_Type"
gnoga-server-connection-common.ads:89:9: Error: NAMING_CONVENTION: Name does 
not follow naming rule for "access_type": "Server_Factory_Type"
gnoga-server-database.ads:48:9: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "type": "Connection"
gnoga-server-database.ads:49:9: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "access_to_class_type": "Connection_Access"
gnoga-server-database.ads:80:9: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "type": "Field_Description"
gnoga-server-database.ads:126:9: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "type": "Recordset"
gnoga-server-database.ads:127:9: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "access_to_class_type": "Recordset_Access"
gnoga-server-database-mysql.ads:47:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "access_type": "MySQL_ID"
gnoga-server-database-mysql.ads:49:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "Connection"
gnoga-server-database-mysql.ads:50:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "access_to_class_type": "Connection_Access"
gnoga-server-database-mysql.ads:119:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "Recordset"
gnoga-server-database-mysql.ads:208:12: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "Field_Data"
gnoga-server-database-mysql.ads:211:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "Row_Data"
gnoga-server-database-mysql.ads:215:12: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "Field_Length"
gnoga-server-database-mysql.ads:216:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "List_of_Lengths"
gnoga-server-database-sqlite.ads:45:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "access_type": "SQLite_ID"
gnoga-server-database-sqlite.ads:47:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "Connection"
gnoga-server-database-sqlite.ads:48:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "access_to_class_type": "Connection_Access"
gnoga-server-database-sqlite.ads:109:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "Recordset"
gnoga-server-migration.ads:47:9: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "type": "Migration_Collection"
gnoga-server-model.ads:47:9: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "type": "Active_Record"
gnoga-server-model-table.ads:48:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "Active_Record"
gnoga-server-template_parser.ads:63:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "View_Data"
gnoga-server-template_parser.ads:64:9: Error: NAMING_CONVENTION: Name does not 
follow naming rule for "type": "View_Data_Array"
gnoga-types.ads:64:12: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "type": "Web_ID"
gnoga-types.ads:66:9: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "type": "ID_Enumeration"
gnoga-types.ads:68:12: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "type": "Connection_ID"
gnoga-types.ads:72:12: Error: NAMING_CONVENTION: Name does not follow naming 
rule for "type": "Unique_ID"
gnoga-types-colors.ads:39:9: Error: NAMING_CONVENTION: Name does not follow 
naming rule for "type": "Color_Enumeration"

Changing them will clearly introduce backward compatibility issues.
Is it worth refactoring all of them or a part of them?

My next work is focus on PIXI lib (http://www.pixijs.com) more suitable to deal 
with sprites instead of 2D drawing.

Regards, Pascal.
http://blady.pagesperso-orange.fr


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to