commit a37a6377089b5f856043b3660a8380326f8c89a8 Author: Behdad Esfahbod Date: Tue Sep 8 11:34:36 2009 -0400 Release 0.21.5 NEWS | 6 ++++++ configure.in | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit f42c894d767ecf9a5a43355d5b10c132945f66e8 Author: Behdad Esfahbod Date: Tue Sep 8 03:08:16 2009 -0400 Simplify access src/vte.c | 174 +++++++++++++++++++++++++++++++------------------------------ 1 files changed, 89 insertions(+), 85 deletions(-) commit ecc159908714dfa325106de5a2b5fb01bd1dc09b Author: Behdad Esfahbod Date: Tue Sep 8 03:04:02 2009 -0400 [ring] Reinstate attr.fragment Fixes the last bug in the new ring. Yay! src/ring.h | 6 ++---- src/vte-private.h | 1 + src/vte.c | 41 ++++++++++++++++++++++------------------- src/vteseq.c | 6 +++--- 4 files changed, 28 insertions(+), 26 deletions(-) commit ccac54d0217e0c13d69012f5fa407d2e0fe5d53a Author: Behdad Esfahbod Date: Tue Sep 8 02:56:51 2009 -0400 [ring] Whitespace src/ring.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 413abad8f245b0db38cfe18fa23f322579c7a906 Author: Behdad Esfahbod Date: Tue Sep 8 02:54:01 2009 -0400 [ring] Fix signed issues src/ring.c | 24 ++++++++++++------------ src/ring.h | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) commit 1db31d7d1168294f830b5b0ad0c57a56cf679dc1 Author: Behdad Esfahbod Date: Tue Sep 8 02:50:05 2009 -0400 [ring] Const correctness src/ring.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 3300760dad390e6299bd21e25521c5e12f5534cd Author: Behdad Esfahbod Date: Tue Sep 8 02:43:34 2009 -0400 [ring] Rename a bit src/ring.c | 44 ++++++++++++++++++++++---------------------- 1 files changed, 22 insertions(+), 22 deletions(-) commit e2d2ca6888fedcbdc5d61c58d10207dfeebb7000 Author: Behdad Esfahbod Date: Tue Sep 8 02:24:52 2009 -0400 [ring] Free all spare chunks when all rings are destroyed src/ring.c | 70 ++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 45 insertions(+), 25 deletions(-) commit 1972a3614be3f7453a13a48d0ab7013a23d83f09 Author: Behdad Esfahbod Date: Tue Sep 8 02:24:42 2009 -0400 [ring] Reduce free chunks from 10 to 4 src/ring.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9ba03097d00059dd5d833053b5cf7f06e22a8f1f Author: Behdad Esfahbod Date: Tue Sep 8 02:10:07 2009 -0400 [ring] Fix chunk disposal src/ring.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 0f97ca6162d6219040f0273626f88044eecabee5 Author: Behdad Esfahbod Date: Tue Sep 8 02:05:38 2009 -0400 [ring] Fix bytes_left calculation src/ring.c | 29 +++++++++++++++-------------- src/ring.h | 8 ++------ 2 files changed, 17 insertions(+), 20 deletions(-) commit 284b9bbb884d36e65af13e968304b74ddb5be1c7 Author: Behdad Esfahbod Date: Tue Sep 8 01:42:25 2009 -0400 [ring] Invalidate cache src/ring.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit c00499dd53ef5ee43ec39fa5823ffcb0659b51e6 Author: Behdad Esfahbod Date: Tue Sep 8 01:25:40 2009 -0400 [ring] Optimize attribute bitfield placement src/ring.c | 6 +++--- src/ring.h | 9 ++++++--- 2 files changed, 9 insertions(+), 6 deletions(-) commit 3ea50a543462262407a54b7e0860c5121c96655e Author: Behdad Esfahbod Date: Tue Sep 8 01:03:42 2009 -0400 [ring] Add debug output src/ring.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit c35dc0dab0da6318428b6d049e20c0c90f80ca00 Author: Behdad Esfahbod Date: Tue Sep 8 00:56:00 2009 -0400 [ring] Fix insert at start src/ring.c | 83 +++++++++++++++++++++++++++++++++++++++++------------------ 1 files changed, 57 insertions(+), 26 deletions(-) commit ec5229042aee27c074b8d700dad5058f3b50872d Author: Behdad Esfahbod Date: Tue Sep 8 00:27:52 2009 -0400 [ring] Move view cache row to ring src/ring.c | 72 +++++++++++++++++++++++++++++------------------------------ src/ring.h | 11 ++++----- 2 files changed, 40 insertions(+), 43 deletions(-) commit 36ad6fac029ccb29465434d46135559d9f5d5584 Author: Behdad Esfahbod Date: Mon Sep 7 22:59:35 2009 -0400 [ring] Implement uncompact src/ring.c | 203 ++++++++++++++++++++++++++++++++++++++++++++++++++++------- src/ring.h | 7 ++- 2 files changed, 185 insertions(+), 25 deletions(-) commit eb0444e52d7995f50326109cd6d4cf254b2a4774 Author: Behdad Esfahbod Date: Mon Sep 7 22:05:08 2009 -0400 Fix ring access const correctness src/ring.c | 14 +++++++++++- src/ring.h | 14 +++++++++-- src/vte.c | 65 ++++++++++++++++++++++++++++++++++----------------------- src/vteseq.c | 24 ++++++++++---------- 4 files changed, 75 insertions(+), 42 deletions(-) commit f214a7b86a3a3f37fbcef457bdbe81ac08c302f6 Author: Behdad Esfahbod Date: Mon Sep 7 21:37:31 2009 -0400 [ring] Minor src/ring.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 29bceb6074fa708d37f6901073648b146f8c98e7 Author: Behdad Esfahbod Date: Mon Sep 7 21:30:26 2009 -0400 [ring] Cleanup warnings src/ring.c | 26 ++++++++++++++------------ src/ring.h | 7 +++++-- 2 files changed, 19 insertions(+), 14 deletions(-) commit 99b5708db5a7bf04e8cf12195ed2b4309b199bf9 Author: Behdad Esfahbod Date: Mon Sep 7 21:25:08 2009 -0400 [ring] Ease default attr computations src/ring.c | 6 +++--- src/ring.h | 40 ++++++++++++++++++++++++---------------- src/vte.c | 6 +++--- src/vteseq.c | 2 +- 4 files changed, 31 insertions(+), 23 deletions(-) commit 1cd88dc0ba39d9c76e165c917510280cf22513a7 Author: Behdad Esfahbod Date: Mon Sep 7 21:16:30 2009 -0400 [ring] Allow one more room in insert such that position doesn't fall off src/ring.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit 5b559865f8237b4aa77c513a3d5847bf0a0e01aa Author: Behdad Esfahbod Date: Mon Sep 7 21:00:13 2009 -0400 [ring] Enlarge initial writable size src/ring.c | 8 +++++--- src/ring.h | 2 ++ src/vte-private.h | 1 - 3 files changed, 7 insertions(+), 4 deletions(-) commit c40b3e92c52057dc84be0c99b57fe7af07bffecd Author: Behdad Esfahbod Date: Mon Sep 7 20:09:04 2009 -0400 [ring] Store max_rows src/ring.c | 74 ++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 42 insertions(+), 32 deletions(-) commit f24dbdf32f0456b5a0e949aaf2068680ccf1feb7 Author: Behdad Esfahbod Date: Mon Sep 7 20:07:38 2009 -0400 [ring] Almost working src/ring.c | 56 +++++++++++++++++++++++++++++++++----------------------- 1 files changed, 33 insertions(+), 23 deletions(-) commit 05d1c8b063fb9c601bf20b23475dc395221c8f5b Author: Behdad Esfahbod Date: Mon Sep 7 19:55:14 2009 -0400 Fix initial scrollback size src/vte.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 024c67a1a12e1e82b65cc53b8b0adc89a689e53f Author: Behdad Esfahbod Date: Mon Sep 7 19:51:50 2009 -0400 Fix comment src/ring.c | 1 + src/vte-private.h | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3e1ea9728a313c296fbda053359152192f5305e7 Author: Behdad Esfahbod Date: Mon Sep 7 18:59:02 2009 -0400 [ring] Compacting goodness; disabled now; eats babies src/ring.c | 282 ++++++++++++++++++++++++++++++++++++++++++++++++------------ src/ring.h | 20 ++++- 2 files changed, 243 insertions(+), 59 deletions(-) commit 91697b796a9c0f1e8e20a6ae18139556f10cb5ca Author: Behdad Esfahbod Date: Mon Sep 7 17:01:12 2009 -0400 [ring] Closer to working src/ring.c | 191 +++++++++++++++++++++++++++++++++++++----------------------- 1 files changed, 118 insertions(+), 73 deletions(-) commit 68d17bacfd7b7127ff03497df555f7274f60b604 Author: Behdad Esfahbod Date: Mon Sep 7 15:36:54 2009 -0400 [ring] Overhaul. Not working right now. src/ring.c | 268 +++++++++++++++++++++++++++++++++++++++-------------- src/ring.h | 56 +++++++++--- src/vte-private.h | 2 +- src/vte.c | 16 ++-- 4 files changed, 249 insertions(+), 93 deletions(-) commit de3f63efab64408c2eb3b0e02e358063769c9396 Author: Behdad Esfahbod Date: Mon Sep 7 01:30:44 2009 -0400 [ring] Keep ring->next instead of ring->length src/ring.c | 45 ++++++++++++++++++++------------------------- src/ring.h | 8 ++++---- 2 files changed, 24 insertions(+), 29 deletions(-) commit 75809e632eb097c8a96c855781677cee560978eb Author: Behdad Esfahbod Date: Mon Sep 7 01:15:55 2009 -0400 Fix palette handling src/ring.h | 1 + src/vte-private.h | 2 +- src/vte.c | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) commit 294b146da1c74ae16d2fd97a986a187d7e2a280d Author: Behdad Esfahbod Date: Sun Sep 6 00:08:54 2009 -0400 [ring] Simplify insert/remove src/ring.c | 24 ++++++++---------------- 1 files changed, 8 insertions(+), 16 deletions(-) commit 0a855cc5c15f986607e9d2b1c77801792db796fc Author: Behdad Esfahbod Date: Sat Sep 5 23:58:33 2009 -0400 [ring] Allocate main row array in powers of two This way we can use a bitwise-and to index, instead of int division src/ring.c | 39 +++++++++++++++++++++++++-------------- src/ring.h | 4 ++-- 2 files changed, 27 insertions(+), 16 deletions(-) commit b86951330fa9cbb8341aec7ca2fc0be7be4596c1 Author: Behdad Esfahbod Date: Sat Sep 5 23:35:37 2009 -0400 [ring] Assert struct sizes src/ring.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit e36788647962b2632e8f241b830e2bb18f173889 Author: Behdad Esfahbod Date: Sat Sep 5 23:32:58 2009 -0400 Add static assertions src/debug.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 475606d988458605f2f79e649dabe335e3a0453a Author: Behdad Esfahbod Date: Sat Sep 5 23:09:34 2009 -0400 [ring] Remove glong in favor of guint src/ring.c | 64 ++++++++++++++++++++++++++++++------------------------------ src/ring.h | 24 +++++++++++----------- 2 files changed, 44 insertions(+), 44 deletions(-) commit 086cbf79dd47cbecf2b9afe777f940acf1ae19ef Author: Behdad Esfahbod Date: Sat Sep 5 23:06:58 2009 -0400 [ring] Minor cleanup src/ring.c | 25 ++++++++++++++++--------- src/ring.h | 16 ++++++++-------- src/vte.c | 4 ++-- 3 files changed, 26 insertions(+), 19 deletions(-) commit 08972ae6e02c65b5ad0442674b6c6f4b938ed17f Author: Behdad Esfahbod Date: Sat Sep 5 23:00:53 2009 -0400 [ring] Remove unused macro src/ring.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 86211afa952dc878b84ce1b7f14b381fcd91991f Author: Behdad Esfahbod Date: Sat Sep 5 22:55:51 2009 -0400 [ring] Tune pool allocation to allocate in powers of two in bytes src/ring.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) commit ddfef75afd62dc324ec033f57594cad70d0ed34e Author: Behdad Esfahbod Date: Sat Sep 5 22:41:58 2009 -0400 [ring] Rename src/ring.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 99f63f1da37c343064175572b5b53b5193bbcb3f Author: Behdad Esfahbod Date: Sat Sep 5 22:24:26 2009 -0400 [ring] Set minimum row size for allocation to 80 src/ring.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 865e8e2d981873cfd1d98535c6666f25a8315b22 Author: Behdad Esfahbod Date: Sat Sep 5 22:23:44 2009 -0400 [ring] Add debug messages to new code src/ring.c | 24 +++++++++++++++++++----- 1 files changed, 19 insertions(+), 5 deletions(-) commit e92865dce49fdcec5181add1a2be36fa57fad3af Author: Behdad Esfahbod Date: Sat Sep 5 22:06:56 2009 -0400 Minor cleanup src/debug.h | 2 +- src/ring.c | 1 + 2 files changed, 2 insertions(+), 1 deletions(-) commit 7b7bea551750d0ff5103fd1e2de969b0d093812c Author: Behdad Esfahbod Date: Sat Sep 5 21:06:53 2009 -0400 [ring] Use large-size pools for rowdata allocation src/ring.c | 155 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 141 insertions(+), 14 deletions(-) commit c6b2621d549b51dc9499673717d1125437576963 Author: Behdad Esfahbod Date: Sat Sep 5 20:13:23 2009 -0400 Rename vtecells to VteCells as well src/ring.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) commit 2ce6acc60f48a0ce929a222a49957e90c0b8e077 Author: Behdad Esfahbod Date: Sat Sep 5 20:12:14 2009 -0400 Rename vtecell to VteCell as it's not a value type src/ring.c | 19 ++++++++++--------- src/ring.h | 20 ++++++++++---------- src/vte-private.h | 6 +++--- src/vte.c | 50 +++++++++++++++++++++++++------------------------- src/vteseq.c | 16 ++++++++-------- 5 files changed, 56 insertions(+), 55 deletions(-) commit 064822346af55ce36e0a7e82b38bf235e9fb394f Author: Behdad Esfahbod Date: Sat Sep 5 00:06:38 2009 -0400 [ring] Remove GArray for rowcell allocation A very dumb allocator right now. To be optimized. src/ring.c | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----- src/ring.h | 47 ++++++++++++---------- 2 files changed, 140 insertions(+), 31 deletions(-) commit fb9a0d3727c12c0dd5de384335050bb416d33815 Author: Behdad Esfahbod Date: Fri Sep 4 21:20:30 2009 -0400 Remove chunk mutex We always get called in from the mainloop and hence are essentially single-threaded. src/vte.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) commit 9f486dfe6b1c71073ee85fd092cb375842a98f42 Author: Behdad Esfahbod Date: Fri Sep 4 21:17:13 2009 -0400 Bug 594025 - crash in Terminal: running cat /dev/urandom... Bug 593795 - crash in Terminal: By mistake cat'ing a bin... Remove assert. G_DISABLE_ASSERT has been in use for years... None of the asserts in place right now have been tested much :( src/vte.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit f5f3e586ec83c8da5b473164669f501de6fa281a Author: Og B. Maciel Date: Sun Aug 30 12:11:29 2009 -0400 Updated mailing list address. po/pt_BR.po | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 00566ad0acd9f4a959f1d91935741f9ef07ca4fe Author: Behdad Esfahbod Date: Fri Aug 28 14:03:50 2009 -0400 Enable silent rules by default configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit cbb3071086f9bc173b9d8b9d3f79f87bae256c6a Author: Behdad Esfahbod Date: Thu Aug 27 17:10:19 2009 -0400 Remove cell.attr.fragment and use cell.c == FRAGMENT instead src/ring.h | 6 +++--- src/vte.c | 42 +++++++++++++++++++----------------------- src/vteseq.c | 6 +++--- 3 files changed, 25 insertions(+), 29 deletions(-) commit 71a6cf23eeb0237858b7b769074ed9c5bb564c3d Author: Behdad Esfahbod Date: Thu Aug 27 17:07:53 2009 -0400 [ring] Fix brokenness with macro implementation src/ring.h | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) commit 96793d9716c658b5d9ee4c87846c8e6e7b1c26c7 Author: Behdad Esfahbod Date: Thu Aug 27 16:37:27 2009 -0400 Minor cleanup src/vte.c | 88 +++++++++++++++++++++++++++--------------------------------- 1 files changed, 40 insertions(+), 48 deletions(-) commit f73e04e92c092f4ce791df2008bb3078847f4805 Author: Behdad Esfahbod Date: Thu Aug 27 00:23:35 2009 -0400 Remove ring from test programs src/Makefile.am | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) commit 5a2879bcc28c703b4e120f57d750d47b7b27a8f4 Author: Behdad Esfahbod Date: Thu Aug 27 00:14:16 2009 -0400 [ring] Swap rows instead of moving Avoids lots of free/new's src/ring.c | 17 ++++++----------- 1 files changed, 6 insertions(+), 11 deletions(-) commit 05f07e28d7f2b886ee924dd37164a7dfb78d0bb3 Author: Behdad Esfahbod Date: Thu Aug 27 00:10:47 2009 -0400 [ring] Simplify more src/ring.c | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) commit a2c132d6ffa528cbfde0ccd0ed35e08900182ffe Author: Behdad Esfahbod Date: Wed Aug 26 18:45:36 2009 -0400 Rename _vte_row_data_set_length() to _vte_row_data_shrink() src/ring.h | 4 ++-- src/vte.c | 15 +++------------ src/vteseq.c | 23 ++++++++++------------- 3 files changed, 15 insertions(+), 27 deletions(-) commit 8cb3e376efd04a92570fec8059f6c634e80603c7 Author: Behdad Esfahbod Date: Wed Aug 26 18:32:03 2009 -0400 Simplify a bit src/vte.c | 3 +-- src/vteseq.c | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) commit 4c8cbb00831c40ed62b29da7fe9ae2734dcb5925 Author: Behdad Esfahbod Date: Wed Aug 26 18:19:12 2009 -0400 Add basic_cell with default cell attrs src/ring.c | 2 +- src/ring.h | 104 +++++++++++++++++++++++++++++++++------------------- src/vte-private.h | 14 ++----- src/vte.c | 72 ++++++++++++++---------------------- src/vteseq.c | 18 +++++----- 5 files changed, 108 insertions(+), 102 deletions(-) commit d3f87acad23aa0b50f2d15756ccd12e173ddbcf7 Author: Behdad Esfahbod Date: Wed Aug 26 01:06:27 2009 -0400 Abstract rowdata functions away from GArray src/ring.c | 17 +++--- src/ring.h | 31 ++++++++++- src/vte.c | 171 +++++++++++++++++++++++++--------------------------------- src/vteseq.c | 146 ++++++++++++++----------------------------------- 4 files changed, 153 insertions(+), 212 deletions(-) commit 545fb3c59298058a682879545ff52230054642a6 Author: Behdad Esfahbod Date: Wed Aug 26 00:24:09 2009 -0400 [ring] Simplify insert and remove even more src/ring.c | 41 ++++++++++++++++++++++++++++++----------- src/vte.c | 24 ++++-------------------- src/vteseq.c | 44 ++++++++++++++------------------------------ 3 files changed, 48 insertions(+), 61 deletions(-) commit 681db91a7772a77b903163f6985330a6f24ef977 Author: Behdad Esfahbod Date: Wed Aug 26 00:12:21 2009 -0400 Simplify insert src/vte.c | 11 ++--------- src/vteseq.c | 11 ++--------- 2 files changed, 4 insertions(+), 18 deletions(-) commit e95ee843ef2954635ca3405f8de009fcb2095304 Author: Behdad Esfahbod Date: Wed Aug 26 00:08:10 2009 -0400 Simplify remove src/ring.c | 4 ++-- src/vte.c | 3 +-- src/vteseq.c | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-) commit 54e717f081f365ac0e9b2a9947e50893c7666807 Author: Behdad Esfahbod Date: Wed Aug 26 00:00:17 2009 -0400 Simplify code src/vte.c | 9 +++++---- src/vteseq.c | 21 ++++++--------------- 2 files changed, 11 insertions(+), 19 deletions(-) commit ffcb06a6bc2bf1d66eadf2e708ec444cf612f0c0 Author: Behdad Esfahbod Date: Tue Aug 25 23:47:07 2009 -0400 [ring] Add safeguards to remove() src/ring.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 41f2912b527d3aa69ac3e70e9146f8ee171c1a9b Author: Behdad Esfahbod Date: Tue Aug 25 23:42:06 2009 -0400 [ring] Simplify insert src/ring.c | 49 +++++++++++-------------------------------------- 1 files changed, 11 insertions(+), 38 deletions(-) commit 684e66aeb8597e9f54fda6361ef9e337fdb44eda Author: Behdad Esfahbod Date: Tue Aug 25 23:26:22 2009 -0400 [ring] Don't free items when inserting, reuse them src/ring.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 717f5bc3422dd3b4a838adec7a65e183e2843702 Author: Behdad Esfahbod Date: Tue Aug 25 23:23:12 2009 -0400 [ring] Update docs src/ring.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit 10220e808e6a9406fd96792f14ebcb0e8474ba13 Author: Behdad Esfahbod Date: Tue Aug 25 23:20:48 2009 -0400 [ring] Add _vte_ring_move() src/ring.c | 30 +++++++++++++----------------- 1 files changed, 13 insertions(+), 17 deletions(-) commit dd06b763d657a5f4f95b30c259eb08e0a6a9118e Author: Behdad Esfahbod Date: Tue Aug 25 19:30:29 2009 -0400 [ring] Cleanup debug messages src/ring.c | 39 ++++++++------------------------------- 1 files changed, 8 insertions(+), 31 deletions(-)