Commit Graph

53348 Commits

Author SHA1 Message Date
Rene Gollent
3cad498309 userlandfs: Fix debug build. 2015-04-04 23:18:57 -04:00
Alexander von Gluck IV
b1ad5660b2 arm: Prevent bcm283X inclusion from breaking other boards
* Move *_BASE into board_config.h to prevent conflicts
2015-04-04 17:44:32 -05:00
Alexander von Gluck IV
59ce662464 repo: Bump Mesa to 10.5.2 on x86_64 2015-04-04 17:17:50 -05:00
Michael Lotz
442e7caa49 app_server: Reset current view also when deleting a parent view.
The check that was in place only ensured that the current view was reset
if the current view itself got deleted. Since deleting views works by
token it is possible that a view other than the current view gets
deleted. When a parent of the current view was deleted, which also
deletes all its children, the current view pointer was not reset and
the stale pointer would still be accessed.
2015-04-04 22:58:45 +02:00
Michael Lotz
35965e5867 app_server: Fix 64 bit build with ServerWindow tracing on. 2015-04-04 22:58:10 +02:00
Michael Lotz
121655e9ee malloc_debug: Add default alignment option.
This allows for something similar as was implemented in 217f090 but
makes it optional and configurable.

The MALLOC_DEBUG environment variable now can take "a<size>" to set
the default alignment to the specified size. Note that not all
alignments may be supported depending on the heap implementation.
2015-04-04 22:55:57 +02:00
Michael Lotz
b0e31a9ce3 Revert "malloc_debug: align allocations".
This reverts commit 217f090f9e.

At least for the guarded heap this completely defeats the purpose. If
software requires a certain alignment it should request it using
memalign explicitly instead of assuming it.
2015-04-04 22:55:57 +02:00
Michael Lotz
5ae3af6cc5 SupportDefs: Add B_SCN* counterparts for some more types.
Namely for [s]size_t, [{phys|generic}_]addr_t and off_t.
2015-04-04 22:55:57 +02:00
Michael Lotz
a05bfeb4a9 Whitespace cleanup only. 2015-04-04 22:55:56 +02:00
Stephan Aßmus
f67071b98c HaikuDepot: Re-activated Size-column
Noticed that HaikuDepotServer info now contains "payloadLength", which is
the package size. Populate that in the list view.
2015-04-04 22:45:46 +02:00
Stephan Aßmus
53094e2fa1 StringForSize.h: Fixed header guard comment at EOF 2015-04-04 22:45:41 +02:00
Stephan Aßmus
72992391bb HaikuDepot: Title versus Name distinction
* The name is the static package name. The title is either that name,
   or a translated pretty version of the name.
 * Adjust package info retrieval to server API changes. Unbreaks package
   translations.
2015-04-04 22:45:37 +02:00
Janus
5a7c64f90a BColumnListView: Avoid crash on column resize.
* Inizialize fSelectedColumn before calling ResizeSelectedColumn().
* Fixes #10439.
2015-04-04 20:30:54 +00:00
Alexander von Gluck IV
e0bf43c16b serialconnect: Really fix baudrate menu
* Re-add removed baudrates in bc02619755
* Re-aligns menu values and *really* fixes
  baudrate selection.
2015-04-04 09:21:05 -05:00
Gerasim Troeglazov
4a55954f3d Updated PDFTranslator and Genesis Commander packages 2015-04-04 20:33:31 +10:00
Michael Lotz
37acb83e4c libroot_debug: Fix build of guarded_heap after atomic changes. 2015-04-04 11:04:35 +02:00
Michael Lotz
2c9e11ba38 media_addon_server: Fix use-after-free on quit.
Putting the add-ons uses the dormant node manager of the BMediaRoster.
The BMediaRoster must therefore only be quit after all add-ons are put.
2015-04-04 11:04:35 +02:00
Michael Lotz
d0a9f6803b Tracker: Fix use-after-free on destruction of the icon caches.
The hash table member still uses the element array memeber to clear
itself on destruction. We must therefore ensure that the element array
isn't destroyed before the hash table. Since the destruction order of
memebers is the reverse order of their declaration, reordering them
is enough.
2015-04-04 11:04:35 +02:00
Michael Lotz
3fc2dd56db BView: Fix 64 bit build with debug output, whitespace cleanup. 2015-04-04 11:04:34 +02:00
Michael Lotz
46578389ba BShelf: Unset the shelf of the containing view on destruction.
The BShelf sets itself as a handler on the containing view on creation
but didn't unset itself on destruction. When the containing view was
later destroyed it would unset the shelf which triggered a
use-after-free if you deleted the BShelf beforehand.

Since the ownership of a BShelf isn't explicitly documented I took the
shelf in DeskWindow of Tracker as a reference, which does delete it
explicitly.
2015-04-04 11:04:34 +02:00
Michael Lotz
23a1bcf28b gcc2 demangler: Fix skip of string termination.
The inner loop to skip the function declaration stops at the
terminating null but didn't break out of the loop in that case, causing
the outer loop increment to skip the terminator and read beyond the
string end.

Well formatted symbols do not trigger this, but there sometimes are
false positives that would cause it to happen. It was seen in Debugger
that reuses this code.
2015-04-04 11:04:34 +02:00
autonielx
5ecdb49e5f Update translations from Pootle 2015-04-04 06:37:21 +02:00
Jérôme Duval
10785b1986 Update the ca_root_certificates package. 2015-04-03 18:07:35 +02:00
Gerasim Troeglazov
d284274513 Added missing openjpeg package for x86_gcc2 2015-04-03 03:48:18 +00:00
François Revol
7332f46513 Add an icon for SD Card devices 2015-04-03 02:07:55 +02:00
Jérôme Duval
66d5089a6c Updated coreutils packages 2015-04-02 18:52:07 +02:00
Gerasim Troeglazov
c954d6d94b Add GenesisCommader package for x86_gcc2 2015-04-02 13:57:37 +00:00
Gerasim Troeglazov
a2851f2acc Add PDFTranslator package for x86_gcc2 2015-04-02 13:51:10 +00:00
Gerasim Troeglazov
f46e4f278f Update documentviewer_x86 and djvutranslator packages for x86_gcc2 2015-04-02 13:46:04 +00:00
Gerasim Troeglazov
ed2d1857b9 Update MuPDF packages for x86, add MuPDF packages for x86_gcc2 2015-04-02 13:40:23 +00:00
Gerasim Troeglazov
35494e0e6b Add jbig2dec packages for x86_gcc2 2015-04-02 13:22:27 +00:00
Axel Dörfler
2889e51c4e SetupEnvironment: removed old audio legacy cruft.
* Haiku never supported this.
2015-04-02 13:25:54 +02:00
Axel Dörfler
c733458294 Removed old, and unused Netscript. 2015-04-02 13:25:49 +02:00
Axel Dörfler
e587c279ee Network/DNSClientService: fixed missing error check.
* CID 1251065.
2015-04-02 11:03:58 +02:00
Axel Dörfler
ba931975e5 Network: fixed uninitialized members.
* CIDs 1251073, 1292681, 1292686, and 1292687 -- all irrelevant, though.
2015-04-02 10:56:36 +02:00
Automatic Committer
7695c3b7eb Update usb.ids from www.linux-usb.org 2015-04-02 05:20:30 +02:00
Automatic Committer
4cbc5130bd Update pci.ids from pciids.sourceforge.net 2015-04-02 05:20:28 +02:00
Augustin Cavalier
f8f8d2bbec Revert "TextSearch: use BString-based searching instead of Grep-based."
This reverts commit 1e9f5f5be4.
As per discussion on the ML.
2015-04-01 16:26:15 -04:00
Fredrik Holmqvist
251eb00d51 Use B_PRId32. 2015-04-01 20:18:00 +02:00
Augustin Cavalier
1e9f5f5be4 TextSearch: use BString-based searching instead of Grep-based.
Huge performance improvement. Fixes #9529.
2015-03-31 20:13:20 -04:00
Augustin Cavalier
1b1789a711 TextSearch: use the layout API. 2015-03-31 20:02:08 -04:00
Augustin Cavalier
90ce311356 TextSearch: normalize copyright headers. 2015-03-31 17:52:05 -04:00
Augustin Cavalier
5f25359909 TextSearch: remove legacy Translation.h. 2015-03-31 17:45:14 -04:00
Augustin Cavalier
696f4254ca TextSearch: trim trailing whitespace. 2015-03-31 17:42:02 -04:00
Augustin Cavalier
05840b4c2a TextSearch: don't save the 'show contents' option.
Also get rid of the redundant menu option.
2015-03-31 17:38:54 -04:00
Augustin Cavalier
c28822e799 TextSearch: RDEF tweaks. 2015-03-31 17:18:02 -04:00
Jérôme Duval
94c4bba0ad Updated patch, wget, which packages. 2015-03-31 20:21:37 +02:00
Axel Dörfler
213f3cdb69 Network: preselect first item, make device view resizable.
* After start, the first item will now be selected.
* The InterfaceAddressView will no longer restrict its width, so
  that the window doesn't have to be resized anymore when switching
  to it.
* This implements ticket #11923.
2015-03-31 18:00:23 +02:00
Axel Dörfler
a526734858 Network: gcc 4 build fix. 2015-03-31 16:52:42 +02:00
Augustin Cavalier
8e655993c3 Tracker: default HideDotFiles to false (again).
As discussed on the ML.
2015-03-31 10:10:36 -04:00