systembsd.git
9 years agocut comments in main.c, prepare it to be removed
kremlin [Mon, 21 Jul 2014 23:42:33 +0000 (18:42 -0500)]
cut comments in main.c, prepare it to be removed

9 years agochange gen script to use ksh, remove namespace option, regen genfiles
kremlin [Mon, 21 Jul 2014 23:16:57 +0000 (18:16 -0500)]
change gen script to use ksh, remove namespace option, regen genfiles

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.

9 years agominor, update binaries
kremlin [Tue, 15 Jul 2014 05:11:01 +0000 (00:11 -0500)]
minor, update binaries

9 years agoinclude gprintf.h in hostnamed.c/localed.c to allow strict compilation
kremlin [Tue, 15 Jul 2014 05:09:59 +0000 (00:09 -0500)]
include gprintf.h in hostnamed.c/localed.c to allow strict compilation

9 years agorevamp makefile, build and link objects instead of #include'ing them
kremlin [Tue, 15 Jul 2014 05:03:17 +0000 (00:03 -0500)]
revamp makefile, build and link objects instead of #include'ing them

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.

9 years agocut out unnessecary #include's in main.c, prepare to deprecate
kremlin [Tue, 15 Jul 2014 04:59:35 +0000 (23:59 -0500)]
cut out unnessecary #include's in main.c, prepare to deprecate

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.

9 years agominor, bring in standalone daemon executables
kremlin [Tue, 15 Jul 2014 04:57:18 +0000 (23:57 -0500)]
minor, bring in standalone daemon executables

9 years agominor, update objects from genfile
kremlin [Tue, 15 Jul 2014 04:56:11 +0000 (23:56 -0500)]
minor, update objects from genfile

9 years agoremove includes in non-gen'd interf files, they're linked properly now
kremlin [Tue, 15 Jul 2014 04:55:24 +0000 (23:55 -0500)]
remove includes in non-gen'd interf files, they're linked properly now

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

9 years agountouched genfiles now work with linking system, revert localed-gen.c
kremlin [Tue, 15 Jul 2014 04:51:11 +0000 (23:51 -0500)]
untouched genfiles now work with linking system, revert localed-gen.c

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.

9 years agoget rid of non-generated interface headers, we don't need them
kremlin [Tue, 15 Jul 2014 04:48:05 +0000 (23:48 -0500)]
get rid of non-generated interface headers, we don't need them

9 years agobring in genfile objects, remove git filler in bin
kremlin [Tue, 15 Jul 2014 03:46:04 +0000 (22:46 -0500)]
bring in genfile objects, remove git filler in bin

9 years agoadd bin/obj directory & populate w/ tmpfile; mod gitignore accordingly
kremlin [Tue, 15 Jul 2014 03:21:23 +0000 (22:21 -0500)]
add bin/obj directory & populate w/ tmpfile; mod gitignore accordingly

9 years agoget rid of ifdef maze in main.c, the binaries will be compiled sep.
kremlin [Tue, 15 Jul 2014 02:44:45 +0000 (21:44 -0500)]
get rid of ifdef maze in main.c, the binaries will be compiled sep.

9 years agoset hostnamed's 'hostname' property before export
kremlin [Thu, 10 Jul 2014 16:24:40 +0000 (11:24 -0500)]
set hostnamed's 'hostname' property before export

9 years agomore work on managing four interfaces as separate PIDs, new makefile rules for buildi...
kremlin [Tue, 8 Jul 2014 08:15:51 +0000 (03:15 -0500)]
more work on managing four interfaces as separate PIDs, new makefile rules for building and installing standalone interface binaries, a little documentation and preproccessor logic

9 years ago(1) regenerate leaner genfiles, we're not using the object manager functionality...
kremlin [Tue, 8 Jul 2014 06:41:59 +0000 (01:41 -0500)]
(1) regenerate leaner genfiles, we're not using the object manager 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

9 years ago"build-proper renamed" to "publish" in makefile
kremlin [Tue, 8 Jul 2014 06:04:16 +0000 (01:04 -0500)]
"build-proper renamed" to "publish" in makefile

9 years agoregenerate proper namespaced code for other 3 interfaces, fix their includes accordingly
kremlin [Tue, 8 Jul 2014 03:12:09 +0000 (22:12 -0500)]
regenerate proper namespaced code for other 3 interfaces, fix their includes accordingly

9 years agofix previous commit (forgot to escape newline), regenerate hostnamed with proper...
kremlin [Tue, 8 Jul 2014 03:07:58 +0000 (22:07 -0500)]
fix previous commit (forgot to escape newline), regenerate hostnamed with proper namespace changes, fix hostnamed.c accordingly

9 years agofix gen-gdbus-interfaces.sh to namespace generated functions by targetted DBus interface
kremlin [Tue, 8 Jul 2014 02:53:20 +0000 (21:53 -0500)]
fix gen-gdbus-interfaces.sh to namespace generated functions by targetted DBus interface

9 years agocut out old XML install cruft
kremlin [Thu, 3 Jul 2014 15:26:51 +0000 (10:26 -0500)]
cut out old XML install cruft

9 years ago(1) modify gen-gdbus-interfaces.sh to generate nessecary subclasses
kremlin [Wed, 2 Jul 2014 06:06:15 +0000 (01:06 -0500)]
(1) modify gen-gdbus-interfaces.sh to generate nessecary subclasses
(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

9 years agofollowing last commit, freshen up all ispect xml files with a on an updated archlinu...
kremlin [Wed, 2 Jul 2014 03:28:33 +0000 (22:28 -0500)]
following last commit, freshen up all ispect xml files with a  on an updated archlinux box. also format all XML files to follow the same style (spacing/doctypes/etc)

9 years ago(1) updated ispect xml to reflect recent undocumented changes in hostnamed
kremlin [Wed, 2 Jul 2014 03:21:46 +0000 (22:21 -0500)]
(1) updated ispect xml to reflect recent undocumented changes in hostnamed
(2) implemented skeleton functions for hostnamed, attached to interface which is now
(3) exported on DBus properly as a generated GDBusInterfaceSkeleton

9 years agominor forgot to wrap email in <>'s in txts
kremlin [Sun, 29 Jun 2014 20:33:51 +0000 (15:33 -0500)]
minor forgot to wrap email in <>'s in txts

9 years agoretab
kremlin [Thu, 26 Jun 2014 23:55:42 +0000 (18:55 -0500)]
retab

9 years agoreplace C++ style comments
kremlin [Thu, 26 Jun 2014 23:50:14 +0000 (18:50 -0500)]
replace C++ style comments

9 years agoremove -pedantic, screw that
kremlin [Thu, 26 Jun 2014 23:36:31 +0000 (18:36 -0500)]
remove -pedantic, screw that

9 years agobring in skeleton conf, add to makefile install target
kremlin [Thu, 26 Jun 2014 23:21:13 +0000 (18:21 -0500)]
bring in skeleton conf, add to makefile install target

9 years agocut out install code that should be handled in makefile
kremlin [Thu, 26 Jun 2014 23:18:26 +0000 (18:18 -0500)]
cut out install code that should be handled in makefile

9 years agoclean up makefile, add -std=c89 and -pedantic to build-proper flags
kremlin [Thu, 26 Jun 2014 23:05:38 +0000 (18:05 -0500)]
clean up makefile, add -std=c89 and -pedantic to build-proper flags

9 years agoclean up config.c
kremlin [Thu, 26 Jun 2014 06:30:17 +0000 (01:30 -0500)]
clean up config.c

9 years agodrop persistent file handlers, use rc.d 'reload' instead
kremlin [Thu, 26 Jun 2014 06:08:06 +0000 (01:08 -0500)]
drop persistent file handlers, use rc.d 'reload' instead

9 years agomore work on xml configuration setting..
kremlin [Thu, 26 Jun 2014 04:18:16 +0000 (23:18 -0500)]
more work on xml configuration setting..

9 years agominor, fix system call logic
kremlin [Thu, 26 Jun 2014 02:25:45 +0000 (21:25 -0500)]
minor, fix system call logic

9 years agosee previous commit, forgot 'git add'..
kremlin [Thu, 26 Jun 2014 02:17:03 +0000 (21:17 -0500)]
see previous commit, forgot 'git add'..

9 years agofix up merge conflicts to compile on strict settings
kremlin [Thu, 26 Jun 2014 02:16:18 +0000 (21:16 -0500)]
fix up merge conflicts to compile on strict settings

9 years agofixing merge conflicts
kremlin [Thu, 26 Jun 2014 02:06:06 +0000 (21:06 -0500)]
fixing merge conflicts

9 years agomerge license, hostname buffer changes from master branch
kremlin [Thu, 26 Jun 2014 01:44:39 +0000 (20:44 -0500)]
merge license, hostname buffer changes from master branch

9 years agochange buffer size for gethostname() to HOST_NAME_MAX to avoid accidently truncating...
kremlin [Sun, 22 Jun 2014 06:11:25 +0000 (01:11 -0500)]
change buffer size for gethostname() to HOST_NAME_MAX to avoid accidently truncating the terminating byte on systems that handle gethostname() poorly

9 years agoshebang /bin/sh instead of bash for gdbus interface generator script
kremlin [Sun, 22 Jun 2014 02:51:09 +0000 (21:51 -0500)]
shebang /bin/sh instead of bash for gdbus interface generator script

9 years agoadd license ISC license blurbs
kremlin [Sun, 22 Jun 2014 02:49:37 +0000 (21:49 -0500)]
add license ISC license blurbs

9 years agogoodnight
kremlin [Fri, 20 Jun 2014 05:26:47 +0000 (00:26 -0500)]
goodnight

9 years agoexit func for config, close()s and free()s
kremlin [Fri, 20 Jun 2014 02:59:38 +0000 (21:59 -0500)]
exit func for config, close()s and free()s

9 years agofinish migrating old code to work with gdbus-codegen types, cleaned up config IO...
kremlin [Fri, 20 Jun 2014 02:38:50 +0000 (21:38 -0500)]
finish migrating old code to work with gdbus-codegen types, cleaned up config IO/install, cleaned up code all-around to work with strict compiler flags

9 years agoblow away unnessecary errata whose functionality is covered by code from generated...
kremlin [Thu, 19 Jun 2014 21:48:25 +0000 (16:48 -0500)]
blow away unnessecary errata whose functionality is covered by code from generated interfaces, clean up code, conform better to GLib, bring in gio-unix-2.0

9 years agoprepare old hostnamed.c code for use through proper generated gdbus interface code
kremlin [Thu, 19 Jun 2014 20:44:36 +0000 (15:44 -0500)]
prepare old hostnamed.c code for use through proper generated gdbus interface code

9 years agoregenerate interface types, clean up gen script
kremlin [Thu, 19 Jun 2014 19:59:16 +0000 (14:59 -0500)]
regenerate interface types, clean up gen script

9 years agoblow away improperly generated interface types (bad prefix)
kremlin [Thu, 19 Jun 2014 19:50:05 +0000 (14:50 -0500)]
blow away improperly generated interface types (bad prefix)

9 years agoadd script for generating interface types (gdbus-codegen)
kremlin [Thu, 19 Jun 2014 19:49:33 +0000 (14:49 -0500)]
add script for generating interface types (gdbus-codegen)

9 years agoadd gdbus-codegen files
kremlin [Tue, 17 Jun 2014 15:18:33 +0000 (10:18 -0500)]
add gdbus-codegen files

9 years agofleshed out config and hostnamed more, structure for other 3 daemons..
kremlin [Fri, 13 Jun 2014 02:01:30 +0000 (21:01 -0500)]
fleshed out config and hostnamed more, structure for other 3 daemons..

9 years agofurthering hostnamed, begining configuration..
kremlin [Fri, 13 Jun 2014 00:22:06 +0000 (19:22 -0500)]
furthering hostnamed, begining configuration..

9 years agoproperty handling...
kremlin [Tue, 10 Jun 2014 03:57:52 +0000 (22:57 -0500)]
property handling...

9 years agoexport proper xml FINALLY..
kremlin [Tue, 10 Jun 2014 03:40:48 +0000 (22:40 -0500)]
export proper xml FINALLY..

9 years agocut out literals
kremlin [Tue, 10 Jun 2014 02:20:37 +0000 (21:20 -0500)]
cut out literals

9 years agobring in new configs
kremlin [Tue, 10 Jun 2014 02:19:19 +0000 (21:19 -0500)]
bring in new configs

9 years agoblow away xmldefs, will read from file and checksum isntead...
kremlin [Tue, 10 Jun 2014 01:54:08 +0000 (20:54 -0500)]
blow away xmldefs, will read from file and checksum isntead...

9 years agostarted work on xml file installation/configuration
kremlin [Sun, 8 Jun 2014 06:19:46 +0000 (01:19 -0500)]
started work on xml file installation/configuration

9 years agosyncing...
kremlin [Sun, 8 Jun 2014 01:04:10 +0000 (21:04 -0400)]
syncing...

9 years agoXML configs will be either compiled in (default) or installed (flagged), rm workarounds
kremlin [Sat, 7 Jun 2014 07:45:04 +0000 (03:45 -0400)]
XML configs will be either compiled in (default) or installed (flagged), rm workarounds

9 years agosyncing between computers..
kremlin [Thu, 5 Jun 2014 04:18:53 +0000 (23:18 -0500)]
syncing between computers..

9 years agominor info errata
kremlin [Thu, 5 Jun 2014 03:42:08 +0000 (22:42 -0500)]
minor info errata

9 years agodivorce introspect xml to conf/ file, rm hostnamed.h, update system bus config file...
kremlin [Thu, 5 Jun 2014 03:36:18 +0000 (22:36 -0500)]
divorce introspect xml to conf/ file, rm hostnamed.h, update system bus config file to be more secure..

9 years agosyncing working files between computers...
kremlin [Thu, 5 Jun 2014 02:56:17 +0000 (21:56 -0500)]
syncing working files between computers...

9 years agoadded scripts to place config files, added a note in source about that
kremlin [Mon, 2 Jun 2014 22:38:44 +0000 (17:38 -0500)]
added scripts to place config files, added a note in source about that

9 years agominor, reference issue
kremlin [Mon, 2 Jun 2014 21:47:44 +0000 (16:47 -0500)]
minor, reference issue

9 years agosyntax cleanup, add whatever .bin.core files are to gitignore..
kremlin [Mon, 2 Jun 2014 21:34:45 +0000 (16:34 -0500)]
syntax cleanup, add whatever .bin.core files are to gitignore..

9 years agodivorce XML literal to hostnamed.h, update types to be glib-appropriate, comments
kremlin [Mon, 2 Jun 2014 21:18:33 +0000 (16:18 -0500)]
divorce XML literal to hostnamed.h, update types to be glib-appropriate, comments

9 years agomoved things around to make source readable, added comments, changed init method...
kremlin [Mon, 2 Jun 2014 18:42:23 +0000 (13:42 -0500)]
moved things around to make source readable, added comments, changed init method return type from void -> GError

9 years agoupdate makefile and main.c to reflect changes of previous commit, also place tempfile...
kremlin [Mon, 2 Jun 2014 18:25:23 +0000 (13:25 -0500)]
update makefile and main.c to reflect changes of previous commit, also place tempfile in bin/ as abscence causes git to ignore directory's existence

9 years agoremove crapfile, rename 'modules' -> 'interfaces'
kremlin [Mon, 2 Jun 2014 17:40:33 +0000 (12:40 -0500)]
remove crapfile, rename 'modules' -> 'interfaces'

9 years agohostnamed implementation coming along, implements introspectable now. had to switch...
kremlin [Fri, 30 May 2014 09:19:07 +0000 (04:19 -0500)]
hostnamed implementation coming along, implements introspectable now. had to switch back to session bus temporarily...

9 years agoclean up. we dont need those files rn
kremlin [Fri, 30 May 2014 08:10:26 +0000 (03:10 -0500)]
clean up. we dont need those files rn

9 years agosession bus -> system bus (hostnamed)
kremlin [Fri, 30 May 2014 07:54:49 +0000 (02:54 -0500)]
session bus -> system bus (hostnamed)

9 years agoget OUT
kremlin [Fri, 30 May 2014 07:27:58 +0000 (02:27 -0500)]
get OUT

9 years agominor, more gitignore matching...
kremlin [Fri, 30 May 2014 07:14:55 +0000 (02:14 -0500)]
minor, more gitignore matching...

9 years agofix gitignore, removing vim tmpfiles...
kremlin [Fri, 30 May 2014 07:08:44 +0000 (02:08 -0500)]
fix gitignore, removing vim tmpfiles...

9 years agoget hostnamed to show up on session bus, incomplete
kremlin [Fri, 30 May 2014 07:01:49 +0000 (02:01 -0500)]
get hostnamed to show up on session bus, incomplete

9 years agobegin hostnamed, clean up
kremlin [Wed, 28 May 2014 01:45:02 +0000 (20:45 -0500)]
begin hostnamed, clean up

9 years agoadd gitignore, remove binaries...
kremlin [Tue, 27 May 2014 20:32:48 +0000 (15:32 -0500)]
add gitignore, remove binaries...

9 years agoset aside -ports makefile for now, we'll deal with it later. begin hostnamed
kremlin [Tue, 27 May 2014 20:29:47 +0000 (15:29 -0500)]
set aside -ports makefile for now, we'll deal with it later. begin hostnamed

9 years agoworking with makefiles...
kremlin [Thu, 22 May 2014 04:03:22 +0000 (23:03 -0500)]
working with makefiles...

9 years agoedit Makefile, add temp configure script, working on Makefile being port-compatible...
kremlin [Thu, 22 May 2014 02:29:51 +0000 (21:29 -0500)]
edit Makefile, add temp configure script, working on Makefile being port-compatible (bsd.port.mk)

9 years agochange catagory to kremlinware/test
kremlin [Thu, 22 May 2014 01:58:54 +0000 (20:58 -0500)]
change catagory to kremlinware/test

9 years agodelete gnu makefile, revamp bsd makefile
kremlin [Thu, 22 May 2014 01:31:39 +0000 (20:31 -0500)]
delete gnu makefile, revamp bsd makefile

9 years agomoved src/*d -> src/modules/
kremlin [Thu, 22 May 2014 00:13:17 +0000 (19:13 -0500)]
moved src/*d -> src/modules/

9 years agoadded devel and release branches, deleted tempfile
kremlin [Tue, 20 May 2014 03:43:34 +0000 (22:43 -0500)]
added devel and release branches, deleted tempfile

9 years ago(g)makefile, structuring filesystem
kremlin [Tue, 20 May 2014 03:37:30 +0000 (22:37 -0500)]
(g)makefile, structuring filesystem

9 years agomove 4 utils into more-specific src/modules/, update README, docs
kremlin [Tue, 20 May 2014 02:22:23 +0000 (21:22 -0500)]
move 4 utils into more-specific src/modules/, update README, docs

9 years agoadd INSTALL, README.tmp and TODO, start openbsd-specific makefile
kremlin [Tue, 20 May 2014 00:01:45 +0000 (19:01 -0500)]
add INSTALL, README.tmp and TODO, start openbsd-specific makefile

9 years agoinitial
kremlin [Sun, 27 Apr 2014 00:34:45 +0000 (20:34 -0400)]
initial