[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fenfire-dev] darcs patch
From: |
Tuukka Hastrup |
Subject: |
[Fenfire-dev] darcs patch |
Date: |
Wed, 15 Dec 2004 02:27:08 +0200 |
Wed Dec 15 02:26:18 EET 2004 Tuukka Hastrup <address@hidden>
* on window close, LobBinder calls System.exit(0)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
New patches:
[on window close, LobBinder calls System.exit(0)
Tuukka Hastrup <address@hidden>**20041215002618] {
hunk ./org/nongnu/libvob/impl/LobMain.java 123
+
+ public void windowClosed() {
+ System.exit(0);
+ }
}
Context:
[small fix -- the min size of the knob should show it as rectangular
Benja Fallenstein <address@hidden>**20041214111455]
[Fix my bad (and a little Tuukka's ;-)); make TextComponents use Tuukka's knob
size code
Benja Fallenstein <address@hidden>**20041214091447]
[Small twids to Tuukka's patch
Benja Fallenstein <address@hidden>**20041214083117]
[made the ListBox in default theme use scrollbar knob sizing
Tuukka Hastrup <address@hidden>**20041213013014]
[implemented scrollbar knob sizing as knobFractionModel
Tuukka Hastrup <address@hidden>**20041213012826]
[hacked in ViewportLob.getVisibleFraction for scrollbar knob size
Tuukka Hastrup <address@hidden>**20041213012624]
[scrollbar fixes
Benja Fallenstein <address@hidden>**20041210155700]
[Simplify how CLASSPATH is set; remove collections-kaffe which we don't depend
on any longer (it was a copy of Kaffe's collections implementation to allow us
to run on 1.1 Javas)
Benja Fallenstein <address@hidden>**20041210120308]
[README fixes; bug spotter: ibid
Benja Fallenstein <address@hidden>**20041210111035]
[fix for ArrayOutOfBounds occuring sometimes when a cs is last in chain
Benja Fallenstein <address@hidden>**20041210023901
Spotter: Tuukka Hastrup
21:17 < tuukkah> not at least easily reproducible: write something
in fiction, click a button, get an exception
at DefaultVobMap.java:420
21:32 < tuukkah> doesn't that mean that there was some textChar[ics]
for which there was not nextInChain[ics]. a wild guess
would be to move the test textChar[ics] > 0
to the beginning of the loop
04:31 < benja> oh, I haven't seen the nextInChain one
04:35 < benja> tuukkah: I'm adding 'if(ics<nextInChain.length) break;'
before 'ics = nextInChain[ics]'
04:36 < benja> or hmm
04:36 < benja> yes
04:37 < benja> nextInChain is only expanded when you call chain(cs1, cs2)
with cs1 >= nextInChain.length
04:37 < benja> however, in this case, ics is the *last* cs in the chain
04:37 < benja> so chain(ics, *) never gets called
04:38 < benja> but it has to be 'if(ics>=nextInChain.length) break'
04:38 < benja> since if it is larger or equal, we know that chain(ics, *)
has never been called, thus ics doesn't have a successor
in the chain
(i.e., tuukkah was right that this means there's no nextInChain[ics],
but the correct fix was different)
]
[more refactoring for fenfeed
Benja Fallenstein <address@hidden>**20041209134529]
[add c++-generated files to darcs to make compiling easier (i.e., make possible
to compile java w/o compiling c++)
Benja Fallenstein <address@hidden>**20041209132544]
[use a setter-based approach rather than a keyword-based approach for component
parameter setting
Benja Fallenstein <address@hidden>**20041209113814
After experience with my earlier patch providing syntactic sugar
for lob construction, I decided the approach I took there doesn't
work that well with Java. I decided to use a more classical approach
with setter methods (i.e., construct the object, then object.setXYZ()).
In addition, I came up with a little code convention for syntactically grouping
the code that sets up one component. Example:
ListBox noteList = new ListBox(rlob.listModel(notes, dateCmp); {
noteList.setTemplate(rlob.label("*", TITLE));
noteList.setKey("NOTES");
}
Note that this merely starts a new Java block after the end of the
"ListBox ... = ...;" instruction.
]
[Refactor: start work on easier convention for lob constructors
Benja Fallenstein <address@hidden>**20041209035806
This is kind of an ugly implementation of Python's keyword arguments
in pure Java. For example, a listbox can be created like this:
ListBox noteList =
new ListBox(rlob.listModel(notes, dateCmp),
"template", rlob.label("*", TITLE),
"key", "NOTES");
which means it has a named parameter "template" with value
(rlob.label("*", TITLE)), and a named parameter "key" with value "NOTES".
]
[support for textual lists, for fenfeed (to show different dc:subjects etc)
Benja Fallenstein <address@hidden>**20041208202803
- ListModel.Join, to achieve similar effects as string.join() (though
it's not exactly the same; Join([1,2,3],X) = [1,X,2,X,3])
- Make Models able to create adapters with only a get() and no set() method
- when cloning TextModels, remember whether to include a line end lob
at the end of the text
]
[create SequenceModel.Concat and TextModel.Concat, for creating bigger texts
out of smaller ones
Benja Fallenstein <address@hidden>**20041207053036]
[make interruptEventloop(), called by addTask(), actually interrupt the waiting
for events on AWT so that background tasks can get processed
Benja Fallenstein <address@hidden>**20041206213657]
[revamp FunctionModel
Benja Fallenstein <address@hidden>**20041206021411]
[speed fix again...
Benja Fallenstein <address@hidden>**20041206000153]
[CollectionModel.containsModel(m) creates a boolean model that says whether m
is in the collection
Benja Fallenstein <address@hidden>**20041205235607]
[speed fix
Benja Fallenstein <address@hidden>**20041205180639]
[little fix
Benja Fallenstein <address@hidden>**20041205020445]
[fix stupid scrolling bug
Benja Fallenstein <address@hidden>**20041204213033]
[twiddle with clip interpolation
Benja Fallenstein <address@hidden>**20041127145955]
[work around a bug in Classpath AWT (apparently), where mouse events get button
'0' instead of 1
Benja Fallenstein <address@hidden>**20041127145846]
[Make LobFont size specifiable by size in pixels instead of points, since the
same point size can produce quite different text sizes with different fonts and
AWT implementations; make most places not declare their own LobFonts, instead
using the ones from Theme
Benja Fallenstein <address@hidden>**20041127145604]
[make use of new interpolation system for clipping (do not put clipping cs in
matcher if no explicit key is specified)
Benja Fallenstein <address@hidden>**20041127143752]
[more consistency in the keying of themed components: handle Window and
ThemeFrame like the other components; if no key is specified, do not put the
component's cs into the vobmatcher (make it 'shown during interpolation' and
not matched against anything in the target scene)
Benja Fallenstein <address@hidden>**20041127030024]
[make StringTextModel not use a key by default (this means that text with no
specified key will be 'shown during interpolation' and not matched against
anything in the other vobscene)
Benja Fallenstein <address@hidden>**20041127025553]
[more fixes for new interpolation system
Benja Fallenstein <address@hidden>**20041127023548]
[finish the new interpolation system
Benja Fallenstein <address@hidden>**20041127000755]
[mostly fix new interpolation system; w and h aren't interpolated yet
Benja Fallenstein <address@hidden>**20041126230007]
[treat height<0 as height==0 in ScalableFont
Benja Fallenstein <address@hidden>**20041126224455]
[add scaling lob
Benja Fallenstein <address@hidden>**20041126224416]
[steps towards a slightly new interpolation system, where cs without keys are
shown during interpolation
Benja Fallenstein <address@hidden>**20041126221611]
[good riddance
Benja Fallenstein <address@hidden>**20041126163934]
[Theme improvements
Benja Fallenstein <address@hidden>**20041126135534]
[new primitive lob to tile another lob; use to show stipple in window (dialog
box) titles
Benja Fallenstein <address@hidden>**20041126134043]
[refactor: remove (float x, float y) parameters from Lob.render -- the parent
can create a translated coordsys to specify the x/y
Benja Fallenstein <address@hidden>**20041126022111]
[remove unused variable
Benja Fallenstein <address@hidden>**20041126012758]
[rename fields in Box and javadoc some of them in the hope to make the code
more comprehensible
Benja Fallenstein <address@hidden>**20041126012717]
[Initial commit (address@hidden/libvob--darcs-import--0.1)
**20041125164113]
Patch bundle hash:
a6bc3a4b48fdc882b2f2d2900f9cd14ac81569f6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBv4TPWkfGqVL3U04RAnz1AKCDZfqG/pAct1R8Vc2DqLP10cM/nACfQrNi
Twk7dBwjasgZ1dePuEbaRt0=
=QT5O
-----END PGP SIGNATURE-----
- Re: [Fenfire-dev] darcs patch, (continued)
- Re: [Fenfire-dev] darcs patch, Benja Fallenstein, 2004/12/14
- [Fenfire-dev] darcs repo, inSECT22, 2004/12/14
- [Fenfire-dev] Re: darcs repo, Benja Fallenstein, 2004/12/14
- Re: [Fenfire-dev] Re: darcs repo, Matti Katila, 2004/12/14
- Re: [Fenfire-dev] Re: darcs repo, Tuukka Hastrup, 2004/12/14
- Re: [Fenfire-dev] darcs patch, Tuukka Hastrup, 2004/12/14
- Re: [Fenfire-dev] darcs patch, Tuomas J. Lukka, 2004/12/15
- Re: [Fenfire-dev] darcs patch, Benja Fallenstein, 2004/12/15
- Re: [Fenfire-dev] darcs patch, Benja Fallenstein, 2004/12/15
- Re: [Fenfire-dev] darcs patch, Tuukka Hastrup, 2004/12/19
[Fenfire-dev] darcs patch,
Tuukka Hastrup <=