src/gnoga-application-multi_connect.adb | 2 +-
src/gnoga-application-multi_connect.ads | 12 ++++++------
src/gnoga-application-singleton.ads | 4 ++--
src/gnoga-application.ads | 2 +-
src/gnoga-client-bind_page.ads | 2 +-
src/gnoga-gui-base.ads | 10 +++++-----
src/gnoga-gui-element-form.ads | 2 +-
src/gnoga-gui-element.ads | 6 +++---
src/gnoga-gui-plugin-jqueryui-widget.ads | 2 +-
src/gnoga-gui-view-docker.ads | 2 +-
src/gnoga-gui-window.ads | 4 ++--
src/gnoga-server-connection.adb | 4 ++--
tutorial/tutorial-02/README | 4 ++--
tutorial/tutorial-03/README | 4 ++--
tutorial/tutorial-03/tutorial_03.adb | 12 ++++++------
tutorial/tutorial-04/tutorial_04.adb | 8 ++++----
tutorial/tutorial-05/tutorial_05.adb | 2 +-
tutorial/tutorial-07/tutorial_07.adb | 8 ++++----
tutorial/tutorial-08/tutorial_08.adb | 4 ++--
tutorial/tutorial-09/README | 4 ++--
tutorial/tutorial-09/tutorial_09.adb | 2 +-
21 files changed, 50 insertions(+), 50 deletions(-)
diff --git a/src/gnoga-application-multi_connect.adb
b/src/gnoga-application-multi_connect.adb
index e9b1c4e..f490dc8 100644
--- a/src/gnoga-application-multi_connect.adb
+++ b/src/gnoga-application-multi_connect.adb
@@ -49,7 +49,7 @@ package body Gnoga.Application.Multi_Connect is
procedure On_Connect
(ID : in Gnoga.Types.Connection_ID;
Connection : access Gnoga.Server.Connection.Connection_Holder_Type);
- -- Handle connections by creating Main_Winow object and dispatching
+ -- Handle connections by creating Main_Window object and dispatching
-- to correct On_Connect_Handler based on Path. It is not neccessary
-- to call Connection.Hold unless you wish to hold the connection and
-- then following it's release run additional such as to clean up some
diff --git a/src/gnoga-application-multi_connect.ads
b/src/gnoga-application-multi_connect.ads
index e1b245c..cb026d5 100644
--- a/src/gnoga-application-multi_connect.ads
+++ b/src/gnoga-application-multi_connect.ads
@@ -52,11 +52,11 @@ package Gnoga.Application.Multi_Connect is
Connection : access Connection_Holder_Type);
-- On each connection an Application_Connect_Event registered in
-- On_Connect_Handler will be called. Main_Window will be attached
- -- to the window of the browser, Connection can optionally be used
+ -- to the window of the browser. Connection can optionally be used
-- to allow for "clean up" upon close of connection, or to prevent
-- finalization of the called Application_Connect_Event procedure
-- until the connection is closed. This allows for Gnoga objects to
- -- be created on the stack with in the procedure and not be finalized
+ -- be created on the stack within the procedure and not be finalized
-- prematurely and still able to respond to events, etc.
-- Use: Connection.Hold;
@@ -66,9 +66,9 @@ package Gnoga.Application.Multi_Connect is
Port : in Integer := 8080;
Boot : in String := "boot.html";
Verbose : in Boolean := True);
- -- Initialize an applicaiton for multiple connections using
+ -- Initialize an application for multiple connections using
-- Event for the default Connection Handler and Boot for bootstrap html.
- -- If Host = "" then will listen on all netwrok interfaces.
+ -- If Host = "" then will listen on all network interfaces.
-- Use Host = "localhost" to constrain to local use only.
procedure On_Connect_Handler (Event : in Application_Connect_Event;
@@ -79,8 +79,8 @@ package Gnoga.Application.Multi_Connect is
-- and http://myapp:8080/abc/ will both match Path = "/abc" or Path="abc"
-- or Path="/abc/"
-- This can be used to set or change connection handlers during
application
- -- execution for future connections or to to set the default handler if it
- -- was not set in Initialize.
+ -- execution for future connections or to set the default handler if it was
+ -- not set in Initialize.
procedure Message_Loop;
-- Start serving connections to application and continue until
diff --git a/src/gnoga-application-singleton.ads
b/src/gnoga-application-singleton.ads
index fc44c70..f3353cc 100644
--- a/src/gnoga-application-singleton.ads
+++ b/src/gnoga-application-singleton.ads
@@ -51,8 +51,8 @@ package Gnoga.Application.Singleton is
Port : in Integer := 8080;
Boot : in String := "boot.html";
Verbose : in Boolean := True);
- -- Initialize applicaiton for single connection is Boot for bootstrap html.
- -- If Host = "" then will listen on all netwrok interfaces.
+ -- Initialize application for single connection is Boot for bootstrap html.
+ -- If Host = "" then will listen on all network interfaces.
-- Use Host = "localhost" to constrain to local use only.
procedure Message_Loop;
diff --git a/src/gnoga-application.ads b/src/gnoga-application.ads
index 24a5874..dcd87fe 100644
--- a/src/gnoga-application.ads
+++ b/src/gnoga-application.ads
@@ -56,7 +56,7 @@ package Gnoga.Application is
-- incoming connections. To change after connection has been established
-- see Gnoga.Connections.HTML_On_Close
- -- The following browser launcher procedures spaw processes. On some
+ -- The following browser launcher procedures spawn processes. On some
-- OSes this can lead to instabilities for multi tasking apps if not
-- spawned at program start. Therefore these if used should be used
-- before the application initialization is called.
diff --git a/src/gnoga-client-bind_page.ads b/src/gnoga-client-bind_page.ads
index c3bb029..56c1dbc 100644
--- a/src/gnoga-client-bind_page.ads
+++ b/src/gnoga-client-bind_page.ads
@@ -46,7 +46,7 @@ package Gnoga.Client.Bind_Page is
procedure Bind_Page (View : in out Gnoga.Gui.View.View_Base_Type'Class);
-- Attaches all HTML elements with an ID using View as parent. Elements
-- will all be created and marked as dynamic and will be deallocated when
- -- View is finalized. Elements are accessable using the View Element array.
+ -- View is finalized. Elements are accessible using the View Element array.
--
-- Note: If more than one element have the same ID they will be
overwritten
-- in the Element array.
diff --git a/src/gnoga-gui-base.ads b/src/gnoga-gui-base.ads
index af975ef..5d789fe 100644
--- a/src/gnoga-gui-base.ads
+++ b/src/gnoga-gui-base.ads
@@ -56,7 +56,7 @@ package Gnoga.Gui.Base is
type Pointer_To_Base_Class is access all Base_Type'Class;
Object_Already_Created : exception;
- -- Thrown when an attempt is made to perform a create method on an already
+ -- Raised when an attempt is made to perform a create method on an already
-- created or attached Gnoga object.
Object_Was_Not_Created : exception;
@@ -142,7 +142,7 @@ package Gnoga.Gui.Base is
Value : in Gnoga.Types.Connection_ID);
-- The Gnoga Connection ID of Object.
-- It is almost certainly always a mistake to set Connection_ID instead
- -- of ussing Attach. Only change the Connection ID if you fully understand
+ -- of using Attach. Only change the Connection ID if you fully understand
-- what you are doing.
function Valid (Object : Base_Type) return Boolean;
@@ -191,13 +191,13 @@ package Gnoga.Gui.Base is
function Height (Object : Base_Type) return Integer;
-- Height of Element, or Window or Document
-- Results in Pixels and numeric unlike using the CSS size properties
- -- See Element_Type for additional Heigth and Width properties
+ -- See Element_Type for additional Height and Width properties
procedure Width (Object : in out Base_Type; Value : in Integer);
function Width (Object : Base_Type) return Integer;
-- Width of Element, or Window or Document
-- Results in Pixels and numeric unlike using the CSS size properties
- -- See Element_Type for additional Heigth and Width properties
+ -- See Element_Type for additional Height and Width properties
-- Generic Access --
@@ -565,7 +565,7 @@ package Gnoga.Gui.Base is
-------------------------------------------------------------------------
-- Base_Type - Event Methods
-------------------------------------------------------------------------
- -- When overiding events, to insure that the event handlers will still
+ -- When overiding events, to ensure that the event handlers will still
-- be executed and internal functionality of the event is handled
-- properly, always call the base class event method.
--
diff --git a/src/gnoga-gui-element-form.ads b/src/gnoga-gui-element-form.ads
index 11ac33f..40223de 100644
--- a/src/gnoga-gui-element-form.ads
+++ b/src/gnoga-gui-element-form.ads
@@ -211,7 +211,7 @@ package Gnoga.Gui.Element.Form is
-- will validate against their Pattern if set on submit
-- Pattern is included in Form_Element_Type since in cases where a
specific
-- input type is not suppored like (date, week, etc.) pattern can be set
- -- to insure the expected results. This works since Input type will fall
+ -- to ensure the expected results. This works since Input type will fall
-- back to a text input.
procedure Required (Element : in out Form_Element_Type;
diff --git a/src/gnoga-gui-element.ads b/src/gnoga-gui-element.ads
index b156ff2..fd04faf 100644
--- a/src/gnoga-gui-element.ads
+++ b/src/gnoga-gui-element.ads
@@ -163,7 +163,7 @@ package Gnoga.Gui.Element is
procedure Inner_HTML (Element : in out Element_Type; Value : in String);
function Inner_HTML (Element : Element_Type) return String;
-- This will completely replace the inner html of an element. This will
- -- remove any Elements with in Element from the DOM. If those elements
+ -- remove any Elements within Element from the DOM. If those elements
-- have ID_Types of Gnoga_ID they are still available and can be placed
-- in the DOM again using the Element.Place_* methods. However if they
-- were of ID_Type DOM_ID they are lost forever.
@@ -202,7 +202,7 @@ package Gnoga.Gui.Element is
Value : in Boolean := True);
function Hidden (Element : Element_Type) return Boolean;
-- The hidden property will make an element invisible, however unlike
- -- the property Visible which uses CSS to hide the Element. Hidden implies
+ -- the property Visible which uses CSS to hide the Element, Hidden implies
-- the element is semantically not relevant not just visually and will
-- _also_ remove it from layout similar to setting Element.Display (None).
@@ -479,7 +479,7 @@ package Gnoga.Gui.Element is
procedure Scroll_Top (Element : in out Element_Type; Value : Integer);
function Scroll_Top (Element : Element_Type) return Integer;
- -- The number of pixels thant an element's content has been scrolled
+ -- The number of pixels that an element's content has been scrolled
-- upward.
----------------------
diff --git a/src/gnoga-gui-plugin-jqueryui-widget.ads
b/src/gnoga-gui-plugin-jqueryui-widget.ads
index 73d48a8..99c4c60 100644
--- a/src/gnoga-gui-plugin-jqueryui-widget.ads
+++ b/src/gnoga-gui-plugin-jqueryui-widget.ads
@@ -40,7 +40,7 @@ with Gnoga.Gui.Element.Form;
package Gnoga.Gui.Plugin.jQueryUI.Widget is
- -- jQueryUI adopts properties from the window. To insure UI objects
+ -- jQueryUI adopts properties from the window. To ensure UI objects
-- are sized reasonably, it is good to set a font on the body, e.g.
-- Main_Window.Document.Body_Element.Font (Height => "12px");
-- or to use custom CSS to style the body and other elements.
diff --git a/src/gnoga-gui-view-docker.ads b/src/gnoga-gui-view-docker.ads
index 31ef8f7..bac7dbf 100644
--- a/src/gnoga-gui-view-docker.ads
+++ b/src/gnoga-gui-view-docker.ads
@@ -62,7 +62,7 @@ package Gnoga.Gui.View.Docker is
ID : in String := "");
-- Docked Views are set to Position (Absolute) when added. In order to
-- use a Docker_View_Type statically positioned the position should be
- -- set Position (Relative) in order to insure the Docks are positioned
+ -- set Position (Relative) in order to ensure the Docks are positioned
-- relative to itm since Position (Absolute) elements are positioned
-- relative to the first non Position (Static) element above them.
diff --git a/src/gnoga-gui-window.ads b/src/gnoga-gui-window.ads
index a662267..04f6f38 100644
--- a/src/gnoga-gui-window.ads
+++ b/src/gnoga-gui-window.ads
@@ -140,7 +140,7 @@ package Gnoga.Gui.Window is
-- has been established on the launched page.
--
-- Popups are highly unreliable and oustide of Google Chrome only work in
- -- limitted ways beyond just a launch and forget situation.
+ -- limited ways beyond just a launch and forget situation.
-------------------------------------------------------------------------
-- Window_Type - Properties
@@ -277,7 +277,7 @@ package Gnoga.Gui.Window is
-- Storage data was changed in another session
-------------------------------------------------------------------------
- -- Winow_Type - Event Methods
+ -- Window_Type - Event Methods
-------------------------------------------------------------------------
overriding
diff --git a/src/gnoga-server-connection.adb b/src/gnoga-server-connection.adb
index fd758e7..0b33122 100644
--- a/src/gnoga-server-connection.adb
+++ b/src/gnoga-server-connection.adb
@@ -405,7 +405,7 @@ package body Gnoga.Server.Connection is
begin
null;
-- Semiphore does not reset itself to a blocking state.
- -- This insures that if Released before Hold that Hold
+ -- This ensures that if Released before Hold that Hold
-- will not block and connection will be released.
-- It also allows for On_Connect Handler to not have to use
-- Connection.Hold unless there is a desire code such as to
@@ -784,7 +784,7 @@ package body Gnoga.Server.Connection is
begin
null;
-- Semiphore does not reset itself to a blocking state.
- -- This insures that if Released before Hold that Hold
+ -- This ensures that if Released before Hold that Hold
-- will not block and connection will be released.
end Hold;
diff --git a/tutorial/tutorial-02/README b/tutorial/tutorial-02/README
index 29ac79a..641213d 100644
--- a/tutorial/tutorial-02/README
+++ b/tutorial/tutorial-02/README
@@ -4,5 +4,5 @@ Tutorial 02
This tutorial is designed to introduce:
1) Gnoga.Gui.Element.Common - Common non form elements
-2) Introduction to event hanlding
-3) Introduction to the Messasge_Loop
+2) Introduction to event handling
+3) Introduction to the Message_Loop
diff --git a/tutorial/tutorial-03/README b/tutorial/tutorial-03/README
index dd4baf8..55df7ed 100644
--- a/tutorial/tutorial-03/README
+++ b/tutorial/tutorial-03/README
@@ -3,6 +3,6 @@ Tutorial 03
This tutorial is designed to introduce:
-1) Gnoga.Applications.Mutli_Connect
+1) Gnoga.Applications.Multi_Connect
2) User app specific data
-3) Mutliple URL paths
+3) Multiple URL paths
diff --git a/tutorial/tutorial-03/tutorial_03.adb
b/tutorial/tutorial-03/tutorial_03.adb
index 040800c..b7bebf6 100644
--- a/tutorial/tutorial-03/tutorial_03.adb
+++ b/tutorial/tutorial-03/tutorial_03.adb
@@ -3,7 +3,7 @@
-- is no issue of concurrency outside of events from the same user. This
-- allowed for programming in the familiar sequential patterns of regular
-- console applications. In this tutorial we will create an application that
--- will allow for multiple connections on the same machine, network or accross
+-- will allow for multiple connections on the same machine, network or across
-- the globe on the internet.
--
-- In order to help see the different approach to setting up the application
@@ -20,9 +20,9 @@ with Gnoga.Types;
procedure Tutorial_03 is
- -- Since this application will be used by mutliple connections, we need to
- -- track and access that connections specific data. To do thise we create
- -- a derivative of Gnoga.Types.Connection_Data_Type that will be accessable
+ -- Since this application will be used by multiple connections, we need to
+ -- track and access that connection's specific data. To do this we create
+ -- a derivative of Gnoga.Types.Connection_Data_Type that will be accessible
-- to any object on a connection.
type App_Data is new Gnoga.Types.Connection_Data_Type with
@@ -66,7 +66,7 @@ procedure Tutorial_03 is
-- Instead of creating and setting up our GUI in the main body of the
-- application, we now set up the GUI in a connection event handler.
-- The implementation is almost identical to the last tutorial except we
- -- places our GUI elment variables with in the App_Data data structure
+ -- place our GUI element variables within the App_Data data structure
-- that will be associated with the connection.
procedure On_Connect
@@ -78,7 +78,7 @@ procedure Tutorial_03 is
begin
Main_Window.Connection_Data (App);
-- This associates our application data to this connection. Now any
- -- object created on it has access to it using it's Connection_Data
+ -- object created on it has access to it using its Connection_Data
-- property. When the connection is done it will deallocate the memory
-- used.
diff --git a/tutorial/tutorial-04/tutorial_04.adb
b/tutorial/tutorial-04/tutorial_04.adb
index 7e35145..fa0be92 100644
--- a/tutorial/tutorial-04/tutorial_04.adb
+++ b/tutorial/tutorial-04/tutorial_04.adb
@@ -16,8 +16,8 @@ with Gnoga.Gui.Element.Common;
procedure Tutorial_04 is
-- The Color_Me_Task_Type is passed in a GUI element for its discriminant.
- -- We give the task start and stop entry points in order to insure we
- -- have setup the Element it will be accessing first and to insure we
+ -- We give the task start and stop entry points in order to ensure we
+ -- have setup the Element it will be accessing first and to ensure we
-- stop the task before Element is finalized on close of the connection.
task type Color_Me_Task_Type
@@ -66,7 +66,7 @@ procedure Tutorial_04 is
-- the a DIV_Type is a "block" element and a Span_Type is an inline
-- element. In simple terms DIV_Types will take up an entire row
-- and Span_Types will be placed on the same line as the last inline
- -- element. Think of Spans_Types as ways to mark text for
+ -- element. Think of Span_Types as ways to mark text for
-- interaction with the user.
end record;
type App_Access is access all App_Data;
@@ -142,7 +142,7 @@ procedure Tutorial_04 is
Flasher_Task.Start;
Connection.Hold;
- -- Since we want to "clean up" (in this case stop the Flaster_Task)
+ -- Since we want to "clean up" (in this case stop the Flasher_Task)
-- once the connection has been closed. We manually "hold" the
-- connection until it is "released" from with in the Gnoga framework
-- meaning the connection has been lost to the browser.
diff --git a/tutorial/tutorial-05/tutorial_05.adb
b/tutorial/tutorial-05/tutorial_05.adb
index c0dcea8..09bb763 100644
--- a/tutorial/tutorial-05/tutorial_05.adb
+++ b/tutorial/tutorial-05/tutorial_05.adb
@@ -1,4 +1,4 @@
--- The HTML5 Canvas offers a great way to create graphics progamatically.
+-- The HTML5 Canvas offers a great way to create graphics programmatically.
-- SVG is another means offered by Gnoga. The key difference is that SVG
-- are scalable vector graphics, and the Canvas are raster images. Think
-- Canvas - Photoshop and SVG - Illustrator.
diff --git a/tutorial/tutorial-07/tutorial_07.adb
b/tutorial/tutorial-07/tutorial_07.adb
index f7f6d6f..c2927c8 100644
--- a/tutorial/tutorial-07/tutorial_07.adb
+++ b/tutorial/tutorial-07/tutorial_07.adb
@@ -26,13 +26,13 @@ procedure Tutorial_07 is
procedure Start_Drag (Object : in out Gnoga.Gui.Base.Base_Type'Class);
procedure End_Drag (Object : in out Gnoga.Gui.Base.Base_Type'Class);
-- These two event handlers are for the drag Source. Using them we can
- -- set some visual queues, in this case fading out Source during the drag.
+ -- set some visual cues, in this case fading out Source during the drag.
procedure Enter_Drag (Object : in out Gnoga.Gui.Base.Base_Type'Class);
procedure Leave_Drag (Object : in out Gnoga.Gui.Base.Base_Type'Class);
procedure Drop (Object : in out Gnoga.Gui.Base.Base_Type'Class;
Drag_Text : in String);
- -- These three event handlers are used to show visual queues that Target
+ -- These three event handlers are used to show visual cues that Target
-- is open to accept the drop, and to actually accept the drop.
procedure Start_Drag (Object : in out Gnoga.Gui.Base.Base_Type'Class)
@@ -110,7 +110,7 @@ procedure Tutorial_07 is
App.Source.Position (Gnoga.Gui.Element.Fixed);
App.Source.Top (50);
App.Source.Left (20);
- -- Place our Source DIV_Type and an fixed position in browser
+ -- Place our Source DIV_Type at a fixed position in browser
App.Source.Width (100);
App.Source.Height (100);
@@ -136,7 +136,7 @@ procedure Tutorial_07 is
App.Target.Width (100);
App.Target.Height (100);
- -- Place our Target DIV_Type and an fixed position in browser
+ -- Place our Target DIV_Type at a fixed position in browser
App.Target.Border;
diff --git a/tutorial/tutorial-08/tutorial_08.adb
b/tutorial/tutorial-08/tutorial_08.adb
index b697f15..eaefc4b 100644
--- a/tutorial/tutorial-08/tutorial_08.adb
+++ b/tutorial/tutorial-08/tutorial_08.adb
@@ -1,4 +1,4 @@
--- With Gnoga it is possible to build your own custom widgets by composting
+-- With Gnoga it is possible to build your own custom widgets by compositing
-- elements in to views and build web forms. In the next turorial we will
-- see how to interat with forms in a more application centric way instead of
-- as static forms.
@@ -81,7 +81,7 @@ procedure Tutorial_08 is
-- Allow only a-z, A-Z and space characters
View.Name_Input.Place_Inside_Top_Of (col2.all);
- -- Since forms are auto placed in side the Form. We need to move the
+ -- Since forms are auto placed inside the Form, we need to move the
-- element where we would like it to display.
end;
diff --git a/tutorial/tutorial-09/README b/tutorial/tutorial-09/README
index 9b5e858..65b5e22 100644
--- a/tutorial/tutorial-09/README
+++ b/tutorial/tutorial-09/README
@@ -3,6 +3,6 @@ Tutorial 09
This tutorial is designed to introduce:
-1) Iteractive Forms
+1) Interactive Forms
2) Tabs and the Card View
-3) Using the Docker view for layout
\ No newline at end of file
+3) Using the Docker view for layout
diff --git a/tutorial/tutorial-09/tutorial_09.adb
b/tutorial/tutorial-09/tutorial_09.adb
index a42ed22..5420b34 100644
--- a/tutorial/tutorial-09/tutorial_09.adb
+++ b/tutorial/tutorial-09/tutorial_09.adb
@@ -122,7 +122,7 @@ procedure Tutorial_09 is
App.My_Deck.Top_Dock (App.My_Tabs'Access);
-- We wait to dock My_Tabs until after we have added the tabs
- -- this insures that My_Tabs's Height with content is known.
+ -- this ensures that My_Tabs's Height with content is known.
end On_Connect;
procedure On_Exit (Object : in out Gnoga.Gui.Base.Base_Type'Class) is
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list