aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>1998-10-09 00:31:49 +0800
committercracauer <cracauer@FreeBSD.org>1998-10-09 00:31:49 +0800
commite637be6db8c8a1e9d58ab6f9200d7d50ef63be38 (patch)
tree88f9c2cfb564f1c826970d8374a65f8c039a9869 /devel
parent4bbea3a88a2641ed02f7dbb97657b1d31b183b3b (diff)
downloadfreebsd-ports-gnome-e637be6db8c8a1e9d58ab6f9200d7d50ef63be38.tar.gz
freebsd-ports-gnome-e637be6db8c8a1e9d58ab6f9200d7d50ef63be38.tar.zst
freebsd-ports-gnome-e637be6db8c8a1e9d58ab6f9200d7d50ef63be38.zip
General cleanup for ELF and newer -stable:
Use right shared library names on ELF. Disable Java support on ELF systems, because we don't have an ELF jdk. Disable Java support on aout systems, because ILU runtime dumps core. New PARC patches, now as one distfile instead of patches/ collection. ILU now works with optimization enabled -> make a package. Thread support now works, on -current and -stable. Thanks folks!
Diffstat (limited to 'devel')
-rw-r--r--devel/ilu/files/patch-1-cra-cflags22
-rw-r--r--devel/ilu/files/patch-1-cra-threads23
-rw-r--r--devel/ilu/files/shlib-aout.patch225
-rw-r--r--devel/ilu/files/shlib-elf.patch225
4 files changed, 495 insertions, 0 deletions
diff --git a/devel/ilu/files/patch-1-cra-cflags b/devel/ilu/files/patch-1-cra-cflags
new file mode 100644
index 000000000000..5fa5d38d7086
--- /dev/null
+++ b/devel/ilu/files/patch-1-cra-cflags
@@ -0,0 +1,22 @@
+*** imake/iludefs.in.original Thu Oct 8 15:13:44 1998
+--- imake/iludefs.in Thu Oct 8 15:13:46 1998
+***************
+*** 91,100 ****
+ IDL_CFE_CPP_DRIVER = @IDL_CPP_COMMAND@
+ #endif /* ADD_IDL_SUPPORT */
+
+! /* for debugging support */
+! #ifdef ENABLE_DEBUGGING
+! CDEBUGFLAGS = -g
+! #endif
+
+ SECURITYLIBS =
+ SECURITYINCLUDES =
+--- 91,97 ----
+ IDL_CFE_CPP_DRIVER = @IDL_CPP_COMMAND@
+ #endif /* ADD_IDL_SUPPORT */
+
+! CDEBUGFLAGS = -g -O -D_THREADSAFE -pthread
+
+ SECURITYLIBS =
+ SECURITYINCLUDES =
diff --git a/devel/ilu/files/patch-1-cra-threads b/devel/ilu/files/patch-1-cra-threads
new file mode 100644
index 000000000000..3e7ddb2c572d
--- /dev/null
+++ b/devel/ilu/files/patch-1-cra-threads
@@ -0,0 +1,23 @@
+*** runtime/kernel/threads.c.orig Thu Oct 8 15:34:30 1998
+--- runtime/kernel/threads.c Thu Oct 8 15:33:58 1998
+***************
+*** 1151,1158 ****
+ err == ETIME
+ #endif
+ #if (defined(ILU_POSIX_THREADS) || defined(ILU_DCE_THREADS))
+! err == ETIME /* on Solaris 2 */
+! || err == ETIMEDOUT /* on Linux, AIX */
+ #endif
+ #ifdef ILU_WIN32_THREADS
+ err == WAIT_TIMEOUT
+--- 1151,1160 ----
+ err == ETIME
+ #endif
+ #if (defined(ILU_POSIX_THREADS) || defined(ILU_DCE_THREADS))
+! #ifndef __FreeBSD__
+! err == ETIME || /* on Solaris 2 */
+! #endif
+! err == ETIMEDOUT /* on Linux, AIX, FreeBSD */
+ #endif
+ #ifdef ILU_WIN32_THREADS
+ err == WAIT_TIMEOUT
diff --git a/devel/ilu/files/shlib-aout.patch b/devel/ilu/files/shlib-aout.patch
new file mode 100644
index 000000000000..79d1f9591a1f
--- /dev/null
+++ b/devel/ilu/files/shlib-aout.patch
@@ -0,0 +1,225 @@
+diff -r -c ./etc/CosNaming/Imakefile /home/cracauer/work/ilu2patch/./etc/CosNaming/Imakefile
+*** ./etc/CosNaming/Imakefile Thu Sep 25 23:32:29 1997
+--- /home/cracauer/work/ilu2patch/./etc/CosNaming/Imakefile Tue Oct 7 13:52:22 1997
+***************
+*** 59,66 ****
+--- 59,68 ----
+ /******/
+
+ LibraryTarget(libCosNaming-c.a, CosNaming-surrogate.o CosNaming-common.o)
++ SLibraryTarget(libCosNaming-c.so.1.0, CosNaming-surrogate.o CosNaming-common.o)
+
+ InstallLibrary(libCosNaming-c.a, $(DESTDIR)/lib)
++ InstallSLibrary(libCosNaming-c.so.1.0, $(DESTDIR)/lib)
+ InstallRO(CosNaming.h, $(DESTDIR)/include)
+ #endif
+
+diff -r -c ./etc/portmapper/Imakefile /home/cracauer/work/ilu2patch/./etc/portmapper/Imakefile
+*** ./etc/portmapper/Imakefile Thu Sep 25 23:32:22 1997
+--- /home/cracauer/work/ilu2patch/./etc/portmapper/Imakefile Tue Oct 7 13:52:00 1997
+***************
+*** 45,49 ****
+--- 45,51 ----
+ portmap.o : SunPortMapper.h portmap.c ${ILUHEADERFILES}
+
+ LibraryTarget(libsunportmapper.a, SunPortMapper-surrogate.o SunPortMapper-common.o portmap.o)
++ SLibraryTarget(libsunportmapper.so.1.0, SunPortMapper-surrogate.o SunPortMapper-common.o portmap.o)
+ InstallLibrary(libsunportmapper.a, $(DESTDIR)/lib)
++ InstallSLibrary(libsunportmapper.so.1.0, $(DESTDIR)/lib)
+ InstallRO(ilusunportmapper.h, $(DESTDIR)/include)
+diff -r -c ./imake/ilu.rules /home/cracauer/work/ilu2patch/./imake/ilu.rules
+*** ./imake/ilu.rules Thu Sep 25 23:33:55 1997
+--- /home/cracauer/work/ilu2patch/./imake/ilu.rules Tue Oct 7 16:44:30 1997
+***************
+*** 411,416 ****
+--- 411,422 ----
+ $(AR) $@ objs @@\
+ $(RANLIB) $@
+
++ #define SLibraryTarget(library, objs) @@\
++ all:: library @@\
++ library: objs @@\
++ $(RM) $@ @@\
++ $(LDSHARED) -o $@ objs
++
+ /*
+ * This section added for Linux shared libs
+ */
+***************
+*** 473,479 ****
+ #define ILUCPlusPlusProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs $(ILUCPLUSPLUSLIBS) @@\
+ $(RM) $@ @@\
+ $(CPLUSPLUS_COMMAND) $(CFLAGS) -o $@ objs libs $(ILUCPLUSPLUSLIBS) syslibs $(CPLUSPLUS_LIBRARIES) $(SYSAUX_LIBRARIES) -lm @@\
+ @@\
+--- 479,485 ----
+ #define ILUCPlusPlusProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs @@\
+ $(RM) $@ @@\
+ $(CPLUSPLUS_COMMAND) $(CFLAGS) -o $@ objs libs $(ILUCPLUSPLUSLIBS) syslibs $(CPLUSPLUS_LIBRARIES) $(SYSAUX_LIBRARIES) -lm @@\
+ @@\
+***************
+*** 493,499 ****
+ #define ILUCProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs $(ILUCLIBS) @@\
+ $(RM) $@ @@\
+ $(CC) $(CFLAGS) -o $@ objs libs $(ILUCLIBS) syslibs $(ANSI_C_LIBRARY) $(SYSAUX_LIBRARIES) $(WORKAROUND_LOCAL_GCC_INSTALLATION_BUG) @@\
+ @@\
+--- 499,505 ----
+ #define ILUCProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs @@\
+ $(RM) $@ @@\
+ $(CC) $(CFLAGS) -o $@ objs libs $(ILUCLIBS) syslibs $(ANSI_C_LIBRARY) $(SYSAUX_LIBRARIES) $(WORKAROUND_LOCAL_GCC_INSTALLATION_BUG) @@\
+ @@\
+***************
+*** 671,676 ****
+--- 677,689 ----
+ RANLIBRULE(dest)
+ #endif /* sgi */
+
++ #define InstallSLibraries(libs, dest) @@\
++ install.time:: libs @@\
++ @(case '$(MFLAGS)' in *[i]*) set +e;; esac; \ @@\
++ for i in $?; do \ @@\
++ (set -x; \ @@\
++ $(INSTALL) $(INSTLIBFLAGS) $$i dest/$$i); done)
++
+ #define InstallM3Library(lib, dest) @@\
+ InstallLibraries(lib.a,dest) @@\
+ InstallFiles(lib.ax,$(INSTLIBFLAGS),dest)
+***************
+*** 749,754 ****
+--- 762,770 ----
+
+ #define InstallLibrary(file, dest) @@\
+ InstallLibraries(file,dest)
++
++ #define InstallSLibrary(file, dest) @@\
++ InstallSLibraries(file,dest)
+
+ #define InstallMultiple(list, flags, dest) @@\
+ InstallFiles(list,flags,dest)
+diff -r -c ./imake/ilu.tmpl /home/cracauer/work/ilu2patch/./imake/ilu.tmpl
+*** ./imake/ilu.tmpl Thu Sep 25 23:33:55 1997
+--- /home/cracauer/work/ilu2patch/./imake/ilu.tmpl Tue Oct 7 14:09:29 1997
+***************
+*** 77,86 ****
+ #else
+
+ ILUCINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCLIBS = $(ILUHOME)/lib/libilu-c.a $(ILUHOME)/lib/libilu.a $(SECURITYLIBS)
+
+ ILUCPLUSPLUSINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCPLUSPLUSLIBS = $(ILUHOME)/lib/libilu-c++.a $(ILUHOME)/lib/libilu.a $(SECURITYLIBS)
+
+ JAVA_ILU_CLASS_DIR = $(ILUHOME)/lib/ilu.jar
+
+--- 77,86 ----
+ #else
+
+ ILUCINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCLIBS = -L$(ILUHOME)/lib -lilu-c -lilu $(SECURITYLIBS)
+
+ ILUCPLUSPLUSINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCPLUSPLUSLIBS = $(ILUHOME)/lib/libilu-c++.a -L$(ILUHOME)/lib -lilu $(SECURITYLIBS)
+
+ JAVA_ILU_CLASS_DIR = $(ILUHOME)/lib/ilu.jar
+
+diff -r -c ./runtime/c/Imakefile /home/cracauer/work/ilu2patch/./runtime/c/Imakefile
+*** ./runtime/c/Imakefile Thu Sep 25 23:32:00 1997
+--- /home/cracauer/work/ilu2patch/./runtime/c/Imakefile Tue Oct 7 13:53:13 1997
+***************
+*** 40,48 ****
+ OBJS = ilu.o orb.o
+
+ LibraryTarget(libilu-c.a, $(OBJS))
+
+ InstallLibrary(libilu-c.a, $(DESTDIR)/lib)
+ InstallRO(iluchdrs.h ilucstub.h, $(DESTDIR)/include)
+
+! all:: libilu-c.a
+
+--- 40,50 ----
+ OBJS = ilu.o orb.o
+
+ LibraryTarget(libilu-c.a, $(OBJS))
++ SLibraryTarget(libilu-c.so.1.0, $(OBJS))
+
+ InstallLibrary(libilu-c.a, $(DESTDIR)/lib)
++ InstallSLibrary(libilu-c.so.1.0, $(DESTDIR)/lib)
+ InstallRO(iluchdrs.h ilucstub.h, $(DESTDIR)/include)
+
+! all:: libilu-c.a libilu-c.so.1.0
+
+diff -r -c ./runtime/kernel/Imakefile /home/cracauer/work/ilu2patch/./runtime/kernel/Imakefile
+*** ./runtime/kernel/Imakefile Thu Sep 25 23:31:04 1997
+--- /home/cracauer/work/ilu2patch/./runtime/kernel/Imakefile Tue Oct 7 13:53:02 1997
+***************
+*** 242,251 ****
+--- 242,259 ----
+ opaqval.o : $(PVTIFC) ilutypes.h opaqval.c
+
+ libilu.a : $(MF)
++ libilu.so.1.0 : $(MF)
+
+ LibraryTarget(libilu.a, $(OBJS))
+ InstallLibrary(libilu.a, $(DESTDIR)/lib)
++ SLibraryTarget(libilu.so.1.0, $(OBJS))
++ InstallSLibrary(libilu.so.1.0, $(DESTDIR)/lib)
+ InstallRO($(PVTIFC), $(DESTDIR)/include)
++
++ libilu.so: $(OBJS)
++ $(RM) $@
++ ld -Bshareable -o $@ $(OBJS)
++
+
+ CProgramTarget(iluhashm,iluhashm.o,,)
+ CProgramTarget(decoderr,decoderr.o,,)
+diff -r -c ./stubbers/parser/Imakefile /home/cracauer/work/ilu2patch/./stubbers/parser/Imakefile
+*** ./stubbers/parser/Imakefile Thu Sep 25 23:29:51 1997
+--- /home/cracauer/work/ilu2patch/./stubbers/parser/Imakefile Tue Oct 7 13:53:31 1997
+***************
+*** 40,45 ****
+--- 40,46 ----
+ #endif
+
+ LibraryTarget(libilu-parser.a, iluparse.o typeuid.o shs.o pathname.o malloc.o util.o aprintf.o $(IDLOBJS))
++ SLibraryTarget(libilu-parser.so.1.0, iluparse.o typeuid.o shs.o pathname.o malloc.o util.o aprintf.o $(IDLOBJS))
+ ProgramTarget(islscan, scan.o, libilu-parser.a,)
+
+ iluconf.h : ../../runtime/kernel/iluconf.h
+***************
+*** 63,68 ****
+--- 64,70 ----
+
+ InstallProgram(islscan, $(DESTDIR)/bin)
+ InstallRO(libilu-parser.a, $(DESTDIR)/lib)
++ InstallRO(libilu-parser.so.1.0, $(DESTDIR)/lib)
+ InstallRO(iluptype.h, $(DESTDIR)/include)
+ InstallRO(ilu.isl, $(DESTDIR)/interfaces)
+ InstallRO(iluhttp.isl, $(DESTDIR)/interfaces)
+***************
+*** 85,91 ****
+ make genregs
+ -rm -f ../../runtime/kernel/ilutpcod.c ../../runtime/kernel/ilutpcod.h
+ ./genregs "../../runtime/kernel/ilutpcod"
+! -rm -f genregs *.o *.a
+ $(DISTCLEAN)
+
+ genregs: version.h genregs.o libilu-parser.a
+--- 87,93 ----
+ make genregs
+ -rm -f ../../runtime/kernel/ilutpcod.c ../../runtime/kernel/ilutpcod.h
+ ./genregs "../../runtime/kernel/ilutpcod"
+! -rm -f genregs *.o *.a *.so *.so.*.*
+ $(DISTCLEAN)
+
+ genregs: version.h genregs.o libilu-parser.a
diff --git a/devel/ilu/files/shlib-elf.patch b/devel/ilu/files/shlib-elf.patch
new file mode 100644
index 000000000000..0f611bad92f6
--- /dev/null
+++ b/devel/ilu/files/shlib-elf.patch
@@ -0,0 +1,225 @@
+diff -r -c ./etc/CosNaming/Imakefile /home/cracauer/work/ilu2patch/./etc/CosNaming/Imakefile
+*** ./etc/CosNaming/Imakefile Thu Sep 25 23:32:29 1997
+--- /home/cracauer/work/ilu2patch/./etc/CosNaming/Imakefile Tue Oct 7 13:52:22 1997
+***************
+*** 59,66 ****
+--- 59,68 ----
+ /******/
+
+ LibraryTarget(libCosNaming-c.a, CosNaming-surrogate.o CosNaming-common.o)
++ SLibraryTarget(libCosNaming-c.so.1, CosNaming-surrogate.o CosNaming-common.o)
+
+ InstallLibrary(libCosNaming-c.a, $(DESTDIR)/lib)
++ InstallSLibrary(libCosNaming-c.so.1, $(DESTDIR)/lib)
+ InstallRO(CosNaming.h, $(DESTDIR)/include)
+ #endif
+
+diff -r -c ./etc/portmapper/Imakefile /home/cracauer/work/ilu2patch/./etc/portmapper/Imakefile
+*** ./etc/portmapper/Imakefile Thu Sep 25 23:32:22 1997
+--- /home/cracauer/work/ilu2patch/./etc/portmapper/Imakefile Tue Oct 7 13:52:00 1997
+***************
+*** 45,49 ****
+--- 45,51 ----
+ portmap.o : SunPortMapper.h portmap.c ${ILUHEADERFILES}
+
+ LibraryTarget(libsunportmapper.a, SunPortMapper-surrogate.o SunPortMapper-common.o portmap.o)
++ SLibraryTarget(libsunportmapper.so.1, SunPortMapper-surrogate.o SunPortMapper-common.o portmap.o)
+ InstallLibrary(libsunportmapper.a, $(DESTDIR)/lib)
++ InstallSLibrary(libsunportmapper.so.1, $(DESTDIR)/lib)
+ InstallRO(ilusunportmapper.h, $(DESTDIR)/include)
+diff -r -c ./imake/ilu.rules /home/cracauer/work/ilu2patch/./imake/ilu.rules
+*** ./imake/ilu.rules Thu Sep 25 23:33:55 1997
+--- /home/cracauer/work/ilu2patch/./imake/ilu.rules Tue Oct 7 16:44:30 1997
+***************
+*** 411,416 ****
+--- 411,422 ----
+ $(AR) $@ objs @@\
+ $(RANLIB) $@
+
++ #define SLibraryTarget(library, objs) @@\
++ all:: library @@\
++ library: objs @@\
++ $(RM) $@ @@\
++ $(LDSHARED) -o $@ objs
++
+ /*
+ * This section added for Linux shared libs
+ */
+***************
+*** 473,479 ****
+ #define ILUCPlusPlusProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs $(ILUCPLUSPLUSLIBS) @@\
+ $(RM) $@ @@\
+ $(CPLUSPLUS_COMMAND) $(CFLAGS) -o $@ objs libs $(ILUCPLUSPLUSLIBS) syslibs $(CPLUSPLUS_LIBRARIES) $(SYSAUX_LIBRARIES) -lm @@\
+ @@\
+--- 479,485 ----
+ #define ILUCPlusPlusProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs @@\
+ $(RM) $@ @@\
+ $(CPLUSPLUS_COMMAND) $(CFLAGS) -o $@ objs libs $(ILUCPLUSPLUSLIBS) syslibs $(CPLUSPLUS_LIBRARIES) $(SYSAUX_LIBRARIES) -lm @@\
+ @@\
+***************
+*** 493,499 ****
+ #define ILUCProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs $(ILUCLIBS) @@\
+ $(RM) $@ @@\
+ $(CC) $(CFLAGS) -o $@ objs libs $(ILUCLIBS) syslibs $(ANSI_C_LIBRARY) $(SYSAUX_LIBRARIES) $(WORKAROUND_LOCAL_GCC_INSTALLATION_BUG) @@\
+ @@\
+--- 499,505 ----
+ #define ILUCProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs @@\
+ $(RM) $@ @@\
+ $(CC) $(CFLAGS) -o $@ objs libs $(ILUCLIBS) syslibs $(ANSI_C_LIBRARY) $(SYSAUX_LIBRARIES) $(WORKAROUND_LOCAL_GCC_INSTALLATION_BUG) @@\
+ @@\
+***************
+*** 671,676 ****
+--- 677,689 ----
+ RANLIBRULE(dest)
+ #endif /* sgi */
+
++ #define InstallSLibraries(libs, dest) @@\
++ install.time:: libs @@\
++ @(case '$(MFLAGS)' in *[i]*) set +e;; esac; \ @@\
++ for i in $?; do \ @@\
++ (set -x; \ @@\
++ $(INSTALL) $(INSTLIBFLAGS) $$i dest/$$i); done)
++
+ #define InstallM3Library(lib, dest) @@\
+ InstallLibraries(lib.a,dest) @@\
+ InstallFiles(lib.ax,$(INSTLIBFLAGS),dest)
+***************
+*** 749,754 ****
+--- 762,770 ----
+
+ #define InstallLibrary(file, dest) @@\
+ InstallLibraries(file,dest)
++
++ #define InstallSLibrary(file, dest) @@\
++ InstallSLibraries(file,dest)
+
+ #define InstallMultiple(list, flags, dest) @@\
+ InstallFiles(list,flags,dest)
+diff -r -c ./imake/ilu.tmpl /home/cracauer/work/ilu2patch/./imake/ilu.tmpl
+*** ./imake/ilu.tmpl Thu Sep 25 23:33:55 1997
+--- /home/cracauer/work/ilu2patch/./imake/ilu.tmpl Tue Oct 7 14:09:29 1997
+***************
+*** 77,86 ****
+ #else
+
+ ILUCINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCLIBS = $(ILUHOME)/lib/libilu-c.a $(ILUHOME)/lib/libilu.a $(SECURITYLIBS)
+
+ ILUCPLUSPLUSINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCPLUSPLUSLIBS = $(ILUHOME)/lib/libilu-c++.a $(ILUHOME)/lib/libilu.a $(SECURITYLIBS)
+
+ JAVA_ILU_CLASS_DIR = $(ILUHOME)/lib/ilu.jar
+
+--- 77,86 ----
+ #else
+
+ ILUCINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCLIBS = -L$(ILUHOME)/lib -lilu-c -lilu $(SECURITYLIBS)
+
+ ILUCPLUSPLUSINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCPLUSPLUSLIBS = $(ILUHOME)/lib/libilu-c++.a -L$(ILUHOME)/lib -lilu $(SECURITYLIBS)
+
+ JAVA_ILU_CLASS_DIR = $(ILUHOME)/lib/ilu.jar
+
+diff -r -c ./runtime/c/Imakefile /home/cracauer/work/ilu2patch/./runtime/c/Imakefile
+*** ./runtime/c/Imakefile Thu Sep 25 23:32:00 1997
+--- /home/cracauer/work/ilu2patch/./runtime/c/Imakefile Tue Oct 7 13:53:13 1997
+***************
+*** 40,48 ****
+ OBJS = ilu.o orb.o
+
+ LibraryTarget(libilu-c.a, $(OBJS))
+
+ InstallLibrary(libilu-c.a, $(DESTDIR)/lib)
+ InstallRO(iluchdrs.h ilucstub.h, $(DESTDIR)/include)
+
+! all:: libilu-c.a
+
+--- 40,50 ----
+ OBJS = ilu.o orb.o
+
+ LibraryTarget(libilu-c.a, $(OBJS))
++ SLibraryTarget(libilu-c.so.1, $(OBJS))
+
+ InstallLibrary(libilu-c.a, $(DESTDIR)/lib)
++ InstallSLibrary(libilu-c.so.1, $(DESTDIR)/lib)
+ InstallRO(iluchdrs.h ilucstub.h, $(DESTDIR)/include)
+
+! all:: libilu-c.a libilu-c.so.1
+
+diff -r -c ./runtime/kernel/Imakefile /home/cracauer/work/ilu2patch/./runtime/kernel/Imakefile
+*** ./runtime/kernel/Imakefile Thu Sep 25 23:31:04 1997
+--- /home/cracauer/work/ilu2patch/./runtime/kernel/Imakefile Tue Oct 7 13:53:02 1997
+***************
+*** 242,251 ****
+--- 242,259 ----
+ opaqval.o : $(PVTIFC) ilutypes.h opaqval.c
+
+ libilu.a : $(MF)
++ libilu.so.1 : $(MF)
+
+ LibraryTarget(libilu.a, $(OBJS))
+ InstallLibrary(libilu.a, $(DESTDIR)/lib)
++ SLibraryTarget(libilu.so.1, $(OBJS))
++ InstallSLibrary(libilu.so.1, $(DESTDIR)/lib)
+ InstallRO($(PVTIFC), $(DESTDIR)/include)
++
++ libilu.so: $(OBJS)
++ $(RM) $@
++ ld -Bshareable -o $@ $(OBJS)
++
+
+ CProgramTarget(iluhashm,iluhashm.o,,)
+ CProgramTarget(decoderr,decoderr.o,,)
+diff -r -c ./stubbers/parser/Imakefile /home/cracauer/work/ilu2patch/./stubbers/parser/Imakefile
+*** ./stubbers/parser/Imakefile Thu Sep 25 23:29:51 1997
+--- /home/cracauer/work/ilu2patch/./stubbers/parser/Imakefile Tue Oct 7 13:53:31 1997
+***************
+*** 40,45 ****
+--- 40,46 ----
+ #endif
+
+ LibraryTarget(libilu-parser.a, iluparse.o typeuid.o shs.o pathname.o malloc.o util.o aprintf.o $(IDLOBJS))
++ SLibraryTarget(libilu-parser.so.1, iluparse.o typeuid.o shs.o pathname.o malloc.o util.o aprintf.o $(IDLOBJS))
+ ProgramTarget(islscan, scan.o, libilu-parser.a,)
+
+ iluconf.h : ../../runtime/kernel/iluconf.h
+***************
+*** 63,68 ****
+--- 64,70 ----
+
+ InstallProgram(islscan, $(DESTDIR)/bin)
+ InstallRO(libilu-parser.a, $(DESTDIR)/lib)
++ InstallRO(libilu-parser.so.1, $(DESTDIR)/lib)
+ InstallRO(iluptype.h, $(DESTDIR)/include)
+ InstallRO(ilu.isl, $(DESTDIR)/interfaces)
+ InstallRO(iluhttp.isl, $(DESTDIR)/interfaces)
+***************
+*** 85,91 ****
+ make genregs
+ -rm -f ../../runtime/kernel/ilutpcod.c ../../runtime/kernel/ilutpcod.h
+ ./genregs "../../runtime/kernel/ilutpcod"
+! -rm -f genregs *.o *.a
+ $(DISTCLEAN)
+
+ genregs: version.h genregs.o libilu-parser.a
+--- 87,93 ----
+ make genregs
+ -rm -f ../../runtime/kernel/ilutpcod.c ../../runtime/kernel/ilutpcod.h
+ ./genregs "../../runtime/kernel/ilutpcod"
+! -rm -f genregs *.o *.a *.so *.so.*.*
+ $(DISTCLEAN)
+
+ genregs: version.h genregs.o libilu-parser.a
ertions'>+51 | | | | | | | | | | | | 2004-04-18 S N Tejasvi <tejasvi_sn@gawab.com> Fixes bug #55208. * gui/contact-editor/e-contact-editor.c (save_contact): Do e_contact_editor_is_valid check to check the birth date and anniversary date format when user wants to save and warn him. svn path=/trunk/; revision=25883 * set exception properly on failure.Not Zed2004-05-124-4/+26 | | | | | | | | | | | | 2004-05-11 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-component.c (impl_upgradeFromVersion): set exception properly on failure. * gui/component/addressbook-migrate.c (addressbook_migrate): take a GError error return. Doesn't do anything with it ... but ... svn path=/trunk/; revision=25864 * Remove the addressbook controlDan Winship2004-05-124-169/+22 | | | | | | | | | | | | | * gui/component/GNOME_Evolution_Addressbook.server.in.in: Remove the addressbook control * gui/component/component-factory.c (factory): Remove support for the addressbook control * gui/component/addressbook-view.c: Remove all the property-bag stuff. svn path=/trunk/; revision=25856 * see if the selected group is groupwise one and setup the relative uri andSivaiah Nallagatla2004-05-112-1/+27 | | | | | | | | | | 2004-05-11 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-config.c (dialog_to_source) : see if the selected group is groupwise one and setup the relative uri and other properties into e-source svn path=/trunk/; revision=25852 * Fixes bug #44196 addressbook table view uses ASCII sortSuresh Chandrasekharan2004-05-113-2/+26 | | | | | | | | 2004-05-10 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> Fixes bug #44196 addressbook table view uses ASCII sort svn path=/trunk/; revision=25851 * Fix parts of #53466.Enver ALTIN2004-05-102-1/+6 | | | | | | | | | 2004-05-08 Enver ALTIN <enver.altin@frontsite.com.tr> * gui/component/GNOME_Evolution_Addressbook.server.in.in: Fix parts of #53466. svn path=/trunk/; revision=25830 * Implement. (init_address_record): Init textview.Hans Petter Jansson2004-05-053-277/+270 | | | | | | | | | | | | | | | | | 2004-05-05 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (init_address_textview): Implement. (init_address_record): Init textview. (fill_in_address_textview): Implement. (fill_in_address_record): Fill in textview. (extract_address_textview): Implement. (extract_address_record): Extract from textview. * gui/contact-editor/contact-editor.glade: Combine address-[12] fields into one multiline text view, as per Anna's new design. svn path=/trunk/; revision=25800 * fixup the dialog initialization.Larry Ewing2004-05-052-2/+9 | | | | | | | | | 2004-05-04 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-config.c (query_for_supported_bases): fixup the dialog initialization. svn path=/trunk/; revision=25797 * Use defaults from Anna. (im_service_default): Ditto. (email_default):Hans Petter Jansson2004-05-052-14/+37 | | | | | | | | | | | | | | | | | | | | | 2004-05-04 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (phones_default): Use defaults from Anna. (im_service_default): Ditto. (email_default): Ditto. (im_location): Renamed to common_location, as it's used by both IM and e-mail. (init_email_record_location): im_location -> common_location (init_im_record_location): Ditto. (email_index_to_location): Ditto. (im_index_to_location): Ditto. (get_email_location): Ditto. (get_im_location): Ditto. (fill_in_email_record): Consult defaults. (fill_in_im_record): Ditto. svn path=/trunk/; revision=25796 * Remove blog, add home page. (set_entry_changed_signals): Ditto.Hans Petter Jansson2004-05-053-9/+21 | | | | | | | | | | | | | | | | 2004-05-04 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (set_entry_activate_signals): Remove blog, add home page. (set_entry_changed_signals): Ditto. (setup_tab_order): Ditto. (field_mapping): Ditto. (widget_field_mappings): Ditto. * gui/contact-editor/contact-editor.glade: Replace blog with home page. svn path=/trunk/; revision=25795 * Do ref, unref in right order, so the same contact can be set twice withoutHans Petter Jansson2004-05-042-5/+21 | | | | | | | | | | | 2004-05-03 Hans Petter Jansson <hpj@ximian.com> * gui/widgets/e-minicard.c (e_minicard_set_property): Do ref, unref in right order, so the same contact can be set twice without ill effects. (e_minicard_finalize): NULL pointers after unreffing their objects. svn path=/trunk/; revision=25775 * Establish defaults for the phone number option menus.Hans Petter Jansson2004-05-042-1/+11 | | | | | | | | | | 2004-05-03 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (phones_default): Establish defaults for the phone number option menus. (fill_in_phone_record): Fall back to defaults. svn path=/trunk/; revision=25774 * Implement. (e_contact_editor_init): Hook up the help button.Hans Petter Jansson2004-05-043-14/+26 | | | | | | | | | | | | 2004-05-03 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (show_help_cb): Implement. (e_contact_editor_init): Hook up the help button. * gui/contact-editor/contact-editor.glade: Give the help button a sensible name. svn path=/trunk/; revision=25772 * bump the maximum download limit to 1000.Larry Ewing2004-05-042-1/+4 | | | | | | | | | 2004-05-03 Larry Ewing <lewing@ximian.com> * gui/component/ldap-config.glade: bump the maximum download limit to 1000. svn path=/trunk/; revision=25771 * set the email entry sesitive only when anonymous isn't selected. Make theLarry Ewing2004-05-042-4/+8 | | | | | | | | | | 2004-05-03 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-config.c (add_folder_modify): set the email entry sesitive only when anonymous isn't selected. Make the details tab insensitive if the method is local. svn path=/trunk/; revision=25770 * remove unused colorpicker.Larry Ewing2004-05-042-45/+5 | | | | | | | | 2004-05-03 Larry Ewing <lewing@ximian.com> * gui/component/ldap-config.glade: remove unused colorpicker. svn path=/trunk/; revision=25766 * missed this last timeLarry Ewing2004-05-041-1/+1 | | | | svn path=/trunk/; revision=25764 * set the config item typeJP Rosevear2004-05-032-0/+9 | | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> * gui/component/GNOME_Evolution_Addressbook.server.in.in: set the config item type svn path=/trunk/; revision=25752 * see if the selected group is groupwise one and setup the relative uri andSivaiah Nallagatla2004-05-032-1/+8 | | | | | | | | | | 2004-05-02 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-config.c (dialog_to_source) : see if the selected group is groupwise one and setup the relative uri and other properties into e-source svn path=/trunk/; revision=25740 * sensitize the details dialog where appropriate. Don't try to read fromLarry Ewing2004-05-022-7/+17 | | | | | | | | | | 2004-05-01 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-config.c: sensitize the details dialog where appropriate. Don't try to read from widgets that don't exist. svn path=/trunk/; revision=25735 * don't use "email" twice for a variable name.. even though they don'tChris Toshok2004-05-012-3/+10 | | | | | | | | | | 2004-04-30 Chris Toshok <toshok@ximian.com> * util/e-destination.c (e_destination_set_contact): don't use "email" twice for a variable name.. even though they don't really conflict, it's ugly and confusing. svn path=/trunk/; revision=25720 * Fixed a type-o.Enver ALTIN2004-05-013-2/+7 | | | | | | | | | 2004-04-30 Enver ALTIN <enver.altin@frontsite.com.tr> * gui/component/GNOME_Evolution_Addressbook.server.in.in: Fixed a type-o. svn path=/trunk/; revision=25716 * Don't dereference the file_as pointer if it turns out to be NULL.Hans Petter Jansson2004-04-292-1/+6 | | | | | | | | | 2004-04-29 Hans Petter Jansson <hpj@ximian.com> * printing/e-contact-print.c: Don't dereference the file_as pointer if it turns out to be NULL. svn path=/trunk/; revision=25682 * oops, fixed a missing )Jeffrey Stedfast2004-04-281-2/+2 | | | | svn path=/trunk/; revision=25663 * We need a migration dialog if the revision <= 10. Fixes bug #57770.Jeffrey Stedfast2004-04-282-1/+6 | | | | | | | | | 2004-04-28 Jeffrey Stedfast <fejj@ximian.com> * gui/component/addressbook-migrate.c: We need a migration dialog if the revision <= 10. Fixes bug #57770. svn path=/trunk/; revision=25661 * remove debug spew.Larry Ewing2004-04-282-8/+7 | | | | | | | | 2004-04-27 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-config.c: remove debug spew. svn path=/trunk/; revision=25640 * Migrate pilot data. (migrate_pilot_data): Oops. Apparently the addressbookJeffrey Stedfast2004-04-282-41/+8 | | | | | | | | | | | | 2004-04-27 Jeffrey Stedfast <fejj@ximian.com> * gui/component/addressbook-migrate.c (addressbook_migrate): Migrate pilot data. (migrate_pilot_data): Oops. Apparently the addressbook didn't change the format of the changelog file from db3 to xml, so fix to simply copy the file over. svn path=/trunk/; revision=25639 * fixed merge conflictsJeffrey Stedfast2004-04-281-6/+7 | | | | svn path=/trunk/; revision=25637 * Migrate pilot data.Jeffrey Stedfast2004-04-282-1/+139 | | | | | | | | | 2004-04-27 Jeffrey Stedfast <fejj@ximian.com> * gui/component/addressbook-migrate.c (addressbook_migrate): Migrate pilot data. svn path=/trunk/; revision=25636 * Update dialog vbox and action area border widths to be HIG compliantRodney Dawes2004-04-284-2/+30 | | | | | | | | | | | | | 2004-04-27 Rodney Dawes <dobey@ximian.com> * gui/contact-editor/e-contact-editor-fullname.c: (e_contact_editor_fullname_init): * gui/contact-editor/fullname.glade: * gui/search/e-addressbook-search-dialog.c (eab_search_dialog_init): Update dialog vbox and action area border widths to be HIG compliant Update main child widget border widths to be HIG compliant svn path=/trunk/; revision=25635 * fix warnings, remove unused code.Larry Ewing2004-04-272-244/+36 | | | | | | | | | 2004-04-27 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-config.c (source_to_dialog_new): fix warnings, remove unused code. svn path=/trunk/; revision=25624 * start integrate the new dialog.Larry Ewing2004-04-273-504/+1485 | | | | | | | | | | | 2004-04-27 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-component.c: start integrate the new dialog. * gui/component/ldap-config.glade: add the new dialog. svn path=/trunk/; revision=25623 * Set spacing around notebook widget and the dialog's action area and vboxRodney Dawes2004-04-273-1/+25 | | | | | | | | | | | 2004-04-26 Rodney Dawes <dobey@ximian.com> * gui/contact-editor/contact-editor.glade: * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Set spacing around notebook widget and the dialog's action area and vbox widgets to be compliant with the HIG dialog specs svn path=/trunk/; revision=25618 * add "mobile" mapping to E_CONTACT_PHONE_MOBILE, which is what thunderbirdChris Toshok2004-04-262-0/+7 | | | | | | | | | | 2004-04-25 Chris Toshok <toshok@ximian.com> * importers/evolution-ldif-importer.c (ldif_fields): add "mobile" mapping to E_CONTACT_PHONE_MOBILE, which is what thunderbird uses (and really what we should have always been using.) svn path=/trunk/; revision=25610 * The firt EMAIL item is EMAIL_1, not EMAIL (assuming we want simpleJeffrey Stedfast2004-04-242-38/+61 | | | | | | | | | | | | | | | | | | | | | 2004-04-23 Jeffrey Stedfast <fejj@ximian.com> * conduit/address-conduit.c (get_next_mail): The firt EMAIL item is EMAIL_1, not EMAIL (assuming we want simple strings). (local_record_from_ecard): Use e_contact_get() for getting the EContactAddress. Loop from FIRST_ADDRESS_ID up to and *including* LAST_ADDRESS_ID. (ecard_from_remote_record): When searching for an address field, loop from FIRST_ADDRESS_ID up to and *including* LAST_ADDRESS_ID. (pre_sync): Use e_book_query_any_field_contains() rather than e_book_query_from_string ("#t") which doesn't work anyway. 2004-04-20 Jeffrey Stedfast <fejj@ximian.com> * conduit/address-conduit.c (map_name): Updated to use ~/.evolution as the evolution directory rather than ~/evolution. svn path=/trunk/; revision=25603 * Fix the addressbook control to not crash. (Temporary fix.)Dan Winship2004-04-232-2/+13 | | | | | | | * gui/component/component-factory.c (factory): Fix the addressbook control to not crash. (Temporary fix.) svn path=/trunk/; revision=25601 * this signal takes an EContact* too. (modified_cb): same. (deleted_cb):Chris Toshok2004-04-232-25/+54 | | | | | | | | | | | | | | | 2004-04-23 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-gui-util.c (added_cb): this signal takes an EContact* too. (modified_cb): same. (deleted_cb): same. (eab_error_dialog): pad the table of status messages out with the new status codes, and don't specify gui text for messages that aren't generated by the backends. This fixes the "U" error messages people were seeing. svn path=/trunk/; revision=25598 * Correct the dialog's title.Hans Petter Jansson2004-04-233-56/+101 | | | | | | | | | | | | | | | | | | | | | 2004-04-22 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Correct the dialog's title. * gui/contact-editor/e-contact-editor.c (init_email_record_location): Connect to entry's activate signal. (init_phone_record_type): Ditto. (init_im_record_location): Ditto. (init_address_field): Ditto. (set_entry_changed_signal_field): Remove unnecessary checks. (set_urlentry_changed_signal_field): Ditto. (set_entry_changed_signals): Ditto. (set_entry_activate_signal_field): Implement. (set_urlentry_activate_signal_field): Implement. (set_entry_activate_signals): Implement. (e_contact_editor_init): Call set_entry_activate_signals (). svn path=/trunk/; revision=25590 * Override the save_contact function. (e_contact_editor_save_contact):Hans Petter Jansson2004-04-232-16/+21 | | | | | | | | | | | | | 2004-04-22 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init): Override the save_contact function. (e_contact_editor_save_contact): Implement. (e_contact_editor_init): Remove some unnecessary checks - if something's the matter with the UI files, that needs to be warned about and fixed, not silently worked around. svn path=/trunk/; revision=25589 * Make the window be a GtkDialog.Hans Petter Jansson2004-04-232-2645/+2614 | | | | | | | | | 2004-04-22 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Make the window be a GtkDialog. svn path=/trunk/; revision=25587 * Implement. (extract_email): Preserve offscreen addresses. (extract_phone):Hans Petter Jansson2004-04-222-0/+78 | | | | | | | | | | | 2004-04-21 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (free_attr_list): Implement. (extract_email): Preserve offscreen addresses. (extract_phone): Preserve offscreen phone numbers. (extract_im): Preserve offscreen IM accounts. svn path=/trunk/; revision=25571 * Add defines for the slot counts for email, phone, im, address. (phones):Hans Petter Jansson2004-04-222-77/+221 | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-21 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c: Add defines for the slot counts for email, phone, im, address. (phones): Add E_CONTACT_PHONE_COMPANY back in, now that we can differentiate it. (init_email): Use EMAIL_SLOTS and a loop. (init_im): Ditto for IM_SLOTS. (init_phone): Ditto for PHONE_SLOTS. (fill_in_address) (extract_address) (init_address): Ditto for ADDRESS_SLOTS. (get_ui_slot_param): Implement. (get_ui_slot): Implement. (set_ui_slot): Implement. (alloc_ui_slot): Implement. (fill_in_email): Add code to preserve spatial organization. (extract_email): Ditto. (fill_in_phone): Ditto. (extract_phone): Ditto. (fill_in_im): Ditto. (exctract_im): Ditto. svn path=/trunk/; revision=25570 * store off the label as well as the folder name label, so we can reuse theChris Toshok2004-04-222-32/+195 | | | | | | | | | | | | | | | | | | | | | | 2004-04-21 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (setup_progress_dialog): store off the label as well as the folder name label, so we can reuse the dialog and update the label. Also, no longer take the string to display here. (dialog_set_label): new function. (migrate_contact_lists_for_local_folders): call dialog_set_folder_name here so we can see the folder being migrated. (migrate_company_phone_for_local_folders): new function for updating the way we store company phone numbers. (addressbook_migrate): split out the logic for setting up/tearing down the dialog from the individual migration points so we can reuse the same dialog and not have get destroyed/recreated for each stage. Also add a new migration point ( <= 1.5.8) for migrating the company phone numbers. svn path=/trunk/; revision=25567 * added a new function to striff off any parameters present after ';' in theSivaiah Nallagatla2004-04-212-3/+31 | | | | | | | | | | | 2004-04-21 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook.c (remove_parameters_from_uri) : added a new function to striff off any parameters present after ';' in the uri (load_source_auth_cb) (addressbook_authenticate) : call above function to remove anything after ';' before passing uri to e-password calls svn path=/trunk/; revision=25560 * Remove unused fields.Hans Petter Jansson2004-04-213-88/+13 | | | | | | | | | | | | | | | 2004-04-21 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.h (EContactEditor): Remove unused fields. * gui/contact-editor/e-contact-editor.c (emails): Remove. (e_contact_editor_init): Don't init unused fields. (e_contact_editor_dispose): Don't free/clear unused fields. (enable_writable_fields): Don't use email_choice anymore. Enable checkbutton-htmlmail only once. svn path=/trunk/; revision=25550 * Make the phone type selectors be option menus.Hans Petter Jansson2004-04-213-380/+310 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-21 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Make the phone type selectors be option menus. * gui/contact-editor/e-contact-editor.c (phones): Store the phone param mappings locally. (set_entry_changed_signals): Don't special-case phone entries here. (enable_writable_fields): Don't mess with the phone widgets anymore. (set_fields): Use fill_in_phone (). (extract_info): Use extract_phone (). (phone_index_to_type): Implement. (get_phone_type): Implement. (get_attributes_named): Implement. (set_attributes_named): Implement. (fill_in_phone_record): Implement. (extract_phone_record): Implement. (fill_in_phone): Implement. (extract_phone): Implement. (init_phone_record_type): Implement. (init_phone): Implement. (connect_arrow_button_signal): Remove. (connect_arrow_button_signals): Remove. (phone_entry_changed): Remove. (set_entry_changed_signal_phone): Remove. (_arrow_pressed): Remove. (_phone_arrow_pressed): Remove. (e_contact_editor_build_ui_info): Remove. (e_contact_editor_build_phone_ui): Remove. (set_phone_field): Remove. svn path=/trunk/; revision=25549 * fix for e_user_creatable_items handle api changes.Not Zed2004-04-212-1/+6 | | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-view.c (addressbook_view_init): fix for e_user_creatable_items handle api changes. svn path=/trunk/; revision=25546 * use cursor-mode="line" to get rid of the annoying cell cursor.Chris Toshok2004-04-214-4/+18 | | | | | | | | | | | | | | | | 2004-04-20 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.etspec: use cursor-mode="line" to get rid of the annoying cell cursor. * gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget): create the image chooser even if we aren't given an initial filename. * gui/contact-editor/e-contact-editor.c (new_target_cb): addressbook_show_load_error_dialog -> eab_load_error_dialog. svn path=/trunk/; revision=25538 * Set the default image for the contact photo to be the stock_person imageRodney Dawes2004-04-1916-93/+126 | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-19 Rodney Dawes <dobey@ximian.com> * gui/contact-editor/contact-editor.glade: Set the default image for the contact photo to be the stock_person image in the icon theme 2004-04-19 Michael Terry <mike@mterry.name> * gui/component/GNOME_Evolution_Addressbook.server.in.in: * gui/component/addressbook-component.c: * gui/component/addressbook-view.c: * gui/component/select-names/e-select-names-popup.c: * gui/contact-editor/e-contact-editor-address.c: * gui/contact-editor/e-contact-editor-fullname.c: * gui/contact-editor/e-contact-editor-im.c: * gui/contact-list-editor/contact-list-editor.glade: * gui/contact-list-editor/e-contact-list-editor.c: * gui/merging/eab-contact-commit-duplicate-detected.glade: * gui/merging/eab-contact-duplicate-detected.glade: * gui/widgets/e-minicard.c: * gui/widgets/eab-contact-display.c: * gui/widgets/eab-gui-util.c: Update the addressbook to use the icon theme via the EIconFactory object in e-util svn path=/trunk/; revision=25514 * new macro. (extract_email): only create/add the attribute if the emailChris Toshok2004-04-182-16/+42 | | | | | | | | | | | | 2004-04-18 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (nonempty): new macro. (extract_email): only create/add the attribute if the email address is nonempty. (extract_im): same, but for im accounts. (extract_address_record): same, but for addresses. svn path=/trunk/; revision=25502 * Add "wants HTML" checkbox.Hans Petter Jansson2004-04-173-291/+47 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-16 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Add "wants HTML" checkbox. * gui/contact-editor/contact-editor.c (email_location_to_index) (email_entry_changed) (set_entry_changed_signal_email) (file_save_cb) (file_close_cb) (file_save_as_cb) (file_send_as_cb) (file_send_to_cb) (contact_deleted_cb) (delete_cb) (print_cb) (print_envelope_cb) (tb_save_and_close_cb) (verbs) (pixmaps) (create_ui): Remove unused funcs. (command_state_changed): Remove bonobo calls. (e_contact_editor_init): Remove bonobo stuff. (fill_in_email) (fill_in_im): Remove unused vars. svn path=/trunk/; revision=25498 * new function, use the async interface to load the book.Chris Toshok2004-04-172-22/+42 | | | | | | | | | | | 2004-04-16 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (book_loaded_cb): new function, use the async interface to load the book. (impl_requestCreateItem): use e_book_async_get_default_addressbook. svn path=/trunk/; revision=25496 * Commit new contact editor UI by Anna.Hans Petter Jansson2004-04-163-3370/+3552 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-16 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Commit new contact editor UI by Anna. * gui/contact-editor/e-contact-editor.c: Comment out bonobo includes. (_email_arrow_pressed) (_address_arrow_pressed) (set_im_fields) (find_address_mailing) (set_address_field) (add_im_clicked) (edit_im_clicked) (remove_im_clicked) (im_button_press_cb) (im_selected_cb) (im_treeview_drag_data_get_cb) (im_treeview_drag_data_rcv_cb) (setup_im_treeview) (email_entry_changed) (address_to_text) (text_to_address) (address_text_changed) (address_mailing_changed) (full_addr_clicked) (e_contact_editor_build_email_ui) (e_contact_editor_build_address_ui) (_email_arrow_pressed) (_address_arrow_pressed) (find_address_mailing) (add_im_field) (set_im_fields) (set_address_field): Removed. (address_name) (im_service) (im_location): Add lookup structs. (init_email_record_location) (init_email) (fill_in_email_record) (extract_email_record) (email_location_to_index) (email_index_to_location) (im_index_to_location) (get_email_location) (get_im_location) (fill_in_email) (extract_email) (init_im_record_location) (init_im_record_service) (init_im) (fill_in_im_record) (fill_in_im) (extract_im_record) (extract_im) (init_address_field) (init_address_record) (init_address) (fill_in_address_field) (fill_in_address_record) (fill_in_address) (extract_address_field) (extract_address_record) (extract_address) (file_save_and_close_cb) (file_cancel_cb) (set_entry_text): Implemented. (connect_arrow_button_signals): Updated some widget names. (set_entry_changed_signals): Removed dead widgets, updated names for others. (print_cb) (tb_save_and_close_cb) (create_ui): Disabled Bonobo toolbar/menus. (e_contact_editor_init): Disabled Bonobo toolbar/menus. Init new UI elements. Remove init of old UI elements. (command_state_changed): Disabled Bonobo toolbar/menus. Act on new ok/cancel buttons. (_phone_arrow_pressed): Updated widget names. (set_phone_field): Use set_entry_text (). (set_fields): Update widget names, remove old address code, call new fill_in_* code. (field_mapping): Remove dead widgets. (widget_field_mapping): Ditto. (enable_writable_fields): Remove calls for old email/address UI. Update some names. (fill_in_info): Don't find_address_mailing() or set_im_fields(). (extract_info): Call new extraction funcs. svn path=/trunk/; revision=25492 * force the info label to update its contents here if the load wasChris Toshok2004-04-154-3/+21 | | | | | | | | | | | | | | | | | 2004-04-14 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-view.c (book_open_cb): force the info label to update its contents here if the load was successful. * gui/component/addressbook-migrate.c (migration_context_new): use e_book_get_addressbooks instead of getting source_list from the component. (migration_context_free): unref the source_list. * gui/component/addressbook-config.c (dialog_to_source): sync the dialog->source_list, since we have it. svn path=/trunk/; revision=25472 * rip out tons of functions - they all live in addressbook-view.c now. theChris Toshok2004-04-158-1339/+1486 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-14 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c: rip out tons of functions - they all live in addressbook-view.c now. the only thing left in this file is the addressbook_load* calls that do authentication. * gui/component/addressbook.h: remove prototypes for addressbook_new_control and addressbook_load_uri (it was #if 0'ed anyway.) * gui/component/addressbook-component.h: remove prototypes for _peek_activity_handler and _peek_source_list. * gui/component/addressbook-component.c: rip out tons of functions - they all live in addressbook-view.c now. (impl_createControls): simplify this immensely. we just create an AddressbookView and get the various widgets/controls from it. (impl_requestCreateItem): this function loses slightly - it needs per-window info (the selected source) but there's no way to get it. So we load the default book. Also, this uses a synchronous e_book call to load the book, which is not good. (addressbook_component_peek_source_list): nuke, not used by anything anyway. (addressbook_component_peek_activity_handler): nuked, not used by anything - and it's per-window anyway. * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): add addressbook-view.[ch]. * gui/component/addressbook-view.[ch]: rip out all of the per window stuff from addressbook.[ch] and addressbook-component.[ch] and put it here. svn path=/trunk/; revision=25471 * disable the map link for 2.0.Chris Toshok2004-04-142-0/+9 | | | | | | | | | 2004-04-13 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-contact-display.c (accum_address): disable the map link for 2.0. svn path=/trunk/; revision=25447 * add GDK_ACTION_COPY to the supported drag types. Connect to theLarry Ewing2004-04-132-2/+44 | | | | | | | | | | | 2004-04-13 Larry Ewing <lewing@ximian.com> * gui/widgets/e-addressbook-view.c (create_table_view): add GDK_ACTION_COPY to the supported drag types. Connect to the table_drag_data_delete callback. (table_drag_data_delete): remove the drag rows. svn path=/trunk/; revision=25427 * added a check for new auth type "plain/password" for groupwise inSivaiah Nallagatla2004-04-132-0/+8 | | | | | | | | | | 2004-04-13 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook.c (addressbook_authenicate): added a check for new auth type "plain/password" for groupwise in addressbook_authenicate function svn path=/trunk/; revision=25425 * treat "" the same as NULL (don't add it to the list).Chris Toshok2004-04-132-1/+6 | | | | | | | | | 2004-04-12 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-popup-control.c (email_menu_add_option): treat "" the same as NULL (don't add it to the list). svn path=/trunk/; revision=25424 * quiet valgrind uninitialized memory warning.Chris Toshok2004-04-132-0/+6 | | | | | | | | | 2004-04-12 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (addressbook_load_default_book): quiet valgrind uninitialized memory warning. svn path=/trunk/; revision=25423 * [ should fix #56537 ]Chris Toshok2004-04-133-32/+29 | | | | | | | | | | | | | | | | | | 2004-04-12 Chris Toshok <toshok@ximian.com> [ should fix #56537 ] * gui/widgets/eab-popup-control.c (EMPTY_ENTRY): use _(), not N_() here. (email_menu_add_options_from_contact): and g_strdup it here, so that the g_list_foreach (... g_free ..) doesn't cause things to blow up. (email_menu_unset_options): nuke ifdefed function. * gui/widgets/eab-popup-control.h: don't include gtk.h, include just what we need. svn path=/trunk/; revision=25422 * add prototypes for eab_load_error_dialog and eab_search_result_dialog.Chris Toshok2004-04-115-103/+134 | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-10 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-gui-util.h: add prototypes for eab_load_error_dialog and eab_search_result_dialog. * gui/widgets/eab-gui-util.c (eab_load_error_dialog): the new addressbook_show_load_error_dialog. (eab_search_result_dialog): new function, the old contents of addressbook.c:search_result. * gui/component/addressbook.c (addressbook_show_load_error_dialog): move this function to eab-gui-utils.[ch] (search_result): split out the body of this into eab_search_result_dialog in eab-gui-utils.[ch]. (book_open_cb): call eab_load_error_dialog. * gui/component/addressbook.h: remove prototype for addressbook_show_load_error_dialog. svn path=/trunk/; revision=25409 * remove the e_destination_get_book api, since the function doesn't exist.Chris Toshok2004-04-112-1/+5 | | | | | | | | | 2004-04-10 Chris Toshok <toshok@ximian.com> * util/e-destination.h: remove the e_destination_get_book api, since the function doesn't exist. svn path=/trunk/; revision=25408 * bump version required to 8 for the contact list migration foo.Chris Toshok2004-04-102-1/+6 | | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (addressbook_migrate): bump version required to 8 for the contact list migration foo. svn path=/trunk/; revision=25401 * pass GDK_CURRENT_TIME instead of a function pointer to "time" toChris Toshok2004-04-102-11/+31 | | | | | | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (selector_tree_drag_motion): pass GDK_CURRENT_TIME instead of a function pointer to "time" to gdk_drag_status. not sure if this is right, but it's definitely more right than it was :) (impl_createControls): create the info label and add it to the sidebar control. it's not hooked up yet. svn path=/trunk/; revision=25399 * use the new e_destination_export_to_vcard_attribute call to build up theChris Toshok2004-04-1023-475/+521 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * importers/evolution-ldif-importer.c (resolve_list_card): use the new e_destination_export_to_vcard_attribute call to build up the attributes. * importers/evolution-vcard-importer.c (process_item_fn): if we're importing a vcard that we wrote out previously containing xml in the EMAIL attributes, DTRT and strip it out and use e_destination_export_to_vcard_attribute to build up the proper attribute. * util/Makefile.am (libeabutil_la_SOURCES): remove eab-destination.[ch] and add e-destination.[ch]. * printing/e-contact-print.c (e_contact_print_contact): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/widgets/eab-gui-util.c (eab_send_contact_list): just use the value as the address (since that's what it is) in the list case. * gui/widgets/eab-contact-display.c (render_contact_list): remove the EABDestination stuff from here. (eab_contact_display_render_compact): same. * gui/widgets/e-minicard.c (activiate_editor): fix warnings - use EAB_EDITOR instead of G_OBJECT. (add_field): we don't have to worry about the "<?xml..." EMAIL fields anymore. (remodel): same. * gui/widgets/e-addressbook-treeview-adapter.c (adapter_get_value): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/contact-list-editor/e-contact-list-model.c (contact_list_value_at): eab->e. (contact_list_model_dispose): we're not a GtkObject, we're a GObject. rename _destroy to _dispose, and chain up to the parent class's ::dispose. (e_contact_list_model_class_init): GtkObject -> GObject, and destroy -> dispose. (e_contact_list_model_init): GtkObject -> GObject, and EAB -> E. (e_contact_list_model_add_destination): EAB -> E. (e_contact_list_model_add_email): same. (e_contact_list_model_add_contact): same. (e_contact_list_model_get_destination): same. * gui/contact-list-editor/e-contact-list-editor.c (table_drag_data_received_cb): add email num arg to e_contact_list_model_add_contact. (extract_info): fill in the vcard attributes instead of just generating xml. (fill_in_info): extract the values from the vcard attributes. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): eab->e, and don't sometimes copy, sometimes ::new. always ::new. (e_select_names_text_model_delete): same. (e_select_names_text_model_obj_count): same. (nth_obj_index): same. * gui/component/select-names/e-select-names-table-model.c (fill_in_info): eab -> e. * gui/component/select-names/e-select-names-popup.c (make_contact_editor_cb): eab -> e. (change_email_num_cb): same. (toggle_html_mail_cb): same. (populate_popup_contact): same, and remove code that checks for <?xml, then imports the EDestination. (quick_add_cb): eab -> e. (populate_popup_nocontact): same. (e_select_names_populate_popup): same. * gui/component/select-names/e-select-names-model.h: eab -> e, and remove prototypes for nuked functions. * gui/component/select-names/e-select-names-model.c (destination_changed_proxy, send_changed, connect_destination, disconnect_destination): nuke. (e_select_names_model_duplicate): EAB -> E. (e_select_names_model_get_textification): same. (e_select_names_model_get_address_text): same. (e_select_names_model_get_destination): same. (e_select_names_model_export_destinationv): same. (send_changed): same. (e_select_names_model_import_destinationv): same. (e_select_names_model_get_contact): same. (e_select_names_model_contains): same. (e_select_names_model_insert): same, and remove call to connect_destination. (e_select_names_model_append): same. (e_select_names_model_replace): same, and remove call to disconnect/connect_destination. (e_select_names_model_delete): same. (delete_all_iter): nuke. (e_select_names_model_delete_all): use g_object_unref for the foreach call. (e_select_names_model_merge): EAB -> E. (e_select_names_model_name_pos): same. (e_select_names_model_name_pos): same. (e_select_names_model_load_all_contacts): nuke. (e_select_names_model_cancel_all_contact_load): nuke. * gui/component/select-names/e-select-names-manager.c (clean_cb, focus_in_cb, focus_out_cb, completion_popup_cb): nuke. (completion_handler): EAB -> E, and the signals are gone. * gui/component/select-names/e-select-names-completion.c: in general, s/eab_dest/e_dest and s/EABDest/EDest. (e_select_names_completion_got_book_view_cb): move the e_book_view_start to below the assignment of sequence_complete_received, just to put my mind at ease. (e_select_names_completion_stop_query): un-#if notyet the call to e_book_cancel. (e_select_names_completion_start_query): free the waiting_query before assigning to it. * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): remove calls to e_select_names_model_load_all_contacts, since that function is dead. * gui/component/addressbook-migrate.c (setup_progress_dialog): take the label to display to the user as an arg. (migrate_contact_lists_for_local_folders): loop over all contacts in all local addressbooks looking for ones that have <?xml in their EMAIL attributes. for the ones we find, call e_destination_export_to_vcard_attribute to build up the proper attribute. (addressbook_migrate): add in a clause for all versions under 1.5.7 to convert contact lists. also, move the unrefs of the sources/groups to outside the if, as they're created outside it. * gui/component/Makefile.am (INCLUDES): remove the addressbook/backend/ dirs, since libebook isn't there anymore (nothing is, actually). Add addressbook/util/. svn path=/trunk/; revision=25390 * use the new e_destination_export_to_vcard_attribute call to build up theChris Toshok2004-04-102-1723/+0 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * importers/evolution-ldif-importer.c (resolve_list_card): use the new e_destination_export_to_vcard_attribute call to build up the attributes. * importers/evolution-vcard-importer.c (process_item_fn): if we're importing a vcard that we wrote out previously containing xml in the EMAIL attributes, DTRT and strip it out and use e_destination_export_to_vcard_attribute to build up the proper attribute. * util/Makefile.am (libeabutil_la_SOURCES): remove eab-destination.[ch] and add e-destination.[ch]. * printing/e-contact-print.c (e_contact_print_contact): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/widgets/eab-gui-util.c (eab_send_contact_list): just use the value as the address (since that's what it is) in the list case. * gui/widgets/eab-contact-display.c (render_contact_list): remove the EABDestination stuff from here. (eab_contact_display_render_compact): same. * gui/widgets/e-minicard.c (activiate_editor): fix warnings - use EAB_EDITOR instead of G_OBJECT. (add_field): we don't have to worry about the "<?xml..." EMAIL fields anymore. (remodel): same. * gui/widgets/e-addressbook-treeview-adapter.c (adapter_get_value): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/contact-list-editor/e-contact-list-model.c (contact_list_value_at): eab->e. (contact_list_model_dispose): we're not a GtkObject, we're a GObject. rename _destroy to _dispose, and chain up to the parent class's ::dispose. (e_contact_list_model_class_init): GtkObject -> GObject, and destroy -> dispose. (e_contact_list_model_init): GtkObject -> GObject, and EAB -> E. (e_contact_list_model_add_destination): EAB -> E. (e_contact_list_model_add_email): same. (e_contact_list_model_add_contact): same. (e_contact_list_model_get_destination): same. * gui/contact-list-editor/e-contact-list-editor.c (table_drag_data_received_cb): add email num arg to e_contact_list_model_add_contact. (extract_info): fill in the vcard attributes instead of just generating xml. (fill_in_info): extract the values from the vcard attributes. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): eab->e, and don't sometimes copy, sometimes ::new. always ::new. (e_select_names_text_model_delete): same. (e_select_names_text_model_obj_count): same. (nth_obj_index): same. * gui/component/select-names/e-select-names-table-model.c (fill_in_info): eab -> e. * gui/component/select-names/e-select-names-popup.c (make_contact_editor_cb): eab -> e. (change_email_num_cb): same. (toggle_html_mail_cb): same. (populate_popup_contact): same, and remove code that checks for <?xml, then imports the EDestination. (quick_add_cb): eab -> e. (populate_popup_nocontact): same. (e_select_names_populate_popup): same. * gui/component/select-names/e-select-names-model.h: eab -> e, and remove prototypes for nuked functions. * gui/component/select-names/e-select-names-model.c (destination_changed_proxy, send_changed, connect_destination, disconnect_destination): nuke. (e_select_names_model_duplicate): EAB -> E. (e_select_names_model_get_textification): same. (e_select_names_model_get_address_text): same. (e_select_names_model_get_destination): same. (e_select_names_model_export_destinationv): same. (send_changed): same. (e_select_names_model_import_destinationv): same. (e_select_names_model_get_contact): same. (e_select_names_model_contains): same. (e_select_names_model_insert): same, and remove call to connect_destination. (e_select_names_model_append): same. (e_select_names_model_replace): same, and remove call to disconnect/connect_destination. (e_select_names_model_delete): same. (delete_all_iter): nuke. (e_select_names_model_delete_all): use g_object_unref for the foreach call. (e_select_names_model_merge): EAB -> E. (e_select_names_model_name_pos): same. (e_select_names_model_name_pos): same. (e_select_names_model_load_all_contacts): nuke. (e_select_names_model_cancel_all_contact_load): nuke. * gui/component/select-names/e-select-names-manager.c (clean_cb, focus_in_cb, focus_out_cb, completion_popup_cb): nuke. (completion_handler): EAB -> E, and the signals are gone. * gui/component/select-names/e-select-names-completion.c: in general, s/eab_dest/e_dest and s/EABDest/EDest. (e_select_names_completion_got_book_view_cb): move the e_book_view_start to below the assignment of sequence_complete_received, just to put my mind at ease. (e_select_names_completion_stop_query): un-#if notyet the call to e_book_cancel. (e_select_names_completion_start_query): free the waiting_query before assigning to it. * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): remove calls to e_select_names_model_load_all_contacts, since that function is dead. * gui/component/addressbook-migrate.c (setup_progress_dialog): take the label to display to the user as an arg. (migrate_contact_lists_for_local_folders): loop over all contacts in all local addressbooks looking for ones that have <?xml in their EMAIL attributes. for the ones we find, call e_destination_export_to_vcard_attribute to build up the proper attribute. (addressbook_migrate): add in a clause for all versions under 1.5.7 to convert contact lists. also, move the unrefs of the sources/groups to outside the if, as they're created outside it. * gui/component/Makefile.am (INCLUDES): remove the addressbook/backend/ dirs, since libebook isn't there anymore (nothing is, actually). Add addressbook/util/. svn path=/trunk/; revision=25389 * is Toshok <toshok@ximian.com>Chris Toshok2004-04-101-6/+5 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * importers/evolution-ldif-importer.c (resolve_list_card): use the new e_destination_export_to_vcard_attribute call to build up the attributes. * importers/evolution-vcard-importer.c (process_item_fn): if we're importing a vcard that we wrote out previously containing xml in the EMAIL attributes, DTRT and strip it out and use e_destination_export_to_vcard_attribute to build up the proper attribute. * util/Makefile.am (libeabutil_la_SOURCES): remove eab-destination.[ch] and add e-destination.[ch]. * printing/e-contact-print.c (e_contact_print_contact): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/widgets/eab-gui-util.c (eab_send_contact_list): just use the value as the address (since that's what it is) in the list case. * gui/widgets/eab-contact-display.c (render_contact_list): remove the EABDestination stuff from here. (eab_contact_display_render_compact): same. * gui/widgets/e-minicard.c (activiate_editor): fix warnings - use EAB_EDITOR instead of G_OBJECT. (add_field): we don't have to worry about the "<?xml..." EMAIL fields anymore. (remodel): same. * gui/widgets/e-addressbook-treeview-adapter.c (adapter_get_value): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/contact-list-editor/e-contact-list-model.c (contact_list_value_at): eab->e. (contact_list_model_dispose): we're not a GtkObject, we're a GObject. rename _destroy to _dispose, and chain up to the parent class's ::dispose. (e_contact_list_model_class_init): GtkObject -> GObject, and destroy -> dispose. (e_contact_list_model_init): GtkObject -> GObject, and EAB -> E. (e_contact_list_model_add_destination): EAB -> E. (e_contact_list_model_add_email): same. (e_contact_list_model_add_contact): same. (e_contact_list_model_get_destination): same. * gui/contact-list-editor/e-contact-list-editor.c (table_drag_data_received_cb): add email num arg to e_contact_list_model_add_contact. (extract_info): fill in the vcard attributes instead of just generating xml. (fill_in_info): extract the values from the vcard attributes. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): eab->e, and don't sometimes copy, sometimes ::new. always ::new. (e_select_names_text_model_delete): same. (e_select_names_text_model_obj_count): same. (nth_obj_index): same. * gui/component/select-names/e-select-names-table-model.c (fill_in_info): eab -> e. * gui/component/select-names/e-select-names-popup.c (make_contact_editor_cb): eab -> e. (change_email_num_cb): same. (toggle_html_mail_cb): same. (populate_popup_contact): same, and remove code that checks for <?xml, then imports the EDestination. (quick_add_cb): eab -> e. (populate_popup_nocontact): same. (e_select_names_populate_popup): same. * gui/component/select-names/e-select-names-model.h: eab -> e, and remove prototypes for nuked functions. * gui/component/select-names/e-select-names-model.c (destination_changed_proxy, send_changed, connect_destination, disconnect_destination): nuke. (e_select_names_model_duplicate): EAB -> E. (e_select_names_model_get_textification): same. (e_select_names_model_get_address_text): same. (e_select_names_model_get_destination): same. (e_select_names_model_export_destinationv): same. (send_changed): same. (e_select_names_model_import_destinationv): same. (e_select_names_model_get_contact): same. (e_select_names_model_contains): same. (e_select_names_model_insert): same, and remove call to connect_destination. (e_select_names_model_append): same. (e_select_names_model_replace): same, and remove call to disconnect/connect_destination. (e_select_names_model_delete): same. (delete_all_iter): nuke. (e_select_names_model_delete_all): use g_object_unref for the foreach call. (e_select_names_model_merge): EAB -> E. (e_select_names_model_name_pos): same. (e_select_names_model_name_pos): same. (e_select_names_model_load_all_contacts): nuke. (e_select_names_model_cancel_all_contact_load): nuke. * gui/component/select-names/e-select-names-manager.c (clean_cb, focus_in_cb, focus_out_cb, completion_popup_cb): nuke. (completion_handler): EAB -> E, and the signals are gone. * gui/component/select-names/e-select-names-completion.c: in general, s/eab_dest/e_dest and s/EABDest/EDest. (e_select_names_completion_got_book_view_cb): move the e_book_view_start to below the assignment of sequence_complete_received, just to put my mind at ease. (e_select_names_completion_stop_query): un-#if notyet the call to e_book_cancel. (e_select_names_completion_start_query): free the waiting_query before assigning to it. * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): remove calls to e_select_names_model_load_all_contacts, since that function is dead. * gui/component/addressbook-migrate.c (setup_progress_dialog): take the label to display to the user as an arg. (migrate_contact_lists_for_local_folders): loop over all contacts in all local addressbooks looking for ones that have <?xml in their EMAIL attributes. for the ones we find, call e_destination_export_to_vcard_attribute to build up the proper attribute. (addressbook_migrate): add in a clause for all versions under 1.5.7 to convert contact lists. also, move the unrefs of the sources/groups to outside the if, as they're created outside it. * gui/component/Makefile.am (INCLUDES): remove the addressbook/backend/ dirs, since libebook isn't there anymore (nothing is, actually). Add addressbook/util/. svn path=/trunk/; revision=25388 * create an EUserCreatableItemsHandler (addressbook_view_clear): destroy itDan Winship2004-04-093-4/+30 | | | | | | | | | | | | | | * gui/component/addressbook.c (addressbook_new_control): create an EUserCreatableItemsHandler (addressbook_view_clear): destroy it (control_activate): Activate it * gui/component/addressbook-component.c (impl__get_userCreatableItems): Add object/folder flags to the creatable items. Rename "Address Book" to "Contacts Group" per new specs svn path=/trunk/; revision=25381 * we don't have an EBook* anymore. (e_destination_clear): same.Chris Toshok2004-04-083-65/+67 | | | | | | | | | | | | | | | | | | | | 2004-04-07 Chris Toshok <toshok@ximian.com> * util/e-destination.c (e_destination_copy): we don't have an EBook* anymore. (e_destination_clear): same. (e_destination_set_contact): same. (e_destination_set_book): same, just cache the source_uid. (e_destination_set_book_uri): nuke. (e_destination_set_contact_uid): we don't have an EBook*. (e_destination_xml_decode): same. (e_destination_export_to_vcard_attribute): new function, fill in an EVCardAttribute with EDestination values. * util/e-destination.h: add prototype for e_destination_export_to_vcard_attribute. svn path=/trunk/; revision=25358 * Sync the changes here rather than setting 'changed' on the config controlJeffrey Stedfast2004-04-082-23/+22 | | | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * gui/component/autocompletion-config.c (source_selection_changed): Sync the changes here rather than setting 'changed' on the config control (since that no longer exists). (autocompletion_config_control_new): Don't connect to an apply signal, no such signal. svn path=/trunk/; revision=25357 * old name, new trimmed down implementation. This will be replacingChris Toshok2004-04-063-0/+1401 | | | | | | | | | 2004-04-06 Chris Toshok <toshok@ximian.com> * util/e-destination.[ch]: old name, new trimmed down implementation. This will be replacing eab-destination.[ch]. svn path=/trunk/; revision=25336 * revert unapproved patchChris Toshok2004-04-062-28/+1 | | | | svn path=/trunk/; revision=25335 * : implement keyboard navigation(TAB/shift+TAB) (activaite_editor) : add aHao Sheng2004-04-063-25/+126 | | | | | | | | | | | | | | | | | | 2004-04-06 Hao Sheng <hao.sheng@sun.com> * gui/widgets/e-minicard.c : (e_minicard_event) : implement keyboard navigation(TAB/shift+TAB) (activaite_editor) : add a new function to activiate contact editor for support "Enter" key * gui/widgets/e-minicard-view-widget.c : (e_minicard_view_widget_class_init) : set the default focus at initialization (e_minicard_view_widget_real_focus_in_event) : set the first item be focused as default Fixes #55056 svn path=/trunk/; revision=25332 * wrap this with the correct #ifdef.Chris Toshok2004-04-062-2/+6 | | | | | | | | 2004-04-05 Chris Toshok <toshok@ximian.com> * util/eab-destination.h: wrap this with the correct #ifdef. svn path=/trunk/; revision=25328 * use the correct glade filename.Chris Toshok2004-04-062-1/+6 | | | | | | | | | 2004-04-05 Chris Toshok <toshok@ximian.com> * gui/merging/eab-contact-merging.c (match_query_callback): use the correct glade filename. svn path=/trunk/; revision=25327 * Fixes #53433.Hari Prasad Nadig2004-04-023-55/+45 | | | | | | | | | | | | | | | | | | 2004-04-01 Hari Prasad Nadig <hp@ndeepak.info> Fixes #53433. * gui/component/addressbook-config.c (searching_tab_check): added the tab check for search tab. (dialog_to_source): added timeout to be saved. (source_to_dialog): just a piece to retrieve timeout from source. (addressbook_root_dse_query): few necessary changes. (do_ldap_root_dse_query): again few changes that were required. * gui/component/ldap-config.glade : set right the Hscale to display the selected value. svn path=/trunk/; revision=25281 * [ fixes bug #34777 ]Chris Toshok2004-03-313-2/+51 | | | | | | | | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ fixes bug #34777 ] * gui/contact-editor/e-contact-editor.c (file_as_entry_changed): set the window title to File As if the file as entry has something in it. "Contact Editor" otherwise. (set_entry_changed_signals): hook up the file-as-entry's "changed" signal. * gui/contact-list-editor/e-contact-list-editor.c (list_name_changed_cb): analogous fix, but "List Name" and "Contact List Editor". svn path=/trunk/; revision=25256 * [ fixes bug #53544 ]Chris Toshok2004-03-312-5/+31 | | | | | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ fixes bug #53544 ] * gui/component/addressbook-component.c (impl__get_userCreatableItems): add "address_book" to the user creatable items list. complete with incorrect accelerator and shortcut! (impl_requestCreateItem): handle "address_book" here, and plug a memory leak. svn path=/trunk/; revision=25253 * [ part of the fix for #51977, the other part is in e-d-s ]Chris Toshok2004-03-312-1/+10 | | | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ part of the fix for #51977, the other part is in e-d-s ] * gui/widgets/e-addressbook-view.c (search_activated): the name of the category list property has changed from "category" to "category" list in 1.5. track the change here to get category searching working again. svn path=/trunk/; revision=25252 * [ part of the fix for #54528, the other part is in e-d-s ]Chris Toshok2004-03-312-0/+26 | | | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ part of the fix for #54528, the other part is in e-d-s ] * importers/evolution-vcard-importer.c (process_item_fn): get and set the PHOTO attribute before storing the contact in the book. this has the affect of making EContact sniff the image format. the apple addressbook doesn't give PHOTO's a TYPE. svn path=/trunk/; revision=25250 * [ fixes bug #53094 ]Chris Toshok2004-03-313-265/+73 | | | | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ fixes bug #53094 ] * gui/component/ldap-config.glade: nuke addressbook-sources-window. * gui/component/addressbook-config.c (main): nuke, we don't need this test case anymore, and it doesn't really work anyway anymore. svn path=/trunk/; revision=25249 * [ fixes bug #53634 ]Chris Toshok2004-03-313-9/+33 | | | | | | | | | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ fixes bug #53634 ] * gui/widgets/e-addressbook-view.c (eab_view_new): call e_search_bar_set_menu to add the Advanced... menu item to the search menu, and connect to "menu_activated". (search_menu_activated): new function, pop up the advanced dialog if id == ESB_ADVANCED. (query_changed): use e_search_bar_get_item_id instead of g_object_get. * gui/component/addressbook.c (verbs): remove ToolSearch. (pixmaps): remove the ToolSearch pixmap. svn path=/trunk/; revision=25247 * [ gui part of the fix required for #48665 ]Chris Toshok2004-03-312-2/+19 | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ gui part of the fix required for #48665 ] * gui/widgets/e-addressbook-model.c (get_view): pass the source's "limit" property (if it exists) to e_book_async_get_book_view. svn path=/trunk/; revision=25242 * call drag_finish properly. (selector_tree_drag_motion): set the dragLarry Ewing2004-03-302-61/+59 | | | | | | | | | | | | | | | | | | | 2004-03-29 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-component.c (selector_tree_drag_data_received): call drag_finish properly. (selector_tree_drag_motion): set the drag status properly. 2004-03-29 Larry Ewing <lewing@ximian.com> * gui/calendar-component.c (selector_tree_drag_data_received): deal with the action type a properly. in the normal case. * gui/calendar-component.c (selector_tree_drag_data_received): call drag_finish properly, change the uid. (selector_tree_drag_motion): set drag status properly. svn path=/trunk/; revision=25240 * do eab_editor_is_valid check only when user wants to save.Sivaiah Nallagatla2004-03-262-5/+9 | | | | | | | | | 2004-03-25 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/eab-editor.c (eab_editor_prompt_to_save_changes) : do eab_editor_is_valid check only when user wants to save. svn path=/trunk/; revision=25191 * don't let the user delete their Personal addressbook. This is just a niceChris Toshok2004-03-252-2/+15 | | | | | | | | | | | | 2004-03-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (fill_popup_menu_callback): don't let the user delete their Personal addressbook. This is just a nice UI thingy.. A similar fix needs to be made to e-d-s. so that attempts that circumvent a nice UI will also fail. svn path=/trunk/; revision=25181 * don't know what I was thinking approving this change. the _() was onlyChris Toshok2004-03-252-5/+9 | | | | | | | | | | | 2004-03-24 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-gui-util.c (eab_show_multiple_contacts): don't know what I was thinking approving this change. the _() was only used in the plural case (in fact where n > 5), so a singular case was never necessary, and neither was the call to ngettext. svn path=/trunk/; revision=25174 * parent_type == EAB_TYPE_EDITOR. (e_contact_list_editor_class_init): fillChris Toshok2004-03-2511-435/+316 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-24 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_get_type): parent_type == EAB_TYPE_EDITOR. (e_contact_list_editor_class_init): fill in editor_class virtual functions, and remove all the signals. (list_added_cb): call eab_editor_contact_* instead of emitting a signal here. also call eab_editor_close (list_modified_cb): same. (e_contact_list_editor_is_valid): new function. (e_contact_list_editor_is_changed): same. (e_contact_list_editor_get_window): same. (file_close_cb): call eab_editor_ functions. (list_deleted_cb): call eab_editor_contact_* instead of emitting a signal here. also call eab_editor_close (delete_cb): call eab_editor_* functions. (contact_list_editor_destroy_notify): call eab_editor_remove. (e_contact_list_editor_new): call eab_editor_add, and remove the g_object_ref/gtk_object_sink two-step. (e_contact_list_editor_show): make static, and make arg EABEditor. (e_contact_list_editor_raise): same. (e_contact_list_editor_close): same. (app_delete_event_cb): call eab_editor_ functions. (command_state_changed): use eab_editor_is_valid instead of is_named. (e_contact_list_editor_request_close_all): nuke. * gui/contact-list-editor/e-contact-list-editor.h: nuke a bunch of prototypes for functions that are now either virtual functions from EABEditor or eab_editor_* functions. (struct _EContactListEditor): we subclass from EABEditor. (struct _EContactListEditorClass): same, and nuke all the signals. * gui/contact-editor/e-contact-editor.c (e_contact_editor_get_type): parent_type == EAB_TYPE_EDITOR. (e_contact_editor_class_init): fill in editor_class virtual functions, and remove all the signals. (contact_moved_cb): call eab_editor_contact_* instead of emitting a signal here. also call eab_editor_close (contact_added_cb): same. (contact_modified_cb): same. (e_contact_editor_close): rename from close_dialog. (e_contact_editor_is_valid): new function. (e_contact_editor_is_changed): new function. (e_contact_editor_get_window): new function. (file_close_cb): use eab_editor_ calls here. (e_contact_editor_confirm_delete): nuke. (contact_deleted_cb): call eab_editor_contact_* instead of emitting a signal here. also call eab_editor_close (delete_cb): use eab_editor_ functions. (e_contact_editor_dispose): chain up to our parent's ::dispose. (contact_editor_destroy_notify): use eab_editor_remove. (e_contact_editor_new): use eab_editor_add, and remove the g_object_ref/gtk_object_sink two-step. (_popup_position): nuke dead function. (set_fields): i is an index, not a field_id. (e_contact_editor_raise): make this static, and it takes an EABEditor arg now, not a EContactEditor. (e_contact_editor_show): same. (e_contact_editor_request_close_all): nuke. * gui/contact-editor/e-contact-editor.h: nuke a bunch of prototypes for functions that are now either virtual functions from EABEditor or eab_editor_* functions. (struct _EContactEditor): we subclass from EABEditor. (struct _EContactEditorClass): same, and remove the signals. * gui/widgets/e-addressbook-view.c (delete): call eab_editor_confirm_delete. * gui/widgets/eab-popup-control.c (contact_editor_cb): don't bother calling e_contact_editor_raise since this is a new contact editor anyway. * gui/widgets/eab-gui-util.c (eab_show_contact_list_editor): use EABEditor signals, and eab_editor_show. * gui/widgets/e-minicard.h: "editor" is now of type EABEditor, not GObject. * gui/widgets/e-minicard.c (e_minicard_event): just use eab_editor_raise instead of e_contact_editor_raise/e_contact_list_editor_raise. * gui/component/addressbook-component.c (impl_requestQuit): implement this again, calling eab_editor_request_close_all. (addressbook_component_class_init): fill in epv->requestQuit. svn path=/trunk/; revision=25173 * superclass for both EContactEditor and EContactListEditor. A start towardChris Toshok2004-03-254-2/+511 | | | | | | | | | | | | | 2004-03-24 Chris Toshok <toshok@ximian.com> * gui/contact-editor/eab-editor.[ch]: superclass for both EContactEditor and EContactListEditor. A start toward simplifying the interface to both of them, and a place to abstract code. * gui/contact-editor/Makefile.am (libecontacteditor_la_SOURCES): add eab-editor.[ch] svn path=/trunk/; revision=25172 * Use ngettext for handling plural forms throughout (fixes bug 53464).Danilo Å egan2004-03-244-11/+17 | | | | svn path=/trunk/; revision=25168 * [ fixes bug #53653, and a couple other instances ]Chris Toshok2004-03-232-3/+12 | | | | | | | | | | | | | 2004-03-22 Chris Toshok <toshok@ximian.com> [ fixes bug #53653, and a couple other instances ] * gui/widgets/eab-gui-util.c (file_exists): REJECT -> CANCEL, so esc works (patch from Pratik V. Parikh <pratikvp@despammed.com>) (save_it): REJECT -> CANCEL. (eab_select_source): same. svn path=/trunk/; revision=25146 * Fixes #53625.Hans Petter Jansson2004-03-182-0/+9 | | | | | | | | | | | 2004-03-17 Hans Petter Jansson <hpj@ximian.com> Fixes #53625. * gui/widgets/eab-contact-display.c (render_contact): Show home and mobile phone numbers too. svn path=/trunk/; revision=25107 * loop only up to < G_N_ELEMENTS instead of <= G_N_ELEMENTS. Prevents out ofSivaiah Nallagatla2004-03-162-1/+7 | | | | | | | | | 2004-03-14 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (enable_writable_fields) : loop only up to < G_N_ELEMENTS instead of <= G_N_ELEMENTS. Prevents out of bound indexing of addresses array svn path=/trunk/; revision=25073 * build a11y/addressbook dir : add the accessibility support forHao Sheng2004-03-156-9/+31 | | | | | | | | | | | | | | 2004-03-15 Hao Sheng <hao.sheng@sun.com> * gui/component/Makefile.am : build a11y/addressbook dir * gui/widgets/e-addressbook-view.c : (eab_view_class_init) : add the accessibility support for e_addressbook_view * gui/widgets/e-minicard-view.c : (e_minicard_view_class_init) : add the accessibility support for e_minicard_view * gui/widgets/e-minicard.c : (e_minicard_class_init) : add the accessibility support for e_minicard svn path=/trunk/; revision=25059 * #if 0 this, since nothing uses it anymore. (accum_address): new function,Chris Toshok2004-03-112-40/+125 | | | | | | | | | | | | | | | | 2004-03-10 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-contact-display.c (render_address): #if 0 this, since nothing uses it anymore. (accum_address): new function, build up a GString. (accum_name_value): same. (accum_attribute): same. (render_contact): don't just blindly render the work/personal blocks, since if they're empty it looks stupid. instead, accumulate each block into a GString and only output the entire block if the string is non-empty. svn path=/trunk/; revision=25018 * phone_choice is an index into the phones array. (_phone_arrow_pressed):Chris Toshok2004-03-112-50/+79 | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-10 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (phone_entry_changed): phone_choice is an index into the phones array. (_phone_arrow_pressed): same. (address_text_changed): address_choice is an index into the addresses array. (_address_arrow_pressed): same. (set_address_field): same. (_email_arrow_pressed): email_choice is an index into the emails array. (full_addr_clicked): same, and same with s/addresses/address_editable. (e_contact_editor_init): initialize the *_choice fields as indices into their respective *es arrays. (e_contact_editor_build_address_ui): initialize the labels from the addresses array. (set_fields): *_choice fields are indices into *es arrays. (enable_writable_fields): same. svn path=/trunk/; revision=25017 * Don't try to calculate the position of the popup menu for the dropdownsRodney Dawes2004-03-102-1/+6 | | | | | | | | | 2004-03-09 Rodney Dawes <dobey@ximian.com> * gui/contact-editor/e-contact-editor.c (_arrow_pressed): Don't try to calculate the position of the popup menu for the dropdowns svn path=/trunk/; revision=25001 * Remove the dialog separator, and set appropriate border widths for theRodney Dawes2004-03-103-14/+28 | | | | | | | | | | | | 2004-03-09 Rodney Dawes <dobey@ximian.com> * gui/contact-editor/e-contact-editor-im.c (e_contact_editor_im_edit): Remove the dialog separator, and set appropriate border widths for the button area box and the dialog's vbox * gui/contact-editor/im.glade: Apply patch from Christian Neumair to make the IM editor dialog HIG compliant svn path=/trunk/; revision=24999 * fixed type in contact editor code to make email ui building workSivaiah Nallagatla2004-03-092-1/+5 | | | | svn path=/trunk/; revision=24996 * : maintain a list of only those source groups which are added to menuSivaiah Nallagatla2004-03-042-2/+23 | | | | | | | | | | | | 2004-03-04 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-config.c : (addressbook_add_server_druid) : maintain a list of only those source groups which are added to menu instead of all (source_group_changed_cb) : use the new list to get the selected group (addressbook_source_dialog_destroy) : free the new list svn path=/trunk/; revision=24958 * ** See #54991.Not Zed2004-03-042-17/+30 | | | | | | | | | | | | | | 2004-03-04 Not Zed <NotZed@Ximian.com> ** See #54991. * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_start_query): dont try to unref a null query. (name_style_query): use a GString to build the query, so we can use e_sexp_encode_string to properly encode the sub terms. svn path=/trunk/; revision=24957 * Set error to NULL before using it.Hans Petter Jansson2004-03-042-1/+6 | | | | | | | | | 2004-03-03 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (delete_addressbook_cb): Set error to NULL before using it. svn path=/trunk/; revision=24953 * Remove local data, with error reporting on failure.Hans Petter Jansson2004-03-042-3/+35 | | | | | | | | | 2004-03-03 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (delete_addressbook_cb): Remove local data, with error reporting on failure. svn path=/trunk/; revision=24952 * add drop support for text/x-vcard to the source list.Larry Ewing2004-03-022-0/+190 | | | | | | | | | 2004-03-02 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-component.c: add drop support for text/x-vcard to the source list. svn path=/trunk/; revision=24930 * ref the pixbuf before we close/unref the loader so the pixbuf sticksChris Toshok2004-02-282-7/+20 | | | | | | | | | | | 2004-02-27 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-contact-display.c (eab_contact_display_render_compact): ref the pixbuf before we close/unref the loader so the pixbuf sticks around, and make the scaling logic a bit more transparent. svn path=/trunk/; revision=24916 * Change the button relief back to normal for the drop-down buttons and moveRodney Dawes2004-02-282-500/+570 | | | | | | | | | | 2004-02-27 Rodney Dawes <dobey@ximian.com> * gui/contact-editor/contact-editor.glade: Change the button relief back to normal for the drop-down buttons and move the text labels inside the buttons as well svn path=/trunk/; revision=24915 * add missing "break" to PROP_SOURCE's case.Chris Toshok2004-02-282-0/+6 | | | | | | | | | 2004-02-27 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_set_property): add missing "break" to PROP_SOURCE's case. svn path=/trunk/; revision=24913 * Get rid of some extraneous event boxes that were not needed/used forRodney Dawes2004-02-282-254/+223 | | | | | | | | | | | | | | | 2004-02-27 Rodney Dawes <dobey@ximian.com> * gui/contact-editor/contact-editor.glade: Get rid of some extraneous event boxes that were not needed/used for anything really Set the button relief for the pop-down buttons to NONE Set the shadow type for the arrows in the pop-down buttons to NONE, so that we look good with themes that actually handle shadow types on arrows, since most things just ignore the shadow type anyway Fixes #8516 svn path=/trunk/; revision=24910 * Move unused variable declaration inside notyet conditional.Hans Petter Jansson2004-02-279-11/+36 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-26 Hans Petter Jansson <hpj@ximian.com> * util/eab-destination.c (name_and_email_cb): Move unused variable declaration inside notyet conditional. * printing/e-contact-print.c: Include gal/util/e-util.h * gui/merging/eab-contact-compare.c (eab_contact_locate_match): Cast callback to an EBookCallback. (eab_contact_locate_match_full): Ditto. * gui/contact-editor/e-contact-quick-add.c (quick_add_set_name): Remove unused variable and cast 3rd arg to e_contact_set () (perhaps this should take a gconstpointer?). * gui/contact-editor/e-contact-editor-im.c (setup_service_optmenu): Remove unused variable. * gui/component/select-names/e-select-names.c (e_select_names_init): Cast the vbox to a GtkBox. * gui/component/addressbook-config.c (dialog_to_source): Correctly cast the spin button to a GtkSpinButton, not a GtkEntry. * gui/component/addressbook-component.c (load_primary_selection): Remove unused variable. svn path=/trunk/; revision=24898 * add the Groupwise IM attributes to the list of those we render.Chris Toshok2004-02-272-4/+12 | | | | | | | | | 2004-02-26 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-contact-display.c (render_contact): add the Groupwise IM attributes to the list of those we render. svn path=/trunk/; revision=24895 * call eab_view_show_contact_preview here so we maintain the preview stateChris Toshok2004-02-272-0/+9 | | | | | | | | | | | 2004-02-26 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (set_view_preview): call eab_view_show_contact_preview here so we maintain the preview state when switching folders. we don't (yet... won't ever?) have per-addressbook preview settings. svn path=/trunk/; revision=24893 * view->scrolled -> view->contact_display. fixes crash.Chris Toshok2004-02-272-2/+8 | | | | | | | | | | 2004-02-26 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_show_contact_preview): view->scrolled -> view->contact_display. fixes crash. svn path=/trunk/; revision=24891 * nuke this fileChris Toshok2004-02-271-9/+0 | | | | svn path=/trunk/; revision=24890 * fix checks for locations.Chris Toshok2004-02-272-5/+10 | | | | | | | | | 2004-02-26 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (edit_im_clicked): fix checks for locations. svn path=/trunk/; revision=24888 * set the location label/option menu to visible.Chris Toshok2004-02-274-98/+179 | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-26 Chris Toshok <toshok@ximian.com> * gui/contact-editor/im.glade: set the location label/option menu to visible. * gui/contact-editor/e-contact-editor.c (add_im_clicked): build up the vcard attributes manually so we can set the TYPE= parameter to the location the user specifies. (edit_im_clicked): same. Also, use COLUMN_IM_LOCATION_TYPE, which is not localized to pass the location to the editor. (remove_im_clicked): reindent. (im_treeview_drag_data_get_cb): same. (im_treeview_drag_data_rcv_cb): same. (setup_im_treeview): add another column for the (non-localized) location type, and reindent. (add_im_field): use the new attribute api for EContact so we can get the location of each account, and set things appropriately on the store. * gui/contact-editor/e-contact-editor-im.c (e_contact_editor_im_class_init): reindent. (e_contact_editor_im_new): same. (fill_in_info): same. svn path=/trunk/; revision=24886 * added groupwise im related label and icon image file nameSivaiah Nallagatla2004-02-253-1/+15 | | | | | | | | | | | | 2004-02-25 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor-im.c : added groupwise im related label and icon image file name * gui/contact-editor/e-contact-editor.c : (im_treeview_drag_data_get_cb), (im_treeview_drag_data_rcv_cb) : (set_im_fields) : added code to add Gw Im id to contact-editor svn path=/trunk/; revision=24864 * Port to new way of setting name in contact.Hans petter Jansson2004-02-252-10/+7 | | | | | | | | | 2004-02-24 Hans petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-quick-add.c (quick_add_set_name): Port to new way of setting name in contact. svn path=/trunk/; revision=24861 * Include bug number.JP Rosevear2004-02-251-0/+2 | | | | svn path=/trunk/; revision=24856 * don't init the dialog here (addressbook_migrate): init it hereJP Rosevear2004-02-252-4/+8 | | | | | | | | | | 2004-02-24 JP Rosevear <jpr@ximian.com> * gui/component/addressbook-migrate.c (migration_context_new): don't init the dialog here (addressbook_migrate): init it here svn path=/trunk/; revision=24853 * remove some spew.Chris Toshok2004-02-212-1/+5 | | | | | | | | | 2004-02-20 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (phone_entry_changed): remove some spew. svn path=/trunk/; revision=24824 * s/HAVE_NSS/ENABLE_SMIME.Chris Toshok2004-02-203-4/+10 | | | | | | | | | | 2004-02-19 Chris Toshok <toshok@ximian.com> * gui/component/component-factory.c: s/HAVE_NSS/ENABLE_SMIME. * gui/component/addressbook-component.c: s/HAVE_NSS/ENABLE_SMIME. svn path=/trunk/; revision=24812 * split out the majority of the set_prop code for PROPERTY_SOURCE_UID_IDXChris Toshok2004-02-202-84/+147 | | | | | | | | | | | | | | | | | 2004-02-19 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (activate_source): split out the majority of the set_prop code for PROPERTY_SOURCE_UID_IDX here, so it can be used for both SOURCE_UID and FOLDER_URI. (set_prop): add a setter for "folder_uri". we sorta fudge things and use the uri for the uid (the uid is only used as a hash key to look up the view associated with the uri/source, so we should be good still.) (get_prop): add getter for "folder_uri". (addressbook_new_control): add the "folder_uri" property to our property bag. svn path=/trunk/; revision=24808 * Fixes #45308 and duplicates.Hans Petter Jansson2004-02-202-6/+16 | | | | | | | | | | | | 2004-02-19 Hans Petter Jansson <hpj@ximian.com> Fixes #45308 and duplicates. * gui/widgets/e-addressbook-model.c (eab_model_set_property): Store the IDs of book signals connected to, so we can disconnect from them later. svn path=/trunk/; revision=24799 * provide ESC support for delete dialog of contact editor, fix bug 52765Leon Zhang2004-02-192-1/+9 | | | | | | patch by hao.sheng@sun.com svn path=/trunk/; revision=24793 * add image_set slot.Chris Toshok2004-02-185-9/+48 | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-17 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/e-contact-list-editor.h (struct _EContactListEditor): add image_set slot. * gui/contact-list-editor/e-contact-list-editor.c (list_image_changed_cb): set image_set = TRUE. (e_contact_list_editor_init): init image_set = FALSE (extract_info): only set the LOGO attribute if image_set = TRUE. * gui/contact-editor/e-contact-editor.h (struct _EContactEditor): add image_set slot. * gui/contact-editor/e-contact-editor.c (extract_info): only set the PHOTO attribute if image_set == TRUE. (image_chooser_changed): new function, set image_set = TRUE and call widget_changed. (e_contact_editor_init): init image_set to FALSE. (_address_arrow_pressed): quiet compiler. svn path=/trunk/; revision=24771 * [ fixes bug #53620 ]Chris Toshok2004-02-182-3/+11 | | | | | | | | | | | | 2004-02-17 Chris Toshok <toshok@ximian.com> [ fixes bug #53620 ] * gui/merging/eab-contact-compare.c (eab_contact_compare_name): "" is a valid (and common) value for elements of EContactName now. it's semantically equivalent to NULL in the old ECard foo. svn path=/trunk/; revision=24769 * free up the list returned by e_book_get_contacts.Chris Toshok2004-02-132-0/+8 | | | | | | | | | 2004-02-12 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (migrate_contacts): free up the list returned by e_book_get_contacts. svn path=/trunk/; revision=24731 * Fix capitalization of Address Book usage in sentence form Use Address BookRodney Dawes2004-02-133-10/+21 | | | | | | | | | | | 2004-01-12 Rodney Dawes <dobey@ximian.com> * gui/component/addressbook-component.c (delete_addressbook_cb): Fix capitalization of Address Book usage in sentence form * gui/component/ldap-config.glade: Use Address Book instead of Addressbook in here (Patch from Aaron Weber <aaron@ximian.com>) svn path=/trunk/; revision=24725 * Forgot to list the bugs the last commit fixed...Rodney Dawes2004-02-121-0/+2 | | | | svn path=/trunk/; revision=24716 * Address Book, not AddressbookRodney Dawes2004-02-125-5/+14 | | | | | | | | | | | | | 2004-02-11 Rodney Dawes <dobey@ximian.com> * gui/component/addressbook-component.c (delete_addressbook_cb): (fill_popup_menu_callback): * gui/widgets/e-addressbook-view.c (init_collection): * gui/widgets/eab-gui-util.c (eab_error_dialog): * gui/widgets/eab-popup-control.c (eab_popup_control_contstruct): Address Book, not Addressbook svn path=/trunk/; revision=24715 * build importers dirJP Rosevear2004-02-102-1/+5 | | | | | | | | 2004-02-10 JP Rosevear <jpr@ximian.com> * Makefile.am: build importers dir svn path=/trunk/; revision=24688 * Initialize the personal_source to NULLRodney Dawes2004-02-092-0/+8 | | | | | | | | | | | 2004-02-08 Rodney Dawes <dobey@ximian.com> * gui/component/addressbook-migrate.c (create_groups): Initialize the personal_source to NULL Fixes #54015 svn path=/trunk/; revision=24674 * pass contact as an argument instead of contact id toSivaiah Nallagatla2004-02-082-1/+6 | | | | | | | | | | 2004-02-08 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.c (delete) : pass contact as an argument instead of contact id to e_book_async_remove_contact svn path=/trunk/; revision=24672 * don't bother using a function-wide variable to store the personal source.Chris Toshok2004-02-072-7/+13 | | | | | | | | | | | | 2004-02-06 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (create_groups): don't bother using a function-wide variable to store the personal source. also, use g_build_filename properly (because fejj is a whiner.) (migrate_local_folders): same (wrt fejj whining). svn path=/trunk/; revision=24667 * Hide the border on the notebook also Don't pack another scrolled windowRodney Dawes2004-02-073-7/+10 | | | | | | | | | | | | 2004-02-06 Rodney Dawes <dobey@ximian.com> * gui/component/addressbook.c (addressbook_new_control): Hide the border on the notebook also * gui/widgets/e-addressbook-view.c (eab_view_new): Don't pack another scrolled window inside of a scrolled window, just pack the contact display inside the paned, since it already has a scrolled window svn path=/trunk/; revision=24664 * Use "Address Book" instead of "folder" or "Addressbook" for the "AddressRodney Dawes2004-02-072-3/+11 | | | | | | | | | | | | 2004-02-06 Rodney Dawes <dobey@ximian.com> * gui/widgets/e-addressbook-view.c: Use "Address Book" instead of "folder" or "Addressbook" for the "Address Book Sources..." and copy/move contact menu items Fixes #53654 svn path=/trunk/; revision=24662 * only set the address if something in it's been filled in.Chris Toshok2004-02-073-22/+24 | | | | | | | | | | | | | | | | 2004-02-06 Chris Toshok <toshok@ximian.com> * importers/evolution-ldif-importer.c (getNextLDIFEntry): only set the address if something in it's been filled in. (resolve_list_card): build up a separate list representing the xml formatted crud. (process_item_fn): remove FIXME. (factory_fn): use g_new0 since we test for NULL-ness later on. * importers/evolution-vcard-importer.c (factory_fn): use g_new0 since we test for NULL-ness later on. svn path=/trunk/; revision=24659 * implementJP Rosevear2004-02-072-1/+17 | | | | | | | | | 2004-02-06 JP Rosevear <jpr@ximian.com> * importers/evolution-ldif-importer.c (importer_destroy_cb): implement svn path=/trunk/; revision=24655 * implement (load_file_fn): use g_file_get_contents to get a string we canJP Rosevear2004-02-072-7/+32 | | | | | | | | | | | 2004-02-06 JP Rosevear <jpr@ximian.com> * importers/evolution-vcard-importer.c (importer_destroy_cb): implement (load_file_fn): use g_file_get_contents to get a string we can convert to a contact list with eab_contact_list_from_string svn path=/trunk/; revision=24654 * shlib importer infoJP Rosevear2004-02-077-0/+1012 | | | | | | | | | | | | | | | | | | | | 2004-02-06 JP Rosevear <jpr@ximian.com> * importers/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: shlib importer info * importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: ditto * importers/Makefile.am: build shlib addressbook importers * importers/evolution-ldif-importer.c: First crack at resurrecting * importers/evolution-vcard-importer.c: ditto svn path=/trunk/; revision=24652 * remove some spew, and add an evo-icon: handler, for things in evolution'sChris Toshok2004-02-042-79/+200 | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-03 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-contact-display.c (on_url_requested): remove some spew, and add an evo-icon: handler, for things in evolution's imagedir. (render_address): hack up the html. (render_name_value): new function, just render a name/value/icon. (render_attribute): split out most of this function into render_name_value. this just checks to see if the EContact attribute has something in it before passing it along. (render_contact_list): split this out from eab_contact_display_render_normal. (start_block): new function, insert a row of height 20 with a header. (end_block): new function, insert a row of height 20. (render_contact): split this out from eab_contact_display_render_normal, and prettify the contact display. (eab_contact_display_render_normal): call render_contact and render_contact_list. (eab_contact_display_new): create a scrolled window and add the GtkHTML to it so we actually have scrollbars. svn path=/trunk/; revision=24591 * add widgets/misc for e-activity-handler.hDan Winship2004-02-042-3/+7 | | | | | | | * gui/component/select-names/Makefile.am (INCLUDES): add widgets/misc for e-activity-handler.h svn path=/trunk/; revision=24588 * correected the date in ChangelogSivaiah Nallagatla2004-02-041-1/+1 | | | | svn path=/trunk/; revision=24583 * use gtk_spin_button_* apis to get and set values for download limit spinSivaiah Nallagatla2004-02-042-6/+14 | | | | | | | | | | | 2004-02-03 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-config.c (dialog_to_source) (source_to_dialog) : use gtk_spin_button_* apis to get and set values for download limit spin button instead of gtk_entry Fixes #53432 svn path=/trunk/; revision=24582 * hook up contact_changed/contact_removed signals. (contact_changed): newChris Toshok2004-02-033-12/+86 | | | | | | | | | | | | | | | | | | | | | 2004-02-02 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_new): hook up contact_changed/contact_removed signals. (contact_changed): new function. if the changed contact is the one we're displaying, re-render it. (contact_removed): new function. if the removed contact is the one we're displaying, clear the display. (render_contact): set displayed_contact to the row. (eab_view_init): init displayed_contact to -1. (selection_changed): set displayed_contact to -1 when we clear the display. * gui/widgets/e-addressbook-view.h (struct _EABView): add "displayed_contact" so we can update the contact preview when it changes. svn path=/trunk/; revision=24574 * enable d&d drop photos.Chris Toshok2004-01-318-267/+118 | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-30 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c: enable d&d drop photos. * gui/contact-editor/contact-editor.glade: use eab_create_image_chooser_widget for the d&d'able image. * gui/contact-list-editor/e-contact-list-editor.c: abstract out all the d&d image support (it's now in widgets/misc/e-image-chooser.[ch]). * gui/contact-list-editor/contact-list-editor.glade: use eab_create_image_chooser_widget for the d&d'able image. * gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget): new function. * gui/widgets/eab-gui-util.h: add prototype for eab_create_image_chooser_widget. svn path=/trunk/; revision=24553 * Implement. (eab_select_source): Implement. Public function that promptsHans Petter Jansson2004-01-303-18/+88 | | | | | | | | | | | | 2004-01-29 Hans Petter Jansson <hpj@ximian.com> * gui/widgets/eab-gui-util.c (source_selection_changed_cb): Implement. (eab_select_source): Implement. Public function that prompts user to select a source from a list. (eab_transfer_contacts): Enable and use eab_select_source () and ESource, instead of old shell folder/URI stuff. svn path=/trunk/; revision=24530 * Changed "Finish" to "Apply" in dialog finish page text.Hans Petter Jansson2004-01-302-1/+6 | | | | | | | | | 2004-01-29 Hans Petter Jansson <hpj@ximian.com> * gui/component/ldap-config.glade: Changed "Finish" to "Apply" in dialog finish page text. svn path=/trunk/; revision=24526 * Sync the modified source list.Hans Petter Jansson2004-01-303-2/+17 | | | | | | | | | | | | 2004-01-29 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-config.c (dialog_to_source): Sync the modified source list. * gui/component/addressbook-component.c (delete_addressbook_cb): Sync the modified source list. svn path=/trunk/; revision=24525 * use the MigrationContext struct. (dialog_close): same.Chris Toshok2004-01-302-97/+139 | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-29 Chris Toshok <toshok@m198-139.dsl.rawbw.com> * gui/component/addressbook-migrate.c (setup_progress_dialog): use the MigrationContext struct. (dialog_close): same. (dialog_set_folder_name): same. (dialog_set_progress): same. (migrate_contacts): same, and pass it along to other functions. (migrate_contact_folder_to_source): same. (migrate_contact_folder): same. also, add the old path/uid to the folder_uid_map. (migrate_local_folders): same. (create_groups): use the MigrationContext struct. (migrate_completion_folders): if it's a file uri, look up the old path in our hash table for a uid to use. otherwise use the old behavior. (migration_context_new): new function, initialize the MigrationContext. (migration_context_free): free up everything. (addressbook_migrate): create the context, pass it to everything, destroy the context, shine toshok's shoes, etc. svn path=/trunk/; revision=24524 * set group to temporary sourceRadek Doulik2004-01-302-0/+6 | | | | | | | | | 2004-01-29 Radek Doulik <rodo@ximian.com> * gui/component/addressbook-config.c (dialog_to_temp_source): set group to temporary source svn path=/trunk/; revision=24522 * Get file_as instead of full_name.Hans Petter Jansson2004-01-293-2/+10 | | | | | | | | | | | | 2004-01-28 Hans Petter Jansson <hpj@ximian.com> * gui/component/select-names/e-select-names-table-model.c (fill_in_info): Get file_as instead of full_name. * gui/compoent/select-names/e-select-names.etspec: Show the file_as column instead of full_name. svn path=/trunk/; revision=24505 * Handle NULL name. Fixes #53071.Hans Petter Jansson2004-01-282-2/+15 | | | | | | | | | | 2004-01-27 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_set_property): Handle NULL name. Fixes #53071. svn path=/trunk/; revision=24479 * set the relative_uri of a local source to be its uid.Chris Toshok2004-01-283-15/+29 | | | | | | | | | | | | | | | | | | | | | 2004-01-27 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (dialog_to_source): set the relative_uri of a local source to be its uid. * gui/component/addressbook-migrate.c (migrate_contact_folder_to_source): remove the dest_group arg, since we don't use it. (migrate_contact_folder): set the relative uri of the source to be its uid. (PERSONAL_RELATIVE_URI): "Personal" -> "system". (create_groups): don't actually make the directory hierarchy for the personal folder here. let e-d-s do that. Also remove OnThisComputer from the base uri. (migrate_local_folders): track change to migrate_contact_folder_to_source. svn path=/trunk/; revision=24478 * [ Should fix #53361 and other migration problems/crashes ] new function,Chris Toshok2004-01-272-29/+63 | | | | | | | | | | | | | | | | | | | | | 2004-01-26 Chris Toshok <toshok@ximian.com> [ Should fix #53361 and other migration problems/crashes ] * gui/component/addressbook-migrate.c (migrate_contact_folder_to_source): new function, takes most of migrate_contact_folder's contents. Fix some of the refcounting problems though, by not unreffing dest_group, and using e_group_add_source instead of e_source_set_group. (migrate_contact_folder): convert to calling migrate_contact_folder_to_source. (create_groups): add an out parameter for *personal_source. (migrate_local_folders): add personal_source as an arg, so we can get the source that create_groups created/found. Call migrate_contact_folder_to_source for the personal_source. (addressbook_migrate): pass personal_source to migrate_local_folders. svn path=/trunk/; revision=24457 * [ fixes #53238 ] make this accept NULL's (and return FALSE for them).Chris Toshok2004-01-272-14/+55 | | | | | | | | | | | | | | | | | | | 2004-01-26 Chris Toshok <toshok@ximian.com> [ fixes #53238 ] * util/eab-destination.c (nonempty): make this accept NULL's (and return FALSE for them). (eab_destination_is_empty): shorten some of the tests since nonempty takes NULL now. (eab_destination_get_address): only call camel_internet_address_add if both name and email are non-empty. otherwise call camel_address_decode and let camel try to deal with it. (eab_destination_xml_encode): call xmlEncodeEntitiesReentrant on the strings before adding them to the xml, so people that enter [<>&] won't end up with broken EABDestinations. svn path=/trunk/; revision=24439 * make sure we pass \0 terminated string to eab_contact_list_from_string [itRadek Doulik2004-01-262-5/+18 | | | | | | | | | | 2004-01-26 Radek Doulik <rodo@ximian.com> * gui/widgets/e-addressbook-view.c (selection_received): make sure we pass \0 terminated string to eab_contact_list_from_string [it may fix #51743] svn path=/trunk/; revision=24435 * [ fixes bug #51171 ] get this working.Chris Toshok2004-01-262-63/+52 | | | | | | | | | | 2004-01-25 Chris Toshok <toshok@ximian.com> [ fixes bug #51171 ] * gui/widgets/eab-gui-util.c (eab_send_contact_list): get this working. svn path=/trunk/; revision=24429 * Select Contacts from Address Book, not ContentsRodney Dawes2004-01-252-1/+8 | | | | | | | | | | | 2004-01-24 Rodney Dawes <dobey@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_init): Select Contacts from Address Book, not Contents Fixes #53263 svn path=/trunk/; revision=24414 * oops. (migrate_contact_folder): fix the unreffing.Chris Toshok2004-01-252-3/+15 | | | | | | | | | | 2004-01-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (migrate_local_folders): oops. (migrate_contact_folder): fix the unreffing. svn path=/trunk/; revision=24408 * use _("Personal"), not "Personal".Chris Toshok2004-01-252-1/+6 | | | | | | | | | 2004-01-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (migrate_local_folders): use _("Personal"), not "Personal". svn path=/trunk/; revision=24407 * i2004-01-24 Chris Toshok <toshok@ximian.com>Chris Toshok2004-01-252-7/+6 | | | | | | | * gui/component/addressbook-migrate.c (migrate_local_folders): don't create/add the source here. it's done in svn path=/trunk/; revision=24406 * use e_folder_map_local_folders. (find_addressbook_dirs): nuke.Chris Toshok2004-01-252-53/+11 | | | | | | | | | | 2004-01-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (migrate_local_folders): use e_folder_map_local_folders. (find_addressbook_dirs): nuke. svn path=/trunk/; revision=24404 * use .evolution to store view infoJP Rosevear2004-01-242-1/+6 | | | | | | | | | 2004-01-24 JP Rosevear <jpr@ximian.com> * gui/widgets/e-addressbook-view.c (init_collection): use .evolution to store view info svn path=/trunk/; revision=24399 * [ fixes bug #52571 ] ugh. name fields that have \" around the name breakChris Toshok2004-01-243-29/+103 | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-23 Chris Toshok <toshok@ximian.com> [ fixes bug #52571 ] * util/eab-book-util.c (escape): ugh. name fields that have \" around the name break our queries, because it turns it into (for instance): (contains "full_name" ""Toshok""). so we need to turn that into: (contains "full_name" "\"Toshok\""). (eab_name_and_email_query): escape both the name and email, and use an EBookQuery instead of passing the string to e_book_async_get_contacts. Looks like ross missed a couple of spots. (eab_nickname_query): same. * gui/component/addressbook.c (free_load_source_data): new function, free up the data and unref the source if there is one. (load_source_auth_cb): call free_load_source_data instead of just g_free'ing the struct. (load_source_cb): same. (default_book_cb): new function, we need this so we can fill in the source for the default book. get the source, then call load_source_cb to continue processing as normal. (addressbook_load_default_book): use default_book_cb instead of load_source_cb. svn path=/trunk/; revision=24383 * [ fixes bug #53184 ] handle the fact that the xml 1.4 spits out containsChris Toshok2004-01-232-0/+37 | | | | | | | | | | | 2004-01-22 Chris Toshok <toshok@ximian.com> [ fixes bug #53184 ] * gui/component/addressbook-migrate.c (migrate_contacts): handle the fact that the xml 1.4 spits out contains unescaped ';'s in the EMAIL attributes for mailing lists. svn path=/trunk/; revision=24374 * [ fixes bug #52944 ] do some massaging of contacts as we import them, toChris Toshok2004-01-232-0/+63 | | | | | | | | | | | 2004-01-22 Chris Toshok <toshok@ximian.com> [ fixes bug #52944 ] * gui/component/addressbook-migrate.c (migrate_contacts): do some massaging of contacts as we import them, to fix up the differences between 1.4 and 1.5 vcards. svn path=/trunk/; revision=24369 * Added missing entry-blog widget.Nat Friedman2004-01-222-0/+23 | | | | | | | | | 2004-01-21 Nat Friedman <nat@novell.com> * gui/contact-editor/contact-editor.glade: Added missing entry-blog widget. svn path=/trunk/; revision=24360 * Remove. (dialog_to_source): Don't create source dir, backend takes care ofHans Petter Jansson2004-01-222-26/+7 | | | | | | | | | | 2004-01-21 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-config.c (create_source_dir): Remove. (dialog_to_source): Don't create source dir, backend takes care of that now. svn path=/trunk/; revision=24359 * new function.Chris Toshok2004-01-224-17/+185 | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-21 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (addressbook_component_peek_gconf_client): new function. * gui/component/addressbook-component.h: add prototype for addressbook_component_peek_gconf_client. * gui/component/addressbook-migrate.c (migrate_completion_folders): more gross hacking. migrate the completion settings. (get_source_by_uri): function to search for an ESource given the entire uri. used for migrate_completion_folders. (migrate_ldap_servers): get_string_value -> get_string_child. same with get_integer_child. (get_string_child): rename to make it apparent it's a child, not a property. (get_integer_child): same. (addressbook_migrate): call migrate_completion_folders. svn path=/trunk/; revision=24357 * call widget_changed here too, since we're changing the destination.Chris Toshok2004-01-222-0/+6 | | | | | | | | | 2004-01-21 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (new_target_cb): call widget_changed here too, since we're changing the destination. svn path=/trunk/; revision=24353 * [ fixes bug #52955 ] handle the case properly where there are no queryChris Toshok2004-01-213-4/+20 | | | | | | | | | | | | | | | 2004-01-20 Chris Toshok <toshok@ximian.com> [ fixes bug #52955 ] * gui/merging/eab-contact-compare.c (use_common_book_cb): handle the case properly where there are no query parts (p == 0). Instead of passing "" to e_book_query_from_string, just set the query to NULL. * util/eab-book-util.c (eab_contact_list_to_string): we need to put a blank line here, so \r\n\r\n, not just \r\n. svn path=/trunk/; revision=24340 * deal with the groups/sources already being there. Essentially make thisChris Toshok2004-01-21