Commit graph

4860 commits

Author SHA1 Message Date
tkuehn
6758f9aebb Profiling in lieu of time::time, rm util alias 2013-05-23 18:43:06 -07:00
bors-servo
943139b397 auto merge of #468 : jdm/servo/investigate, r=metajack
By the power vested in me through the agency of gdb, massif, and valgrind, here are some changes that fix various crashes that occur when shutting down at arbitrary points, along with some honest-to-goodness shutdown leaks reported by valgrind, and the layout cycles that were causing 1gb/s memory explosions when running test_hammer_layout.html.
2013-05-22 12:57:28 -07:00
bors-servo
f3e74dad76 auto merge of #469 : metajack/servo/ignore-objdir, r=jdm
This is the directory that moz buildbots use to build Servo.
2013-05-22 11:39:31 -07:00
Jack Moffitt
8a3c3ce6e5 Ignore objdir directory.
This is the directory that moz buildbots use to build Servo.
2013-05-22 12:24:00 -06:00
Josh Matthews
48fbce9f2b Avoid creating a TextRun which won't be used, thus creating a permanent cycle with no way to break it. 2013-05-22 14:20:15 -04:00
Josh Matthews
ec4f16fa68 Add teardown phase to the start of each layout operation that manually breaks cycles between flows, boxes, fonts, shapers, and textruns on stale layout data. 2013-05-22 14:19:18 -04:00
bors-servo
de2f913c34 auto merge of #467 : ILyoan/servo/jsval2, r=metajack
This is a fix for #309 and #308 along with https://github.com/mozilla-servo/rust-mozjs/pull/18. 
Change JSVal from u64 to {u64}
2013-05-22 11:18:25 -07:00
Josh Matthews
982dd0c0f0 Add document teardown operation to safely remove rooting for DOM tree and prevent leaks. 2013-05-22 14:14:33 -04:00
Josh Matthews
818d29d13a Remove unnecessary cycle between FontEntry and FontFamily. 2013-05-22 14:02:32 -04:00
Josh Matthews
c8b10ec6b8 Avoid leaking FcPattern pointers. 2013-05-22 13:59:35 -04:00
Josh Matthews
a43f92a300 Ensure FontHandles on Linux don't outlast the FreeType library reference. 2013-05-22 13:55:51 -04:00
ILyoan
c6b3c2d927 Fix codejen as JSVal changed 64 -> {64} 2013-05-22 16:27:22 +09:00
ILyoan
755975eacf Update rust-mozjs as change of JSVal 2013-05-22 16:27:22 +09:00
bors-servo
4d0b92d4e1 auto merge of #460 : pcwalton/servo/scrolling, r=metajack
r? @metajack
2013-05-21 14:27:27 -07:00
Patrick Walton
66e31aa0bd Implement the beginnings of scrolling via dragging.
There are tearing problems and GLUT does not support the mouse wheel.
Still, it's a start!
2013-05-21 14:11:44 -07:00
Patrick Walton
01ce79bc74 Refactor compositing a bit to conform to modern Rust style 2013-05-21 14:11:44 -07:00
Patrick Walton
4d7f003cd9 Add rust-alert to the tree and use it to allow a new URL to be navigated to 2013-05-21 14:10:49 -07:00
bors-servo
52a0164022 auto merge of #464 : Sicki/servo/patch-2, r=metajack
without: 
libGL error: failed to load driver: vmwgfx
libGL error: failed to load driver: swrast

platform: ubuntu 13.04
2013-05-21 08:06:30 -07:00
Sicki
a9c6c415cf adding missing lib libgl1-mesa-dri
without: 
libGL error: failed to load driver: vmwgfx
libGL error: failed to load driver: swrast

platform: ubuntu 13.04
2013-05-21 17:52:08 +03:00
bors-servo
1eb5c4f7b7 auto merge of #424 : jdm/servo/reflowfix, r=metajack 2013-05-20 11:30:26 -07:00
Josh Matthews
bb16cf0e7f Make content changing trigger reflow instantly. 2013-05-20 14:08:19 -04:00
bors-servo
ed986ae7d7 auto merge of #462 : metajack/servo/doc-update, r=metajack 2013-05-20 10:05:29 -07:00
Jack Moffitt
60d65e6109 Remove aclocal docs now that cairo is gone. 2013-05-20 10:52:24 -06:00
Jack Moffitt
621da6b4cd Merge pull request #461 from Sicki/patch-1
Update README.md
2013-05-20 07:14:31 -07:00
Sicki
e37f97b732 Update README.md
configuring isn't right without curl (clean ubuntu 13.04)
2013-05-20 13:12:40 +03:00
Patrick Walton
8fbd6326d8 Load purple.com when hitting ctrl+L.
This is a precursor to popping up an alert box.
2013-05-17 15:56:28 -07:00
Patrick Walton
fe9e248c21 Update GLUT for keyboard support 2013-05-17 15:56:27 -07:00
Patrick Walton
b17d9dc220 Reduce the number of channels that talk to the script task to one 2013-05-17 15:56:14 -07:00
Jack Moffitt
6365becb6b Merge pull request #453 from metajack/mut-warnings
Fix unused mut warnings.
2013-05-17 13:12:46 -07:00
Jack Moffitt
e37eaa2a72 Update rust-stb-image. 2013-05-17 10:10:50 -06:00
Jack Moffitt
bb9882f3e6 Merge pull request #457 from pcwalton/refactor-script
Refactor the script task to conform to current coding style
2013-05-16 14:44:58 -07:00
Patrick Walton
2ba5dfbfe3 Refactor the script task to conform to current coding style 2013-05-16 14:33:22 -07:00
Brian Anderson
6d9368cc35 Merge pull request #456 from metajack/ci-fixes
Fixes for `make check` for continuous integration support
2013-05-16 10:55:25 -07:00
Jack Moffitt
d3376283de Submodule updates. 2013-05-16 10:27:04 -06:00
Josh Matthews
41099c07a8 Merge pull request #454 from metajack/dynamic-borrow-errors
Fix dynamic borrow check errors.
2013-05-16 09:12:47 -07:00
Jack Moffitt
eaf9da9ba2 Fix tidy exceptions for reorg. 2013-05-16 09:49:13 -06:00
Jack Moffitt
5986469175 Update rust path for CI backup and restore. 2013-05-16 09:44:30 -06:00
Jack Moffitt
b1b7177ef7 Remove spurious line. 2013-05-16 09:25:46 -06:00
Jack Moffitt
5fd0fcbc91 Fix dynamic borrow check errors.
This reduces the scope of the borrow on `family` to the single FFI call that
needs it.
2013-05-16 09:23:18 -06:00
Jack Moffitt
fdf8f0c09e Fix unused mut warnings. 2013-05-16 08:24:30 -06:00
Jack Moffitt
c8520e9249 Merge pull request #451 from pcwalton/script-task
Rename the content task to the script task
2013-05-15 18:26:30 -07:00
Jack Moffitt
01226cfed5 Merge pull request #450 from metajack/restore-fix
Only restore rust if the backup exists.
2013-05-15 18:21:14 -07:00
Jack Moffitt
85f80f0c35 Only restore rust if the backup exists. 2013-05-15 19:20:28 -06:00
Patrick Walton
1135b0da2d Merge pull request #452 from metajack/reorg-fixups
Reorg fixups
2013-05-15 18:14:12 -07:00
Jack Moffitt
4d2109f0a4 Submodule update. 2013-05-15 19:11:19 -06:00
Jack Moffitt
6803a83a54 Warning police. 2013-05-15 19:08:27 -06:00
Jack Moffitt
a97955c534 Remove debugging from Makefile. 2013-05-15 19:07:39 -06:00
Jack Moffitt
2f40f669ee Update ignores. 2013-05-15 19:07:30 -06:00
Patrick Walton
ad5bfd5297 Rename the content task to the script task 2013-05-15 16:50:20 -07:00
Jack Moffitt
c5ee742fd9 Fix and update submodules. 2013-05-15 17:34:04 -06:00