From 859aeb8237a79362eeeb2ac497e043af6a5bb862 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 28 May 2022 13:25:39 +0300 Subject: [PATCH] Remove trailing spaces from documentation Signed-off-by: Marko Lindqvist --- README | 4 ++-- doc/br/examples.html | 6 +++--- doc/br/history.html | 14 +++++++------- doc/br/index.html | 6 +++--- doc/br/license.html | 2 +- doc/br/manual.html | 20 ++++++++++---------- doc/fr/doc.css | 24 ++++++++++++------------ doc/fr/examples.html | 4 ++-- doc/fr/history.html | 6 +++--- doc/fr/index.html | 4 ++-- doc/fr/license.html | 2 +- doc/fr/manual.html | 8 ++++---- doc/us/doc.css | 10 +++++----- doc/us/examples.html | 4 ++-- doc/us/history.html | 6 +++--- doc/us/index.html | 6 +++--- doc/us/license.html | 2 +- doc/us/manual.html | 12 ++++++------ 18 files changed, 70 insertions(+), 70 deletions(-) diff --git a/README b/README index b776f28..fb56e99 100644 --- a/README +++ b/README @@ -3,11 +3,11 @@ http://keplerproject.github.io/luasql LuaSQL is a simple interface from Lua to a DBMS. It enables a Lua program to: - * Connect to ODBC, ADO, Oracle, MySQL, SQLite, Firebird and PostgreSQL databases; + * Connect to ODBC, ADO, Oracle, MySQL, SQLite, Firebird and PostgreSQL databases; * Execute arbitrary SQL statements; * Retrieve results in a row-by-row cursor fashion. -LuaSQL is free software and uses the same license as Lua 5.1. +LuaSQL is free software and uses the same license as Lua 5.1. Source code for LuaSQL can be downloaded from its GitHub repository. diff --git a/doc/br/examples.html b/doc/br/examples.html index cc4ecc1..6123364 100644 --- a/doc/br/examples.html +++ b/doc/br/examples.html @@ -53,7 +53,7 @@
  • Projeto
  • Licença
  • @@ -65,7 +65,7 @@

    Exemplos

    Abaixo, você verá um pequeno exemplo do código do uso básico da biblioteca. -Em seguida, outro exemplo mostra como criar um +Em seguida, outro exemplo mostra como criar um iterador sobre o resultado de uma determinada consulta.

    @@ -134,7 +134,7 @@ end

    Esse iterador é usado da seguinte forma:

    - +
     require "luasql.mysql"
     env = assert (luasql.mysql())
    diff --git a/doc/br/history.html b/doc/br/history.html
    index 4ad4642..14a3a43 100644
    --- a/doc/br/history.html
    +++ b/doc/br/history.html
    @@ -54,7 +54,7 @@
             
  • Projeto
  • Licença
  • @@ -75,24 +75,24 @@ Testes melhorados.
    Documentação melhorada.
    - +
    2.0.1 [02/06/2005]
    Corrigiu alguns erros relativos ao driver ODBC.
    - +
    2.0.0 [22/03/2005]
    Novo driver ADO e corrigiu alguns erros relativos ao driver ODBC.
    - +
    2.0 beta 3 [23/12/2004]
    Corrigiu apenas alguns pequenos erros.
    - +
    2.0 beta 2 [26/11/2004]
    Corrigiu alguns erros e introduziu os novos drivers SQLite and JDBC. - Utiliza a + Utiliza a proposta de pacotes para Lua 5.1. Veja mais detalhes em Instalação.
    - +
    2.0 beta [10/12/2003]
    diff --git a/doc/br/index.html b/doc/br/index.html index c7019be..ca173be 100644 --- a/doc/br/index.html +++ b/doc/br/index.html @@ -87,7 +87,7 @@ PostgreSQL 7.x e 8.x.

    O driver MySQL foi testado em Windows, Linux e é compatível com as versões 4.0, 4.1 e 5.0.

    O driver Oracle foi testado em Windows e é compatível com OCI 8 API.

    O driver SQLite foi testado em Windows e Linux e é compatível com as versões 2.x.

    -

    O driver JDBC foi testado em Windows com LuaJava 1.0 e JDK 1.4 (driver MySQL).

    +

    O driver JDBC foi testado em Windows com LuaJava 1.0 e JDK 1.4 (driver MySQL).

    O driver ADO foi testado em Windows, com LuaCOM 1.3 (driver Microsoft Access).

    Download

    @@ -114,7 +114,7 @@ O código fonte do LuaSQL pode ser baixado do seu repositório no Projeto Kepler. -A implementação é compatível com Lua 5.0 e foi codificada por Tomás Guisasola, Eduardo Quintão, Thiago Ponte, Fabio Mascarenhas, Danilo Tuler, +A implementação é compatível com Lua 5.0 e foi codificada por Tomás Guisasola, Eduardo Quintão, Thiago Ponte, Fabio Mascarenhas, Danilo Tuler, com inestimáveis contribuições de Michael Roth, Tiago Dionizio e Leonardo Godinho.

    @@ -127,7 +127,7 @@ Muitas modificações foram feitas, mas não distribuíd Carlos Cassino, Tomás Guisasola and Eduardo Quintão (PostgreSQL).

    -O desenvolvimento de LuaSQL foi patrocinado pela +O desenvolvimento de LuaSQL foi patrocinado pela Fábrica Digital, FINEP e CNPq.

    diff --git a/doc/br/license.html b/doc/br/license.html index 085b71f..122556a 100644 --- a/doc/br/license.html +++ b/doc/br/license.html @@ -53,7 +53,7 @@
  • Projeto
  • Licença
  • diff --git a/doc/br/manual.html b/doc/br/manual.html index d2a3af9..97e5a70 100644 --- a/doc/br/manual.html +++ b/doc/br/manual.html @@ -53,7 +53,7 @@
  • Projeto
  • Licença
  • @@ -85,16 +85,16 @@ A conexão pode executar comandos SQL e, eventualmente, criar um um arquivo fonte e um arquivo cabeçalho comuns a todos os drivers (luasql.h e luasql.c) – e um arquivo fonte para cada driver. Cada driver deve ser compilado juntamente com o arquivo luasql.c -para gerar uma biblioteca. Essa biblioteca pode ser linkada à aplicação +para gerar uma biblioteca. Essa biblioteca pode ser linkada à aplicação ou carregada dinamicamente. A função de inicialização é -luaopen_luasqlnomedriver e é compatível com o formato +luaopen_luasqlnomedriver e é compatível com o formato open-library de Lua.

    Instalação

    -

    Todos os drivers LuaSQL seguem a +

    Todos os drivers LuaSQL seguem a proposta de pacotes -para Lua 5.1. Logo, esse pacote deve ser "instalado". Consulte a seção de +para Lua 5.1. Logo, esse pacote deve ser "instalado". Consulte a seção de configuração do Compat-5.1 para saber como instalar os pacotes binários da maneira correta. @@ -193,7 +193,7 @@ env = luasql.jdbc ("com.mysql.jdbc.Driver")

    env:connect(sourcename[,username[,password]])
    -
    Conecta à fonte de dados especificada em sourcename usando +
    Conecta à fonte de dados especificada em sourcename usando username e password se eles são fornecidos.
    O sourcename pode variar de acordo com cada driver. Alguns usam simplesmente o nome do banco de dados, como PostgreSQL, MySQL e SQLite; @@ -210,7 +210,7 @@ env = luasql.jdbc ("com.mysql.jdbc.Driver")

    Conexão

    -

    Uma conexão contém atributos e parâmetros específicos de uma +

    Uma conexão contém atributos e parâmetros específicos de uma única conexão de base de dados. Uma conexão é criada chamando o método environment:connect.

    @@ -278,7 +278,7 @@ e Oracle.

    chamado com uma tabela, os resultados são copiados para a tabela e a tabela é retornada. Neste caso, pode ser usado um parâmetro opcional de modo (modestring): uma seqüência - de caracteres indicando como deve ser construída a tabela de resultados. + de caracteres indicando como deve ser construída a tabela de resultados. A seqüência de caracteres do modo pode conter:
    "n"
    a tabela resultante terá índices numéricos (padrão)
    @@ -320,7 +320,7 @@ o driver Postgres oferece as seguintes funcionalidades adicionais:

    No driver PostgreSQL este método tem mais dois parâmetros opcionais que indicam o hostname e a port a serem utilizados na conexão. Além disso, o primeiro parâmetro também pode conter todas as informações - de conexão, como é dito na documentação + de conexão, como é dito na documentação para a função PQconnectdb no manual do PostgreSQL (ex. environment:connect("dbname=<name> user=<username>"))
    Veja também: ambiente
    @@ -404,4 +404,4 @@ o driver para SQLite3 ainda oferece uma funcionalidade adicional:

    - + diff --git a/doc/fr/doc.css b/doc/fr/doc.css index e816a7e..9d31ec2 100644 --- a/doc/fr/doc.css +++ b/doc/fr/doc.css @@ -1,16 +1,16 @@ -body { - margin-left: 1em; - margin-right: 1em; +body { + margin-left: 1em; + margin-right: 1em; font-family: arial, helvetica, geneva, sans-serif; background-color:#ffffff; margin:0px; } code { - font-family: "Andale Mono", monospace; + font-family: "Andale Mono", monospace; } tt { - font-family: "Andale Mono", monospace; + font-family: "Andale Mono", monospace; } body, td, th { font-size: 11pt; } @@ -35,10 +35,10 @@ h3 { padding-top: 1em; } p { margin-left: 1em; } -p.name { - font-family: "Andale Mono", monospace; +p.name { + font-family: "Andale Mono", monospace; padding-top: 1em; - margin-left: 0em; + margin-left: 0em; } blockquote { margin-left: 3em; } @@ -60,13 +60,13 @@ blockquote { margin-left: 3em; } padding: 1em; margin-left: 1em; margin-right: 1em; - font-family: "Andale Mono", monospace; + font-family: "Andale Mono", monospace; font-size: smaller; } -hr { +hr { margin-left: 0em; - background: #00007f; + background: #00007f; border: 0px; height: 1px; } @@ -205,7 +205,7 @@ div.header, div.footer { margin-left: 0em; } display: none; } .example { - font-family: "Andale Mono", monospace; + font-family: "Andale Mono", monospace; font-size: 8pt; page-break-inside: avoid; } diff --git a/doc/fr/examples.html b/doc/fr/examples.html index fb0e321..3d5c651 100644 --- a/doc/fr/examples.html +++ b/doc/fr/examples.html @@ -53,7 +53,7 @@
  • Project
  • License
  • @@ -135,7 +135,7 @@ end

    Here is how the iterator is used:

    - +
     env = assert (require"luasql.mysql".mysql())
     con = assert (env:connect"my_db")
    diff --git a/doc/fr/history.html b/doc/fr/history.html
    index 04a3793..c5ff50b 100644
    --- a/doc/fr/history.html
    +++ b/doc/fr/history.html
    @@ -53,7 +53,7 @@
             
  • Project
  • License
  • @@ -120,7 +120,7 @@
  • Corrected bug avoiding duplicate access to stack
  • - +
    LuaSQL 2.0.2 [26/Jun/2006]
      @@ -196,4 +196,4 @@ - + diff --git a/doc/fr/index.html b/doc/fr/index.html index 8f26ead..59c405a 100644 --- a/doc/fr/index.html +++ b/doc/fr/index.html @@ -127,7 +127,7 @@ The first implementation was compatible with Lua 4.0a. Many modifications were made but not distributed by Diego Nehab (ODBC), Carlos Cassino, Tomás Guisasola and Eduardo Quintão (PostgreSQL).

      -

      LuaSQL development was sponsored by +

      LuaSQL development was sponsored by Fábrica Digital, FINEP and CNPq.

      Contact us

      @@ -150,4 +150,4 @@ Comments are welcome!

      - + diff --git a/doc/fr/license.html b/doc/fr/license.html index 0fb986e..e273eaf 100644 --- a/doc/fr/license.html +++ b/doc/fr/license.html @@ -52,7 +52,7 @@
    • Project
    • License
    • diff --git a/doc/fr/manual.html b/doc/fr/manual.html index 954f93f..f4c876c 100644 --- a/doc/fr/manual.html +++ b/doc/fr/manual.html @@ -53,7 +53,7 @@
    • Project
    • License
    • @@ -97,7 +97,7 @@ as Lua 5.1. a pair of common source and header files (luasql.h and luasql.c); and one source file for each driver. Each driver should be compiled with the luasql.c file to generate a library. -This library can be linked to the application or dynamically loaded. +This library can be linked to the application or dynamically loaded. The initialization function is luaopen_luasqldrivername and it is a Lua open-library compatible function.

      @@ -187,7 +187,7 @@ local env = driver.odbc() the object is already closed.
    env:connect(sourcename[,username[,password]])
    -
    Connects to a data source specified in sourcename using +
    Connects to a data source specified in sourcename using username and password if they are supplied.
    The sourcename may vary according to each driver. Some use a simple database name, like PostgreSQL, MySQL and SQLite; @@ -430,4 +430,4 @@ the SQLite3 driver also offers this extra feature:

    - + diff --git a/doc/us/doc.css b/doc/us/doc.css index 3aef4ed..a3d0f3b 100644 --- a/doc/us/doc.css +++ b/doc/us/doc.css @@ -1,4 +1,4 @@ -body { +body { color: #47555c; font-size: 16px; font-family: "Open Sans", sans-serif; @@ -24,18 +24,18 @@ hr { } code { - font-family: "Open Sans Mono", "Andale Mono", monospace; + font-family: "Open Sans Mono", "Andale Mono", monospace; } tt { - font-family: "Open Sans Mono", "Andale Mono", monospace; + font-family: "Open Sans Mono", "Andale Mono", monospace; } body, td, th { } textarea, pre, tt { - font-family: "Open Sans Mono", "Andale Mono", monospace; + font-family: "Open Sans Mono", "Andale Mono", monospace; } img { @@ -205,7 +205,7 @@ dl.reference dd { display: none; } .example { - font-family: "Andale Mono", monospace; + font-family: "Andale Mono", monospace; font-size: 8pt; page-break-inside: avoid; } diff --git a/doc/us/examples.html b/doc/us/examples.html index cc5dece..4f5ad9f 100644 --- a/doc/us/examples.html +++ b/doc/us/examples.html @@ -32,7 +32,7 @@
  • Project
  • License
  • @@ -114,7 +114,7 @@ end

    Here is how the iterator is used:

    - +
     env = assert (require"luasql.mysql".mysql())
     con = assert (env:connect"my_db")
    diff --git a/doc/us/history.html b/doc/us/history.html
    index 35b6eec..c383565 100644
    --- a/doc/us/history.html
    +++ b/doc/us/history.html
    @@ -32,7 +32,7 @@
             
  • Project
  • License
  • @@ -152,7 +152,7 @@
  • Corrected bug avoiding duplicate access to stack
  • - +
    LuaSQL 2.0.2 [26/Jun/2006]
      @@ -227,4 +227,4 @@ - + diff --git a/doc/us/index.html b/doc/us/index.html index 1b51cf2..93701c9 100644 --- a/doc/us/index.html +++ b/doc/us/index.html @@ -74,7 +74,7 @@ For more details on the features list please check the product

      Download

      -LuaSQL can be installed via LuaRocks, using the +LuaSQL can be installed via LuaRocks, using the driver for your database of choice:

      @@ -121,7 +121,7 @@ The first implementation was compatible with Lua 4.0a.
       Many modifications were made but not distributed by Diego Nehab (ODBC),
       Carlos Cassino, Tomás Guisasola and Eduardo Quintão (PostgreSQL).

      -

      LuaSQL development was sponsored by +

      LuaSQL development was sponsored by Fábrica Digital, FINEP and CNPq.

      Contact us

      @@ -143,4 +143,4 @@ Comments are welcome!

      - + diff --git a/doc/us/license.html b/doc/us/license.html index 1851e71..f7b4479 100644 --- a/doc/us/license.html +++ b/doc/us/license.html @@ -31,7 +31,7 @@
    • Project
    • License
    • diff --git a/doc/us/manual.html b/doc/us/manual.html index 92cbae7..830e544 100644 --- a/doc/us/manual.html +++ b/doc/us/manual.html @@ -46,7 +46,7 @@
    • Project
    • License
    • @@ -90,7 +90,7 @@ as Lua 5.1. a pair of common source and header files (luasql.h and luasql.c); and one source file for each driver. Each driver should be compiled with the luasql.c file to generate a library. -This library can be linked to the application or dynamically loaded. +This library can be linked to the application or dynamically loaded. The initialization function is luaopen_luasqldrivername and it is a Lua open-library compatible function.

      @@ -180,7 +180,7 @@ local env = driver.odbc() the object is already closed.
    env:connect(sourcename[,username[,password]])
    -
    Connects to a data source specified in sourcename using +
    Connects to a data source specified in sourcename using username and password if they are supplied.
    The sourcename may vary according to each driver. Some use a simple database name, like PostgreSQL, MySQL and SQLite; @@ -388,7 +388,7 @@ the MySQL driver also offers these extra features:

    Retrieves the next result set, if another result is available (e.g. multiple statements)
    See also: cursor objects
    Returns: true, if next result was selected. false and -1 if no other result is available. false, errno and error message, if an error occured.
    - To use it you need to pass the CLIENT_MULTI_STATEMENTS = 1<<16 flag on connection. + To use it you need to pass the CLIENT_MULTI_STATEMENTS = 1<<16 flag on connection. Be aware that you need to iterate over all results otherwise you will receive an "out of sync" error.
    @@ -397,7 +397,7 @@ the MySQL driver also offers these extra features:

    Checks if next result is available
    See also: cursor objects
    Returns: true or false
    - To use it you need to pass the CLIENT_MULTI_STATEMENTS = 1<<16 flag on connection. + To use it you need to pass the CLIENT_MULTI_STATEMENTS = 1<<16 flag on connection. Be aware that you need to iterate over all results otherwise you will receive an "out of sync" error.
    @@ -458,4 +458,4 @@ the SQLite3 driver also offers this extra feature:

    - +