Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
131 user(s) are online (124 user(s) are browsing Forums)

Members: 1
Guests: 130

Amigafreak02, more...

Support us!

Headlines

 
  Register To Post  

New program CookieMaster BETA released - NEW BETA
Quite a regular
Quite a regular


See User information
Resized Image


Hi, this is the first public BETA release of this software, a cookie cleaner (for Odyssey). The program should be pretty self explanatory I hope, but it might (probably) contain some unexpected bugs.

Please note, there are some issues left to fix like:
- Day of the month in dates, so at the moment "ds:1" means 1 Jan, "ds:2" means 2 Jan and so on
- Aborting during scanning not implemented yet

I hope the program works on different AOS4 configs (the settings should work too, you can change the path etc).

Input is welcomed, thanks!


EDIT: Link posted to end of thread.

EDIT3:

Renamed to CookieMaster:
http://www.m4rko.com/amiga/software/cookiemaster/


Edited by Marko on 2017/1/30 22:21:03
Edited by Marko on 2017/1/31 1:11:30
Edited by Marko on 2017/1/31 2:23:28
Edited by Marko on 2017/1/31 2:24:00
Edited by Marko on 2017/1/31 2:28:31
Edited by Marko on 2017/1/31 2:30:59
Edited by Marko on 2017/1/31 13:47:37
Edited by Marko on 2017/1/31 23:04:20
Edited by Marko on 2017/1/31 23:08:59
Edited by Marko on 2017/2/2 20:00:44
Edited by Marko on 2017/2/3 23:27:01
Edited by Marko on 2017/2/9 17:41:25
Edited by Marko on 2017/2/11 2:30:12
AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: New program CookieMonster BETA released
Just can't stay away
Just can't stay away


See User information
@Marko

It complains it needs MuiRoyale.hwp. I tried to install MUIRoyale again and it complains still.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: New program CookieMonster BETA released
Quite a regular
Quite a regular


See User information
@TSK

Hmm, how about now *removed*

Thanks for reporting!


EDIT: Link removed


Edited by Marko on 2017/1/31 23:04:54
Edited by Marko on 2017/2/3 23:25:52
AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: New program CookieMonster BETA released
Just can't stay away
Just can't stay away


See User information
@Marko

Hi, still complains about no muiroyale.hwp :-/

Maybe it need other subclasses/libs too (LIBS:Hollywood)?

part of snoopy output:
...
00081 : CookieMonster : FAIL = Open("RAM Disk:CookieMonster/Catalogs/español/Hollywood/Hollywood.catalog",OLD) = [0x0000000
00082 : CookieMonster : o.k. = Open("CookieMonster.info",OLD) = [0x167A79A8] [65uS]
00083 : CookieMonster : o.k. = Open("RAM Disk:CookieMonster/CookieMonster",OLD) = [0x167A79A8] [171uS]
00084 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 0 [7uS]
00085 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3287768 [2uS]
00086 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 0 [2uS]
00087 : CookieMonster : o.k. = Lock("RAM Disk:CookieMonster",SHARED) [46uS]
00088 : CookieMonster : o.k. = ObtainDirContext(ctx=0x5B8C3C90 dflags=0xFFFF) = [0x5B8C3C90] [274uS]
00089 : CookieMonster : o.k. = ExamineDir(0x5B8C3C90) = "sqlite3.hwp" (size=588032) ( [r2=0] [64uS]
00090 : CookieMonster : o.k. = LoadSeg("RAM Disk:CookieMonster/sqlite3.hwp") = [0x17016C81] [830uS]
00091 : CookieMonster : o.k. = ExamineDir(0x5B8C3C90) = "muiroyale.hwp" (size=627244) ( [r2=0] [12uS]
00092 : CookieMonster : o.k. = LoadSeg("RAM Disk:CookieMonster/muiroyale.hwp") = [0x17016D01] [1244uS]
00093 : CookieMonster : o.k. = ExamineDir(0x5B8C3C90) = "Data" (size=-1) (type [r2=0] [12uS]
00094 : CookieMonster : o.k. = ExamineDir(0x5B8C3C90) = "CookieMonster.readme" (size=699) (typ [r2=0] [8uS]
00095 : CookieMonster : o.k. = ExamineDir(0x5B8C3C90) = "CookieMonster.info" (size=12600) (t [r2=0] [8uS]
00096 : CookieMonster : o.k. = ExamineDir(0x5B8C3C90) = "CookieMonster" (size=3287768) [r2=0] [8uS]
00097 : CookieMonster : FAIL = ExamineDir(0x5B8C3C90) = "" [r2=232] [2uS]
00098 : CookieMonster : ReleaseDirContext(0x5B8C3C90) [86uS]
00099 : CookieMonster : FAIL = Lock("LIBS:Hollywood",SHARED) [88uS]
00100 : CookieMonster : o.k. = Open("RAM Disk:CookieMonster/CookieMonster",OLD) = [0x167A79A8] [108uS]
00101 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 0 [7uS]
00102 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3287768 [2uS]
00103 : CookieMonster : o.k. = Lock("RAM Disk:CookieMonster",SHARED) [37uS]
00104 : CookieMonster : o.k. = Lock("RAM Disk:CookieMonster",SHARED) [37uS]
00105 : CookieMonster : SetCurrentDir("RAM Disk:CookieMonster")
00106 : CookieMonster : o.k. = Open("RAM Disk:CookieMonster/CookieMonster",OLD) = [0x167A79A8] [101uS]
00107 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 0 [6uS]
00108 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3287768 [2uS]
00109 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 0 [2uS]
00110 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3287768 [1uS]
00111 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3205636 [6uS]
00112 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3240043 [4uS]
00113 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3205836 [5uS]
00114 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3240089 [5uS]
00115 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3205846 [4uS]
00116 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3240130 [5uS]
00117 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3205854 [4uS]
00118 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3240194 [4uS]
00119 : CookieMonster : o.k. = GetFilePosition(0x167A79A8) = 3224868 [5uS]

Go to top
Re: New program CookieMonster BETA released
Home away from home
Home away from home


See User information
Didn't hollywood have option to merge everything in one single .exe ? As far as i remember there was one.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: New program CookieMonster BETA released
Just popping in
Just popping in


See User information
@Kasl1e

No the plugins would remain external.

@Marko
Verify if MUIroyal has an assign or is an a path. Or you could copy it directly in the directory of the program.

Go to top
Re: New program CookieMonster BETA released
Quite a regular
Quite a regular


See User information
Weird, after unarc the plugins should be in the same drawer as the program, no?

8.RAM Disk:CookieMonster> list
sqlite3.hwp                  588032 --p-rwed Today     02:02:46
muiroyale
.hwp                627244 --p-rwed Today     02:02:46
Data                            Dir 
----rwed Today     14:19:53
CookieMonster
.readme            699 ----rwed Today     02:02:46
CookieMonster
.info            12600 ----rw-d Today     02:02:46
CookieMonster               3287768 
----rwed Today     02:02:46
5 files 
4410K bytes 1 directory 292 blocks used
8.RAM Disk
:CookieMonster>



Maybe I copy the wrong versions of the plugins during the distribution process, I check...

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: New program CookieMonster BETA released
Quite a regular
Quite a regular


See User information
*removed* has new version of plugin version 1.4, old was 1.3 oops, hope it works better...


EDIT: Link removed


Edited by Marko on 2017/1/31 23:05:35
Edited by Marko on 2017/2/3 23:25:21
AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: New program CookieMonster BETA released
Just can't stay away
Just can't stay away


See User information
@Marko
I ran a quick test and found some problems:

When I run Snoopy I see this:
FAIL = CreateDir("SYS:Prefs/Env-Archive/Hollywood") [14801519uS]
FAIL = Open("SYS:Prefs/Env-Archive/Hollywood/com.m4rko.cookiemonster",OLD) = [0x00000000]

The environment archive (ENVARC:) is assignable and I have ENVARC: assigned to another location; an absolute location for it should not be used. Instead the program should be using ENVARC: like this:
CreateDir("ENVARC:Hollywood")
Open("ENVARC:Hollywood/com.m4rko.cookiemonster",OLD)
You should also probably check if the Hollywood directory already exists before creating it.

If I open the settings window and then select CANCEL, I get a requester that says this:
Function p_initsettings() not found!
File: CoolieMonster.hws (current line:396 - In function: p_eventfunc)

Your settings only allow a relative path to the cookie database. My Odyssey cookie database is located on another partition, so I had to make some changes so CookieMonster could find it.

EDIT: After I selected "Scan Cookies", I had to click "OK"on a requester for 30+ duplicate cookies. I couldn't find a way to abort so I had to spend several minutes clicking "OK" in requesters; very annoying. Maybe it would be better to create a list of duplicates and display them in a lister after the scan.






Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450

Go to top
Re: New program CookieMonster BETA released
Quite a regular
Quite a regular


See User information
@xenic

Quote:
When I run Snoopy I see this:
FAIL = CreateDir("SYS:Prefs/Env-Archive/Hollywood") [14801519uS]
FAIL = Open("SYS:Prefs/Env-Archive/Hollywood/com.m4rko.cookiemonster",OLD) = [0x00000000]

The environment archive (ENVARC:) is assignable and I have ENVARC: assigned to another location; an absolute location for it should not be used. Instead the program should be using ENVARC: like this:
CreateDir("ENVARC:Hollywood")
Open("ENVARC:Hollywood/com.m4rko.cookiemonster",OLD)
You should also probably check if the Hollywood directory already exists before creating it.

I'm currently using the new functions in HW6 for saving and loading the settings, but seems they have some issues ("SYS:Prefs/Env-Archive/Hollywood" was created by HW itself internally).
So I will write my own functions for loading and saving from the proper "ENVARC:" location as a workaround.

Quote:
If I open the settings window and then select CANCEL, I get a requester that says this:
Function p_initsettings() not found!
File: CoolieMonster.hws (current line:396 - In function: p_eventfunc)

Related to above, but I will add a warning message.

Quote:
Your settings only allow a relative path to the cookie database. My Odyssey cookie database is located on another partition, so I had to make some changes so CookieMonster could find it.

Hmm, maybe it's better with a direct path or a option for a direct path to the database. I will come up with something.

Quote:
EDIT: After I selected "Scan Cookies", I had to click "OK"on a requester for 30+ duplicate cookies. I couldn't find a way to abort so I had to spend several minutes clicking "OK" in requesters; very annoying. Maybe it would be better to create a list of duplicates and display them in a lister after the scan.

"list of duplicates" good suggestion, meanwhile I will add a Ignore-All/Skip-ALL option to requester.


Thank you for the report and inputs, much appropriated! :)

I got still plenty of work ahead for a proper release, so back to coding on next beta.

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: New program CookieMonster BETA released - WORKING ON NEXT BETA
Amigans Defender
Amigans Defender


See User information
@Marko

It would probably be useful if this could be expanded to be able to read/write other web browser cookie files. NetSurf and AWeb both have simple text files, and I think Timberwolf uses sqlite (certainly Firefox does, I can't find my TW profile), so shouldn't be too difficult to add any of those. iBrowse uses some sort of binary format which might require investigation.

Go to top
Re: New program CookieMonster BETA released - WORKING ON NEXT BETA
Quite a regular
Quite a regular


See User information
@Chris

Sure, I'm planning to include all those browser's cookies as well, in future versions.

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: New program CookieMonster BETA released - WORKING ON NEXT BETA
Quite a regular
Quite a regular


See User information
After lots of hours after adding checks for plugins and stuff, fixing some bugs and refactoring the path part and settings tab so everything works again, etc etc...

The settings tab/page looks like this now:
(Note: NetSurf's cookies not yet implemented, will do in future, but the GUI is now prepared for it.)

Resized Image


Still left to code the custom saving and loading of settings, before releasing another public beta.

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: New program CookieMonster BETA released - WORKING ON NEXT BETA
Quite a regular
Quite a regular


See User information
I just finished with new beta, can be downloaded on the following link:
CookieMonster-1.1.0-BETA

Please report any bugs and issues thanks!

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: New program CookieMonster BETA released - WORKING ON NEXT BETA
Quite a regular
Quite a regular


See User information
Changes in the version 1.1.0 beta (link is in above post)

Should not be any need to bother with plugins and stuff, only unpack and run, scan for cookies...

Version 1.1.0 Beta: (Feb 2017)
- Refactored GUI and paths on settings tab to absolute path to cookies file.
- Prepared GUI in settings for a second cookies file.
- Expanded Cookies and Ignore lists with Path and Protocol columns.
- Added checks for MUIRoyale and SQLite3 that they really exists and are correct versions.
- Added check for that MUI4 or better is installed.
- Added version numbers found about needed plugins to About window.
- Implemented custom saving and loading of settings in/from ENVARC: .
- Fixed bug and added "Skip Warnings" option to requester about duplicate cookies, in case any are found during a scan. (However, there SHOULD NOT be any duplicates found, if everything is as they should.)
- Fixed bug, "Cancelling settings resulted in program failure".


If anyone had time to test yet, does it work on other people systems (before releasing new version in case if need to fix something), or?

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: New program CookieMonster BETA released - WORKING ON NEXT BETA
Not too shy to talk
Not too shy to talk


See User information
@Marko,
tested on my X1000 OS 4.1 FE Upd 1, it seems to working,
but sorting by "Created" and "Expires" does nothing

Go to top
Re: New program CookieMonster BETA released - WORKING ON NEXT BETA
Quite a regular
Quite a regular


See User information
@pvanni

Quote:
tested on my X1000 OS 4.1 FE Upd 1, it seems to working

Great, nice to hear!

Quote:
but sorting by "Created" and "Expires" does nothing

Oh, I will look into it.


Thank you very much for testing and reporting

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project