about summary refs log tree commit diff stats
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* I change the style of init somewhat, init as early as possible.Anselm R. Garbe2007-06-061-3/+3
|
* applied anudots [un]ban repair patchAnselm R. Garbe2007-06-041-2/+1
|
* referred to LICENSE file 4.2Anselm R. Garbe2007-05-301-6/+1
|
* Jukka also belongs to Copyright holders after all he has contributed and ↵Anselm R. Garbe2007-05-301-1/+2
| | | | done for dwm, updated -v as well
* changed -v output (now also anydot and nsz are contained in this output)Anselm R. Garbe2007-05-291-1/+1
|
* added nsz to copyright holders as well, because he did a lot recentlyAnselm R. Garbe2007-05-291-0/+1
|
* added anydot to Copyright holders, because he contributed a lot recentlyAnselm R. Garbe2007-05-291-0/+1
|
* removed the only one and superfloues strncmpAnselm R. Garbe2007-05-231-1/+1
|
* raising the barwin has no effect becasue of restackAnselm R. Garbe2007-05-151-1/+0
|
* fixAnselm R. Garbe2007-05-151-0/+2
|
* barwindow raisingAnselm R. Garbe2007-05-151-0/+3
|
* another fix, call lt->arrange() in togglebar onlyAnselm R. Garbe2007-05-151-3/+3
|
* fixed bpos initAnselm R. Garbe2007-05-151-0/+1
|
* made bar togglalbleAnselm R. Garbe2007-05-151-7/+25
|
* applied patch of Paul Liu to allow onthefly resizing due to xrandr changesAnselm R. Garbe2007-05-071-1/+2
|
* fixed the border issue for mplayer, ff is definately broken when using F11 ↵ 4.0Anselm R. Garbe2007-04-191-1/+1
| | | | (fullscreen mode)
* yet another fix of copyright compactisitionAnselm R. Garbe2007-04-131-2/+3
|
* making Copyright notices more compactAnselm R. Garbe2007-04-131-5/+3
|
* we don't need to set the font all the time 3.8Anselm R. Garbe2007-03-021-0/+2
|
* removed sendeventAnselm R. Garbe2007-02-261-14/+0
|
* replaced Arg union with const char *arg, seems cleaner to me, even if we ↵Anselm R. Garbe2007-02-221-1/+1
| | | | need atoi() in some places
* several changes, made togglemax extern and separated it from zoom() - moved ↵Anselm R. Garbe2007-02-221-1/+1
| | | | zoom() and togglemax() into layout.c, changed void (*func)(Arg *) into void (*func)(Arg), changed default keybindings of focusnext/focusprev and incmasterw to h/j/k/l accordingly, made keys in config*h appear alphabetically (special keys first), renamed resizemaster into incmasterw, renamed MASTER into MASTERWIDTH
* just ignore the FD_ISSET check in main.c of xfd, just call XPending (which ↵Anselm R. Garbe2007-02-211-6/+5
| | | | does the same afair)
* reverted accidental removal of sx, syAnselm R. Garbe2007-02-211-4/+5
|
* removed some global vars which should be static insteadAnselm R. Garbe2007-02-211-6/+5
|
* renamed setfont to initfont, getcolor to initcolorAnselm R. Garbe2007-02-201-29/+29
|
* added draw.c again (except getcolor and setfont which are helpers in main.c)Anselm R. Garbe2007-02-201-128/+0
|
* separating drawsquare from drawtext, made drawtext externAnselm R. Garbe2007-02-201-49/+63
|
* using eprint instead of fputsAnselm R. Garbe2007-02-191-6/+3
|
* introduced Layout structAnselm R. Garbe2007-02-191-6/+6
|
* removed procevent, more refactoringAnselm R. Garbe2007-02-191-2/+6
|
* draw.c is useless (belongs to main.c now)Anselm R. Garbe2007-02-191-0/+165
|
* some more refactoringAnselm R. Garbe2007-02-191-3/+1
|
* introduced tile.c, some refactoring of functionsAnselm R. Garbe2007-02-191-1/+1
|
* removed ugly ban(), extended resize() that it only resets the size if ↵Anselm R. Garbe2007-02-161-1/+2
| | | | necessary, added border_width commit to manage()
* made for/if/else constructs more consistent, some code polishingAnselm R. Garbe2007-02-141-6/+5
|
* pneubeck pointed out an obvious thing, that a second p = stext + ↵Anselm R. Garbe2007-02-091-1/+1
| | | | strlen(stext) - 1 is unnecessary
* fixed order of Bool declarationsAnselm R. Garbe2007-02-081-1/+1
|
* added TOPBAR option for making the bar appear what the user likesAnselm R. Garbe2007-02-081-3/+3
|
* making the bar appear at bottomAnselm R. Garbe2007-02-081-2/+2
|
* replaced getproto with a saner function, now old-school artifacts of WM ↵Anselm R. Garbe2007-02-071-18/+0
| | | | times in the early 90s completely disappeared, no punned pointer warning anymore ;)
* handling WM_STATE seems to make DnD in gtk/qt apps working, well let's ↵Anselm R. Garbe2007-01-281-0/+1
| | | | handle this in dwm as well
* renamed activescreen into selscreen 3.2Anselm R. Garbe2007-01-231-2/+2
|
* small changesAnselm R. Garbe2007-01-231-2/+2
|
* applied Sanders all5.patch (thanks for your weekend session, Sander!)Anselm R. Garbe2007-01-221-1/+1
|
* removed unnecessary bx, by, bw variablesAnselm R. Garbe2007-01-161-5/+2
|
* implemented new color scheme accordingly to Sanders proposalAnselm R. Garbe2007-01-141-2/+2
|
* removed mode label stuffAnselm R. Garbe2007-01-141-2/+2
|
* small fix of initial numlockmask valueAnselm R. Garbe2007-01-111-0/+1
|
* reorganizedAnselm R. Garbe2007-01-081-2/+1
|
tract(0,1,f$edit(reply, "TRIM, UPCASE")) .nes. "Y" then - $ goto Compile_CHRTRANS $ EndIf $ ENDIF $ v1 = f$verify(1) $! $! Build the WWWLibrary $! $ set default [.WWW.Library.VMS] $ v1 = f$verify(v0) $ @libmake "''option'" "''P2'" "''debug_arg'" $ v1 = f$verify(1) $ set default [-.-.-] $ v1 = f$verify(v0) $ ON CONTROL_Y THEN GOTO CLEANUP $ ON ERROR THEN GOTO CLEANUP $! $Compile_CHRTRANS: $ IF f$search("[.src.chrtrans]makeuctb.exe") .nes. "" $ THEN $ write sys$output " [.src.chrtrans]makeuctb.exe already exists." $ If f$mode() .eqs. "BATCH" $ Then $ write sys$output " Updating makeuctb.exe and chrtrans header files." $ Else $ read sys$command - /prompt=" Update it and chrtrans header files [default Y]? " reply $ if reply .nes. "" .and. - f$extract(0,1,f$edit(reply, "TRIM, UPCASE")) .nes. "Y" then - $ goto Compile_SRC $ EndIf $ ENDIF $! $ v1 = f$verify(1) $! $! Build the chrtrans modules. $! $ set default [.src.chrtrans] $ v1 = 'f$verify(v0) $ @build-chrtrans $ v1 = f$verify(1) $ set default [-.-] $ v1 = f$verify(v0) $ ON CONTROL_Y THEN GOTO CLEANUP $ ON ERROR THEN GOTO CLEANUP $! $Compile_SRC: $ v1 = f$verify(1) $! $! Compile the Lynx [.SRC] modules $! $ set default [.SRC] $ v1 = f$verify(v0) $ IF f$getsyi("ARCH_NAME") .eqs. "Alpha" .or. - f$getsyi("ARCH_NAME") .eqs. "IA64" .or. - f$trnlnm("VAXCMSG") .eqs. "DECC$MSG" .or. - f$trnlnm("DECC$CC_DEFAULT") .eqs. "/DECC" .or. - f$trnlnm("DECC$CC_DEFAULT") .eqs. "/VAXC" $ THEN $ compiler := "DECC" $! $ if option .eqs. "UCX" $ then $ optfile = "UCXSHR" $ IF mucx THEN optfile = "MULTINET_UCX" $ ENDIF $ if option .eqs. "TCPIP" then optfile = "TCPIPSHR" $ if option .eqs. "TCPWARE" then optfile = "TCPWARESHR" $! $ if option .eqs. "SOCKETSHR_TCP" then extra_defs = extra_defs + ",_DECC_V4_SOURCE" $ if option .eqs. "TCPIP" then extra_defs = extra_defs + ",TCPIP_SERVICES" $ if option .eqs. "MULTINET" then - extra_defs = extra_defs + ",_DECC_V4_SOURCE,__SOCKET_TYPEDEFS" $! $ if option .eqs. "TCPIP" $ then $ if f$trnlnm("TCPIP$IPC_SHR") .eqs. "" then define TCPIP$IPC_SHR SYS$LIBRARY:TCPIP$IPC_SHR $ endif $! $ v1 = f$verify(1) $! DECC: $ cc := cc/decc/prefix=all/nomember'cc_opts' - /DEFINE=(ACCESS_AUTH,'option''extra_defs',__VMS_CURSES)- /INCLUDE=([],[-],[-.WWW.Library.Implementation],[.chrtrans]'extra_incs') $ v1 = f$verify(v0) $ ELSE $ IF option .eqs. "UCX" $ THEN $ optfile = "UCXSHR" $ IF mucx THEN optfile = "MULTINET_UCX" $ ENDIF $ if option .eqs. "TCPIP" then optfile = "TCPIPOLB" $ if option .eqs. "TCPWARE" then optfile = "TCPWAREOLB" $ IF f$search("gnu_cc:[000000]gcclib.olb") .nes. "" $ THEN $ compiler := "GNUC" $ v1 = f$verify(1) $! GNUC: $ cc := gcc'cc_opts' - /DEFINE=(ACCESS_AUTH,'option''extra_defs')- /INCLUDE=([],[-],[-.WWW.Library.Implementation],[.chrtrans]'extra_incs') $ v1 = f$verify(v0) $ ELSE $ compiler := "VAXC" $ v1 = f$verify(1) $! VAXC: $ cc := cc'cc_opts' - /DEFINE=(ACCESS_AUTH,'option''extra_defs')- /INCLUDE=([],[-],[-.WWW.Library.Implementation],[.chrtrans]'extra_incs') $ v1 = f$verify(v0) $ ENDIF $ ENDIF $ v1 = f$verify(1) $! $ cc DefaultStyle $ cc GridText $ cc HTAlert $ cc HTFWriter $ cc HTInit $ cc HTML $ cc LYBookmark $ cc LYCgi $ cc LYCharSets $ cc LYCharUtils $ cc LYClean $ cc LYCookie $ cc/nooptimize LYCurses $ cc LYDownload $ cc LYEdit $ cc LYEditmap $ cc LYexit $ cc LYForms $ cc LYGetFile $ cc LYHistory $ cc LYJump $ cc LYKeymap $ cc LYLeaks $ cc LYList $ cc LYMail $ cc LYMain $ cc LYMainLoop $ cc LYMap $ cc LYMktime $ cc LYNews $ cc LYOptions $ cc LYPrint $ cc LYrcFile $ cc LYReadCFG $ cc LYSearch $ cc LYSession $ cc LYShowInfo $ cc LYStrings $ cc LYTraversal $ cc LYUpload $ cc LYUtils $ cc PARSDATE $ cc TRSTable $ cc UCAuto $ cc UCAux $ cc UCdomap $! $! Link the objects and libaries. $! $ IF f$getsyi("ARCH_NAME") .eqs. "IA64" $ THEN $ optslibs="''extra_libs'" $ ELSE $ optslibs=", sys$disk:[]''optfile'.opt/opt, sys$disk:[]''compiler'.opt/opt ''extra_libs'" $ ENDIF $! $ link/exe=lynx.exe/map=lynx 'link_opts' - DefaultStyle.obj, - GridText.obj, - HTAlert.obj, - HTFWriter.obj, - HTInit.obj, - HTML.obj, - LYBookmark.obj, - LYCgi.obj, - LYCharSets.obj, - LYCharUtils.obj, - LYClean.obj, - LYCookie.obj, - LYCurses.obj, - LYDownload.obj, - LYEdit.obj, - LYEditmap.obj, - LYexit.obj, - LYForms.obj, - LYGetFile.obj, - LYHistory.obj, - LYJump.obj, - LYKeymap.obj, - LYLeaks.obj, - LYList.obj, - LYMail.obj, - LYMain.obj, - LYMainLoop.obj, - LYMap.obj, - LYMktime.obj, - LYNews.obj, - LYOptions.obj, - LYPrint.obj, - LYrcFile.obj, - LYReadCFG.obj, - LYSearch.obj, - LYSession.obj, - LYShowInfo.obj, - LYStrings.obj, - LYTraversal.obj, - LYUpload.obj, - LYUtils.obj, - Parsdate.obj, - TRSTable.obj, - UCAuto.obj, - UCAux.obj, - UCdomap.obj, - [-.WWW.Library.Implementation]WWWLib_'option'.olb/library 'optslibs $! $! Copy the executable to the top directory and restore the default. $! $ copy lynx.exe [-] $ set def [-] $! $ v1 = f$verify(v0) $! $! Issue message on how to include LYNX.HLP in the system HELP library $! $ write sys$output "" $ write sys$output " To install or update lynx.hlp in the system HELP library," $ write sys$output " use:" $ write sys$output " library/replace sys$help:helplib.hlb lynx.hlp" $ write sys$output "" $! $ CLEANUP: $ v1 = f$verify(v0) $ set default 'where' $ write sys$output "Default directory:" $ show default $ v1 = f$verify(v) $ exit