about summary refs log tree commit diff stats
path: root/src/profanity.c
Commit message (Expand)AuthorAgeFilesLines
* db: Have one database per accountMichael Vetter2020-04-061-3/+0
* Start SQLite db moduleMichael Vetter2020-04-061-0/+3
* Add -t theme optionMichael Vetter2020-03-241-7/+16
* Allow setting custom log file via -f FILENAMEMichael Vetter2020-02-211-5/+5
* Update my Copyright to 2020Michael Vetter2020-01-031-1/+1
* Add vim modelineMichael Vetter2019-11-131-0/+1
* Possibility to specify alternative config fileMichael Vetter2019-08-021-5/+5
* Add omemo_close functionMichael Vetter2019-07-041-0/+3
* Add myself to copyrightMichael Vetter2019-06-171-0/+1
* Move OMEMO initialization to profanity intializationPaul Fariello2019-04-101-0/+7
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
* Update copyrightJames Booth2018-01-211-1/+1
* Update CopyrightJames Booth2017-01-281-1/+1
* Allow vertical positioning of all windowsJames Booth2016-09-231-0/+1
* Rename /titlebar -> /wintitleJames Booth2016-09-221-2/+2
* Add config/files.cJames Booth2016-07-241-45/+2
* Move autoaway checkJames Booth2016-07-241-139/+3
* Tidy headersJames Booth2016-07-241-13/+17
* Moved window_list.cJames Booth2016-07-241-1/+1
* Moved tray.cJames Booth2016-07-241-1/+1
* Moved roster_list.cJames Booth2016-07-241-1/+1
* Moved resource.cJames Booth2016-07-241-1/+1
* Moved muc.cJames Booth2016-07-241-1/+1
* Moved contact.cJames Booth2016-07-241-1/+1
* Moved chat_state.cJames Booth2016-07-241-1/+1
* Moved chat_session.cJames Booth2016-07-241-1/+1
* Move event timeout to connection moduleJames Booth2016-07-241-1/+1
* Moved chat state handling code to chat_state.cJames Booth2016-07-241-35/+0
* Update GPL link in headersJames Booth2016-07-241-1/+1
* Plugin unload remove cmd_acs and close windowJames Booth2016-07-051-2/+2
* Rename command sourcesJames Booth2016-05-221-1/+1
* Rename jabber_ functionsJames Booth2016-05-061-4/+4
* Add session.cJames Booth2016-05-051-4/+4
* Implement XEP-0363: HTTP File UploadDominik Heidler2016-04-261-0/+5
* Load/destroy tray icons on init/shutdownJames Booth2016-04-181-1/+1
* Moved gtk specific code to tray.cJames Booth2016-04-181-20/+3
* Grouped tray icon initialisation codeJames Booth2016-04-171-11/+9
* Make tray icon configurable using /tray cmdDominik Heidler2016-04-161-2/+2
* Merge remote-tracking branch 'Dav1d23/master'James Booth2016-04-111-1/+37
|\
| * Re-introduce gtk_use booleanDavid2016-04-101-9/+20
| * libgtk is now optionalDavid2016-03-301-15/+17
| * This case was clearly not tested locally, so many failures here.David2016-03-131-1/+3
| * fix no gtk initDavid2016-03-131-5/+12
| * Merge branch 'tray_icon' into HEADDavid2016-03-121-0/+12
| |\
| | * Use a folder to add iconsDavid2016-03-071-0/+6
| | * Introduce Tray Icon for ProfanityDavid2016-03-061-0/+6
* | | Removed #AX_PREFIX_CONFIG_HJames Booth2016-03-311-14/+14
|/ /
* | Merge branch 'master' into plugins-cJames Booth2016-02-141-1/+1
|\|
| * Updated copyrightJames Booth2016-02-141-1/+1
* | Added C plugin code from plugins branchJames Booth2016-02-141-14/+27
|/
>^
058145e ^
63e3ba6 ^
058145e ^
74f8cd1
b40ad26 ^
74f8cd1










74f8cd1


















74f8cd1
















a0c66db ^
74f8cd1







88404d4 ^
1f620a2 ^

74f8cd1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173









                                                                               
                                                           
         

              
                                  






                                                                               
                                    
                                          



                                                                           
                                
                                        
                                                           
                                   
 
              

             

                                  










                            
                                   

                    
                                                                                             
                                                                                                                            
 
      
                              

                                  





















                                           
        

                                
                                              
 
      
                                                        

                                  
                                                                  

       
                                                        

                                   
                                                                                         
 

                                                        
                                
                             
                                             


                                                        
                                
                             
                                            
 
                                                                             
                                                       










                                                                          


















                                                                           
















                                                                          
                                                        







                                                                          
                      

                                                          

                   
# makefile for building Lua
# see ../INSTALL for installation instructions
# see ../Makefile and luaconf.h for further customization

# == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================

# Your platform. See PLATS for possible values.
PLAT= none

CC= gcc
CFLAGS= -g -O2 -std=c99 -Wall $(MYCFLAGS) -D_DEFAULT_SOURCE
AR= ar rc
RANLIB= ranlib
RM= rm -f
LIBS= -lm $(MYLIBS) -lssl -lcrypto

MYCFLAGS=
MYLDFLAGS=
MYLIBS=

# == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE =========

# Keep this sync'd with src/Makefile
PLATS= freebsd linux macosx netbsd openbsd

LUA_A=	liblua.a
CORE_O=	lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
	lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o  \
	lundump.o lvm.o lzio.o \
	realpath.o kilo.o tlv.o teliva.o
LIB_O=	lauxlib.o lbaselib.o liolib.o lmathlib.o loslib.o \
	ltablib.o lstrlib.o linit.o

LUA_T=	teliva
LUA_O=	lua.o

ALL_O= $(CORE_O) $(LIB_O) $(LUA_O)
ALL_T= $(LUA_A) $(LUA_T)
ALL_A= $(LUA_A)

default: $(PLAT)

all:	$(ALL_T)

o:	$(ALL_O)

a:	$(ALL_A)

$(LUA_A): $(CORE_O) $(LIB_O)
	$(AR) $@ $(CORE_O) $(LIB_O)
	$(RANLIB) $@

$(LUA_T): $(LUA_O) $(LUA_A) lcurses/curses.o luasocket/socket.a luasocket/mime.a luasec/ssl.a
	$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) lcurses/curses.o luasocket/socket.a luasocket/mime.a luasec/ssl.a $(LIBS)

clean:
	$(RM) lcurses/curses.o
	$(MAKE) -C luasocket clean
	$(MAKE) -C luasec clean
	$(RM) $(ALL_T) $(ALL_O)

depend:
	@$(CC) $(CFLAGS) -MM l*.c print.c

echo:
	@echo "PLAT = $(PLAT)"
	@echo "CC = $(CC)"
	@echo "CFLAGS = $(CFLAGS)"
	@echo "AR = $(AR)"
	@echo "RANLIB = $(RANLIB)"
	@echo "RM = $(RM)"
	@echo "MYCFLAGS = $(MYCFLAGS)"
	@echo "MYLDFLAGS = $(MYLDFLAGS)"
	@echo "MYLIBS = $(MYLIBS)"

# convenience targets for popular platforms

none:
	@echo "Please choose a platform:"
	@echo "   $(PLATS)"

freebsd:
	$(MAKE) -C luasocket bsd
	$(MAKE) -C luasec bsd
	$(MAKE) all MYLIBS="-Wl,-E -lncursesw"

linux:
	$(MAKE) -C lcurses CC="$(CC)" CFLAGS="$(CFLAGS)"
	$(MAKE) -C luasocket linux
	$(MAKE) -C luasec linux
	$(MAKE) all MYCFLAGS=-Wpedantic MYLIBS="-Wl,-E -lncursesw"

macosx:
	$(MAKE) -C lcurses CC="$(CC)" CFLAGS="$(CFLAGS)"
	$(MAKE) -C luasocket macosx
	$(MAKE) -C luasec macosx
	$(MAKE) all MYCFLAGS=-Wpedantic MYLIBS="-L/usr/local/opt/openssl@3/lib -lncurses"

openbsd:
	$(MAKE) -C lcurses CC="$(CC)" CFLAGS="$(CFLAGS)"
	$(MAKE) -C luasocket bsd
	$(MAKE) -C luasec bsd
	$(MAKE) all MYLIBS="-Wl,-E -lncurses"

netbsd:
	$(MAKE) -C lcurses CC="$(CC)" CFLAGS="$(CFLAGS)"
	$(MAKE) -C luasocket bsd
	$(MAKE) -C luasec bsd
	$(MAKE) all MYLIBS="-Wl,-E -lcurses"

# list targets that do not create files (but not all makes understand .PHONY)
.PHONY: all $(PLATS) default o a clean depend echo none

# DO NOT DELETE

lapi.o: lapi.c lua.h luaconf.h lapi.h lobject.h llimits.h ldebug.h \
  lstate.h ltm.h lzio.h lmem.h ldo.h lfunc.h lgc.h lstring.h ltable.h \
  lundump.h lvm.h
lauxlib.o: lauxlib.c lua.h luaconf.h lauxlib.h
lbaselib.o: lbaselib.c lua.h luaconf.h lauxlib.h lualib.h
lcode.o: lcode.c lua.h luaconf.h lcode.h llex.h lobject.h llimits.h \
  lzio.h lmem.h lopcodes.h lparser.h ldebug.h lstate.h ltm.h ldo.h lgc.h \
  ltable.h
ldebug.o: ldebug.c lua.h luaconf.h lapi.h lobject.h llimits.h lcode.h \
  llex.h lzio.h lmem.h lopcodes.h lparser.h ldebug.h lstate.h ltm.h ldo.h \
  lfunc.h lstring.h lgc.h ltable.h lvm.h
ldo.o: ldo.c lua.h luaconf.h ldebug.h lstate.h lobject.h llimits.h ltm.h \
  lzio.h lmem.h ldo.h lfunc.h lgc.h lopcodes.h lparser.h lstring.h \
  ltable.h lundump.h lvm.h
ldump.o: ldump.c lua.h luaconf.h lobject.h llimits.h lstate.h ltm.h \
  lzio.h lmem.h lundump.h
lfunc.o: lfunc.c lua.h luaconf.h lfunc.h lobject.h llimits.h lgc.h lmem.h \
  lstate.h ltm.h lzio.h
lgc.o: lgc.c lua.h luaconf.h ldebug.h lstate.h lobject.h llimits.h ltm.h \
  lzio.h lmem.h ldo.h lfunc.h lgc.h lstring.h ltable.h
linit.o: linit.c lua.h luaconf.h lualib.h lauxlib.h
liolib.o: liolib.c lua.h luaconf.h lauxlib.h lualib.h
llex.o: llex.c lua.h luaconf.h ldo.h lobject.h llimits.h lstate.h ltm.h \
  lzio.h lmem.h llex.h lparser.h lstring.h lgc.h ltable.h
lmathlib.o: lmathlib.c lua.h luaconf.h lauxlib.h lualib.h
lmem.o: lmem.c lua.h luaconf.h ldebug.h lstate.h lobject.h llimits.h \
  ltm.h lzio.h lmem.h ldo.h
lobject.o: lobject.c lua.h luaconf.h ldo.h lobject.h llimits.h lstate.h \
  ltm.h lzio.h lmem.h lstring.h lgc.h lvm.h
lopcodes.o: lopcodes.c lopcodes.h llimits.h lua.h luaconf.h
loslib.o: loslib.c lua.h luaconf.h lauxlib.h lualib.h
lparser.o: lparser.c lua.h luaconf.h lcode.h llex.h lobject.h llimits.h \
  lzio.h lmem.h lopcodes.h lparser.h ldebug.h lstate.h ltm.h ldo.h \
  lfunc.h lstring.h lgc.h ltable.h
lstate.o: lstate.c lua.h luaconf.h ldebug.h lstate.h lobject.h llimits.h \
  ltm.h lzio.h lmem.h ldo.h lfunc.h lgc.h llex.h lstring.h ltable.h
lstring.o: lstring.c lua.h luaconf.h lmem.h llimits.h lobject.h lstate.h \
  ltm.h lzio.h lstring.h lgc.h
lstrlib.o: lstrlib.c lua.h luaconf.h lauxlib.h lualib.h
ltable.o: ltable.c lua.h luaconf.h ldebug.h lstate.h lobject.h llimits.h \
  ltm.h lzio.h lmem.h ldo.h lgc.h ltable.h
ltablib.o: ltablib.c lua.h luaconf.h lauxlib.h lualib.h
ltm.o: ltm.c lua.h luaconf.h lobject.h llimits.h lstate.h ltm.h lzio.h \
  lmem.h lstring.h lgc.h ltable.h
lua.o: lua.c lua.h luaconf.h lauxlib.h lualib.h teliva.h
lundump.o: lundump.c lua.h luaconf.h ldebug.h lstate.h lobject.h \
  llimits.h ltm.h lzio.h lmem.h ldo.h lfunc.h lstring.h lgc.h lundump.h
lvm.o: lvm.c lua.h luaconf.h ldebug.h lstate.h lobject.h llimits.h ltm.h \
  lzio.h lmem.h ldo.h lfunc.h lgc.h lopcodes.h lstring.h ltable.h lvm.h
lzio.o: lzio.c lua.h luaconf.h llimits.h lmem.h lstate.h lobject.h ltm.h \
  lzio.h
print.o: print.c ldebug.h lstate.h lua.h luaconf.h lobject.h llimits.h \
  ltm.h lzio.h lmem.h lopcodes.h lundump.h
realpath.o: realpath.c
kilo.o: kilo.c lua.h teliva.h
teliva.o: teliva.c lua.h lauxlib.h lualib.h teliva.h tlv.h

# (end of Makefile)