about summary refs log tree commit diff stats
path: root/src/profanity.h
Commit message (Collapse)AuthorAgeFilesLines
* Updated copyrightJames Booth2015-02-101-1/+1
|
* Added license exemption for OpenSSL to source headersJames Booth2014-08-241-0/+12
|
* Updated copyrightJames Booth2014-03-091-1/+1
|
* Implemented basic running of alias commandsJames Booth2014-01-231-0/+2
|
* Refactored roster add/updateJames Booth2014-01-051-1/+0
|
* Removed prof_handle group functionsJames Booth2014-01-051-2/+0
|
* Removed unused function prototypeJames Booth2014-01-051-1/+0
|
* Removed unused function prototypeJames Booth2014-01-051-1/+0
|
* Removed prof_handle_disconnectJames Booth2014-01-051-1/+0
|
* Removed unused function prototypeJames Booth2014-01-051-1/+0
|
* Moved roster handlers to server_eventsJames Booth2014-01-051-3/+0
|
* Moved presence handlers to server_eventsJames Booth2014-01-051-18/+0
|
* Moved messages handlers to server_eventsJames Booth2014-01-051-17/+0
|
* Moved handle_room_list and handle_disco_items to server_eventsJames Booth2014-01-051-2/+0
|
* Moved handle_disco_info to server_eventsJames Booth2014-01-051-2/+0
|
* Moved handle_software_version_result to server_eventsJames Booth2014-01-051-3/+0
|
* Moved handle_lost_connection and handle_failed_login to server_eventsJames Booth2014-01-051-4/+0
|
* Connect to an account on start-upTomás Senart2013-10-141-1/+1
| | | | | | | | This commit enables connecting to an account on startup which enables the use case of having different pre-configured scripts which start different profanity processes for different accounts. This only makes sense in the light of not supporting many accounts connected per process.
* Show messages on /group add and /group removeJames Booth2013-06-231-0/+2
| | | | | closes #189 closes #190
* Show message when removing contact from group when not in groupJames Booth2013-06-231-1/+2
|
* Show message when contact already in groupJames Booth2013-06-231-0/+1
|
* Added message in console on /roster removeJames Booth2013-06-021-0/+1
|
* Added message in console on /roster addJames Booth2013-06-021-0/+1
|
* Added /duck command to perform searches using duckduckgo chat botJames Booth2013-05-051-0/+2
|
* Show message in console when receiving chat room invitesJames Booth2013-03-241-0/+3
|
* Implemented output for /disco infoJames Booth2013-03-141-0/+2
|
* Added output for /disco itemsJames Booth2013-03-141-0/+1
|
* Added basic /rooms command to get chat room listJames Booth2013-03-131-0/+1
|
* Colour title on /caps and /software outputJames Booth2013-02-171-1/+2
|
* Added autocomplete for /software commandJames Booth2013-02-171-0/+2
|
* Simple default resource hanlding on presenceJames Booth2013-02-141-2/+3
|
* Added xmpp subdir to sourceJames Booth2013-02-021-1/+1
|
* Renamed jabber.h -> xmpp.hJames Booth2013-01-281-1/+1
|
* Added client to /info command in chat roomsJames Booth2013-01-201-2/+3
|
* Added retrieval of caps string from presenceJames Booth2013-01-191-1/+1
|
* Updated copyrightJames Booth2013-01-111-1/+1
|
* Handle logins using accountsJames Booth2012-12-091-0/+1
|
* Handle idle time from contactsJames Booth2012-12-091-1/+2
|
* Added server property to accountsJames Booth2012-12-071-1/+1
|
* Handling commands after /disconnectJames Booth2012-11-191-0/+2
|
* Moved disconnect code to profanity moduleJames Booth2012-11-191-0/+1
|
* Handle room broadcastsJames Booth2012-11-191-0/+2
|
* Handle room member presenceJames Booth2012-11-191-0/+3
|
* Show message when own nickname changed in chat roomsJames Booth2012-11-181-0/+2
|
* Handle nick changes from other usersJames Booth2012-11-181-0/+2
|
* Set correct window type on private messagesJames Booth2012-11-141-2/+3
|int bx, by, bw, bh, bmw; /* bar geometry, bar mode label width */ extern int master, screen, sx, sy, sw, sh; /* screen geometry, master dimension*/ extern unsigned int ntags, numlockmask; /* number of tags, dynamic lock mask */ extern void (*handler[LASTEvent])(XEvent *); /* event handler */ extern void (*arrange)(Arg *); /* arrange function, indicates mode */ extern Atom wmatom[WMLast], netatom[NetLast]; extern Bool running, issel, *seltag; /* seltag is array of Bool */ extern Bool isvertical; /* stack direction */ extern Client *clients, *sel, *stack; /* global client list and stack */ extern Cursor cursor[CurLast]; extern DC dc; /* global draw context */ extern Display *dpy; extern StackPos stackpos; extern Window root, barwin; /* client.c */ extern void ban(Client *c); /* ban c from screen */ extern void configure(Client *c); /* send synthetic configure event */ extern void focus(Client *c); /* focus c, c may be NULL */ extern Client *getclient(Window w); /* return client of w */ extern Client *getctitle(Window w); /* return client of title window */ extern void gravitate(Client *c, Bool invert); /* gravitate c */ extern void killclient(Arg *arg); /* kill c nicely */ extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ extern void resize(Client *c, Bool sizehints, Corner sticky); /* resize c*/ extern void resizetitle(Client *c); /* resizes c->twin correctly */ extern void updatesize(Client *c); /* update the size structs of c */ extern void updatetitle(Client *c); /* update the name of c */ extern void unmanage(Client *c); /* destroy c */ /* draw.c */ extern void drawall(void); /* draw all visible client titles and the bar */ extern void drawstatus(void); /* draw the bar */ extern void drawtitle(Client *c); /* draw title of c */ extern unsigned long getcolor(const char *colstr); /* return color of colstr */ extern void setfont(const char *fontstr); /* set the font for DC */ extern unsigned int textw(const char *text); /* return the width of text in px*/ /* event.c */ extern void grabkeys(void); /* grab all keys defined in config.h */ extern void procevent(void); /* process pending X events */ /* main.c */ extern int getproto(Window w); /* return protocol mask of WMProtocols property of w */ extern void quit(Arg *arg); /* quit dwm nicely */ extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ /* tag.c */ extern void initrregs(void); /* initialize regexps of rules defined in config.h */ extern Client *getnext(Client *c); /* returns next visible client */ extern Client *getprev(Client *c); /* returns previous visible client */ extern void settags(Client *c, Client *trans); /* sets tags of c */ extern void tag(Arg *arg); /* tags c with arg's index */ extern void toggletag(Arg *arg); /* toggles c tags with arg's index */ /* util.c */ extern void *emallocz(unsigned int size); /* allocates zero-initialized memory, exits on error */ extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ extern void *erealloc(void *ptr, unsigned int size); /* reallocates memory, exits on error */ extern void spawn(Arg *arg); /* forks a new subprocess with to arg's cmd */ /* view.c */ extern void detach(Client *c); /* detaches c from global client list */ extern void dofloat(Arg *arg); /* arranges all windows floating, arg is ignored */ extern void dotile(Arg *arg); /* arranges all windows, arg is ignored */ extern void focusnext(Arg *arg); /* focuses next visible client, arg is ignored */ extern void focusprev(Arg *arg); /* focuses previous visible client, arg is ignored */ extern Bool isvisible(Client *c); /* returns True if client is visible */ extern void resizecol(Arg *arg); /* resizes the master dimension with arg's index value */ extern void restack(void); /* restores z layers of all clients */ extern void togglestackdir(Arg *arg); /* toggles stack direction */ extern void togglestackpos(Arg *arg); /* toggles stack position */ extern void togglemode(Arg *arg); /* toggles global arrange function (dotile/dofloat) */ extern void toggleview(Arg *arg); /* toggles the tag with arg's index (in)visible */ extern void updatemaster(void); /* updates master dimension */ extern void view(Arg *arg); /* views the tag with arg's index */ extern void viewall(Arg *arg); /* views all tags, arg is ignored */ extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */