Vladimir 'phcoder' Serbinenko
bb8eacef88
Merge mainline into sunpc
2010-03-26 16:35:12 +01:00
BVK Chaitanya
746d90457a
2010-01-12 BVK Chaitanya <bvk.groups@gmail.com>
...
For loop support to GRUB script.
* include/grub/script_sh.h (grub_script_cmdfor): New struct.
(grub_script_create_cmdfor): New function prototype.
(grub_script_execute_cmdfor): New function prototype.
* script/execute.c (grub_script_execute_cmdfor): New function.
* script/parser.y (command): New for command.
(forcmd): New grammar rule.
* script/script.c (grub_script_create_cmdfor): New function.
* util/grub-script-check.c (grub_script_execute_cmdfor): New
function.
2010-03-26 21:00:15 +05:30
BVK Chaitanya
c299f3d6fb
merged with mainline
2010-03-26 20:55:07 +05:30
Vladimir 'phcoder' Serbinenko
18486b18cd
Nested partitions
...
* commands/blocklist.c (grub_cmd_blocklist): Don't check whether
'partition' is NULL, grub_partition_get_start already does that.
* commands/loadenv.c (check_blocklists): Likewise.
(write_blocklists): Likewise.
* conf/common.rmk (grub_probe_SOURCES): Add partmap/bsdlabel.c.
(grub_fstest_SOURCES): Likewise.
(pkglib_MODULES): Add part_bsd.mod.
(part_bsd_mod_SOURCES): New variable.
(part_bsd_mod_CFLAGS): Likewise.
(part_bsd_mod_LDFLAGS): Likewise.
* conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/bsdlabel.c.
(grub_emu_SOURCES): Likewise.
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* include/grub/bsdlabel.h: New file.
* include/grub/partition.h (grub_partition_map): Remove 'probe' and
'get_name'.
(grub_partition): Add 'parent' and 'number'. Remove 'data'.
(grub_partition_map_list): New variable.
(grub_partition_map_register): Inline.
(grub_partition_map_unregister): Likewise.
(FOR_PARTITION_MAPS): New macro.
(grub_partition_map_iterate): Removed.
(grub_partition_get_start): Handle nested partitions.
* include/grub/msdos_partition.h: Remove bsd-related entries.
(grub_pc_partition): Remove.
* kern/disk.c (grub_disk_close): Free partition data.
(grub_disk_adjust_range): Handle nested partitions.
* kern/partition.c (grub_partition_map_probe): New function.
(grub_partition_probe): Parse name to number, handle subpartitions.
(get_partmap): New function.
(grub_partition_iterate): Handle subpartitions.
(grub_partition_get_name): Likewise.
* loader/i386/pc/bsd.c (grub_bsd_get_device): Likewise.
* loader/i386/multiboot.c (grub_multiboot_get_bootdev): Likewise.
* loader/i386/pc/chainloader.c (grub_chainloader_cmd): Likewise.
* partmap/acorn.c (acorn_partition_map_iterate): Don't force raw access.
Set 'number'.
(acorn_partition_map_probe): Remove.
(acorn_partition_map_get_name): Likewise.
* partmap/amiga.c (amiga_partition_map_iterate): Don't force raw access.
Set 'number'.
Set 'index' to 0 since there can be only one partition entry per sector.
(amiga_partition_map_probe): Remove.
(amiga_partition_map_get_name): Likewise.
* partmap/apple.c (apple_partition_map_iterate): Don't force raw access.
Set 'number'.
Set 'offset' and 'index' to real positions of partitions.
(apple_partition_map_probe): Remove.
(apple_partition_map_get_name): Likewise.
* partmap/bsdlabel.c: New file.
* partmap/gpt.c (gpt_partition_map_iterate): Don't force raw access.
Set 'number'.
Allocate 'data' so it can be correctly freed.
Set 'index' to offset inside sector.
(gpt_partition_map_probe): Remove.
(gpt_partition_map_get_name): Likewise.
* partmap/msdos.c (grub_partition_parse): Remove.
(pc_partition_map_iterate): Don't force raw access.
Set 'number'.
Make 'ext_offset' a local variable.
(pc_partition_map_probe): Remove.
(pc_partition_map_get_name): Remove.
* partmap/sun.c (sun_partition_map_iterate): Don't force raw access.
Set 'number'.
(sun_partition_map_probe): Remove.
(sun_partition_map_get_name): Likewise.
* parttool/msdospart.c (grub_pcpart_boot): Handle nested partitions.
(grub_pcpart_type): Likewise.
* util/hostdisk.c (open_device): Handle new numbering scheme.
(grub_util_biosdisk_get_grub_dev): Handle nested partitions.
* util/i386/pc/grub-setup.c (setup): Handle new numbering scheme.
* util/grub-probe.c (probe_partmap): Handle nested paritions.
* util/grub-install.in: Insert all subpartition modules.
* util/ieee1275/grub-install.in: Likewise.
2010-03-26 15:55:50 +01:00
Vladimir 'phcoder' Serbinenko
c9ea504d25
merge mainline into nestpart
2010-03-26 15:44:13 +01:00
Vladimir 'phcoder' Serbinenko
3c31d9c082
Report freetype errors
2010-03-25 11:56:19 +01:00
Vladimir 'phcoder' Serbinenko
6d107fb2a4
Add ligatures to problem list
2010-03-25 11:26:50 +01:00
Vladimir 'phcoder' Serbinenko
e6d428c1b8
Arabic shaping support
2010-03-24 22:33:00 +01:00
Vladimir 'phcoder' Serbinenko
0761327dd0
Update unicode problem list
2010-03-24 20:03:29 +01:00
Adrian Glaubitz
a3940f8874
* kern/dl.c (grub_dl_resolve_symbols): Improve error message
...
grammar.
2010-03-24 12:54:39 +00:00
21b9992685
* .bzrignore: Add grub-bin2h, grub-reboot, and grub-set-default.
2010-03-24 12:50:15 +00:00
Vladimir 'phcoder' Serbinenko
b320771ada
Remove private use surrogates from unsupported list
2010-03-24 01:05:50 +01:00
Vladimir 'phcoder' Serbinenko
df3d4cba13
Arabic joining computation
2010-03-24 01:00:54 +01:00
Vladimir 'phcoder' Serbinenko
03e4ef0293
Import data for arabic joining computation
2010-03-24 00:35:38 +01:00
Vladimir 'phcoder' Serbinenko
e83200d891
mention variations and vertical text in unsupported features
2010-03-23 23:33:42 +01:00
Vladimir 'phcoder' Serbinenko
741b56af5c
Moved unicode files to separate directory
2010-03-23 23:25:14 +01:00
Vladimir 'phcoder' Serbinenko
6fd346ea6c
Update UnicodeData.txt
2010-03-23 23:20:35 +01:00
Vladimir 'phcoder' Serbinenko
521bf3018f
Add character properties checking and a comment about problematic characters
2010-03-23 23:19:27 +01:00
Vladimir 'phcoder' Serbinenko
832d13705c
Most hebrew diacritics support (except dagesh and final kaf rules)
2010-03-23 21:50:27 +01:00
Vladimir 'phcoder' Serbinenko
7624beba47
Above left support. Various fixups
2010-03-23 19:13:46 +01:00
Vladimir 'phcoder' Serbinenko
45511ee976
below right support
2010-03-23 18:39:02 +01:00
Vladimir 'phcoder' Serbinenko
1f22d20c8c
Fix yeeloong compilation
2010-03-23 18:17:54 +01:00
Vladimir 'phcoder' Serbinenko
5c56cac95f
Fix few pager bugs
2010-03-23 18:06:49 +01:00
Vladimir 'phcoder' Serbinenko
3c69fb81e1
Restore and enhance pager functionality
2010-03-23 17:54:31 +01:00
Vladimir 'phcoder' Serbinenko
6fcebedeed
Replace line counter with char counter
2010-03-23 16:51:53 +01:00
Vladimir 'phcoder' Serbinenko
36b71abfaa
Fix few memory bugs
2010-03-23 16:46:45 +01:00
Vladimir 'phcoder' Serbinenko
81b0623a6c
Make few more points bidi-clean
2010-03-23 16:28:35 +01:00
Vladimir 'phcoder' Serbinenko
ce04e79272
Remove leftover variables
2010-03-23 16:02:06 +01:00
BVK Chaitanya
c45d352721
merged in mainline
2010-03-22 17:16:31 +05:30
BVK Chaitanya
a7447ca6e1
fix for grub_script_final_semicolon test
2010-03-22 14:03:20 +05:30
BVK Chaitanya
3e6b777ba7
testcase for the last semicolon behavior
2010-03-22 14:02:48 +05:30
BVK Chaitanya
8507a6ccdf
testcase for blanklines in grub script
2010-03-22 13:54:45 +05:30
BVK Chaitanya
ba4be5af25
fixed help message for grub-script-check
2010-03-22 13:25:09 +05:30
Colin Watson
bed1d3524e
* util/grub-install.in: Copy .mo files from @datadir@/locale, to
...
match where 'make install' puts them.
* util/i386/efi/grub-install.in: Likewise.
2010-03-21 23:04:02 +00:00
BVK Chaitanya
dd6fee39fa
merged mainline
2010-03-21 11:03:41 +05:30
BVK Chaitanya
0f3a3e3ece
added elif patch from Deepak Vankadaru
2010-03-21 10:27:21 +05:30
BVK Chaitanya
8c85123cd5
merged for-loop branch
2010-03-21 09:59:43 +05:30
Colin Watson
c9f5842752
* .bzrignore: Add gentrigtables, grub-script-check,
...
grub_script_check_init.c, grub_script_check_init.h, and
trigtables.c.
2010-03-19 11:28:05 +00:00
Vladimir 'phcoder' Serbinenko
f84afb2775
* kern/parser.c: Indented.
2010-03-18 00:19:30 +01:00
Vladimir 'phcoder' Serbinenko
09f9aa3b2e
Move terminal-related function from normal/charset.c to normal/term.c
2010-03-17 08:57:23 +01:00
Vladimir 'phcoder' Serbinenko
abe8f24a47
Fix widthspec.h dependency
2010-03-17 08:49:48 +01:00
Vladimir 'phcoder' Serbinenko
34fac099a5
Make grub_console_real_putchar grub_console_putchar
2010-03-17 08:37:48 +01:00
Vladimir 'phcoder' Serbinenko
84f8180158
Merge mainline into bidi
2010-03-17 08:24:12 +01:00
Vladimir 'phcoder' Serbinenko
ed0e3d30cd
* term/i386/pc/vesafb.c: Removed (orphaned, deprecated and broken).
2010-03-17 08:22:45 +01:00
Vladimir 'phcoder' Serbinenko
c2bd1d182e
Fix sporadious newline
2010-03-17 00:23:23 +01:00
Vladimir 'phcoder' Serbinenko
2b68d34764
merge mainline into bidi
2010-03-17 00:18:30 +01:00
Vladimir 'phcoder' Serbinenko
0ea81d9845
* video/fb/fbblit.c (grub_video_fbblit_blend_XXXA8888_1bit): Handle
...
alpha_mask_size == 0 case.
2010-03-17 00:16:11 +01:00
Vladimir 'phcoder' Serbinenko
eaa1f9a64b
Fix few memory errors
2010-03-16 23:03:08 +01:00
Vladimir 'phcoder' Serbinenko
7c464a1ec5
Don't show gfxmenu error
2010-03-16 23:02:48 +01:00
Vladimir 'phcoder' Serbinenko
701f1df961
Fix junk newline on second console
2010-03-16 22:34:13 +01:00