summaryrefslogtreecommitdiff
path: root/xmore.c
AgeCommit message (Collapse)Author
2023-09-26Handle clang -Wunused-parameter warningsAlan Coopersmith
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 Coopersmith
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 Coopersmith
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 Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-11Print which arguments were unknown before giving usage messageAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2009-01-22Correct make distcheck and sparse warnings.Paulo Cesar Pereira de Andrade
2008-11-16More xprint pruningJulien Cristau
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 Pedersen
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 Mainz
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 Mainz
support to Xedit
2004-05-30Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=693 - XMore andRoland Mainz
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 Mainz
Adding simple text viewer (xmore)