head	1.7;
access;
symbols
	v2_0_0beta3:1.7
	v2_0_0beta2:1.7
	v2_0_0beta1:1.7
	v1_5_0:1.7
	v1_4_0:1.7
	gaim-doodle:1.7.0.4
	v1_3_1:1.7
	v1_3_0:1.7
	v1_2_1:1.7
	v1_2_0:1.7
	v1_1_4:1.7
	v1_1_3:1.7
	v1_1_2:1.7
	v1_1_1:1.7
	v1_1_0:1.7
	v1_0_3:1.7
	v1_0_2:1.7
	v1_0_1:1.7
	v1_0_0:1.7
	oldstatus:1.7.0.2
	v0_82:1.7
	v0_81:1.7
	v0_80:1.6
	v0_79:1.6
	v0_78:1.6
	v0_77:1.6
	v0_76:1.6
	v0_75:1.6
	v0_74:1.6
	v0_74-branch:1.6.0.2
	v0_73:1.6
	v0_72:1.6
	v0_71:1.6
	v0_70:1.6
	v0_69:1.6
	v0_68:1.6
	v0_67:1.6
	v0_65:1.5
	v0_64:1.5
	v0_63:1.5
	v0_62:1.4
	gaim_0_60:1.4
	v0_60:1.4
	ZERO_DOT_FUCKING_SIXTY:1.4
	v0_60alpha3:1.2;
locks; strict;
comment	@# @;


1.7
date	2004.07.31.20.48.03;	author thekingant;	state Exp;
branches;
next	1.6;

1.6
date	2003.07.20.18.59.55;	author thekingant;	state Exp;
branches;
next	1.5;

1.5
date	2003.05.08.23.25.54;	author hermanator;	state Exp;
branches;
next	1.4;

1.4
date	2003.01.30.22.43.41;	author hermanator;	state Exp;
branches;
next	1.3;

1.3
date	2002.12.11.14.55.45;	author hermanator;	state Exp;
branches;
next	1.2;

1.2
date	2002.10.16.19.37.15;	author hermanator;	state Exp;
branches;
next	1.1;

1.1
date	2002.10.11.03.13.56;	author robflynn;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Odds n ends.
@
text
@Notes on keeping GAIM OS independant
------------------------------------

General
-------
- Use G_DIR_SEPARATOR_S and G_DIR_SEPARATOR for paths

- Use g_getenv, g_snprintf, g_vsnprintf

- Use gaim_home_dir instead of g_get_home_dir or g_getenv("HOME")

- Make sure when including win32dep.h that it is the last header to
  be included.

- Open binary files when reading or writing with 'b' mode.

  e.g: fopen("somefile", "wb");

  Not doing so will open files in windows using defaut translation mode. 
  i.e. newline -> <CR><LF>

Paths
-----

- DATADIR, LOCALEDIR & LIBDIR are defined in wingaim as functions.
  Doing the following will therefore break the windows build:

  printf("File in DATADIR is: %s\n", DATADIR G_DIR_SEPARATOR_S "pic.png");

  it should be:

  printf("File in DATADIR is: %s%s%s\n", DATADIR, G_DIR_SEPARATOR_S, "pic.png");

PLUGINS & PROTOS
----------------

- G_MODULE_EXPORT all functions which are to be accessed from outside the
  scope of its "dll" or "so". (E.G. gaim_plugin_init)

- G_MODULE_IMPORT all global variables which are located outside your
  dynamic library. (E.G. connections)

  (Not doing this will cause "Memory Access Violations" in Win32)
@


1.6
log
@Lots of very minor updates:
-dos2unixed PROGRAMMING_NOTES
-added PROGRAMMING_NOTES to make dist, or whatever
-fixed a typo in README.CVS
-updated the version number
-sheared the sheep
-rpm spec file updates from Bjoern Voigt
@
text
@a33 4
- When writing out paths to .gaimrc, use wgaim_escape_dirsep. This is necessary
  because the Windows dir separator '\' is being used to escape characters, when
  paths are read in from the .gaimrc file.

@


1.5
log
@Note on paths written to the .gaimrc file
@
text
@d1 47
a47 47
Notes on keeping GAIM OS independant
------------------------------------

General
-------
- Use G_DIR_SEPARATOR_S and G_DIR_SEPARATOR for paths

- Use g_getenv, g_snprintf, g_vsnprintf

- Use gaim_home_dir instead of g_get_home_dir or g_getenv("HOME")

- Make sure when including win32dep.h that it is the last header to
  be included.

- Open binary files when reading or writing with 'b' mode.

  e.g: fopen("somefile", "wb");

  Not doing so will open files in windows using defaut translation mode. 
  i.e. newline -> <CR><LF>

Paths
-----

- DATADIR, LOCALEDIR & LIBDIR are defined in wingaim as functions.
  Doing the following will therefore break the windows build:

  printf("File in DATADIR is: %s\n", DATADIR G_DIR_SEPARATOR_S "pic.png");

  it should be:

  printf("File in DATADIR is: %s%s%s\n", DATADIR, G_DIR_SEPARATOR_S, "pic.png");

- When writing out paths to .gaimrc, use wgaim_escape_dirsep. This is necessary
  because the Windows dir separator '\' is being used to escape characters, when
  paths are read in from the .gaimrc file.

PLUGINS & PROTOS
----------------

- G_MODULE_EXPORT all functions which are to be accessed from outside the
  scope of its "dll" or "so". (E.G. gaim_plugin_init)

- G_MODULE_IMPORT all global variables which are located outside your
  dynamic library. (E.G. connections)

  (Not doing this will cause "Memory Access Violations" in Win32)
@


1.4
log
@fopen note
@
text
@d34 4
@


1.3
log
@note on gaim dirs
@
text
@d15 7
@


1.2
log
@*** empty log message ***
@
text
@d15 12
@


1.1
log
@Yeah this will probably break a lot of shit knowing my luck. But hey, I really don't care what people thnk.
@
text
@d12 2
@

