Commit Graph

53631 Commits

Author SHA1 Message Date
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
Axel Dörfler
6257ef9246 Network: let add-ons replace themselves by name.
* Ie. an add-on "Super duper service" in ~/config will override
  one with the same name in /system (and non-packaged in packaged,
  etc.).
* Fixed size of the scroller to ignore the content size vertically.
2015-03-31 14:45:17 +02:00
Axel Dörfler
1aaa0c2142 Package Kit: FetchFileJob now contains package size.
* So that you know how much already was, and still has to be downloaded.
* Automatic whitespace cleanup.
* The link in FetchFileJob.h did not fetch the correct header under
  Haiku anymore (since the addition of the private headers to the
  image).
2015-03-31 13:40:42 +02:00
Axel Dörfler
b49e806d3d Deskbar: minor style cleanup. 2015-03-31 13:40:37 +02:00
Alexander von Gluck IV
bc02619755 serialconnect: Fix baudrate submenu
* kBaudrates is an int not a char
* Just look at first kBaudrates member to figure out array size.
* Drop a few *extremely* uncommon speeds that you'll never see to
  shorten the list.
2015-03-30 17:48:44 -05:00
Jérôme Duval
e5d75a0920 Update the ca_root_certificates package. 2015-03-30 20:59:58 +02:00
Gerasim Troeglazov
9a25c1dbbd Update NanoSVGTranslator package 2015-03-30 13:05:19 +00:00
Gerasim Troeglazov
c57c52b1cc Add NanoSVGTranslator package 2015-03-30 12:45:22 +00:00
Augustin Cavalier
2ead925e2f Tracker: fix extra border in spatial mode. 2015-03-29 18:36:51 -04:00
Augustin Cavalier
a1fc016c14 Tracker: allow opening the desktop as a window in navigator mode.
Fixes #9610.
2015-03-29 18:35:20 -04:00
Augustin Cavalier
4e35726354 Tracker: add "hide dotfiles" option to the GUI & enable it by default.
Changing this many lines of code to add a single boolean preference
is absolutely insane. We need a new preference-tracking system, and
one that can be reused in other applications, too.

Fixes #9200.
2015-03-29 18:10:51 -04:00
Augustin Cavalier
f24bfb3e90 icons: delete the App_BeShare icon.
BeShare now uses it and has it in its tree, so no need to keep
it here.
2015-03-29 18:10:48 -04:00
Humdinger
97f5ebc1ae Sentence casing... 2015-03-29 19:48:53 +02:00
Michael Lotz
0e24bb020b UserlandFS: Fix detection when a file system should be deleted.
This was a regression from hrev39870 where a private Referenceable class
was replaced with BReferenceable. Referenceable::RemoveReference()
returned a boolean to indicate whether the last reference was released
while BReferenceable::ReleaseReference() returns the previous reference
count.

A file system would therefore be deleted when any but the last reference
to it would be released (when multiple volumes of that file system were
mounted and one of them was unmounted) and leaked otherwise (when only
one volume of that file system was mounted and then unmounted).

Fixes #11718.
2015-03-29 17:46:47 +02:00
Michael Lotz
5f396f6a00 UserlandFS: Some whitespace cleanup. 2015-03-29 16:25:18 +02:00
Michael Lotz
ffba66060b UserlandFS: Make 64 bit clean and enable build for x86_64.
I did not bother to fix the BeOS kernel emulation, so this part is
still left out of the x86_64 build.
2015-03-29 16:25:17 +02:00
Gerasim Troeglazov
47ff5824b8 Update djvutranslator and djvuviewer packages 2015-03-29 12:13:53 +00:00
Murai Takashi
cddfcf2f87 Fix incorrect initialization.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2015-03-29 11:01:31 +02:00