1
0
Fork 0
Commit Graph

6420 Commits

Author SHA1 Message Date
Jan Steemann 3ac55bedbb issue #512: bind parameters for limit 2013-05-06 10:47:53 +02:00
Michael Hackstein 169dcfeb66 GraphViewer: Started with new interface for zoommanager with better integration of D3 and Fisheye 2013-05-06 10:30:18 +02:00
Jan Steemann ede177aa55 issue #507, issue #508 2013-05-06 09:40:28 +02:00
Jan Steemann 203aceccdf Merge pull request #510 from guidoreina/experiment
A bug fix and small code improvements?
2013-05-05 23:51:49 -07:00
Frank Celler 01d654e923 fixed https version of test 2013-05-05 23:34:02 +02:00
Frank Celler 48515d7bd8 fixed tests 2013-05-05 21:55:10 +02:00
Frank Celler 2d5af26466 added safeJoin 2013-05-05 21:50:43 +02:00
Frank Celler 49b5507b73 fixed issue #489: Bug in aal.install
Conflicts:
	Makefile.in
2013-05-05 21:10:14 +02:00
Frank Celler f4d17c2045 added priority 2013-05-05 21:08:54 +02:00
Guido Reina 2f4319b31a [Small improvements] In the function ResizeAssociativeArray(), array->_table is already initialized to '\0's, so there is no need to call clearElement() for each element.
An associative array is only used by PQIndex and MasterTable_t.
For PQIndex the function ClearElementPQIndex() will be used, which sets the whole element to '\0's.
For MasterTable_t the function tablePositionClearElement() will be used, which sets all but one field to 0/NULL (the only field which is not set is _vectorNum).
If the clearElement() should be called, maybe TRI_Allocate() could be called with false, to avoid double initialization.
When copying elements, the for loop stops when the number of elements is the same as the original number of elements.

In the function TRI_FindByKeyAssociativeArray(), there is no need to check whether the element is not empty and is equal key element, only if it is not empty (as it is done in the function TRI_InsertKeyAssociativeArray()).
In the function TRI_FindByElementAssociativeArray(), there is no need to check whether the element is not empty and is equal element element, only if it is not empty (as it is done in the function TRI_InsertElementAssociativeArray()).
2013-05-05 18:10:37 +02:00
Guido Reina 105662d5ba [Small improvements] In the function TRI_InitPQueue(), instead of initializing pq->_base._items with '\0's by using memset(), TRI_Allocate() is called with 'set' set to true (as it is done in the function CheckPQSize()).
In the function CheckPQSize(), the priority queue capacity will be increased only when the new item to be inserted doesn't fit (pq->_base._count + 1 > pq->_base._capacity).
In the function CheckPQSize(), instead of allocating a new buffer and then copying the elements, TRI_Reallocate() is used and the new area is filled with '\0's.
2013-05-05 16:33:09 +02:00
Guido Reina 0a08833b0f In the function PQueueIndex_new(), if TRI_Allocate() failed to allocate memory for the associative array idx->_aa, idx was freed before idx->_pq.
Fixed typos.
2013-05-05 16:15:23 +02:00
Guido Reina 4ac19a99fc Typos. 2013-05-05 16:12:17 +02:00
Frank Celler 51cefb18bf fixed issue 505: statistics not populated on MacOS
Conflicts:
	CHANGELOG
2013-05-04 21:54:22 +02:00
Frank Celler 581c667a5a fixed jslint 2013-05-04 21:52:09 +02:00
Jan Steemann 928d22eb98 remove temporary files 2013-05-03 18:30:53 +02:00
Jan Steemann 75ee749d78 read and write server SHUTDOWN files for faster startups
added documentation about server files
2013-05-03 18:30:17 +02:00
Jan Steemann 911084a3ad removed now superfluous comment 2013-05-03 16:57:42 +02:00
Jan Steemann 00f5cab407 changed compaction to only clean datafiles with at least 10 % of dead objects 2013-05-03 16:37:32 +02:00
Heiko Kernbach 473dfd8adf fixed bug in nv.d3.js + added labels for dashboard graphs 2013-05-03 16:01:52 +02:00
Heiko Kernbach 1c78a2b983 updated dashboard 2013-05-03 14:22:13 +02:00
Michael Hackstein ee9473adbd Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-05-03 14:13:52 +02:00
Michael Hackstein 54e5a13573 GraphViewer: Added new test for ZoomManager 2013-05-03 14:13:25 +02:00
Michael Hackstein 91a7d66dbd GraphViewer: Added function to toggle display of labels without redefining them 2013-05-03 14:07:59 +02:00
Jan Steemann 83b525c5d6 changed name of value in statistics 2013-05-03 12:09:57 +02:00
Jan Steemann bfb35a4b3c issue #495 2013-05-03 11:38:10 +02:00
Jan Steemann fde26e6913 fixed doxygen errors 2013-05-03 11:25:24 +02:00
Jan Steemann 9b62015cdc Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-05-03 11:10:06 +02:00
Jan Steemann eef611b1da fixed some compiler & jslint warnings 2013-05-03 11:09:45 +02:00
Jan Steemann 74cd7fc9ef enabled static codebase tests 2013-05-03 11:09:17 +02:00
Jan Steemann ee7ab712d6 issue #495 2013-05-03 11:08:58 +02:00
Thomas Richter 9972d5f01a *.pyc files ignored from git 2013-05-03 09:37:32 +02:00
Thomas Richter 9db2c62293 minor fixes 2013-05-03 09:36:22 +02:00
Jan Steemann ef1fcc89ee added test case for #491 2013-05-02 16:26:40 +02:00
Frank Celler a27fb94fb2 issue #491 2013-05-02 16:18:19 +02:00
Frank Celler 58d6ef8769 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-05-02 15:21:57 +02:00
Frank Celler b3b7a45e62 issue #502 2013-05-02 15:21:30 +02:00
Michael Hackstein b7464677cc Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-05-02 14:39:57 +02:00
Michael Hackstein 958c507943 GraphViewer: Fixes in NodeShaper 2013-05-02 14:39:36 +02:00
Michael Hackstein c031fe4e84 Added first version of ArangoDB CMS. But still in dev state as the structure information is not yet fully implemented 2013-05-02 14:38:56 +02:00
Jan Steemann 2c381d5d6a issue #498 2013-05-02 12:27:06 +02:00
Jan Steemann e5703f8d55 Merge pull request #501 from fhemberger/devel
Fix paths to arangod/arangosh
2013-05-02 01:58:30 -07:00
Frederic Hemberger d5107d7ec1 Fix paths 2013-05-02 10:17:14 +02:00
Michael Hackstein 8692de7c40 Fixed a type in an error message 2013-05-02 09:39:01 +02:00
Michael Hackstein 0b4400f324 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-05-02 09:35:51 +02:00
Frank Celler f85b1c5a21 Merge pull request #499 from guidoreina/experiment
Minor changes
2013-05-01 05:27:07 -07:00
Guido Reina 4c5494c67d In the functions TRI_VerifyLockFile (Linux and Windows), the buffer 'buffer' was initialized to 0 right before calling TRI_UInt32String(), making TRI_UInt32String() return always 0, instead of the PID. 2013-05-01 11:05:20 +02:00
Guido Reina 528bb85b30 Implemented function for shutting down the statistics.
The new function is called by ShutdownRest() and releases the memory allocated by TRI_InitialiseStatistics().
2013-05-01 11:03:40 +02:00
Guido Reina 3c352b9ab2 The comment for the method reserve() was wrong (it was copied from the method annihilate()). 2013-05-01 11:01:35 +02:00
Lucas Dohmen 8a7099f0cc Merge pull request #496 from fhemberger/devel
Update Foxx documentation
2013-04-30 13:47:16 -07:00