about summary refs log tree commit diff stats
path: root/themes
Commit message (Expand)AuthorAgeFilesLines
* Highlight room trigger termsJames Booth2016-02-1316-2/+18
* Added roommention.term theme optionJames Booth2016-02-1016-2/+18
* Added mention and trigger themes for consoleJames Booth2016-02-1016-0/+32
* Updated boothj5 themeJames Booth2016-02-101-1/+1
* Added /roster show|hide unsubscribedJames Booth2016-02-074-0/+4
* Implemented /console private settingJames Booth2016-02-034-0/+4
* Added console.chat preferenceJames Booth2016-02-034-0/+4
* Updated themesJames Booth2016-02-014-20/+23
* Allow splitting roster rooms by conference serverJames Booth2016-02-012-0/+2
* Added roster.rooms.private.char settingJames Booth2016-01-312-2/+3
* Updated themesJames Booth2016-01-283-0/+6
* Updated boothj5 themeJames Booth2016-01-261-5/+5
* Added themes for roster room mention and triggersJames Booth2016-01-2514-2/+30
* Updated boothj5 themeJames Booth2016-01-241-1/+1
* Updated boothj5 themeJames Booth2016-01-241-1/+1
* Updated themesJames Booth2016-01-2414-0/+14
* Added roomtrigger colour themeJames Booth2016-01-241-1/+2
* Updated themesJames Booth2016-01-242-2/+7
* Formatting of /theme properties command outputJames Booth2016-01-231-33/+33
* Added boothj5_slack themeJames Booth2016-01-221-0/+122
* Keep cache of default theme propertiesJames Booth2016-01-211-3/+3
* Tidied theme propertiesJames Booth2016-01-211-1/+1
* WIP: Add /theme properties commandJames Booth2016-01-212-1/+126
* Added /roster show|hide contactsJames Booth2016-01-203-0/+3
* Added /roster rooms position preferenceJames Booth2016-01-192-0/+2
* Added /roster unread preferrenceJames Booth2016-01-173-1/+4
* Added /roster room unread preferenceJames Booth2016-01-173-0/+3
* Updated boothj5 themeJames Booth2016-01-151-1/+1
* Added roster contact themesJames Booth2016-01-1414-0/+252
* Updated themesJames Booth2016-01-092-0/+2
* Added roster room themesJames Booth2016-01-0914-7/+35
* Added roster rooms preferenceJames Booth2016-01-023-0/+3
* boothj5 theme changesJames Booth2015-12-301-2/+2
* Added console muc message setting to themesJames Booth2015-12-303-0/+3
* Tidied roster commandsJames Booth2015-11-223-25/+26
* Removed whitespace from boothj5 themeJames Booth2015-11-221-15/+15
* Added /roster char resourceJames Booth2015-11-221-0/+1
* Updated themesJames Booth2015-11-223-0/+3
* Updated themesJames Booth2015-11-223-13/+21
* Added /roster char contactJames Booth2015-11-202-0/+2
* Added /roster char headerJames Booth2015-11-192-0/+2
* Changed roster defaults, updated themesJames Booth2015-11-193-6/+21
* Fix statusbar time in complex themeSteven Erenst2015-10-281-1/+1
* Updated themesJames Booth2015-10-143-0/+3
* Updated themesJames Booth2015-09-303-4/+19
* Added last activity time format optionJames Booth2015-09-291-0/+1
* Added otr and pgp char to themesJames Booth2015-08-261-0/+2
* Added roster.empty to themesJames Booth2015-08-203-0/+3
* Updated boothj5 themeJames Booth2015-07-011-3/+3
* Updated themes time display settingsJames Booth2015-07-016-9/+9
">file, int32 offset, int32 whence); typedef int32 (*FtruncateFunction)(File *file, int32 length); typedef int32 (*StatFunction)(FileSystemNode *node, struct stat *buf); typedef FileSystemDirent * (*ReadDirFunction)(FileSystemNode*,uint32); typedef FileSystemNode * (*FindDirFunction)(FileSystemNode*,char *name); typedef BOOL (*MkDirFunction)(FileSystemNode* node, const char *name, uint32 flags); typedef void* (*MmapFunction)(File* file, uint32 size, uint32 offset, uint32 flags); typedef BOOL (*MunmapFunction)(File* file, void* address, uint32 size); typedef BOOL (*MountFunction)(const char* sourcePath, const char* targetPath, uint32 flags, void *data); typedef struct FileSystem { char name[32]; MountFunction checkMount; MountFunction mount; } FileSystem; typedef struct FileSystemNode { char name[128]; uint32 mask; uint32 userId; uint32 groupId; uint32 nodeType; uint32 inode; uint32 length; ReadWriteBlockFunction readBlock; ReadWriteBlockFunction writeBlock; ReadWriteFunction read; ReadWriteFunction write; OpenFunction open; CloseFunction close; IoctlFunction ioctl; LseekFunction lseek; FtruncateFunction ftruncate; StatFunction stat; ReadDirFunction readdir; FindDirFunction finddir; MkDirFunction mkdir; MmapFunction mmap; MunmapFunction munmap; FileSystemNode *firstChild; FileSystemNode *nextSibling; FileSystemNode *parent; FileSystemNode *mountPoint;//only used in mounts FileSystemNode *mountSource;//only used in mounts void* privateNodeData; } FileSystemNode; typedef struct FileSystemDirent { char name[128]; FileType fileType; uint32 inode; } FileSystemDirent; //Per open typedef struct File { FileSystemNode* node; Process* process; Thread* thread; int32 fd; int32 offset; void* privateData; } File; struct stat { uint16/*dev_t */ st_dev; /* ID of device containing file */ uint16/*ino_t */ st_ino; /* inode number */ uint32/*mode_t */ st_mode; /* protection */ uint16/*nlink_t */ st_nlink; /* number of hard links */ uint16/*uid_t */ st_uid; /* user ID of owner */ uint16/*gid_t */ st_gid; /* group ID of owner */ uint16/*dev_t */ st_rdev; /* device ID (if special file) */ uint32/*off_t */ st_size; /* total size, in bytes */ uint32/*time_t */ st_atime; uint32/*long */ st_spare1; uint32/*time_t */ st_mtime; uint32/*long */ st_spare2; uint32/*time_t */ st_ctime; uint32/*long */ st_spare3; uint32/*blksize_t */ st_blksize; uint32/*blkcnt_t */ st_blocks; uint32/*long */ st_spare4[2]; }; uint32 read_fs(File* file, uint32 size, uint8* buffer); uint32 write_fs(File* file, uint32 size, uint8* buffer); File* open_fs(FileSystemNode* node, uint32 flags); File* open_fs_forProcess(Thread* thread, FileSystemNode* node, uint32 flags); void close_fs(File* file); int32 ioctl_fs(File* file, int32 request, void* argp); int32 lseek_fs(File* file, int32 offset, int32 whence); int32 ftruncate_fs(File* file, int32 length); int32 stat_fs(FileSystemNode *node, struct stat *buf); FileSystemDirent* readdir_fs(FileSystemNode* node, uint32 index); FileSystemNode* finddir_fs(FileSystemNode* node, char* name); BOOL mkdir_fs(FileSystemNode *node, const char* name, uint32 flags); void* mmap_fs(File* file, uint32 size, uint32 offset, uint32 flags); BOOL munmap_fs(File* file, void* address, uint32 size); int getFileSystemNodePath(FileSystemNode* node, char* buffer, uint32 bufferSize); BOOL resolvePath(const char* path, char* buffer, int bufferSize); void initializeVFS(); FileSystemNode* getFileSystemRootNode(); FileSystemNode* getFileSystemNode(const char* path); FileSystemNode* getFileSystemNodeAbsoluteOrRelative(const char* path, Process* process); void copyFileDescriptors(Process* fromProcess, Process* toProcess); BOOL registerFileSystem(FileSystem* fs); BOOL mountFileSystem(const char *source, const char *target, const char *fsType, uint32 flags, void *data); BOOL checkMountFileSystem(const char *source, const char *target, const char *fsType, uint32 flags, void *data); #endif