Commit Graph
42067 Commits
Author SHA1 Message Date
Alexander von Gluck IV 75c81b64a9 whoami: Remove OpenB*OS version
* Was replaced by coreutils whoami, and options are the same.
2012-04-01 13:40:19 -05:00
Alexander von Gluck IV e0153fad24 beep: Style cleanup. No functional change. 2012-04-01 13:40:19 -05:00
Alexander von Gluck IV 5cb635561c listdev: Style cleanup. No functional change. 2012-04-01 13:40:19 -05:00
Alex Wilson 91b523054f Resolve TODO about possible use after free bug. 2012-04-01 11:54:25 +12:00
Alex Wilson 3c7caf81db Fix a bug that caused some NotificationViews to be double-shown.
This bug affected views added while the window was hidden, and would
result in that view not being hidden when the group was collapsed for
the first time.
2012-04-01 11:54:24 +12:00
Alex Wilson c2fbfb1d58 Don't hardcode the NotificationView width to 300px. 2012-04-01 11:54:23 +12:00
Alex Wilson 2fab0e4804 Remove dead code in NotificationView.cpp 2012-04-01 11:54:23 +12:00
Alex Wilson ac93328eb9 Have NotificationWindow enforce the window size setting. 2012-04-01 11:54:22 +12:00
Alex Wilson d19e651f97 Expand click rects when checking for close/collapse clicks. 2012-04-01 11:54:21 +12:00
Alex Wilson 710eb7410f Clean up use of SetPosition().
This fixes a bug where an empty white window would appear when changing
workspaces if there were no notifications.
2012-04-01 11:54:20 +12:00
Alex Wilson 259ffc0252 Style cleanup in notification_server: #includes 2012-04-01 11:54:19 +12:00
Alex Wilson 617ee9eef6 be_control_look is never NULL, so we don't need backup drawing code. 2012-04-01 11:54:18 +12:00
Alex Wilson fd3e582189 Fix bug in NotificationWindow where the window would be double hidden.
Also simplify and rename _ResizeAll(), now that AppGroupViews remove
themselves.
2012-04-01 11:54:17 +12:00
Alex Wilson 002fd626d6 Fix NotificationWindow's collapsing bug. (#8288)
When a BTwoDimensionalLayout has no visible elements, it has a max size
of B_SIZE_UNLIMITED in both dimensions. In this case, we want it to
shrink down to just the insets.
2012-04-01 11:54:16 +12:00
Alex Wilson 8090bd4a30 Add a TODO about a possible use after free bug. 2012-04-01 11:54:15 +12:00
Alex Wilson 80f96f761c In NotificationWindow, have AppGroupViews get deleted upon expiry.
I.e. once there are no more notifications in the AppGroupView, we get
the NotificationWindow to delete it. As a result of this change, we no
longer need the AppGroupView.cpp _ResizeViews() method.
2012-04-01 11:54:14 +12:00
Alex Wilson cbdd108a09 In NotificationWindow, delete AppGroupViews when closed.
This is preferable to having them kick around for as long as the server
is running. They don't yet close when all of the notifications for the
view time out, that's coming next.
2012-04-01 11:54:13 +12:00
Oliver Tappe 94cefc8f79 Fix target folder of libgutenberg data.
* as pointed out by diver: libgutenberg has been configured to
  expect its data files in /system/data, but we used to install them
  into common.
This way, the Gutenberg printer add-on actually shows some printers.
2012-04-01 18:47:16 +02:00
Oliver Tappe ee374beebf Reset ICU converter pointer after closing it.
* The pointer to the ICU converter that's kept in TLS needs to be
  reset (to NULL) immediately after closing it, as opening a new
  container may fail, leaving a dangling pointer to a now closed
  container in the TLS value.

Fixes #8361 & the userland cause of #8430.
2012-04-01 17:38:44 +02:00
Oliver Tappe a91e17db42 Cleanup: drop unused implementation file. 2012-04-01 17:22:59 +02:00
Jerome Duval 8ea0100184 es1370: build fix 2012-04-01 14:50:31 +02:00
Jerome Duval 57c324a753 arm: added some missing arch bits and changed asm section for arm compat. 2012-04-01 14:03:36 +02:00
Axel Dörfler 8175a2c342 Fixed warning. 2012-04-01 13:06:59 +02:00
Axel Dörfler 8f7ec006cb We need to remove the tree from the transaction. Fixes #3159.
* The tree does keep a reference to the inode as well as long as it is part
  of a transaction.
* Even if it wouldn't have done it (and would not have triggered the panic),
  Haiku would likely have crashed, as the inode (and therefore its tree) was
  already deleted at the time when the transaction discarded its listeners.
2012-04-01 13:04:36 +02:00
Axel Dörfler 15f4dcd831 The inode must be write locked. Dunno how that could work before. 2012-04-01 11:30:58 +02:00
Axel Dörfler 7fef0374fe Make sure it isn't part of a transaction upon destruction. 2012-04-01 11:30:58 +02:00
Axel Dörfler 8cf89e5cd3 Minor cleanup. 2012-04-01 11:30:57 +02:00
François Revol 8d33dc2971 An html5 <canvas> based drawing engine
This implements an html5 rendering engine.
Inspired by the Broadway GDK backend for Gnome.
Work in progress. For now it just connects and dumps debug output.
2012-04-01 11:04:41 +02:00
Adrien Destugues - PulkoMandy d1abffcaa2 Force read/write mode for "removable media" devices as well. This makes
it possible to write files to my MP3 player.
2012-04-01 10:29:15 +02:00
François Revol 2c3d4bf64a Change accessor name for consistency. 2012-04-01 09:05:07 +02:00
[email protected] c106a6bc2e Updated optionalpackages for texinfo, sqlite and bzr. 2012-03-31 17:58:24 -07:00
Axel Dörfler 5868dfb989 Reverted r43922, and instead improved bfs_block_runs command.
* Calling FindBlockRun() would only work for the direct range anyway, as it
  would need to call into the block cache for anything else.
* bfs_block_runs now accepts a few more arguments that make finding an offset
  much easier.
2012-04-01 00:43:49 +02:00
Axel Dörfler b5310b1638 Fixed another bug I introduced with r43837.
* Really the same thing, just for fragment nodes this time.
2012-04-01 00:43:48 +02:00
Rene Gollent cf0769649e Fix crashing corner case in screen prefs.
If the refresh limits only allowed a single refresh, the menu item constructed
had no BMessage. This caused _UpdateRefreshControls() to crash when attempting
to match the current refresh rate to the item. For simplicity, give it a message
containing the fixed refresh rate just as in all other cases. Should finally
fix #8431.
2012-03-31 17:31:21 -04:00
Axel Dörfler dcfb930a98 Improved bfs_inode KDL command. 2012-03-31 23:13:05 +02:00
Axel Dörfler e109dcf97b Don't bail out just because a node couldn't be read.
* Added a new CachedNode::SetTo() variant that actually returns an error code.
* Only bail out if there was an actual I/O error, not already if the offset
  was invalid.
* This should help fixing some corruption corner cases.
2012-03-31 21:57:55 +02:00
Axel Dörfler bae8d9ab83 Reset the counter after each pass. 2012-03-31 21:57:14 +02:00
Axel Dörfler 7a085ce095 Fixed debug build of the kernel emulation. 2012-03-31 21:27:55 +02:00
Rene Gollent 484afd3a08 Updated Web+ package.
Fixes an oversight in yesterday's bug fix.
2012-03-31 14:21:04 -04:00
Axel Dörfler cb8941c48f We must not check the node here.
* The node might not be a normal tree node, so we must not check it before
  writing.
* Also, it's always a good idea to check if the function you called didn't
  succeed.
* This fixes a crashing bug when running checkfs in some rare circumstances.
2012-03-31 17:00:02 +02:00
Axel Dörfler e0927e2c44 Improved debug output. 2012-03-31 16:46:07 +02:00
François Revol 28b813df23 Move callbackFunction type declaration into the class to avoid a name clash with future code. 2012-03-31 16:12:17 +02:00
François Revol 6371cd4dea Fix uninitialized warning. 2012-03-31 16:12:17 +02:00
Axel Dörfler 624b5ef3e6 Minor cleanup. 2012-03-31 15:49:02 +02:00
Axel Dörfler 657e62d222 Fixed the invalid duplicate left over nodes.
* Accidently introduced that bug in r43837; the arrayCount variable was not
  being updated after the value got removed.
2012-03-31 15:45:21 +02:00
Axel Dörfler 55e5a42d73 Fixed misuse of Transaction::Split().
* This would cause "transaction too large" messages, and repairing the index
  would actually be thrown away.
* We now properly finish/restart transactions instead which is actually
  working.
* Removed the misleading Split() method altogether, as it's not even used
  anywhere (not very surprising given that it doesn't do what its name
  suggests).
2012-03-31 15:14:46 +02:00
Axel Dörfler 0f94d73aaa Make PrepareIndices() fail if there isn't anything left to do. 2012-03-31 15:14:09 +02:00
Axel Dörfler 97b80db250 Fixed a possible KDL; the inode might be NULL.
* This happens in case the inode could not be opened in the first place.
2012-03-31 14:25:43 +02:00
Axel Dörfler 439495d8d4 Inode was leaking its small data lock.
* This should not have harmed normal operation (as an Inode is only destroyed
  when it is no longer being used), but the fs_shell could run out of
  semaphores easily.
2012-03-31 14:25:42 +02:00
Axel Dörfler 09ec0ad9c3 Also report errors when the free list is broken.
* This will cause the whole B+tree to be rewritten in that case, too.
* Added a TODO comment that describes an alternative solution for this.
2012-03-31 14:25:42 +02:00