Commit Graph

8051 Commits

Author SHA1 Message Date
Marek Otahal
a231d0eeb9 Run from Java the whole app YACY
start for java webStart
allow for better integration with IDE

Conflicts:
	source/net/yacy/gui/framework/Browser.java
2012-01-09 01:49:37 +01:00
Marek Otahal
a9f0843e75 netbeans: build script: make compressed jar w/ all libraries
+ other improvements
FIXME: run ant clean all on each clean/rebuild
2012-01-09 01:30:40 +01:00
Marek Otahal
72adbeae90 !Important: move from Hashtable to HashMap
Hashtable is an obsolete collection v1, now since v2 offers HashMap with same or better
functionality. Please review, almost all code was already moved, so only a few changes. That is not the issue,
but I found notices that some (ugly big) helper classes had to be created in past
to compensate missing Hashtable's functionality. I'd like input if we can remove some of them.
look for //FIX: if these commits

Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-09 01:29:18 +01:00
Marek Otahal
c1af123ddd just a little faster toString
Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-09 01:26:39 +01:00
Marek Otahal
64e4bcee82 serverSwitch get(App/Data)Path() use common helper method
Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-09 01:26:03 +01:00
Marek Otahal
371fbb4deb just comment + shorter code in serverSwitch
Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-09 01:24:51 +01:00
Marek Otahal
6d8faa8066 small fix
Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-09 01:19:51 +01:00
Marek Otahal
ed253b7aff update javadoc, does not throw IOException
Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-09 01:19:24 +01:00
Marek Otahal
f40efb39af Blacklist loadList() remove duplicates by using Set
Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-09 01:18:01 +01:00
Marek Otahal
f75b5e40e0 little fix in copy()
Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-09 01:16:46 +01:00
Marek Otahal
1dc5d9f0f3 make ConnectionInfo comparable and sort list of connections in Connections_p
ConnectionInfo compare by initTime
Connections_p implement wish to sort connections, descending

Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-09 01:14:41 +01:00
Marek Otahal
c1973c78a3 Blog + BlogComments method propose() make similar + fix anonymous poster's IP resolve in Blog
this method share very much common code in both classes,
would be nice to unify
+fix some ugly code

Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-09 01:10:50 +01:00
Marek Otahal
7189a70a62 BlogComments dateString() - use localized date/time format
use same method from Blog class, reduce code duplication

Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-09 01:09:59 +01:00
Marek Otahal
f727c35722 Blog dateString() print in localized date/time format
Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-09 01:09:12 +01:00
Marek Otahal
8318103f25 Blacklist addBlacklistEntry() - dont add an empty entry
Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-08 23:43:04 +01:00
Marek Otahal
c11ed8a919 add *.*~ to .gitignore
Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-08 02:34:35 +01:00
Marek Otahal
304ca0b12a add support for development in netbeans
imported project from eclipse, now netbeans will automatically recognize
project folder, link needed libraries, build scripts etc. Just do Open project...

Signed-off-by: Marek Otahal <markotahal@gmail.com>
2012-01-08 02:34:35 +01:00
Michael Peter Christen
91940fdf56 redesign of WordCache to be prepared to hold multiple
independent dictionaries. Such dictionaries can then be also used as
simplified vocabularies.
2012-01-08 00:47:32 +01:00
Michael Peter Christen
972d411d99 Merge branch 'master' of ssh://git@gitorious.org/yacy/rc1.git 2012-01-07 17:51:37 +01:00
Michael Christen
c932a10c5c Merge branch 'master' of ssh://git@gitorious.org/yacy/rc1.git 2012-01-07 17:34:58 +01:00
Michael Christen
bd40a10230 added autotaggig stub .. only reading and parsing of vocabularies at
this time
2012-01-07 17:34:38 +01:00
Michael Peter Christen
f214f6ebb4 added no-load queues to the crawler monitor 2012-01-07 17:17:11 +01:00
Michael Peter Christen
1c5deebf81 one more change for signed debian packages 2012-01-07 12:45:40 +01:00
Michael Peter Christen
e1434635d4 changed required setting for package signing 2012-01-07 12:37:02 +01:00
Michael Peter Christen
2ee8cbeb2c Merge branch 'master' of ssh://git@gitorious.org/yacy/rc1.git
Conflicts:
	source/net/yacy/search/Switchboard.java
2012-01-05 18:37:46 +01:00
Michael Peter Christen
992dbdf4bb added noload statistic to servlets 2012-01-05 18:33:05 +01:00
Michael Christen
354b976110 fix for concurrency problem and endless loop in /suggest.json 2012-01-05 08:35:44 +01:00
Michael Christen
c21966bb43 fix 2012-01-04 23:02:12 +01:00
Michael Christen
13b05f9c08 fix 2012-01-04 23:01:04 +01:00
Michael Christen
e5d878c59e Merge branch 'master' of ssh://gitorious.org/yacy/rc1
Conflicts:
	source/de/anomic/crawler/CrawlQueues.java
2012-01-04 22:08:17 +01:00
Michael Christen
ec26b2bea4 Merge commit 'fa08ed5ae5d72bddc3cc6a662b23103579e86109' into quix0r
Conflicts:
	source/de/anomic/crawler/CrawlQueues.java
2012-01-04 20:32:42 +01:00
Michael Christen
eebc02f5c1 fix 2012-01-04 20:24:48 +01:00
Michael Christen
216a287a85 Merge commit '6d4e08ed06c5cd28c45981b2ebe31c7f7ec6fd83' into quix0r
Conflicts:
	source/de/anomic/crawler/CrawlQueues.java
2012-01-04 20:16:37 +01:00
stbrumm
d18095dc48 Patch fuer Issue 0000102
and fixes to Patch (private peer status is a property of a peer, not a
status)
2012-01-03 17:49:37 +01:00
stbrumm
9f1b1b4604 Type for Robinson-Mode/Private Perr added 2012-01-03 14:43:17 +01:00
Michael Christen
20962a4ed7 added metadata node stub for metadata from blobs 2012-01-03 14:38:03 +01:00
Michael Christen
575dbbaa93 enhancements in Blob retrieval: try to use less CPU resources by testing
a blog first that most certainly has wanted entries.
2012-01-02 02:14:05 +01:00
Michael Christen
585a8f3c44 fixed a bug in search sequence (caused emtpy results) 2012-01-02 02:10:39 +01:00
Michael Christen
7a5ff9b808 added checkalive script that can be called frequently to restart crashed
peers automatically
2012-01-02 02:09:49 +01:00
Michael Christen
ce289eb64f remove heuristics if index receive is switched off 2011-12-30 23:51:07 +01:00
Michael Christen
1fdbd2da6e added the 28c3 skin 2011-12-30 02:52:15 +01:00
Michael Christen
361146dd7a better error handling for file loader 2011-12-29 14:37:19 +01:00
Roland 'Quix0r' Haeder
6d4e08ed06 Rewrote filesize() to (hopefully) avoid a NPE, rewrote Blacklist class to concurrent classes to avoid a CME 2011-12-29 03:42:38 +01:00
Roland 'Quix0r' Haeder
901f37d608 Also this ... :( #2 2011-12-29 00:36:56 +01:00
Roland 'Quix0r' Haeder
a985717ed2 Also this ... :( 2011-12-29 00:35:51 +01:00
Roland 'Quix0r' Haeder
5f490de554 Fix for ported fix from my old days ... 2011-12-29 00:34:46 +01:00
Roland 'Quix0r' Haeder
fa08ed5ae5 Fixed a lot CHMOD rights (no need for execute flag on *.java/*.html) and introduced local/remote crawl size ratio based check 2011-12-29 00:33:16 +01:00
Roland Haeder
319fd1f4aa A concurrent access can happen on the blacklist (with latest introduced blacklist check in media snippet computation) 2011-12-28 21:40:44 +01:00
Roland 'Quix0r' Haeder
a3083d13bf Blacklist checks are now always turned on, in media searches (e.g. image search) images matching blacklist entries are no longer shown to the user 2011-12-28 20:09:17 +01:00
Michael Christen
1d66496362 added more properties to opensearchdescription, see also:
http://bugs.yacy.net/view.php?id=114
2011-12-28 10:49:32 +01:00