Skip to content

Commit 1934497

Browse files
committed
intial checkin
1 parent 3bf4e89 commit 1934497

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+19099
-0
lines changed

Vision/Makefile

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
################################################
2+
#
3+
# Vision
4+
#
5+
# This makefile is free software; you can redistribute it and/or
6+
# modify it under the terms of the enclosed JBQ code license.
7+
# See data/LICENSE.Makefile
8+
#
9+
# This makefile is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
# License for more details.
13+
#
14+
#
15+
################################################
16+
17+
# the file name, ...
18+
19+
BINARY := Vision
20+
VTOP := 0.1
21+
VDATE := $(shell date +%Y%m%d)
22+
VERSION := $(VTOP)-$(VDATE)
23+
LIBS := -lbe -lnet -lnetapi -ltextencoding -ltranslation -ltracker
24+
25+
################################################
26+
27+
# output directories
28+
29+
OBJDIR := obj
30+
DEPDIR := dep
31+
SRCDIR := src
32+
DATADIR := data
33+
34+
# compiler, linker, ...
35+
36+
CC := g++ -c -pipe -g3
37+
CFLAGS :=
38+
CFLAGS += -O3
39+
CFLAGS += -fno-pic
40+
CFLAGS += -ffast-math
41+
CFLAGS += -Wall -W -Wno-multichar -Wshadow -Wpointer-arith
42+
CFLAGS += -Wwrite-strings -Woverloaded-virtual
43+
CFLAGS += -Wconversion -Wpointer-arith
44+
CFLAGS += -Wcast-qual
45+
CFLAGS += -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
46+
#CFLAGS += -Werror
47+
48+
LD := g++
49+
LDFLAGS := $(LIBS)
50+
51+
DEP := g++ -MM
52+
53+
ZIP := zip -r -9 -y
54+
55+
################################################
56+
57+
# the engine
58+
59+
MAKEFILE := Makefile
60+
61+
FULLNAME := $(subst \ ,_,$(BINARY))-$(VERSION)
62+
63+
DATA := $(shell find $(DATADIR) -type f)
64+
65+
EXTRADATA:= $(wildcard data.zip)
66+
67+
BASESOURCES := $(shell cd $(SRCDIR) && ls -1 *.cpp)
68+
SOURCES := $(addprefix $(SRCDIR)/,$(BASESOURCES))
69+
OBJECTS := $(addprefix $(OBJDIR)/,$(addsuffix .o,$(basename $(BASESOURCES))))
70+
DEPENDS := $(addprefix $(DEPDIR)/,$(addsuffix .d,$(basename $(BASESOURCES))))
71+
72+
BASEHEADERS := $(shell cd $(SRCDIR) && ls -1 *.h)
73+
HEADERS := $(addprefix $(SRCDIR)/,$(BASEHEADERS))
74+
75+
.PHONY : default release clean binarchive sourcearchive all
76+
77+
.DELETE_ON_ERROR : $(BINARY)
78+
79+
default : $(BINARY)
80+
81+
clean :
82+
@echo cleaning
83+
@rm -rf $(BINARY) $(OBJDIR) $(DEPDIR) $(filter-out data.zip,$(wildcard *.zip)) *.zip~
84+
85+
all : sourcearchive binarchive
86+
87+
sourcearchive : $(FULLNAME)-src.zip
88+
89+
binarchive : $(FULLNAME).zip
90+
91+
$(BINARY) : $(OBJECTS)
92+
@echo linking $@
93+
@$(LD) $(LDFLAGS) $(OBJECTS) -o $@
94+
@echo merging resources
95+
@echo resource\(\'CSTR\', 100, \"VERSION\"\) { \"$(VERSION)\" } >version.r
96+
@mwbres -merge -o $(SRCDIR)/Vision.rsrc version.r
97+
@rm -f version.r
98+
@xres -o $@ $(SRCDIR)/Vision.rsrc
99+
@mimeset -f $@
100+
101+
$(OBJDIR)/%.o : $(SRCDIR)/%.cpp
102+
@echo compiling $@
103+
@mkdir -p $(OBJDIR)
104+
@$(CC) $< $(CFLAGS) $(CFLAGS.default) -o $@
105+
106+
$(DEPDIR)/%.d : $(SRCDIR)/%.cpp
107+
@echo generating dependencies for $<
108+
@mkdir -p $(DEPDIR)
109+
@$(DEP) $< > $@
110+
@echo -e yf.i$(OBJDIR)/\\033t:a$(DEPDIR)/\\033pad \\033f:a $(MAKEFILE)\\033ZZ | vi $@ >/dev/null 2>/dev/null
111+
112+
$(FULLNAME).zip : $(BINARY) $(DATA) $(EXTRADATA) $(MAKEFILE)
113+
@rm -rf $@~
114+
@mkdir -p $@~/$(FULLNAME)/
115+
@copyattr -d -r $(BINARY) $(DATADIR)/* $@~/$(FULLNAME)/
116+
ifneq "$(EXTRADATA)" ""
117+
@unzip $(EXTRADATA) -d $@~/$(FULLNAME)/
118+
endif
119+
@find $@~ -type f | xargs mimeset
120+
@rm -rf $@~/$(FULLNAME)/CVS $@~/$(FULLNAME)/protocol/CVS $@~/$(FULLNAME)/help/CVS $@~/$(FULLNAME)/scripts/CVS
121+
@rm -rf $@~/$(FULLNAME)/CVS $@~/$(FULLNAME)/help/content/CVS $@~/$(FULLNAME)/help/images/CVS
122+
@cd $@~ && $(ZIP) $@ $(FULLNAME)
123+
@mv -f $@~/$@ .
124+
@rm -rf $@~
125+
126+
$(FULLNAME)-src.zip : $(SOURCES) $(HEADERS) $(DATA) $(EXTRADATA) $(MAKEFILE)
127+
@rm -rf $@~
128+
@mkdir -p $@~/$(FULLNAME)-src/
129+
@copyattr -d -r $(SRCDIR) $(DATADIR) $(MAKEFILE) $@~/$(FULLNAME)-src/
130+
ifneq "$(EXTRADATA)" ""
131+
@copyattr -d -r $(EXTRADATA) $@~/$(FULLNAME)-src/
132+
endif
133+
@find $@~ -type f | xargs mimeset
134+
@rm -rf $@~/$(FULLNAME)-src/src/CVS $@~/$(FULLNAME)-src/data/CVS
135+
@rm -rf $@~/$(FULLNAME)-src/CVS $@~/$(FULLNAME)-src/data/protocol/CVS $@~/$(FULLNAME)-src/data/help/CVS $@~/$(FULLNAME)-src/data/scripts/CVS
136+
@rm -rf $@~/$(FULLNAME)-src/CVS $@~/$(FULLNAME)-src/data/help/content/CVS $@~/$(FULLNAME)-src/data/help/images/CVS
137+
@cd $@~ && $(ZIP) $@ $(FULLNAME)-src
138+
@mv -f $@~/$@ .
139+
@rm -rf $@~
140+
141+
ifneq ($(MAKECMDGOALS),clean)
142+
ifneq ($(MAKECMDGOALS),depend)
143+
ifneq ($(MAKECMDGOALS),sourcearchive)
144+
include $(DEPENDS)
145+
endif
146+
endif
147+
endif

Vision/data/CHANGES

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
Bowser 1.1
2+
http://bowser.sourceforge.net
3+
4+
[1.1]
5+
* Fixed issue with using fonts larger than the default for the input box.
6+
* New internal /command parsing system. Bowser is now smaller and uses less ram!
7+
* Unknown /commands are passed to the server
8+
* Removed some speed optimizations
9+
* Fixed thread race issues with Deskbar Notification and connecting to several
10+
servers at once.
11+
* Fixed a couple of Deskbar-related crashers.
12+
* You can now select more than one nickname from the nicklist and perform
13+
actions on them.
14+
* Typing /clear removes all but the last few lines (you don't have to worry
15+
about missing something that someone says right as you hit enter). If you
16+
type /clear again while there are only a few lines, then it will clear the
17+
window entirely.
18+
* /fclear will remove all data the first time.
19+
* The server window's apparance is now updated in real-time like the other
20+
windows (fonts, colors, etc).
21+
* Automatically reconnects when disconnected (25 retries, 2 second delays)
22+
* Message windows not explicity created by the user will not take focus
23+
of the keyboard
24+
* Fixed issue with chaning font/background colors in Message Windows
25+
26+
27+
[1.0]
28+
* New DCC system
29+
- Multi-tiered transfer window, ala Tracker
30+
- DCC Resume support
31+
* Fixed crashing bug which happened on some server notices.
32+
* Tab completion now works in Query and DCC Chat windows
33+
* Fixed issue where Bowser wouldn't auto rejoin if the channel key
34+
was "-9z99"
35+
* Cmd+W on the Server window now does a clean Quit
36+
* /m command added. Used in server window it acts like /mode yournick <parms>,
37+
used in a channel it acts like /mode #channel <parms>
38+
* Modified Idle/SignOn time parsing for /whois
39+
* "/uptime -l" switch echos the uptime locally instead of sending to server
40+
* Channel topic is now shown in SatusView
41+
* StatusView items now autosize to their contents.
42+
* Added Lag Meter to StatusView
43+
* Displayed cps rate for DCC xfers is averaged better now... not as erratic.
44+
* Added /dns command
45+
* Tab completion cycles through matching nicknames.
46+
* Names list is sent to Server Window instead of Channel Window
47+
* Now shows time Channel Topic was set
48+
* Cmd+V (pasting) is handled by the Input Box's filter now... you have the option
49+
of sending multiple lines now.
50+
* Having nicks in your Notify list doesn't lag you to death now
51+
* Fixed the Add... menu entry in the Notify Window
52+
* Window Titlebars are updated with an astrick (*) if they contain new content
53+
* Added status messages to the connection process
54+
* Fixed weird issues with Color Preferences Panel
55+
* Handles server disconnects much better
56+
* Keyboard scrolling:
57+
- Cmd+Up_Arrow & Cmd+Down_Arrow move one line
58+
- Cmd+Page_Up & Cmd+Page_Down move one screen
59+
- Cmd+Home & Cmd+End move to the top or bottom
60+
* Logging support!
61+
- Separate folders for each server
62+
- mIRC compliant time/date stamping
63+
* The background color and font color for the input box is now configurable
64+
65+
66+
[d42b]
67+
* Source changes (new makefile, etc)
68+
* New optimizations
69+
* DCC Xfer window tweaked
70+
* New /sleep <deciseconds> command, useful for Connect Commands, pauses
71+
Bowser before continuing. (10 deciseconds = 1 second)
72+
eg (Connect Commands):
73+
/nickserv identify mypass
74+
/sleep 10
75+
/j #channel
76+
* Various prompts are now non-modal windows, and look a little better
77+
* Fixed "Add Nickname" prompt dimensions in Notify window
78+
* Fixed "Find" and "Filter" prompt dimensions in List window
79+
* Don't show processor info in CTCP Version reply should work all the time now.
80+
* Responds to CTCP Uptime requests, output configurable from Prefs
81+
* Added /uptime command, output configurable from Prefs
82+
* Fixed DCC send issues with transfers dieing
83+
* Cmd+P works in Setup Window now
84+
* Bowser now updates the mimetype of files after DCC Gets.
85+
* Fixed DCC get issues where the wrong sockets would get closed
86+
* Added sign on time information parsing to /whois
87+
* Channel modes are now timestamped
88+
* Nick changes are now timestamped
89+
* Can now choose point 15 fonts
90+
* Added compatablilty for some out of spec /me's from other clients
91+
* Fixed some oddities in the Color Preferences panel
92+
* Added options to Window Preferences to disable Cmd+W for Setup and Server
93+
windows
94+
* URL highlight & clicking is now case insensitive
95+
96+
97+
[d42a]
98+
* Improved DCC Send performance dramatically for users on fast pipes
99+
* Fixed DCC Send/Get crasher bug (would sometimes crash net_server on
100+
abort, eek.)
101+
102+
103+
[d42]
104+
* Support for new numerics: 105, 253, 328, 352, 412
105+
* Added /about command - opens About window
106+
* Added /preferences command - opens Preferences window
107+
* Added /visit command - /visit <url> loads URL in default text/html app.
108+
* Fixed redraw bug in Channel List Window (thanks AnEvilYak)
109+
* Fixed mouse over bug in Color preferences (thanks AnEvilYak)
110+
* Can now specify a file directly in /dcc send <nick> <file>
111+
* Fixed bug where there was no linefeed after the "You are not an IRC
112+
operator" warning
113+
* Added /nickserv command - alias to /msg nickserv
114+
* Added /chanserv command - alias to /msg chanserv
115+
* Added /memoserv command - alias to /msg memoserv
116+
* Added support for /userhost command
117+
* Improved scrolling logic during buffer clip (ooh, geeky!) (thanks AnEvilYak)
118+
119+
120+
[d41a]
121+
* New CTCP options in nick list menu
122+
* New about window
123+
* Fixed case where "Show topic in titlebar" option would get ignored
124+
* Connect Commands now work on servers that don't have an MOTD
125+
126+
127+
[d41]
128+
* Miscelanious source code improvements
129+
* Compiles under BeOS R5
130+
* Supports /whois numeric 307 (used by UltimateIRCd)
131+
* Option to not show the topic in the Titlebar
132+
(useful for shift+dragging the tabs of channel windows and giving
133+
yourself a psuedo-tab view)
134+
* If you get kicked the message is actually shown in the channel now
135+
* Option to automatically rejoin a channel if kicked
136+
137+
138+
139+
[d40]
140+
* "Notification" prefs panel renamed to "Deskbar Icon"
141+
* Original Deskbar icon has returned
142+
* Can specify alternate words for the Deskbar icon notification to flash for,
143+
aside from just your nickname (e.g: "mneptok" or "mnep")
144+
* New option to hide the setup window when a server connection is successful,
145+
and to show it again when you disconnect
146+
* Expanded IRCDd numeric support
147+
* New & updated commands:
148+
- /t alias for /topic
149+
- /deop alias for /dop
150+
- /q alias for /query
151+
- /wi has been changed to /whois
152+
- /w alias for /whois
153+
- /version - used by itself sends shows the server's version, used
154+
with a nickname sends a CTCP VERSION request to that nickname.
155+
- /motd command will pass parameters now
156+
- commands for IRC operators
157+
- /oper
158+
- /rehash
159+
- /stats
160+
- /admin
161+
- /info
162+
- /kill
163+
- /trace
164+
- /wallops
165+
- /raw command now echos the string to the display
166+
- /away sets yourself as away (you can specifify your own reason)
167+
- /back sets yourself as back
168+
- /notify adds specified nickname to the notify list
169+
- /unnotify removes specified nickname from the notify list
170+
* Zooming now works on client windows
171+
* Added support for local-server &channels
172+
* Preferences window can be accessed via Cmd+P
173+
* Channel name can be tab-completed
174+
* You can now drop non-text files onto the input box of a Query window and Bowser
175+
will kick off a DCC send
176+
* More things are timestamped now
177+
* Fixed bug with status bar's op count when a user got oped or deoped more than
178+
once.
179+
180+
[39b]
181+
* New deskbar icon
182+
* Servers can be configured to connect on startup
183+
* Connection to multiple servers at once should work
184+
* Input box now regains focus if you type while it doesn't have focus
185+
* Window switching crash bug fixed

Vision/data/FAQ

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Bowser
2+
FAQ and Known Issues
3+
4+
5+
[x] When I turn on the Deskbar Notifcation replicant, it covers the clock!
6+
[o] This is a bug in Deskbar. Download OpenTracker 5.1b19 or later from BeBits (not yet released at the time this was written) to fix this.
7+
8+
9+
more to come... ?

0 commit comments

Comments
 (0)