summaryrefslogtreecommitdiff
path: root/src/xrdb.c
Commit message (Collapse)AuthorAgeFilesLines
* (gethomedir): Use xstrdup.Romain Francoise2006-04-101-1/+1
|
* (gethomedir): Make sure to always return a pointer thatAndreas Schwab2006-04-101-1/+1
| | | | can be passed to free.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (malloc, realloc, free) [emacs]: Undefine macros before defining.Ken Raeburn2006-02-051-0/+4
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Remove reference to defunct vms-pwd.h.Thien-Thi Nguyen2005-04-201-3/+1
| | | | For pwd.h, use HAVE_PWD_H, not !VMS.
* * xrdb.c (x_load_resources): Undo previous change (2005-03-18).Jan Djärv2005-03-221-4/+2
|
* * xrdb.c (x_load_resources): Use different char *helv when I18NJan Djärv2005-03-181-0/+4
| | | | is present.
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* (file_p): Rename arg `path' to `filename'.Richard M. Stallman2002-03-031-4/+4
|
* (SYSV): Don't define on Solaris 2.Gerd Moellmann2001-08-161-3/+6
| | | | From Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>.
* (x_load_resources) [USE_MOTIF]: Remove extraneous argGerd Moellmann2001-03-121-2/+2
| | | | to sprintf.
* (x_load_resources): Use the class name in the defaults.Stefan Monnier2000-10-301-18/+18
|
* Avoid some more compiler warnings.Gerd Moellmann2000-09-211-1/+1
|
* (x_load_resources): Add default resource for scroll bar'sGerd Moellmann2000-06-221-0/+4
| | | | trough color and main window's background color.
* Don't declare xmalloc, xrealloc.Sam Steingold2000-06-201-12/+11
|
* Remove redundant unistd.h inclusion.Dave Love2000-06-191-1/+0
|
* (x_load_resources): Set default resources for resourceDave Love2000-06-191-9/+5
| | | | classes instead of for the specific Emacs.
* (get_fallback): Remove unused variable.Gerd Moellmann1999-09-161-3/+2
| | | | | (x_load_resources): Ditto. Put local variable used for Motif only in #ifdef USE_MOTIF.
* (x_load_resources): Set double-click time defaultsGerd Moellmann1999-07-211-0/+70
| | | | | | | | | | for Motif list boxes from double-click-time. (x_load_resources): Add default resoures for file selection dialog. (x_load_resources): Add grey background colors as defaults for menus, scroll bars, and dialogs. (x_load_resources): Add font defaults for menus and dialogs.
* Use epaths.h istead of paths.h.Richard M. Stallman1999-02-261-1/+1
|
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-0/+5
|
* Include paths.h.Richard M. Stallman1997-08-161-0/+2
|
* (get_system_app): Use PATH_X_DEFAULTS.Richard M. Stallman1997-08-161-14/+1
|
* (X_DEFAULT_SEARCH_PATH): Add /usr/X11R6/lib alternatives.Richard M. Stallman1997-08-121-1/+12
|
* (get_user_app): Free the gethomedir value.Richard M. Stallman1997-04-271-5/+10
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-4/+7
|
* Don't include sys/param.h.Richard M. Stallman1995-01-181-8/+0
| | | | (MAXPATHLEN): Definition deleted.
* (getpwuid, getpwnam): Test just DECLARE_GETPWUID_WITH_UID_T, not __bsdi__.Richard M. Stallman1994-09-161-1/+1
|
* [USG5] (SYSV): Don't define if already defined.Richard M. Stallman1994-07-201-0/+2
|
* (x_load_resources) [USE_X_TOOLKIT]: Don't call XrmInitialize.Richard M. Stallman1994-05-051-0/+4
|
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* (gethomedir): Look at LOGNAME before USER.Karl Heuer1994-02-121-6/+3
|
* (x_get_customization_string): Use get_system_name instead of gethostname.Karl Heuer1994-02-021-17/+4
|
* (S_ISDIR): Define if not defined.Richard M. Stallman1994-01-211-13/+12
| | | | | | (file_p): Use S_ISDIR. (search_magic_path): Fix logic testing for empty path element.
* (search_magic_path): Fix colon-colon case.Richard M. Stallman1993-11-231-1/+2
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (x_get_customization_string): Don't use value of strcpy.Richard M. Stallman1993-08-101-1/+5
|
* * config.h.in (HAVE_XSCREENRESOURCESTRING): New #undef forJim Blandy1993-07-311-3/+1
| | | | | | configure to edit. * xrdb.c (get_user_db): Test it to decide whether or not to try to retrieve the screen-dependent resources.
* (getpwuid): Test DECLARE_GETPWUID_WITH_UID_T.Richard M. Stallman1993-07-221-1/+1
|
* Implement search for app-defaults directory andJim Blandy1993-07-221-162/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | localized default databases, along with some other functionality provided by Xt. #include <stdio.h>, since we call sprintf. [emacs] (malloc, realloc, free): #define these to xmalloc, xrealloc, and xfree. (x_get_string_resource, file_p): Add forward declarations for these. (x_customization_string): New variable. (x_get_customization_string): New function. (gethomedir): Return malloc'ed space of the right size, instead of writing into a fixed-size buffer; this means that our callers do not impose an arbitrary limit on file name length. (magic_file_p): Rewrite of decode_magic; actually do the substitutions, instead of expanding all %-escapes to "". Support the customization string. Return 0 or the expanded file name, instead of just zero or one. Allocate the space for the expanded file name ourselves, instead of writing into a fixed-size buffer passed to us; this removes an arbitrary limit. (search_magic_path): Rewrite of magic_searchpath_decoder. Return 0 or the expanded file name, instead of just zero or one. Allocate the space for the expanded file name ourselves, instead of writing into a fixed-size buffer passed to us; this means that our callers do not impose an arbitrary limit on file name length. (get_system_app): Changed to work with search_magic_path. (get_user_app): Rewritten to work with search_magic_path, and not to assume that the values of XAPPLRESDIR is a single directory. (get_user_db): Properly use the new version of gethomedir. (get_environ_db): Remove arbitrary limit on length of host name. (x_load_resources): Take a new argument, myname. Call get_user_db early to obtain the customization string. Changes to stand-alone testing code.
* * xrdb.c (get_user_db): Remember to free the screen-local resourceJim Blandy1993-06-221-1/+4
| | | | string after we've merged its data into db.
* * xrdb.c (get_user_db): Get the screen-specific database too.Jim Blandy1993-06-111-0/+9
|
* [__bsdi__]: Alternate decls of getpwuid and getpwnam.Richard M. Stallman1993-05-311-0/+5
|
* (magic_searchpath_decoder): Fix typos.Richard M. Stallman1993-05-261-2/+2
|
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* * xrdb.c (get_user_db): Since xrdb.c doesn't #include xterm.h,Jim Blandy1993-03-111-1/+1
| | | | | we can't test HAVE_X11R4 to see how we should get the resource manager string; cheat.
* * xrdb.c (getuid): Remove declaration.Jim Blandy1993-02-221-0/+6
|
* * xterm.c, xrdb.c: #include <stdio.h> before "xterm.h", to avoidJim Blandy1992-10-111-2/+5
| | | | warnings about redefining NULL under GCC 2.2.2.