summaryrefslogtreecommitdiff
path: root/xmore.c
AgeCommit message (Collapse)AuthorFilesLines
2023-09-26Handle clang -Wunused-parameter warningsAlan Coopersmith1-2/+4
xmore.c:117:31: warning: unused parameter 'event' [-Wunused-parameter] quitAction(Widget w, XEvent *event, String *params, Cardinal *num_params) ^ xmore.c:117:46: warning: unused parameter 'params' [-Wunused-parameter] quitAction(Widget w, XEvent *event, String *params, Cardinal *num_params) ^ xmore.c:117:64: warning: unused parameter 'num_params' [-Wunused-parameter] quitAction(Widget w, XEvent *event, String *params, Cardinal *num_params) ^ xmore.c:123:32: warning: unused parameter 'client_data' [-Wunused-parameter] quitXtProc(Widget w, XtPointer client_data, XtPointer callData) ^ xmore.c:123:55: warning: unused parameter 'callData' [-Wunused-parameter] quitXtProc(Widget w, XtPointer client_data, XtPointer callData) ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-09-26Handle clang -Wunused-macros warningsAlan Coopersmith1-7/+0
xmore.c:55:9: warning: macro is not used [-Wunused-macros] #define Error(x) { printf x ; exit(EXIT_FAILURE); } ^ xmore.c:56:9: warning: macro is not used [-Wunused-macros] #define Assertion(expr, msg) { if (!(expr)) { Error msg } } ^ xmore.c:53:9: warning: macro is not used [-Wunused-macros] #define NULLSTR(x) (((x)!=NULL)?(x):("")) ^ xmore.c:57:9: warning: macro is not used [-Wunused-macros] #define Log(x) { if (userOptions.verbose) printf x; } ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-09-26Handle clang -Wmissing-noreturn warningAlan Coopersmith1-0/+1
xmore.c:137:1: warning: function 'usage' could be declared with attribute 'noreturn' [-Wmissing-noreturn] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-11Add -help and -version optionsAlan Coopersmith1-2/+30
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-11Print which arguments were unknown before giving usage messageAlan Coopersmith1-0/+5
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2009-01-22Correct make distcheck and sparse warnings.Paulo Cesar Pereira de Andrade1-4/+4
2008-11-16More xprint pruningJulien Cristau1-136/+1
2005-07-05Add build systems for xlogo, xlsatoms, xlsclients, xmag, xman, xmessage,XORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901XORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15Søren Sandmann Pedersen1-1/+16
xmh, xmore. lib/Xaw/xaw.m4: Add an AM_CONDITIONAL and a shell variable xaw_use_xprint symlink.sh: add some extra files for xgc, xinit, xkbcomp, xlogo, xmb, and xmodmap xc/programs/xmore/xmore.c: Conditionalize use of xprint
2005-01-03xc/lib/XprintAppUtil/xpapputil.cRoland Mainz1-1/+2
xc/lib/XprintAppUtil/xpapputil.h xc/lib/XprintUtil/xprintutil.c xc/lib/XprintUtil/xprintutil.h xc/programs/glxgears/glxgears.c xc/programs/xdbedizzy/xdbedizzy.c xc/programs/xedit/Xedit-xprint.ad xc/programs/xedit/commands.c xc/programs/xlogo/print.c xc/programs/xlsfonts/xlsfonts.c xc/programs/xlsfonts/xlsfonts.man xc/programs/xlsfonts/xlsfonts.sgml xc/programs/xman/Xman-xprint.ad xc/programs/xman/handler.c xc/programs/xman/print.c xc/programs/xman/print.h xc/programs/xmore/XMore.ad xc/programs/xmore/print.c xc/programs/xmore/print.h xc/programs/xmore/printdialog.c xc/programs/xmore/printdialog.h xc/programs/xmore/printdialogprivates.h xc/programs/xmore/xmore.c xc/programs/xphelloworld/xpawhelloworld/xpawhelloworld.c xc/programs/xphelloworld/xphelloworld/xphelloworld.c xc/programs/xphelloworld/xpsimplehelloworld/xpsimplehelloworld.c xc/programs/xphelloworld/xpxmhelloworld/xpxmhelloworld.c xc/programs/xphelloworld/xpxthelloworld/xpxthelloworld.c xc/programs/xplsprinters/xplsprinters.c //bugs.freedesktop.org/show_bug.cgi?id=1706) attachment #1615 (https://bugs.freedesktop.org/attachment.cgi?id=1615): XprintUtils 2004/Q3 update. This adds various new features to the XprintUtils library including support for page resolutions where X_resolution!=Y_resolution, listfonts-mode control and initial framework for the COLORSPACE extension. Patch by Roland Mainz <roland.mainz@nrubsig.org> and Julien Lafon <julien.lafon@gmail.com>.
2004-05-30Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=695 - Add printRoland Mainz1-5/+6
support to Xedit
2004-05-30Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=693 - XMore andRoland Mainz1-19/+122
XawPrintDialog work-in-progress, fixing various problems and adding framework for i18n.
2004-05-24Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=611 -Roland Mainz1-0/+200
Adding simple text viewer (xmore)