summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libSM 1.2.2libSM-1.2.2Alan Coopersmith2013-09-071-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix some clang warnings about integer size/sign conversionsAlan Coopersmith2013-08-096-16/+16
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* unifdef WORD64 (leftover bits of Cray support)Alan Coopersmith2013-08-091-46/+0
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Constify previous_id argument to SmcOpenConnectionAlan Coopersmith2013-08-092-2/+2
| | | | | | | | | Clears gcc warning of: sm_client.c: In function 'SmcOpenConnection': sm_client.c:199:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* autogen.sh: Implement GNOME Build APIbaserock/morphColin Walters2013-01-151-1/+3
| | | | | | http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
* configure: Remove AM_MAINTAINER_MODEAdam Jackson2013-01-151-1/+0
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* unifdef -U__UNIXOS2__Alan Coopersmith2013-01-042-9/+0
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Remove unused TLI ("STREAMSCONN") code from libSMAlan Coopersmith2012-12-261-2/+2
| | | | | | | | | Has never been converted to build in modular builds, so has been unusable since X11R7.0 release in 2005. All known platforms with TLI/XTI support that X11R7 & later releases run on also have (and mostly prefer) BSD socket support for their networking API. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libSM 1.2.1libSM-1.2.1Alan Coopersmith2012-03-021-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* informaltable cleanupMatt Dew2012-01-112-550/+772
| | | | | | | | | | | | | | | | On certain tables, add top and bottom borders to table header and a bottom border to the table. This matches what those tables in the old pdfs looked like. the <?dbfo keep-together='always'> prevents tables from splitting across pages. Useful for tiny tables. Converting the colwidth to a floating point, IE, 1* -> 1.0* cleans up these build errors: WARNING: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) Signed-off-by: Matt Dew <marcoz@osource.org>
* unifdef -ULynxAlan Coopersmith2011-12-091-5/+1
| | | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: James Cloos <cloos@jhcloos.com>
* SmsInitialize: Mark vendor & release args as const char *Alan Coopersmith2011-12-093-5/+6
| | | | | | | Needed to fix gcc -Wwrite-strings arguments in callers such as xsm. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: James Cloos <cloos@jhcloos.com>
* Remove a bunch of unnecessary casts with malloc & free callsAlan Coopersmith2011-12-095-28/+25
| | | | | | | | | With modern compilers and headers, they cause more problems than they solve and just hide real issues. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: James Cloos <cloos@jhcloos.com>
* Replace malloc(strlen) + strcpy sets with strdup callsAlan Coopersmith2011-12-094-33/+9
| | | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: James Cloos <cloos@jhcloos.com>
* Reindent IPv4 code to match IPv6 codeAlan Coopersmith2011-12-091-27/+27
| | | | | | | Takes care of the other block of code confusingly sharing indent levels Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: James Cloos <cloos@jhcloos.com>
* Move variable declarations to get rid of unnecessary scope bracketsAlan Coopersmith2011-12-091-6/+6
| | | | | | | | Gets rid of one of the multiple levels of bracketing that confusingly shared the same indent level. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: James Cloos <cloos@jhcloos.com>
* Move and rename temp[4] definition to reduce confusion with temp[256]Alan Coopersmith2011-12-091-5/+7
| | | | | | | | | | | Both variables were locals in different scope levels of the same function, leading to both confusing code and gcc -Wshadow warnings: sm_genid.c: In function 'SmsGenerateClientID': sm_genid.c:160:10: warning: declaration of 'temp' shadows a previous local Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: James Cloos <cloos@jhcloos.com>
* Use imdent to make multiple levels of nested #if easier to followAlan Coopersmith2011-12-091-36/+36
| | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: James Cloos <cloos@jhcloos.com>
* Cleanup IDs and links in docMatt Dew2011-10-042-295/+296
| | | | | | | | | | 1 - fix the capitalization of the ID attributes to match either the <title> or <funcdef> string it goes with. 2 - fix any <linkend>'s that were affected by 1. 3 - any <function> in the docs that has an actual funcdef, will become an olink. Signed-off-by: Matt Dew <marcoz@osource.org>
* Strip trailing whitespaceAlan Coopersmith2011-09-166-21/+21
| | | | | | | Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* docs: fix author affiliationGaetan Nadon2011-09-142-5/+3
| | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* docs: use the &fullrelvers; entity to set X11 release informationGaetan Nadon2011-09-122-4/+10
| | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* docs: remove <productnumber> which is not used by defaultGaetan Nadon2011-09-112-2/+0
| | | | | | | | This element is not rendered by default on the title. A template customization is required to display it. X Window System does not have a product number. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* docbook.am: embed css styles inside the HTML HEAD elementGaetan Nadon2011-09-081-2/+0
| | | | | | | | | | | | Rather than referring to the external xorg.css stylesheet, embed the content of the file in the html output produced. This is accomplished by using version 1.10 of xorg-xhtml.xsl. This makes the whole html docs tree much more relocatable. In addition, it eliminates xorg.css as a runtime file which makes xorg-sgml-doctools a build time only package. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* docbook.am: global maintenance update - entities, images and olinkingGaetan Nadon2011-09-071-52/+62
| | | | | | | | | | | | | Adding support in libX11 for html chunking caused a reorg of docbook.am as well as the xorg-sgml-doctools masterdb for olinking. The parameter img.src.path is added for pdf images. A searchpath to the root builddir is added for local entities, if present. The docbook.am makefile hides all the details and is identical for all 22 modules having DocBook documentation. It is included by a thin Makefile.am which requires no docbook knowledge. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Install xml versions of specs even if HAVE_XMLTO is falseGaetan Nadon2011-06-122-2/+2
| | | | | | | DocBook/XML input source is also a usefull output format that can be viewed with an XML viewer or editor and by some O/S help system. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Install target dbs alongside generated documentsGaetan Nadon2011-06-112-3/+3
| | | | | | | | | | | | This matches a change in xorg-sgml-docs whereby the masterdb will look for the target dbs into the same location as the generated documents. The target dbs are now installed alongside the generated documents. Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which has the potential of installing outside the package prefix and cause distcheck to fail when user does not have write permission in this package. Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11
* add id attributes to funcsynopsis to allow other docs to olink to them.Matt Dew2011-06-041-58/+58
| | | | | | Signed-off-by: Matt Dew <marcoz@osource.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
* Documentation: add Docbook external references supportGaetan Nadon2011-03-304-57/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | When writing technical documentation, it is often necessary to cross reference to other information. When that other information is not in the current document, additional support is needed, namely <olink>. A new feature with version 1.7 of xorg-sgml-doctools adds references to other documents within or outside this package. This patch adds technical support for this feature but does not change the content of the documentation as seen by the end user. Each book or article must generate a database containing the href of sections that can be referred to from another document. This database is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that the value of DATAROOTDIR for xorg-sgml-doctools and for the package documentation is the same. This forms a virtual document tree. This database is consulted by other documents while they are being generated in order to fulfill the missing information for linking. Refer to the xorg-sgml-doctools for further technical information. Co-authored-by: Matt Dew <marcoz@osource.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Docbook: change the book id to match the xml file basenameGaetan Nadon2011-02-252-2/+2
| | | | | | This is required for the up-coming external references support. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: splitting SM and XTRANS compiler options is not requiredGaetan Nadon2011-02-022-5/+5
| | | | | | Simplify configuration by using a single PKG_CHECK_MODULES statement. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: comment, minor upgrade, quote and layout configure.acGaetan Nadon2011-02-021-9/+8
| | | | | | | | | | | | | Group statements per section as per Autoconf standard layout Quote statements where appropriate. Autoconf recommends not using dnl instead of # for comments Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. This helps automated maintenance and release activities. Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Bug 33390 - sm.pc: don't export a dependency on iceAlan Coopersmith2011-02-011-2/+2
| | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=33390 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
* config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon2011-01-281-1/+1
| | | | | | This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: remove unrequired AC_HEADER_STDCGaetan Nadon2011-01-281-5/+0
| | | | | | Autoconf says: "This macro is obsolescent, as current systems have conforming header files. New programs need not use this macro".
* Use docbookx.dtd version 4.3 for all docsPaulo Zanoni2010-12-162-4/+4
| | | | | Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSAlan Coopersmith2010-11-211-10/+8
| | | | | | | Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: Remove unnecessary calls from configure.acAlan Coopersmith2010-11-211-6/+0
| | | | | | | AC_PROG_CC are provided by XORG_DEFAULT_OPTIONS now PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Sun's copyrights belong to Oracle nowAlan Coopersmith2010-11-212-2/+3
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: HTML file generation: use the installed copy of xorg.cssGaetan Nadon2010-11-092-7/+2
| | | | | | | | Currenlty the xorg.css file is copied in each location where a DocBook/XML file resides. This produces about 70 copies in the $(docdir) install tree. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* libSM 1.2.0libSM-1.2.0Alan Coopersmith2010-10-271-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* SMlib.xml: Use <simplelist> instead of <synopsis> for lists of mask valuesAlan Coopersmith2010-10-241-24/+24
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* SMlib.xml: Tag function names, parameters, constant values, etc.Alan Coopersmith2010-10-241-270/+328
| | | | | | | | Includes correcting <function> tags on things that aren't functions as some stylesheets may add () after <function> tagged items so we shouldn't use them for constants, variables, filenames, etc. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* SMlib.xml: Line wrapping & other whitespace cleanupAlan Coopersmith2010-10-241-535/+1557
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* xsmp.xml: add internal cross-reference linksAlan Coopersmith2010-10-231-2/+3
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* xsmp.xml: Use <synopsis> and related markup for protocol message definitionAlan Coopersmith2010-10-231-95/+146
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* xsmp.xml: Use <errorname> instead of <function> for error namesAlan Coopersmith2010-10-231-6/+6
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* xsmp.xml: Restore note titles (example/rationale/advice)Alan Coopersmith2010-10-221-16/+17
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* xsmp.xml: Clean up tablesAlan Coopersmith2010-10-221-771/+499
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* xsmp.xml: Misc markup tag cleanupsAlan Coopersmith2010-10-221-82/+86
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>