Commit Graph
52 Commits
Author SHA1 Message Date
Vladimir 'phcoder' Serbinenko f505738643 Fix warning 2009-12-02 14:42:28 +01:00
Vladimir 'phcoder' Serbinenko d9b091d9ff 2009-11-30 Vladimir Serbinenko <phcoder@gmail.com>
Agglomerate scrolling in gfxterm.

	* term/gfxterm.c (grub_virtual_screen): New member 'total_screen'.
	(grub_virtual_screen_setup): Initialise 'total_screen'.
	(write_char): Split to ...
	(paint_char): ... this ...
	(write_char): ... and this.
	(paint_char): Handle delayed scrolling.
	(draw_cursor): Likewise.
	(scroll_up): Split to ...
	(real_scroll): ... this ...
	(scroll_up): ... and this.
	(real_scroll): Handle multi-line scroll and draw below-the-bottom
	characters.
	(grub_gfxterm_refresh): Call real_scroll.
2009-11-30 13:16:35 +01:00
Vladimir 'phcoder' Serbinenko e59e3e59ca Changelog 2009-11-30 12:52:39 +01:00
Vladimir 'phcoder' Serbinenko af20edb21d 2009-11-30 Vladimir Serbinenko <phcoder@gmail.com>
Agglomerate scrolling in gfxterm.

	* term/gfxterm.c (grub_virtual_screen): New member 'total_screen'.
	(grub_virtual_screen_setup): Initialise 'total_screen'.
	(write_char): Split to ...
	(paint_char): ... this ...
	(write_char): ... and this.
	(paint_char): Handle delayed scrolling.
	(draw_cursor): Likewise.
	(scroll_up): Split to ...
	(real_scroll): ... this ...
	(scroll_up): ... and this.
	(real_scroll): Handle multi-line scroll and draw below-the-bottom
	characters.
	(grub_gfxterm_refresh): Call real_scroll.
2009-11-30 12:51:20 +01:00
Vladimir 'phcoder' Serbinenko 9ec25583a9 Merge bmpidx into gfxmenu 2009-11-29 15:25:13 +01:00
Vladimir 'phcoder' Serbinenko 26625973e1 ChangeLog 2009-11-29 15:17:18 +01:00
Vladimir 'phcoder' Serbinenko f9e4ed6a45 Index of BMP for faster font lookup 2009-11-29 14:26:07 +01:00
Vladimir 'phcoder' Serbinenko 2f857f9813 2009-11-28 Vladimir Serbinenko <phcoder@gmail.com>
Correct module naming.

	* video/efi_uga.c (GRUB_MOD_INIT(efi_fb)): Renamed from this ...
	(GRUB_MOD_INIT(efi_uga)): ... to this
	(GRUB_MOD_FINI(efi_fb)): Renamed from this ...
	(GRUB_MOD_FINI(efi_uga)): ... to this
	* video/efi_gop.c (GRUB_MOD_INIT(efi_fb)): Renamed from this ...
	(GRUB_MOD_INIT(efi_gop)): ... to this
	(GRUB_MOD_FINI(efi_fb)): Renamed from this ...
	(GRUB_MOD_FINI(efi_gop)): ... to this
2009-11-28 20:40:44 +01:00
Vladimir 'phcoder' Serbinenko f704cae368 Fix declarations of previous commit 2009-11-28 00:46:09 +01:00
Vladimir 'phcoder' Serbinenko c85184ad3d 2009-11-28 Vladimir Serbinenko <phcoder@gmail.com>
GOP support. Based on patch from Bean
	(http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00384.html)

	* video/efi_gop.c: New file.
	* include/grub/efi/graphics_output.h: Likewise.
	* conf/i386-efi.rmk (pkglib_MODULES): Add `efi_gop.mod'.
	(efi_fb_mod_SOURCES, efi_fb_mod_CFLAGS, efi_fb_mod_LDFLAGS): New
	variables.
	* conf/x86_64-efi.rmk: Likewise.
2009-11-28 00:24:57 +01:00
Vladimir 'phcoder' Serbinenko 8a4c48d86f 2009-11-28 Vladimir Serbinenko <phcoder@gmail.com>
Rename efi_fb to efi_uga.

	* conf/i386-efi.rmk (pkglib_MODULES): Rename 'efi_fb.mod' to
	'efi_uga.mod'.
	(efi_fb_mod_SOURCES): Rename this ...
	(efi_uga_mod_SOURCES): ... to this.
	(efi_fb_mod_CFLAGS): Rename this ...
	(efi_uga_mod_CFLAGS): ... to this.
	(efi_fb_mod_LDFLAGS): Rename this ...
	(efi_uga_mod_LDFLAGS): ... to this.
	* conf/x86_64-efi.rmk (pkglib_MODULES): Rename 'efi_fb.mod' to
	'efi_uga.mod'.
	(efi_fb_mod_SOURCES): Rename this ...
	(efi_uga_mod_SOURCES): ... to this.
	(efi_fb_mod_CFLAGS): Rename this ...
	(efi_uga_mod_CFLAGS): ... to this.
	(efi_fb_mod_LDFLAGS): Rename this ...
	(efi_uga_mod_LDFLAGS): ... to this.
	* video/efi_fb.c: Move this ...
	* video/efi_uga.c: ... to this. Change prefix to 'grub_video_uga_'.
2009-11-28 00:13:51 +01:00
Vladimir 'phcoder' Serbinenko b1309dae1a finish renaiming efi_Fb to efi_uga 2009-11-27 23:48:20 +01:00
Vladimir 'phcoder' Serbinenko dc63338117 Rename efi_fb to efi_uga 2009-11-27 16:33:22 +01:00
Vladimir 'phcoder' Serbinenko 2fac00e668 Fixed a warning 2009-11-27 10:20:24 +01:00
Vladimir 'phcoder' Serbinenko 947fa16c8b Important speedup by not redrawing too much 2009-11-24 07:17:18 +01:00
Vladimir 'phcoder' Serbinenko 4545f150f3 Various cleanups 2009-11-24 05:02:30 +01:00
Vladimir 'phcoder' Serbinenko 93fd2dd809 Optimise gfxterm in gfxmenu by avoiding indirect repainting 2009-11-24 04:22:22 +01:00
Vladimir 'phcoder' Serbinenko 8f41eb5582 Use return instead of exit () in gentrigtables.c 2009-11-24 04:21:07 +01:00
Vladimir 'phcoder' Serbinenko a9c12f8533 Remove hardcoded hotkeys 2009-11-24 04:20:18 +01:00
Vladimir 'phcoder' Serbinenko a5c894bcd9 Enable gfxmenu on grub-emu 2009-11-24 04:19:33 +01:00
Vladimir 'phcoder' Serbinenko 3dcf83ba7d merged mainstream into gfxmenu 2009-11-24 01:22:41 +01:00
Vladimir 'phcoder' Serbinenko 87efa251d5 Fix a bug in icondir handling 2009-11-21 17:48:05 +01:00
Vladimir 'phcoder' Serbinenko aff798d6f4 icondir support 2009-11-21 15:29:12 +01:00
Vladimir 'phcoder' Serbinenko 8dec533a1c ChangeLog 2009-11-20 22:26:08 +01:00
Vladimir 'phcoder' Serbinenko 704e21180e At least it compiles now 2009-11-20 16:07:16 +01:00
Vladimir 'phcoder' Serbinenko 1f1551457f ChangeLog 2009-11-20 16:00:13 +01:00
Vladimir 'phcoder' Serbinenko ac3b7128d6 2009-11-20 Colin D Bennett <colin@gibibit.com>
* normal/menu_text.c (get_entry_number): Move from here ...
	* normal/menu.c (get_entry_number): ... moved here.
	* include/grub/menu.h (grub_menu_get_default_entry_index):
	New prototype.
	* normal/menu.c (grub_menu_get_default_entry_index): New function.
	* normal/menu_text.c (run_menu): Use grub_menu_get_default_entry_index.
2009-11-20 14:45:33 +01:00
Vladimir 'phcoder' Serbinenko c8c33d7d1f merge 2009-11-20 14:33:01 +01:00
Vladimir 'phcoder' Serbinenko b672413493 merge 2009-11-20 14:31:45 +01:00
Vladimir 'phcoder' Serbinenko b4dae692eb Fixed variable declarations 2009-11-20 14:30:58 +01:00
Vladimir 'phcoder' Serbinenko 59fb12d23b merge 2009-11-20 14:30:02 +01:00
Vladimir 'phcoder' Serbinenko 403ed1002f merge 2009-11-20 14:29:24 +01:00
Vladimir 'phcoder' Serbinenko b49991d823 ChangeLog 2009-11-20 14:27:52 +01:00
Vladimir 'phcoder' Serbinenko 24c821801a merge 2009-11-20 14:19:49 +01:00
Vladimir 'phcoder' Serbinenko a8287184e3 renamed ChangeLog 2009-11-20 14:19:20 +01:00
Vladimir 'phcoder' Serbinenko 71bc826834 Fixed syntax error 2009-11-20 13:55:43 +01:00
Vladimir 'phcoder' Serbinenko 42f9e12abe merge 2009-11-20 13:54:56 +01:00
Vladimir 'phcoder' Serbinenko 1488fac7ef Fixed missing make directives 2009-11-20 13:53:36 +01:00
Vladimir 'phcoder' Serbinenko e05550cc01 merge 2009-11-20 13:49:03 +01:00
Vladimir 'phcoder' Serbinenko 894cddbc77 merge 2009-11-20 13:48:09 +01:00
Vladimir 'phcoder' Serbinenko d3d0094e17 ChangeLog 2009-11-20 13:29:17 +01:00
Vladimir 'phcoder' Serbinenko 6e3ac95491 Fixed warning 2009-11-20 13:23:43 +01:00
Vladimir 'phcoder' Serbinenko e242e685f5 merged savedefault in 2009-11-20 10:55:57 +01:00
Vladimir 'phcoder' Serbinenko a9d407a81e Reimported scaling 2009-11-20 10:46:30 +01:00
Vladimir 'phcoder' Serbinenko 927d0134c7 SDL 2009-11-20 10:28:42 +01:00
Vladimir 'phcoder' Serbinenko a691ca3348 2009-11-16 Vladimir Serbinenko <phcoder@gmail.com>
* fs/i386/pc/pxe.c (grub_pxefs_open): Correctly handle PXE choosing
	blocksize different from specified.
	(grub_pxefs_read): Likewise.
2009-11-16 19:13:02 +01:00
Vladimir 'phcoder' Serbinenko 6621b0e706 2009-11-14 Vladimir Serbinenko <phcoder@gmail.com>
* fs/i386/pc/pxe.c (grub_pxefs_open): Correctly handle PXE choosing
	blocksize different from specified.
	(grub_pxefs_read): Likewise.
2009-11-14 22:08:07 +01:00
Vladimir 'phcoder' Serbinenko bbe73b0995 Improved performance by not requiring updating swap in gfxterm 2009-11-14 17:59:11 +01:00
Vladimir 'phcoder' Serbinenko 1f56d83788 Initial reimport of double buffering 2009-11-14 17:00:39 +01:00
Vladimir 'phcoder' Serbinenko df48e9e18d REimport of videomask patch 2009-11-14 16:25:50 +01:00
Vladimir 'phcoder' Serbinenko 7ad12f433d 2009-11-09 Vladimir Serbinenko <phcoder@gmail.com>
* normal/auth.c (grub_auth_strcmp): Fixed incorrect variable usage.
2009-11-09 00:28:10 +01:00
Vladimir 'phcoder' Serbinenko ec8bb77de9 2009-11-09 Vladimir Serbinenko <phcoder@gmail.com>
* normal/auth.c (grub_auth_strcmp): Fix bug which resulted in function
	being insecure.
2009-11-09 00:16:17 +01:00