Ville Skyttä
aa411dd30b
Drop no longer needed "type compopt" checks.
2011-04-21 12:35:24 +03:00
Ville Skyttä
7a4ef9e4a9
Use _init_completion() in completions/j*.
2011-04-20 22:11:12 +03:00
Ville Skyttä
6ea5b13d4d
Localize $classpath in _java_find_sourcepath so completions don't have to.
2011-04-20 22:06:56 +03:00
Ville Skyttä
ee43b22f9b
Use += to append to arrays and strings.
...
It's easier on the eye and faster than foo=( "${foo[@]}" ... ).
2011-04-06 20:39:21 +03:00
Mattias Ulbrich
823f634551
repaired sourcepath and classpath lookup
...
did not work correctly if multiple paths were given (using :)
now takes the corrected information
2011-04-06 18:46:28 +03:00
Ville Skyttä
a73774c833
Fix regressions and further tweak previous java completion patch.
...
Fix inner class regression, adapt test suite, turn off nospace for
single class completions, protect -o nospace for bash < 4.
2011-03-24 20:45:16 +02:00
Mattias Ulbrich
920b1f93b6
improved java completion
...
now suggests also package names
2011-03-24 20:44:10 +02:00
Ville Skyttä
cb01d8ea54
Add javaws completion.
2011-02-06 15:15:20 +02:00
Ville Skyttä
1b0e17c2a3
Define needed utility functions for javac and javadoc even if java is not installed.
2011-02-06 14:53:55 +02:00
Ville Skyttä
6aecdb5f4c
Avoid some unnecessary stat calls.
2011-02-05 12:06:53 +02:00
Ville Skyttä
e99645d2b9
Add pack200 --repack completion.
2011-01-17 22:07:33 +02:00
Ville Skyttä
bda497eb58
Add bunch of java option completions, improve colon handling.
2011-01-04 19:07:30 +02:00
Ville Skyttä
0f450219b6
Remove most "-o filenames" options to "complete".
...
Turn it on dynamically when needed instead; see doc/styleguide.txt for
a longer explanation. This fixes many non-filename completions which
had been previously more or less broken due to unwanted
escape-as-filenames behavior.
2010-11-01 19:29:45 +02:00
Ville Skyttä
ec82c536ed
Improve javadoc -overview,-helpfile,-stylesheetfile,-link,-linkoffline completions.
2010-10-31 21:40:22 +02:00
Guillaume Rousse
cb7fc2f7c4
rename 'contrib' directory to 'completions'
2010-09-12 16:42:21 +02:00