Commit 748664e3c17393904dadcb9afc1b263969d82f1f
1 parent
3fe8f965
Exists in
master
and in
1 other branch
Updating license file
Updating gobject
Showing
2 changed files
with
188 additions
and
161 deletions
Show diff stats
LICENSE
| 1 | -GNU LESSER GENERAL PUBLIC LICENSE (LICENÇA PÚBLICA MENOS GERAL GNU) | |
| 2 | -Versão 3, 29 de junho de 2007 | |
| 3 | -Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org> | |
| 1 | + GNU LESSER GENERAL PUBLIC LICENSE | |
| 2 | + Version 3, 29 June 2007 | |
| 4 | 3 | |
| 5 | -É permitido a todos copiar e distribuir cópias literais deste documento de | |
| 6 | -licença, mas sua alteração não é permitida. | |
| 4 | + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | |
| 5 | + Everyone is permitted to copy and distribute verbatim copies | |
| 6 | + of this license document, but changing it is not allowed. | |
| 7 | 7 | |
| 8 | -Esta versão da GNU Lesser General Public License incorpora os termos e | |
| 9 | -condições da versão 3 da GNU General Public License, complementada pelas | |
| 10 | -permissões adicionais listadas abaixo. | |
| 11 | 8 | |
| 12 | -0. Definições Adicionais. | |
| 9 | + This version of the GNU Lesser General Public License incorporates | |
| 10 | +the terms and conditions of version 3 of the GNU General Public | |
| 11 | +License, supplemented by the additional permissions listed below. | |
| 13 | 12 | |
| 14 | -De acordo com sua utilização no presente documento, "esta Licença" refere- | |
| 15 | -se à versão 3 da GNU Lesser General Public License (Licença Pública Menos | |
| 16 | -Geral GNU) e "GNU GPL" refere-se à versão 3 da GNU General Public | |
| 17 | -License (Licença Pública Geral GNU). | |
| 18 | - | |
| 19 | -"A Biblioteca" refere-se a um trabalho coberto regido nos termos desta | |
| 20 | -Licença que não se trate de um Aplicativo ou Trabalho Combinado conforme | |
| 21 | -definido abaixo. | |
| 22 | - | |
| 23 | -Um "Aplicativo" constitui qualquer trabalho que faça uso de uma interface | |
| 24 | -fornecida pela Biblioteca, mas que não se encontra de outra forma baseada na | |
| 25 | -referida Biblioteca. A definição de uma subclasse de uma classe definida pela | |
| 26 | -Biblioteca é considerada um modo de utilizar uma interface fornecida pela | |
| 27 | -Biblioteca. | |
| 28 | - | |
| 29 | -Um "Trabalho Combinado" constitui um trabalho produzido através da | |
| 30 | -combinação ou vinculação de um Aplicativo à Biblioteca. A versão | |
| 31 | -específica da Biblioteca com a qual o Trabalho Combinado foi elaborado é | |
| 32 | -também denominada "Linked Version" [Versão Vinculada]. | |
| 33 | - | |
| 34 | -A "Fonte Mínima Correspondente" de um Trabalho Combinado significa a | |
| 35 | -Fonte Correspondente ao Trabalho Combinado, excluindo qualquer código | |
| 36 | -fonte de parte do Trabalho Combinado que, considerado de forma isolada, | |
| 37 | -seja baseado no Aplicativo e não na Versão Vinculada. | |
| 38 | - | |
| 39 | -O "Código do aplicativo Correspondente" de um Trabalho Combinado | |
| 40 | -significa o código objeto e/ou código fonte do Aplicativo, incluindo | |
| 41 | -quaisquer dados e programas utilitários necessários para a reprodução do | |
| 42 | -Trabalho Combinado do Aplicativo, mas excluindo as Bibliotecas de Sistema | |
| 43 | -do Trabalho Combinado. | |
| 44 | - | |
| 45 | -1. Exceção à Seção 3 da GNU GPL. | |
| 46 | - | |
| 47 | -Você pode distribuir um trabalho coberto nos termos das seções 3 e 4 desta | |
| 48 | -Licença sem estar limitado aos termos da seção 3 da GNU GPL. | |
| 49 | - | |
| 50 | -2. Distribuição de Versões Modificadas. | |
| 51 | - | |
| 52 | -Ser vocẽ modificar uma cópia da Biblioteca e, em suas modificações um | |
| 53 | -recurso referir-se a uma função os dados a serem fornecidos por um | |
| 54 | -Aplicativo que utiliza o recurso (diferente de quando um argumento é | |
| 55 | -transmitido quando o recurso é chamado), voçe pode distribuir uma cópia da | |
| 56 | -versão modificada: | |
| 57 | - | |
| 58 | -a) Nos termos desta Licença, desde que você faça um esforço de boa-fé para | |
| 59 | -garantir que, caso um Aplicativo não forneça a função o dado, o recurso | |
| 60 | -ainda funcione e execute qualquer parte do seu propósito que permaneça | |
| 61 | -significatio, ou | |
| 62 | - | |
| 63 | -b) nos termos da GNU GPL, sem nenhuma permissão adicional desta Licença | |
| 64 | -aplicável à referida cópia. | |
| 65 | - | |
| 66 | -3. Material que Incorpore Código Objeto dos Arquivos de Cabeçalho da | |
| 67 | -Biblioteca. | |
| 68 | - | |
| 69 | -A forma do código objeto de um Aplicativo pode incorporar material de um | |
| 70 | -arquivo de cabeçalho que faz parte da Biblioteca. Você pode distribuir o | |
| 71 | -referido código objeto da forma como escolher, desde que, se o material | |
| 72 | -incorporado não estiver limitado a parâmetros numéricos, layouts de | |
| 73 | -estruturas de dados e agentes de acesso ou pequenas macros, funções | |
| 74 | -sequenciais e modelos (dez ou menos linhas de comprimento), voçê faça o | |
| 75 | -seguinte: | |
| 76 | - | |
| 77 | -a) Forneça um aviso proeminente com cada cópia do código objeto de que | |
| 78 | -este utiliza a Biblioteca e que a Biblioteca e seu uso são coberto por | |
| 79 | -esta Licença. | |
| 80 | - | |
| 81 | -b) Forneça o código objeto com uma cópia da GNU GPL e esta Licença. | |
| 82 | - | |
| 83 | -4. Trabalhos Combinados. | |
| 84 | - | |
| 85 | -Você pode distribuir um Trabalho Combinado nos termos que escolher e que, | |
| 86 | -reunidos em conjunto, não restrinjam de forma efetiva a modificação das | |
| 87 | -partes da Biblioteca contidas no Trabalho Combinado e a engenharia reversa | |
| 88 | -para depurações de tais modificações se você também fizer o seguinte: | |
| 89 | - | |
| 90 | -a) Fornecer um aviso proeminente com cada cópia do Trabalho Combinado | |
| 91 | -de que este utiliza a Biblioteca e que a Biblioteca e seu uso são cobertos | |
| 92 | -por esta Licença. | |
| 93 | - | |
| 94 | -b) Fornecer o Trabalho Combinado com uma cópia da GNU GPL e esta | |
| 95 | -Licença. | |
| 96 | - | |
| 97 | -c) Para um Trabalho Combinado que exiba avisos de copyright durante | |
| 98 | -a execução, incluir o aviso de copyright da Biblioteca entre esses avisos,bem | |
| 99 | -como uma referência direcionando o usuário para as cópias da GNU GPL e | |
| 100 | -esta Licença. | |
| 101 | - | |
| 102 | -d) Faça um dos seguintes: | |
| 103 | - | |
| 104 | -0) Distribua a Fonte Mínima Correspondente nos termos desta Licença e o | |
| 105 | -Código do Aplicativo Correspondente em uma forma adequada para, e sob | |
| 106 | -termos que permitam, que o usuário recombine ou revincule o Aplicativo a | |
| 107 | -uma versão modificada da Versão Vinculada para produzir um Trabalho | |
| 108 | -Combinado modificado, na forma especificada pela seção 6 da GNU GPL | |
| 109 | -para distribuição da Fonte Correspondente. | |
| 110 | - | |
| 111 | -1) Utilize um mecanismo de biblioteca compartilhada adequado para | |
| 112 | -vinculação à Biblioteca. | |
| 113 | - | |
| 114 | -Um mecanismo adequado é um mecanismo que (a) utiliza em tempo de | |
| 115 | -execução uma cópia da Biblioteca já presente no sistema de computadores de | |
| 116 | -usuário e, (b) operará de forma apropriada com uma versão modificada da | |
| 117 | -Biblioteca que seja compatível com a interface da Versão Vinculada. | |
| 118 | -e) Forneça Informações de Instalação, mas somente se for necessário de outro | |
| 119 | -modo fornecer as referidas informações nos termos da seção 6 da GNU GPL, | |
| 120 | -e somente na medida em que tais informações sejam necessárias para instalar | |
| 121 | -e executar uma versão modificada do Trabalho Combinado produzido através | |
| 122 | -da recombinação ou revinculação do Aplicativo a uma versão modificada da | |
| 123 | -Versão Vinculada. (Se você utilizar a opção 4d0, as Informações de | |
| 124 | -Instalação devem acompanhar a Fonte Mínima Correspondente e o Código do | |
| 125 | -Aplicativo Correspondente. Se utilizar a opção 4d1, você deve fornecer as | |
| 126 | -Informações de Instalação da forma especificada na seção 6 da GNU GPL | |
| 127 | -para distribuição da Fonte Correspondente.) | |
| 128 | - | |
| 129 | -5. Bibliotecas Combinadas. | |
| 130 | - | |
| 131 | -Você pode colocar os recursos de biblioteca que constituem um trabalho | |
| 132 | -baseado na Biblioteca lado a lado em uma única biblioteca em conjunto com | |
| 133 | -outros recursos de biblioteca que não sejam Aplicativos e não sejam cobertos | |
| 134 | -por esta Licença, e distribuir a referida biblioteca combinada nos termos de | |
| 135 | -sua escolha, se fizer o seguinte: | |
| 136 | - | |
| 137 | -a) Faça a biblioteca combinada ser acompanhada de uma cópia do mesmo | |
| 138 | -trabalho baseado na Biblioteca, não combinado a nenhum outro recurso da | |
| 139 | -biblioteca, distribuído nos termos desta Licença. | |
| 140 | - | |
| 141 | -b) Forneça um aviso proeminente com a biblioteca combinada de que parte | |
| 142 | -da mesma corresponde a um trabalho baseado na Biblioteca e explique onde | |
| 143 | -localizar a forma não combinada de acompanhamento do mesmo trabalho. | |
| 144 | - | |
| 145 | -6. Versões Revisadas da GNU Lesser General Public License. | |
| 146 | - | |
| 147 | -A Free Software Foundation pode, de tempos em tempos, publicar versões | |
| 148 | -revisadas e/ou novas versões da GNU Lesser General Public License. Tais | |
| 149 | -novas versões serão similares em essência à versão atual, mas podem diferir | |
| 150 | -em detalhes para abordar novos problemas e/ou interesses. | |
| 151 | - | |
| 152 | -Cada versão recebe um número de versão distinto. Se a Biblioteca recebida | |
| 153 | -especificar que uma determinada versão numerada da GNU Lesser General | |
| 154 | -Public License "ou qualquer versão posterior" se aplique a ela, você tem a | |
| 155 | -opção de seguir os termos e condições da versão publicada ou de qualquer | |
| 156 | -versão posterior publicada pela Free Software Foundation. Se a Biblioteca, da | |
| 157 | -forma como foi recebida, não especificar um número de versão da GNU Lesser | |
| 158 | -General Public License, você pode escolher qualquer versão da GNU | |
| 159 | -Lesser General Public License já publicada pela Free Software Foundation. | |
| 160 | -Se a Biblioteca recebida especificar que um procurador pode decidir se | |
| 161 | -versões futuras da GNU Lesses General Public License serão aplicáveis, a | |
| 162 | -instrução pública do procurados de aceitação de qualquer versão constitui | |
| 163 | -uma autorização permanente para que você escolha esta versão da Biblioteca. | |
| 13 | + 0. Additional Definitions. | |
| 14 | + | |
| 15 | + As used herein, "this License" refers to version 3 of the GNU Lesser | |
| 16 | +General Public License, and the "GNU GPL" refers to version 3 of the GNU | |
| 17 | +General Public License. | |
| 18 | + | |
| 19 | + "The Library" refers to a covered work governed by this License, | |
| 20 | +other than an Application or a Combined Work as defined below. | |
| 21 | + | |
| 22 | + An "Application" is any work that makes use of an interface provided | |
| 23 | +by the Library, but which is not otherwise based on the Library. | |
| 24 | +Defining a subclass of a class defined by the Library is deemed a mode | |
| 25 | +of using an interface provided by the Library. | |
| 26 | + | |
| 27 | + A "Combined Work" is a work produced by combining or linking an | |
| 28 | +Application with the Library. The particular version of the Library | |
| 29 | +with which the Combined Work was made is also called the "Linked | |
| 30 | +Version". | |
| 31 | + | |
| 32 | + The "Minimal Corresponding Source" for a Combined Work means the | |
| 33 | +Corresponding Source for the Combined Work, excluding any source code | |
| 34 | +for portions of the Combined Work that, considered in isolation, are | |
| 35 | +based on the Application, and not on the Linked Version. | |
| 36 | + | |
| 37 | + The "Corresponding Application Code" for a Combined Work means the | |
| 38 | +object code and/or source code for the Application, including any data | |
| 39 | +and utility programs needed for reproducing the Combined Work from the | |
| 40 | +Application, but excluding the System Libraries of the Combined Work. | |
| 41 | + | |
| 42 | + 1. Exception to Section 3 of the GNU GPL. | |
| 43 | + | |
| 44 | + You may convey a covered work under sections 3 and 4 of this License | |
| 45 | +without being bound by section 3 of the GNU GPL. | |
| 46 | + | |
| 47 | + 2. Conveying Modified Versions. | |
| 48 | + | |
| 49 | + If you modify a copy of the Library, and, in your modifications, a | |
| 50 | +facility refers to a function or data to be supplied by an Application | |
| 51 | +that uses the facility (other than as an argument passed when the | |
| 52 | +facility is invoked), then you may convey a copy of the modified | |
| 53 | +version: | |
| 54 | + | |
| 55 | + a) under this License, provided that you make a good faith effort to | |
| 56 | + ensure that, in the event an Application does not supply the | |
| 57 | + function or data, the facility still operates, and performs | |
| 58 | + whatever part of its purpose remains meaningful, or | |
| 59 | + | |
| 60 | + b) under the GNU GPL, with none of the additional permissions of | |
| 61 | + this License applicable to that copy. | |
| 62 | + | |
| 63 | + 3. Object Code Incorporating Material from Library Header Files. | |
| 64 | + | |
| 65 | + The object code form of an Application may incorporate material from | |
| 66 | +a header file that is part of the Library. You may convey such object | |
| 67 | +code under terms of your choice, provided that, if the incorporated | |
| 68 | +material is not limited to numerical parameters, data structure | |
| 69 | +layouts and accessors, or small macros, inline functions and templates | |
| 70 | +(ten or fewer lines in length), you do both of the following: | |
| 71 | + | |
| 72 | + a) Give prominent notice with each copy of the object code that the | |
| 73 | + Library is used in it and that the Library and its use are | |
| 74 | + covered by this License. | |
| 75 | + | |
| 76 | + b) Accompany the object code with a copy of the GNU GPL and this license | |
| 77 | + document. | |
| 78 | + | |
| 79 | + 4. Combined Works. | |
| 80 | + | |
| 81 | + You may convey a Combined Work under terms of your choice that, | |
| 82 | +taken together, effectively do not restrict modification of the | |
| 83 | +portions of the Library contained in the Combined Work and reverse | |
| 84 | +engineering for debugging such modifications, if you also do each of | |
| 85 | +the following: | |
| 86 | + | |
| 87 | + a) Give prominent notice with each copy of the Combined Work that | |
| 88 | + the Library is used in it and that the Library and its use are | |
| 89 | + covered by this License. | |
| 90 | + | |
| 91 | + b) Accompany the Combined Work with a copy of the GNU GPL and this license | |
| 92 | + document. | |
| 93 | + | |
| 94 | + c) For a Combined Work that displays copyright notices during | |
| 95 | + execution, include the copyright notice for the Library among | |
| 96 | + these notices, as well as a reference directing the user to the | |
| 97 | + copies of the GNU GPL and this license document. | |
| 98 | + | |
| 99 | + d) Do one of the following: | |
| 100 | + | |
| 101 | + 0) Convey the Minimal Corresponding Source under the terms of this | |
| 102 | + License, and the Corresponding Application Code in a form | |
| 103 | + suitable for, and under terms that permit, the user to | |
| 104 | + recombine or relink the Application with a modified version of | |
| 105 | + the Linked Version to produce a modified Combined Work, in the | |
| 106 | + manner specified by section 6 of the GNU GPL for conveying | |
| 107 | + Corresponding Source. | |
| 108 | + | |
| 109 | + 1) Use a suitable shared library mechanism for linking with the | |
| 110 | + Library. A suitable mechanism is one that (a) uses at run time | |
| 111 | + a copy of the Library already present on the user's computer | |
| 112 | + system, and (b) will operate properly with a modified version | |
| 113 | + of the Library that is interface-compatible with the Linked | |
| 114 | + Version. | |
| 115 | + | |
| 116 | + e) Provide Installation Information, but only if you would otherwise | |
| 117 | + be required to provide such information under section 6 of the | |
| 118 | + GNU GPL, and only to the extent that such information is | |
| 119 | + necessary to install and execute a modified version of the | |
| 120 | + Combined Work produced by recombining or relinking the | |
| 121 | + Application with a modified version of the Linked Version. (If | |
| 122 | + you use option 4d0, the Installation Information must accompany | |
| 123 | + the Minimal Corresponding Source and Corresponding Application | |
| 124 | + Code. If you use option 4d1, you must provide the Installation | |
| 125 | + Information in the manner specified by section 6 of the GNU GPL | |
| 126 | + for conveying Corresponding Source.) | |
| 127 | + | |
| 128 | + 5. Combined Libraries. | |
| 129 | + | |
| 130 | + You may place library facilities that are a work based on the | |
| 131 | +Library side by side in a single library together with other library | |
| 132 | +facilities that are not Applications and are not covered by this | |
| 133 | +License, and convey such a combined library under terms of your | |
| 134 | +choice, if you do both of the following: | |
| 135 | + | |
| 136 | + a) Accompany the combined library with a copy of the same work based | |
| 137 | + on the Library, uncombined with any other library facilities, | |
| 138 | + conveyed under the terms of this License. | |
| 139 | + | |
| 140 | + b) Give prominent notice with the combined library that part of it | |
| 141 | + is a work based on the Library, and explaining where to find the | |
| 142 | + accompanying uncombined form of the same work. | |
| 143 | + | |
| 144 | + 6. Revised Versions of the GNU Lesser General Public License. | |
| 145 | + | |
| 146 | + The Free Software Foundation may publish revised and/or new versions | |
| 147 | +of the GNU Lesser General Public License from time to time. Such new | |
| 148 | +versions will be similar in spirit to the present version, but may | |
| 149 | +differ in detail to address new problems or concerns. | |
| 150 | + | |
| 151 | + Each version is given a distinguishing version number. If the | |
| 152 | +Library as you received it specifies that a certain numbered version | |
| 153 | +of the GNU Lesser General Public License "or any later version" | |
| 154 | +applies to it, you have the option of following the terms and | |
| 155 | +conditions either of that published version or of any later version | |
| 156 | +published by the Free Software Foundation. If the Library as you | |
| 157 | +received it does not specify a version number of the GNU Lesser | |
| 158 | +General Public License, you may choose any version of the GNU Lesser | |
| 159 | +General Public License ever published by the Free Software Foundation. | |
| 160 | + | |
| 161 | + If the Library as you received it specifies that a proxy can decide | |
| 162 | +whether future versions of the GNU Lesser General Public License shall | |
| 163 | +apply, that proxy's public statement of acceptance of any version is | |
| 164 | +permanent authorization for you to choose that version for the | |
| 165 | +Library. | |
| 164 | 166 | ... | ... |
src/core/linux/gobject.c
| ... | ... | @@ -89,12 +89,16 @@ void ipc3270_add_terminal_introspection(GString *introspection) { |
| 89 | 89 | " <method name='disconnect'>" |
| 90 | 90 | " <arg type='i' name='result' direction='out' />" \ |
| 91 | 91 | " </method>" |
| 92 | + " <method name='action'>" | |
| 93 | + " <arg type='s' name='name' direction='in' />" \ | |
| 94 | + " <arg type='i' name='result' direction='out' />" \ | |
| 95 | + " </method>" | |
| 92 | 96 | " <method name='pfkey'>" \ |
| 93 | - " <arg type='i' name='keycode' direction='in'/>" \ | |
| 97 | + " <arg type='u' name='keycode' direction='in'/>" \ | |
| 94 | 98 | " <arg type='i' name='result' direction='out' />" \ |
| 95 | 99 | " </method>" |
| 96 | 100 | " <method name='pakey'>" \ |
| 97 | - " <arg type='i' name='keycode' direction='in'/>" \ | |
| 101 | + " <arg type='u' name='keycode' direction='in'/>" \ | |
| 98 | 102 | " <arg type='i' name='result' direction='out' />" \ |
| 99 | 103 | " </method>" |
| 100 | 104 | " <method name='getString'>" \ |
| ... | ... | @@ -128,10 +132,31 @@ void ipc3270_add_terminal_introspection(GString *introspection) { |
| 128 | 132 | " <arg type='y' name='lf' direction='in' />" \ |
| 129 | 133 | " <arg type='s' name='text' direction='out' />" \ |
| 130 | 134 | " </method>" \ |
| 135 | + " <method name= 'getFieldAt'>" \ | |
| 136 | + " <arg type='u' name='row' direction='in' />" \ | |
| 137 | + " <arg type='u' name='col' direction='in' />" \ | |
| 138 | + " <arg type='s' name='text' direction='out' />" \ | |
| 139 | + " </method>" \ | |
| 140 | + " <method name= 'getFieldAtAddress'>" \ | |
| 141 | + " <arg type='u' name='addr' direction='in' />" \ | |
| 142 | + " <arg type='s' name='text' direction='out' />" \ | |
| 143 | + " </method>" \ | |
| 144 | + " <method name= 'getFieldAtCursor'>" \ | |
| 145 | + " <arg type='s' name='text' direction='out' />" \ | |
| 146 | + " </method>" \ | |
| 131 | 147 | " <method name= 'waitForReady'>" \ |
| 132 | 148 | " <arg type='u' name='seconds' direction='in' />" \ |
| 133 | 149 | " <arg type='i' name='result' direction='out' />" \ |
| 134 | 150 | " </method>" \ |
| 151 | + " <method name= 'setCursorAddress'>" \ | |
| 152 | + " <arg type='u' name='addr' direction='in' />" \ | |
| 153 | + " <arg type='s' name='text' direction='out' />" \ | |
| 154 | + " </method>" \ | |
| 155 | + " <method name= 'setCursorPosition'>" \ | |
| 156 | + " <arg type='u' name='row' direction='in' />" \ | |
| 157 | + " <arg type='u' name='col' direction='in' />" \ | |
| 158 | + " <arg type='s' name='text' direction='out' />" \ | |
| 159 | + " </method>" \ | |
| 135 | 160 | " <property type='s' name='version' access='read'/>" \ |
| 136 | 161 | " <property type='s' name='revision' access='read'/>" |
| 137 | 162 | ); | ... | ... |