nextcloud-desktop.git
10 years agoUpdate navigating.rst
Carla Schroder [Thu, 27 Aug 2015 08:20:15 +0000 (10:20 +0200)]
Update navigating.rst

10 years agoUpdate installing.rst
Carla Schroder [Thu, 27 Aug 2015 08:07:54 +0000 (10:07 +0200)]
Update installing.rst

10 years ago1st batch of updates for 2.0
Carla Schroder [Fri, 21 Aug 2015 20:19:15 +0000 (13:19 -0700)]
1st batch of updates for 2.0

11 years agoMerge pull request #3601 from individual-it/master
Daniel Molkentin [Tue, 18 Aug 2015 09:45:31 +0000 (11:45 +0200)]
Merge pull request #3601 from individual-it/master

checking if file or folder is to be shared to fix issue #3556

11 years agoMerge pull request #3589 from owncloud/sharedir
Markus Goetz [Thu, 13 Aug 2015 14:02:11 +0000 (16:02 +0200)]
Merge pull request #3589 from owncloud/sharedir

Use SHAREDIR for i18n dir

11 years agochecking if file or folder is to be shared to fix issue #3556
Individual IT Services [Wed, 12 Aug 2015 16:03:04 +0000 (21:48 +0545)]
checking if file or folder is to be shared to fix issue #3556

11 years agouse SHAREDIR for i18n
hefee [Tue, 11 Aug 2015 13:11:46 +0000 (15:11 +0200)]
use SHAREDIR for i18n

SHAREDIR is used in src/gui/application.cpp and should also use that in
CMakeLists.txt.

11 years agoMerge pull request #3578 from owncloud/LukasReschke-patch-1
Daniel Molkentin [Mon, 10 Aug 2015 10:29:23 +0000 (12:29 +0200)]
Merge pull request #3578 from owncloud/LukasReschke-patch-1

Use HTTPS links

11 years agoUse HTTPS links
Lukas Reschke [Mon, 10 Aug 2015 10:15:45 +0000 (12:15 +0200)]
Use HTTPS links

No need to have an additional redirect

11 years agoMerge branch '2.0'
Olivier Goffart [Fri, 7 Aug 2015 09:31:44 +0000 (11:31 +0200)]
Merge branch '2.0'

11 years agoownSql: Do not use sqlite3 method not present in older version
Daniel Molkentin [Fri, 7 Aug 2015 08:53:18 +0000 (10:53 +0200)]
ownSql: Do not use sqlite3 method not present in older version

Was only used for debug output anyway and broke RHEL/CentOS6

11 years agoFixup ce5be89a1846b4b75ec8bfa98bdb594773983beb
Olivier Goffart [Fri, 7 Aug 2015 09:05:04 +0000 (11:05 +0200)]
Fixup ce5be89a1846b4b75ec8bfa98bdb594773983beb

11 years agoEditorial changes to Changelog
Daniel Molkentin [Fri, 7 Aug 2015 07:29:55 +0000 (09:29 +0200)]
Editorial changes to Changelog

11 years agoRevert "win32: libwebp has been bumped to version 5"
Daniel Molkentin [Fri, 7 Aug 2015 07:21:08 +0000 (09:21 +0200)]
Revert "win32: libwebp has been bumped to version 5"

This reverts commit 18efb211576ca0e9fce2b8f4e00977a9f4ea2ace.

Our toolchain relies on an older version now that has version 4

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 7 Aug 2015 06:18:51 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Fri, 7 Aug 2015 06:18:51 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years agoUpdater: update Linux updater code to work with changes in master
Daniel Molkentin [Thu, 6 Aug 2015 17:34:23 +0000 (19:34 +0200)]
Updater: update Linux updater code to work with changes in master

master moved much of the responsibility of the updating process
to the updater class.

This also fixes a build failure

11 years agoownCloud Client 2.0 beta1
Daniel Molkentin [Thu, 6 Aug 2015 15:53:04 +0000 (17:53 +0200)]
ownCloud Client 2.0 beta1

11 years agoPropagator: Use fetchAndAddAcquire to get parallelism
Markus Goetz [Thu, 6 Aug 2015 16:13:48 +0000 (18:13 +0200)]
Propagator: Use fetchAndAddAcquire to get parallelism

11 years agoWindows: Don't use UTF-8 arrows #3095
Markus Goetz [Thu, 6 Aug 2015 16:08:05 +0000 (18:08 +0200)]
Windows: Don't use UTF-8 arrows #3095

11 years agoMerge pull request #3472 from owncloud/linux_restart_on_new_version
Daniel Molkentin [Thu, 6 Aug 2015 15:47:10 +0000 (17:47 +0200)]
Merge pull request #3472 from owncloud/linux_restart_on_new_version

On Linux restart if new version is found on disk

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 6 Aug 2015 15:37:16 +0000 (11:37 -0400)]
[tx-robot] updated from transifex

11 years agoNSIS: Remove (almost untranslated) Slovak tr for now
Daniel Molkentin [Thu, 6 Aug 2015 15:35:21 +0000 (17:35 +0200)]
NSIS: Remove (almost untranslated) Slovak tr for now

11 years agoFix codepages for Czech and Slovak
Daniel Molkentin [Thu, 6 Aug 2015 15:28:23 +0000 (17:28 +0200)]
Fix codepages for Czech and Slovak

11 years agoAbstractNetworkJob: Make sure to print URL on timeout
Markus Goetz [Thu, 6 Aug 2015 15:33:33 +0000 (17:33 +0200)]
AbstractNetworkJob: Make sure to print URL on timeout

11 years agoUpdate ChangeLog for 2.0
Markus Goetz [Thu, 6 Aug 2015 15:27:37 +0000 (17:27 +0200)]
Update ChangeLog for 2.0

Info taken from commits
(danimo's taken from github issues)

11 years agoRevert "Update NSIS translations"
Daniel Molkentin [Thu, 6 Aug 2015 15:19:37 +0000 (17:19 +0200)]
Revert "Update NSIS translations"

This reverts commit 47a8fbb07ea4ac8e40e245b348ac2cff6e6c5993.

11 years agoUpdate NSIS translations
Daniel Molkentin [Thu, 6 Aug 2015 15:08:53 +0000 (17:08 +0200)]
Update NSIS translations

11 years agoUpdate ChangeLog
Daniel Molkentin [Thu, 6 Aug 2015 14:55:07 +0000 (16:55 +0200)]
Update ChangeLog

11 years agoOwnSql: Show potential error on close #3421
Markus Goetz [Thu, 6 Aug 2015 13:47:38 +0000 (15:47 +0200)]
OwnSql: Show potential error on close #3421

11 years agoPropagator: Re-order statement of previous commit
Markus Goetz [Thu, 6 Aug 2015 13:28:09 +0000 (15:28 +0200)]
Propagator: Re-order statement of previous commit

The user should be allowed to override.
For issue #3382
Will also help for #3095

11 years agoPropagator: do not use parallelism when we have bandwidth limit
Olivier Goffart [Thu, 6 Aug 2015 09:10:27 +0000 (11:10 +0200)]
Propagator: do not use parallelism when we have bandwidth limit

When user wants to limit the bandwidth, he does not care about speed
anymore. And parallelism on slow network might cause problems.

For issue #3382
Will also help for #3095

(cherry picked from commit b20f29f22797367c7aa92bd74389c99b10c852a4)

11 years agoProgress: Show real speed and all filenames #3403 #3095
Markus Goetz [Thu, 6 Aug 2015 12:05:08 +0000 (14:05 +0200)]
Progress: Show real speed and all filenames #3403 #3095

11 years agoSyncJournalDB: clear all the prepared query when closing the database
Olivier Goffart [Thu, 6 Aug 2015 12:28:02 +0000 (14:28 +0200)]
SyncJournalDB: clear all the prepared query when closing the database

Not closing it may keep the file open (issue #3421)

11 years agoFix warning
Olivier Goffart [Thu, 6 Aug 2015 11:56:58 +0000 (13:56 +0200)]
Fix warning

csync_vio_local_unix.c:109:7: warning: ignoring return value of function declared with
      warn_unused_result attribute [-Wunused-result]
      asprintf(&file_stat->original_name, "%s/%s", handle->path, dirent->d_name);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

11 years agoFix Qt4 build
Olivier Goffart [Thu, 6 Aug 2015 11:54:43 +0000 (13:54 +0200)]
Fix Qt4 build

11 years ago1.8 Migration: Fix password overwrite #3539
Markus Goetz [Thu, 6 Aug 2015 10:49:18 +0000 (12:49 +0200)]
1.8 Migration: Fix password overwrite #3539

11 years agoMerge branch 'master' into linux_restart_on_new_version
Daniel Molkentin [Thu, 6 Aug 2015 09:11:52 +0000 (11:11 +0200)]
Merge branch 'master' into linux_restart_on_new_version

Conflicts:
src/gui/application.cpp
src/gui/owncloudsetupwizard.cpp

11 years agoMerge pull request #3531 from jturcotte/master
Markus Goetz [Thu, 6 Aug 2015 09:03:28 +0000 (11:03 +0200)]
Merge pull request #3531 from jturcotte/master

Remove need for UPDATE_VIEW to refetch the status #2340

11 years agoMerge pull request #3562 from owncloud/revert-2920-utility_SHGetKnownFolderPath
Jocelyn Turcotte [Thu, 6 Aug 2015 08:43:04 +0000 (10:43 +0200)]
Merge pull request #3562 from owncloud/revert-2920-utility_SHGetKnownFolderPath

Revert "Use dynamic library loading for detecting the correct path for links #2920"

11 years agoRevert "Use dynamic library loading for detecting the correct path for links"
Jocelyn Turcotte [Thu, 6 Aug 2015 08:41:33 +0000 (10:41 +0200)]
Revert "Use dynamic library loading for detecting the correct path for links"

11 years agocheck_vio_ext.c: assert_string_equal is a macro and we cannot have #ifdef in it
Olivier Goffart [Thu, 6 Aug 2015 08:02:12 +0000 (10:02 +0200)]
check_vio_ext.c: assert_string_equal is a macro and we cannot have #ifdef in it

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Thu, 6 Aug 2015 06:19:02 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

11 years agoMerge pull request #3558 from owncloud/si-units
Daniel Molkentin [Wed, 5 Aug 2015 15:45:53 +0000 (17:45 +0200)]
Merge pull request #3558 from owncloud/si-units

Utility: use SI units for the sizes in bytes

11 years agoUtility: use SI units for the sizes in bytes
Olivier Goffart [Wed, 5 Aug 2015 14:22:09 +0000 (16:22 +0200)]
Utility: use SI units for the sizes in bytes

11 years agoAccount settings: Fix a label
Olivier Goffart [Wed, 5 Aug 2015 14:12:58 +0000 (16:12 +0200)]
Account settings: Fix a label

The feature is for all folder, not only shared folder

11 years agoSelective sync: on the first sync, do not ask confirmation for every folders
Olivier Goffart [Wed, 5 Aug 2015 14:11:59 +0000 (16:11 +0200)]
Selective sync: on the first sync, do not ask confirmation for every folders

Since we already confirmed a previous selective sync dialog

11 years agoTheme: add a settings for configuring the default of newBigFolderSizeLimit
Olivier Goffart [Wed, 5 Aug 2015 13:33:38 +0000 (15:33 +0200)]
Theme: add a settings for configuring the default of newBigFolderSizeLimit

11 years agoFolderStatusModel: do not expand the unconfimred folder themselfs
Olivier Goffart [Wed, 5 Aug 2015 13:00:21 +0000 (15:00 +0200)]
FolderStatusModel: do not expand the unconfimred folder themselfs

11 years agoSettingsDialog: use the same short display name on Win/Linux than on Mac
Olivier Goffart [Wed, 5 Aug 2015 12:49:16 +0000 (14:49 +0200)]
SettingsDialog: use the same short display name on Win/Linux than on Mac

Issue #3516

11 years agoOS X: Try harder to enable 10.10 plugin #3463
Markus Goetz [Wed, 5 Aug 2015 13:10:00 +0000 (15:10 +0200)]
OS X: Try harder to enable 10.10 plugin #3463

11 years agoSslButton: Improve reliability and usefulness #3534 #3536
Markus Goetz [Wed, 5 Aug 2015 10:58:04 +0000 (12:58 +0200)]
SslButton: Improve reliability and usefulness #3534 #3536

11 years agoAccountSettings: automatically refresh and expands the undecided folders #3541
Olivier Goffart [Wed, 5 Aug 2015 10:51:49 +0000 (12:51 +0200)]
AccountSettings: automatically refresh and expands the undecided folders #3541

11 years agoCsync tests: fix on linux
Olivier Goffart [Wed, 5 Aug 2015 09:09:27 +0000 (11:09 +0200)]
Csync tests: fix on linux

Linux do not iconv to decode filenames

11 years agoFolderman: make the backup number starts with 2: #3512
Olivier Goffart [Mon, 3 Aug 2015 07:17:45 +0000 (09:17 +0200)]
Folderman: make the backup number starts with 2: #3512

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Wed, 5 Aug 2015 06:19:02 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

11 years agoCSync: Proper error for invalid filenames #2777 #3128 #2240
Markus Goetz [Tue, 4 Aug 2015 20:13:38 +0000 (22:13 +0200)]
CSync: Proper error for invalid filenames #2777 #3128 #2240

11 years agocheck_vio_ext: Fix on OS X
Markus Goetz [Tue, 4 Aug 2015 15:25:48 +0000 (17:25 +0200)]
check_vio_ext: Fix on OS X

11 years agoFolderManTest: Make compile
Markus Goetz [Tue, 4 Aug 2015 14:55:10 +0000 (16:55 +0200)]
FolderManTest: Make compile

11 years agoMerge pull request #3549 from phil-davis/patch-1
Olivier Goffart [Tue, 4 Aug 2015 14:07:18 +0000 (16:07 +0200)]
Merge pull request #3549 from phil-davis/patch-1

Notify of big folders that are greater than or equal to the limit

11 years agoNotify of big folders that are greater than or equal to the limit
Phil Davis [Tue, 4 Aug 2015 13:43:23 +0000 (19:28 +0545)]
Notify of big folders that are greater than or equal to the limit

This should allow for the case when a user has set the limit to 0 and a new empty folder appears on the server. The folder will have size 0 (no files in it). Doing the >= test here will mean that the user will be prompted about the new folder, which I think is the behaviour they would expect.
The side-effect of this change is that if the user has a limit of, for example, 10,000,000 and a new folder comes along with exactly 10,000,000 of content then they will now be prompted about it. Before the change such a new folder would have been auto-synced without prompting the user. I do not think this is a big deal - I cannot believe that users will be counting exact bytes for this limit, they are just setting a rough number of MB at the UI.
Should fix https://github.com/owncloud/client/issues/3542

11 years agoNSIS: Elevate uninstaller, too
Daniel Molkentin [Tue, 4 Aug 2015 10:37:54 +0000 (12:37 +0200)]
NSIS: Elevate uninstaller, too

Resolves #3546

11 years agoExclude list: Add entries from other sync programs #2814
Markus Goetz [Mon, 3 Aug 2015 15:52:45 +0000 (17:52 +0200)]
Exclude list: Add entries from other sync programs #2814

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Tue, 4 Aug 2015 06:19:00 +0000 (02:19 -0400)]
[tx-robot] updated from transifex

11 years agoNSIS: add polish translation
Daniel Molkentin [Mon, 3 Aug 2015 18:02:11 +0000 (20:02 +0200)]
NSIS: add polish translation

11 years agowin32: libwebp has been bumped to version 5
Daniel Molkentin [Mon, 3 Aug 2015 17:23:28 +0000 (19:23 +0200)]
win32: libwebp has been bumped to version 5

11 years agoMerge pull request #3540 from aputtu/patch-2
Markus Goetz [Mon, 3 Aug 2015 15:44:11 +0000 (17:44 +0200)]
Merge pull request #3540 from aputtu/patch-2

Minor typo: Ingored -> Ignored

11 years agoMinor typo: Ingored -> Ignored
Aputsiaĸ Niels Janussen [Mon, 3 Aug 2015 15:35:58 +0000 (17:35 +0200)]
Minor typo: Ingored -> Ignored

Issue raised by user 'kant' in Transifex on the 1st of August.

11 years agoStartup: Don't notify other instance when session restored #3070
Markus Goetz [Mon, 3 Aug 2015 15:32:41 +0000 (17:32 +0200)]
Startup: Don't notify other instance when session restored #3070

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Mon, 3 Aug 2015 06:18:47 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 2 Aug 2015 06:18:57 +0000 (02:18 -0400)]
[tx-robot] updated from transifex

11 years ago[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 1 Aug 2015 17:10:44 +0000 (13:10 -0400)]
[tx-robot] updated from transifex

11 years agoremove stay file
Daniel Molkentin [Sat, 1 Aug 2015 16:48:00 +0000 (18:48 +0200)]
remove stay file

11 years agoMerge branch 'new_nsis_modules'
Daniel Molkentin [Sat, 1 Aug 2015 16:47:26 +0000 (18:47 +0200)]
Merge branch 'new_nsis_modules'

11 years agoshell_i: Don't request statuses on UPDATE_VIEW
Jocelyn Turcotte [Fri, 31 Jul 2015 19:40:51 +0000 (21:40 +0200)]
shell_i: Don't request statuses on UPDATE_VIEW

Now that the client is pushing all changes of state, we don't need
to track the requested URLs anymore and risk that the way that we
reseted that list could leave a few entries in Finder's cache outdated.

We can remove the same code from other platforms in a later release,
a bit earlier than a week before beta1.

11 years agoSocketApi: Force fowarding an OK STATUS for all parent directories
Jocelyn Turcotte [Fri, 31 Jul 2015 19:20:58 +0000 (21:20 +0200)]
SocketApi: Force fowarding an OK STATUS for all parent directories

This fixes a few issues with the new FinderSync integration on OSX which
can't easily clear its status cache when receiving an UPDATE_VIEW message
except by unregistering the folder, but which causes flickering.

This fix should also make the regeneration of the cache unnecessary on other
platforms through possibly expensive RETRIEVE_FILE_STATUS commands.

11 years agoDo not add all remote directories to the SyncItemVector
Jocelyn Turcotte [Fri, 31 Jul 2015 19:18:03 +0000 (21:18 +0200)]
Do not add all remote directories to the SyncItemVector

To allow forwarding all OK states of sync jobs to the socket API
we need to make sure that the vector doesn't contain unneeded items.

This initially was intended to force updating the metadata for parent
folders, but since then the should_update_metadata flag check was
added both here and in PropagateDirectory::finalize where the metadata
is actually updated for parent folders. We can safely remove the inclusion
of all remote directory items.

11 years agoSocketApi: Remove an unneeded emit syncItemDiscovered
Jocelyn Turcotte [Fri, 31 Jul 2015 19:14:30 +0000 (21:14 +0200)]
SocketApi: Remove an unneeded emit syncItemDiscovered

The signal is emitted in this case if the instruction is NONE
but in the only ultimately connected slot to this signal,
SocketApi::slotSyncItemDiscovered, we return early according
to the same condition.

The emission of the same signal at the end of treewalkFile remains
and take care of the normal cases.

11 years agoFolderMan: Fix up previous commit #3528
Markus Goetz [Fri, 31 Jul 2015 16:31:54 +0000 (18:31 +0200)]
FolderMan: Fix up previous commit #3528

11 years agoNSIS: Actually call the elevation wrapper
Daniel Molkentin [Fri, 31 Jul 2015 16:25:17 +0000 (18:25 +0200)]
NSIS: Actually call the elevation wrapper

11 years agoMerge remote-tracking branch 'origin/master' into new_nsis_modules
Daniel Molkentin [Fri, 31 Jul 2015 16:20:27 +0000 (18:20 +0200)]
Merge remote-tracking branch 'origin/master' into new_nsis_modules

11 years agoFolderMan: Use sync() on config after migration #3528
Markus Goetz [Fri, 31 Jul 2015 15:09:56 +0000 (17:09 +0200)]
FolderMan: Use sync() on config after migration #3528

11 years agoReconcile: Improve debug output
Markus Goetz [Fri, 31 Jul 2015 14:43:30 +0000 (16:43 +0200)]
Reconcile: Improve debug output

11 years agoMerge pull request #3513 from owncloud/fix_nautilus_plugin
Daniel Molkentin [Fri, 31 Jul 2015 14:06:21 +0000 (16:06 +0200)]
Merge pull request #3513 from owncloud/fix_nautilus_plugin

Fix nautilus plugin

11 years agotest Utility: really check for a version string.
Klaas Freitag [Fri, 31 Jul 2015 13:38:01 +0000 (15:38 +0200)]
test Utility: really check for a version string.

11 years agoTests: Make independent of an hardcoded path, rather use CMAKE_BINARY_DIR.
Klaas Freitag [Fri, 31 Jul 2015 13:28:31 +0000 (15:28 +0200)]
Tests: Make independent of an hardcoded path, rather use CMAKE_BINARY_DIR.

11 years agoOS X: Fix enabling overlays for branded clients #3463
Markus Goetz [Fri, 31 Jul 2015 13:13:14 +0000 (15:13 +0200)]
OS X: Fix enabling overlays for branded clients #3463

11 years agoOS X Settings Dialog: Two-lined account name #3516
Markus Goetz [Fri, 31 Jul 2015 12:56:14 +0000 (14:56 +0200)]
OS X Settings Dialog: Two-lined account name #3516

11 years agoCheckServerJob: Only show SSL ticket warning when actually suceeded
Markus Goetz [Thu, 30 Jul 2015 16:15:55 +0000 (18:15 +0200)]
CheckServerJob: Only show SSL ticket warning when actually suceeded

11 years agocmd: properly initialize random seed to avoid transferid collisions #3522
Vincent Petry [Thu, 30 Jul 2015 16:08:28 +0000 (18:08 +0200)]
cmd: properly initialize random seed to avoid transferid collisions #3522

11 years agoPropagator: Log chunk transferid
Markus Goetz [Thu, 30 Jul 2015 15:46:38 +0000 (17:46 +0200)]
Propagator: Log chunk transferid

11 years agoutility: Put the config include to top of includes.
Klaas Freitag [Thu, 30 Jul 2015 14:38:22 +0000 (16:38 +0200)]
utility: Put the config include to top of includes.

11 years agocsync cmake: Removed not needed define of DATADIR.
Klaas Freitag [Thu, 30 Jul 2015 14:37:56 +0000 (16:37 +0200)]
csync cmake: Removed not needed define of DATADIR.

11 years agocmake: rather use SHAREDIR than DATADIR define.
Klaas Freitag [Thu, 30 Jul 2015 14:37:22 +0000 (16:37 +0200)]
cmake: rather use SHAREDIR than DATADIR define.

DATADIR is a reserved structure name in win32, using it like us here
leads to very nifty compile problems. SHAREDIR is clean.

11 years agoPropagator: Don't corrupt file with broken webserver #3373
Markus Goetz [Thu, 30 Jul 2015 12:32:33 +0000 (14:32 +0200)]
Propagator: Don't corrupt file with broken webserver #3373

11 years agoPropagator: More debug output for downloads/uploads
Markus Goetz [Thu, 30 Jul 2015 12:27:54 +0000 (14:27 +0200)]
Propagator: More debug output for downloads/uploads

11 years agoFolder: Version debug at end
Markus Goetz [Thu, 30 Jul 2015 12:11:29 +0000 (14:11 +0200)]
Folder: Version debug at end

Often users send us parts of logs with this information missing.

11 years agoSparkleupdater: Use qDebug not qWarning
Markus Goetz [Thu, 30 Jul 2015 12:08:50 +0000 (14:08 +0200)]
Sparkleupdater: Use qDebug not qWarning

Else QT_FATAL_WARNINGS triggers.

11 years agoCapabilities: Add macro to make win compile again.
Klaas Freitag [Thu, 30 Jul 2015 09:04:49 +0000 (11:04 +0200)]
Capabilities: Add macro to make win compile again.

11 years agoFix compilation with old GCC
Olivier Goffart [Thu, 30 Jul 2015 08:44:07 +0000 (10:44 +0200)]
Fix compilation with old GCC

that does not understand nullptr

Note that we can't just replace nullptr by 0 in createIndex otherwise
it would be ambiguious.
So leave it commented to show that your intention is to create it with
a null pointer  (which is the default because of the default parameter)