1 2007-10-24 Jan Nieuwenhuizen <janneke@gnu.org>
3 * Discontinued for now. Generate from git log.
5 2007-10-22 Jan Nieuwenhuizen <janneke@gnu.org>
7 * source/awt/vclxsplitter.hxx:
8 * source/awt/vclxtabcontrol.hxx:
10 * source/core/bin.hxx:
11 * source/core/box.cxx:
12 * source/core/box.hxx:
13 * source/core/container.hxx:
14 * source/core/flow.cxx:
15 * source/core/flow.hxx:
16 * source/core/table.hxx (getHeightForWidth): Use sal_Int32 instead of
17 LONG. Fixes compile on x86_64.
19 * source/awt/vclxsplitter.cxx:
20 * source/awt/vclxscroller.cxx:
21 * source/awt/vclxdialog.cxx: Use %d, as INT is used here,
22 not LONG. Fixes compile warnings on x86_64.
24 * workben/refresh: FIXME: filter-out flood of
26 class <> has virtual functions but non-virtual destructor
28 for now, to make other messages visible.
32 2007-10-19 Jan Nieuwenhuizen <janneke@gnu.org>
34 * workben/test.cxx (MyApp::Main): Display usage () upon -h, --help.
36 * workben/refresh: Append "$@" so that refresh --inst FOO works.
40 * workben/refresh: Softcode outdir. Fixes running on x86_64.
42 * workben/makefile.mk (APP1STDLIBS): Softcode layout library name.
43 Fixes linking on x86_64.
45 * workben/zoom.cxx: Another <c..> include. Fixes compiling test
48 2007-10-18 Jan Nieuwenhuizen <janneke@gnu.org>
50 * .gitignore: Ingore x86_64 output dir too.
52 * source/wrapper/wimpl.hxx:
53 * source/core/timeout.cxx:
54 * source/core/deck.cxx:
55 * source/core/byteseq.cxx:
56 * source/core/bin.cxx: Add some <c..> includes.
58 2007-10-22 Jan Nieuwenhuizen <janneke@gnu.org>
60 * Remove two empty files.
62 * Deleted workben/editor_pre
63 * Deleted workben/output
65 * Incorporate http://www.alunos.dcc.fc.up.pt/~c0607045/trash/openoffice/layout.tgz
67 * Modified source/core/box.cxx
68 * Modified source/core/table.cxx
69 * Modified source/wrapper/wcontainer.cxx
70 * Modified workben/editor.cxx
71 * Modified workben/flow.xml
73 * Added source/Documento por Gravar 1
74 * Added source/api/com/sun/star/awt/XLayoutFlow.idl
75 * Added source/api/com/sun/star/awt/XLayoutFlowContainer.idl
76 * Added source/awt/non-interactable-containers.xml
77 * Added source/awt/vclxfactory.cxx
78 * Added source/awt/vclxfiledialog.cxx
79 * Added source/awt/vclxfiledialog.hxx
80 * Added source/awt/vclxline.cxx
81 * Added source/awt/vclxline.hxx
82 * Added source/awt/vclxpane.cxx
83 * Added source/awt/vclxpane.hxx
84 * Added source/awt/vclxradiobutton.cxx
85 * Added source/awt/vclxradiobutton.hxx
86 * Added source/gtk/vclxcommon.cxx
87 * Added source/gtk/vclxcommon.hxx
88 * Added source/gtk/vclxcontainer.cxx
89 * Added source/gtk/vclxcontainer.hxx
90 * Added source/gtk/vclxdialog.cxx
91 * Added source/gtk/vclxdialog.hxx
92 * Added source/gtk/vclxwidget.cxx
93 * Added source/gtk/vclxwidget.hxx
94 * Added workben/adjust.xml
95 * Added workben/editor-normal.xml
96 * Added workben/editor_pre
97 * Added workben/flow-container.xml
98 * Added workben/output
99 * Added workben/test.xml
101 2007-08-20 Michael Meeks <michael.meeks@novell.com>
103 * source/wrapper/wimpl.hxx (wrapperGone): fix ordering
106 * workben/editor.cxx (PropertiesList::destruct): bin,
107 use virtual destructors.
109 * source/core/visualcnt.cxx: set only size, not
112 2007-08-20 Michael Meeks <michael.meeks@novell.com>
114 * merge Ricardo's nice work ...
116 2007-08-20 Michael Meeks <michael.meeks@novell.com>
118 * source/core/box.cxx (getMinimumSize): calculate size
119 correctly wrt. 2x padding.
121 2007-08-17 Michael Meeks <michael.meeks@novell.com>
123 * source/core/helper.cxx (findAndRemove): rename
124 border -> 'has_border' to not conflict with container /
125 widget prop of same name.
127 * workben/*.xml: rename all border attributes.
129 * source/core/box.hxx: bin bogus mnBorderWidth - use
130 the container instead.
132 * source/core/helper.cxx: rename 'border' to
133 'has_border' so container borders work.
134 (anyFromString): fix type of LONG, add unsigned types &
135 re-order into TypeClass.idl sequence.
137 * source/awt/vclxbutton.cxx (IconButton): center
138 labels, somehow setting a graphic changes the behavior
139 of widgets with no align set.
141 2007-08-16 Michael Meeks <michael.meeks@novell.com>
143 * source/wrapper/wcontainer.cxx (Clear): get condition
146 * source/core/container.cxx (setParent): cope with null
147 parents by not throwing.
149 * workben/editor.cxx: add Alignment ... and adapt to new
150 property code - so we get container properties.
152 * source/core/helper.cxx (setProperties): adapt to new
153 layoutimpl::prophlp helpers.
154 (canHandleProps, queryPropertyInfo, setProperty, getProperty):
157 2007-08-16 Michael Meeks <michael.meeks@novell.com>
159 * source/core/*.cxx: calm down debug.
161 * source/core/align.cxx, box.cxx: add PROPHELPER_SET_INFO
162 to the child props too ... (doh).
164 * source/core/helper.hxx (PROPHELPER_SET_INFO): impl. this
165 as a macro, comment it heavily.
166 * source/core/container.hxx, box.hxx, align.hxx, bin.hxx: add
167 the macro back cf. 2007-06-07 ...
169 * source/core/import.cxx, source/wrapper/wimpl.hxx: calm the
170 churning debug problem down: finally can see the important
173 * workben/editor.cxx (EditorDialog): add 'maDelete' member &
174 rename 'engine->mpEngine'
176 * source/awt/vclxbutton.cxx (IconButton, VCLXCancelButton),
177 (VCLXHelpButton): impl.
179 * source/core/import.cxx (handleCornerCases): bin.
181 2007-08-16 Michael Meeks <michael.meeks@novell.com>
183 * source/awt/vclxproxy.cxx (queryInterface): fixup.
185 * source/awt/vclxbutton.cxx: impl OKButton stub.
187 * source/awt/vclxproxy.cxx: gut-wrenching manual cut/paste
188 proxy creation: urgh.
190 * source/core/import.cxx (handleCornerCases): bin okbutton
193 2007-08-15 Michael Meeks <michael.meeks@novell.com>
195 * source/core/helper.cxx (setProperties): add debug for
198 * source/core/container.cxx (queryInterface, acquire,
199 release): unwind nightmarish UNO lifecycle evil: not
200 implementing acquire/release is a spectacularly bad
201 idea: trashed memory gets accessed by the next queryinterface.
203 2007-08-15 Michael Meeks <michael.meeks@novell.com>
205 * source/wrapper/wrapper.cxx (GetPeer): bin debug.
206 (Clear): impl. for Ricardo.
208 * workben/editor.cxx (naturalSize): impl. and call post
209 construction, so we size to the total size with the added
212 * source/core/root.hxx: remember to declare we impl.
215 * workben/editor.cxx (getDepth, makeListEntryName): impl.
218 * workben/editor.hxx (class EditorEngine): bin maIdentList.
220 2007-08-15 Michael Meeks <michael.meeks@novell.com>
222 * workben/editor.cxx (PropertyEntry): show the
223 widgets post construction: now appears to work
224 as nicely, if not better than before.
226 * source/wrapper/wcontainer.cxx (Container): add
227 warning if no peer to associate with is found.
228 (Container): actually assign mxContainer.
230 * source/wrapper/wbutton.cxx (SetImageAlign): impl.
231 SetImageAlign, and use it to align-left the images.
233 * workben/test.cxx (InitUCB): enable this.
234 (Main): set more magic environment variables: 'magic'!
236 2007-08-14 Michael Meeks <michael.meeks@novell.com>
238 * workben/test.cxx: attempt to defeat stupid configmgr
239 bootstrapping evilness.
241 * workben/test.cxx (UnoBootstrapSucks): log component
242 instantiations, and exception text - caught config mgr.
245 * source/inc/layoutcore.hxx: impl. - a header for
246 sharing code from core -> wrapper.
248 * source/wrapper/wbutton.cxx (ImageImpl): impl.
249 and add SetImageMode method.
251 * source/core/helper.cxx (loadGraphic): impl.
253 * inc/layout/layout.hxx: add lstbox.h for
254 LISTBOX_ENTRY_NOT_FOUND & fix editor with this.
256 * source/core/helper.cxx (createWidget): merge
259 2007-08-09 Michael Meeks <michael.meeks@novell.com>
261 * source/awt/vclxtabcontrol.?xx, source/awt/makefile.mk,
262 * utils/makefile.mk: import TabControl.
264 * source/core/*.cxx: put in 'layoutimpl' namespace.
266 * source/core/import.cxx (WidgetElement): handle
269 2007-08-09 Michael Meeks <michael.meeks@novell.com>
271 * doc/stats.ods: statistics on widget impl. & attribute
274 * source/core/helper.cxx (createWidget): re-enable
277 * source/core/import.cxx (handleCornerCases):
278 un-comment handle-corner-cases.
280 2007-08-09 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>
284 2007-07-30 Michael Meeks <michael.meeks@novell.com>
286 * doc/vcl.txt: add notes on how fallback awt peer
289 * doc/awt-props.ods: try to bring some sanity to the
290 cut/paste frenzy in the awt properties.
292 * source/core/import.cxx (ToplevelElement): switch back
293 to the new pseudo-'root' 'XLayoutContainer' approach that
294 is cleaner & simpler.
296 2007-07-30 Michael Meeks <michael.meeks@novell.com>
298 * workben/editor.cxx (createWidget): fix variable naming
299 _name -> pName; fix createContainer call signature.
301 * source/core/deck.cxx (setVisible): switch to queueRecalc.
303 * source/core/root.cxx (getChildren, removeChild): impl.
305 * source/core/container.cxx (getSingleChild): impl.
306 helper & upd. callers.
308 * Resolve conflicts with Ricardo.
310 2007-07-26 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>
312 * Added SVLXTabControl that offers XWindow and XLayoutContainer
313 interfaces for the VCL TabControl.
314 But its allocateSize() isn't being called (though sometimes it
315 is), so multi tabs are broken.
317 * Touched a bit XLayoutContainer interface: added getChildren()
318 and removeChildren(). And got rid of clearChildren().
319 SPECIFICATION: setParent() must be called on child when added
320 or removed to a container -- in case child implements XChild
321 -- pass null to remove.
323 2007-07-25 Michael Meeks <michael.meeks@novell.com>
325 * notes.txt, doc/metricfield.txt, doc/oldnotes.txt:
326 move some of my cruft out of notes.txt
328 * source/core/root.cxx: made LayoutRoot implement
329 XLayoutConstrains and XLayoutContainer (a simple bin).
331 * source/core/timeout.cxx: do idle sizing via the
334 * source/core/import.cxx (~ToplevelElement): simplify
335 toplevel sizing. Tie LayoutRoot to the toplevel window:
338 2007-07-25 Michael Meeks <michael.meeks@novell.com>
340 * workben/zoom.xml: update variously.
342 * source/core/timeout.cxx: add evil hack using VCL
343 idle handler to layout idly (not that we do re-layout
346 * source/core/container.cxx (allocateChildAt): calm
349 * source/wrapper: move fields pieces from wrapper.cxx
352 * NB. The code now depends on recent toolkit/ changes in
355 2007-07-13 Michael Meeks <michael.meeks@novell.com>
357 * source/wrapper/*.cxx: propagate a Context* pointer
358 through to all wrapper instances; ready to implement
359 OKButton / CancelButton etc.
361 * source/wrapper/wbutton.cxx: split from
362 * source/wrapper/wrapper.cxx: here.
364 * source/core/import.cxx (handleCornerCases): impl.
365 and call - the ok/help/cancel buttons are -so- lame in
366 awt, we need to emulate them in the wrapper.
368 2007-07-12 Michael Meeks <michael.meeks@novell.com>
370 * source/wrapper/wrapper.cxx (GetPeerHandle): switch
371 to just 1 impl, with an optional nId argument too,
374 * inc/layout/layout.hxx, source/wrapper/impl.hxx,
375 * source/wrapper/wrap_container.cxx,
376 * source/wrapper/wrapper.cxx: impl. new 'Box'
377 container type, also allow explicit widget
380 * workben/editor.cxx: re-work to use a sequence of
381 PushButtons instead of create<N> thing.
383 2007-07-06 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>
385 * a bunch of stuff touched (in special workben/editor.hxx and cxx):
386 Sorry, will try to take better care of the ChangeLog in
389 Made a first layout editor. Added temporary calls recalc()
390 and clearChildren() to the XLayoutContainer interface. :P
391 Quite hacky overall; but its already more functional than
392 was targetting for the milestone, and will be cleaning it up...
394 Committed part of koehin's patch: the ListBox wrapper.
396 2007-06-22 Michael Meeks <michael.meeks@novell.com>
398 * source/wrapper/wrapper.cxx: impl. NumericFormatter -
399 we still need MetricField to implement a (mis-named)
400 XCurrencyField interface though ...
402 2007-06-22 Michael Meeks <michael.meeks@novell.com>
404 * source/wrapper/wrapper.cxx (WindowImpl): add
405 get/setProperty helpers.
406 (PushButton::[Is]Check[ed]): impl.
408 * source/core/*: some debug calming action.
410 * source/wrapper/wrapper.cxx (::Dialog): get toplevel
412 (GetPeerHandle): calm debug.
414 2007-06-21 Michael Meeks <michael.meeks@novell.com>
416 * source/wrapper/wrapper.cxx (Dialog::SetText),
418 * source/core/import.cxx (startRootElement): check
419 the namespace & allow non-framewindow toplevels.
420 (WidgetElement): !pParent -> WindowClass_TOP.
422 * workben/zoom.xml: add 'group' attributes, hmm. Not
423 working that well for some reaosn.
425 * source/wrapper/wrapper.cxx (ButtonImpl::SetClickHdl)
426 don't add the action listener until we need to to preserve
429 2007-06-20 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>
431 * source/core/import.h/cxx: added support for radio groups.
432 As agreed, a group is specified by an id. So, the xml
433 would be: <radio group="pizza" value="margarita" /> ...
435 2007-06-20 Michael Meeks <michael.meeks@novell.com>
437 * source/core/import.cxx (WidgetElement): filter out 'id'
438 property and add into mrRoot.
440 * source/core/helper.cxx (setProperties): remove 'id' bits.
442 2007-06-20 Michael Meeks <michael.meeks@novell.com>
444 * source/core/byteseq.cxx: add - gross hack, to go later.
445 * source/core/root.cxx: upd. to use it.
447 * workben/test.cxx: move much of the file reading /
448 stream handling evil into the core & initialize via UNO.
450 * workben/*: remove LAYOUT_API_TEST conditionals ...
452 2007-06-20 Michael Meeks <michael.meeks@novell.com>
454 * source/core/root.[ch]xx: start of XLayoutRoot impl.
456 * source/core/factory.cxx: UNO component registration fun.
458 * workben/test.cxx: turn off zoomy bits if
459 LAYOUT_API_TEST is not set.
461 * source/wrapper/wrapper.cxx: impl. first cut at
462 wrapping logic; get a few things in order.
464 2007-06-19 Michael Meeks <michael.meeks@novell.com>
466 * source/*: move to source/core/*
468 * source/wrapper: add.
470 * prj/build.lst: upd.
472 2007-06-19 Michael Meeks <michael.meeks@novell.com>
474 * workben/zoom.[ch]xx: import cut/paste of
475 svx/source/dialog/zoom.[ch]xx - hack out svx dependencies
478 * inc/layout/layout.hxx: new 'layout' wrapper API
480 2007-06-08 Michael Meeks <michael.meeks@novell.com>
482 * source/helper.hxx: move ChildProps
483 * source/helper.hxx: to here, rename to PropHelper,
484 add include guards etc.
486 * source/import.?xx: substantial clean up.
488 * workben/*.xml: switch namespace
490 2007-06-07 Michael Meeks <michael.meeks@novell.com>
492 * source/container.cxx: remove static singleton setting
493 'getPropertSetInfo' method, and make it abstract.
494 * source/bin.cxx, source/box.cxx: implement here, so we
495 get different SetInfo for each.
497 * source/vbox.cxx (convertFastPropertyValue): impl. properly.
499 * source/import.cxx (ChildElement::startChildElement): pass
500 the right child attributes.
501 (addChildWidget): actually set properties on the container's
502 child not the widget itself.
504 2007-06-06 Michael Meeks <michael.meeks@novell.com>
506 * source/makefile.mk,
507 * source/import.cxx: rename from newimport.cxx
509 * source/newimport.cxx (getPropAsInt): bin, obsolete.
510 (addChildWidget): add setProperties call for child props.
511 (windowResized): do size request before allocate.
513 2007-06-06 Michael Meeks <michael.meeks@novell.com>
515 * source/newimport.cxx (getAttributeProps): re-factor & split.
516 (findAndRemove): this.
518 * source/helper.cxx (setProperties, toUnoNaming, anyFromString):
519 split from newimport.cxx.
521 * source/newimport.cxx (~ToplevelElement): add, so we
522 show the dialog post sizing.
524 * workben/*.xml: remove 'show' attribute on toplevels.
526 2007-06-06 Michael Meeks <michael.meeks@novell.com>
528 * source/newimport.cxx: add hacks (missing Ricardo's
529 hierarchy parsing), to whack all children in 1 hbox.
530 We have layout at last.
532 * source/vbox.cxx (allocateChildAt): get PosSize flags right.
534 * source/newimport.cxx (startRootElement): upd.
535 (ResizeListener): impl.
537 * source/newimport.hxx (class ToplevelElement): add.
539 2007-06-05 Michael Meeks <michael.meeks@novell.com>
541 * workben/layout.xml: add nested vbox.
543 * workben/layout-flat.xml: flat xml