|
From: <sle...@us...> - 2006-12-03 15:18:17
|
Revision: 693
http://svn.sourceforge.net/hackndev/?rev=693&view=rev
Author: sleep_walker
Date: 2006-12-03 07:02:13 -0800 (Sun, 03 Dec 2006)
Log Message:
-----------
l4p: BFUGarux-removed modules support for now, too buggy,added kEdAR's releases generation
Modified Paths:
--------------
linux4palm/BFUGarux/BFUSettings-alone.c
linux4palm/BFUGarux/BFUSettings.Rsrc
linux4palm/BFUGarux/Makefile
Added Paths:
-----------
linux4palm/BFUGarux/icons/icon_hrK.bmp
Modified: linux4palm/BFUGarux/BFUSettings-alone.c
===================================================================
--- linux4palm/BFUGarux/BFUSettings-alone.c 2006-12-03 13:46:39 UTC (rev 692)
+++ linux4palm/BFUGarux/BFUSettings-alone.c 2006-12-03 15:02:13 UTC (rev 693)
@@ -1,6 +1,6 @@
//#define BFU_VERBOSE
-#define MODULES_DEBUG
-#define MODULES_VERBOSE_DEBUG
+//#define MODULES_DEBUG
+//#define MODULES_VERBOSE_DEBUG
// #define BFUContentsTest
#define BFUSaveContentsTest
@@ -106,8 +106,8 @@
Boolean UseSclBar,CardIn;
+
-
static Boolean BFUCopySettingsStruct(BFUSettingsType *source,BFUSettingsType *dest)
{
UInt8 i;
@@ -513,7 +513,7 @@
BFUPrefsVolRefNum = volRefNum;
break;
default:
- //what did I missed???
+ //what did I miss???
BFUdoDie("Send please Sleep_Walker this: VFSImportDatabaseFromFile and following number",err);
return false;
}
@@ -587,9 +587,12 @@
break;
case dmErrCantFind:
break;
-/* case 526:
- BFUdoDie("Delete result was 526",0);
- break;*/
+ case 526:
+ if (BFUPrefsFound)
+ {
+ BFUdoDie("Delete result was 526",0);
+ }
+ break;
default:
BFUdoDie("Couldn't delete previously saved preferences.",err);
return false;
@@ -1234,7 +1237,7 @@
{
CtlSetValue(getObjectPtr(pForm,BFUSave2CardBox),BFUSettingsValues.save2card);
if ((CardIn = BFUInitFileLists()))
- BFUInitTable();
+ ;//BFUInitTable();
else
BFUdoDie("No card or error occured.",0);
BFUInitModList();
@@ -1328,8 +1331,9 @@
static void BFUModulesFormSaveFields(FormType *pForm)
{
+/*
BFUSaveNames();
- BFUdoDie("Removing listHandle",0);
+
if (listHandle)
{
#ifdef MODULES_VERBOSE_DEBUG
@@ -1339,19 +1343,27 @@
MemHandleFree(listHandle);
listHandle = 0;
}
+
+#ifdef MODULES_VERBOSE_DEBUG
BFUdoDie("Removing ptrHandle",0);
+#endif
if (ptrHandle)
{
MemHandleFree(ptrHandle);
ptrHandle = 0;
}
+*/
+#ifdef MODULES_VERBOSE_DEBUG
BFUdoDie("Removing modListHandle",0);
+#endif
if (modListHandle)
{
MemHandleFree(modListHandle);
modListHandle = 0;
}
+#ifdef MODULES_VERBOSE_DEBUG
BFUdoDie("Removing modPtrHandle",0);
+#endif
if (modPtrHandle)
{
MemHandleFree(modPtrHandle);
@@ -1438,7 +1450,7 @@
size = 0;
- msize=1;
+ msize = 1;
listHandle = 0;
ptrHandle = 0;
modPtrHandle = 0;
@@ -1481,7 +1493,7 @@
{
if (BFUIsSquashFS(fileName))
{
- BFUPush2List(fileName);
+ //BFUPush2List(fileName);
}
else
if (BFUIsModList(fileName))
Modified: linux4palm/BFUGarux/BFUSettings.Rsrc
===================================================================
--- linux4palm/BFUGarux/BFUSettings.Rsrc 2006-12-03 13:46:39 UTC (rev 692)
+++ linux4palm/BFUGarux/BFUSettings.Rsrc 2006-12-03 15:02:13 UTC (rev 693)
@@ -81,10 +81,10 @@
POPUPLIST ID BFUPartTrigger BFUPartList
LABEL "Set:" ID 8035 AT (9 16) USABLE FONT 1
CHECKBOX "To card" ID BFUSave2CardBox AT (74 140 47 15) USABLE LEFTANCHOR GROUP 0
- TABLE ID BFUModulesTable AT (2 39 157 97) ROWS 8 COLUMNS 2 COLUMNWIDTHS 120 8
+ TABLE ID BFUModulesTable AT (4 46 145 85) ROWS 24 COLUMNS 2 COLUMNWIDTHS 120 15
LABEL "Modules list:" ID 8210 AT (9 31) USABLE FONT 1
POPUPTRIGGER "Custom" ID BFUModListTrigger AT (72 29 47 15) USABLE LEFTANCHOR
- SCROLLBAR ID BFUModScrollBar AT (150 46 7 85) USABLE VALUE 0 MIN 0 MAX 0 PAGESIZE 1
+ SCROLLBAR ID BFUModScrollBar AT (151 46 7 85) USABLE VALUE 0 MIN 0 MAX 0 PAGESIZE 1
END
FORM ID BFUToolsForm AT (0 0 160 160)
Modified: linux4palm/BFUGarux/Makefile
===================================================================
--- linux4palm/BFUGarux/Makefile 2006-12-03 13:46:39 UTC (rev 692)
+++ linux4palm/BFUGarux/Makefile 2006-12-03 15:02:13 UTC (rev 693)
@@ -1,6 +1,7 @@
# Main Makefile for Garux Bootloader
# Copyright 2oo5 Romain Goyet
+
CC-68K = m68k-palmos-gcc
CC-ARM = arm-palmos-gcc
CFLAGS = -Wall -O2 -s
@@ -27,6 +28,10 @@
@echo "<BFU> has to be:"
@echo " BFU - include BFUSettings enhancements (makes Garux 15k bigger)"
@echo " NoBFU - do not include BFUSettings"
+ @echo
+ @echo "for kEdAR:"
+ @echo " REVK=NUMBER SVNREV=SVN_REVISION_NUMBER make palmtt3 BFUk"
+ @echo
palmte:
cp mach-palmte.h mach.h
@@ -61,6 +66,10 @@
garux-clean.prc: garux.h garux-clean asmloader gui image.bin
build-prc -n garux-clean -c ARML garux-clean asmloader page????.bin tAIB????.bin tAIN????.bin tFRM????.bin tSTR????.bin MBAR????.bin Talt????.bin
+# for kEdAR's releases
+garux.$(REVK).prc: garux.h garux-clean asmloader gui image.bin
+ build-prc -n BFUGarux$(REVK) -c ARML garux-clean asmloader page????.bin tAIB????.bin tAIN????.bin tFRM????.bin tSTR????.bin MBAR????.bin Talt????.bin
+
asmloader: asmloader.o
$(CC-ARM) $(CFLAGS) -nostartfiles -o asmloader asmloader.o
@@ -88,6 +97,13 @@
cat garux-generic.rcp BFUSettings.Rsrc | sed 's/#here could be menu/ MENUITEM "BFUSettings" MenuBFU/' > garux.rcp
make garux-clean.prc
+# for kEdAR's releases
+BFUk: image.bin
+ ./garux.h.sh
+ echo "#define with_BFUSettings" >> garux.h
+ cat garux-genericK.rcp BFUSettings.Rsrc | sed -e 's/#here could be menu/ MENUITEM "BFUSettings" MenuBFU/' -e "s/REVISION/$(REVK)/" -e "s/SVN_REV/$(SVNREV)/" > garux.rcp
+ make garux.$(REVK).prc
+
NoBFU: image.bin
./garux.h.sh
cat garux-generic.rcp | sed 's/#here could be menu//' > garux.rcp
Added: linux4palm/BFUGarux/icons/icon_hrK.bmp
===================================================================
(Binary files differ)
Property changes on: linux4palm/BFUGarux/icons/icon_hrK.bmp
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|