Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Initial commit
- Loading branch information
Paolo Capriotti
committed
Dec 16, 2010
0 parents
commit aa435b8
Showing
169 changed files
with
191,104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Makefile* | ||
.moc | ||
.obj | ||
lib*.so* | ||
*.a | ||
*.prl | ||
tests/model_example/model_example | ||
tests/group_example/group_example | ||
tests/async_example/async_example | ||
modeltest | ||
conversationmodeltest | ||
groupmodeltest | ||
callmodeltest | ||
draftmodeltest | ||
smsinboxmodeltest | ||
outboxmodeltest | ||
*~ | ||
doc/html | ||
doc/libcommhistory.tags | ||
tools/commhistory-tool | ||
.project | ||
.cproject | ||
*.pro.user* | ||
core | ||
core.* | ||
*-stamp | ||
tests/ut_unreadeventsmodel/ut_unreadeventsmodel | ||
tests/bin/* | ||
.dotest/ | ||
tests/perf_bin/* |
Whitespace-only changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
README | ||
-------- | ||
|
||
How to quickly generate test conversations: | ||
=========================================== | ||
|
||
Ensure that your D-BUS is set up correctly, by either sourcing | ||
/tmp/session_bus_address.user or using dui-run. | ||
|
||
% commhistory-tool add -newgroup gabble/jabber/user1 friend@gmail.com 10 | ||
% commhistory-tool add -newgroup gabble/jabber/user2 another@jabber.org 10 | ||
... | ||
|
||
where "gabble/jabber/..." is the local telepathy account and 10 is the | ||
number of messages to create. Use listgroups and "add -group <id>" to | ||
add new messages into an existing conversation. | ||
|
||
"commhistory-tool deleteall" removes all messages and conversations from | ||
the tracker database. For best results (i.e. to avoid weird sync | ||
problems), kill all applications that use commhistory before deleteall | ||
and restart afterwards. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
############################################################################### | ||
# | ||
# This file is part of libcommhistory. | ||
# | ||
# Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | ||
# Contact: Alexander Shalamov <alexander.shalamov@nokia.com> | ||
# | ||
# This library is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU Lesser General Public License version 2.1 as | ||
# published by the Free Software Foundation. | ||
# | ||
# This library is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public | ||
# License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with this library; if not, write to the Free Software Foundation, Inc., | ||
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
# | ||
############################################################################### | ||
|
||
#----------------------------------------------------------------------------- | ||
# Common installation configuration for all projects. | ||
#----------------------------------------------------------------------------- | ||
|
||
#----------------------------------------------------------------------------- | ||
# setup the installation prefix | ||
#----------------------------------------------------------------------------- | ||
INSTALL_PREFIX = /usr # default installation prefix | ||
|
||
# default prefix can be overriden by defining PREFIX when running qmake | ||
isEmpty( PREFIX ) { | ||
message("====") | ||
message("==== NOTE: To override the installation path run: `qmake PREFIX=/custom/path'") | ||
message("==== (current installation path is `$${INSTALL_PREFIX}')") | ||
} else { | ||
INSTALL_PREFIX = $${PREFIX} | ||
message("====") | ||
message("==== install prefix set to `$${INSTALL_PREFIX}'") | ||
} | ||
|
||
|
||
#----------------------------------------------------------------------------- | ||
# default installation target for applications | ||
#----------------------------------------------------------------------------- | ||
contains( TEMPLATE, app ) { | ||
target.path = $${INSTALL_PREFIX}/bin | ||
INSTALLS += target | ||
message("====") | ||
message("==== INSTALLS += target") | ||
} | ||
|
||
#----------------------------------------------------------------------------- | ||
# default installation target for libraries | ||
#----------------------------------------------------------------------------- | ||
contains( TEMPLATE, lib ) { | ||
|
||
target.path = $${INSTALL_PREFIX}/lib | ||
INSTALLS += target | ||
message("====") | ||
message("==== INSTALLS += target") | ||
|
||
# reset the .pc file's `prefix' variable | ||
#include( tools/fix-pc-prefix.pri ) | ||
|
||
} | ||
|
||
#----------------------------------------------------------------------------- | ||
# target for header files | ||
#----------------------------------------------------------------------------- | ||
!isEmpty( headers.files ) { | ||
headers.path = $${INSTALL_PREFIX}/include/CommHistory | ||
INSTALLS += headers | ||
message("====") | ||
message("==== INSTALLS += headers") | ||
} else { | ||
message("====") | ||
message("==== NOTE: Remember to add your API headers into `headers.files' for installation!") | ||
} | ||
|
||
|
||
# End of File |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
############################################################################### | ||
# | ||
# This file is part of libcommhistory. | ||
# | ||
# Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | ||
# Contact: Alexander Shalamov <alexander.shalamov@nokia.com> | ||
# | ||
# This library is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU Lesser General Public License version 2.1 as | ||
# published by the Free Software Foundation. | ||
# | ||
# This library is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public | ||
# License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with this library; if not, write to the Free Software Foundation, Inc., | ||
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
# | ||
############################################################################### | ||
|
||
#----------------------------------------------------------------------------- | ||
# Common configuration for all projects. | ||
#----------------------------------------------------------------------------- | ||
|
||
CONFIG += link_pkgconfig | ||
MOC_DIR = .moc | ||
OBJECTS_DIR = .obj | ||
RCC_DIR = resources | ||
UI_DIR = ui | ||
UI_HEADERS_DIR = ui/include | ||
UI_SOURCES_DIR = ui/src | ||
|
||
# we don't like warnings... | ||
QMAKE_CXXFLAGS *= -Werror | ||
|
||
|
||
# End of File | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
############################################################################### | ||
# | ||
# This file is part of libcommhistory. | ||
# | ||
# Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | ||
# Contact: Alexander Shalamov <alexander.shalamov@nokia.com> | ||
# | ||
# This library is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU Lesser General Public License version 2.1 as | ||
# published by the Free Software Foundation. | ||
# | ||
# This library is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public | ||
# License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with this library; if not, write to the Free Software Foundation, Inc., | ||
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
# | ||
############################################################################### | ||
|
||
#------------------------------------------------------------------------------ | ||
# Common variables for all projects. | ||
#------------------------------------------------------------------------------ | ||
|
||
#------------------------------------------------------------------------------ | ||
# Project name (used e.g. in include file and doc install path). | ||
# remember to update debian/* files if you changes this | ||
#------------------------------------------------------------------------------ | ||
PROJECT_NAME = libcommhistory | ||
|
||
#------------------------------------------------------------------------------ | ||
# Project version | ||
# remember to update debian/* files if you changes this | ||
#----------------------------------------------------------------------------- | ||
PROJECT_VERSION = 1.0.35 | ||
|
||
#------------------------------------------------------------------------------ | ||
# Library version | ||
#------------------------------------------------------------------------------ | ||
LIBRARY_VERSION = 0.0.1 | ||
|
||
|
||
# End of File | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
############################################################################### | ||
# | ||
# This file is part of libcommhistory. | ||
# | ||
# Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | ||
# Contact: Alexander Shalamov <alexander.shalamov@nokia.com> | ||
# | ||
# This library is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU Lesser General Public License version 2.1 as | ||
# published by the Free Software Foundation. | ||
# | ||
# This library is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public | ||
# License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with this library; if not, write to the Free Software Foundation, Inc., | ||
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
# | ||
############################################################################### | ||
|
||
#----------------------------------------------------------------------------- | ||
# doc.pri | ||
#----------------------------------------------------------------------------- | ||
|
||
# list of documentation folders to install | ||
DOC_FOLDERS = doc/html \ | ||
doc/qch | ||
|
||
# files and folders listed in the installation target's .files section | ||
# must exist _before_ qmake generates the Makefile...so, make sure our | ||
# documentation target folders exist in the current build folder | ||
for( folder, DOC_FOLDERS ) { | ||
system( mkdir -p $$(PWD)/$${folder} ) | ||
} | ||
|
||
|
||
#----------------------------------------------------------------------------- | ||
# extra build targets for generating and cleaning documentation | ||
#----------------------------------------------------------------------------- | ||
for( subdir, SUBDIRS) { | ||
DOC_INPUT += $${_PRO_FILE_PWD_}/$${subdir} | ||
} | ||
|
||
# target for generating documentation | ||
doctarget.target = docs | ||
doctarget.commands = OUTPUT_DIRECTORY=doc \ | ||
PROJECT_NAME=\"$${PROJECT_NAME}\" \ | ||
PROJECT_NUMBER=\"$${PROJECT_VERSION}\" \ | ||
STRIP_FROM_PATH=\"$${_PRO_FILE_PWD_}\" \ | ||
INPUT=\"$${DOC_INPUT}\" \ | ||
QHP_NAMESPACE=\"com.nokia.example.$${TARGET}\" \ | ||
QHP_VIRTUAL_FOLDER=\"$${TARGET}\" \ | ||
TAGFILES=\"$$system(pwd)/qt.tags\" \ | ||
TAGFILE=\"doc/$${TARGET}.tags\" \ | ||
doxygen $$system(pwd)/doxy.conf | ||
doctarget.depends = FORCE | ||
QMAKE_EXTRA_TARGETS += doctarget | ||
|
||
|
||
# target for cleaning generated documentation | ||
doccleantarget.target = cleandocs | ||
for( folder, DOC_FOLDERS ) { | ||
doccleantarget.commands += rm -r -f $${folder}; | ||
} | ||
doccleantarget.commands += rm -r -f doc/libeventlogger.tags; | ||
doccleantarget.depends = FORCE | ||
QMAKE_EXTRA_TARGETS += doccleantarget | ||
|
||
|
||
#----------------------------------------------------------------------------- | ||
# installation setup | ||
# NOTE: remember to set headers.files before this include to have the headers | ||
# properly setup. | ||
#----------------------------------------------------------------------------- | ||
include( ../common-installs-config.pri ) | ||
|
||
|
||
#----------------------------------------------------------------------------- | ||
# Installation target setup for documentation | ||
#----------------------------------------------------------------------------- | ||
documentation.path = $${INSTALL_PREFIX}/share/doc/$${PROJECT_NAME} | ||
for( folder, DOC_FOLDERS ) { | ||
documentation.files += $${OUT_PWD}/$${folder} | ||
} | ||
|
||
INSTALLS += documentation | ||
message("====") | ||
message("==== INSTALLS += documentation") | ||
|
||
|
||
# End of File | ||
|
Oops, something went wrong.