Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 ancestors of [2a36747a14]
2014-02-11
| ||
12:19 | Swap year/name (I don't know! Hopeless!) check-in: 2a36747a14 user: atomicules@users.noreply.github.com tags: trunk, master | |
12:18 | Add license check-in: e260f20049 user: atomicules@users.noreply.github.com tags: trunk, master | |
2013-09-19
| ||
21:48 | Tweak README Leaf check-in: 9b32672308 user: base@atomicules.co.uk tags: origin/master, trunk | |
2013-09-18
| ||
21:35 | Add screenshot to README check-in: 2a307b38c7 user: base@atomicules.co.uk tags: origin/master, trunk | |
14:21 | Tweak menu widths, make future adjustment more flexible check-in: 338867e3ed user: base@atomicules.co.uk tags: origin/master, trunk | |
13:34 | Remove some spurious trailing tabs check-in: fee7533a30 user: base@atomicules.co.uk tags: origin/master, trunk | |
12:51 | I never noticed it originated in DOS format. Poop check-in: 0b2d1fbf49 user: base@atomicules.co.uk tags: origin/master, trunk | |
12:49 | Clean up comments check-in: 946bdcbbb6 user: base@atomicules.co.uk tags: origin/master, trunk | |
12:49 | Split out ITEM creation into separate func so can clean on exit I still hadn't got things quite right from when I'd split out the menu and window creation functions. The segfault on exit was due to the item pointers I thought existed not actually existing. Need to make sure they exist as expected as otherwise I can't free up the memory, etc. Yay, pretty much done. check-in: d39151ac51 user: base@atomicules.co.uk tags: origin/master, trunk | |
12:49 | Ignore selection of OVER/UNDER in shutter/aperture menus Since this seems easier than trying to prevent selection. check-in: 4cc8e33f3c user: base@atomicules.co.uk tags: origin/master, trunk | |
12:48 | Add under/over exposure indication in to the shutter/aperture menus Keeping the NULLs in makes array indices very confusing, but this seems to be the right thing to do. check-in: 7312ab2b6f user: base@atomicules.co.uk tags: origin/master, trunk | |
11:01 | Fix menu numbering (from adding exposure menu in) Didn't change functionality (it was still working), but just gives better consistency to the code. check-in: 4a3cabadc2 user: base@atomicules.co.uk tags: origin/master, trunk | |
11:01 | Make the add_menu and add_win subs work I was still using the "variable pointers" technique, well trying to, and it wasn't working for things like `set_menu_win` so pull this back out into main. Seg faults on exit, but haven't fixed that bit yet. check-in: c2741c67e7 user: base@atomicules.co.uk tags: origin/master, trunk | |
11:01 | Try separate win and menu functions instead of trying to wrap everything in one. This way I know I can return the correct thing and I know I'm setting things as expected. As opposed to previous attempt where I was (trying) to use variable pointers, but with pointers to pointers, etc. And was obviously a bit beyond me. check-in: e4268c4b4e user: base@atomicules.co.uk tags: origin/master, trunk | |
10:44 | Add debug options to Makefile Not as simple as adding `-g` option as also need to ensure not calling the `-s` option which strips the debug info. Decided to change so have a `make` and a `make debug` check-in: 86fd753f70 user: base@atomicules.co.uk tags: origin/master, trunk | |
10:33 | For ref: Try wrapping menu and window creation in single function Got this so it drew everything ok, but segfaults as soon as a key is pressed. I obviously don't understand pointers, etc properly yet. As although it's drawn the menus it hasn't "attached" them the the objects/pointers I was expecting. check-in: a88f7285c1 user: base@atomicules.co.uk tags: origin/master, trunk | |
2013-09-10
| ||
08:51 | Make exposure menu functional - Make it function so that user is constrained to exposure menu initially and must select value there. - Once selected, the ISO menu becomes active and user must select value there - Finally make both shutter and aperture menus actives (switch between them with left/right arrow keys). Whichever is selected, the other will be calculated. This is not very pretty: - I don't like having both the selection_counter and menu_counter. Seems almost redundant. Made sense before I constrained selections and stepped through the menu's etc (and therefore you could re-select), but now seems annoying to have to keep it only for how last two menus work. - I don't like the repetitive menu creation stuff. That should be DRY-ed up. check-in: 580afe6ab4 user: base@atomicules.co.uk tags: origin/master, trunk | |
2013-09-03
| ||
12:38 | Add in EV menu, doesn't function yet though - Add in free memory bits, also missed some for the other menus check-in: 6c315c3200 user: base@atomicules.co.uk tags: origin/master, trunk | |
2013-09-02
| ||
14:32 | Learning notes and better forced refreshing of menus - Add learning notes - Use scroll page up/down and item up/down to force refresh and stop two items showing as selected check-in: dd2fc74444 user: base@atomicules.co.uk tags: origin/master, trunk | |
13:27 | Enable exit key, change help text to suit check-in: 2dc1212485 user: base@atomicules.co.uk tags: origin/master, trunk | |
10:20 | Implement exposure equations and matching for Aperture menu Also: More evidence I am in a continual half-daze - Need to define shutter value as double in `aperture` as otherwise both arguments will be integers and I'm guessing it'd not going to work out well. Plus... need to use `fraction_to_double` anyway to feed the value in. - Had done the "substring" thing wrong in `strncpy` and was one decimal place off in getting the paerture value. I.e. would have got "1." instead of "1.4" from "f/1.4" - Like the fool I am, in the loop and the copy and paste I'd done, I'd not changed from `aperture_array[0]` to `aperture_array[n]` check-in: 845d8653eb user: base@atomicules.co.uk tags: origin/master, trunk | |
09:47 | I am King of Fail I mean, just how? I think I need a few years more sleep or something check-in: 506ba48833 user: base@atomicules.co.uk tags: origin/master, trunk | |
09:29 | Actually make it work this time. See this commit: 8d3e66b5ecffa8bcf7691c3f0600840b934beb1a I'm such an idiot. - Remove `set_top_row` when setting the shutter menu to the correct value. Leaving this in fooled me into thinking I had things working because I just happened to test on the matching ISO/Aperture values. Plonker. And then it turns out, there was loads wrong. - Need to include stdlib.h for `strtod` function, otherwise it uses some kind of stub function (no complaints in compile or use, but it just doesn't work). - Wasn't passing right kind of values to `shutter` anyway! Need to convert these to numeric - Need to use `fabs` not `abs` for doubles. - In `nearest_match` wasn't using the correct arrays, had copied over `iso_array` and forgotten to change them - Use `strstr` instead `strchr` as couldn't get the former to work and was probably the wrong one to be using - Leave some commented out stuff at the bottom that I've been using for debugging - check-in: 68919dca22 user: base@atomicules.co.uk tags: origin/master, trunk | |
2013-08-31
| ||
07:50 | Try to standardise on a string length Since it doesn't matter if it's longer. And I'm only using short strings. check-in: 99eba10b76 user: base@atomicules.co.uk tags: origin/master, trunk | |
07:47 | Remove extraneous line that came from menu_scroll.c check-in: ed161d4179 user: base@atomicules.co.uk tags: origin/master, trunk | |
2013-08-29
| ||
23:24 | Implement functionality to calc req'd and then sel nearest match in menu So far only implemented on Shutter menu, i.e. have to select ISO and Aperture, it will then use the equations to calculate the exact required shutter speed, but then select the nearest value in the menu. In order to do that added these two functions: - nearest_match - fraction_to_double The latter needed, because need to convert "1/1000", etc into float. For Aperture menu items can just strip off the "f/". Seems to work for Sunny 16. check-in: 6513b427e7 user: base@atomicules.co.uk tags: origin/master, trunk | |
2013-08-27
| ||
12:00 | Fix order of arguements in exposure functions check-in: c663824d67 user: base@atomicules.co.uk tags: origin/master, trunk | |
11:37 | Whoopsie! Can't re-arrange equations it seems. check-in: 1e61137082 user: base@atomicules.co.uk tags: origin/master, trunk | |
2013-08-26
| ||
22:02 | More whitespace changes (mainly). What the hell?! check-in: a7ef007409 user: base@atomicules.co.uk tags: origin/master, trunk | |
2013-08-25
| ||
22:02 | Whitespace / retabbing changes check-in: de652712ec user: base@atomicules.co.uk tags: origin/master, trunk | |
21:50 | Makes the basic menu interaction work (select 2, set other) Track the selected values, but for now still do the dummy row shift thing. check-in: 10d5131043 user: base@atomicules.co.uk tags: origin/master, trunk | |
2013-08-24
| ||
15:53 | Whitespace changes for consistent formatting check-in: 8669035245 user: base@atomicules.co.uk tags: origin/master, trunk | |
15:52 | Ensure two different menus have been selected before executing check-in: 5f0ed62195 user: base@atomicules.co.uk tags: origin/master, trunk | |
2013-08-17
| ||
19:35 | Add initial left/right menu navigation not at all DRY though at the moment. check-in: 0ecf3fd90c user: base@atomicules.co.uk tags: origin/master, trunk | |
12:23 | Add exposure equations (don't do anything yet though) check-in: 2264820974 user: base@atomicules.co.uk tags: origin/master, trunk | |
12:18 | Rename arrays to free up name for functions check-in: bd27f3bed9 user: base@atomicules.co.uk tags: origin/master, trunk | |
2013-07-13
| ||
22:13 | Make "make clean" actually clean everything check-in: 7c39adc01d user: atomicules@lavabit.com tags: origin/master, trunk | |
2013-07-11
| ||
12:06 | Test using the User Pointer to change another menu Requires the Window and Menu variables to be global(?) in scope. I.e. move outside of main routine. Interesting thing about the refreshing of the other menu... check-in: 328662366f user: atomicules@lavabit.com tags: origin/master, trunk | |
2013-07-10
| ||
13:14 | Add initial usage of the User Pointer Still need a way to get to the third menu and also need to actually do something with the User Pointer function. Baby steps though. check-in: b4468458f4 user: atomicules@lavabit.com tags: origin/master, trunk | |
13:13 | Identation changes only Was meant to be like this in the first place check-in: b5ca845268 user: atomicules@lavabit.com tags: origin/master, trunk | |
13:12 | Remove unnecessary items from arrays At least I don't think these are needed? check-in: e4e256f8b0 user: atomicules@lavabit.com tags: origin/master, trunk | |
12:29 | Fix pointer types Or whatever the hell they are called. Inadvertently set these wrong when adding in the third menu. check-in: 18f4d20e48 user: atomicules@lavabit.com tags: origin/master, trunk | |
2013-07-08
| ||
09:03 | Add starter of a README file check-in: 91deaaa03b user: atomicules@lavabit.com tags: origin/master, trunk | |
08:58 | Add Makefile and config.mk Probably overkill for such a tiny file, but good practice for me. check-in: fc1d33f903 user: atomicules@lavabit.com tags: origin/master, trunk | |
08:55 | Add in values for the three menus check-in: 4b63a4b0a2 user: atomicules@lavabit.com tags: origin/master, trunk | |
08:55 | Enable switching between windows with left/right keys - Oh my, I've ended up using pointers to pointers already! Use this so can switch the menu/win "pointing" at with left and right keys and then scroll up down the active one. - Also means need to just use plain getch and not wgetch as don't want to limit input to one window. I still don't get what determines an active window. Is it just cursor position? check-in: db667542ca user: atomicules@lavabit.com tags: origin/master, trunk | |
08:55 | First attempt at getting two menus side by side Tricky bit was that have to re-create my_items. I thought I'd be able to re-use that for the sake of this test. But without recreating it the second menu is blank. check-in: 8fab8d5ebf user: atomicules@lavabit.com tags: origin/master, trunk | |
08:55 | Re-ident, fix comment typo, slight re-format check-in: 18fbc02037 user: atomicules@lavabit.com tags: origin/master, trunk | |
08:55 | Add note about where file is from/based on check-in: a7bd8579c0 user: atomicules@lavabit.com tags: origin/master, trunk | |
08:54 | Rename file check-in: 40ac3fa835 user: atomicules@lavabit.com tags: origin/master, trunk | |
2013-06-24
| ||
20:55 | Add menu_scroll.c example as basis to start from Example from here: http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/intro.html check-in: 97c4a398a9 user: atomicules@lavabit.com tags: origin/master, trunk | |