Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (2) move on_name_lost() callback to appropriate commend-bounded region | kremlin | 2014-07-29 | 3 | -27/+27 |
| | | | | minor, builds | ||||
* | (1) add <interface>.h and #include it in corresponding .c | kremlin | 2014-07-29 | 6 | -0/+6 |
| | | | | nessecary for compiler unambiguity. minor, builds | ||||
* | see full message -- safe signal/lifetime/glib code | kremlin | 2014-07-29 | 2 | -33/+78 |
| | | | | | | | | | | | | | | | | | | | this unusually dense commit is the product of me using hostnamed as a prototyping bed, you should instead follow the next numbered series of commits to proceed this one, as they are the same changes but made incrementally and gradually across the other three interfaces. added: * proper lifetime handling, everything coordinated in a gmainloop such that daemons don't clean their memory twice or trip over the last instance's unclosed file descriptors, etc. * threadsafe unix termination signal handling * more intuitive runtime, daemons immidietly either start up perfectly and print a verification or crash and print a reason/probable solution * some bugfixes detailed in further individual commits | ||||
* | minor, clarify what "misc functions" are in comments | kremlin | 2014-07-29 | 4 | -4/+4 |
| | |||||
* | minor, clarify "dbus signal" vs. "unix signal" in comments | kremlin | 2014-07-29 | 4 | -8/+8 |
| | |||||
* | include glib-unix.h in interface files | kremlin | 2014-07-29 | 4 | -0/+4 |
| | | | | | it's a good idea to use glib signal handling, most use cases will be running gnome | ||||
* | minor, add tmpfile to preserve now-empty bin dirs | kremlin | 2014-07-23 | 1 | -0/+1 |
| | |||||
* | update TODO | kremlin | 2014-07-23 | 1 | -0/+1 |
| | |||||
* | update TODO | kremlin | 2014-07-23 | 1 | -0/+2 |
| | |||||
* | minor, add genfiles to gitignore | kremlin | 2014-07-23 | 1 | -0/+1 |
| | |||||
* | update service files to run with root permissions | kremlin | 2014-07-23 | 4 | -1/+5 |
| | | | | | root is needed for gethostname(3), setlocale(3), setting system time, and handling login enviornments. | ||||
* | modify makefile and script to work with previous commit | kremlin | 2014-07-23 | 2 | -6/+14 |
| | | | | last commit created discrepencies in makefile and gen-gdbus-interfaces.sh, fix | ||||
* | organize configs in conf/ into new subdirectories | kremlin | 2014-07-23 | 12 | -0/+0 |
| | | | | | | introspection xml -> conf/introspect-xml/ service files -> conf/service-files/ dbus policies -> conf/sysbus-policy/ | ||||
* | remove genfiles from repo, instead generate in makefile | kremlin | 2014-07-23 | 9 | -21491/+13 |
| | | | | | | genfiles (-gen.{c,h}) should be generated at build time instead of being included in the repo. remove them & add relevant recipes/pre-reqs include genfiles in 'clean' recipe | ||||
* | refactor makefile with env variables | kremlin | 2014-07-23 | 1 | -29/+39 |
| | | | | per ajacoutot's reccomendation | ||||
* | edit TODO | kremlin | 2014-07-23 | 1 | -0/+1 |
| | |||||
* | update gitignore to include all binaries | kremlin | 2014-07-23 | 1 | -1/+2 |
| | | | | additionally get rid of unused -handler rule | ||||
* | get rid of objects in repository | kremlin | 2014-07-23 | 8 | -0/+0 |
| | | | | i thought i could make some cool looking diffs in gitweb or something :) | ||||
* | (minor) update binaries | kremlin | 2014-07-22 | 3 | -0/+0 |
| | |||||
* | copy and regex localed, timedated, and logind from hostnamed | kremlin | 2014-07-22 | 3 | -0/+347 |
| | | | | | they now start up and display the proper methods/functions on the system bus, albeit with no functionality | ||||
* | cut out cruft in dbus confs | kremlin | 2014-07-22 | 4 | -97/+4 |
| | |||||
* | add DBus service files, change Makefile to install them | kremlin | 2014-07-22 | 5 | -7/+17 |
| | |||||
* | (minor) update binaries | kremlin | 2014-07-22 | 4 | -0/+0 |
| | |||||
* | conf file will now be used to set intranslatable properties | kremlin | 2014-07-22 | 1 | -1/+0 |
| | |||||
* | update TODO | kremlin | 2014-07-22 | 1 | -2/+1 |
| | |||||
* | hostname1 now returns hostname minus domain info | kremlin | 2014-07-22 | 1 | -4/+10 |
| | | | | also initializes pointer array properly, no more GLib warnings | ||||
* | clean up hostnamed.c, clear out localed.c for copying | kremlin | 2014-07-22 | 2 | -154/+11 |
| | | | | | | | fix minor memory management issues in hostnamed.c. localed.c was previously based on a version of hostnamed.c i copied, however it has strayed too far away from the working version and must be recopied/refactored. | ||||
* | empty main.c | kremlin | 2014-07-22 | 1 | -27/+1 |
| | |||||
* | (minor) update object binaries | kremlin | 2014-07-22 | 4 | -0/+0 |
| | |||||
* | cut out config.c & config.h, they are unnessecary | kremlin | 2014-07-22 | 2 | -101/+0 |
| | |||||
* | tighten up memory management in hostnamed.c | kremlin | 2014-07-22 | 1 | -8/+12 |
| | |||||
* | refactor hostnamed.c to work with namespace genfile change | kremlin | 2014-07-22 | 2 | -27/+25 |
| | |||||
* | cut comments in main.c, prepare it to be removed | kremlin | 2014-07-22 | 1 | -13/+3 |
| | |||||
* | change gen script to use ksh, remove namespace option, regen genfiles | kremlin | 2014-07-22 | 9 | -4282/+4283 |
| | | | | | | | | | rewrite scripts/gen-gdbus-interfaces.sh to use ksh (#!/bin/sh) to cut down on inbox spam, also fixed prior bug where generated files had bad paths in their #includes. removed namespacing option from gdbus-codegen as linked objects do not run into naming conflicts as the previous commits did. regenerate all genfiles (src/interfaces/foo/foo-gen.{c.h}) accordingly. | ||||
* | minor, update binaries | kremlin | 2014-07-15 | 8 | -0/+0 |
| | |||||
* | include gprintf.h in hostnamed.c/localed.c to allow strict compilation | kremlin | 2014-07-15 | 2 | -0/+4 |
| | |||||
* | revamp makefile, build and link objects instead of #include'ing them | kremlin | 2014-07-15 | 1 | -17/+38 |
| | | | | | | previously main.c #include'd files which themselves #include'd all source files. now, we (correctly) build objects from the genfile, which are linked to our sources. | ||||
* | cut out unnessecary #include's in main.c, prepare to deprecate | kremlin | 2014-07-15 | 1 | -5/+0 |
| | | | | | | we're going to move towards having all four daemons exist as seperate executables managed exclusively by DBus (startup, lifetime, etc.) so i'm moving towards getting rid of the one "main" executable. | ||||
* | minor, bring in standalone daemon executables | kremlin | 2014-07-15 | 4 | -0/+0 |
| | |||||
* | minor, update objects from genfile | kremlin | 2014-07-15 | 4 | -0/+0 |
| | |||||
* | remove includes in non-gen'd interf files, they're linked properly now | kremlin | 2014-07-15 | 4 | -61/+48 |
| | | | | | | | no need to include foo-gen.c as its functionality exists inside linked object built by makefile in future commit. additionally, make all non-generated interface files executable with a dummy main() that runs foo_init() after setting everything up properly with a g_main_loop | ||||
* | untouched genfiles now work with linking system, revert localed-gen.c | kremlin | 2014-07-15 | 1 | -0/+133 |
| | | | | | | previously you needed to edit genfiles as to not re-implement boilerplate methods. linking (instead of #include'ing) avoids this and allows genfiles to work without edit, as intended. | ||||
* | get rid of non-generated interface headers, we don't need them | kremlin | 2014-07-15 | 4 | -66/+0 |
| | |||||
* | bring in genfile objects, remove git filler in bin | kremlin | 2014-07-15 | 5 | -1/+0 |
| | |||||
* | add bin/obj directory & populate w/ tmpfile; mod gitignore accordingly | kremlin | 2014-07-15 | 2 | -2/+1 |
| | |||||
* | get rid of ifdef maze in main.c, the binaries will be compiled sep. | kremlin | 2014-07-15 | 1 | -32/+17 |
| | |||||
* | set hostnamed's 'hostname' property before export | kremlin | 2014-07-11 | 2 | -2/+10 |
| | |||||
* | more work on managing four interfaces as separate PIDs, new makefile rules ↵ | kremlin | 2014-07-08 | 6 | -31/+60 |
| | | | | for building and installing standalone interface binaries, a little documentation and preproccessor logic | ||||
* | (1) regenerate leaner genfiles, we're not using the object manager ↵ | kremlin | 2014-07-08 | 13 | -2965/+195 |
| | | | | functionality (2) modify gen-gdbus-interfaces to exclude object manager functionality (3) make localed skeleton (4) namespace hostnamed's and localed's bus/name functions properly (5) edit main.c to init localed | ||||
* | "build-proper renamed" to "publish" in makefile | kremlin | 2014-07-08 | 1 | -1/+1 |
| | |||||
* | regenerate proper namespaced code for other 3 interfaces, fix their includes ↵ | kremlin | 2014-07-08 | 8 | -3856/+6426 |
| | | | | accordingly | ||||
* | fix previous commit (forgot to escape newline), regenerate hostnamed with ↵ | kremlin | 2014-07-08 | 4 | -910/+910 |
| | | | | proper namespace changes, fix hostnamed.c accordingly | ||||
* | fix gen-gdbus-interfaces.sh to namespace generated functions by targetted ↵ | kremlin | 2014-07-08 | 1 | -0/+3 |
| | | | | DBus interface | ||||
* | cut out old XML install cruft | kremlin | 2014-07-03 | 3 | -110/+0 |
| | |||||
* | (1) modify gen-gdbus-interfaces.sh to generate nessecary subclasseshostnamed-copyable | kremlin- | 2014-07-02 | 5 | -3961/+1013 |
| | | | | | | (2) regenerate hostnamed genfiles accordingly (3) add in skeleton functions for handling hostnamed properties. (4) celebrate, as hostnamed.c now serves as a copyable skeleton for the other three | ||||
* | following last commit, freshen up all ispect xml files with a on an updated ↵ | kremlin- | 2014-07-02 | 3 | -66/+48 |
| | | | | archlinux box. also format all XML files to follow the same style (spacing/doctypes/etc) | ||||
* | (1) updated ispect xml to reflect recent undocumented changes in hostnamed | kremlin- | 2014-07-02 | 6 | -277/+5174 |
| | | | | | (2) implemented skeleton functions for hostnamed, attached to interface which is now (3) exported on DBus properly as a generated GDBusInterfaceSkeleton | ||||
* | minor forgot to wrap email in <>'s in txts | kremlin | 2014-06-30 | 1 | -1/+1 |
| | |||||
* | retab | kremlin- | 2014-06-27 | 2 | -17/+17 |
| | |||||
* | replace C++ style comments | kremlin- | 2014-06-27 | 3 | -8/+6 |
| | |||||
* | remove -pedantic, screw that | kremlin- | 2014-06-27 | 1 | -1/+1 |
| | |||||
* | bring in skeleton conf, add to makefile install target | kremlin- | 2014-06-27 | 2 | -0/+6 |
| | |||||
* | cut out install code that should be handled in makefile | kremlin- | 2014-06-27 | 4 | -91/+33 |
| | |||||
* | clean up makefile, add -std=c89 and -pedantic to build-proper flags | kremlin- | 2014-06-27 | 1 | -4/+14 |
| | |||||
* | clean up config.c | kremlin | 2014-06-26 | 1 | -63/+67 |
| | |||||
* | drop persistent file handlers, use rc.d 'reload' instead | kremlin | 2014-06-26 | 1 | -30/+13 |
| | |||||
* | more work on xml configuration setting.. | kremlin- | 2014-06-26 | 2 | -69/+88 |
| | |||||
* | minor, fix system call logic | kremlin- | 2014-06-26 | 1 | -1/+1 |
| | |||||
* | see previous commit, forgot 'git add'.. | kremlin- | 2014-06-26 | 3 | -6/+9 |
| | |||||
* | fix up merge conflicts to compile on strict settings | kremlin- | 2014-06-26 | 1 | -4/+4 |
| | |||||
* | fixing merge conflicts | kremlin- | 2014-06-26 | 2 | -15/+87 |
| | |||||
* | merge license, hostname buffer changes from master branch | kremlin- | 2014-06-26 | 12 | -196/+316 |
|\ | |||||
| * | change buffer size for gethostname() to HOST_NAME_MAX to avoid accidently ↵ | kremlin | 2014-06-22 | 4 | -122/+122 |
| | | | | | | | | truncating the terminating byte on systems that handle gethostname() poorly | ||||
| * | shebang /bin/sh instead of bash for gdbus interface generator script | kremlin | 2014-06-22 | 1 | -1/+1 |
| | | |||||
| * | add license ISC license blurbs | kremlin | 2014-06-22 | 12 | -0/+190 |
| | | |||||
* | | goodnight | kremlin- | 2014-06-20 | 3 | -8/+102 |
| | | |||||
* | | exit func for config, close()s and free()s | kremlin- | 2014-06-20 | 1 | -2/+14 |
|/ | |||||
* | finish migrating old code to work with gdbus-codegen types, cleaned up ↵ | kremlin- | 2014-06-20 | 5 | -81/+83 |
| | | | | config IO/install, cleaned up code all-around to work with strict compiler flags | ||||
* | blow away unnessecary errata whose functionality is covered by code from ↵ | kremlin- | 2014-06-20 | 4 | -175/+26 |
| | | | | generated interfaces, clean up code, conform better to GLib, bring in gio-unix-2.0 | ||||
* | prepare old hostnamed.c code for use through proper generated gdbus ↵ | kremlin- | 2014-06-20 | 2 | -8/+16 |
| | | | | interface code | ||||
* | regenerate interface types, clean up gen script | kremlin- | 2014-06-20 | 13 | -1/+21708 |
| | |||||
* | blow away improperly generated interface types (bad prefix) | kremlin- | 2014-06-20 | 8 | -20100/+0 |
| | |||||
* | add script for generating interface types (gdbus-codegen) | kremlin- | 2014-06-20 | 1 | -0/+16 |
| | |||||
* | add gdbus-codegen files | kremlin | 2014-06-17 | 15 | -3/+21703 |
| | |||||
* | fleshed out config and hostnamed more, structure for other 3 daemons.. | kremlin- | 2014-06-13 | 3 | -13/+124 |
| | |||||
* | furthering hostnamed, begining configuration.. | kremlin- | 2014-06-13 | 3 | -6/+142 |
| | |||||
* | property handling... | kremlin- | 2014-06-10 | 1 | -5/+13 |
| | |||||
* | export proper xml FINALLY.. | kremlin- | 2014-06-10 | 3 | -21/+25 |
| | |||||
* | cut out literals | kremlin- | 2014-06-10 | 1 | -55/+1 |
| | |||||
* | bring in new configs | kremlin- | 2014-06-10 | 8 | -37/+577 |
| | |||||
* | blow away xmldefs, will read from file and checksum isntead... | kremlin- | 2014-06-10 | 1 | -446/+0 |
| | |||||
* | started work on xml file installation/configuration | kremlin- | 2014-06-08 | 4 | -59/+532 |
| | |||||
* | syncing... | kremlin | 2014-06-08 | 2 | -1/+52 |
| | |||||
* | XML configs will be either compiled in (default) or installed (flagged), rm ↵ | kremlin | 2014-06-07 | 3 | -25/+0 |
| | | | | workarounds | ||||
* | syncing between computers.. | kremlin- | 2014-06-05 | 2 | -11/+17 |
| | |||||
* | minor info errata | kremlin- | 2014-06-05 | 3 | -2/+2 |
| | |||||
* | divorce introspect xml to conf/ file, rm hostnamed.h, update system bus ↵ | kremlin- | 2014-06-05 | 3 | -79/+25 |
| | | | | config file to be more secure.. | ||||
* | syncing working files between computers... | kremlin | 2014-06-05 | 2 | -6/+25 |
| | |||||
* | added scripts to place config files, added a note in source about that | kremlin | 2014-06-03 | 4 | -1/+26 |
| | |||||
* | minor, reference issue | kremlin | 2014-06-03 | 1 | -2/+5 |
| | |||||
* | syntax cleanup, add whatever .bin.core files are to gitignore.. | kremlin | 2014-06-03 | 2 | -50/+54 |
| | |||||
* | divorce XML literal to hostnamed.h, update types to be glib-appropriate, ↵ | kremlin | 2014-06-03 | 2 | -110/+105 |
| | | | | comments | ||||
* | moved things around to make source readable, added comments, changed init ↵ | kremlin | 2014-06-03 | 1 | -9/+16 |
| | | | | method return type from void -> GError | ||||
* | update makefile and main.c to reflect changes of previous commit, also place ↵ | kremlin | 2014-06-03 | 4 | -3/+6 |
| | | | | tempfile in bin/ as abscence causes git to ignore directory's existence | ||||
* | remove crapfile, rename 'modules' -> 'interfaces' | kremlin | 2014-06-03 | 5 | -0/+0 |
| | |||||
* | hostnamed implementation coming along, implements introspectable now. had to ↵ | kremlin | 2014-05-30 | 3 | -15/+64 |
| | | | | switch back to session bus temporarily... | ||||
* | clean up. we dont need those files rn | kremlin | 2014-05-30 | 6 | -67/+0 |
| | |||||
* | session bus -> system bus (hostnamed) | kremlin | 2014-05-30 | 1 | -1/+1 |
| | |||||
* | get OUT | kremlin | 2014-05-30 | 4 | -1/+2 |
| | |||||
* | minor, more gitignore matching... | kremlin | 2014-05-30 | 1 | -3/+6 |
| | |||||
* | fix gitignore, removing vim tmpfiles... | kremlin | 2014-05-30 | 1 | -0/+4 |
| | |||||
* | get hostnamed to show up on session bus, incomplete | kremlin | 2014-05-30 | 4 | -7/+121 |
| | |||||
* | begin hostnamed, clean up | kremlin | 2014-05-28 | 5 | -12/+39 |
| | |||||
* | add gitignore, remove binaries... | kremlin | 2014-05-28 | 2 | -0/+1 |
| | |||||
* | set aside -ports makefile for now, we'll deal with it later. begin hostnamed | kremlin | 2014-05-28 | 5 | -54/+72 |
| | |||||
* | working with makefiles... | kremlin | 2014-05-22 | 2 | -8/+8 |
| | |||||
* | edit Makefile, add temp configure script, working on Makefile being ↵ | kremlin | 2014-05-22 | 4 | -2/+8 |
| | | | | port-compatible (bsd.port.mk) | ||||
* | change catagory to kremlinware/test | kremlin | 2014-05-22 | 1 | -2/+3 |
| | |||||
* | delete gnu makefile, revamp bsd makefile | kremlin | 2014-05-22 | 3 | -138/+59 |
| | |||||
* | moved src/*d -> src/modules/ | kremlin | 2014-05-22 | 4 | -0/+0 |
| | |||||
* | added devel and release branches, deleted tempfile | kremlin | 2014-05-20 | 1 | -0/+0 |
| | |||||
* | (g)makefile, structuring filesystem | kremlin | 2014-05-20 | 4 | -4/+15 |
| | |||||
* | move 4 utils into more-specific src/modules/, update README, docs | kremlin | 2014-05-20 | 10 | -7/+16 |
| | |||||
* | add INSTALL, README.tmp and TODO, start openbsd-specific makefile | kremlin | 2014-05-20 | 5 | -0/+162 |
| | |||||
* | initial | kremlin | 2014-04-27 | 5 | -0/+19 |