aboutsummaryrefslogtreecommitdiffstats
path: root/src/interfaces
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* tighten up memory management in hostnamed.ckremlin2014-07-221-8/+12
|
* refactor hostnamed.c to work with namespace genfile changekremlin2014-07-221-27/+25
|
* change gen script to use ksh, remove namespace option, regen genfileskremlin2014-07-228-4270/+4270
| | | | | | | | | 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.
* include gprintf.h in hostnamed.c/localed.c to allow strict compilationkremlin2014-07-152-0/+4
|
* 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
|
* set hostnamed's 'hostname' property before exportkremlin2014-07-111-1/+9
|
* more work on managing four interfaces as separate PIDs, new makefile rules ↵kremlin2014-07-082-17/+2
| | | | 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-0811-2963/+188
| | | | 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
* regenerate proper namespaced code for other 3 interfaces, fix their includes ↵kremlin2014-07-086-3769/+6303
| | | | accordingly
* fix previous commit (forgot to escape newline), regenerate hostnamed with ↵kremlin2014-07-083-909/+909
| | | | proper namespace changes, fix hostnamed.c accordingly
* (1) modify gen-gdbus-interfaces.sh to generate nessecary subclasseshostnamed-copyablekremlin-2014-07-023-3961/+788
| | | | | | (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
* (1) updated ispect xml to reflect recent undocumented changes in hostnamedkremlin-2014-07-023-114/+5104
| | | | | (2) implemented skeleton functions for hostnamed, attached to interface which is now (3) exported on DBus properly as a generated GDBusInterfaceSkeleton
* replace C++ style commentskremlin-2014-06-271-5/+3
|
* change buffer size for gethostname() to HOST_NAME_MAX to avoid accidently ↵kremlin2014-06-221-37/+37
| | | | truncating the terminating byte on systems that handle gethostname() poorly
* add license ISC license blurbskremlin2014-06-228-0/+128
|
* finish migrating old code to work with gdbus-codegen types, cleaned up ↵kremlin-2014-06-201-24/+6
| | | | 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-203-174/+25
| | | | 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-201-8/+16
| | | | interface code
* regenerate interface types, clean up gen scriptkremlin-2014-06-208-0/+20100
|
* blow away improperly generated interface types (bad prefix)kremlin-2014-06-208-20100/+0
|
* add gdbus-codegen fileskremlin2014-06-1711-3/+20100
|
* fleshed out config and hostnamed more, structure for other 3 daemons..kremlin-2014-06-131-6/+40
|
* furthering hostnamed, begining configuration..kremlin-2014-06-131-4/+121
|
* property handling...kremlin-2014-06-101-5/+13
|
* export proper xml FINALLY..kremlin-2014-06-101-15/+20
|
* started work on xml file installation/configurationkremlin-2014-06-081-10/+0
|
* syncing...kremlin2014-06-081-1/+1
|
* syncing between computers..kremlin-2014-06-051-10/+12
|
* minor info erratakremlin-2014-06-051-0/+1
|
* divorce introspect xml to conf/ file, rm hostnamed.h, update system bus ↵kremlin-2014-06-052-79/+0
| | | | config file to be more secure..
* syncing working files between computers...kremlin2014-06-051-6/+7
|
* added scripts to place config files, added a note in source about thatkremlin2014-06-031-1/+1
|
* minor, reference issuekremlin2014-06-031-2/+5
|
* syntax cleanup, add whatever .bin.core files are to gitignore..kremlin2014-06-031-50/+53
|
* 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
* remove crapfile, rename 'modules' -> 'interfaces'kremlin2014-06-034-0/+200