Commit Graph

52278 Commits

Author SHA1 Message Date
Jérôme Duval 969ddf9c9d libsolv_bootstrap: bump revision. 2014-11-29 22:08:10 +01:00
Humdinger 2e2c68cc35 Sentence casing of context menu item of network prefs. 2014-11-29 18:25:33 +01:00
Humdinger 5fe12d4049 Correct typo
My condolences...
2014-11-29 15:37:42 +01:00
autonielx ef6da249e2 Update translations from Pootle 2014-11-29 07:53:00 +01:00
autonielx 120525a214 Remove the cdplayer app, it is not used anymore 2014-11-29 07:52:59 +01:00
Alexander von Gluck IV f83af26271 data: Kernel settings file
* Add example line to always boot using safe
  video mode (vesa)
2014-11-28 20:37:02 -06:00
Adrien Destugues 3deab26b88 Remove useless stub driver.
* There are already ways to mount disk images of various formats, no
need for this one which doesn't have anything implemented.
2014-11-28 14:49:07 +01:00
Adrien Destugues 6dee50beeb Add package for BeMines.
Fixes #9208.
2014-11-28 14:11:49 +01:00
Adrien Destugues 069804d7ca FileTypes: prevent picking folder as preferred app
* I'm not sure why this was changed back in 2006, the file panel is
reused in various cases but I don't see one where selecting a folder
would make sense.
* If I missed something, then different file panels should be used for
the different cases.

Fixes #8805.
2014-11-28 11:45:26 +01:00
Adrien Destugues 122fdeece7 FontDemo: fix overwriting of family with style.
Menus were wrongly set to SetLabelFromMarked (probably from a previous
version of the UI without the nested font menu).

Fixes #11517.
2014-11-28 10:48:32 +01:00
Oliver Tappe 2462ab577d Drop autotools and libtool from haikuports.cross.
* None of these are required to be cross-built, as they all can be built on
  the bootstrap image just fine.
* Additionally, update bash_boostrap from 4.27 to 4.30, as 4.27 causes the
  build of gcc on the bootstrap image to fail.
2014-11-27 21:58:24 +01:00
Adrien Destugues 344180b745 FontDemo: convert to layout code.
Fixes #9241.
2014-11-27 17:49:22 +01:00
Adrien Destugues f448e83bdd Build fix. 2014-11-27 17:15:22 +01:00
Adrien Destugues 1a08983193 Network: use string_for_size for transfer rates.
Don't ask translators to translate these units over and over again.
2014-11-27 16:55:36 +01:00
Adrien Destugues b549b15d81 Mouse prefs: better looking mouse.
* I went with my own graphics as the one in the preflet didn't look that
nice
* The clicked button is shown using a bold font rather than filling it
grey. I was too lazy to find the correct BShapes for all cases (1, 2 and
3 button mouses)

Fixes #6825.
2014-11-27 16:13:19 +01:00
Adrien Destugues 4c7f391f32 Add a <limits> header for gcc2.
Hacked from the gcc4 version. There may be wrong values returned in some
cases.

Fixes #6701.
2014-11-27 12:14:39 +01:00
Adrien Destugues 56abf4aa37 Fix std::isnan and friends for gcc2.
gcc2 was relying on the c99 functions being there, but they are not in
the std namespace.
* Disable the C99 functions and macros in C++ mode
* Redefine them as inline functions in cmath in the std namespace.

Fixes #7396.
2014-11-27 10:58:49 +01:00
Adrien Destugues 5211ae5d68 Terminal: use BPopUpMenu in BMenuFields.
Using a BMenu works, but it doesn't look as good.
Thanks to Diver for noticing this.
2014-11-27 10:53:16 +01:00
Adrien Destugues f4e8886fae CharacterMap: Fix 64-bit build 2014-11-27 09:11:46 +01:00
Adrien Destugues 3d06e082bc BOptionPopUp: move mennu setup to AttachedToWindow
* There is no need to delay this to AllAttached
* Apps may want to override the SetDivider, and doing it as late as
AllAttached can be annoying.

Fixes #10734.
2014-11-27 09:00:23 +01:00
dsizzle 0340e4b336 CharacterMap: several fixes to char. view scroll
* Select items in the encoding list by block identifier rather than
list index (there are holes in the list)
* Scroll to the start of the list when the application starts
* Add and use IsBlockVisible to detect when we need to make a block
visible, avoiding unwanted scrollings in some cases with the previous
method of testing for only one character in the block.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes some problems with previous enhancements from #3651.
2014-11-27 08:50:37 +01:00
dsizzle b8a8557aa9 CharacterMap: use dynamic font menu
* only update if font family update is detected.
* character map can now detect new fonts or removed fonts without
restarting

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651 part 7.
2014-11-27 08:31:18 +01:00
Automatic Committer f891000ea0 Update pci.ids from pciids.sourceforge.net 2014-11-27 05:20:25 +01:00
Adrien Destugues 052e5d936f Workspaces: remove "about" menu item.
The about box is kept, and can be shown from the replicants.

Fixes #8165.
2014-11-26 16:42:50 +01:00
Adrien Destugues 7b5ea03f20 Icon-O-Matic: import SVG gradient names.
The names are often program generated, but better than no name at all.
2014-11-26 14:51:59 +01:00
Adrien Destugues 42272d2342 OutlineListView: yet another list/fullList mismatch.
Fixes #5817.
2014-11-26 13:48:52 +01:00
Adrien Destugues 83b732c732 checkstyle.vim: add catch to checked keywords
* Check catch() without space
* Check }\ncatch () with newline
* Remove false positive on area_for() and other functions ending with a keyword
2014-11-26 13:27:33 +01:00
Adrien Destugues 4c581823cd Style fix. 2014-11-26 13:18:48 +01:00
Adrien Destugues 52051a08de ActivityMonitor: catch the exception
Having the app abort because of an uncaught exception when out of memory
is not user friendly. Just stop drawing the graphs if that ever happens.
2014-11-26 12:24:05 +01:00
Adrien Destugues 3f57b13504 ActivityMonitor: don't draw graph with negative width.
The computation of the graph width could overflow leading to an absurdly
high count of lines to be drawn. This would freeze with BShape trying to
realloc the array to bigger and bigger sizes as lines were added to it
(by increment of 256, but still), or trigerred a bad_alloc in
BeginLineArray which allocates them upfront after I converted the code
to use that (it is more appropriate).

Add sanity checks to avoid the overflow, now you can have hundreds of
graphs without problems (much more than I can fit on my screen anyway,
which I think is good enough).

Fixes #6841.
2014-11-26 12:16:57 +01:00
Adrien Destugues 31f5b8b5d2 BView::BeginLineArray: leave object in consistent state
We allow this method to throw bad_alloc exceptions as there is no other
way to report errors. However we left the object in a broken state
(maxCount set, but array not initialized) which would crash when calling
either AddLine or EndLineArray.

Initialize the count to 0 before throwing the exception so now
EndLineArray can be called and operations resumed safely after an
allocation failure.
2014-11-26 12:14:36 +01:00
Adrien Destugues d9354cdedc Mouse prefs: truncated string in Suomi translation
* Set the minimal size of the double click test area so the string fits,
in any language.
* Fixes #5746.
2014-11-26 10:57:52 +01:00
Adrien Destugues 3d01d427ae Keymap preferneces: improve deadkey handling logic
* The key down message is not delivered when completing a dead key, so
act on key up instead.
* Pressing a character after a dead key would leave the keymap in "dead
key" mode, and that mode would be exited only by pressing a dead key
again.

Fixes #5734.
2014-11-26 10:35:43 +01:00
Adrien Destugues 1abd97e225 Add SerialConnect to DeskBar menu.
It works well enough now.
2014-11-26 10:12:44 +01:00
Adrien Destugues c278afdec1 BOptionPopUp: build fix. 2014-11-26 09:48:57 +01:00
Adrien Destugues d47ada16bc BOptionPopUp: don't offset when there is no label.
We add a 8 pixel space between the label and the menu, but we shouldn't
do that when the label is empty. This matches BMenuField behavior.

Fixes part of #10734.
2014-11-26 09:29:48 +01:00
dsizzle d67977a5ae CharacterMap: avoid jumping window size
set explicit minimum width of character view to be a bit larger than
fCodeView so that there isn't jumping of the pane sizes when fCodeView's
contents are too long

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651 part 9.
2014-11-26 08:34:05 +01:00
dsizzle c3205c10d7 CharacterMap: show font family and style
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651 item 2.
2014-11-26 08:34:04 +01:00
Adrien Destugues aca8c0ceb2 HaikuWebkit 1.4.7. 2014-11-26 08:23:37 +01:00
François Revol 2d764efa49 Update libassuan packages 2014-11-26 01:15:52 +01:00
Adrien Destugues b2e91cc3e7 Network prefs: save interfaces to file.
Fixes #11496.
2014-11-25 14:47:32 +01:00
Adrien Destugues af218cc4e1 Notifications default to enabled on first boot.
* The server did this right, but the preflet would not check the
checkbox when there was no settings file.
2014-11-25 08:50:47 +01:00
dsizzle 74d9b875c2 CharacterMap: select Unicode block for current character
* Scrolling the list of characters now selects the currently visible
block in the blocks list.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651, part 1
2014-11-25 08:30:08 +01:00
François Revol 67d659f26e Update gpgme packages and add gcc2 version 2014-11-25 03:34:48 +01:00
François Revol 0e38333732 Update libassuan packages 2014-11-25 03:30:05 +01:00
François Revol 187e6ae426 Add packages for gpgme 2014-11-25 03:05:00 +01:00
Adrien Destugues c254f99c36 BApplication: remove AboutRequested implementation
The Be Book says this is a hook method, so the default behavior should
be to do nothing (didn't test BeOS, my install is currently broken).

Showing an alert with just the application thread name is less than
helpful anyway, and this was causing crashes.

Fixes #5554.
2014-11-24 17:36:31 +01:00
Adrien Destugues 03ad73fc87 More uses of BMessageFormat
ZipOMatic, DiskUsage, MediaConverter, MediaPlayer, ShowImage,
WebPositive, Screen preferences, Tracker, string_for_size.

Thanks to KapiX for reporting those!
2014-11-24 15:42:52 +01:00
Adrien Destugues 2824c5d3a4 Fix various typos and inconsistencies in strings
DiskProbe, DriveSetup, Icon-O-Matic, Installer, Login,
PackageInstaller, Screenshot, Translation Inspector, BootManager,
CharacterMap, CodyCam, BPrintJob

DiskUsage: removed useless translation, used only for layouting purposes

Thanks to KapiX for spotting these problems.
2014-11-24 09:42:26 +01:00
Adrien Destugues 46d4471af7 PoorMan: better labelling of button
According to the HIG, button labels should be verbs implying actions.
Replace the "default" button with "create public_html", which is what
will happen if you click it.

Thanks to KapiX for the suggestion.
2014-11-24 08:44:17 +01:00