I'm almost certain its my fault. I would like to find out which window and
what parameters are causing the error though. How do we do this?
Interestingly, first guess would be map_subwindow as being the culprit
(which I didn't change) - I'm guessing the window is being asked to assume
some bogus size such as 0 or -ve. Try the attached patch and see if you get
the assert. If so please recompile glyphs.c with DEBUG_WIDGETS defined and
show me the output.
Hmmn, I can reproduce this now and it doesn't assert. I'll dig a bit more
when I have some time.
Thanks
andy
At 03:13 PM 12/7/00 +0900, Martin Buchholz wrote:
>>>>> "Robin" == Robin S Socha
<robin(a)socha.net> writes:
Robin> Does that have to make me worried?
Robin> xemacs: X Error of failed request: BadValue (integer parameter out
of range for operation)
Robin> Major opcode of failed request: 12 (X_ConfigureWindow)
Robin> Value in failed request: 0x0
Robin> Serial number of failed request: 26944
Robin> Current serial number in output stream: 27066
This doesn't happen for me.
It would be very useful if someone could find the patch in error.
You can switch to any particular day's cvs state by doing something
like (untested)
cvs -d :pserver:xemacs@cvs.xemacs.org:/usr/CVSroot -q -w checkout -d
test-xemacs -r release-21-2 -j release-21-2 -jrelease-21-2:2000-11-01 xemacs
then
cd test-xemacs; configure ... && make; src/xemacs ...
I suspect these changes (Andy?):
2000-11-28 Andy Piper <andy(a)xemacs.org>
* redisplay-output.c (redisplay_output_subwindow): make sure we do
clipped display for windows in the gutter also.
(redisplay_display_boxes_in_window_p): change semantics of return
codes to be more intuitive.
* gutter.h: declare display_boxes_in_gutter_p.
* gutter.c (display_boxes_in_gutter_p): new function for
redisplay.
2000-11-22 Andy Piper <andy(a)xemacs.org>
* glyphs-x.c (image_instantiator_format_create_glyphs_x): change
autodetect domain.
2000-11-30 Andy Piper <andy(a)xemacs.org>
* lwlib-Xm.c (xm_update_label): Hack to stop %_ labels until
someone fixes it properly.
2000-11-24 Andy Piper <andy(a)xemacs.org>
* xlwtabsP.h: add visible flag, realRows and remove displayChildren.
* xlwtabs.c (TabVisible): new macro. Consults visible flag.
(TabsInit): remove displayChildren, add realRows.
(TabsConstraintInitialize): ditto.
(TabsResize): ditto.
(TabsGeometryManager): ditto.
(TabsChangeManaged): ditto.
(TabsSelect): ditto.
(TabsPage): ditto.
(TabsHighlight): ditto.
(DrawTabs): ditto.
(TabLayout): Caclulate rows for all children and whether they
should be visible or not..
(TabsShuffleRows): shuffle rows based on both real and displayed
rows. Adjust visibility of all children.
(PreferredSize): ditto.
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd