CVSROOT: /cvs/gnome Module name: metacity Changes by: newren 05/10/12 01:28:10
Modified files: . : Tag: constraints_experiments ChangeLog constraints-ideas.txt src : Tag: constraints_experiments boxes.c constraints.c testboxes.c Log message: 2005-10-11 Elijah Newren <[EMAIL PROTECTED]> One more testcase, a few more bug fixes (yaay!), and more notes * src/constraints-ideas.txt: lots more stuff on the short term todo list so I don't forget it * src/boxes.c: (meta_rectangle_overlap): (meta_rectangle_vert_overlap): (meta_rectangle_horiz_overlap): fix off by one errors (meta_rectangle_clip_to_region): fix the warning message to refer to this function (stupid cut-and-paste-and-forget-to-modify errors...), actually do the clipping correctly * src/constraints.c: (do_screen_and_xinerama_relative_constraints): compilation fix--meta_rectangle_could_be_contained_in_region() has been renamed, add a HUGE FIXME COMMENT * src/testboxes.c: increase the number of random runs by a couple orders of magnitude; 100 runs would only catch the off-by-one errors very rarely (get_random_rect): rectangle width should be 1..1600 not 0..1599. Similarly for height. (test_region_fitting, test_clamping_to_region) fix a comment typo (rect_overlaps_region): new function that perhaps could be moved to boxes.[ch] (test_clipping_to_region): implement this URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=metacity&who=newren&date=explicit&mindate=2005-10-12%2001:27&maxdate=2005-10-12%2001:29 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list