aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* (2) move on_name_lost() callback to appropriate commend-bounded regionkremlin2014-07-293-27/+27
| | | | minor, builds
* (1) add <interface>.h and #include it in corresponding .ckremlin2014-07-296-0/+6
| | | | nessecary for compiler unambiguity. minor, builds
* see full message -- safe signal/lifetime/glib codekremlin2014-07-292-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 commentskremlin2014-07-294-4/+4
|
* minor, clarify "dbus signal" vs. "unix signal" in commentskremlin2014-07-294-8/+8
|
* include glib-unix.h in interface fileskremlin2014-07-294-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 dirskremlin2014-07-231-0/+1
|
* update TODOkremlin2014-07-231-0/+1
|
* update TODOkremlin2014-07-231-0/+2
|
* minor, add genfiles to gitignorekremlin2014-07-231-0/+1
|
* update service files to run with root permissionskremlin2014-07-234-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 commitkremlin2014-07-232-6/+14
| | | | last commit created discrepencies in makefile and gen-gdbus-interfaces.sh, fix
* organize configs in conf/ into new subdirectorieskremlin2014-07-2312-0/+0
| | | | | | introspection xml -> conf/introspect-xml/ service files -> conf/service-files/ dbus policies -> conf/sysbus-policy/
* remove genfiles from repo, instead generate in makefilekremlin2014-07-239-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 variableskremlin2014-07-231-29/+39
| | | | per ajacoutot's reccomendation
* edit TODOkremlin2014-07-231-0/+1
|
* update gitignore to include all binarieskremlin2014-07-231-1/+2
| | | | additionally get rid of unused -handler rule
* get rid of objects in repositorykremlin2014-07-238-0/+0
| | | | i thought i could make some cool looking diffs in gitweb or something :)
* (minor) update binarieskremlin2014-07-223-0/+0
|
* copy and regex localed, timedated, and logind from hostnamedkremlin2014-07-223-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 confskremlin2014-07-224-97/+4
|
* add DBus service files, change Makefile to install themkremlin2014-07-225-7/+17
|
* (minor) update binarieskremlin2014-07-224-0/+0
|
* conf file will now be used to set intranslatable propertieskremlin2014-07-221-1/+0
|
* update TODOkremlin2014-07-221-2/+1
|
* hostname1 now returns hostname minus domain infokremlin2014-07-221-4/+10
| | | | also initializes pointer array properly, no more GLib warnings
* clean up hostnamed.c, clear out localed.c for copyingkremlin2014-07-222-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.ckremlin2014-07-221-27/+1
|
* (minor) update object binarieskremlin2014-07-224-0/+0
|
* cut out config.c & config.h, they are unnessecarykremlin2014-07-222-101/+0
|
* tighten up memory management in hostnamed.ckremlin2014-07-221-8/+12
|
* refactor hostnamed.c to work with namespace genfile changekremlin2014-07-222-27/+25
|
* cut comments in main.c, prepare it to be removedkremlin2014-07-221-13/+3
|
* change gen script to use ksh, remove namespace option, regen genfileskremlin2014-07-229-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 binarieskremlin2014-07-158-0/+0
|
* include gprintf.h in hostnamed.c/localed.c to allow strict compilationkremlin2014-07-152-0/+4
|
* revamp makefile, build and link objects instead of #include'ing themkremlin2014-07-151-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 deprecatekremlin2014-07-151-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 executableskremlin2014-07-154-0/+0
|
* minor, update objects from genfilekremlin2014-07-154-0/+0
|
* remove includes in non-gen'd interf files, they're linked properly nowkremlin2014-07-154-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.ckremlin2014-07-151-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 themkremlin2014-07-154-66/+0
|
* bring in genfile objects, remove git filler in binkremlin2014-07-155-1/+0
|
* add bin/obj directory & populate w/ tmpfile; mod gitignore accordinglykremlin2014-07-152-2/+1
|
* get rid of ifdef maze in main.c, the binaries will be compiled sep.kremlin2014-07-151-32/+17
|
* set hostnamed's 'hostname' property before exportkremlin2014-07-112-2/+10
|
* more work on managing four interfaces as separate PIDs, new makefile rules ↵kremlin2014-07-086-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 ↵kremlin2014-07-0813-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 makefilekremlin2014-07-081-1/+1
|
* regenerate proper namespaced code for other 3 interfaces, fix their includes ↵kremlin2014-07-088-3856/+6426
| | | | accordingly
* fix previous commit (forgot to escape newline), regenerate hostnamed with ↵kremlin2014-07-084-910/+910
| | | | proper namespace changes, fix hostnamed.c accordingly
* fix gen-gdbus-interfaces.sh to namespace generated functions by targetted ↵kremlin2014-07-081-0/+3
| | | | DBus interface
* cut out old XML install cruftkremlin2014-07-033-110/+0
|
* (1) modify gen-gdbus-interfaces.sh to generate nessecary subclasseshostnamed-copyablekremlin-2014-07-025-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-023-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 hostnamedkremlin-2014-07-026-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 txtskremlin2014-06-301-1/+1
|
* retabkremlin-2014-06-272-17/+17
|
* replace C++ style commentskremlin-2014-06-273-8/+6
|
* remove -pedantic, screw thatkremlin-2014-06-271-1/+1
|
* bring in skeleton conf, add to makefile install targetkremlin-2014-06-272-0/+6
|
* cut out install code that should be handled in makefilekremlin-2014-06-274-91/+33
|
* clean up makefile, add -std=c89 and -pedantic to build-proper flagskremlin-2014-06-271-4/+14
|
* clean up config.ckremlin2014-06-261-63/+67
|
* drop persistent file handlers, use rc.d 'reload' insteadkremlin2014-06-261-30/+13
|
* more work on xml configuration setting..kremlin-2014-06-262-69/+88
|
* minor, fix system call logickremlin-2014-06-261-1/+1
|
* see previous commit, forgot 'git add'..kremlin-2014-06-263-6/+9
|
* fix up merge conflicts to compile on strict settingskremlin-2014-06-261-4/+4
|
* fixing merge conflictskremlin-2014-06-262-15/+87
|
* merge license, hostname buffer changes from master branchkremlin-2014-06-2612-196/+316
|\
| * change buffer size for gethostname() to HOST_NAME_MAX to avoid accidently ↵kremlin2014-06-224-122/+122
| | | | | | | | truncating the terminating byte on systems that handle gethostname() poorly
| * shebang /bin/sh instead of bash for gdbus interface generator scriptkremlin2014-06-221-1/+1
| |
| * add license ISC license blurbskremlin2014-06-2212-0/+190
| |
* | goodnightkremlin-2014-06-203-8/+102
| |
* | exit func for config, close()s and free()skremlin-2014-06-201-2/+14
|/
* finish migrating old code to work with gdbus-codegen types, cleaned up ↵kremlin-2014-06-205-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-204-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-202-8/+16
| | | | interface code
* regenerate interface types, clean up gen scriptkremlin-2014-06-2013-1/+21708
|
* blow away improperly generated interface types (bad prefix)kremlin-2014-06-208-20100/+0
|
* add script for generating interface types (gdbus-codegen)kremlin-2014-06-201-0/+16
|
* add gdbus-codegen fileskremlin2014-06-1715-3/+21703
|
* fleshed out config and hostnamed more, structure for other 3 daemons..kremlin-2014-06-133-13/+124
|
* furthering hostnamed, begining configuration..kremlin-2014-06-133-6/+142
|
* property handling...kremlin-2014-06-101-5/+13
|
* export proper xml FINALLY..kremlin-2014-06-103-21/+25
|
* cut out literalskremlin-2014-06-101-55/+1
|
* bring in new configskremlin-2014-06-108-37/+577
|
* blow away xmldefs, will read from file and checksum isntead...kremlin-2014-06-101-446/+0
|
* started work on xml file installation/configurationkremlin-2014-06-084-59/+532
|
* syncing...kremlin2014-06-082-1/+52
|
* XML configs will be either compiled in (default) or installed (flagged), rm ↵kremlin2014-06-073-25/+0
| | | | workarounds
* syncing between computers..kremlin-2014-06-052-11/+17
|
* minor info erratakremlin-2014-06-053-2/+2
|
* divorce introspect xml to conf/ file, rm hostnamed.h, update system bus ↵kremlin-2014-06-053-79/+25
| | | | config file to be more secure..
* syncing working files between computers...kremlin2014-06-052-6/+25
|
* added scripts to place config files, added a note in source about thatkremlin2014-06-034-1/+26
|
* minor, reference issuekremlin2014-06-031-2/+5
|
* syntax cleanup, add whatever .bin.core files are to gitignore..kremlin2014-06-032-50/+54
|
* divorce XML literal to hostnamed.h, update types to be glib-appropriate, ↵kremlin2014-06-032-110/+105
| | | | comments
* moved things around to make source readable, added comments, changed init ↵kremlin2014-06-031-9/+16
| | | | method return type from void -> GError
* update makefile and main.c to reflect changes of previous commit, also place ↵kremlin2014-06-034-3/+6
| | | | tempfile in bin/ as abscence causes git to ignore directory's existence
* remove crapfile, rename 'modules' -> 'interfaces'kremlin2014-06-035-0/+0
|
* hostnamed implementation coming along, implements introspectable now. had to ↵kremlin2014-05-303-15/+64
| | | | switch back to session bus temporarily...
* clean up. we dont need those files rnkremlin2014-05-306-67/+0
|
* session bus -> system bus (hostnamed)kremlin2014-05-301-1/+1
|
* get OUTkremlin2014-05-304-1/+2
|
* minor, more gitignore matching...kremlin2014-05-301-3/+6
|
* fix gitignore, removing vim tmpfiles...kremlin2014-05-301-0/+4
|
* get hostnamed to show up on session bus, incompletekremlin2014-05-304-7/+121
|
* begin hostnamed, clean upkremlin2014-05-285-12/+39
|
* add gitignore, remove binaries...kremlin2014-05-282-0/+1
|
* set aside -ports makefile for now, we'll deal with it later. begin hostnamedkremlin2014-05-285-54/+72
|
* working with makefiles...kremlin2014-05-222-8/+8
|
* edit Makefile, add temp configure script, working on Makefile being ↵kremlin2014-05-224-2/+8
| | | | port-compatible (bsd.port.mk)
* change catagory to kremlinware/testkremlin2014-05-221-2/+3
|
* delete gnu makefile, revamp bsd makefilekremlin2014-05-223-138/+59
|
* moved src/*d -> src/modules/kremlin2014-05-224-0/+0
|
* added devel and release branches, deleted tempfilekremlin2014-05-201-0/+0
|
* (g)makefile, structuring filesystemkremlin2014-05-204-4/+15
|
* move 4 utils into more-specific src/modules/, update README, docskremlin2014-05-2010-7/+16
|
* add INSTALL, README.tmp and TODO, start openbsd-specific makefilekremlin2014-05-205-0/+162
|
* initialkremlin2014-04-275-0/+19