~ubuntu-branches/ubuntu/maverick/aptitude/maverick

1 by Michael Vogt
Import upstream version 0.4.0
1
2005-10-01  Daniel Burrows  <dburrows@debian.org>
2
3
	* NEWS:
4
5
	  Add some missing entries and bug numbers.
6
7
	* Makefile.am:
8
9
	  Distribute the other READMEs.
10
11
	* NEWS:
12
13
	  Mention the build script migration.
14
15
	* configure.ac, src/aptitude.h:
16
17
	  Deal with the fact that the old gettext/autoools generated a
18
	  test for locale.h and setlocale but the new one doesn't.  I
19
	  could stop using the test, but instead I decided to just test
20
	  explicitly for them and define the appropriate variables if
21
	  they're found.
22
23
	* src/aptitude.h:
24
25
	  Instead of using #define to empty setlocale, inline it.  This
26
	  still fails to compile, but the error is a lot more obvious.
27
28
	* ***:
29
30
	  Rebuilt all of the autotools and gettext junk from scratch using
31
	  automake-1.9.  In theory this will make VPATH builds work
32
	  (xgettext was failing); however, I'm going to wait and see.  It
33
	  does mean that I am no longer using old crufty versions of the
34
	  tools, though.
35
36
	* Makefile.am:
37
38
	  On the other hand, the non-generated manual files really *are*
39
	  in $(srcdir).
40
41
	* doc/en/Makefile.am, doc/fi/Makefile.am, doc/fr/Makefile.am:
42
43
	  Also pick up README from '.', not $(srcdir).
44
45
	* doc/cs/Makefile.am, doc/de/Makefile.am, doc/en/Makefile.am, doc/fi/Makefile.am, doc/fr/Makefile.am:
46
47
	  Whoops, there is no $(builddir) -- it's just '.' in rules.
48
49
	* doc/cs/Makefile.am, doc/de/Makefile.am, doc/en/Makefile.am, doc/fi/Makefile.am, doc/fr/Makefile.am:
50
51
	  Consistently put the output directories in $(builddir), not
52
	  $(srcdir).
53
54
	* src/mine/Makefile.am:
55
56
	  Use $(wildcard) instead of listing all the help texts
57
	  explicitly.
58
59
	* Makefile.am:
60
61
	  Use $(wildcard) for some wildcarded filenames so that VPATH
62
	  builds work.
63
64
	* doc/fi/Makefile.am, doc/fr/Makefile.am:
65
66
	  Fix up some more documentation Makefiles that I missed
67
	  previously.
68
69
	* doc/cs/Makefile.am, doc/de/Makefile.am, doc/en/Makefile.am, doc/fi/Makefile.am, doc/fr/Makefile.am:
70
71
	  Fix the documentation Makefiles to refer symbolically to the
72
	  souce directory using $(srcdir) instead of directly via '..' and
73
	  '.'.
74
75
	* NEWS:
76
77
	  Add a comment about whitespace in patterns, change the quote.
78
79
	* Makefile.am:
80
81
	  Put intl before the other subdirectories, so builds with an
82
	  included libintl work.
83
84
2005-09-30  Daniel Burrows  <dburrows@debian.org>
85
86
	* src/download_screen.h:
87
88
	  Fix the #include of config.h. (done previously but I forgot to
89
	  save!  ah the irony)
90
91
	* configure.ac:
92
93
	  Bump the version to 0.3.4.
94
95
	* src/mine/Makefile.am:
96
97
	  Explicitly list all of the minesweeper help files -- apparently
98
	  automake's "make dist" target doesn't expand wildcards.
99
100
	* src/mine/Makefile.am:
101
102
	  Add top_builddir to Minesweeper's include path as well.
103
104
	* src/generic/util/Makefile.am:
105
106
	  Add slotarg.h to the list of sources for libgeneric-util.
107
108
	* src/aptitude.h, src/main.cc, src/pkg_ver_item.h, src/ui.cc, src/vscreen/curses++.h, src/vscreen/vscreen_widget.cc:
109
110
	  Change a bunch of includes of config.h to use <>, and protect
111
	  the ones that weren't with #ifdef HAVE_CONFIG_H.
112
113
	* src/generic/util/Makefile.am:
114
115
	  Add bool_accumulate.h to the list of generic sources.
116
117
	* src/vscreen/Makefile.am:
118
119
	  Add ref_ptr.h to the list of vscreen sources.
120
121
	* src/generic/problemresolver/Makefile.am:
122
123
	  Forgot to add resolver_undo.h to EXTRA_DIST so that it gets
124
	  distributed; do so.
125
126
	* src/Makefile.am, src/cmdline/Makefile.am, src/generic/apt/Makefile.am, src/generic/problemresolver/Makefile.am, src/generic/util/Makefile.am, src/vscreen/Makefile.am, src/vscreen/config/Makefile.am, tests/Makefile.am:
127
128
	  Include $(top_builddir) so we can get config.h in VPATH builds
129
	  (e.g., in 'make distcheck').
130
131
	* doc/en/aptitude.xml:
132
133
	  Correct a strange turn of phrase.
134
135
	* src/vscreen/Makefile.am:
136
137
	  Remove references to some .h files that got moved down to
138
	  generic/.
139
140
	* src/vscreen/vscreen_widget.cc:
141
142
	  Allow destroy() to be called multiple times but ignore it after
143
	  the first call.  This allows download widgets to destroy
144
	  themselves immediately upon being cancelled, even though the
145
	  download process will also issue a destroy command on its own.
146
147
	* src/ui.cc, src/ui_download_manager.cc, src/ui_download_manager.h:
148
149
	  Fix more compile problems.
150
151
	* src/download_list.cc, src/download_list.h:
152
153
	  Fix compilation errors.
154
155
	* src/download_list.cc:
156
157
	  Actually use abortslot when a download is cancelled.
158
159
	* src/ui.cc, src/ui.h, src/ui_download_manager.cc, src/ui_download_manager.h:
160
161
	  Expose the widget that's handling the download status, so it can
162
	  be explicitly kept alive as long as the download lasts
163
	  (regardless of its destruction).
164
165
	* src/download_list.cc:
166
167
	  Always destroy a download list when destroy() is called, even
168
	  though "cancel" is a side-effect.
169
170
	* src/ui.cc:
171
172
	  Don't let mini-buffer downloads overload the Q key.
173
174
	* NEWS:
175
176
	  Update the NEWS file for 0.3.4 (may get additional updates).
177
178
	* po/POTFILES.in:
179
180
	  Update the list of files.
181
182
	* src/ui.cc:
183
184
	  Editorial change to the no-cache-modification-during-a-download
185
	  message.
186
187
	* src/solution_item.cc:
188
189
	  Reinstate the advance-after-action behavior of solution items.
190
191
	* doc/en/images/Makefile.am:
192
193
	  Update the list of distributed images.
194
195
	* doc/en/aptitude.xml:
196
197
	  More fully document the resolver (the prose is a little stilted
198
	  in some places but it'll do for a first draft).
199
200
	* src/generic/problemresolver/model.tex:
201
202
	  Add a disclaimer regarding the stupidity-removal algorithm.
203
204
	* src/apt_options.cc:
205
206
	  Add an option item for suppress-read-only-warning.
207
208
	* src/ui.cc:
209
210
	  Make prompt_yesno_popup not always default to 'yes'.
211
	  (I confused the scrollbar parameter with the default parameter
212
	  -- arguably this is a sign that vs_dialog_yesno's interface is
213
	  way too hariy).
214
215
	* src/vscreen/vs_multiplex.cc:
216
217
	  Bind weak references instead of strong references.
218
219
	* src/cmdline/cmdline_update.cc:
220
221
	  Fix a silly compile problem.
222
223
	* doc/en/aptitude.xml:
224
225
	  Fix the documentation as regards the default resolver scores.
226
227
	* doc/en/aptitude.xml:
228
229
	  Document several undocumented configuration options.
230
231
	* doc/en/aptitude.xml:
232
233
	  Typo fix.
234
235
	* src/cmdline/cmdline_update.cc, src/generic/apt/download_update_manager.cc, src/ui.cc:
236
237
	  Add some missing connections to the download managers' hooks.
238
239
	* src/cmdline/cmdline_changelog.cc:
240
241
	  Kill off some memory leaks.
242
243
	* src/changelog_parse.cc:
244
245
	  Instead of using the description parser to generate formatted
246
	  changelogs, just parse them by hand; the bulletting conventions
247
	  are not, unfortunately, as well-defined as for descriptions.
248
249
	* src/menu_text_layout.cc, src/menu_text_layout.h:
250
251
	  Make the search keystrokes active in the menu_text_layout
252
	  widget.
253
254
	* src/view_changelog.cc:
255
256
	  Use a menu_text_layout instead of a vs_text_layout to display
257
	  the changelog, and hook it up to the menu signals.
258
259
	* src/menu_text_layout.cc, src/menu_text_layout.h:
260
261
	  Write a vs_text_layout variant customized to hook the menu's
262
	  search command up to itself.
263
264
	* src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
265
266
	  Write basic code for searching in a vs_text_layout.
267
268
2005-09-29  Daniel Burrows  <dburrows@debian.org>
269
270
	* doc/en/aptitude.xml, src/Makefile.am, src/changelog_parse.cc, src/changelog_parse.h, src/defaults.cc, src/generic/util/temp.h, src/view_changelog.cc:
271
272
	  Add support for parsing changelogs and doing something useful
273
	  with the information therein.  In particular, changelogs are now
274
	  wrapped like descriptions (and get bullet parsing for free), and
275
	  newer versions of the package are highlighted.  (Closes: #290692)
276
277
	* src/generic/util/temp.h:
278
279
	  Allow clients to extract the parent directory of temporary
280
	  objects.
281
282
	* src/cmdline/cmdline_do_action.cc:
283
284
	  Fix a nasty bug: when constructing the download manager in
285
	  do_action, I was actually (and accidentally) constructing a
286
	  manager on the heap, implicitly casting it to bool (hence always
287
	  getting 'true') and then passing that as download_only to the
288
	  true manager.  Obviously this is not quite what was desired.
289
290
	* src/ui.cc, src/ui_download_manager.cc, src/ui_download_manager.h, src/view_changelog.cc:
291
292
	  Require code that creates a ui_download_manager to set all the
293
	  usual parameters for its internal download status widget, and
294
	  change all the creation points to do so (resurrecting the
295
	  various title strings that got lost earlier).
296
297
	* src/cmdline/cmdline_changelog.cc:
298
299
	  Fix the command-line changelog code: binding a reference doesn't
300
	  really work, you have to bind a pointer to the object you want
301
	  to set instead.
302
303
	* src/cmdline/cmdline_changelog.cc, src/view_changelog.cc:
304
305
	  Update the changelog viewers for the new interface.
306
307
	* src/generic/apt/pkg_changelog.cc, src/generic/apt/pkg_changelog.h:
308
309
	  Base the package changelog downloader on the download_manager
310
	  class.
311
312
	* src/Makefile.am, src/download.cc, src/download.h:
313
314
	  Remove the old download code.
315
316
	* src/cmdline/cmdline_upgrade.cc:
317
318
	  Use the download_manager code for upgrades too.
319
320
	* src/pkg_item.cc, src/pkg_tree.cc:
321
322
	  Eliminate more unnecessary #includes.
323
324
	* src/cmdline/cmdline_do_action.cc, src/cmdline/cmdline_update.cc:
325
326
	  Eliminate some unnecessary #includes.
327
328
	* src/cmdline/cmdline_update.cc:
329
330
	  Use the download_manager code in 'update'.
331
332
	* src/cmdline_do_action.cc:
333
334
	  Use the download_manager code to handle stuff that gets kicked
335
	  to do_action.
336
337
	* src/cmdline_util.cc, src/cmdline_util.h:
338
339
	  Write generic code to execute a download object from the
340
	  command-line.
341
342
	* src/ui_download_manager.cc:
343
344
	  Actually use both ui_start_download and ui_stop_download.
345
346
	* src/ui.cc, src/generic/download_install_manager.cc, src/generic/download_update_manager.cc:
347
348
	  Implement the before/after hooks in the UI to shut down curses
349
	  and to display a message while automatic autocleaning is
350
	  happening.
351
352
	* src/ui.cc:
353
354
	  Implement ui_stop_download.
355
356
	* po/POTFILES.in, src/Makefile.am, src/ui.cc, src/ui.h, src/ui_download_manager.cc, src/ui_download_manager.h:
357
358
	  Split the wrapper class into another file.  Added some public UI
359
	  routines to allow other code to manipulate the "is something
360
	  downloading now?" state.
361
362
	* src/ui.cc:
363
364
	  Instead of subclassing the download managers, use a generic
365
	  wrapper class that takes a manager as a constructor parameter.
366
367
	* src/generic/apt/download_manager.h, src/generic/apt/download_install_manager.h, src/generic/apt/download_install_manager.cc, src/ui.cc:
368
369
	  Make prepare() part of the generic download_manager interface
370
	  (additional arguments should be 'passed' in the constructor
371
	  now).  This will pave the way for fully generic code in the UI
372
	  to handle a download.
373
374
	* src/generic/apt/download_install_manager.cc, src/generic/apt/download_install_manager.h, src/ui.cc:
375
376
	  Make download_only a constructor parameter of the
377
	  download_install_manager, not an argument of finish().
378
379
	* src/generic/apt/download_update_manager.cc:
380
381
	  Instead of creating an Acquire object with no status callback,
382
	  pass our status callback into its constructor; also save the
383
	  signal generator in signallog rather than just ignoring it.
384
385
	* src/ui.cc:
386
387
	  First cut at using the download_manager code instead of the old
388
	  download code.
389
390
	* src/download_thread.cc, src/download_thread.h:
391
392
	  Accept download managers instead of acquire objects as the
393
	  thread parameter.
394
395
	* src/generic/apt/download_manager.h:
396
397
	  Make download managers SigC++ trackable objects.
398
399
	* src/generic/apt/download_install_manager.cc, src/generic/apt/download_install_manager.h, src/generic/apt/log.cc, src/generic/apt/log.h:
400
401
	  Split the log code from the download code.
402
403
	* po/POTFILES.in, src/generic/apt/download_install_manager.cc, src/generic/apt/download_install_manager.h, src/generic/apt/download_manager.cc, src/generic/apt/download_manager.h, src/generic/apt/download_update_manager.cc, src/generic/apt/download_update_manager.h, src/generic/apt/Makefile.am:
404
405
	  Write a generic interface to manage operations that involve
406
	  downloading something and then doing more stuff, and transform
407
	  the old download code into subclasses of this interface.
408
409
	* src/cmdline/cmdline_changelog.cc, src/cmdline/cmdline_do_action.cc, src/cmdline/cmdline_download.cc, src/cmdline/cmdline_progress.cc, src/cmdline/cmdline_progress.h, src/cmdline/cmdline_prompt.cc, src/cmdline/cmdline_update.cc, src/cmdline/cmdline_upgrade.cc, src/download.cc, src/download.h, src/download_list.cc, src/download_list.h, src/download_thread.cc, src/download_thread.h, src/generic/apt/acqprogress.cc, src/generic/apt/acqprogress.h, src/generic/apt/Makefile.am, src/Makefile.am, src/ui.cc, src/ui.h, src/view_changelog.cc:
410
411
	  Update include file locations and class names to refer to
412
	  download_signal_log instead of download_manager.
413
414
	* src/download_manager.cc, src/download_manager.h, src/generic/apt/download_signal_log.cc, src/generic/apt/download_signal_log.h:
415
416
	  Move the download_manager code into the generic layer and rename
417
	  it.
418
419
2005-09-27  Daniel Burrows  <dburrows@debian.org>
420
421
	* src/view_changelog.cc:
422
423
	  Since the changelog pager reads in the whole changelog when it's
424
	  constructed, it no longer needs to ensure that the changelog
425
	  file (object) exists as long as the pager does; delete the file
426
	  object as soon as we finish reading it.
427
428
	* src/generic/util/exception.h:
429
430
	  Update the exception documentation to match reality.
431
432
	* configure.ac:
433
434
	  Fix the enabling of dynamic backtraces.
435
436
	* configure.ac, src/generic/util/exception.cc:
437
438
	  Make the dynamic generation of backtraces a configure-time
439
	  option; in order for them to be useful, a full symbol table
440
	  needs to be shipped with the program, and in the case of
441
	  aptitude, this DOUBLES the executable size.
442
443
	* configure.ac:
444
445
	  Put libraries detected by configure into LIBS, not LDFLAGS.
446
447
	* configure.ac, src/generic/util/Makefile.am, src/generic/util/exception.cc, src/generic/util/exception.h, src/main.cc, tests/Makefile.am:
448
449
	  Add support for backtracing the program when creating an
450
	  exception on systems that support it.  (currently rather broken)
451
452
	* src/download.cc:
453
454
	  Remove the assumption that stdin is line-buffered; explicitly
455
	  search for a \n character (and handle EOF conditions).
456
457
	* src/main.cc, src/cmdline/cmdline_prompt.cc, src/cmdline/cmdline_prompt.h:
458
459
	  Toss an exception from the command-line code when EOF is
460
	  encountered, and write a corresponding catch handler; also
461
	  replace the special-cased catch blocks in main.cc with generic
462
	  catches for the Exception type (so the exception gets printed to
463
	  stderr).  In particular, this means that aptitude no longer goes
464
	  nuts when it encounters an EOF.  (Closes: #318749)
465
466
	* src/ui.cc:
467
468
	  Check for the existence of the old temporary directory on
469
	  startup and display a one-time prompt asking whether it should
470
	  be removed (currently defaults to "no").
471
472
	* src/ui.cc:
473
474
	  When su-ing to root, use temp::* instead of making the needed
475
	  temporary names manually.  (Closes: #146485)
476
477
	* src/generic/apt/pkg_changelog.cc, src/generic/apt/pkg_changeloh.h:
478
479
	  Use the temp::* classes to manage the changelog instead of
480
	  manually constructing a temporary name.
481
482
	* src/generic/util/Makefile.am, src/generic/util/temp.cc, src/generic/util/temp.h, tests/Makefile.am, tests/test_temp.cc:
483
484
	  Add C++-based support code for securely creating and cleaning up
485
	  temporary files and directories.
486
487
	* src/vscreen/config/colors.cc:
488
489
	  Don't blow up if no colors are available (e.g., if the terminal
490
	  doesn't support colors at all).
491
492
2005-09-26  Daniel Burrows  <dburrows@debian.org>
493
494
	* src/pkg_item.cc:
495
496
	  Make the interactive 'keep' command cancel any hold set on a
497
	  package; the behavior at the command line is unchanged.
498
	  (Closes: #326949)
499
500
	* src/generic/apt/aptcache.cc:
501
502
	  Preserve the last version of pkgstates when saving the selection
503
	  list. (Closes: #316460)  Also, don't remove the .new version if
504
	  we fail to save the cache (so the user can manually recover).
505
506
	* src/ui.cc:
507
508
	  Write a better description for the flat package list viewer.
509
510
	* src/ui.cc:
511
512
	  Also gray out autocleaning and mark-upgradable when the apt
513
	  cache file isn't available, and don't crash even if someone does
514
	  call do_autoclean with apt_cache_file == NULL.
515
516
	* src/ui.cc:
517
518
	  Gray out the install-run menu item whenever the apt cache file
519
	  isn't available.
520
521
	* src/ui.cc:
522
523
	  Also clear the 'active download' flag after a download that
524
	  failed up-front.
525
526
	* src/ui.cc:
527
528
	  If the download preparation routine fails, tell the download
529
	  manager that the download was complete so that the download
530
	  widget is destroyed.
531
532
	* src/download.cc:
533
534
	  If the user tries to start a download while the package cache is
535
	  NULL, print a cryptic error message instead of crashing.  If the
536
	  user tries to start an update while the package cache is NULL,
537
	  do the update instead of crashing.  (Closes: #309445)
538
539
	* src/cmdline/cmdline_moo.cc:
540
541
	  Delete the text at the end, which not only lacks a trailing
542
	  newline, but is also rather rude.  (Closes: #295924)
543
544
	* src/broken_indicator.cc:
545
546
	  Don't segfault if the apt cache is NULL (e.g., if apt_init
547
	  failed).  (Closes: #290408) -- at least for the time being; the
548
	  general problem is that I need to remember to test the program
549
	  in situations where the apt cache fails to initialize due to,
550
	  say, invalid configuration files.
551
552
	* src/generic/apt/aptcache.cc:
553
554
	  Fix the code that sets packages back to manual mode on a keep or
555
	  hold: it ran after the package was already kept back, so of
556
	  course the test for whether the package was to be deleted was
557
	  wrong! (Closes: #278490)
558
559
	* src/cmdline/cmdline_action.cc:
560
561
	  Only print a message about not being able to forbid an upgrade
562
	  because the package is not upgradable for packages that are
563
	  *NOT* upgradable, not packages that are.  (Closes: #246140)
564
565
	* src/cmdline/cmdline_show.cc:
566
567
	  Abort with an error message if some of the packages the user
568
	  tried to show don't exist, and return non-zero if errors were
569
	  generated while showing packages.  (Closes: #301291)
570
571
	* doc/en/aptitude.xml, doc/en/manpage.xml, src/generic/apt/apt.cc, src/main.cc:
572
573
	  Change Aptitude::Cmdline::Simulate to Aptitude::Simulate; if it
574
	  is true, always open the cache in read-only mode regardless of
575
	  whether the user is root or not.  This really Closes: #243192.
576
577
	* src/download.cc:
578
579
	  Write the date stamps for aptitude logs in RFC2822 format;
580
	  in particular, add timezones to them.  (Closes: #318501)
581
582
	* src/generic/util/util.cc, src/generic/util/util.h:
583
584
	  Add a safe wrapper for strerror_r.
585
586
	* src/generic/util/util.cc:
587
588
	  Correct get_homedir(): it was using the non-array form of delete
589
	  on arrays (remember, auto_ptr doesn't work on arrays...).
590
591
	* src/generic/util/util.cc, src/generic/util/util.h:
592
593
	  Write a safe strftime wrapper.
594
595
	* src/edit_pkg_hier.cc, src/generic/apt/apt.cc, src/generic/apt/pkg_changelog.cc, src/ui.cc:
596
597
	  Consistently use pkg_homedir() instead of getenv("HOME").
598
	  (Closes: #272429, #274216, #285334)
599
600
	* src/generic/util/util.cc, src/generic/util/util.h:
601
602
	  Write a utility routine to look up the current user's home
603
	  directory from the password database.
604
605
	* src/main.cc:
606
607
	  Automatically activate quiet mode if stdout is not a terminal.
608
	  (Closes: #276767)
609
610
	* src/pkg_item.cc:
611
612
	  Hang onto the lock while running reportbug.  This obviates the
613
	  need to reload the package cache, and in particular it means
614
	  that aptitude no longer discards information about package
615
	  states after reporting a bug; hence (Closes: #304748).
616
617
2005-09-25  Daniel Burrows  <dburrows@debian.org>
618
619
	* src/ui.cc:
620
621
	  Add a configuration option to suppress the warning message, and
622
	  display a customized dialog box that allows the user to disable
623
	  the message in the future.  With the other changes, this finally
624
	  (Closes: #175408).
625
626
	* src/ui.cc:
627
628
	  Make show_message() generate reverse video by default again.
629
630
	* src/download_list.cc, src/download_list.h, src/generic/util/slotarg.h, src/ui.h, src/vscreen/slotarg.h, src/vscreen/vs_menu.h, src/vscreen/vs_menu.cc:
631
632
	  Move slotarg to the generic code layer.
633
634
	* src/generic/apt/aptcache.cc:
635
636
	  Add a missing permission check in internal_mark_install.
637
638
	* src/ui.cc:
639
640
	  Make the package cache read-only while a download is going on.
641
642
	* src/vscreen/config/colors.cc:
643
644
	  Actually set default_colors_avail based on the result of
645
	  use_default_colors().  The codepath where this value is false is
646
	  untested, because I can't seem to find a terminal that doesn't
647
	  provide default colors.
648
649
	* src/ui.cc:
650
651
	  Connect up the new cache functions to display a helpful (?)
652
	  message when a read-only cache is modified.  This enforces a
653
	  rule that modifying the cache during a download is Not Allowed,
654
	  and it resets the cache to not-read-only after displaying a
655
	  single warning message otherwise.
656
657
	* src/generic/aptcache.cc, src/generic/aptcache.h:
658
659
	  Add support for making the cache 'read-only'; writing to a
660
	  read-only cache will generate what you could loosely describe as
661
	  a 'page fault', to be dealt with by slots connected to a public
662
	  signal.
663
664
	* src/generic/util/bool_accumulate, src/ui/ui.h, src/vscreen/bool_accumulate, src/vscreen/vs_menu.h:
665
666
	  Move bool_accumulate to generic code.
667
668
	* doc/en/aptitude.xml, src/generic/apt/aptcache.cc:
669
670
	  Add an option to purge packages that are unused, with big red
671
	  warning flags in its documentation appropriate to the level of
672
	  foot-shooting-ness that it enables.  (Closes: #275150)
673
674
	* src/cmdline/cmdline_download.cc, src/cmdline/cmdline_upgrade.cc, src/main.cc:
675
676
	  Fix the remaining points in the code that need to be updated for
677
	  quietness.  The code should now work just fine in quiet mode.
678
	  (Closes: #217477)
679
680
	* src/cmdline/cmdline_update.cc, src/cmdline/cmdline_forget_new.cc, src/cmdline/cmdline_progress.cc, src/cmdline/cmdline_do_action.cc:
681
682
	  Fix a bunch of typos and update do_action for quietness.
683
684
	* src/cmdline/cmdline_clean.cc:
685
686
	  Update the clean and autoclean code for quietness.
687
688
	* src/cmdline/cmdline_progress.cc:
689
690
	  Make downloads quiet.
691
692
	* src/cmdline/cmdline_update.cc:
693
694
	  Update for quietness.
695
696
	* src/cmdline/cmdline_resolver.cc, src/cmdline/cmdline_spinner.cc, src/cmdline/cmdline_spinner.h:
697
698
	  Disable output from the spinner when the quiet level is greater
699
	  than zero.
700
701
	* doc/en/aptitude.xml, doc/en/manpage.xml, src/main.cc:
702
703
	  Add basic support for a 'quiet' option; it needs to be
704
	  integrated into all cmdline files.
705
706
	* doc/en/aptitude.xml:
707
708
	  Explicitly note that ~a matches the *current state* of a
709
	  package; for instance, ~aupgrade doesn't do what ~U does.
710
	  (Closes: #311290)
711
712
	* FAQ, doc/en/aptitude.xml:
713
714
	  Apply several typo fixes submitted by
715
	  Olivier Trichet <olivier.trichet@freesurf.fr>.
716
	  (Closes: #268916)
717
718
	* doc/en/manpage.xml:
719
720
	  Fix the SEE ALSO reference to the full documentation
721
	  (Closes: #265723).
722
723
	* src/vscreen/vscreen.cc:
724
725
	  Don't initialize the unused style WidgetFrame.
726
727
	* doc/en/aptitude.xml, src/defaults.cc, src/ui.cc:
728
729
	  Add keybindings and menu items to directly select the first and
730
	  last generated solution.
731
732
	* src/load_config.cc, src/vscreen/config/colors.cc, src/vscreen/config/colors.h, src/vscreen/config/style.cc, src/vscreen/config/style.h:
733
734
	  Support using the default background color by encoding it in the
735
	  slots that would be used for an identical foreground &
736
	  background color.  Attempts to set identical foreground &
737
	  background now return an arbitrary color with the same
738
	  background, and the style code sets A_INVIS in such a case
739
	  (resulting in a blank space with the same background).  This is
740
	  a bit of a hack, but it's the only way to do this when you
741
	  consider that xterm provides 9 colors (including the default
742
	  color) but only 64 color pairs.  (Closes: #161872)
743
744
	* src/cmdline/cmdline_clean.cc:
745
746
	  Unreverse the logic that determines the return value of 'clean':
747
	  it was returning 0 iff there WERE errors.  (Closes: #274098)
748
749
	* src/ui.cc:
750
751
	  Try to start a background solution calculation when connecting
752
	  up the signal (it's possible that we missed a signal that gets
753
	  emitted when the resolver is created).
754
755
	* src/cmdline/cmdline_upgrade.cc:
756
757
	  When we have to abort an upgrade, display any broken packages
758
	  that forced us to abort. Maybe this should hook into the full
759
	  resolver in the future? (Closes: #316027)
760
761
2005-09-25 Miroslav Kure <kurem@upcase.inf.upol.cz>
762
763
	* update Czech translation. Closes:#330014
764
	
765
2005-09-24  Daniel Burrows  <dburrows@debian.org>
766
767
	* src/generic/util/setset.h, tests/***:
768
769
	  Fix more include files that I missed (oops).
770
771
	* src/vscreen/vs_menubar.cc:
772
773
	  Display left and right arrows at the edge of the terminal if the
774
	  menu bar is too large for it.
775
776
	* src/***:
777
778
	  Fix all the include file problems and other stuff arising from
779
	  the reorganization.
780
781
	* po/POTFILES.in:
782
783
	  Update POTFILES.in.
784
785
	* Makefile.am, src/Makefile.am, src/vscreen/Makefile.am, src/generic/***:
786
787
	  Massively reorganize the generic/ subdirectory.  The code is now
788
	  split into three parts: code which is fully generic (util/), the
789
	  problem resolver, and "generic" apt routines (apt/).  Not only
790
	  is this more aesthetically pleasing, it also means that there
791
	  are no weird cross-directory dependencies (dependencies still
792
	  exist but they aren't weird any more: specifically, a straight
793
	  "make" will now always build code before its dependencies are
794
	  built.
795
796
	* src/ui.cc:
797
798
	  Fix do_next_solution_enabled().
799
800
	* src/generic/resolver_manager.cc, src/generic/resolver_manager.h:
801
802
	  Eliminate out_of_solutions; use the solutions_exhausted member
803
	  of the state snapshot to calculate
804
	  solution_generation_complete().
805
806
	* src/generic/resolver_manager.cc:
807
808
	  Use the resolver counts instead of out_of_solutions to set the
809
	  solutions_exhausted member of the state snapshot.  This fixes
810
	  the 'are there more solutions?' indicator.
811
812
	* src/generic/problemresolver/problemresolver.h:
813
814
	  Add an element to the counts cache that mirrors 'finished', and
815
	  update the cache at the important exit points from the solver
816
	  and (if no solver is running) when retrieving queue counts.
817
818
	* src/generic/problemresolver/problemresolver.h:
819
820
	  When screening out solutions that we've already generated a
821
	  subset of, take into account the set of unresolved dependencies
822
	  as well as the set of actions.
823
824
	* src/generic/problemresolver/solution.h:
825
826
	  If an action coincidentally fixes an unresolved dependency,
827
	  remove that dependency from the unresolved set.
828
829
	* src/generic/problemresolver/problemresolver.h:
830
831
	  Remove the forced_broken interface from the resolver itself.
832
	  Switch a call to unforce_break that I missed earlier to invoke
833
	  unapprove_break instead.
834
835
	* src/generic/resolver_manager.cc, src/generic/resolver_manager.h:
836
837
	  Rip the forced_broken stuff out of the resolver manager.
838
839
	* src/solution_item.cc:
840
841
	  Switch the solution_unresolved_item class to using the new
842
	  approved_broken stuff instead of forced_broken.
843
844
	* src/generic/problemresolver/problemresolver.h:
845
846
	  Doh, of course the MUTATORS for the new structure shouldn't be
847
	  constant!
848
849
	* src/generic/resolver_manager.cc, src/generic/resolver_manager.h:
850
851
	  Expose the approved_broken stuff from the manager.
852
853
	* src/generic/resolver_manager.cc, src/generic/resolver_manager.h:
854
855
	  Collect all the resolver manipulations into a common routine.
856
857
	* src/generic/problemresolver/problemresolver.h:
858
859
	  Add a set of "approved breaks" that should provide a more
860
	  sensible way of handling soft dependencies: instead of forbidden
861
	  the dependency to be solved outright, it just says that we
862
	  should place it in the 'unresolved' set whenever it comes up as
863
	  an option.  In other words, it defers any solution in which an
864
	  action is labelled with that dependency.
865
866
	* src/generic/problemresolver/problemresolver.h:
867
868
	  Fix the resolver indentation (finally).
869
870
2005-09-24 Rubén Porras <nahoo@inicia.es>
871
872
	* Update spanish translation
873
874
	* regenerate po/aptitude.pot, po/POTFILES.in and po files
875
876
2005-09-23  Daniel Burrows  <dburrows@debian.org>
877
878
	* src/generic/problemresolver/problemresolver.h:
879
880
	  When force-breaking a soft dependency, make sure to reject its
881
	  source as well.  NOTE: the semantics of force-breaking may be a
882
	  bit off; maybe they should be reviewed to better match approval?
883
	  (i.e., only reject solutions due to force-breaking if something
884
	  force-broken is listed as a justification)
885
886
	* src/ui.cc:
887
888
	  Connect state_changed to vscreen_update, so an update is always
889
	  enqueued when the resolver state changes.  In particular, this
890
	  ensures that a keyboard-invoked undo will always trigger a
891
	  screen update.
892
893
	* src/generic/resolver_manager.cc:
894
895
	  For safety, always unsuspend a background thread before calling
896
	  state_changed().
897
898
	* src/generic/resolver_manager.cc:
899
900
	  Fix background_suspender::unsuspend -- it wasn't clearing its
901
	  suspended flag, so the suspender would try to unsuspend AGAIN
902
	  when it was destroyed.
903
904
	* src/solution_screen.cc:
905
906
	  Write a solution_undo_tree (analogue of apt_undo_tree) and use
907
	  it to activate the undo command in solution displays.
908
909
	* src/ui.cc:
910
911
	  Remove the no-longer-necessary do_undo() and undo_enabled()
912
	  routines.
913
914
	* src/apt_info_tree.h, src/pkg_tree.h:
915
916
	  Derive apt_info_tree and pkg_tree from the new undo-supporting
917
	  tree.
918
919
	* src/apt_undo_tree.cc, src/apt_undo_tree.h:
920
921
	  Add a tree class that implements an apt undo interface (i.e., so
922
	  package manipulation screens work as expected).
923
924
	* src/menu_redirect.cc:
925
926
	  Fix a rather silly typo.
927
928
	* src/menu_redirect.cc, src/menu_redirect.h:
929
930
	  Add menu_redirect hooks for the "undo" command.
931
932
	* src/ui.cc, src/ui.h:
933
934
	  Connect undo() through a signal instead of directly.  For now
935
	  do_undo() is still used, though.
936
937
	* src/generic/resolver_manager.cc:
938
939
	  Always signal state_changed() after an undo.
940
941
	* src/generic/resolver_manager.cc, src/generic/resolver_manager.h:
942
943
	  Add support for tracking an undo stack for a resolver manager's
944
	  state.
945
946
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/resolver_undo.h:
947
948
	  Correct a typo (generic_problem_resolver, not generic_resolver)
949
	  so the new code compiles.
950
951
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/resolver_undo.h:
952
953
	  Add support in the resolver for recording the inverse of
954
	  operations performed on it.  (could be done at a higher level,
955
	  but for obvious reasons, the resolver is uniquely positioned to
956
	  know exactly how to reverse its actions)
957
958
	* src/vscreen/vs_menu.cc, src/vscreen/vs_menu.h:
959
960
	  Allow the user to scroll the menu up and down on small
961
	  terminals.
962
963
	* src/view_changelog.cc:
964
965
	  Write a long menu description for the changelog pager.
966
967
	* src/ui.cc:
968
969
	  Edit the long menu description of the manual pager.
970
971
	* src/ui.cc:
972
973
	  Display the user's manual as a top-level widget instead of a
974
	  dialog box.
975
976
	* src/solution_screen.cc:
977
978
	  Switch back to using the widget itself as the menu target, and
979
	  bind menu handlers for the info area; the resolver menu works
980
	  now!
981
982
	* src/menu_redirect.cc:
983
984
	  Merge do_menu_test and do_menu_action into do_menu_callback, and
985
	  make the new routine use get_widget_active() to filter calls:
986
	  menu actions on a widget are valid only when every ancestor of
987
	  the widget is either the root or the 'active' widget of its
988
	  owner.
989
990
	* src/vscreen/vs_multiplex.cc:
991
992
	  Make it compile.
993
994
	* src/vscreen/vscreen_widget.cc, src/vscreen/vscreen_widget.h:
995
996
	  Make get_owner() return a ref_ptr, not a bare pointer.
997
998
	* src/vscreen/vs_container.h, src/vscreen/vs_menubar.cc, src/vscreen/vs_menubar.h, src/vscreen/vs_passthrough.cc, src/vscreen/vs_passthrough.h:
999
1000
	  Add a routine to fetch the 'active' widget of a container (where
1001
	  the definition of 'active' varies by widget, but is usually the
1002
	  widget with the interaction focus).
1003
1004
	* src/ui.cc:
1005
1006
	  Add shortcut characters to the Resolver menu.
1007
1008
2005-09-22  Daniel Burrows  <dburrows@debian.org>
1009
1010
	* src/menu_tree.cc:
1011
1012
	  Say "Search Backwards", not "Search Back" (more readable).
1013
1014
	* src/ui.cc:
1015
1016
	  Don't talk about packages in the long menu description of
1017
	  Search->Find and Search->Find Backwards now that other things
1018
	  support those commands.
1019
1020
	* src/view_changelog.cc, src/view_changelog.h:
1021
1022
	  Add support for either forward or backwards searching.
1023
1024
	* src/vscreen/vs_pager.cc, src/vscreen/vs_pager.h:
1025
1026
	  Add support for searching backwards in a file.
1027
1028
	* src/menu_redirect.cc, src/menu_redirect.h, src/pkg_node.cc, src/solution_item.cc:
1029
1030
	  Write default implementations for the menu_redirect methods that
1031
	  cause all commands to be disabled; avoids lots of repetitive and
1032
	  pointless code in subclasses.
1033
1034
	* src/view_changelog.cc:
1035
1036
	  Make sure that the changelog pager's scroll bar occupies the
1037
	  full vertical extent of the screen.
1038
1039
	* src/menu_tree.cc, src/menu_tree.h, src/pkg_item.cc, src/pkg_item.h, src/pkg_node.cc, src/pkg_node.h, src/pkg_ver_item.cc, src/pkg_ver_item.h, src/solution_item.cc, src/solution_item.h:
1040
1041
	  Split up the menu_tree monstrosity and eliminate most of the
1042
	  dynamic_casts.  Now it just does a single dynamic_cast of the
1043
	  currently selected item to the menu_redirect interface; if the
1044
	  cast succeeds, it just proxies for the result.
1045
1046
	* src/solution_screen.cc:
1047
1048
	  D'oh, connect up the bindings to the examiner, not the info
1049
	  tree.
1050
1051
	* src/menu_tree.cc, src/menu_tree.h:
1052
1053
	  Implement the resolver commands.  This exposed some real
1054
	  kludginess in the menu_tree that should be fixed in the future
1055
	  (I imagine it acting as simply a proxy for the selection when
1056
	  the selection is a menu_redirect).
1057
1058
	* src/solution_item.cc, src/solution_item.h:
1059
1060
	  Split the key response actions into public methods.
1061
1062
	* src/Makefile.am, src/apt_info_tree.h, src/load_grouppolicy.cc, src/menu_tree.cc, src/menu_tree.h, src/pkg_tree.cc, src/pkg_tree.h, src/solution_screen.cc, src/ui.cc:
1063
1064
	  Rename pkg_menu_tree to menu_tree and split it into a separate
1065
	  file from pkg_tree.
1066
1067
	* src/solution_screen.cc:
1068
1069
	  Use a pkg_menu_tree instead of a vs_tree to build the solution
1070
	  screen.  Note that pkg_menu_tree is a bit of a misnomer now...
1071
1072
	* src/pkg_tree.h:
1073
1074
	  Make pkg_menu_tree::create a static method (whoops).
1075
1076
	* src/menu_redirect.cc:
1077
1078
	  Bind up the resolver menu signals.
1079
1080
	* src/Makefile.am, src/menu_redirect.cc, src/menu_redirect.h, src/pkg_view.cc:
1081
1082
	  Split the code to bind up a menu_redirect object and the active
1083
	  package view out into a separate .cc file.
1084
1085
	* src/ui.cc:
1086
1087
	  Actually put the new items in the menu and define the signals.
1088
1089
	* src/ui.h:
1090
1091
	  Add signals that will be used to hook up the new menu items.
1092
1093
	* src/solution_item.cc, src/solution_item.h, src/solution_screen.cc:
1094
1095
	  Split the tree items from solution_screen.cc into their own
1096
	  file.
1097
1098
	* src/ui.cc:
1099
1100
	  Typo fix.
1101
1102
	* src/menu_redirect.h, src/pkg_tree.cc, src/pkg_tree.h:
1103
1104
	  Add stubs for future resolver menu items.
1105
1106
	* src/ui.cc:
1107
1108
	  Add a Resolver menu with various resolver commands, for those
1109
	  who like such things.
1110
1111
	* src/vscreen/vs_staticitem.cc:
1112
1113
	  Make vs_staticitem really use the whole width (it was using one
1114
	  character less).
1115
1116
	* src/solution_screen.cc:
1117
1118
	  Add more verbiage to unresolved soft deps when they show up as
1119
	  possible alternatives to the selected action.
1120
1121
	* doc/en/aptitude.xml, src/defaults.cc, src/solution_screen.cc:
1122
1123
	  Modify the SolutionActionAccepted style and the
1124
	  SolutionActionAccept keybinding to conform to the new "approved"
1125
	  terminology; don't overspecify the SolutionAction styles.
1126
1127
	* doc/en/aptitude.xml, doc/en/images/broken-snapshot.png, doc/en/images/solution-screen-snapshot.png, doc/en/images/solution-screen-snapshot2.png, doc/en/images/solution-screen-snapshot3.png, doc/en/images/solution-screen-snapshot4.png, doc/en/images/solution-screen-snapshot5.png:
1128
1129
	  Update the broken packages tutorial.
1130
1131
	* src/generic/problemresolver/problemresolver.h, src/generic/resolver_manager.cc:
1132
1133
	  Make approving and rejecting an action mutually exclusive:
1134
	  actions that are approved are automatically un-rejected, and
1135
	  vice versa.
1136
1137
	* src/generic/problemresolver/problemresolver.h:
1138
1139
	  Allow mandated versions to be ignored in favor of other mandated
1140
	  versions, and don't special-case other versions of the package.
1141
1142
	* doc/en/aptitude.xml, src/defaults.cc:
1143
1144
	  Don't explicitly set the background color in package colors, so
1145
	  the user can globally override the background color if he/she so
1146
	  desires.
1147
1148
	* doc/en/aptitude.xml, src/defaults.cc, src/pkg_item.cc, src/pkg_item.h, src/reason_fragment.cc:
1149
1150
	  Make a separate named style for each and every possible package
1151
	  item state, including both highlighted and non-highlighted
1152
	  styles.  Among other things, this makes xterm display reasonable
1153
	  cursor colors for highlighted packages (by removing the
1154
	  A_REVERSE flag, which seems to confuse it in some cases).  Of
1155
	  course, it also means that people have much more flexibility in
1156
	  customizing the colors of the package list.
1157
1158
	* src/generic/resolver_manager.cc:
1159
1160
	  Optimize for the case of block_steps == 0 (so users can
1161
	  stop it from using any threading primitives at all).
1162
1163
	* src/vscreen/vs_menubar.cc, src/vscreen/vs_menubar.h:
1164
1165
	  If the screen is too narrow to display a whole menubar, allow it
1166
	  to "scroll" while the user is interacting with it.
1167
1168
	* src/vscreen/vscreen.cc:
1169
1170
	  (hopefully) fix the cursor placement problems that I was having.
1171
1172
	* src/vscreen/curses++.h:
1173
1174
	  Fix mvaddnstr for std::wstrings.
1175
1176
2005-09-22 Rubén Porras <nahoo@inicia.es>
1177
1178
	* Update spanish translation
1179
1180
	* regenerate po/aptitude.pot and po files
1181
1182
2005-09-21  Daniel Burrows  <dburrows@debian.org>
1183
1184
	* doc/en/aptitude.xml:
1185
1186
	  Document Aptitude::ProblemResolver::WaitSteps and
1187
	  Aptitude::Spin-Interval.
1188
1189
	* src/generic/resolver_manager.cc:
1190
1191
	  Don't hold the lock while calling state_changed().  This avoids
1192
	  deadlocks if state-changing callbacks trigger code that tries to
1193
	  grab the instance lock from another thread.  (and just avoids
1194
	  holding the lock over arbitrary code in general, probably a good
1195
	  idea)
1196
1197
	* src/ui.cc:
1198
1199
	  Use the new maybe-blocking solution fetching routine.
1200
1201
	* src/generic/resolver_manager.cc:
1202
1203
	  Add support for cancelling a suspension before destroying the
1204
	  corresponding background_suspender object.
1205
1206
	* src/generic/resolver_manager.cc, src/generic/resolver_manager.h:
1207
1208
	  Add a routine that waits for the resolver to perform some number
1209
	  of steps before returning; can be used to avoid displaying a
1210
	  progress indicator unless the search seems to be taking a while.
1211
1212
	* src/ui.cc:
1213
1214
	  Ignore attempts to apply solutions that don't exist yet.
1215
1216
	* src/broken_indicator.cc, src/cmdline/cmdline_resolver.cc, src/generic/resolver_manager.cc, src/generic/resolver_manager.h, src/solution_dialog.cc, src/solution_screen.cc, src/ui.cc:
1217
1218
	  Make the number of steps an explicit parameter to get_solution
1219
	  and get_solution_background.
1220
1221
	* src/ui.cc:
1222
1223
	  Signal that the resolver state changed when it runs out of
1224
	  solutions.
1225
1226
	* src/broken_indicator.cc:
1227
1228
	  Fix the placement of a bunch of code in broken_indicator::update
1229
	  that accidentally ended up inside a loop.
1230
1231
	* src/broken_indicator.cc:
1232
1233
	  Dim out the unavailable actions in the broken hint line.
1234
1235
	* src/vscreen/fragment.cc:
1236
1237
	  Make column fragments always have a final newline.
1238
1239
	* src/vscreen/vscreen.cc:
1240
1241
	  When determining how long the timeout thread should sleep,
1242
	  return the absolute time that the next timeout will trigger at,
1243
	  not the amount of time until that time (this results in the
1244
	  timeout thread spinning forever).
1245
1246
	* src/ui.cc, src/ui.h:
1247
1248
	  Trigger package_states_changed from apply_current_solution.
1249
	  Among other things, this means that the information area is
1250
	  properly updated when a solution is applied.
1251
1252
	* src/solution_screen.cc:
1253
1254
	  Destroy the whole examiner when there aren't any broken
1255
	  packages, and do it from external code (not update() or a
1256
	  connection to destroyed) to avoid any possibility of weirdness.
1257
1258
	* src/cmdline/cmdline_do_action.cc, src/generic/aptcache.cc, src/generic/aptcache.h, src/ui.cc:
1259
1260
	  Upgrade packages that were to-be-removed when doing a
1261
	  dist-upgrade from the command line.  This is achieved by adding
1262
	  a new flag to mark_all_upgradable that selects one or the other
1263
	  behavior; also fixed the handling of Unknown packages in
1264
	  mark_all_upgradable (it was just wrong before, and probably
1265
	  wasn't noticed because that case should never come up anyway).
1266
1267
	* src/broken_indicator.cc, src/dep_item.h, src/download_bar.h, src/download_list.h, src/edit_pkg_hier.h, src/mine/cmine.h, src/pkg_info_screen.h, src/pkg_tree.h, src/pkg_ver_item.h, src/pkg_view.cc, src/solution_dialog.cc, src/solution_screen.cc, src/ui.cc, src/view_changelog.cc, src/vscreen/vs_button.h, src/vscreen/vs_center.h, src/vscreen/vscreen_widget.h, src/vscreen/vs_editline.h, src/vscreen/vs_frame.h, src/vscreen/vs_label.cc, src/vscreen/vs_label.h, src/vscreen/vs_menubar.h, src/vscreen/vs_menu.h, src/vscreen/vs_minibuf_win.h, src/vscreen/vs_multiplex.h, src/vscreen/vs_pager.h, src/vscreen/vs_scrollbar.h, src/vscreen/vs_size_box.h, src/vscreen/vs_stacked.h, src/vscreen/vs_statuschoice.h, src/vscreen/vs_table.h, src/vscreen/vs_text_layout.h, src/vscreen/vs_togglebutton.h, src/vscreen/vs_transient.h, src/vscreen/vs_tree.h:
1268
1269
	  Make the reference count of vscreen_widgets default to 1, not 0.
1270
	  As a result, it is necessary for every creation routine to
1271
	  explicitly decref() its return value before returning it.  Also
1272
	  wrote a ::create() routine for cmine (it was missing one) and
1273
	  changed ui.cc to call it.
1274
1275
	  The reason for doing this is that it allows routines run from
1276
	  the constructor to acquire and release references without
1277
	  causing the world to explode violently.
1278
1279
	* src/apt_info_tree.cc, src/broken_indicator.cc, src/download_bar.cc, src/download_list.cc, src/download_screen.cc, src/edit_pkg_hier.cc, src/mine/cmine.cc, src/pkg_info_screen.cc, src/pkg_view.cc, src/solution_dialog.cc, src/solution_screen.cc, src/vscreen/vs_bin.cc, src/vscreen/vs_button.cc, src/vscreen/vs_center.cc, src/vscreen/vs_container.cc, src/vscreen/vscreen_widget.cc, src/vscreen/vs_editline.cc, src/vscreen/vs_frame.cc, src/vscreen/vs_label.cc, src/vscreen/vs_menubar.cc, src/vscreen/vs_menu.cc, src/vscreen/vs_minibuf_win.cc, src/vscreen/vs_multiplex.cc, src/vscreen/vs_pager.cc, src/vscreen/vs_passthrough.cc, src/vscreen/vs_scrollbar.cc, src/vscreen/vs_size_box.cc, src/vscreen/vs_stacked.cc, src/vscreen/vs_statuschoice.cc, src/vscreen/vs_table.cc:
1280
1281
	  Take a self-reference in any routine that's not totally trivial
1282
	  (in particular, any routine that invokes a virtual method or a
1283
	  signal) in order to avoid future surprises like the one that
1284
	  wasted so much time yesterday.
1285
1286
2005-09-20  Daniel Burrows  <dburrows@debian.org>
1287
1288
	* src/apt_info_tree.cc:
1289
1290
	  Preemptively fix a likely problem that turned up in an audit for
1291
	  other instances of the access-this-after-self-destructing bug.
1292
1293
	* src/solution_screen.cc:
1294
1295
	  Have the examiner take a reference to itself in the destroy()
1296
	  call; fixes a crash due to accessing members of the examiner
1297
	  after it's deleted by destroy().
1298
1299
	* src/solution_screen.cc:
1300
1301
	  Clear out the other information areas when the multiplex goes.
1302
1303
	* src/vscreen/vs_multiplex.cc, src/vscreen/vs_table.cc:
1304
1305
	  Tighten some asserts.
1306
1307
	* src/vscreen/vs_table.cc:
1308
1309
	  Fix the logic that chooses a new focus after the current focus
1310
	  goes away: most places were only looking at *UN*focussable
1311
	  widgets; instead, only consider widgets that are visible and can
1312
	  be focussed.
1313
1314
	* src/vscreen/vscreen_widget.cc:
1315
1316
	  Don't mark the widget as having been destroyed until after it's
1317
	  been hidden and removed from its owner; this avoids some nasty
1318
	  weirdness due to the way that the vscreen_widget accessors
1319
	  change their behavior when the widget is destroyed.
1320
1321
	* src/broken_indicator.cc, src/solution_screen.cc:
1322
1323
	  Display the resolver progress in the solution screen instead of
1324
	  in the broken indicator; use the new slot timeout object
1325
	  to set up the broken indicator's timeout.
1326
1327
	* src/vscreen/vscreen.cc, src/vscreen/vscreen.h:
1328
1329
	  Add a slot_event that wraps a sigc++ slot in a safe
1330
	  vscreen_event wrapper.
1331
1332
	* src/vscreen/vs_tree.cc:
1333
1334
	  Be robust in the face of a totally empty tree (one with a NULL
1335
	  root pointer).
1336
1337
	* src/solution_screen.cc:
1338
1339
	  Display a list of the possible resolutions of the dependency
1340
	  corresponding to each action.
1341
1342
	* src/solution_fragment.cc, src/solution_fragment.h:
1343
1344
	  Add a routine to display a description of a dependency that
1345
	  might be a conflict through a Provides.
1346
1347
	* src/solution_screen.cc:
1348
1349
	  Remember that both trees have their visible flag set even though
1350
	  only one is actually shown; the proper way to determine the
1351
	  active child of a multiplexer is to call visible_widget().
1352
1353
	* src/solution_screen.cc:
1354
1355
	  Use the changes to vs_tree and vs_multiplex to correctly manage
1356
	  the auxillary status areas.
1357
1358
	* src/vscreen/vs_multiplex.cc, src/vscreen/vs_multiplex.h:
1359
1360
	  Add a signal that is emitted when the visible widget changes.
1361
1362
	* src/vscreen/vs_tree.cc:
1363
1364
	  Fix a silly compilation error.
1365
1366
	* src/vscreen/vs_tree.cc, src/vscreen/vs_tree.h:
1367
1368
	  Add hooks for highlighting or unhighlighting the currently
1369
	  selected item.
1370
1371
	* src/solution_screen.cc:
1372
1373
	  Set up a split-screen display of prospective solutions; this
1374
	  will be used (in the future) to display alternatives to a given
1375
	  action.
1376
1377
	* src/apt_options.cc:
1378
1379
	  Fix button placement in the options dialog: the Ok/Cancel
1380
	  buttons were being crammed into the first column instead of
1381
	  spreading across both columns.
1382
1383
	* src/vscreen/vs_editline.cc:
1384
1385
	  Don't crash when creating a very small line-editor, such as when
1386
	  displaying the options dialog in a thin terminal (it has other
1387
	  problems in a thin terminal, but at least this one is fixed
1388
	  now).
1389
1390
2005-09-19  Daniel Burrows  <dburrows@debian.org>
1391
1392
	* src/broken_indicator.cc, src/mine/cmine.cc, src/vscreen/vscreen.cc:
1393
1394
	  It turns out that sigc++ isn't really threadsafe -- thanks to
1395
	  weak references and deletion callbacks, read access to a slot
1396
	  created in one thread can be interefered with (disastrously) by
1397
	  the deletion of an apparently unrelated object in another
1398
	  thread.  As it's virtually impossible to guarantee that this
1399
	  doesn't occur, I have decided to just avoid touching slots
1400
	  anywhere but the main thread.  The easiest way to make this
1401
	  explicit is to require a vscreen_event to be passed to the
1402
	  timeout thread (although a heap structure containing a slot
1403
	  could also be safe).
1404
1405
	* src/solutions_screen.cc:
1406
1407
	  Make pressing Enter (or whatever is bound to InfoScreen) on an
1408
	  action solution item pop up the information screen about the
1409
	  corresponding version.
1410
1411
	* doc/en/aptitude.xml, src/cmdline/cmdline_resolver.cc:
1412
1413
	  Make the version score tweaking default to 0.
1414
1415
	* src/generic/resolver_manager.cc:
1416
1417
	  When the resolver is interrupted, put the job we were working on
1418
	  back onto the queue, so that we start working on it again at the
1419
	  next opportunity.
1420
1421
	* src/broken_indicator.cc:
1422
1423
	  Format the statistics in the interactive UI better.
1424
1425
	* src/cmdline/cmdline_resolver.cc:
1426
1427
	  Display resolver statistics from the command line.
1428
1429
	* src/cmdline/cmdline_spinner.cc:
1430
1431
	  Really handle the case where the message we want to display is
1432
	  longer than the screen width.
1433
1434
	* src/broken_indicator.cc:
1435
1436
	  Display the resolver statistics while it's running.
1437
1438
	* src/generic/resolver_manager.cc, src/generic/resolver_manager.h:
1439
1440
	  Expose the resolver's queue counts in the state snapshot.
1441
1442
	* src/generic/problemresolver/problemresolver.h:
1443
1444
	  Allow users of the resolver to check the size of its various
1445
	  queues.
1446
1447
	* src/generic/resolver_manager.cc:
1448
1449
	  Indicate that the background thread left the resolver before
1450
	  calling the continuation (so if we ran out of threads, the
1451
	  foreground thread will know to hide the spinner).
1452
1453
	* src/broken_indicator.cc:
1454
1455
	  Use columns to display the spinner flush-right and to display it
1456
	  even when the user selects a finished solution again.
1457
1458
	* src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/testvscreen.cc:
1459
1460
	  Add a simple column-generating class.  It has a caveat regarding
1461
	  indentation, but aside from that it should be safe.
1462
1463
	* src/broken_indicator.cc, src/cmdline/cmdline_resolver.cc, src/cmdline/cmdline_spinner.cc, src/cmdline/cmdline_spinner.h, src/cmdline/Makefile.am, src/generic/resolver_manager.cc, src/generic/resolver_manager.h, src/solution_dialog.cc, src/solution_screen.cc, src/ui.cc:
1464
1465
	  Use the background thread to keep the UI responsive while the
1466
	  resolver is running.
1467
1468
	* src/vscreen/vscreen.cc:
1469
1470
	  Fix the timeout thread; it was utterly broken (whoops).
1471
1472
2005-09-17  Daniel Burrows  <dburrows@debian.org>
1473
1474
	* src/generic/problemresolver/problemresolver.h:
1475
1476
	  When building a prospective solution from an old one, use
1477
	  find_submap_containing instead of find_submap; this virtually
1478
	  eliminates the huge amount of time that was being spent in
1479
	  find_submap.
1480
1481
	* tests/test_dense_setset.cc:
1482
1483
	  Fix the predicate search test: the id halver was declared to
1484
	  return bool, so it was actually only returning 0 or 1!
1485
1486
	* tests/test_dense_setset.c:
1487
1488
	  Add more tests of find_subset_containing.
1489
1490
	* tests/test_wtree.cc:
1491
1492
	  Correct a mistake in the test.
1493
1494
	* src/generic/immset.h:
1495
1496
	  Switch the second comparison of the roots of the two trees in
1497
	  node_contains() -- I forgot to transform that one to its dual.
1498
1499
	* tests/test_wtree.cc:
1500
1501
	  Add a test for the subset (containment) routine.
1502
1503
	* src/generic/dense_setset.h, tests/Makefile.am, tests/test_dense_setset.cc:
1504
1505
	  Add a routine in dense_setset that searches for a subset of a
1506
	  set that contains a particular element; will be useful for
1507
	  optimizing the core resolver.
1508
1509
	* src/generic/immset.h:
1510
1511
	  Write an intrinsic subset routine for the binary trees that
1512
	  should be quicker than iterating over them.
1513
1514
	* src/generic/problemresolver/conflictset.h, src/generic/problemresolver/problemresolver.h, tests/test_resolver.cc:
1515
1516
	  Back out the conflictset class, since it didn't speed anything
1517
	  up and may have slowed stuff down.  Also, I have a better
1518
	  high-level idea about cutting back on the cost of conflict
1519
	  testing.
1520
1521
2005-09-16  Daniel Burrows  <dburrows@debian.org>
1522
1523
	* src/generic/problemresolver/conflictset.h:
1524
1525
	  Properly handle the case of an empty right branch by just
1526
	  setting right_offset to one past the left branch.  This is
1527
	  exactly correct, although it has the effect of causing the tree
1528
	  to overlap itself (if you work it out, though, this is exactly
1529
	  what's desired anyway).
1530
1531
	* tests/test_resolver.cc, src/generic/problemresolver/conflictset.h, src/generic/problemresolver/problemresolver.h:
1532
1533
	  Add an experimental conflict set optimized under some
1534
	  assumptions that may or may not turn out to actually hold for
1535
	  real programs once I get it working.
1536
1537
	* src/generic/resolver_manager.cc:
1538
1539
	  Make a thread-kill override all other control messages, so that
1540
	  the program doesn't deadlock trying to shut the background
1541
	  thread down.  What would happen was that if, e.g., the resolver
1542
	  was null and the foreground thread tried to kill the background
1543
	  thread, the background thread would sit there waiting for the
1544
	  resolver to be non-null.
1545
1546
	* src/generic/resolver_manager.cc:
1547
1548
	  Fix a segfault that occurred when shutting down the resolver
1549
	  thread.
1550
1551
2005-09-15  Daniel Burrows  <dburrows@debian.org>
1552
1553
	* src/generic/problemresolver/Makefile.am:
1554
1555
	  Don't put threads.o and util.o in LDADD any more; the changes in
1556
	  the last commit made this unnecessary.
1557
1558
	* src/generic/resolver_manager.cc, src/generic/resolver_manager.h:
1559
1560
	  Rewrite the threading support to allow multiple simultaneous
1561
	  jobs in the background thread; the foreground thread now just
1562
	  posts jobs to the background thread and waits for a reply.
1563
	  Furthermore, the complicated dance of constantly
1564
	  stopping/starting the background thread has been removed in
1565
	  favor of a scheme where the thread is started once and then
1566
	  suspended using condition variables.
1567
1568
	* src/generic/problemresolver/problemresolver.h:
1569
1570
	  Allow the cancellation of a find_next_solution call to be
1571
	  revoked or posted before the call starts.  Needed to avoid
1572
	  races.
1573
1574
	* src/generic/threads.h:
1575
1576
	  Let the filled state of void boxes be directly set in the
1577
	  constructor.
1578
1579
	* src/download_list.cc:
1580
1581
	  Fix a divide-by-zero.
1582
1583
	* src/ui.cc, src/ui.h, src/view_changelog.cc:
1584
1585
	  Add support for the new display mode of download_list.
1586
1587
	* src/generic/resolver_manager.cc:
1588
1589
	  Initialize the continuation to NULL to prevent nasty nasty
1590
	  segfaults.
1591
1592
	* src/download_list.cc, src/download_list.h:
1593
1594
	  Add support for a display mode in which no estimated time is
1595
	  provided and the progress bar assumes that all files have the
1596
	  same size; this will be useful for list updates (where apt
1597
	  kindly provides absolutely useless total-size information to the
1598
	  status object).  Note that since TotalItems is not meaningful,
1599
	  this doesn't (can't) fix all the problems.
1600
1601
2005-09-14  Daniel Burrows  <dburrows@debian.org>
1602
1603
	* src/generic/resolver_manager.cc:
1604
1605
	  Reset the currently selected solution to 0 when discarding the
1606
	  resolver.
1607
1608
	* src/generic/resolver_manager.cc:
1609
1610
	  Don't let the solution pointer go past
1611
	  one-off-the-end-of-the-list; fixes some uncaught exceptions.
1612
1613
	* src/resolver_manager.cc, src/resolver_manager.h:
1614
1615
	  Add coarse-grained threading support: the manager can start a
1616
	  background thread for computations; thread-safety is ensured by
1617
	  completely stopping the thread before performing dangerous
1618
	  mutations.
1619
1620
	* src/generic/immset.h:
1621
1622
	  Fix a silly error in the implementation of clone(): pass the
1623
	  value to the wtree_node constructor in addition to the children.
1624
	  Also fix constructor ordering in the set-from-a-node constructor
1625
	  (needed for the set's clone()).
1626
1627
	* src/generic/problemresolver/solution.h:
1628
1629
	  Add support for cloning an entire solution.
1630
1631
	* src/resolver_manager.cc, src/resolver_manager.h:
1632
1633
	  Instead of providing a limited interface to just step around and
1634
	  get the current solution, allow steps to be taken without
1635
	  implicitly calculating a new solution, and allow any solution to
1636
	  be queried (possibly generating a bunch in the process).
1637
1638
	* src/ui.cc:
1639
1640
	  When accessing resman in contexts where the apt cache might not
1641
	  be loaded (hence the globals don't exist), check whether it's
1642
	  NULL before accessing it.
1643
1644
	* src/generic/resolver_manager.cc:
1645
1646
	  In maybe_create_resolver, don't try to create a resolver unless
1647
	  none exists (sometimes maybe_create_resolver is called
1648
	  unnecessarily, because nothing actually changed and the resolver
1649
	  wasn't discarded).
1650
1651
	* src/broken_indicator.cc, src/cmdline/cmdline_prompt.cc, src/cmdline/cmdline_resolver.cc, src/generic/aptcache.cc, src/generic/aptcache.h, src/generic/apt.cc, src/generic/apt.h, src/generic/Makefile.am, src/generic/resolver_manager.cc, src/generic/resolver_manager.h, src/solution_dialog.cc, src/solution_screen.cc, src/ui.cc:
1652
1653
	  Factor the resolver management functions of the cache file out
1654
	  into a separate class.
1655
1656
	* src/generic/problemresolver/problemresolver.h:
1657
1658
	  includes is in namespace std, add a qualifier (why did this ever
1659
	  compile?).
1660
1661
	* src/generic/problemresolver/Makefile.am:
1662
1663
	  Ugh: link threads.o and util.o into test.  In the future I need
1664
	  to rearrange the files here and maybe use a less stupid build
1665
	  system so that this isn't so fragile.
1666
1667
	* src/generic/problemresolver/problemresolver.h:
1668
1669
	  Add a missing #include <algorithm> to the resolver header.
1670
1671
	* src/generic/aptcache.cc, src/generic/aptcache.h:
1672
1673
	  Add a method to the backend cache which applies a given
1674
	  solution, rather than just applying the currently selected
1675
	  solution.
1676
1677
	* src/generic/aptcache.cc, src/generic/aptcache.h:
1678
1679
	  Add a new signal that gets called *before* the package states
1680
	  change; this is needed to run the resolver in the background
1681
	  (since it's a reader of the depcache, it has to be killed before
1682
	  anything writes back to the depcache).
1683
1684
2005-09-13  Daniel Burrows  <dburrows@debian.org>
1685
1686
	* src/generic/aptcache.cc:
1687
1688
	  Don't even try to auto-keep packages that are unused due to an
1689
	  upgrade.  It is possible that auto-keeping a package will lead
1690
	  to broken dependencies even in a situation where nothing was
1691
	  previously broken; I think it's worse to break the output of the
1692
	  problem resolver than to do the "wrong" thing sometimes in a
1693
	  broken situation, and I don't see a simple solution that retains
1694
	  the auto-keep behavior, so I'm just backing it out.
1695
1696
	* src/download_list.cc:
1697
1698
	  Fix download cancellation: don't actually destroy the widget
1699
	  managing the download until Complete is received (indicating
1700
	  that the background task is finished); just store the
1701
	  cancellation and report it on the next Pulse.
1702
1703
2005-09-12  Daniel Burrows  <dburrows@debian.org>
1704
1705
	* src/generic/aptcache.cc:
1706
1707
	  Only run mark-and-sweep after setting a candidate version if the
1708
	  grouping level is 0.
1709
1710
	* src/generic/problemresolver/problemresolver.h:
1711
1712
	  I embarassingly forgot to initialize solver_cancelled and
1713
	  solver_running; do so.
1714
1715
2005-09-10  Daniel Burrows  <dburrows@debian.org>
1716
1717
	* src/generic/problemresolver/exceptions.h, src/generic/problemresolver/problemresolver.h:
1718
1719
	  Add code to manage the resolver in the presence of threads; it
1720
	  ensures that at most one find_next_solution call is running at
1721
	  once, and allows a find_next_solution call to be cleanly
1722
	  cancelled (throwing a special exception); it's guaranteed that
1723
	  you can start the resolver back up after cancelling it.
1724
1725
2005-09-10 Jean-Luc Coulon  <jean-luc.coulon@wanadoo.fr>
1726
1727
	* update French translation
1728
	
1729
2005-09-09  Daniel Burrows  <dburrows@debian.org>
1730
1731
	* src/cmdline/cmdline_prompt.cc:
1732
1733
	  Add a missing #include.
1734
1735
	* src/generic/immset.h:
1736
1737
	  Add routines to create non-overlapping copies of trees (since
1738
	  the overhead from locking the reference count of trees is too
1739
	  high, this is the only way to safely pass set structures between
1740
	  threads).
1741
1742
	* doc/en/aptitude.xml, src/cmdline/cmdline_prompt.cc:
1743
1744
	  By popular demand, add a configuration option to bypass the
1745
	  trust check in command-line mode (apparently this is useful for
1746
	  scripted installations and so on).
1747
1748
	* src/download_list.cc:
1749
1750
	  Eliminate all uses of vscreen_mainloop by using the continuation
1751
	  callbacks instead.  (Closes: #136973)
1752
1753
	* src/download_thread.cc, src/download_thread.h:
1754
1755
	  Directly invoke the continuation-passing methods of
1756
	  download_manager from the background thread.
1757
1758
	* src/download_manager.cc, src/download_manager.h, src/download_list.h, src/generic/acqprogress.cc, src/generic/acqprogress.h:
1759
1760
	  Write basic support for continuation-passing in the download
1761
	  status callbacks; this will allow complete elimination of
1762
	  vscreen_mainloop calls.
1763
1764
2005-09-07  Daniel Burrows  <dburrows@debian.org>
1765
1766
	* src/generic/aptitude_resolver_universe.h, src/generic/dense_setset.h, src/generic/problemresolver/problemresolver.h:
1767
1768
	  Add a 'dense' set-set class optimized for the case where the set
1769
	  elements can be mapped to a dense domain of integers (i.e., use
1770
	  an array instead of a hash table); yields a small but noticable
1771
	  improvement in the code's performance.
1772
1773
2005-09-06  Daniel Burrows  <dburrows@debian.org>
1774
1775
	* src/download_list.cc:
1776
1777
	  Remove a bunch of no-longer-necessary tryupdate calls and don't
1778
	  invoke vscreen_poll; only queue display updates if the download
1779
	  list is visible..
1780
1781
	* src/ui.cc:
1782
1783
	  Move package downloads to a background thread.
1784
1785
	* src/generic/setset.h:
1786
1787
	  Significantly speed up the operation of find_subset by
1788
	  preallocating space to store its hit counts.  This means that it
1789
	  has to pass over the whole conflict set, but it appears that
1790
	  it's better to do that than to allocate; I get a speedup of 2-3
1791
	  times out of this change, which is fairly important when you
1792
	  consider that find_subset is invoked almost a million times and
1793
	  is where most of the time of the test case I'm considering is
1794
	  spent.
1795
1796
	  Note that this makes find_subset NOT threadsafe.
1797
1798
	* doc/cs/aptitude.xml:
1799
1800
	  Correct several XML errors in the Czech documentation.
1801
1802
	* doc/en/aptitude.xml:
1803
1804
	  Apply Miroslav's corrections to fix some typos.
1805
1806
	* src/generic/problemresolver/problemresolver.h:
1807
1808
	  When a solution is encountered immediately after forcing a
1809
	  dependency, actually produce it instead of silently discarding
1810
	  it.
1811
1812
	* src/generic/solution.h:
1813
1814
	  Yes, I need to check that it compiles before I commit it.
1815
1816
	* src/generic/solution.h:
1817
1818
	  Actually factor in the full_solution_score when a new solution
1819
	  will be broken-dep-less.
1820
1821
	* tests/test_resolver.cc:
1822
1823
	  Fix a stupidity in the test (infinity is expected to be
1824
	  positive, not negative, when setting up the resolver).
1825
1826
	* tests/test_resolver.cc:
1827
1828
	  Add a basic test that the rejection system won't go nuts and
1829
	  reject other versions of the same package.
1830
1831
	* tests/test_wtree.cc:
1832
1833
	  Strip out some useless debugging dumps and correct some thinkos
1834
	  in the tests.
1835
1836
	* tests/test_wtree.cc:
1837
1838
	  Explicitly test commutativity of intersection.
1839
1840
	* src/generic/immset.h, tests/test_wtree.cc:
1841
1842
	  Fix a very dumb error when intersecting against an empty set.
1843
1844
	* src/generic/immset.h, tests/test_wtree.cc:
1845
1846
	  Generalize the intersection routine to only find intersections
1847
	  matching a predicate; add hooks in the map class to test for
1848
	  domain intersection, containing an identical element, and
1849
	  general intersection.
1850
1851
	  Also, actually fail if the intersection test doesn't work
1852
	  (oops); this turns up a mistake in the current implementation
1853
	  (double oops).
1854
1855
	* src/generic/immset.h, tests/test_wtree.cc:
1856
1857
	  Write a set routine to test whether two sets intersect.
1858
1859
2005-09-05 Miroslav Kure <kurem@upcase.inf.upol.cz>
1860
1861
	* update Czech translation and Czech manual translation
1862
1863
2005-09-05 Miguel Figueiredo <elmig@debianpt.org>
1864
1865
	* update Portuguese translation
1866
	
1867
2005-09-04  Daniel Burrows  <dburrows@debian.org>
1868
1869
	* src/generic/problemresolver/problemresolver.h:
1870
1871
	  Fix a bug in contains_rejected: instead of returning true on
1872
	  solutions that installed a rejected version, it was returning
1873
	  true on solutions that installed a package with a rejected
1874
	  version.
1875
1876
	* src/generic/problemresolver/problemresolver.h:
1877
1878
	  Add more debugging output for figuring out why deferrals occur.
1879
1880
	* src/cmdline/cmdline_do_action.cc, src/cmdline/cmdline_upgrade.cc, src/download.cc, src/download.h, src/ui.cc:
1881
1882
	  Split the download-and-install routines the same way that update
1883
	  was split.  NB: both splits should be refined in the future by
1884
	  creating classes that encapsulate the algorithms.
1885
1886
	  In the process of doing this, made the message about
1887
	  installation failures a little less silly.  (Closes: #230188)
1888
1889
2005-09-04 Clytie Siddall <clytie@riverland.net.au>
1890
1891
	* Update vietnamese translation
1892
	
1893
2005-09-04 Rubén Porras <nahoo@inicia.es>
1894
1895
	* Update spanish translation
1896
1897
	* regenerate po/aptitude.pot and po files
1898
	
1899
2005-09-03  Daniel Burrows  <dburrows@debian.org>
1900
1901
	* src/cmdline/cmdline_update.cc, src/download.cc, src/download.h, src/download_thread.cc, src/download_thread.h, src/ui.cc:
1902
1903
	  Use the download_thread class to run list updates in the
1904
	  background.
1905
1906
2005-09-02  Daniel Burrows  <dburrows@debian.org>
1907
1908
	* src/Makefile.am, src/download_thread.cc, src/download_thread.h:
1909
1910
	  Write harness code for running downloads in the background.
1911
1912
	* src/generic/threads.h:
1913
1914
	  Fix some silly compilation errors; make all broken-out box
1915
	  functions inline so they don't cause link failures.
1916
1917
	* src/generic/threads.h:
1918
1919
	  Add a helper class to bootstrap noncopyable functors in threads,
1920
	  and write an explicit specialization of threads::box for void
1921
	  that acts as a "baton repository".
1922
1923
	* src/cmdline/cmdline_update.cc, src/download.cc, src/download.h:
1924
1925
	  Split the package-list updating code around the download
1926
	  operation, so that the download itself can be pushed into a
1927
	  separate thread eventually.
1928
1929
	* configure.ac, src/download_bar.cc, src/download.cc, src/download_list.cc, src/download_screen.cc, src/vscreen/Makefile.am, src/vscreen/curses++.cc, src/vscreen/vscreen.cc, src/vscreen/vscreen.h:
1930
1931
	  Explicitly support and use threading in the vscreen core.  The
1932
	  design is relatively conservative: only the "main" thread is
1933
	  permitted to access most vscreen stuff; other threads carry out
1934
	  vscreen tasks by "posting" events to the main loop; the events
1935
	  are run serially in the main loop.
1936
1937
	  The core vscreen loop has been split into a small main loop and
1938
	  three auxillary threads that dispatch input, timeout, and
1939
	  asynchronous signal events to the main loop.  The resulting code
1940
	  should be a lot cleaner than what I had before, although there
1941
	  are still some warts that could be taken care of.
1942
	  Unfortunately, resizing seems to be slightly broken by this, or
1943
	  at least broken in a different way than it was before; the
1944
	  terminal sometimes displays incorrectly until you press a key.
1945
1946
	* src/generic/threads.h:
1947
1948
	  Support mutex attributes and add a recursive mutex type (for
1949
	  static initialization).
1950
1951
2005-09-01  Daniel Burrows  <dburrows@debian.org>
1952
1953
	* src/generic/threads.h:
1954
1955
	  Bind pthread_cancel.
1956
1957
	* src/generic/threads.h:
1958
1959
	  Add a convenience box proxy that stores a pointer and deletes it
1960
	  when destroyed (if it's full).
1961
1962
	* src/generic/event_queue.h, src/generic/threads.h, tests/test_threads.cc:
1963
1964
	  Add support for timed waits.
1965
1966
	* src/generic/event_queue.h, tests/test_threads.cc:
1967
1968
	  Write a simple event queue abstraction.
1969
1970
2005-08-31  Daniel Burrows  <dburrows@debian.org>
1971
1972
	* src/generic/threads.cc, src/generic/threads.h, test/test_threads.cc:
1973
1974
	  Add some generic code that wraps pthreads in a less error-prone
1975
	  interface, based on boost::threads (didn't just use
1976
	  boost::threads because of the unstable interface and the extra
1977
	  dependency it would introduce).
1978
1979
	* src/generic/immset.h:
1980
1981
	  When extracting and removing the minimum element of a tree,
1982
	  remember that while the minimum has (by definition) no *left*
1983
	  children, it might have a *right* child.  Thus, instead of just
1984
	  replacing the removed element with an empty tree, replace it
1985
	  with its right child.
1986
1987
	* src/generic/immset.h, tests/interactive_set_test.cc:
1988
1989
	  Make the set dump a dump() routine instead of operator<<, since
1990
	  it's not really suitable as a generic way of displaying a tree.
1991
1992
	* tests/test_wtree.cc:
1993
1994
	  Write a test targetted at the bug that showed up today in
1995
	  imm::set.
1996
1997
	* tests/Makefile.am, tests/interactive_set_test.cc:
1998
1999
	  Add a simple interactive test for the set code.
2000
2001
	* src/generic/immset.h:
2002
2003
	  Yet another silly error from moving the code: use getRight, not
2004
	  getLeft.
2005
2006
	* src/generic/immset.h:
2007
2008
	  Add missing #include of iostream.
2009
2010
	* src/generic/immset.h:
2011
2012
	  Right, don't crash on empty nodes (somehow that got lost when
2013
	  pasting from the code in the staging area).
2014
2015
	* src/generic/immset.h:
2016
2017
	  Add operator<< implementations that show the structure of each
2018
	  set/map.
2019
2020
2005-08-31 Sorin Batariuc <sorin@bonbon.net>
2021
2022
	* Update Romanian translation
2023
	
2024
2005-08-31  Daniel Burrows  <dburrows@debian.org>
2025
2026
	* src/generic/aptitude_resolver_universe.cc:
2027
2028
	  Don't skip packages that aren't InstBroken when searching for
2029
	  broken packages; fixes the broken-list anomaly that recently
2030
	  turned up.
2031
2032
	* tests/test_apt_universe.cc, tests/data/*:
2033
2034
	  Add an apt_universe test for the consistency of the broken list,
2035
	  and update the data to my current system, where the consistency
2036
	  check fails.  (TODO: support several data directories and test
2037
	  all of 'em)
2038
2039
	* src/generic/aptitude_resolver_universe.cc:
2040
2041
	  Fix the self-dependency check in broken_iterator::operator++;
2042
	  now the global list of broken packages in aptitude_universe
2043
	  properly excludes self-conflicts.  Fixes an assert failure.
2044
2045
	* src/generic/problemresolver/dummy_universe.cc, src/generic/problemresolver/dummy_universe.h, src/generic/problemresolver/solution.h, src/generic/aptitude_resolver_universe.cc:
2046
2047
	  Canonicalize some of the debugging output of the resolver to
2048
	  make it a bit easier to verify that it works properly.
2049
2050
	* src/generic/problemresolver/dummy_universe.cc:
2051
2052
	  Don't put commas in the dumped form of dummy dependencies.
2053
2054
	* src/generic/aptcache.cc:
2055
2056
	  Update the dump format to match the expected input format of the
2057
	  resolver test.
2058
2059
	* src/generic/util.cc, src/generic/util.h, src/solution_fragment.cc:
2060
2061
	  Lift pkg_name_lt and ver_name_lt to generic code.
2062
2063
	* src/solution_fragment.cc:
2064
2065
	  Sort elements of a solution by name.
2066
2067
	* src/cmdline/cmdline_resolver.cc, src/cmdline/cmdline_util.cc, src/cmdline/cmdline_util.h, src/ui.cc, src/ui.h:
2068
2069
	  Let the user enter the visual interface from the resolver
2070
	  prompt.
2071
2072
	* src/generic/aptcache.cc:
2073
2074
	  In mark_all_upgradable, only mark packages that are already
2075
	  installed; don't flag uninstalled but stickily-to-be-installed
2076
	  packages for installation.  (Closes: #317885)
2077
2078
	* src/generic/aptitude_resolver_universe.h, src/generic/apt.cc, src/generic/apt.h:
2079
2080
	  Pass the package cache into surrounding_or when calling it
2081
	  before apt_cache_file is initialized, to avoid crashes.
2082
2083
	* src/generic/apt.h:
2084
2085
	  Add a const qualifier that might not matter but that certainly
2086
	  can go in.
2087
2088
2005-08-30  Daniel Burrows  <dburrows@debian.org>
2089
2090
	* src/generic/tags.cc:
2091
2092
	  Optimize tag::operator++: testing for whitespace isn't strictly
2093
	  necessary so don't waste time calling isspace.
2094
2095
	* src/main.cc:
2096
2097
	  Add a "nop" command, which might or might not be useful for
2098
	  profiling the startup activities.
2099
2100
	* src/generic/setset.h:
2101
2102
	  Also use a hash table to represent the intermediate map object
2103
	  used in find_subset.
2104
2105
	* src/generic/problemresolver/problemresolver.h, src/generic/setset.h, tests/test_setset.cc:
2106
2107
	  Use a hash table to represent the by-value indexing in a setset.
2108
	  This appears to significantly speed up the setset structure --
2109
	  by which I mean that finds go from being a major time sink (over
2110
	  20% of the time in my test case) to taking negligible amounts of
2111
	  time.
2112
2113
	* src/generic/setset.h:
2114
2115
	  Use a vector instead of a set to store the sets containing an
2116
	  element.
2117
2118
	* src/generic/problemresolver/problemresolver.h:
2119
2120
	  Print a newline after the resolver statistics.
2121
2122
	* src/generic/immset.h:
2123
2124
	  Don't automatically split pairs in imm::map::for_each.
2125
2126
	* src/generic/util.h:
2127
2128
	  Also add project1st.
2129
2130
	* src/generic/util.h:
2131
2132
	  Add some missing functor classes that are in libstdc++ but
2133
	  aren't standard.
2134
2135
	* src/generic/immset.h:
2136
2137
	  Add a missing const qualifier.
2138
2139
	* src/generic/immset.h:
2140
2141
	  Slightly optimize for_each and the other immset routines by
2142
	  avoiding some wtree_node copies (hence avoiding reference-count
2143
	  updates).
2144
2145
2005-08-30  Christian Perrier  <bubulle@debian.org>
2146
2147
	* po/fr.po: Completed by Jean-Luc Coulon and the French team
2148
2149
2005-08-30  Daniel Burrows  <dburrows@debian.org>
2150
2151
	* src/generic/problemresolver/problemresolver.h:
2152
2153
	  Make the conflict set a mapset instead of a std::set; use
2154
	  setmap's special abilities to accelerate searches.
2155
2156
	* src/generic/setset.h:
2157
2158
	  Add a size() routine in setset and mapset.
2159
2160
	* src/generic/setset.h, tests/test_setset.cc:
2161
2162
	  Add a setset wrapper for sets of maps.
2163
2164
	* src/generic/immset.h, tests/test_wtree.cc:
2165
2166
	  Make imm::map::put update existing entries.
2167
2168
	* src/generic/immset.h:
2169
2170
	  Expose key_compare at the toplevel.
2171
2172
2005-08-29  Daniel Burrows  <dburrows@debian.org>
2173
2174
	* src/generic/setset.h, tests/test_setset.cc:
2175
2176
	  Make the necessary modifications to the 'setset' object to allow
2177
	  extra relations on sets to be calculated (mainly to support
2178
	  the subsumption relation as used to find conflicts).
2179
2180
	* src/generic/setset.h, tests/test_setset.cc:
2181
2182
	  Add a data structure that stores a set of sets, optimized for
2183
	  searching for a superset or a subset of a given set without
2184
	  using imm::set's slow operator++.
2185
2186
	* src/generic/immset.h:
2187
2188
	  Add missing const qualifier on wtree_node::for_each.
2189
2190
	* src/generic/problemresolver/problemresolver.h:
2191
2192
	  Fix compilation error in contains_rejected.
2193
2194
	* src/generic/immset.h:
2195
2196
	  Doh, fix for_each.
2197
2198
	* src/generic/immset.h:
2199
2200
	  Add a for_each operation that should be quicker for simple
2201
	  iteration over trees.
2202
2203
	* src/generic/problemresolver/problemresolver.h:
2204
2205
	  Fix contains_rejected, which was not just slow (due to
2206
	  imm::*::const_iterator), but was actually flat-out wrong.
2207
2208
	* src/broken_indicator.cc, src/cmdline/cmdline_resolver.cc, src/generic/aptcache.cc, src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/solution.h, src/generic/problemresolver/test.cc, src/solution_fragment.cc, src/solution_screen.cc, tests/test_resolver.cc:
2209
2210
	  Use the new imm::* containers instead of std::*.  This makes
2211
	  everything much slower...but on the upside, aptitude no longer
2212
	  eats all my memory before giving up on a search.
2213
2214
	* src/generic/immset.h, tests/test_wtree.cc:
2215
2216
	  Add a 'node' member type to imm::map, and write comparison and
2217
	  equality tests for wtrees.
2218
2219
	* tests/test_apt_universe.cc:
2220
2221
	  Actually load the local test data in the apt tests.
2222
2223
	* src/generic/problemresolver/problemresolver.h:
2224
2225
	  Eliminate the major bottleneck in the resolver code: rather than
2226
	  constructing full solutions while searching for forcings and
2227
	  unresolved dependencies, just construct as much of the solution
2228
	  as is necessary.  In particular, the resolver now just
2229
	  constructs a new actions map to search for conflicts.
2230
2231
	  With this change, the resolver goes from taking several minutes
2232
	  to return a first result from 'dist-upgrade' to returning it
2233
	  almost instantaneously.  The clue to finding this bottleneck was
2234
	  the observation that the profiler reported a huge amount of time
2235
	  being spent in broken_under, but that in fact hardly any time at
2236
	  all was being spent in each individual call to that routine; the
2237
	  problem was that it was being called millions of times to
2238
	  construct the sets of broken dependencies for successor
2239
	  solutions that were being discarded.
2240
2241
	* src/generic/problemresolver/solution.h:
2242
2243
	  Dereferencing a revdep_iterator is a bit expensive; cache the
2244
	  result of doing so.
2245
2246
	* src/generic/immset.h:
2247
2248
	  Add a convenience routine to check if a value is in the domain
2249
	  of a mapping.
2250
2251
2005-08-28  Daniel Burrows  <dburrows@debian.org>
2252
2253
	* src/generic/apt.cc:
2254
2255
	  Memoize surrounding_or: somewhat surprisingly, gprof reports
2256
	  that aptitude's resolver is now (since the recent changes -- and
2257
	  I suspect that the ones which caused this were *required* for
2258
	  correctness' sake) spending 25% of its time in this routine!
2259
	  The current change just memoizes the start of the OR group,
2260
	  calculating the group's end directly from the start.
2261
2262
	* src/generic/immset.h:
2263
2264
	  Correct the corresponding thinko in the double left rotate.
2265
2266
	* tests/test_wtree.cc:
2267
2268
	  Write simple test cases for *all* the rotation operations.
2269
2270
	* tests/test_wtree.cc:
2271
2272
	  Correct a wrong test assertion.
2273
2274
	* src/generic/immset.h:
2275
2276
	  Correct a rather dumb thinko in the double right rotation that
2277
	  caused segfaults.
2278
2279
	* src/generic/immset.h, tests/test_wtree.cc:
2280
2281
	  Rename wtree to set, and add a wrapper class to make it work as
2282
	  a mapping.
2283
2284
2005-08-27  Daniel Burrows  <dburrows@debian.org>
2285
2286
	* src/generic/immset.h, tests/test_wtree.cc:
2287
2288
	  Add support for removing elements from a wtree and for finding a
2289
	  particular element in the tree.
2290
2291
2005-08-26  Daniel Burrows  <dburrows@debian.org>
2292
2293
	* src/generic/immset.h, tests/Makefile.am, tests/test_wtree.h:
2294
2295
	  Write a basic framework for weight-based immutable trees.  These
2296
	  trees explicitly share memory between different versions of a
2297
	  tree (for instance, if a tree is updated by adding one element)
2298
	  and I hope they'll help with some of the time and space issues
2299
	  in the problem resolver.
2300
2301
	* src/generic/problemresolver/problemresolver.h:
2302
2303
	  Fix the generation of conflicts from forbiddings: if a -> b c
2304
	  and a was removed, an attempt to install b would generate a
2305
	  conflict against b rather than against a.
2306
2307
	* src/generic/problemresolver/problemresolver.h:
2308
2309
	  Fix an assertion failure: when re-processing a solution that's
2310
	  been forced, remember that the iteration over dependencies
2311
	  should be over the new solution's dependency set, not the old
2312
	  one's.
2313
2314
2005-08-25  Daniel Burrows  <dburrows@debian.org>
2315
2316
	* tests/test_apt_universe.cc:
2317
2318
	  Add more diagnostic information to the connectivity tester.
2319
2320
	* src/generic/apt.cc:
2321
2322
	  Fix the behavior of is_interesting_dep on reverse dependencies:
2323
	  they weren't being expanded to the surrounding OR, so the
2324
	  subsumption relation was wrong.
2325
2326
	* tests/test_apt_universe.cc:
2327
2328
	  Provide more specific information in failure messages for the
2329
	  connectivity test.
2330
2331
	* src/generic/aptitude_resolver_universe.cc:
2332
2333
	  Finally (I hope) fix the case of conflicts-through-provides in
2334
	  solved_by().  It passes the test now.
2335
2336
	* tests/test_apt_universe.cc:
2337
2338
	  Discard apt errors rather than spewing them out (is this a good
2339
	  idea?).
2340
2341
	* tests/test_apt_universe.cc:
2342
2343
	  Add a tester to verify that only interesting dependencies are
2344
	  produced by the various dependency iterators.
2345
2346
	* src/generic/aptitude_resolver_universe.cc:
2347
2348
	  Give in and strictly conform to the providedness rule (i.e.,
2349
	  dependencies that represent conflicts-through-provides are
2350
	  exactly tuned to a single Provides relationship).  It's not
2351
	  clear how to validate the reverse connectivity of the dependency
2352
	  graph without this change.
2353
2354
	* src/generic/aptitude_resolver_universe.cc:
2355
2356
	  Set 'provides_open' to true before calling applicable(), so that
2357
	  versioned reverse dependencies on a provided package are
2358
	  correctly handled.  Also, remove a bunch of redundant
2359
	  is_interesting_dep() calls.
2360
2361
	* src/generic/aptitude_resolver_universe.h:
2362
2363
	  When comparing dependencies, ignore the attached provides
2364
	  iterator unless the dependency is a conflict.  This solves
2365
	  problems caused by junk Provides iterators showing up when
2366
	  revdep_iterators that passed through a Provides were
2367
	  dereferenced.
2368
2369
	* tests/test_apt_universe.cc:
2370
2371
	  Fix the connectivity test to actually ignore stuff that fixes
2372
	  the dependency under consideration (doh).
2373
2374
	* tests/test_apt_universe.cc:
2375
2376
	  Right, take sources into account in the other branch (this code
2377
	  should probably be reorganized to be less brittle!).
2378
2379
	* tests/test_apt_universe.cc:
2380
2381
	  Instead of completely ceasing tests after a certain amount of
2382
	  time, just test the rest of the archive less aggressively.
2383
2384
	* tests/test_apt_universe.cc:
2385
2386
	  Arbitrarily limit testSolves() so that it terminates in a
2387
	  reasonable amount of time.
2388
2389
	* src/generic/aptitude_resolver_universe.cc:
2390
2391
	  Further fix handling of conflicts-through-provides in
2392
	  solved_by(): claim that any version not providing the conflicted
2393
	  package "solves" the conflict, for consistency with the
2394
	  solver_iterator class.
2395
2396
	* src/generic/aptitude_resolver_universe.cc:
2397
2398
	  Fix handling of conflicts-through-provides.
2399
2400
	* src/generic/aptitude_resolver_universe.cc:
2401
2402
	  Follow Provides in solved_by().
2403
2404
2005-08-24  Daniel Burrows  <dburrows@debian.org>
2405
2406
	* src/generic/aptitude_resolver_universe.cc:
2407
2408
	  Don't crash when an UNINST version is passed to solved_by().
2409
2410
	* tests/test_apt_universe.cc:
2411
2412
	  Handle dependency sources correctly when testing the solver
2413
	  graph.
2414
2415
	* tests/test_apt_universe.cc:
2416
2417
	  Generate more useful test failure messages.
2418
2419
	* tests/Makefile.am, tests/data:
2420
2421
	  Add some test data so I can have well-defined tests in the
2422
	  future.
2423
2424
	* src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h, src/generic/aptitude_resolver_universe.cc, src/generic/aptitude_resolver_universe.h, tests/test_apt_universe.cc:
2425
2426
	  Move the operator<< for aptitude_universe_dep objects to
2427
	  aptitude_resolver_universe, so stuff that just uses the universe
2428
	  (e.g., the test code) can avoid including the whole resolver.
2429
2430
	* tests/Makefile.am, tests/test_apt_universe.cc:
2431
2432
	  Add tests for the graph-structure of the apt universe
2433
	  translation layer.
2434
2435
	* src/generic/problemresolver/solution.h, tests/test_resolver.h:
2436
2437
	  Avoid crashing in test code by making the tester a friend of the
2438
	  solution and directly constructing solutions for the solution
2439
	  test (bypassing the sanity-checking public constructors).
2440
2441
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/solution.h, tests/test_resolver.h:
2442
2443
	  Massive refactoring of the problem resolver.  The solution
2444
	  abstraction is now much stronger: solutions can *only* be
2445
	  constructed as either a root node or a successor to an existing
2446
	  solution, and score calculation is handled in the constructor
2447
	  (actually a static factory function).
2448
2449
	  Instead of trying hard to not actually build solution objects,
2450
	  the main resolver now generates all solutions up-front; this
2451
	  introduces some new inefficiencies while removing others, but it
2452
	  does seem to have slightly slowed the program down.
2453
2454
	  Needless to say, separating solution generation from solution
2455
	  processing makes everything so much cleaner that it's not even
2456
	  funny.  Some errors may also been introduced that will need to
2457
	  be dealt with; actual testing is probably a good idea here.
2458
2459
2005-08-23  Daniel Burrows  <dburrows@debian.org>
2460
2461
	* src/generic/problemresolver/problemresolver.h:
2462
2463
	  Fix several obvious errors and inconsistencies in calculating
2464
	  solution scores.
2465
2466
	* src/generic/problemresolver/problemresolver.h:
2467
2468
	  Efficiency tweak: when comparing solutions by their contents,
2469
	  don't do a full lexicographical compare unless the two solutions
2470
	  have different sizes and different scores.  This moves
2471
	  lexicographical_compare from second place with 18% of the
2472
	  running time to ninth place with 2.47% of the running time.
2473
2474
2005-08-20  Daniel Burrows  <dburrows@debian.org>
2475
2476
	* src/generic/aptitude_resolver_universe.cc:
2477
2478
	  Fix the projection of conflicts-through-provides into the
2479
	  abstract universe: the gateway test should check that the
2480
	  current version provides the *target* of the Conflict, not the
2481
	  *source*.
2482
2483
	* src/generic/problemresolver/problemresolver.h:
2484
2485
	  Fix a silly error: of course when populating a partial conflict
2486
	  map, we shouldn't randomly stick the forbidden versions into it.
2487
2488
	* src/generic/matchers.cc:
2489
2490
	  Fix an uninitialized variable usage turned up by compiling with
2491
	  -O2.
2492
2493
	* src/generic/problemresolver/problemresolver.h:
2494
2495
	  Don't spew quite so much in debug mode when checking for
2496
	  conflicts, and add a note about how long the search took when it
2497
	  fails.
2498
2499
	* src/generic/problemresolver/problemresolver.h:
2500
2501
	  When checking whether a solution is irrelevant, also check
2502
	  whether it contains a known conflict.
2503
2504
	* src/generic/problemresolver/problemresolver.h:
2505
2506
	  Split the monstrosity of will_conflict into four routines.
2507
2508
	* src/generic/problemresolver/problemresolver.h:
2509
2510
	  Get everything compiling and sort of working.  Probably all
2511
	  sorts of stuff needs to be fixed up, though :-/.
2512
2513
2005-08-19  Daniel Burrows  <dburrows@debian.org>
2514
2515
	* src/generic/problemresolver/problemresolver.h:
2516
2517
	  Fix will_conflict (the previous definition was obviously wrong).
2518
2519
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/solution.h:
2520
2521
	  Add preliminary support for tracking logical conflicts within
2522
	  solutions.  This will eventually allow the elimination of some
2523
	  cases where the resolver currently goes exponential.
2524
2525
	* src/generic/problemresolver/problemresolver.h:
2526
2527
	  Improve debugging output (used to catch the below bug) and add
2528
	  early branching for user requests (should mean that if the user
2529
	  requests something impossible, we tell them ASAP).
2530
2531
	* src/generic/aptitude_resolver_universe.cc:
2532
2533
	  Fix solved_by(): it was returning "true" for most non-virtual
2534
	  Conflicts (whoops).
2535
2536
	* src/broken_indicator.cc:
2537
2538
	  Base the decision on whether to really update the broken
2539
	  indicator both on the actual generated solution and on whether
2540
	  the completed-state of the backend resolver changed.
2541
2542
	* src/generic/aptcache.cc:
2543
2544
	  Call selected_solution_changed() when we run out of solutions.
2545
2546
	* src/broken_indicator.cc:
2547
2548
	  When displaying the summary of the current number of broken
2549
	  packages, always show how many solutions have been generated so
2550
	  far; for instance, 1(2)/... .
2551
2552
	* src/generic/aptcache.cc, src/generic/aptcache.h:
2553
2554
	  Tell parties who are interested in the resolver that they should
2555
	  update themselves even if we only might have changed the
2556
	  open-endedness of the queue.
2557
2558
	* src/generic/problemresolver/problemresolver.h:
2559
2560
	  Always check the deferred queue before checking whether we've
2561
	  run out of solutions.
2562
2563
	* src/cmdline/cmdline_resolver.cc:
2564
2565
	  Fix the messages displayed when accepting a version, and
2566
	  actually accept it!
2567
2568
	* src/generic/aptitude_resolver_universe.cc, src/generic/aptitude_resolver_universe.h, src/generic/problemresolver/dummy_universe.cc, src/generic/problemresolver/dummy_universe.h, src/generic/problemresolver/problemresolver.h:
2569
2570
	  Redefine acceptedness of versions: instead of rejecting all
2571
	  other versions of the package (which is wrong anyway), accepting
2572
	  a version now discards any solution that *COULD* have picked
2573
	  that version but didn't.
2574
2575
2005-08-18  Daniel Burrows  <dburrows@debian.org>
2576
2577
	* doc/en/aptitude.xml:
2578
2579
	  Extend the tutorial on managing packages with notes about broken
2580
	  dependencies, and document the new styles corresponding to
2581
	  solutions.  Needs more work (but I've realized that the code is
2582
	  actually wrong now).
2583
2584
	* src/solution_fragment.cc:
2585
2586
	  Add a newline after each note about an unresolved
2587
	  recommendation.
2588
2589
	* src/solution_screen.cc:
2590
2591
	  Fix the text displayed for a 'story' in the curses interface
2592
	  when a package's removal is going to be cancelled.
2593
2594
	* doc/en/aptitude.xml:
2595
2596
	  Start updating the documentation for the next version: fix some
2597
	  comments in the tutorial, and fix some keystroke documentation.
2598
2599
2005-08-17  Daniel Burrows  <dburrows@debian.org>
2600
2601
	* src/generic/aptcache.cc, src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h:
2602
2603
	  Add support for adding an extra penalty to solutions that break
2604
	  a user hold or install a forbidden package version.
2605
2606
	* src/vscreen/vs_tree.cc:
2607
2608
	  Fix the bug that caused the screen to scroll pointlessly at the
2609
	  end of the list.
2610
2611
	* src/generic/problemresolver/problemresolver.h:
2612
2613
	  Check for unresolved hardened deps both when enqueuing solutions
2614
	  and when dequeuing them.
2615
2616
	* src/generic/problemresolver/problemresolver.h:
2617
2618
	  Fix breaks_hardened() to actually work.
2619
2620
	* src/solutions_screen.cc:
2621
2622
	  Use the new hardening/force-breaking stuff to allow users to
2623
	  manipulate solutions containing a broken recommendation.
2624
2625
	* src/generic/problemresolver/problemresolver.h:
2626
2627
	  Fix force_break() and unforce_break() to call reject_version()
2628
	  and unreject_version() rather than reject() and unreject().
2629
	  Fixes compilation.
2630
2631
	* src/generic/problemresolver/problemresolver.h, src/generic/aptcache.cc, src/generic/aptcache.h:
2632
2633
	  Add support for "hardening" soft dependencies; basically this
2634
	  functions like a rejection of the decision to leave the
2635
	  dependency unresolved.
2636
2637
	* src/solution_screen.cc:
2638
2639
	  Use an aptitude_universe::dep, not a pkgCache::DepIterator, to
2640
	  track unresolved soft deps.
2641
2642
	* src/vscreen/transcode.h:
2643
2644
	  Remove format_arg specifiers, they don't work and break
2645
	  compilation.
2646
2647
	* src/vscreen/transcode.h:
2648
2649
	  Add format_arg specifiers that are presently useless since gcc
2650
	  doesn't know about wide strings.
2651
2652
	* src/aptitude.h:
2653
2654
	  Add a format_arg attribute to P_.
2655
2656
	* src/solution_screen.cc:
2657
2658
	  Fix a bad parameter type turned up by the ssprintf attribute.
2659
2660
	* src/generic/util.h:
2661
2662
	  Add a formatting __attribute__ specifier to ssprintf (can't add
2663
	  one to swsprintf because gcc doesn't know about checking wide
2664
	  strings).
2665
2666
	* src/generic/aptcache.cc:
2667
2668
	  Penalize broken soft deps less than removals, and add some
2669
	  cautionary text about the danger of fiddling with the resolver
2670
	  settings.
2671
2672
	* src/cmdline/cmdline_resolver.cc:
2673
2674
	  In the 'story', make sure to insert the dep_text with %ls, not
2675
	  %s.
2676
2677
	* src/cmdline/cmdline_resolver.cc:
2678
2679
	  Add support for rejecting/accepting versions from the
2680
	  command-line.
2681
2682
	* src/solution_fragment.cc:
2683
2684
	  Silly compilation fix.
2685
2686
	* src/solution_fragment.cc, src/solution_fragment.h, src/solution_screen.cc:
2687
2688
	  Move archives() to solution_fragment and call it
2689
	  archives_text(); eliminate archives_fragment().  (probably this
2690
	  whole collection of routines should be pushed down to generic/)
2691
2692
	* src/generic/problemresolver/problemresolver.h, src/generic/aptcache.cc, src/generic/aptcache.h, src/solution_screen.cc:
2693
2694
	  Push the mandatory-version handling down into the generic
2695
	  problem resolver class.
2696
2697
	* doc/en/aptitude.xml:
2698
2699
	  Document SearchBack and that '\' is no longer ReSearch.
2700
2701
	* src/vscreen/vscreen.cc:
2702
2703
	  Fix the definition of ReSearch.
2704
2705
	* src/pkg_tree.cc:
2706
2707
	  Fix the initialization of last_search_backwards when incremental
2708
	  search is enabled.
2709
2710
	* src/vscreen/vs_tree.cc:
2711
2712
	  When directly setting the selection to a new tree location, make
2713
	  sure to expand the parents of the new selection first.
2714
2715
	* src/menu_redirect.h, src/pkg_tree.cc, src/pkg_tree.h, src/pkg_view.cc, src/ui.cc, src/ui.h, src/vscreen/vscreen.cc:
2716
2717
	  Add UI hooks to support reverse searching.  (Closes: #323239)
2718
2719
	* src/vscreen/vs_tree.cc, src/vscreen/vs_tree.h:
2720
2721
	  Add widget support (untested) for reverse searching.
2722
2723
	* src/solution_screen.cc:
2724
2725
	  Use the fragment subsystem to add text attributes to the story.
2726
2727
	* src/defaults.cc, src/solution_screen.cc:
2728
2729
	  Add support for switching between a 'solution' viewing mode and
2730
	  a 'story' viewing mode.
2731
2732
	* src/vscreen/vs_tree.cc:
2733
2734
	  Clean up line_up and line_down (NB: it's not quite clear that
2735
	  their behavior is identical) and rewrite set_selection so that
2736
	  it adjusts the top of the screen correctly, at the cost of a
2737
	  line_of call.
2738
2739
2005-08-16  Daniel Burrows  <dburrows@debian.org>
2740
2741
	* src/vscreen/vs_tree.cc:
2742
2743
	  Handle the case of the first element in a tree being
2744
	  unselectable in line_up().
2745
2746
	* src/solution_screen.cc:
2747
2748
	  Add and activate support for displaying a "story" in the visual
2749
	  interface (currently you can't switch between story and
2750
	  non-story mode, though).
2751
2752
	* src/cmdline/cmdline_resolver.cc, src/solution_fragment.cc, src/solution_fragment.h:
2753
2754
	  Change dep_fragment to dep_text, returning a wstring, not a
2755
	  fragment.
2756
2757
	* src/dep_item.cc, src/dep_item.h:
2758
2759
	  Expose the dep_item class to the world.
2760
2761
	* src/cmdline/cmdline_resolver.cc, src/generic/solution.h:
2762
2763
	  Move the by-id comparison functor to the solution class.
2764
2765
	* src/solution_screen.cc:
2766
2767
	  Add a class that describes an action instead of just presenting
2768
	  its associated version.
2769
2770
	* src/generic/problemresolver/dump_universe.h:
2771
2772
	  Indent soft dependencies the same way as hard dependencies.
2773
2774
	* src/generic/apt.cc:
2775
2776
	  Uh, yeah, recommends-important defaults to true.
2777
2778
	* src/generic/apt.cc:
2779
2780
	  Make recommends interesting iff Recommends-Important is true.
2781
2782
	* src/generic/aptcache.cc:
2783
2784
	  Discard any extant resolver when Recommends-Important changes.
2785
2786
	* src/generic/aptcache.cc:
2787
2788
	  Connect the mark-and-sweep signal to keep-suggests, not
2789
	  keep-important.
2790
2791
	* src/generic/apt.cc:
2792
2793
	  Fix the deletion of cached_deps_interesting on a cache reload,
2794
	  and set it up to also be deleted+reset when the
2795
	  Recommends-Important variable is modified.
2796
2797
	* src/generic/apt.cc:
2798
2799
	  Only treat currently satisfied recommendations as interesting if
2800
	  they belong to the current package version OR they subsume/are
2801
	  subsumed by a recommendation of the current version.
2802
2803
	* src/generic/apt.cc:
2804
2805
	  Fix subsumes(): when the first dependency used a >= comparison,
2806
	  it was checking for (> | <= | =) instead of (> | >= | =).  This
2807
	  resulted, unsurprisingly, in >= recommendations that hadn't even
2808
	  changed appearing as soft dependencies to the resolver.
2809
2810
	* src/generic/apt.cc:
2811
2812
	  Fix or_group_subsumes to not enter an infinite loop.
2813
2814
	* src/generic/aptcache.cc, src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver_universe.cc, src/generic/aptitude_resolver_universe.h:
2815
2816
	  Memoize calls to is_interesting_dep().  The major change caused
2817
	  by this is that objects in the aptitude_universe store
2818
	  backpointers to the universe, not the cache (because calls to
2819
	  is_interesting_dep need to go through the universe).
2820
2821
	  NB: is_interesting_dep could also be a global function in
2822
	  apt.cc; would it be useful there?
2823
2824
	* src/generic/aptitude_resolver_universe.cc:
2825
2826
	  Redefine is_interesting_dep in terms of "subsumption": a
2827
	  recommendation is now considered "interesting" iff it covers
2828
	  neither a subset nor a superset of the version space covered by
2829
	  a recommendation of the current version.
2830
2831
	* src/generic/aptitude_resolver_universe.cc, src/generic/aptitude_resolver_universe.h:
2832
2833
	  Make the is_interesting_dep function really be a static member
2834
	  of aptitude_universe, and move it into the .cc file.
2835
2836
	* src/generic/Makefile.am, src/generic/aptitude_resolver_universe.cc, src/generic/aptitude_resolver_universe.h:
2837
2838
	  Move most of the implementation of the resolver universe into a
2839
	  .cc file.
2840
2841
	* src/solution_screen.cc:
2842
2843
	  View unresolved recomendations in the solution tree too.
2844
	  Untested; I need to come up with a test case where recommends
2845
	  can't be satisfied.
2846
2847
	* src/solution_fragment.cc, src/solution_fragment.h:
2848
2849
	  Rename dep_targets_fragment to dep_targets; now it just
2850
	  generates a plain string (and is a candidate for being pushed
2851
	  down into the generic layer).
2852
2853
	* src/generic/aptcache.cc:
2854
2855
	  Slightly *reward* longer solutions, rather than slightly
2856
	  penalizing them.  Although this might produce lower-quality
2857
	  solutions, it has the effect of encouraging the resolver to
2858
	  focus on more "mature" lines of reasoning, rather than backing
2859
	  up and looking at alternatives first.
2860
2861
	* src/cmdline/cmdline_resolver.cc, src/solution_fragment.cc, src/solution_fragment.h:
2862
2863
	  Move some code for formatting information relevant to solutions
2864
	  into solution_fragment.cc, and use it to output a list of
2865
	  unresolved soft dependencies.
2866
2867
	* src/generic/problemresolver/problemresolver.h:
2868
2869
	  When looking for forced deps, leave soft deps with exactly one
2870
	  resolver alone instead of discarding them.
2871
2872
2005-08-15  Daniel Burrows  <dburrows@debian.org>
2873
2874
	* src/generic/problemresolver/problemresolver.h:
2875
2876
	  Add an assert to check that things remain sane.
2877
2878
	* src/generic/problemresolver/problemresolver.h:
2879
2880
	  Correct the calculation of the new score when choosing to leave
2881
	  a soft dependency unfixed.
2882
2883
	* tests/test_resolver.cc:
2884
2885
	  Correct the comparison of s1 and s2 (they should be equivalent).
2886
2887
	* src/generic/problemresolver/solution.h:
2888
2889
	  Uh, yeah, let's construct the set of unresolved soft deps by
2890
	  *inserting* elements instead of removing them, eh?
2891
2892
	* tests/test_resolver.cc:
2893
2894
	  Fix the solution test to not require an operator<.
2895
2896
	* src/generic/problemresolver/problemresolver.h:
2897
2898
	  Make the ResolverTest class a friend so it can test internals of
2899
	  the resolver.
2900
2901
	* src/generic/problemresolver/solution.h:
2902
2903
	  Keep the compiler from automatically generating an operator< for
2904
	  solutions (which fooled me on at least one occasion into using
2905
	  solutions as if they had a meaningful operator<).
2906
2907
	* tests/test_resolver.cc:
2908
2909
	  Fix several outright crashes in the solution test.
2910
2911
	* src/generic/problemresolver/test1.txt, src/generic/problemresolver/test3.txt:
2912
2913
	  Fix the test cases for the new solution formats.
2914
2915
	* tests/test_resolver.cc:
2916
2917
	  Add a test case for solution comparison; add more test cases to
2918
	  action comparison.
2919
2920
	* tests/Makefile.am, tests/test_resolver.cc:
2921
2922
	  Add a first iteration of a real test case for the resolver.
2923
2924
	* src/generic/problemresolver/dummy_universe.cc, src/generic/problemresolver/dummy_universe.h, src/generic/problemresolver/test.cc:
2925
2926
	  Move some of the universe parsing code to the dummy_universe
2927
	  interface file.  More to be done here.
2928
2929
	* src/generic/problemresolver/dummy_universe.h:
2930
2931
	  Add an interface for changing the current version of a package
2932
	  after the fact.
2933
2934
	* src/generic/problemresolver/Makefile.am, src/generic/problemresolver/dummy_universe.cc, src/generic/problemresolver/dummy_universe.h, src/generic/problemresolver/test.cc:
2935
2936
	  Split the dummy universe out of the resolver test program so
2937
	  that it can be used by other code.
2938
2939
	* src/generic/Makefile.am:
2940
2941
	  Add exceptions.h to Makefile.am.
2942
2943
	* src/generic/problemresolver/exceptions.h:
2944
2945
	  Make the problem resolver exceptions variants of Exception.
2946
2947
	* src/generic/Makefile.am, src/generic/exception.h:
2948
2949
	  Move the Exception class to the generic layer.
2950
2951
	* src/generic/problemresolver/problemresolver.h:
2952
2953
	  Fix comparison-by-contents of solutions so that the set of
2954
	  unresolved soft dependencies is taken into account; should fix
2955
	  the bug where the option of leaving a soft dependency unresolved
2956
	  was dismissed immediately.
2957
2958
	* src/generic/problemresolver/solution.h:
2959
2960
	  Write operator== and operator!= that obey the rule about action
2961
	  identities being based on the version installed.
2962
2963
	* src/generic/problemresolver/problemresolver.h:
2964
2965
	  Add missing conditionalization (only dump information about soft
2966
	  dependencies when debugging is enabled).
2967
2968
	* src/generic/problemresolver/solution.h:
2969
2970
	  Fix how unresolved soft dependencies are displayed when dumping
2971
	  a solution.
2972
2973
	* src/generic/aptitude_resolver_universe.h:
2974
2975
	  Make all critical deps and all recommends interesting.
2976
2977
2005-08-15 Miroslav Kure <kurem@upcase.inf.upol.cz>
2978
2979
	* General Czech translation update
2980
	
2981
2005-08-12  Daniel Burrows  <dburrows@debian.org>
2982
2983
	* src/generic/aptcache.cc, src/generic/aptitude_resolver_universe.h, src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h, src/generic/problemresolver/dump_universe.h, src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/solution.h, src/generic/problemresolver/test.cc:
2984
2985
	  Add basic support for "soft dependencies" (i.e., recommends) to
2986
	  the resolver.
2987
2988
	* src/generic/aptcache.cc:
2989
2990
	  Don't try so hard to avoid keeping or upgrading packages, try a
2991
	  little harder to preserve manual selections.
2992
2993
	* src/generic/aptitude_resolver.cc:
2994
2995
	  Make changes to automatically installed, automatically
2996
	  to-be-removed, or removed packages costless.  This fixes an
2997
	  exponential blowup caused by one-step-forward-two-steps-back
2998
	  tendencies in the resolver.
2999
3000
	* src/generic/problemresolver/problemresolver.h:
3001
3002
	  Add a counter to show (when debugging) how many steps the
3003
	  resolver took to converge on a solution.
3004
3005
2005-08-11  Daniel Burrows  <dburrows@debian.org>
3006
3007
	* src/solution_screen.cc:
3008
3009
	  Advance to the next element after selecting/rejecting an element
3010
	  in a solution.
3011
3012
	* src/generic/problemresolver/problemresolver.h, src/generic/aptcache.h, src/generic/aptcache.cc, src/solution_screen.cc:
3013
3014
	  The "I have too many forbids floating around" commit: change the
3015
	  API that lets the user entirely forbid the resolver from
3016
	  generating solutions containing a particular version so that it
3017
	  instead talks about "rejecting" such solutions.
3018
3019
	* src/cmdline/cmdline_action.cc:
3020
3021
	  Honor the Auto-Install option in the command-line layer.
3022
3023
	* src/generic/aptitude_resolver.cc, src/generic/problemresolver/problemresolver.h:
3024
3025
	  Add an option to enable or disable the elimination of "stupid
3026
	  pairs".
3027
3028
	* src/generic/problemresolver/problemresolver.h:
3029
3030
	  Only put destupidified solutions back on the open queue if they
3031
	  dropped versions (otherwise we just discard them because they're
3032
	  already on the closed queue).
3033
3034
	* src/generic/problemresolver/problemresolver.h:
3035
3036
	  Add a debug output line and an assert.
3037
3038
	* src/generic/problemresolver/problemresolver.h:
3039
3040
	  Drop stupid pairs that are eliminated from the table of stupid
3041
	  pairs.
3042
3043
	* src/cmdline/cmdline_resolver.cc:
3044
3045
	  Add support for viewing a solution in "action order".
3046
3047
	* src/solution_fragment.h:
3048
3049
	  Export archives_fragment.
3050
3051
	* src/ui.cc:
3052
3053
	  Trim unnecessary #includes here too.
3054
3055
	* src/solution_screen.cc:
3056
3057
	  Trim unnecessary includes here too.
3058
3059
	* src/solution_fragment.cc:
3060
3061
	  Don't #include problemresolver.h from here either.
3062
3063
	* src/solution_dialog.cc:
3064
3065
	  Trim back #includes further.
3066
3067
	* src/cmdline/cmdline_resolver.cc:
3068
3069
	  Trim back #includes of problemresolver stuff.
3070
3071
	* src/cmdline/cmdline_dump_resolver.cc:
3072
3073
	  Trim back the #includes of problemresolver stuff.
3074
3075
	* src/cmdline/cmdline_do_action.cc:
3076
3077
	  Remove an unnecessary #include.
3078
3079
	* src/broken_indicator.cc:
3080
3081
	  Trim back the #includes of problemresolver stuff to just the
3082
	  solution class.
3083
3084
	* src/generic/problemresolver/solution.h: 
3085
3086
	  Add #includes that are missing now that this file has been
3087
	  lifted out of problemresolver.h.
3088
3089
	* src/main.cc:
3090
3091
	  Only #include exceptions.h, not problemresolver.h.
3092
3093
	* src/generic/problemresolver/Makefile.am, src/generic/problemresolver/exceptions.h, src/generic/problemresolver/problemresolver.h:
3094
3095
	  Move the exceptions generated by the resolver to a separate
3096
	  file.
3097
3098
	* src/generic/problemresolver/Makefile.am, src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/solution.h:
3099
3100
	  Move the solution class to a separate file.
3101
3102
	* src/generic/Makefile.am, src/generic/aptitude_resolver.h, src/generic/aptitude_resolver_universe.h:
3103
3104
	  Push the aptitude resolver "universe" into a separate file.
3105
3106
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/test.cc:
3107
3108
	  Add an initial implementation of the stupid pair elimination
3109
	  algorithm.  This is a bit messy; some of the auxillary templated
3110
	  classes I introduced look to me like candidates for elimination
3111
	  or candidates to be moved to a more generic location.
3112
3113
2005-08-10  Daniel Burrows  <dburrows@debian.org>
3114
3115
	* src/generic/util.h, tests/test_misc.cc:
3116
3117
	  Add a generic routine to compare pairs without respect to order.
3118
3119
	* src/generic/problemresolver/model.tex:
3120
3121
	  Put both algorithms on one page.
3122
3123
	* src/generic/problemresolver/model.tex:
3124
3125
	  Fix LaTeX errors.
3126
3127
	* src/generic/problemresolver/model.tex:
3128
3129
	  Finish the correctness proof of the algorithm, start blathering
3130
	  about efficiency.
3131
3132
	* src/generic/problemresolver/model.tex:
3133
3134
	  Start describing how to eliminate "stupid pairs" from solutions,
3135
	  including a preliminary writeup of the algorithm to use.
3136
3137
2005-08-10  Clytie Siddall <clytie@riverland.net.au>
3138
3139
	* Update to Vietnamese translation. (Closes: #322276)
3140
	
3141
2005-08-09  Daniel Burrows  <dburrows@debian.org>
3142
3143
	* src/generic/problemresolver/problemresolver.h:
3144
3145
	  Add support for reading off dependencies and placing them in
3146
	  "story order".
3147
3148
	* src/defaults.cc, src/solution_fragment.cc:
3149
3150
	  Use the new methods to allow the user to interactively narrow
3151
	  the search for a solution.
3152
3153
	* src/generic/aptcache.cc, src/generic/aptcache.h:
3154
3155
	  Add hooks in the apt cache interface layer for manipulating
3156
	  forbidden versions.
3157
3158
	* src/generic/problemresolver/problemresolver.h:
3159
3160
	  Add initial support for user-forbidden versions.
3161
3162
	* src/solution_screen.cc:
3163
3164
	  Fix item highlighting.
3165
3166
	* src/vscreen/vs_tree.cc:
3167
3168
	  Include the highlight status in the style passed to
3169
	  vs_treeitem::paint().
3170
3171
	* src/solution_screen.cc:
3172
3173
	  Write a specialized treeitem class to represent the elements of
3174
	  a solution.
3175
3176
	* src/Makefile.am, src/solution_screen.cc, src/solution_screen.h, src/ui.cc:
3177
3178
	  Initial work towards a top-level solution examination screen.
3179
3180
	* src/pkg_info_screen.cc:
3181
3182
	  Remove a #include of vs_staticitem.
3183
3184
	* src/vscreen/vs_staticitem.h:
3185
3186
	  Further adjustment to vs_staticitem: tag() and label()
3187
	  should be non-const now.
3188
3189
	* src/vscreen/vs_staticitem.cc, src/vscreen/vs_staticitem.h:
3190
3191
	  Make vs_staticitem a concrete class.
3192
3193
	* src/vscreen/vscreen.cc:
3194
3195
	  When trapping KEY_RESIZE, check first that we have a
3196
	  KEY_CODE_YES event.
3197
3198
	* src/ui.cc:
3199
3200
	  If su-to-root fails, load selections from the file that we saved
3201
	  in order to become root (rather than immediately zapping it and
3202
	  forgetting all stored selections). (Closes: #281232)
3203
3204
	* src/vs_progress.cc:
3205
3206
	  Hide the progress bar in Done *after* triggering a screen
3207
	  update, and un-hide it in Update().  With this change, progress
3208
	  bars will be displayed across multiple Done() calls, but will
3209
	  hide themselves after the last Done() call.
3210
3211
2005-08-08  Daniel Burrows  <dburrows@debian.org>
3212
3213
	* src/ui.cc:
3214
3215
	  Redesign how the active preview and tree are handled: use the
3216
	  active preview for everything but actually building the tree; it
3217
	  particular, show and destroy it instead of the tree.  Fixes the
3218
	  problem where the preview tree disappeared from the preview
3219
	  screen, without crashing due to double-destroying the preview.
3220
3221
	* src/download_list.cc:
3222
3223
	  *Do* destroy the download list when the download is complete, so
3224
	  it disappears (it's safe: the only other way to destroy it is
3225
	  from the 'q' handler, which can't trigger once the list is
3226
	  destroyed).
3227
3228
	* src/ui.cc:
3229
3230
	  Don't redundantly delete the preview tree; fixes a segfault.
3231
3232
	* src/generic/matchers.cc, doc/en/aptitude.xml:
3233
3234
	  Add a "downgrade" action for use with ~a.
3235
3236
	* Makefile.am:
3237
3238
	  Distribute README.SMART-POINTERS.
3239
3240
	* src/vscreen/vs_label.cc, src/vscreen/vs_label.h:
3241
3242
	  Restore the old behavior of setting the background of the whole
3243
	  widget from the constructor of vs_label, not just the color of
3244
	  the actual text.
3245
3246
	* src/ui.cc:
3247
3248
	  Use sw?sprintf rather than a local w?snprintf in several spots.
3249
3250
	* src/vscreen/vs_util.cc:
3251
3252
	  Change an implementation signature of vs_dialog_fileview to
3253
	  match the corresponding interface signature (fixes an undefined
3254
	  reference at link time).
3255
3256
	* src/vscreen/vs_table.cc, src/vscreen/vs_table.h:
3257
3258
	  Fill in the missing focus_widget_bare routine.
3259
3260
	* src/ui.cc:
3261
3262
	  Pre-emptively weaken a bound reference.
3263
3264
	* src/view_changelog.cc:
3265
3266
	  Update the changelog viewer for refcounting.
3267
3268
	* src/vscreen/vs_pager.h:
3269
3270
	  Restore the default value for the "encoding" argument of the
3271
	  vs_file_pager constructors.
3272
3273
	* src/vscreen/vs_pager.h:
3274
3275
	  Make the vs_file_pager constructors protected, not private.
3276
3277
	* src/download_list.cc:
3278
3279
	  Fix the default second parameter to download_list::create.
3280
3281
	* src/ui.cc:
3282
3283
	  Many updates to ui.cc to bring it in line with the new
3284
	  interfaces and conventions.
3285
3286
	* src/dep_item.h:
3287
3288
	  Update pkg_dep_screen for the reference-counting protocol.
3289
3290
	* src/download_manager.cc:
3291
3292
	  Doh, set_widget isn't a constructor, don't write it like one.
3293
3294
	* src/download_manager.cc, src/download_manager.h:
3295
3296
	  Implement the constructors and set_widget in the .cc to avoid
3297
	  needing more includes.
3298
3299
	* src/vscreen/vscreen_widget.cc:
3300
3301
	  Go past silently doing nothing if a widget is destroyed twice;
3302
	  actually abort the program if this occurs.
3303
3304
	* src/vscreen/vs_menubar.cc, src/vscreen/vs_minibuf.cc, src/vscree/vs_stacked.cc, src/vscreen/vs_table.cc:
3305
3306
	  Make sure that we explicitly zero out the "owner" field of
3307
	  widgets that are removed from these containers.  This has the
3308
	  useful side effect of causing the Curses windows to be
3309
	  invalidated and hence making the assertion(!win) succeed.
3310
3311
	* src/vscreen/vs_radiogroup.cc:
3312
3313
	  Fix a thinko: when we're removing the last button in a radio
3314
	  group, of course there should be exactly ONE button in the
3315
	  group, not exactly ZERO.
3316
3317
	* src/vscreen/vs_table.cc:
3318
3319
	  Be more careful in handling iterators so that the table routines
3320
	  don't crash when the last widget is removed.
3321
3322
	* src/vscreen/vs_bin.cc, src/vscreen/vscreen_widget.cc, src/vscreen/vscreen_widget.h, src/vscreen/vs_menubar.cc, src/vscreen/vs_minibuf_win.cc, src/vscreen/vs_multiplex.cc, src/vscreen/vs_stacked.cc, src/vscreen/vs_table.cc:
3323
3324
	  Make sure that all containers destroy their contents in their
3325
	  own destroy() routines.  NB: since destroy() has a side effect
3326
	  of "remove me from my parent", the actual form of these routines
3327
	  may be a bit surprising!.
3328
3329
	* src/ui.cc, src/vscreen/testvscreen.cc, src/vscreen/vscreen.cc, src/vscreen/vscreen.h:
3330
3331
	  Update the handling of the top-level widget: you should now call
3332
	  vscreen_shutdown() when shutting the program down instead of
3333
	  rootwin.endwin(), which will destroy and drop the top-level
3334
	  widget; and you can retrieve the old top-level when setting up a
3335
	  new one (in fact, you must, in order to make sure that destroy()
3336
	  is called before deleting the pointer).
3337
3338
	* src/vscreen/vscreen_widget.cc:
3339
3340
	  Don't call destroy() from the destructor, and don't bother
3341
	  clearing out the signals in destroy() (the latter change could
3342
	  be reversed if I made it a requirement for ALL derived classes
3343
	  to clear ALL signal lists in destroy(), but I think that for the
3344
	  time being, I'll settle for requiring the widget to be
3345
	  disconnected from all events after destroy().
3346
3347
	  Incidentally, calling destroy() from the destructor was a truly
3348
	  awful idea -- not only is it a complex member function, it's
3349
	  virtual! [EDIT: doh, it wasn't being called from a destructor.
3350
	  Please ignore my stupidity]
3351
3352
	* src/vscreen/vs_radiogroup.cc:
3353
3354
	  Handle the case of removing the last button in a radio group.
3355
3356
	* src/vscreen/testvscreen.cc:
3357
3358
	  Close a memory leak reported by valgrind.
3359
3360
	* src/vscreen/vs_bin.cc, src/vscreen/vs_bin.h, src/vscreen/vscreen_widget.cc, src/vscreen/vscreen_widget.h, src/vscreen/vs_menubar.cc, src/vscreen/vs_menubar.h, src/vscreen/vs_minibuf_win.cc, src/vscreen/vs_minibuf_win.h, src/vscreen/vs_multiplex.cc, src/vscreen/vs_multiplex.h, src/vscreen/vs_stacked.cc, src/vscreen/vs_stacked.h, src/vscreen/vs_table.cc, src/vscreen/vs_table.h:
3361
3362
	  Create a new protocol for destroying widgets: a widget should
3363
	  destroy and disconnect all of its children immediately upon
3364
	  receiving destroy(), but the actual deletion of its instance
3365
	  might be deferred if strong references to it exist (for
3366
	  instance, if some information needs to be retrieved from it).
3367
3368
	  The test program runs and exits without errors now.
3369
3370
	* src/vscreen/vscreen_widget.cc:
3371
3372
	  Only assert that we lost our window if we had an owner: owned
3373
	  widgets are removed from their owners, which must invalidate the
3374
	  window, but unowned widgets can be the top-level widget and
3375
	  might still have a window when the program exits.
3376
3377
	* src/solution_dialog.cc, src/solution_dialog.h:
3378
3379
	  Update the solution dialog for refcounting.
3380
3381
	* src/pkg_view.cc, src/pkg_view.h:
3382
3383
	  Update the package view generation code for refcounting.
3384
3385
	* src/vscreen/ref_ptr.h:
3386
3387
	  Make the dynamic downcast take a target class, not a target
3388
	  class pointer, as its template argument.
3389
3390
	* src/pkg_ver_item.cc, src/pkg_ver_item.h:
3391
3392
	  Update pkg_ver_item for refcounting.
3393
3394
	* src/pkg_info_screen.h:
3395
3396
	  Update the pkg_info_screen signature for refcounting.
3397
3398
	* src/pkg_tree.cc, src/pkg_tree.h:
3399
3400
	  Update pkg_tree for refcounting.
3401
3402
	* src/edit_pkg_hier.h:
3403
3404
	  Whoops, make ::create() static.
3405
3406
	* src/pkg_item.cc:
3407
3408
	  Update the pkg_item implementation for refcounting.
3409
3410
	* src/edit_pkg_hier.h:
3411
3412
	  Update the vs_hier_editor class for the refcounting protocol.
3413
3414
	* src/vs_progress.cc, src/vs_progress.h:
3415
3416
	  Update the vs_progress class for the refcounting protocol.
3417
3418
	* src/download_bar.cc, src/download_bar.h:
3419
3420
	  Add missing size request implementations so the bar compiles.
3421
3422
	* src/download_list.cc, src/download_list.h:
3423
3424
	  Update the download list for refcounting.
3425
3426
	* src/download_bar.cc:
3427
3428
	  Make the constructor protected.
3429
3430
	* src/download_bar.cc:
3431
3432
	  Fix the download bar for the refcounting protocol.
3433
3434
	* src/download.cc:
3435
3436
	  Fix the download code for the refcounting protocol.
3437
3438
	* src/broken_indicator.cc, src/broken_indicator.h:
3439
3440
	  Fix the broken_indicator class to work in the presence of
3441
	  reference counting.
3442
3443
	* src/vscreen/vs_text_layout.h:
3444
3445
	  Constructors should be protected, not private.
3446
3447
	* src/apt_config_widgets.cc, src/apt_config_widgets.h, src/apt_options.cc, src/apt_options.h:
3448
3449
	  Convert the configuration <-> UI interface layer to use the
3450
	  reference-counting protocol (and, while I'm at it, stop using
3451
	  multiple inheritance here).
3452
3453
	* src/main.cc:
3454
3455
	  Use a counting reference for the initial progress bar.
3456
3457
	* README.SMART-POINTERS:
3458
3459
	  Add some documentation on the use of smart pointers in aptitude.
3460
3461
	* src/cmine/cmine.cc, src/cmine/cmine.h:
3462
3463
	  Fix the Minesweeper code for ref_ptrs.
3464
3465
	* src/ui.h:
3466
3467
	  Use ref_ptrs in interface routines.
3468
3469
	* src/vscreen/vs_editline.h:
3470
3471
	  Add missing "const" qualifier to a constructor reference
3472
	  argument.
3473
3474
	* src/vscreen/vs_util.cc, src/vscreen/vs_util.h:
3475
3476
	  Further reduce header interdependencies by forward-declaring the
3477
	  ref_ptr class.
3478
3479
	* src/vscreen/ref_ptr.h, src/vscreen/testvscreen.cc, src/vscreen/vs_bin.cc, src/vscreen/vs_bin.h, src/vscreen/vs_container.cc, src/vscreen/vs_container.h, src/vscreen/vs_frame.cc, src/vscreen/vs_menubar.cc, src/vscreen/vs_menubar.h, src/vscreen/vs_multiplex.cc, src/vscreen/vs_multiplex.h, src/vscreen/vs_radiogroup.cc, src/vscreen/vs_radiogroup.h, src/vscreen/vs_stacked.cc, src/vscreen/vs_stacked.h, src/vscreen/vs_table.cc, src/vscreen/vs_table.h, src/vscreen/vs_util.cc, src/vscreen/vs_util.h:
3480
3481
	  Binding references as slot arguments causes weird and painful
3482
	  problems.  Instead, use sigc++ weak references (sigc::ref);
3483
	  since I want to be able to easily connect signals to public
3484
	  methods, adopt the convention of providing a (non-virtual) _bare
3485
	  variant of methods that take a refcounted pointer as an
3486
	  argument; the variant accepts a reference to the underlying type
3487
	  and wraps it in a ref_ptr before handing it to the real method.
3488
3489
2005-08-06 Rubén Porras <nahoo@inicia.es>
3490
3491
	* updated po/es.po
3492
3493
	* fixed Last-Translator field in po/vi.po
3494
3495
	* regenerate po/aptitude.pot and po files.
3496
	
3497
2005-08-06 Erçin EKER <erc.caldera@gmx.net>
3498
3499
	* updated po/tr.po
3500
3501
	* new help-tr.txt
3502
	
3503
2005-08-06  Daniel Burrows  <dburrows@debian.org>
3504
3505
	* src/vscreen/fragment.cc:
3506
3507
	  Fix an access-past-end-of-string discovered by valgrind.
3508
3509
	* src/vscreen/testvscreen.cc, src/vscreen/vs_bin.cc, src/vscreen/vs_bin.h, src/vscreen/vs_button.h, src/vscreen/vs_center.cc, src/vscreen/vs_center.h, src/vscreen/vs_container.cc, src/vscreen/vs_container.h, src/vscreen/vscreen.cc, src/vscreen/vscreen.h, src/vscreen/vscreen_widget.cc, src/vscreen/vscreen_widget.h, src/vscreen/vs_editline.cc, src/vscreen/vs_editline.h, src/vscreen/vs_frame.cc, src/vscreen/vs_frame.h, src/vscreen/vs_label.cc, src/vscreen/vs_label.h, src/vscreen/vs_menubar.cc, src/vscreen/vs_menubar.h, src/vscreen/vs_menu.h, src/vscreen/vs_minibuf_win.cc, src/vscreen/vs_minibuf_win.h, src/vscreen/vs_multiplex.cc, src/vscreen/vs_multiplex.h, src/vscreen/vs_pager.h, src/vscreen/vs_passthrough.cc, src/vscreen/vs_passthrough.h, src/vscreen/vs_radiogroup.cc, src/vscreen/vs_radiogroup.h, src/vscreen/vs_scrollbar.h, src/vscreen/vs_size_box.cc, src/vscreen/vs_size_box.h, src/vscreen/vs_stacked.cc, src/vscreen/vs_stacked.h, src/vscreen/vs_statuschoice.h, src/vscreen/vs_table.cc, src/vscreen/vs_table.h, src/vscreen/vs_text_layout.h, src/vscreen/vs_togglebutton.h, src/vscreen/vs_transient.cc, src/vscreen/vs_transient.h, src/vscreen/vs_tree.h, src/vscreen/vs_util.cc, src/vscreen/vs_util.h, src/vscreen/ref_ptr.h:
3510
3511
	  Convert the vscreen code over to using reference-counted
3512
	  pointers for inter-object references.  This is a sensible thing
3513
	  to do since widgets form a tree -- normally you'll just see a
3514
	  widget's owner holding onto references to it (but in special
3515
	  cases some other references could exist).
3516
3517
	  This change breaks everything.  Whee!
3518
3519
	* src/vscreen/vscreen_widget.cc:
3520
3521
	  Fix a gaping bug and memory leak that only just came to my
3522
	  attention.  Stuff that was destroyed wasn't being deleted!
3523
	  Apparently I commented the code that did the deletion out while
3524
	  debugging and never reinstated it.  Doh!
3525
3526
	* src/ui.cc:
3527
3528
	  Really set the global apt error dialog to NULL when it is
3529
	  destroyed.  Should fix the problem where the apt error dialog
3530
	  only appears once...not to mention any weird memory corruption
3531
	  bugs caused by this.
3532
3533
	* src/pkg_tree.cc:
3534
3535
	  Fix the invocation of parse_pattern so it doesn't flag errors
3536
	  (restoring the past behavior).
3537
3538
	* src/generic/matchers.cc:
3539
3540
	  Change the 'keep' matcher to detect ANY package that no action
3541
	  is being performed on, including not-installed packages.
3542
3543
	* src/generic/matchers.cc:
3544
3545
	  Fix the behavior of NOT when match results are being stored.
3546
3547
	* src/generic/aptcache.cc:
3548
3549
	  Only write the target version if the user actually planned to
3550
	  install it; only set up an installation if the user requested it
3551
	  previously (i.e., the Upgrade field was written).
3552
3553
	* src/pkg_item.cc, src/pkg_ver_item.cc, src/ui.cc:
3554
3555
	  Always destroy progress bars when we're done with them, so they
3556
	  don't leak and hang around taking up space (in the past they
3557
	  just leaked silently, but now they also make stuff look bad!)
3558
3559
	* src/vscreen/vscreen.cc, src/vscreen/vscreen.h, src/vscreen/vscreen_widget.h:
3560
3561
	  Explicitly reset SIGCONT and SIGTSTP to SIG_DFL in
3562
	  vscreen_suspend and restore them in vscreen_resume.  If you
3563
	  don't want to reset the signals for some reason, you can use
3564
	  vscreen_suspend_without_signals().  (Closes: #137311, #169479)
3565
3566
2005-08-05  Daniel Burrows  <dburrows@debian.org>
3567
3568
	* src/generic/aptcache.cc:
3569
3570
	  Always save the version to be installed, so long as it's a
3571
	  change from the current version but not the same as the default
3572
	  candidate version.  This should handle the problem that the
3573
	  version to install isn't saved in a reasonably intuitive way.
3574
	  (Closes: #158771)
3575
3576
	* src/ui.cc:
3577
3578
	  Add canned views to display a flat package list and to display a
3579
	  debtags browser.
3580
3581
	* src/cmdline/cmdline_show.cc, src/desc_parse.cc, src/desc_parse.h, src/pkg_info_screen.cc, src/pkg_view.cc:
3582
3583
	  Show package tags right after the description everywhere that
3584
	  it's appropriate.
3585
3586
	* src/load_grouppolicy.cc:
3587
3588
	  Parse empty policies without crashing.
3589
3590
	* doc/en/aptitude.xml, src/load_grouppolicy.cc, src/pkg_grouppolicy.cc, src/pkg_grouppolicy.h:
3591
3592
	  Add support for grouping packages using debtags information.
3593
3594
	* src/generic/tags.cc, src/generic/tags.h:
3595
3596
	  Add code to load in the tag vocabulary database.
3597
3598
	* src/download.cc:
3599
3600
	  Apply Michael Vogt's patch for apt status reporting.
3601
3602
2005-08-04  Daniel Burrows  <dburrows@debian.org>
3603
3604
	* doc/en/aptitude.xml, src/generic/matchers.cc, src/generic/matchers.h:
3605
3606
	  Make the matching language whitespace-insensitive: to include
3607
	  literal whitespace, you must now place it between double quotes
3608
	  or tilde-escape it.
3609
3610
	* src/generic/matchers.h, src/load_grouppolicy.cc, src/pkg_grouppolicy.h:
3611
3612
	  Total rewrite of the load_grouppolicy code, and a few interface
3613
	  changes to accomodate it.  Instead of assuming a fully regular
3614
	  syntax and splitting grouping declarations up-front,
3615
	  load_grouppolicy now works by chaining parsers together, where
3616
	  each parser implicitly pulls its text off as a side effect.
3617
	  This will make nested policies feasible; it also means that the
3618
	  pattern grouping policy should now work correctly even in the
3619
	  presence of things like parentheses within the pattern.
3620
3621
	* src/generic/matchers.cc, src/generic/matchers.h:
3622
3623
	  Change the parse_pattern interface again (and make it less
3624
	  efficient) in order to allow arbitrary (possibly
3625
	  multi-character) strings to be used as terminators.  In
3626
	  particular, this will mean I can get the patterns grouping
3627
	  policy (with its "=>" delimiter) working properly without
3628
	  comprimising on the syntax.
3629
3630
	* src/generic/util.cc, src/generic/util.h:
3631
3632
	  Write generic (inefficient) code to produce string objects
3633
	  from formatting codes (like printf).
3634
3635
2005-08-02  Daniel Burrows  <dburrows@debian.org>
3636
3637
	* src/generic/matchers.cc, src/generic/matchers.h:
3638
3639
	  Make the parser more generic: you can pass in a set of
3640
	  characters that should terminate the match if they are
3641
	  encountered at the top syntactic level.  The loader will use
3642
	  this (but doesn't yet) to safely split its arguments.
3643
3644
2005-07-27  Daniel Burrows  <dburrows@debian.org>
3645
3646
	* src/generic/matchers.cc, src/generic/matchers.h:
3647
3648
	  Change the external and internal interfaces to use iterators
3649
	  rather than passing in a string and directly indexing into it.
3650
	  The start iterator is modified as a side-effect, which should
3651
	  eventually allow continuation-based parsing (i.e., just parse
3652
	  the first thing that looks like a match term and then stop).  I
3653
	  might need to think more about just how this will work, though.
3654
3655
2005-07-26  Daniel Burrows  <dburrows@debian.org>
3656
3657
	* tests/Makefile.am, tests/test_misc.cc:
3658
3659
	  Add a file for tests that don't belong elsewhere.
3660
3661
	* tests/Makefile.am, tests/test_tags.cc:
3662
3663
	  Update the source to compile with the lifted suites.
3664
3665
	* configure.ac, Makefile.am, src/generic/Makefile.am, src/generic/tests/, tests/:
3666
3667
	  Move the test suites up to the top level.
3668
3669
2005-07-25  Daniel Burrows  <dburrows@debian.org>
3670
3671
	* src/pkg_grouppolicy.cc:
3672
3673
	  In the custom pattern-based grouping policy, stop checking
3674
	  patterns after the first match.
3675
3676
	* src/pkg_grouppolicy.cc:
3677
3678
	  In the custom pattern-based grouping policy, when creating a new
3679
	  subtree of the current tree, make sure to actually add the
3680
	  object that triggered the creation of the subtree to the new
3681
	  subtree.
3682
3683
	* src/generic/tasks.cc:
3684
3685
	  For some reason, pkgTagSection.Scan() requires one more than the
3686
	  length of the section to work properly.  Either that or GetRec
3687
	  returns an inclusive range.  Either way, parsing tags from the
3688
	  Packages file should work now.
3689
3690
	* src/generic/tags.cc, src/generic/tags.h, src/generic/tests/test_tags.cc:
3691
3692
	  Keep a local copy of the data for each tag and tag list.
3693
	  Without this, all sorts of hell breaks loose due to stuff being
3694
	  deleted at bad times (doh).
3695
3696
	* src/generic/tags.cc:
3697
3698
	  Fix the tag list parser so it doesn't routinely skip the first
3699
	  tag out of a list of tags.  All tests pass now!
3700
3701
	* src/generic/tests/test_tags.cc:
3702
3703
	  Fix a reversed-sense test (we want to test a<b and b>a,
3704
	  not a<b and a>b).
3705
3706
	* src/generic/tags.h:
3707
3708
	  Fix the breakage in the comparison operators.
3709
3710
	* src/generic/tests/test_tags.cc:
3711
3712
	  Add specialized test forms for comparison tests.
3713
3714
	* src/generic/tags.cc:
3715
3716
	  Fix an incorrect bounds-check (I tested an iterator on the
3717
	  container "other" against the end() of "this").  Clears up
3718
	  another failing test case. :-)
3719
3720
	* src/generic/tags.cc:
3721
3722
	  Strip whitespace from the front and back of tags upon
3723
	  construction.
3724
3725
	* src/generic/tests/test_tags.cc:
3726
3727
	  Add an operator<< implementation to write tags directly
3728
	  for debug messages.
3729
3730
	* src/generic/tests/test_tags.cc:
3731
3732
	  Use ASSERT_EQUAL instead of ASSERT for equality-based tests; I
3733
	  hope that this prints more useful assertion-failure messages.
3734
3735
	* src/generic/tests/main.cc:
3736
3737
	  As I suspected, the return value of runner.run() was reversed;
3738
	  fix it so the test harness actually reports errors to its
3739
	  caller.
3740
3741
	* src/generic/tests/Makefile.am:
3742
3743
	  Run the tests on "make check".
3744
3745
	* src/generic/tests/test_tags.cc:
3746
3747
	  Test the tag parser more exhaustively.
3748
3749
	* doc/en/aptitude.xml, src/generic/matchers.cc:
3750
3751
	  Add a tag matcher, to match against the new Tags field.
3752
	  Currently it's broken, but it's a start.
3753
	  (Closes: #243830)
3754
3755
	* src/generic/tags.h:
3756
3757
	  Add a routine to retrieve the plain text of a single tag.
3758
3759
	* src/cmdline/cmdline_changelog.cc:
3760
3761
	  Add heuristics to guess where the changelog of a package that we
3762
	  don't have direct information about /might/ be; i.e., to allow
3763
	  fetching changelogs of packages that aren't referenced from
3764
	  sources.list.
3765
3766
	* src/generic/pkg_changelog.cc:
3767
3768
	  It's no longer necessary to look up the source package in
3769
	  pkg_changelog_form_source, so don't.
3770
3771
	* src/generic/pkg_changelog.cc:
3772
3773
	  Don't crash if an end version iterator is passed into
3774
	  get_changelog.
3775
3776
	* doc/en/manpage.xml, src/cmdline/cmdline_changelog.cc, src/generic/pkg_changelog.cc, src/generic/pkg_changelog.h:
3777
3778
	  Let the user pass source packages as well as binary packages
3779
	  into the "changelog" command-line action.
3780
3781
	* src/cmdline/cmdline_changelog.cc, src/generic/pkg_changelog.cc, src/generic/pkg_changelog.h:
3782
3783
	  Add the ability to find changelog based on the source package
3784
	  name as well as an iterator to a binary package version.  Also
3785
	  eliminated the hardcoded default for PulseInterval and changed
3786
	  the invocation of pkg_changelog in cmdline_changelog.cc
3787
	  accordingly.
3788
3789
	* src/pkg_grouppolicy.cc:
3790
3791
	  Patch up a memory leak in the matchers grouping policy.
3792
3793
	* doc/en/aptitude.xml, src/load_grouppolicy.cc, src/pkg_grouppolicy.cc, src/pkg_grouppolicy.h, src/pkg_tree.cc, src/ui.cc:
3794
3795
	  Do something like the "missing" filter in pkg_tree itself.
3796
	  Handle patterns in the filter class now, but for backwards
3797
	  compatibility, interpret the literal string "missing" as a NOP.
3798
3799
	* doc/en/aptitude.xml, src/load_grouppolicy.cc, src/pkg_grouppolicy.cc, src/pkg_grouppolicy.h, src/generic/Makefile.am, src/generic/util.cc, src/generic/util.h:
3800
3801
	  Add a "patterns" grouping policy and start a long-overdue
3802
	  collection of generic utility routines to kill off some of my
3803
	  duplication of code. (Closes: #156065)
3804
3805
	* src/generic/matchers.cc:
3806
3807
	  Match anything with an empty pattern.
3808
3809
2005-07-24 Clytie Siddall <clytie@riverland.net.au>
3810
3811
	* Updated Vietnamese translation
3812
	  Closes: #319702
3813
3814
2005-07-24  Daniel Burrows  <dburrows@debian.org>
3815
3816
	* doc/en/aptitude.xml:
3817
3818
	  Fix the formatting of the %# documentation and change the
3819
	  dangling secStyles reference to refer to secStyle.
3820
3821
2005-07-23  Daniel Burrows  <dburrows@debian.org>
3822
3823
	* doc/en/aptitude.xml, src/cmdline/cmdline_search.cc, src/pkg_columnizer.cc, src/pkg_item_width_subtree.h, src/vscreen/config/column_definitions.cc, src/vscreen/config/column_definitions.h:
3824
3825
	  Add support for parametric column formatting.
3826
3827
	* src/generic/matchers.cc, src/generic/matchers.h:
3828
3829
	  Move implementation of ~pkg_matcher to the .cc file,
3830
	  mark get_match in pkg_matcher as abstract; give get_match
3831
	  in pkg_task_matcher the correct signature to implement
3832
	  the abstract interface.
3833
3834
	* src/generic/matchers.cc, src/generic/matchers.h:
3835
3836
	  Add support for retrieving a string corresponding to a match.
3837
3838
2005-07-22  Daniel Burrows  <dburrows@debian.org>
3839
3840
	* doc/en/aptitude.xml:
3841
3842
	  Fix the Python tribute (thanks to Andy G. Wood for pointing this
3843
	  out).
3844
3845
2005-07-21  Daniel Burrows  <dburrows@debian.org>
3846
3847
	* configure.ac, src/generic/Makefile.am, src/generic/tests/Makefile.am, src/generic/tests/main.cc, src/generic/tests/test_tags.cc:
3848
3849
	  Add some basic magic to generate a unit tester with cppunit.
3850
3851
	* src/generic/Makefile.am, src/generic/apt.cc, src/generic/tags.cc, src/generic/tags.h:
3852
3853
	  Add backend support for parsing the new tag database.
3854
3855
	* src/generic/tasks.cc, src/generic/apt.h:
3856
3857
	  Lift the stuff to order versions by their file location
3858
	  into apt.h so other modules can use it.
3859
3860
2005-07-12 Jean-Luc Coulon  <jean-luc.coulon@wanadoo.fr>
3861
3862
	* Completed French translation. Closes: #318906
3863
	
3864
2005-07-19 Sorin Batariuc <sorin@bonbon.net>
3865
3866
	* Updated romanian translation. Closes #318947 
3867
3868
2005-07-16 Rubén Porras <nahoo@inicia.es>
3869
3870
	* Fix po/aptitude.pot and po files. Last time I forgot to add
3871
	  --keyword=P_ to xgettext.
3872
3873
	* Fix redundancy in displayed string. Thanks to Jacobo Tarrio
3874
	  <jtarrio@trasno.net>. Closes #318396
3875
3876
2005-07-16 Morten Bo Johansen <mojo@gatsby.mbjnet.dk>
3877
	
3878
	* Updated danish translation. Closes #317824 
3879
	
3880
2005-07-15 Rubén Porras <nahoo@inicia.es>
3881
3882
	* Add comments for tranlators to src/pkg_ver_item.cc and
3883
	  src/pkg_columnizer.cc
3884
3885
	* Regenerated po/aptitude.pot and all po files
3886
3887
	* Updated spanish translation
3888
3889
	* Now we need to add --add-comments=ForTranslators to xgettext
3890
	  command line to generate the aptitude.pot with comments.
3891
	  NOTE: the full command is 
3892
	  xgettext --keyword=_ --keyword=P_ --keyword=N_ 
3893
	  --add-comments=ForTranslators -o po/aptitude.pot -f po/POTFILES.in
3894
	  
3895
3896
2005-07-13  Daniel Burrows  <dburrows@debian.org>
3897
3898
	* doc/en/aptitude.xml:
3899
3900
	  Remove an obsolete reference to Aptitude::UI::Colors.
3901
3902
	* doc/en/manpage.xml, src/cmdline/cmdline_do_action.cc, src/cmdline/cmdline_do_action.h, src/cmdline/cmdline_upgrade.cc, src/cmdline/cmdline_upgrade.h, src/main.cc:
3903
3904
	  Add basic support for writing commands to the selection database
3905
	  without actually executing them.  (NB: this may do bad things in
3906
	  corner cases, like selecting particular versions)
3907
3908
	  (Closes: #312249)
3909
3910
	* doc/en/aptitude.xml, src/cmdline/cmdline_do_action.cc, src/main.cc:
3911
3912
	  Add support for "keep" and "keep-all" commands; the former
3913
	  cancels actions on a single package, while the latter cancels
3914
	  all currently contemplated actions.  (Closes: #312923)
3915
3916
2005-07-12 Jean-Luc Coulon  <jean-luc.coulon@wanadoo.fr>
3917
3918
	* Updated French translation (sent through the French mailing list)
3919
	
3920
2005-07-11  Daniel Burrows  <dburrows@debian.org>
3921
3922
	* src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h:
3923
3924
	  Remove some no-longer-necessary debug code.
3925
3926
	* src/generic/aptitude_resolver.h:
3927
3928
	  When leaving a Provides list while iterating over broken deps,
3929
	  make sure to explicitly set the variable indicating whether the
3930
	  list is open or not to "false" (oops!).  The other pieces of
3931
	  code that use the prv_open pattern seem to handle it correctly.
3932
3933
	* src/pkg_grouppolicy.cc, src/pkg_grouppolicy.h:
3934
3935
	  Add missing virtual destructor for pkg_grouppolicy_factory.
3936
3937
	* src/generic/strhash.h:
3938
3939
	  Add a missing "template <>".
3940
3941
	* src/generic/problemresolver/problemresolver.h:
3942
3943
	  Remove a never-used method that referred to a nonexistant
3944
	  variable.
3945
3946
2005-07-10  Daniel Burrows  <dburrows@debian.org>
3947
3948
	* src/generic/problemresolver/test.cc:
3949
3950
	  Disable dumping the world in the test code by default, but let
3951
	  the user enable it with --dump.
3952
3953
	* doc/en/aptitude.xml:
3954
3955
	  Correct the documentation of the default binding of DumpResolver
3956
	  (it was originally F6, which was a bad idea for obvious reasons,
3957
	  but I apparently changed it to '*' and forgot to change the
3958
	  docs).
3959
3960
2005-07-10 Clytie Siddall <clytie@riverland.net.au>
3961
3962
	* Updated Vietnamese translation
3963
	  Closes: #317629
3964
	
3965
2005-07-07  Daniel Burrows  <dburrows@debian.org>
3966
3967
	* src/cmine.cc, src/ui.cc:
3968
3969
	  Use the new support to add search repetition capabilities to all
3970
	  dialogs. (Closes: #270699)
3971
3972
	* src/vscreen/vs_util.cc, src/vscreen/vs_util.h:
3973
3974
	  Also add support for binding up a callback for the 'ReSearch'
3975
	  keystroke.
3976
3977
	* src/reason_fragment.cc:
3978
3979
	  Remove a no longer necessary %S escape.
3980
3981
	* src/view_changelog.cc:
3982
3983
	  Add support for searching for text in the changelog viewer.
3984
3985
2005-07-05 Rubén Porras <nahoo@inicia.es>
3986
3987
	* New spanish help file help-es.txt
3988
	
3989
2005-07-07 Jean-Luc Coulon <jean-luc.coulon@wanadoo.fr>
3990
3991
	* Updated French translation (still to be completed)
3992
	
3993
2005-07-06  Daniel Burrows  <dburrows@debian.org>
3994
3995
	* src/ui.cc:
3996
3997
	  Delete a no-longer-needed reference to a style name.
3998
3999
	* src/vscreen/fragment.cc:
4000
4001
	  Actually recognize the %S escape.
4002
4003
	* src/vscreen/vs_pager.cc:
4004
4005
	  Fix a number of corner cases involving negative widths and
4006
	  unprintable characters.  (Closes: #317115)
4007
4008
	* src/cmdline/cmdline_show.cc:
4009
4010
	  Fix output of wide characters. (Closes: #317115)
4011
4012
2005-07-05 Rubén Porras <nahoo@inicia.es>
4013
4014
	* Convert to UTF8 the following files:
4015
	  help-zh_CN.txt
4016
	  help-ja.txt
4017
	  help-fi.txt
4018
	  help-cs.txt
4019
	  help-gl.txt
4020
	  help-fr.txt
4021
	  help-pl.txt
4022
	  help-pt_BR.txt
4023
	
4024
2005-07-05 Jaakko Kangasharju <ashar@iki.fi>
4025
4026
	* Complete Finnish translation for Aptitude. After adding the
4027
	  relevants patches from #316225 (the ones modifing debian'n dir
4028
	  in aptitude-fi.patch.gz) we can close this bug.
4029
	
4030
2005-07-05 Clytie Siddall <clytie@riverland.net.au>
4031
4032
	* Updated Vietnamese translation
4033
	  Closes: #316994
4034
	
4035
2005-07-05  Daniel Burrows  <dburrows@debian.org>
4036
4037
	* src/cmdline/cmdline_resolver.cc:
4038
4039
	  Display information about what went wrong when there's a problem
4040
	  writing out a resolver dump.
4041
4042
	* src/generic/aptitude_resolver.h:
4043
4044
	  Don't abort when trying to dump a package that has only one
4045
	  version.  (doh, 0 is a valid index!)
4046
4047
	* doc/en/aptitude.xml:
4048
4049
	  Fix several typos pointed out by Miroslav Kure.
4050
4051
	* src/cmdline/cmdline_progress.cc:
4052
4053
	  Calculate the screen width correctly: I suspect that there is an
4054
	  off-by-one error in the progress bar that the
4055
	  update_screen_width function originally compensated for.
4056
4057
	* src/cmdline/cmdline_search.cc:
4058
4059
	  Fix a minor race condition that could have resulted in "search"
4060
	  not obeying the -w (width) option if the terminal was resized
4061
	  during a search.
4062
4063
	* src/cmdline/cmdline_search.cc:
4064
4065
	  Fix "search" output. (Retroactively Closes: #317115)
4066
4067
2005-07-05 Rubén Porras <nahoo@inicia>
4068
	
4069
	* Updated spanish translation
4070
	
4071
2005-07-04  Daniel Burrows  <dburrows@debian.org>
4072
4073
	* NEWS, README, doc/en/aptitude.xml:
4074
4075
	  Bump version to 0.3.3.
4076
4077
	* doc/en/aptitude.xml:
4078
4079
	  Correct the documentation of several configuration options that
4080
	  had been invalidated by changes to the program.
4081
4082
	* src/download.cc, src/view_changelog.cc:
4083
4084
	  Decrease the polling rate of downloads.  Again.
4085
4086
	* doc/aptitude.css:
4087
4088
	  Various tweaks to make the generated documentation a bit
4089
	  nicer-looking (maybe too fancy in some places, though?).
4090
4091
	* doc/aptitude.css, doc/aptitude-common.xsl:
4092
4093
	  Update the stylesheets: shade.verbatim is deprecated, so I've
4094
	  moved those configuration parameters into CSS.
4095
4096
	* doc/en/aptitude.xml:
4097
4098
	  Replace the documentation dealing with color configuration with
4099
	  documentation addressing style configuration.
4100
4101
	* src/load_config.cc:
4102
4103
	  Pass Value to parse_color, not Tag; setting colors in the
4104
	  configuration file now works.
4105
4106
	* src/load_config.cc:
4107
4108
	  Don't go into an infinite loop trying to parse text attributes.
4109
4110
2005-07-03  Daniel Burrows  <dburrows@debian.org>
4111
4112
	* src/generic/pkg_changelog.cc, src/generic/pkg_changelog.h, src/view_changelog.cc:
4113
4114
	  Update more frequently when downloading changelogs, too.
4115
4116
	* doc/en/aptitude.xml, src/download.cc:
4117
4118
	  Drop the frequency of screen updates by an order of magnitude,
4119
	  to quit hogging the CPU.
4120
4121
	* src/mine/cmine.cc:
4122
4123
	  Add and use support for adjusting the coloration of uncovered
4124
	  squares according to how many bombs adjoin them.  Make detonated
4125
	  mines bright red too.
4126
4127
	* src/mine/cmine.cc:
4128
4129
	  In the new-game dialog, connect the Confirm binding with
4130
	  connect_key_post so that it doesn't override pressing Enter on
4131
	  the Cancel button.
4132
4133
	* src/mine/cmine.cc:
4134
4135
	  Fix the location of the right-hand border, and add some more
4136
	  color customization possibilities.
4137
4138
	* src/main.cc:
4139
4140
	  Don't complain loudly about invalid encodings; just generate
4141
	  output with the offending characters replaced by '?'.
4142
4143
	* src/vscreen/vs_pager.cc:
4144
4145
	  Actually support wide characters in the pager: calculate
4146
	  widths correctly and use wide character output routines
4147
	  (so characters don't get randomly degraded to ASCII..oops!)
4148
4149
	* README.i18n:
4150
4151
	  Document the existence of encoding translations.
4152
4153
	* src/mine/cmine.cc:
4154
4155
	  Allow the encoding of mine-help.txt to be specified, and
4156
	  be robust against it missing.
4157
4158
	* src/ui.cc:
4159
4160
	  Also allow the encoding of README to be specified.
4161
4162
	* po/Makefile.in.in:
4163
4164
	  Rebuild po/Makefile if po/Makevars changes.
4165
4166
	* po/Makevars:
4167
4168
	  Recognize P_() as a gettext marker.
4169
4170
	* src/ui.cc:
4171
4172
	  Fix various places in the ui glue code to handle the new pager
4173
	  API.
4174
4175
	* src/vscreen/vs_pager.cc, src/vscreen/vs_pager.h:
4176
4177
	  Allow the encoding to be specified when a vs_pager is created
4178
	  with a pre-loaded file (oops).
4179
4180
	* src/vscreen/vs_util.cc, src/vscreen/vs_util.h:
4181
4182
	  Allow the user to specify the encoding of the file to be loaded
4183
	  in a vs_dialog_fileview.
4184
4185
	* src/aptitude.h:
4186
4187
	  Whoops, need to #include <string.h> for strchr.
4188
4189
	* src/aptitude.h, README.i18n:
4190
4191
	  Add a routine 'P_()' which strips off everything up to the first
4192
	  pipe symbol in the string.
4193
4194
	* src/vscreen/transcode.cc:
4195
4196
	  When coding errors are encountered, replace the offending
4197
	  characters with '?' and continue attempting to decode the rest
4198
	  of the string.
4199
4200
	* src/vscreen/vs_pager.cc, src/vscreen/vs_pager.h:
4201
4202
	  Use wide characters in the vs_pager, and transcode the input
4203
	  text from a (optionally specified) encoding.
4204
4205
	* src/vscreen/transcode.cc, src/vscreen/transcode.h:
4206
4207
	  Add transcode-with-punted-errors variants that read directly
4208
	  from a character buffer.
4209
4210
2005-07-02  Daniel Burrows  <dburrows@debian.org>
4211
4212
	* src/generic/aptitude_resolver.h:
4213
4214
	  Add some safety code to make sure that the resolver compiles
4215
	  even when the compiler is being ultra-strict.
4216
4217
	* po/POTFILES.in:
4218
4219
	  Remove another reference to strhash.h.
4220
4221
	* src/Makefile.am:
4222
4223
	  Remove reference to strhash.h.
4224
4225
	* src/download.cc:
4226
4227
	  Try greatly increasing the resolution of pulses, to make the UI
4228
	  more responsive during a download.
4229
4230
	* src/ui.cc:
4231
4232
	  Force the broken indicator to start out hidden.
4233
4234
	* src/vscreen/columnify.cc:
4235
4236
	  Fix the algorithm that "renders" column-formatted text:
4237
	  due to a logic error, nothing at all was being produced.
4238
4239
	* src/ui.cc:
4240
4241
	  Instead of trying to pass a NULL string to pkg_tree::pkg_tree,
4242
	  just don't pass the third argument.  Fixes a SIGABRT.
4243
4244
	* src/ui.cc:
4245
4246
	  Implement the wstring variant of show_message.
4247
4248
	* src/main.cc:
4249
4250
	  Add default transcoding error handlers that push an error on the
4251
	  apt error stack.
4252
4253
	* src/vs_progress.cc:
4254
4255
	  Update the core progress bar for wide characters.
4256
4257
	* src/ui.cc:
4258
4259
	  Update ui.cc to use wide characters internally.
4260
4261
	* src/apt_info_tree.cc, src/apt_info_tree.h:
4262
4263
	  Update copyright info.
4264
4265
	* src/apt_info_tree.cc, src/apt_info_tree.h:
4266
4267
	  Make the desc_signal of apt_info_trees accept a wide string.
4268
4269
	* src/solution_fragment.cc:
4270
4271
	  Pass a wchar_t* to join_fragment instead of a char*.
4272
4273
	* src/reason_fragment.cc:
4274
4275
	  Pass a wchar_t* to join_fragment instead of a char*.
4276
4277
	* src/pkg_view.cc:
4278
4279
	  Update the pkg_view code for wide characters and new interfaces.
4280
4281
	* src/pkg_info_screen.cc:
4282
4283
	  Fix the pkg_info_screen code to pass a wstring to desc_parse.
4284
4285
	* src/cmdline/cmdline_show.cc:
4286
4287
	  Fix the 'show' command to pass a wstring to desc_parse.
4288
4289
	* src/desc_parse.cc, src/desc_parse.h:
4290
4291
	  Update the description parser to take a wide string as input.
4292
4293
	* src/mine/cmine.cc, src/mine/cmine.h:
4294
4295
	  Update cmine for the new prompt_string signature.
4296
4297
	* src/vscreen/vs_tree.h, src/vscreen/vs_treeitem.h:
4298
4299
	  Explicitly make searches take wide character strings as input.
4300
4301
	* src/pkg_tree.cc, src/pkg_tree.h:
4302
4303
	  Wide-character conversion of pkg_tree.
4304
4305
	* src/ui.h:
4306
4307
	  Make the string callbacks take wstrings.
4308
4309
	* src/ui.h:
4310
4311
	  Add wstring variants of some interface functions.
4312
4313
	* src/pkg_sortpolicy.h:
4314
4315
	  Make operator() non-const; the new sort policy protocol
4316
	  requires this.
4317
4318
	* src/pkg_sortpolicy.cc:
4319
4320
	  Fix the sorting policy to work with the new internal interfaces.
4321
4322
	* src/vscreen/vs_multiplex.cc, src/vscreen/vs_multiplex.h:
4323
4324
	  Update the display of the multiplex's tabs for wide characters.
4325
4326
	* src/pkg_grouppolicy.cc, src/pkg_grouppolicy.h:
4327
4328
	  Update pkg_grouppolicy for wide characters.
4329
4330
	* src/pkg_item.cc, src/pkg_item.h:
4331
4332
	  Update the pkg_item code for wide characters.
4333
4334
	* src/ui.h:
4335
4336
	  Undo that last change: most of the code passes statically
4337
	  translated strings into those routines, so it will be a lot
4338
	  simpler to do the transcoding in ui.cc.
4339
4340
	* src/ui.h:
4341
4342
	  Use wstrings in the UI's external interface.
4343
4344
	* src/pkg_info_screen.cc:
4345
4346
	  Update pkg_info_screen for wide characters.
4347
4348
	* src/load_grouppolicy.cc:
4349
4350
	  Update the #include of strhash to use the correct copy, not the
4351
	  old one that I removed.
4352
4353
	* src/load_config.cc:
4354
4355
	  Update the configuration loader for wide characters.
4356
4357
	* src/download_list.cc, src/download_screen.cc:
4358
4359
	  Allow the user to cancel a media change.  Although I can't
4360
	  really test it, this hopefully Closes: #315885.
4361
4362
	* src/generic/Makefile.am, src/generic/mut_fun.h:
4363
4364
	  Add a functor class that assigns its argument to a fixed
4365
	  variable.
4366
4367
	* src/download_screen.cc, src/download_screen.h:
4368
4369
	  Update the download-screen class for wide characters.
4370
4371
	* src/download_item.cc, src/download_item.h:
4372
4373
	  Update the download-item class for wide characters.
4374
4375
	* src/vscreen/vs_subtree.h:
4376
4377
	  Update the current display column properly in vs_subtree::paint.
4378
	  Fixes the bug where the current line's highlight "overflowed" to
4379
	  the next line.
4380
4381
	* src/edit_pkg_hier.cc:
4382
4383
	  Update the package hierarchy editor for wide characters
4384
	  (slightly hackily?)
4385
4386
	* src/download_bar.cc:
4387
4388
	  Update the download-bar to use the new signature of
4389
	  show_string_as_progbar.
4390
4391
	* src/dep_item.cc:
4392
4393
	  Make dep_item.cc work with wide characters.
4394
4395
	* src/pkg_item_with_subtree.h:
4396
4397
	  Convert the package-item-plus-subtree class to wide characters.
4398
4399
	* src/pkg_subtree.cc, src/pkg_subtree.h:
4400
4401
	  Convert the pkg_subtree class to wide characters.
4402
4403
	* src/pkg_node.cc, src/pkg_node.h:
4404
4405
	  Convert the core package node class to wide characters.
4406
4407
	* src/pkg_item_with_subtree.h, src/pkg_item.h, src/pkg_ver_item.cc, src/pkg_ver_item.h:
4408
4409
	  Fix some more tree items, to the point that pkg_ver_item now
4410
	  compiles.
4411
4412
	* src/pkg_ver_item.cc, src/pkg_ver_item.h:
4413
4414
	  Update the pkg_ver_item to reflect the changes in the vscreen
4415
	  API.
4416
4417
	* src/vscreen/vs_layout_item.cc:
4418
4419
	  Make vs_layout_item less absurdly inefficient by really caching
4420
	  all of its contents up-front, rather than calling layout() once
4421
	  for EVERY LINE IN THE ITEM.
4422
4423
	* src/vscreen/vs_layout_item.cc, src/vscreen/vs_layout_item.h:
4424
4425
	  Avoid several copies when displaying a vs_layout_item.
4426
4427
	* src/vscreen/testvscreen.cc, src/vscreen/vs_layout_item.cc, src/vscreen/vs_layout_item.h, src/vscreen/vs_staticitem.h, src/vscreen/vs_subtree.h, src/vscreen/vs_tree.cc, src/vscreen/vs_treeitem.cc, src/vscreen/vs_treeitem.h:
4428
4429
	  Adjust the treeitem interface to use wide characters; while I'm
4430
	  at it, I removed a bunch of const qualifiers that looked
4431
	  dangerous (const qualifiers on a virtual method are potentially
4432
	  problematic).
4433
4434
	* src/edit_pkg_hier.cc, src/edit_pkg_hier.h:
4435
4436
	  Update the package hierarchy editor for wide characters.
4437
4438
	* src/download_list.cc, src/download_list.h:
4439
4440
	  Update the download_list for wide characters.
4441
4442
2005-07-01  Daniel Burrows  <dburrows@debian.org>
4443
4444
	* src/vscreen/curses++.cc, src/vscreen/curses++.h, src/vscreen/vscreen_widget.h:
4445
4446
	  While I'm at it...pass strings by reference, not value.
4447
4448
	* src/vscreen/curses++.cc, src/vscreen/curses++.h, src/vscreen/vscreen_widget.h:
4449
4450
	  Update show_string_as_progbar for wide characters.
4451
4452
	* src/download_bar.cc, src/download_bar.h:
4453
4454
	  Fix the download bar for wide characters.
4455
4456
	* src/defaults.cc:
4457
4458
	  Change the default setting initializations to use the new
4459
	  wide-character interfaces.
4460
4461
	* src/broken_indicator.cc:
4462
4463
	  Convert the broken indicator to handle wide characters.
4464
4465
	* src/apt_config_widgets.cc, src/apt_config_widgets.h:
4466
4467
	  Convert the apt config widgets to support wide characters.
4468
4469
2005-06-30  Daniel Burrows  <dburrows@debian.org>
4470
4471
	* src/mine/cmine.cc, src/mine/cmine.h:
4472
4473
	  Update the mine code for wide characters.  Sort of, anyway.
4474
	  At least, it should work.
4475
4476
2005-06-31 Tim Dijkstra <tim@famdijkstra.org>
4477
4478
	* Updated minor corrections to nl.po
4479
	  Closes: #316279
4480
4481
2005-06-29  Daniel Burrows  <dburrows@debian.org>
4482
4483
	* src/vscreen/curses++.cc, src/vscreen/curses++.h, src/vscreen/vscreen_widget.h:
4484
4485
	  Update display_header and display_status to handle wide
4486
	  characters.
4487
4488
	* src/vscreen/vs_button.cc, src/vscreen/vs_scrollbar.cc:
4489
4490
	  Convert all uses of ACS_* to WACS_*.
4491
4492
	* src/vscreen/vs_statuschoice.cc, src/vscreen/vs_statuschoice.h:
4493
4494
	  Convert vs_statuschoice to handle wide characters.
4495
4496
	* src/vscreen/vs_menubar.cc, src/vscreen/vs_menubar.h, src/vscreen/testvscreen.cc:
4497
4498
	  Convert vs_menubar to handle wide characters.
4499
4500
	* src/vscreen/vscreen.cc:
4501
4502
	  Use A_REVERSE on HighlightedMenuEntry -- this gives a more
4503
	  brilliant white background than the non-reversed version (ew).
4504
4505
	* src/vscreen/vs_menu.cc, src/vscreen/vs_menu.h:
4506
4507
	  Don't bother caching the width for now (this is much more
4508
	  obviously correct; width caching can be reinstated without
4509
	  losing correctness if speed ever becomes an issue).
4510
4511
	* src/vscreen/vs_menu.cc, src/vscreen/vs_menu.h:
4512
4513
	  Rewrote vs_menu to properly handle wide characters.
4514
4515
	* src/vscreen/curses++.h, src/vscreen/vscreen_widget.h:
4516
4517
	  Get rid of the attribute argument, it seems to cause unexpected
4518
	  behavior.  Add variants to pass in pregenerated cchar_t strings.
4519
4520
	* src/vscreen/curses++.h, src/vscreen/vscreen_widget.h:
4521
4522
	  Expose the add_wch and wadd_wch functions.
4523
4524
2005-06-28  Daniel Burrows  <dburrows@debian.org>
4525
4526
	* src/vscreen/vs_editline.cc:
4527
4528
	  Correct several errors in how normalize_cursor works.
4529
4530
	* src/vscreen/vs_editline.cc:
4531
4532
	  Fix get_char() to produce correct results (oops).
4533
4534
	* src/vscreen/config/colors.cc:
4535
4536
	  Don't make the cursor invisible, at the cost of losing
4537
	  black-on-black text.
4538
4539
	* src/vscreen/vs_editline.cc, src/vscreen/vs_editline.h:
4540
4541
	  Fix the line editor widget to support wide characters properly
4542
	  (it now honors wide character widths).
4543
4544
	* src/vscreen/curses++.h:
4545
4546
	  #undef the *add_wch functions for future use.
4547
4548
2005-06-27  Daniel Burrows  <dburrows@debian.org>
4549
4550
	* src/vscreen/fragment.cc:
4551
4552
	  Initialize the current line's width to 0 in clipbox::layout
4553
	  rather than using random uninitialized values.
4554
4555
	* src/vscreen/fragment.cc:
4556
4557
	  Fix a segfault in clipbox::layout due to an insufficiently
4558
	  bounded loop.
4559
4560
	* src/vscreen/testvscreen.cc:
4561
4562
	  Add some actual wide characters to test the formatting code.
4563
4564
	* src/vscreen/fragment.cc:
4565
4566
	  Add a long string escape to fragf (for printing out stuff that's
4567
	  already been transcoded).
4568
4569
	* src/vscreen/testvscreen.cc:
4570
4571
	  Use setlocale() to actually enter the current locale (so UTF-8
4572
	  locales actually work now!).
4573
4574
	* src/vscreen/config/keybindings.cc:
4575
4576
	  Fix the definition of KEY_CTRL and keyname to be slightly more
4577
	  sane (as sane as is possible given how control keys are
4578
	  handled).
4579
4580
2005-06-27 HÃ¥vard Korsvoll <korsvoll@skulelinux.no>
4581
4582
	* Updated Norwegian nynorsk translation
4583
	  Closes: #315988
4584
4585
2005-06-23 Miguel Figueiredo <elmig@debianpt.org>
4586
4587
	* Updated Portuguese translation
4588
	  Closes: #315486
4589
4590
2005-06-27  Daniel Burrows  <dburrows@debian.org>
4591
4592
	* src/vscreen/testvscreen.cc:
4593
4594
	  Update the testvscreen code for the new keybindings magic.
4595
4596
	* src/vscreen/vs_subtree.h src/vscreen/vs_tree.cc src/vscreen/vs_treeitem.h:
4597
4598
	  Convert various dispatch_char routines to dispatch_key. (DANGER:
4599
	  forgetting to do this will result in a silently broken widget at
4600
	  the moment)
4601
4602
	* src/vscreen/vs_tree.cc, src/vscreen/vs_tree.h:
4603
4604
	  Convert vs_tree::handle_char to vs_tree::handle_key.
4605
4606
	* src/vscreen/vs_table.cc, src/vscreen/vs_table.h:
4607
4608
	  Convert vs_table::handle_char to vs_table::handle_key.
4609
4610
	* src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
4611
4612
	  Convert vs_text_layout::handle_char to
4613
	  vs_text_layout::handle_key.
4614
4615
	* src/vscreen/vs_statuschoice.h:
4616
4617
	  Convert vs_statuschoice::handle_char to
4618
	  vs_statuschoice::handle_key.
4619
4620
	* src/vscreen/vs_passthrough.cc, src/vscreen/vs_passthrough.h:
4621
4622
	  Convert vs_passthrough::handle_char to
4623
	  vs_passthrough::handle_key.
4624
4625
	* src/vscreen/vs_pager.cc, src/vscreen/vs_pager.h:
4626
4627
	  Convert vs_pager::handle_char to vs_pager::handle_key.
4628
4629
	* src/vscreen/vs_menubar.cc, src/vscreen/vs_menubar.h:
4630
4631
	  Convert vs_menubar::handle_char to vs_menubar::handle_key.
4632
4633
	* src/vscreen/vs_menu.cc, src/vscreen/vs_menu.h:
4634
4635
	  Convert vs_menu::handle_char to vs_editline::handle_key.
4636
4637
	* src/vscreen/vs_editline.cc, src/vscreen/vs_editline.h:
4638
4639
	  Convert vs_editline::handle_char to vs_editline::handle_key.
4640
4641
	* src/vscreen/vs_button.cc, src/vscreen/vs_button.h:
4642
4643
	  Convert vs_button::handle_char to vs_button::handle_key.
4644
4645
	* src/vscreen/vscreen_widget.cc:
4646
4647
	  Name change update: handle_char -> handle_key.
4648
4649
	* src/vscreen/vscreen.cc, src/vscreen/vscreen.h:
4650
4651
	  Fix compilation problems from the new keybindings stuff.
4652
4653
	* src/vscreen/vscreen.cc:
4654
4655
	  Use the function-key information from get_wch() to decide what
4656
	  sort of key event to generate, and call the new names of the
4657
	  key-handling methods.
4658
4659
	* src/vscreen/vscreen_widget.cc, src/vscreen/vscreen_widget.h:
4660
4661
	  Make the key-handling methods take keys instead of wint_ts.
4662
4663
	* src/vscreen/config/keybindings.cc, src/vscreen/config/keybindings.h:
4664
4665
	  First crack at revising the keybinding routines to handle
4666
	  Unicode input.  In particular, the "key" type now includes a
4667
	  flag to indicate function-key-ness (this is useful since we need
4668
	  to distinguish function keys (KEY_*) from other keys now --
4669
	  curses uses a special return value from get_wch to indicate
4670
	  them, and I think it's because they might overlap real
4671
	  codepoints).
4672
4673
	  This probably breaks everything again.
4674
4675
2005-06-26  Daniel Burrows  <dburrows@debian.org>
4676
4677
	* src/strhash.h:
4678
4679
	  This copy of strhash is obsolete and broken, remove it to avoid
4680
	  confusion.
4681
4682
	* src/vscreen/vscreen.cc:
4683
4684
	  Update the other place where input is read to handle wide
4685
	  characters (oops).
4686
4687
	* src/vscreen/testvscreen.cc:
4688
4689
	  Update the test program for the new vscreen interfaces.
4690
4691
	* src/vscreen/vs_pager.cc, src/vscreen/vs_pager.h:
4692
4693
	  Use const string &'s in the vs_file_pager interface.
4694
4695
	* src/vscreen/vs_pager.cc:
4696
4697
	  Allow wide character strings to be used for the filename of a
4698
	  vs_file_pager, to make it easy to bind the vs_editline's
4699
	  "entered" signal to vs_file_pager::load_file.  Is this a hack?
4700
	  (and for that matter, why is vs_file_pager still separate from
4701
	  vs_pager?)
4702
4703
	* src/vscreen/columnify.cc:
4704
4705
	  Use the new transcoder, so transcoding errors can be reported at
4706
	  a higher level.
4707
4708
	* src/vscreen/transcode.cc, src/vscreen/transcode.h:
4709
4710
	  Implement the new transcoder, and fix some types in the
4711
	  header (oops).
4712
4713
	* src/vscreen/vs_util.cc:
4714
4715
	  Add explicit transcoding in the fallback routines.
4716
4717
	* src/vscreen/vs_label.cc, src/vscreen/vs_label.h:
4718
4719
	  Add initializers for wstrings.
4720
4721
	* src/vscreen/transcode.h:
4722
4723
	  Add a kinder, gentler transcoding interface for when error
4724
	  detection isn't important.
4725
4726
	* src/vscreen/vs_editline.cc, src/vscreen/vs_editline.h:
4727
4728
	  Convert the public interface of the line-editor to wide
4729
	  characters.  (this is important since it's the main interface
4730
	  for string input at the moment)
4731
4732
	* src/vscreen/transcode.h:
4733
4734
	  Add inline convenience functions to "directly" go from
4735
	  strings to strings.
4736
4737
	* src/vscreen/vs_button.cc, src/vscreen/vs_button.h:
4738
4739
	  Change the argument type of handle_char() so it gets correctly
4740
	  overridden.
4741
4742
	* src/vscreen/config/keybindings.cc, src/vscreen/config/keybindings.h:
4743
4744
	  Make the keybinding lookup tables take wide character values.
4745
4746
	* src/vscreen/vscreen_widget.cc, src/vscreen/vscreen_widget.h:
4747
4748
	  Modify the prototypes of dispatch_char and handle_char to
4749
	  take wint_t values.
4750
4751
	* src/vscreen/vs_button.h:
4752
4753
	  Doh, actually overload vs_button::vs_button.
4754
4755
	* src/vscreen/vscreen.cc:
4756
4757
	  Use get_wch() instead of getch() -- this will need to be
4758
	  propagated into the vscreen_widget hierarchy.
4759
4760
	* src/vscreen/curses++.h:
4761
4762
	  Doh, make it compile (forgot to #undef the macros and dropped
4763
	  some paramters from mvget_wch).
4764
4765
	* src/vscreen/curses++.h:
4766
4767
	  Expose wget_wch and mvwget_wch as methods on cwindow.
4768
4769
	* src/vscreen/vs_button.cc, src/vscreen/vs_button.h:
4770
4771
	  Add a variant constructor for wstrings.
4772
4773
	* src/vscreen/transcode.cc, src/vscreen/transcode.h:
4774
4775
	  Add a transcode variant that changes strings from wide character
4776
	  codings to multibyte codings.
4777
4778
	* src/pkg_view.cc:
4779
4780
	  When altering the column format of a view, transcode the input
4781
	  column template.
4782
4783
	* src/vscreen/vs_label.cc, src/vscreen/vs_label.h:
4784
4785
	  Add an overloading of set_text that accepts wstrings.
4786
4787
	* src/pkg_ver_item.cc:
4788
4789
	  Store the output of the columnizer in a wstring.
4790
4791
	* src/Makefile.am, src/pkg_item_with_subtree.cc, src/pkg_item_with_subtree.h:
4792
4793
	  Doh, of course since pkg_i_w_s is templated, all its method
4794
	  implementations have to go in the .h (ew).
4795
4796
	* src/pkg_item.cc:
4797
4798
	  Store the output of the columnizer in the right type.
4799
4800
	* src/pkg_columnizer.cc:
4801
4802
	  Oops, missing std::.
4803
4804
	* src/pkg_columnizer.cc, src/pkg_columnizer.h:
4805
4806
	  Make the column name formatter return a wstring.
4807
4808
	* src/pkg_columnizer.cc:
4809
4810
	  Transcode column definitions before parsing.
4811
4812
	* src/pkg_columnizer.cc:
4813
4814
	  Mark an overlooked string for translation.
4815
4816
	* src/vscreen/columnify.cc, src/vscreen/columnify.h:
4817
4818
	  Add an implicit transcoding constructor for column_disposition.
4819
4820
2005-06-25  Daniel Burrows  <dburrows@debian.org>
4821
4822
	* src/load_pkgview.cc:
4823
4824
	  When parsing column information, transcode it to a wide
4825
	  character set first.
4826
4827
	* src/Makefile.am, src/pkg_item_with_subtree.cc, src/pkg_item_with_subtree.h:
4828
4829
	  Transcode the package name to force it into the wide character
4830
	  set; move the column-generation function for the
4831
	  item-with-subtree class into a .cc file to avoid polluting other
4832
	  headers with too much junk.
4833
4834
	* src/vscreen/curses++.h, src/vscreen/vscreen_widget.h:
4835
4836
	  Expose the addwstr family of functions.
4837
4838
	* src/broken_indicator.cc:
4839
4840
	  Fix two calls to join_fragments().
4841
4842
	* src/cmdline/cmdline_show.cc:
4843
4844
	  Fix a number of calls to join_fragments() to use wide joining
4845
	  strings, and extract the character text using ().ch, not
4846
	  ()&A_CHARTEXT.
4847
4848
	* src/cmdline/cmdline_search.cc:
4849
4850
	  Transcode the format string specified by the user for displaying
4851
	  search results.
4852
4853
	* src/vscreen/fragment.cc:
4854
4855
	  Rewrite the clipbox for wide characters.
4856
4857
	* src/vscreen/fragment.cc:
4858
4859
	  Fix the fill algorithm to compile, and rewrite the hard-wrapping
4860
	  algorithm to handle wide characters.
4861
4862
	* src/vscreen/fragment.cc:
4863
4864
	  Rewrite the fill algorithm to handle wide characters.
4865
4866
	* src/vscreen/fragment.cc:
4867
4868
	  Rewrite the main flow algorithm to handle wide characters (i.e.,
4869
	  separate the concepts of "visible width" and "character count").
4870
4871
	* src/vscreen/columnify.cc, src/vscren/columnify.h, src/vscreen/config/column_definition.cc, src/vscreen/config/column_definition.h:
4872
4873
	  Rewrite the columnification code to handle wide characters
4874
	  properly: you can include literal wide characters in the
4875
	  configuration, and multi-column wide characters are accounted
4876
	  for in calculating widths.
4877
4878
	* src/vscreen/transcode.cc:
4879
4880
	  Get rid of the use of auto_ptr and new[], they aren't really
4881
	  appropriate here.  Use good old malloc/realloc/free calls to
4882
	  manage our dynamic store.
4883
4884
	* src/vscreen/transcode.cc:
4885
4886
	  Use nl_langinfo(), not localeset(), to find out what the current
4887
	  charset is when transcoding.
4888
4889
	* src/vscreen/curses++.cc:
4890
4891
	  Fix the generation of attributes+wide characters to preserve
4892
	  color information.
4893
4894
	* src/vscreen/transcode.cc:
4895
4896
	  Doh, correct the actual name of the transcoding function.
4897
	  Everything links now.
4898
4899
	* src/vscreen/vs_button.cc, src/vscreen/vs_layout_item.cc, src/vscreen/vs_layout_item.h:
4900
4901
	  Update places where chstring was explicitly used to call on
4902
	  fragment_line instead; factor some common code in
4903
	  vs_layout_item::paint and vs_layout_item::vs_layout_line::paint
4904
	  into vs_layout_item::paint_line.
4905
4906
	* src/vscreen/vscreen_widget.h:
4907
4908
	  Mirror the new cwindow addstr routines in vscreen_widget.
4909
4910
	* src/vscreen/fragment.cc, src/vscreen/fragment.h:
4911
4912
	  Instead of requiring a separate function to be called for
4913
	  transcoding, just overload text_fragment (NB: is this wise?).
4914
4915
	* src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/fragment_contents.h:
4916
4917
	  Use wide character strings internally to format text fragments,
4918
	  and require explicit conversion of std::strings.
4919
4920
	* src/vscreen/curses++.h:
4921
4922
	  Add a convenience constructor to build a wchstring by repeating
4923
	  a wchar_t.
4924
4925
	* src/vscreen/curses++.cc, src/vscreen/curses++.h:
4926
4927
	  Add a preliminary, very hacky, routine to output wide-character
4928
	  strings.
4929
4930
	* src/vscreen/Makefile.am, src/vscreen/transcode.cc, src/vscreen/transcode.h:
4931
4932
	  Add support code to wrap iconv in a simpler (less efficient)
4933
	  interface.
4934
4935
	* src/vscreen/curses++.h:
4936
4937
	  Fix formatting errors in a comment.
4938
4939
2005-06-22  Daniel Burrows  <dburrows@debian.org>
4940
4941
	* src/pkg_tree.cc:
4942
4943
	  Make the package tree progress bar actually move (I forgot to
4944
	  increment its progress!  Oops).
4945
4946
	* src/vs_progress.cc:
4947
4948
	  Done() just indicates that a suboperation completed, not that
4949
	  everything completed.  Don't hide() the widget in Done()
4950
	  (anyway, it'll get hidden when it's destroyed).
4951
4952
	* src/generic/aptcache.cc:
4953
4954
	  Disable auto-installation of dependencies when restoring package
4955
	  states, to make sure we reproduce the state the user expects and
4956
	  to avoid ordering bugs (my goodness, how did this big gaping
4957
	  monster manage to avoid detection for so long?).
4958
	  Closes: #315359
4959
4960
2005-06-22 Luk Claes <luk@debian.org>
4961
4962
	* Updated Dutch translation
4963
	  Closes: #315376
4964
4965
2005-06-22 Michal Politowski <mpol@charybda.icm.edu.pl>
4966
4967
	* Updated Polish translation
4968
	  Closes: #315338
4969
	
4970
2005-06-21 Dennis Stampfer  <seppy@debian.org>
4971
4972
	* Small German translation update by Jens Seidel
4973
4974
2005-06-18  Darius Zitkevicius  <skystis@splius.lt>
4975
4976
	* Updated Lituanian translation
4977
	  Closes: #314643
4978
4979
2005-06-16  Miroslav Kure  <kurem@upcase.inf.upol.cz>
4980
4981
	* Updated Czech translation
4982
	  Closes: #314328
4983
4984
2005-06-15  Yongtao Yang  <yongtao.yang@telia.com>
4985
4986
	* Updated Simplified Chinese translation
4987
	  Closes: #314330
4988
4989
2005-06-15  Daniel Burrows  <dburrows@debian.org>
4990
4991
	* src/broken_indicator.cc:
4992
4993
	Fix the generation of the solution summary: due to a logic error,
4994
	cancelled installations were being counted as installations rather
4995
	than keeps.
4996
4997
	* src/vscreen/curses++.cc, src/vscreen/curses++.h:
4998
4999
	Fix the missing reference to operator=(wstring&) in wchstring by
5000
	removing it and just writing it into the constructor where it was
5001
	used.
5002
5003
	* src/vscreen/config/style.h, src/vscreen/curses++.cc, src/vscreen/curses++.h:
5004
5005
	Add definitions of a chstring-analogue for wide-characters (it
5006
	stores wide characters combined with attributes).  Currently this
5007
	isn't used anywhere; that's the next step of UTF8ization.
5008
5009
2005-06-15  Jens Seidel  <jensseidel@users.sf.net>
5010
5011
	* Spellcheck German translation
5012
	  Closes: #313663
5013
5014
2005-06-15  Yuri Kozlov  <yuray@id.ru>
5015
5016
	* Update Russian translation
5017
	  Closes: #313619
5018
5019
2005-06-15  dooteo <dooteo@euskalgnu.org>
5020
5021
	* Update Basque translation
5022
5023
2005-06-13  BjÞrn Steensrud  <bjornst@powertech.no>
5024
5025
	* Update Norwegian Bokmal translation
5026
	  Closes: #313459
5027
5028
2005-06-13  Ruben Porras  <nahoo82@telefonica.net>
5029
5030
	* Update Spanish translation (still incomplete)
5031
	  Closes: #313412
5032
5033
2005-06-13  Jaakko Kangasharju  <ashar@iki.fi>
5034
5035
	* Complete Finnish translation
5036
	  Closes: #313450
5037
5038
2005-06-13  Stanislav Valášek  <valasek@fastmail.fm>
5039
5040
	* Complete Slovak translation. Closes: #309824
5041
5042
2005-06-13  Christian Perrier  <bubulle@debian.org>
5043
5044
	* src/cmdline/cmdline_prompt.cc: Corrected typo : "modifaction"
5045
	  Closes: #313322
5046
5047
2005-06-13  Clytie Siddall  <clytie@riverland.net.au>
5048
5049
	* Completed Vietnamese translation. Closes: #313321
5050
5051
2005-06-13  Daniel Burrows  <dburrows@debian.org>
5052
5053
	* src/generic/apt.cc:
5054
5055
	Make the read-only-ness warning more explicit (Closes: #313417)
5056
5057
2005-06-08  Daniel Burrows  <dburrows@debian.org>
5058
5059
	* src/vscreen/config/colors.cc, src/vscreen/config/colors.h, src/vscreen/curses++.cc:
5060
5061
	Call init_colors() from init_curses(), and don't call it from the
5062
	color-handling routines.  This makes it safe to perform 'dummy'
5063
	color mixing when Curses isn't initialized (for instance, when
5064
	formatting text from the command-line).
5065
5066
	* src/cmdline/cmdline_show.cc, src/solution_fragment.cc:
5067
5068
	Fix several places where aptitude could crash because I forgot
5069
	that PkgFileIterator::Archive can return a NULL pointer.
5070
	(Closes: #312553)
5071
5072
2005-06-08 Christian Perrier  <bubulle@debian.org>
5073
5074
	* po/fi.po: Overtranslation corrected. Closes: #312311
5075
5076
2005-06-07 Daniel Burrows  <dburrows@debian.org>
5077
5078
	* src/vscreen/vs_util.cc:
5079
5080
	Implement the file viewer as a specialized OK dialog.
5081
5082
	* src/vscreen/vscreen.cc:
5083
5084
	Force edit-line widgets to always appear white-on-black, even in
5085
	A_REVERSE environments.
5086
5087
	* src/generic/matchers.cc, src/generic/matchers.h:
5088
5089
	Add an option to parse_matcher that causes the matchers generated
5090
	for plain strings to match both names and descriptions.
5091
5092
	* src/vscreen/fragment.cc:
5093
5094
	Take the style of an indentbox's formatting from the surrounding
5095
	context.
5096
5097
	* src/ui.cc:
5098
5099
	Use %N in one appropriate place.
5100
5101
	* src/vscreen/fragment.cc, src/vscreen/fragment.h:
5102
5103
	Add a %N escape that resets the current style to the empty style.
5104
5105
	* src/ui.cc:
5106
5107
	Remove several uses of %C or replace them with %S.
5108
5109
	* src/load_config.h, src/ui.cc:
5110
5111
	Call load_styles from ui.cc, not load_colors.
5112
5113
	* src/view_changelog.cc:
5114
5115
	Update the changelog viewer for the new display code.
5116
5117
	* src/ui.cc:
5118
5119
	Fix compilation by deleting a stray parenthesis.
5120
5121
	* src/vscreen/vs_statuschoice.cc, src/vscreen/vs_statuschoice.h:
5122
5123
	Update the statuschoice widget for styles.
5124
5125
	* src/vs_progress.cc, src/vs_progress.h:
5126
5127
	Update the vs_progress code for styles.
5128
5129
	* src/ui.cc, src/ui.h:
5130
5131
	Update the core UI code for styles.
5132
5133
	* src/trust.cc:
5134
5135
	Update the trust dialog for styles.
5136
5137
	* src/solution_dialog.cc:
5138
5139
	Update the solution dialog for styles.
5140
5141
	* src/defaults.cc:
5142
5143
	Make bullets 'transparent' (the style now only changes the
5144
	foreground color).
5145
5146
	* src/reason_fragment.cc:
5147
5148
	Update the generation of 'reason' fragments for styles.
5149
5150
	* src/vscreen/fragment.cc:
5151
5152
	Fix the composition of styles by style_fragments: instead of
5153
	composing our style with the enclosing style, compose the
5154
	enclosing style with our style (remember, composition is
5155
	noncommutative).
5156
5157
	* src/vscreen/fragment.cc, src/vscreen/fragment.h:
5158
5159
	When generating a text fragment from a string and a style,
5160
	actually wrap it in a style fragment.  (maybe I should just
5161
	include a style in every text fragment, to increase locality?
5162
	Probably doesn't really matter, though, and a lot of text
5163
	fragments don't need styles) This makes it easy to generate styled
5164
	text that does the right thing (i.e., where the style overrides
5165
	any outer styles rather than vice versa).
5166
5167
	Also stopped using chstrings for text_fragments: they are almost
5168
	guaranteed to do the wrong thing anyway.
5169
5170
	* src/pkg_view.cc:
5171
5172
	Adjust the remaining bits of pkg_view to handle styles properly:
5173
	change paint()'s signature, and use set_bg_style instead of
5174
	set_bg.
5175
5176
	* src/pkg_item.cc, src/pkg_item.h:
5177
5178
	Extend the signature of pkg_item::paint() to properly override its
5179
	abstract ancestor, and adjust the code that sets the attributes of
5180
	a package item to be style-based.
5181
5182
	* src/load_pkgview.cc, src/pkg_view.h:
5183
5184
	Adjust the package view loading code to use styles rather than
5185
	colors, and change the package view structure to store a style
5186
	rather than a color.
5187
5188
	* src/load_config.cc:
5189
5190
	Change load_colors to load_styles.
5191
5192
	* src/edit_pkg_hier.cc, src/edit_pkg_hier.h:
5193
5194
	Update for the new display protocols; add missing copyright
5195
	boilerplate.
5196
5197
	* src/download_screen.cc:
5198
5199
	Use get_style instead of get_color.
5200
5201
	* src/download_screen.h:
5202
5203
	Extend the signature of download_tree::paint, so that it
5204
	implements the virtual method as expected.
5205
5206
	* src/download_list.cc:
5207
5208
	Adjust the download list code for styles.
5209
5210
2005-06-06  Daniel Burrows  <dburrows@debian.org>
5211
5212
	* src/download_item.cc:
5213
5214
	Update the download item code to use styles instead of colors.
5215
5216
	* src/download_bar.cc:
5217
5218
	Update to use styles.
5219
5220
	* src/dep_item.cc:
5221
5222
	Fix the signature of pkg_depitem::paint().
5223
5224
	* src/pkg_subtree.cc, src/pkg_subtree.h:
5225
5226
	Adjust method signatures so all abstract methods are implemented.
5227
5228
	* src/dep_item.cc, src/dep_item.h:
5229
5230
	Change pkg_depitem::get_normal_attr to pkg_depitem::get_normal_style.
5231
5232
	* src/pkg_ver_item.cc, src/pkg_ver_item.h:
5233
5234
	Fix some confusion over the return type of pkg_ver_item::get_normal_style.
5235
5236
	* src/pkg_item_with_subtree.h:
5237
5238
	Change the signature of paint() to match its new signature in
5239
	vs_subtree.
5240
5241
	* src/pkg_ver_item.cc, src/pkg_ver_item.h:
5242
5243
	Adjust the attribute-selection methods to work with styles instead
5244
	of colors.
5245
5246
	* src/pkg_ver_item.h:
5247
5248
	Also fill in the virtual "paint" method of pkg_vertree_generic.
5249
5250
	* src/pkg_ver_item.cc, src/pkg_ver_item.h:
5251
5252
	Fill in the virtual method "paint" of pkg_ver_item.
5253
5254
	* src/defaults.cc:
5255
5256
	Change the assignment of default colors to an assignment of
5257
	default styles.
5258
5259
	* src/broken_indicator.cc:
5260
5261
	Update for styles.
5262
5263
	* src/apt_options.cc:
5264
5265
	Update the option dialog generation to use styles.
5266
5267
	* src/apt_config_widgets.cc:
5268
5269
	Don't bother setting the color of apt_bool_widget; this shouldn't
5270
	be necessary any more.
5271
5272
	* src/desc_parse.cc:
5273
5274
	Update the description parser for styles.
5275
5276
	* src/mine/cmine.cc, src/mine/cmine.h:
5277
5278
	Fix the minesweeper game for the new display system.
5279
5280
	* src/cmdline/cmdline_prompt.cc, src/cmdline/cmdline_resolver.cc, src/cmdline/cmdline_show.cc:
5281
5282
	Adjust the command-line code to work properly with the new
5283
	fragment API (note: arguably a better approach is to add a routine
5284
	that does the layout and output of a fragment in one step).
5285
5286
	* src/vscreen/vscreen_widget.cc:
5287
5288
	Change both the widget's attributes and its background in
5289
	apply_style.  I don't for the life of me know why this should be
5290
	necessary, but without it, buttons in dialog boxes don't display
5291
	properly.
5292
5293
	* src/vscreen/vscreen.cc:
5294
5295
	Fix the color of highlighted multiplexer tabs, and get rid of
5296
	unnecessary reverse attributes.
5297
5298
	* src/vscreen/testvscreen.cc:
5299
5300
	Also make sure that the scrollbar fills its vertical space. (this
5301
	change is needed to compensate for past adjustments in vs_table's
5302
	behavior)
5303
5304
	* src/vscreen/testvscreen.cc:
5305
5306
	Fix the creation of the main test screen so that the scrollbar is
5307
	visible again.
5308
5309
	* src/vscreen/testvscreen.cc:
5310
5311
	Get rid of no-longer-necessary uses of the removed %C escape.
5312
5313
	* src/vscreen/vs_button.cc:
5314
5315
	Don't drop character attributes from the enclosed text -- this is
5316
	safe now that we have cascading styles.  This means that button
5317
	labels can have (for instance) highlighted characters.
5318
5319
	* src/vscreen/vs_minibuf_win.cc:
5320
5321
	Fix the minibuf window to set the basic style of its header and
5322
	status labels from the corrent style (use Status instead of
5323
	ScreenStatusColor).
5324
5325
	* src/vscreen/config/colors.cc:
5326
5327
	Correct color updating: use PAIR_NUMBER to retrieve the old pair
5328
	number (since color is now an attribute set, not a pair number).
5329
5330
	* src/vscreen/vscreen.cc:
5331
5332
	Fix menu coloration by putting full style information into each
5333
	menu style, rather than implicitly expecting the menu code to
5334
	inherit from the "Menu" style (which it doesn't).
5335
5336
	* src/vscreen/config/colors.cc, src/vscreen/config/colors.h, src/vscreen/config/style.h:
5337
5338
	Further fixes to how styles and colors are applied to characters.
5339
	mix_color now operates on attribute values and returns an
5340
	attribute value, and the appropriate bits of code have been
5341
	updated to reflect this change.
5342
5343
	* src/vscreen/vscreen.cc:
5344
5345
	Remove some uses of the NOP style_attrs_on(0).
5346
5347
	* src/vscreen/config/style.h:
5348
5349
	Fix the composition of styles by including information from both
5350
	styles, not just the last one (doh).
5351
5352
	* src/vscreen/config/style.h:
5353
5354
	Fix part of the problem with compositing styles: previously,
5355
	colors only got overwritten if they were *currently*
5356
	nontransparent (correct behavior would be to only use
5357
	nontransparent colors to overwrite the existing colors).
5358
5359
	* src/vscreen/vscreen_widget.cc:
5360
5361
	Initialize pre_display_erase to 'true' in the constructor.
5362
5363
	* src/vscreen/vscreen.cc:
5364
5365
	Fix some style definitions.
5366
5367
	* src/vscreen/vs_label.cc:
5368
5369
	Fix an infinite recursion in vs_label::set_text.
5370
5371
	* src/vscreen/curses++.cc:
5372
5373
	Add a missing definition of chstring::chstring.
5374
5375
	* src/vscreen/testvscreen.cc:
5376
5377
	Update the test program to use styles instead of attributes.
5378
5379
	* src/vscreen/vs_editline.cc, src/vscreen/vs_editline.h:
5380
5381
	Update the line-editor widget for the new display protocol.
5382
5383
	* src/vscreen/vs_pager.cc:
5384
5385
	Update the pager for the new display protocol.
5386
5387
	* src/vscreen/vs_util.cc, src/vscreen/vs_util.h:
5388
5389
	Update the vscreen dialog utilities to use styles instead of
5390
	attributes.
5391
5392
	* src/vscreen/vs_scrollbar.cc, src/vscreen/vs_scrollbar.h:
5393
5394
	Update the scrollbar widget to the new display protocol.
5395
5396
	* src/vscreen/vs_text_layout.h:
5397
5398
	D'oh, update the signature of freshen_contents() and make lastst
5399
	non-const.
5400
5401
	* src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
5402
5403
	Finish updating the text_layout widget: include style information
5404
	in its cache and handle the enclosing style environment in
5405
	paint().
5406
5407
	* src/vscreen/vscreen_widget.cc:
5408
5409
	Always set the display attributes of a widget to its basic style,
5410
	even if it's non-opaque.  No change to current behavior as all
5411
	existing transparent widgets are also invisible except for their
5412
	subwidgets.
5413
5414
	* src/vscreen/vs_table.cc, src/vscreen/vs_table.h:
5415
5416
	Update the vs_table widget for the new display protocol.
5417
5418
	* src/vscreen/vs_togglebutton.cc:
5419
5420
	Update the vs_togglebutton widget for the new display protocol.
5421
5422
	* src/vscreen/vs_text_layout.cc:
5423
5424
	Update the text layout widget to use the new display protocol.
5425
5426
	* src/vscreen/vs_stacked.cc, src/vscreen/vs_stacked.h:
5427
5428
	Update the stacked widget to use the new display protocol.
5429
5430
	* src/vscreen/vs_size_box.cc:
5431
5432
	Update the size-box to use set_opaque() instead of set_bg().
5433
5434
	* src/vscreen/vs_minibuf_win.cc, src/vscreen/vs_minibuf_win.:h:
5435
5436
	Update the minibuf-win for the new display protocol.
5437
5438
	* src/vscreen/vs_multiplex.cc, src/vscreen/vs_multiplex.h:
5439
5440
	Update the multiplexer for the new display protocol.
5441
5442
	* src/vscreen/vs_menubar.cc, src/vscreen/vs_menubar.h:
5443
5444
	Update the menubar for the new display protocol.
5445
5446
2005-06-04  Daniel Burrows  <dburrows@debian.org>
5447
5448
	* src/vscreen/vs_menu.cc, src/vscreen/vs_menu.h:
5449
5450
	Update menus for the new display protocol.
5451
5452
	* src/vscreen/vs_layout_item.cc, src/vscreen/vs_layout_item.h:
5453
5454
	Handle the new display protocol.
5455
5456
	* src/vscreen/vs_subtree.h:
5457
5458
	Update a few minor things in vs_subtree (particularly
5459
	added code to avoid string copies).
5460
5461
	* src/vscreen/vs_tree.cc, src/vscreen/vs_tree.h, src/vscreen/vs_treeitem.cc, src/vscreen/vs_treeitem.h:
5462
5463
	Update the core tree code to the new display protocol.
5464
5465
	* src/vscreen/vs_label.cc, src/vscreen/vs_label.h:
5466
5467
	Update the label widget to the new display protocol.
5468
5469
	* src/vscreen/vs_editline.cc:
5470
5471
	Update the edit-line widget to the new display protocol.
5472
5473
	* src/vscreen/vs_frame.cc, src/vscreen/vs_frame.h:
5474
5475
	Update the frame widget to the new display protocol.
5476
5477
	* src/vscreen/vs_center.cc:
5478
5479
	Update the center widget to the new display protocol.
5480
5481
	* src/vscreen/vs_bin.cc, src/vscreen/vs_bin.h:
5482
5483
	Update the bin widget to the new display protocol.
5484
5485
	* src/vscreen/fragment.h:
5486
5487
	Add a note clarifying the guarantees provided by layout().
5488
5489
	* src/vscreen/vs_button.cc, src/vscreen/vs_button.h:
5490
5491
	Fix the vs_button class for the new display protocol.
5492
5493
	* src/vscreen/vscreen_widget.cc:
5494
5495
	Properly pass style information into the paint() call.
5496
5497
	* src/vscreen/config/style.h:
5498
5499
	Make several operators const that should be and weren't.
5500
5501
	* src/vscreen/vscreen_widget.cc, src/vscreen/vscreen_widget.h:
5502
5503
	Remove the stack of styles, it's the Wrong Way to do things.  (if
5504
	this were Lisp, a with-style macro would be appropriate, but it's
5505
	not so it isn't) Instead, just let the user directly set the
5506
	current text attributes based on a full style.
5507
5508
2005-06-02  Tetralet  <tetralet@pchome.com.tw>
5509
5510
	* po/zh_TW.po: Updated from sarge branch. Closes: #311587
5511
5512
2005-05-26  Ruben Porras  <nahoo@inicia.es>
5513
5514
	* po/es.po: Various updates
5515
5516
2005-05-26  Daniel Burrows  <dburrows@debian.org>
5517
5518
	* src/vscreen/vscreen_widget.cc, src/vscreen/vscreen_widget.h:
5519
5520
	Fix some compilation problems with the new stuff.
5521
5522
	* src/vscreen/vscreen_widget.h:
5523
5524
	Add in a per-widget stack of styles to be used when drawing the
5525
	widget.
5526
5527
	* src/vscreen/config/style.h:
5528
5529
	Take the color data into account when generating attrs from a
5530
	style.
5531
5532
2005-05-26  Christian Perrier  <bubulle@debian.org>
5533
5534
	* po/fr.po: Typo corrections from sarge branch
5535
5536
2005-05-20  Stanislav Valáše k <valasek@fastmail.fm>
5537
5538
	* po/sk.po: Updated. Closes: #309824
5539
5540
2005-05-10  Daniel Burrows  <dburrows@debian.org>
5541
5542
	* src/vscreen/fragment_cache.cc:
5543
5544
	Fix the compilation errors in fragment_cache.  Note: the cache now
5545
	updates itself based on its last known style; would it make any
5546
	sense to keep a map of styles for fragments whose formatting
5547
	changes?
5548
5549
	* src/vscreen/config/style.h:
5550
5551
	Write operator== and operator!=.
5552
5553
	* src/vscreen/fragment.cc:
5554
5555
	Fix compile errors.
5556
5557
	* src/vscreen/curses++.cc, src/vscreen/curses++.h:
5558
5559
	Add some new constructors to chstring that will be needed later;
5560
	remove direct attribute manipulation and replace it with style
5561
	adjustment.
5562
5563
	* src/vscreen/config/colors.cc:
5564
5565
	Fix a silly compile error.
5566
5567
	* src/vscreen/config/style.h:
5568
5569
	Add an interface to apply a style to a chtype value.
5570
5571
	* src/vscreen/config/colors.cc, src/vscreen/config/colors.h:
5572
5573
	Add an interface to 'mix' colors.
5574
5575
2005-05-08  Daniel Burrows  <dburrows@debian.org>
5576
5577
	* src/vscreen/fragment.cc, src/vscreen/fragment.h:
5578
5579
	Rewrite the fragment code to handle styles.
5580
5581
	* src/vscreen/vscreen.cc, src/vscreen/vs_minibuf_win.h, src/vscreen/vs_treeitem.h:
5582
5583
	Make vscreen.cc compile, and change some 'get the color' routines
5584
	to 'get the style'.  Note that 'normal' colors now just correspond
5585
	to an empty style!
5586
5587
	* src/vscreen/config/style.h:
5588
5589
	Oops, use attrs_on, not attr_on.
5590
5591
	* src/vscreen/config/style.cc, src/vscreen/config/style.h:
5592
5593
	Cancel that; instead, just return a 'null' style.  I'd like to
5594
	have unknown styles blow up, but that has other problems
5595
	(especially when the user is allowed to create screen regions and
5596
	specify their styles).
5597
5598
	* src/vscreen/config/style.cc, src/vscreen/config/style.h:
5599
5600
	Throw an exception if a style is missing, rather than just
5601
	silently creating a new style.
5602
5603
	* src/vscreen/config/style.h:
5604
5605
	Add factory routines to make it easy to generate canned styles.
5606
5607
2005-05-07  Daniel Burrows  <dburrows@debian.org>
5608
5609
	* src/vscreen/config/colors.cc, src/vscreen/config/colors.h:
5610
5611
	Change the color database to allow orthogonal selection of fg/bg
5612
	colors.  Now nothing compiles.  Whee!
5613
5614
	* src/vscreen/config/Makefile.am, src/vscreen/config/styles.cc, src/vscreen/config/styles.h:
5615
5616
	Add basic support for styles that allow you to override the
5617
	surrounding character attributes orthogonally.
5618
5619
2005-05-05  Daniel Burrows  <dburrows@debian.org>
5620
5621
	* src/main.cc:
5622
5623
	Make it compile without them.
5624
5625
	* src/main.cc:
5626
5627
	Remove the utf8 guards in main.
5628
5629
	* configure.ac, src/vscreen/curses++.h:
5630
5631
	Start using ncursesw instead of straight curses.
5632
5633
2005-05-04  Daniel Burrows  <dburrows@debian.org>
5634
5635
	* src/generic/problemresolver/model.tex:
5636
5637
	More Stuff[tm] -- wrote up some comments on Recommends, added a
5638
	Future Work section.
5639
5640
	* src/generic/problemresolver/model.tex:
5641
5642
	Edit a bunch of stuff in the document, and write up that second proof.
5643
5644
2005-05-01  Daniel Burrows  <dburrows@debian.org>
5645
5646
	* doc/en/aptitude.xml:
5647
5648
	Document the change to StepLimit.
5649
5650
	* src/generic/aptcache.cc:
5651
5652
	Live dangerously: bump the default StepLimit to 5000.  It seems
5653
	from empirical tests that the various changes to the problem
5654
	resolver -- especially the 'forbidden' version tests, forced
5655
	installations, and the reduction of the branching factor -- have
5656
	made longer searches feasible; also, some interesting test cases
5657
	(like 'aptitude -s -t experimental dist-upgrade') need more steps
5658
	to complete.
5659
5660
	* src/cmdline/cmdline_resolver.cc:
5661
5662
	Give up, don't loop forever, if the user asks to terminate a
5663
	search.
5664
5665
	* src/generic/aptcache.cc:
5666
5667
	Bump the default StepLimit to 500, to deal with the fact that some
5668
	interesting problems are a bit too hard for 100.
5669
5670
	* src/generic/aptitude_resolver.h:
5671
5672
	Fix reversed logic in checking whether a Conflicts is broken.
5673
5674
	* src/generic/aptitude_resolver.h, src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/test.cc:
5675
5676
	Fix a mistake in how successors are generated -- of course we have
5677
	to test the dependencies of the new version being installed as
5678
	well!
5679
5680
	* src/solution_fragment.cc:
5681
5682
	Fix a silly thinko that caused segfaults when trying to display
5683
	problem solutions.
5684
5685
	* src/generic/problemresolver/Makefile.am:
5686
5687
	Uh, yeah, also distribute the problem resolver's header file.
5688
5689
	* src/generic/problemresolver/Makefile.am:
5690
5691
	Distribute more problemresolver-related stuff, including the TeX
5692
	file explaining how it all works.
5693
5694
	* po/*.po, po/aptitude.pot:
5695
5696
	Ran "make dist" and update-po.
5697
5698
	* src/generic/Makefile.am:
5699
5700
	Add problemresolver to the "official" source tree as seen by
5701
	automake.
5702
5703
	* NEWS, configure.ac, doc/en/aptitude.xml:
5704
5705
	Bump version to 0.3.2.
5706
5707
	* doc/en/manpage.xml:
5708
5709
	Oops, fix a link target to actually work.
5710
5711
	* src/cmdline/cmdline_action.cc:
5712
5713
	Actually support keeping packages from the command-line prompt, as
5714
	advertised.
5715
5716
	* po/*.po, po/aptitude.pot:
5717
5718
	Run update-po again.
5719
5720
	* doc/en/manpage.xml:
5721
5722
	Further correct the manual page to adjust for the new stuff in
5723
	0.3.2.
5724
5725
	* configure.ac:
5726
5727
	Add vi to ALL_LINGUAS (it was left out..oops).
5728
5729
	* Everything:
5730
5731
	Merge with the stable branch up to r3238.  In order to keep from
5732
	going nuts, though, I held out most of the .po changes (they seem
5733
	to be impossible to automatically merge).
5734
5735
	* doc/en/manpage.xml:
5736
5737
	Minor tweaks to more accurately reflect the way the world works
5738
	now.
5739
5740
--------------- END MERGE FROM 0.2.x ---------------
5741
5742
2005-04-28  Carlos Z.F. Liu  <carlosliu@users.sourceforge.net>
5743
5744
	* Correct both Chinese translations for "DL size".
5745
	  Closes: #306361
5746
5747
2005-04-27  Clytie Siddall  <clytie@riverland.net.au>
5748
5749
	* Added Vietnamese translation.
5750
5751
2005-04-24  Inaki Larranaga Murgotio  <dooteo@euskalgnu.org>
5752
5753
	* Complete Basque translation. Closes: #275704
5754
5755
2005-04-20  Daniel Burrows  <dburrows@debian.org>
5756
5757
	* doc/en/manpage.xml:
5758
5759
	  Document dist-upgrade (with prodding from Branden).
5760
	  Closes: #268697.
5761
5762
2005-04-17  Sorin Batariuc  <sorin@bonbon.net>
5763
5764
	* Complete Romanian translation. Closes: #305282
5765
5766
2005-04-17  Danilo Piazzalunga  <danilopiazza@libero.it>
5767
5768
	* Complete Italian translation. Closes: #304906
5769
5770
2005-04-11  Luk Claes  <Luk.Claes@UGent.be>
5771
5772
	* Complete Dutch translation. Closes: #304210
5773
5774
2005-04-06  Daniel Burrows  <dburrows@debian.org>
5775
5776
	* doc/en/aptitude.xml, doc/cs/aptitude.xml, doc/fr/aptitude.xml, doc/de/aptitude.xml, doc/fi/aptitude.xml:
5777
	  Just to be completely safe, use DocBook 4.2 for now
5778
	  (not 4.3, which is also available).
5779
5780
	* doc/en/aptitude.xml, doc/cs/aptitude.xml, doc/fr/aptitude.xml, doc/de/aptitude.xml, doc/fi/aptitude.xml:
5781
5782
	  Make sure to use file: URLs, not http: URLs, for retrieving
5783
	  the DTD.
5784
5785
2005-04-04  Konstantinos Margaritis  <markos@debian.org>
5786
5787
	* Complete Greek translation. Closes: #302851
5788
5789
2005-04-02  Olivier Trichet  <trichet.olivier@ec-lille.fr>
5790
5791
	* Make French documentation consistent with the program
5792
	  translation
5793
5794
2005-03-29  Miroslav kure  <kurem@upcase.inf.upol.cz>
5795
5796
	* Complete Czech translation. Closes: #302107
5797
5798
2005-03-29  Ryan Escarez  <rescarez@gmail.com>
5799
5800
	* First Tagalog translation. Closes: #302085
5801
5802
2005-03-29  Luk Claes  <luk.claes@ugent.be>
5803
5804
	* Really completed Dutch translation. Closes: #301809
5805
5806
2005-03-28  Miguel Figuereido  <elmig@debianpt.org>
5807
5808
	* Completed Portuguese translation. Closes: #301830
5809
5810
2005-03-28  Luk Claes  <luk.claes@ugent.be>
5811
5812
	* Completed Dutch translation. Closes: #301809
5813
5814
2005-03-28  Daniel Burrows  <dburrows@debian.org>
5815
5816
	* po/*.po:
5817
5818
	  Ran update-po.
5819
5820
	* src/cmdline/cmdline_prompt.cc:
5821
5822
	  Use a more formal wording for the security prompt.
5823
5824
2005-03-28  Christian Perrier  <bubulle@debian.org>
5825
5826
	* Completed French translation (to be proofread)
5827
5828
2005-03-26  Daniel Burrows  <dburrows@debian.org>
5829
5830
	* po/*.po:
5831
5832
	  Re-run update-po again.
5833
5834
	* po/lt.po:
5835
5836
	  Update the Lithuanian translation (same bug).
5837
5838
	* src/cmdline/cmdline_prompt.cc:
5839
5840
	  Use "Yes"/"No", not "yes"/"no" to make translations work better.
5841
5842
	* doc/fr/Makefile.am:
5843
5844
	  Oops, distribute the mysterious "fixman" program.
5845
5846
	* configure.ac, doc/cs/aptitude.xml, doc/de/aptitude.xml, doc/en/aptitude.xml, doc/fi/aptitude.xml, doc/fr/aptitude.xml:
5847
5848
	  Bump the version to 0.2.15.9.
5849
5850
	* po/*:
5851
5852
	  Run update-po.
5853
5854
	* po/POTFILES.in:
5855
5856
	  Add trust.cc and trust.h.
5857
5858
	* doc/fr/Makefile.am:
5859
5860
	  Make the French documentation compile instead of blowing up.
5861
5862
	* configure.ac:
5863
5864
	  Same for doc/fr/images/Makefile.
5865
5866
	* configure.ac:
5867
5868
	  Actually generate doc/fr/Makefile.
5869
5870
	* src/pkg_columnizer.cc:
5871
5872
	  Make sure it compiles against the older apt version.
5873
5874
	* src/pkg_columnizer.cc, src/pkg_columnizer.h, src/pkg_ver_item.cc:
5875
5876
	  Backport the column display of untrusted packages.
5877
5878
	* src/defaults.cc:
5879
5880
	  Backport a default color for TrustWarning.
5881
5882
	* src/Makefile.am, src/pkg_info_screen.cc, src/pkg_view.cc, src/trust.cc, src/trust.h:
5883
5884
	  Backport the display of trust info in the package information
5885
	  displays.
5886
5887
	* src/cmdline/cmdline_prompt.cc:
5888
5889
	  Add a security warning prompt to the command-line mode.
5890
5891
	* src/generic/apt.cc, src/generic/apt.h, src/ui.cc:
5892
5893
	  Backport the apt 0.6 support (compiled out by default, unless
5894
	  you compile aptitude on a system with apt 0.6).
5895
5896
	* src/download_item.cc:
5897
5898
	  Fix the compile failure with apt 0.6 (use conditional
5899
	  compilation to compile the right version of the code depending
5900
	  on the version of apt that's in use).
5901
5902
	* NEWS:
5903
5904
	  Start preparing a new release (mostly translations).
5905
5906
2005-02-16  Daniel Burrows  <dburrows@debian.org>
5907
5908
	* doc/en/aptitude.xml:
5909
5910
	  Correct a major oversight in the documentation of Delete-Unused:
5911
	  the documentation stated that packages matching it would be the
5912
	  only things deleted, whereas it's packages that DON'T match it
5913
	  that will be the only things deleted.
5914
5915
	  Probably this was originally a coding error, but in the stable
5916
	  branch I won't change the name or behavior of the option, so the
5917
	  documentation is getting fixed instead.
5918
5919
	  Thanks to Michael Vogt for pointing this out.
5920
5921
2005-02-02  Dennis Stampfer <seppy@debian.org>
5922
5923
	* Correcting German shortcut for cleaning cache
5924
	  in de.po: Closes: #293127
5925
5926
2005-01-28  Christian Perrier <bubulle@debian.org>
5927
5928
	* Corrected Lithuanian translation by
5929
	  Darius Zitkevicius
5930
	  Closes: #280049
5931
5932
2005-01-19  Christian Perrier <bubulle@debian.org>
5933
5934
	* Corrected Traditional Chinese translation
5935
	  and help file. Closes: #290284
5936
5937
2005-01-05  Christian Perrier <bubulle@debian.org>
5938
5939
	* Corrected Dutch translation. Closes: #288815
5940
5941
  ----------------- BEGIN MERGE FROM 0.2.x --------------------
5942
5943
2005-05-01  Daniel Burrows  <dburrows@debian.org>
5944
5945
	* src/generic/problemresolver/test.cc:
5946
5947
	  Fix dummy_universe::broken_under (it was returning false for all
5948
	  dependencies except totally unsatisfiable ones (i.e., deps with
5949
	  no solvers whatsoever).
5950
5951
	* src/generic/problemresolver/test.cc:
5952
5953
	  Always enable debugging.
5954
5955
	* src/generic/problemresolver/test.cc:
5956
5957
	  Fix a refcounting error.
5958
5959
	* src/generic/aptcache.cc:
5960
5961
	  Fix the dumper to conform to the test input format.
5962
5963
	* src/generic/problemresolver/test.cc:
5964
5965
	  Remove a now-unnecessary try/catch pair, reindent a lot of stuff
5966
	  as a result.
5967
5968
	* src/generic/problemresolver/test.cc:
5969
5970
	  Fix a crash that occured when an error was encountered in
5971
	  parsing a test file: the resolver copied the universe, which had
5972
	  references to the package objects, and hence the packages got
5973
	  double-deleted.  Now universes are reference-counted and it's
5974
	  the references that are copied around, so the problem should go
5975
	  away.
5976
5977
	* src/generic/problemresolver/problemresolver.h:
5978
5979
	  When dumping version scores, actually write the scores instead
5980
	  of just writing which versions have non-zero scores.
5981
5982
	* src/cmdline/cmdline_resolver.cc:
5983
5984
	  Add support for dumping the resolver state from the
5985
	  command-line. (enter a tilde)
5986
5987
	* doc/en/aptitude.xml, src/defaults.cc, src/ui.cc:
5988
5989
	  Add support for dumping the resolver state to a file from the
5990
	  visual interface.
5991
5992
	* doc/en/aptitude.xml:
5993
5994
	  Add a brief overview of the command-line resolver interface to
5995
	  the documentation, and fix a minor typo.
5996
5997
	* src/cmdline/cmdline_prompt.cc:
5998
5999
	  Before, if the list of actions had not been modified by the time
6000
	  they were displayed, the prompt would be skipped even if some
6001
	  packages were broken.  Now, if packages are broken, we always
6002
	  continue to the prompt (including the resolver).
6003
6004
	* doc/en/aptitude.xml:
6005
6006
	  Finish documenting the new configuration options.
6007
6008
	* src/generic/aptitude_resolver.cc:
6009
6010
	  When tweaking scores based on priority, don't tweak the score of
6011
	  the not-installed version.
6012
6013
2005-04-30  Daniel Burrows  <dburrows@debian.org>
6014
6015
	* doc/en/aptitude.xml:
6016
6017
	  Start documenting the new configuration options.
6018
6019
	* doc/en/aptitude.xml, doc/en/images/views-tab-bar.png:
6020
6021
	  Document the business with having tab-bars at the top of the
6022
	  display.
6023
6024
	* doc/en/aptitude.xml:
6025
6026
	  Document the new keybindings.
6027
6028
	* doc/en/aptitude.xml:
6029
6030
	  Move a tip around to a place where it will make more sense soon.
6031
6032
	* doc/en/aptitude.xml:
6033
6034
	  Update the tutorial on broken dependencies to discuss the new
6035
	  dependency resolver.
6036
6037
	* src/generic/problemresolver/model.tex:
6038
6039
	  Further description of the algorithm.
6040
6041
	* src/generic/aptcache.cc:
6042
6043
	  Make packages installed/removed by the resolver get marked as
6044
	  "automatic" (using a new changed_reason value).
6045
6046
	* src/solution_dialog.cc:
6047
6048
	  Make the top row of the dialog shrinkable, so the buttons never
6049
	  disappear -- even if it gets too tall.
6050
6051
	* src/solution_dialog.cc:
6052
6053
	  Fix up the layout options in the solution dialog.  The most
6054
	  important change is that the button box is now shrinkable, which
6055
	  in turn means that the scrollbar will always be visible (because
6056
	  the first column of the table will be preferentially shrunk).
6057
6058
	* src/cmdline/cmdline_prompt.cc:
6059
6060
	  After running the resolver, always fall out to the main loop, so
6061
	  that a new preview gets displayed before the prompt is shown
6062
	  again.
6063
6064
	* src/cmdline/cmdline_download.cc, src/cmdline/cmdline_progress.cc, src/cmdline/cmdline_prompt.cc, src/cmdline/cmdline_resolver.cc, src/cmdline/cmdline_search.cc, src/cmdline/cmdline_show.cc, src/main.cc:
6065
6066
	  Quit running update_screen_width all over the place in
6067
	  command-line mode; instead, set up a SIGWINCH handler and read
6068
	  the screen width for the first time in main.
6069
6070
	* src/cmdline/cmdline_do_action.cc:
6071
6072
	  Get rid of the separate resolve step prior to prompting, which
6073
	  should make the command-line interaction a bit nicer.
6074
6075
	* src/cmdline/cmdline_prompt.cc:
6076
6077
	  Display the prompt help using fragments, so it gets properly
6078
	  flowed.
6079
6080
	* src/cmdline/cmdline_resolver.cc:
6081
6082
	  Remove an unneeded flowbox, make indentation work correctly
6083
	  (remember: indentboxes go *outside* flowboxes).
6084
6085
	* src/cmdline/cmdline_do_action.cc:
6086
6087
	  Support the new action flags and stuff in the name-mangling
6088
	  code.
6089
6090
	* src/cmdline/cmdline_action.cc, src/cmdline/cmdline_common.h, src/cmdline/cmdline_prompt.cc, src/cmdline/cmdline_resolver.h:
6091
6092
	  Add support for manipulating the automatic flag from the
6093
	  command-line prompt.
6094
6095
	* src/cmdline/cmdline_resolver.cc:
6096
6097
	  Add a space after the resolver prompt string.
6098
6099
	* src/cmdline/cmdline_action.cc, src/cmdline/cmdline_common.h, src/cmdline/cmdline_do_action.cc, src/cmdline/cmdline_prompt.cc, src/cmdline/cmdline_resolver.cc:
6100
6101
	  Add a 'keep' action (invoked via ':') to the command-line
6102
	  prompts.
6103
6104
	* src/cmdline/cmdline_action.cc, src/cmdline/cmdline_action.h, src/cmdline/cmdline_do_action.cc, src/cmdline/cmdline_prompt.cc, src/cmdline/cmdline_resolver.cc, src/cmdline/cmdline_resolver.h:
6105
6106
	  Add support for modifying package states from the resolver
6107
	  prompt; in the process, moved the routine responsible for doing
6108
	  this from cmdline_prompt.cc to cmdline_action.cc.
6109
6110
	* src/cmdline/cmdline_resolver.cc:
6111
6112
	  Fix some of the formatting problems with the resolver help text.
6113
	  Introduce help for not-yet-extant commands.
6114
6115
	* src/generic/aptcache.cc, src/generic/aptcache.h, src/generic/problemresolver/problemresolver.h:
6116
6117
	  Add support in the cache abstraction for dumping the resolver
6118
	  state (including, importantly, the current set of version
6119
	  scores).
6120
6121
	* src/generic/problemresolver/test.cc, src/generic/problemresolver/test1.txt:
6122
6123
	  Fix the test code to work with the new problem resolver.
6124
6125
	* src/generic/aptitude_resolver.h:
6126
6127
	  Adjust the get_name() routine of versions to mangle versions
6128
	  when several versions with the same name are available.
6129
6130
	* src/generic/aptcache.cc:
6131
6132
	  Default score tweaking: double the penalty for broken deps, make
6133
	  infinity much larger, and only work with the first dependency
6134
	  that generates successors, rather than generating all possible
6135
	  successors; this is done in order to decrease the branching
6136
	  factor.  In theory only looking at a single dep could generate
6137
	  worse solutions overall, but it seems to work OK in my tests.
6138
6139
	  Also, only check up to 100 solutions before giving up!
6140
6141
	* src/generic/problemresolver/problemresolver.h:
6142
6143
	  Right, only spew if debug is enabled.
6144
6145
	* src/generic/problemresolver/problemresolver.h:
6146
6147
	  When generating the successors of a solution, detect "forced"
6148
	  installs (i.e., installs which must be in any successor
6149
	  solution, such as deps that have only one solver) and perform
6150
	  them immediately.  In the process, refactored and complicatified
6151
	  the problem resolver.
6152
6153
	* src/generic/problemresolver/problemresolver.h:
6154
6155
	  Actually drop attempts to install "forbidden" package versions.
6156
6157
	* src/generic/problemresolver/problemresolver.h:
6158
6159
	  Add basic support for maintaining a list of "forbidden" package
6160
	  versions that varies by solution.
6161
6162
2005-04-29  Daniel Burrows  <dburrows@debian.org>
6163
6164
	* po/POTFILES.in, po/*.po:
6165
6166
	  Update POTFILES (oops, forgot to do that for a while) and run
6167
	  'make update-po'.
6168
6169
	* src/cmdline/cmdline_resolver.cc:
6170
6171
	  Be less strict about obeying command-line instructions, to avoid
6172
	  spending lots of time searching really bad solutions if the user
6173
	  asks for something impossible.
6174
6175
	* src/cmdline/cmdline_resolver.cc:
6176
6177
	  Oops, iterate over the whole version list, not just the part of
6178
	  it that follows the current version.
6179
6180
	* src/cmdline/cmdline_resolver.cc:
6181
6182
	  Uninvert the tweaking logic: now, instead of giving a bonus to
6183
	  removal if the user *didn't* ask for a package to be removed, we
6184
	  give a bonus to removal if the user *did* ask for a package to
6185
	  be removed.
6186
6187
	* src/cmdline/cmdline_resolver.cc:
6188
6189
	  When tweaking scores, generate an end iterator (not an invalid
6190
	  iterator) for the UNINST version.
6191
6192
	* src/generic/aptitude_resolver.h:
6193
6194
	  Add some asserts to cache situations that shouldn't happen.
6195
6196
	* src/generic/problemresolver/problemresolver.h:
6197
6198
	  Right, test subset-inclusion in the correct order...
6199
6200
	* src/ui.cc:
6201
6202
	  Fix some typos in various strings that were pointed out by the
6203
	  Vietnamese translator.
6204
6205
2005-04-28  Daniel Burrows  <dburrows@debian.org>
6206
6207
	* src/generic/aptitude_resolver.h, src/generic/aptitude_resolver.cc, src/generic/problemresolver/problemresolver.h:
6208
6209
	  Fix a monumentally stupid decision (storing references to a
6210
	  universe in the problem resolver), fixing the segfault caused by
6211
	  the previous segfault's fix.
6212
6213
	* src/cmdline/cmdline_dump_resolver.cc, src/generic/aptcache.cc, src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h:
6214
6215
	  Carry a backpointer to the cache around in all the resolver glue
6216
	  code, to avoid segfaulting if apt_cache_file is uninitialized
6217
	  when we're called (e.g., if packages are broken on startup).
6218
6219
	* src/cmdline/cmdline_resolver.cc:
6220
6221
	  Fix a very stupid infinite loop bug.
6222
6223
	* src/generic/problemresolver/problemresolver.h:
6224
6225
	  Ignore any solution that's a subset of another solution.
6226
6227
	* src/generic/problemresolver/problemresolver.h:
6228
6229
	  Write in a definition of operator!= for solutions -- I don't
6230
	  know where the default was coming from, but it's wrong, wrong,
6231
	  WRONG.
6232
6233
	* src/generic/problemresolver/problemresolver.h:
6234
6235
	  Fix an ugliness in the debugging output.
6236
6237
	* src/cmdline/cmdline_resolver.cc:
6238
6239
	  Use the new hooks to enable debugging based on the option
6240
	  Aptitude::CmdLine::Resolver-Debug.
6241
6242
	* src/generic/aptcache.cc, src/generic/aptcache.h:
6243
6244
	  Add hooks for enabling resolver debugging.
6245
6246
	* src/cmdline/cmdline_resolver.cc:
6247
6248
	  Streamline the "reject solution" command.
6249
6250
	* src/cmdline/cmdline_resolver.cc:
6251
6252
	  Doh, C++ varargs have to be explicitly terminated; do that
6253
	  instead of crashing.
6254
6255
	* src/main.cc:
6256
6257
	  Add debugging catches to trap unhandled exceptions.
6258
6259
	* src/cmdline/cmdline_action.cc, src/cmdline/cmdline_action.h, src/cmdline/cmdline_do_action.cc, src/cmdline/cmdline_prompt.cc, src/cmdline/cmdline_prompt.h, src/cmdline/cmdline_resolver.cc, src/cmdline/cmdline_resolver.h, src/cmdline/cmdline_show_broken.cc, src/cmdline/cmdline_show.cc, src/cmdline/cmdline_show.h, src/cmdline/cmdline_simulate.cc, src/cmdline/cmdline_simulate.h, src/cmdline/cmdline_upgrade.cc, src/cmdline/Makefile.am:
6260
6261
	  Start work on hooking the new resolver into the command-line.
6262
	  The new approach works by having a sub-loop that gets entered if
6263
	  broken dependencies are detected at the command-line prompt.
6264
6265
	* src/generic/aptcache.cc, src/generic/aptcache.h, src/generic/problemresolver/problemresolver.h:
6266
6267
	  Add provisions for adjusting package scores before running the
6268
	  resolver.
6269
6270
2005-04-27  Daniel Burrows  <dburrows@debian.org>
6271
6272
	* src/main.cc:
6273
6274
	  Ignore -s when running in interactive mode. (Closes: #243192)
6275
6276
	* src/vscreen/vs_multiplex.cc:
6277
6278
	  Recognize mouse clicks on the "tabs".
6279
6280
	* src/download.cc, src/pkg_item.cc, src/pkg_ver_item.cc, src/ui.cc, src/ui.h, src/view_changelog.cc:
6281
6282
	  Use tabs for the main multiplex.
6283
6284
	* doc/en/aptitude.xml, src/vscreen/vscreen.cc:
6285
6286
	  Use less vomit-inducing default colors for multiplex tabs.
6287
6288
	* src/vscreen/vs_multiplex.cc:
6289
6290
	  Use the correct addstr() variant; the chstring variant is a bit
6291
	  broken right now :( (and of course it doesn't preserve
6292
	  attributes).
6293
6294
	* src/vscreen/testvscreen.cc:
6295
6296
	  Enable tabs in the test program.
6297
6298
	* src/vscreen/vs_multiplex.cc, src/vscreen/vs_multiplex.h:
6299
6300
	  Oh yeah, make it possible to actually turn on the tab support.
6301
6302
	* doc/en/aptitude.xml, src/vscreen/vs_multiplex.cc, src/vscreen/vs_multiplex.h, src/vscreen/vscreen.cc:
6303
6304
	  Add theoretical support for 'tabbed' multiplexes (untested as
6305
	  yet).  In order to do this properly, I had to extend the
6306
	  vs_multiplex API and rewrite its internals to represent each
6307
	  child using an actual structure.
6308
6309
	* src/main.cc:
6310
6311
	  Hook the layer of indirection up to "dump errors to cerr" before
6312
	  executing command-line requests.
6313
6314
	* src/generic/apt.cc, src/generic/apt.h, src/ui.cc:
6315
6316
	  Add a layer of indirection (a signal) between the request to
6317
	  clear the error list and the clearing of the error list.  Among
6318
	  other things, this means that the command-line no longer
6319
	  segfaults when errors occur.
6320
6321
	* src/ui.cc:
6322
6323
	  Use the new support in vs_text_layout to not open tons of
6324
	  extraneous error dialogs (instead we just reuse the existing
6325
	  ones).
6326
6327
	* src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
6328
6329
	  Add a way to append text to a vs_text_layout 'after the fact'.
6330
6331
	* src/generic/apt.cc:
6332
6333
	  Hackily avoid discarding the error list by instead asking the UI
6334
	  to clear it out for us (making sure that errors don't get lost).
6335
	  (Closes: #160418)
6336
6337
	* doc/en/aptitude.xml, src/generic/matchers.cc:
6338
6339
	  Make ~ahold find packages that are actually *held*.  ~akeep now
6340
	  finds packages upon which no action is being taken; the old
6341
	  meaning of ~ahold is available via "~U~akeep".
6342
	  (Closes: #216730)
6343
6344
	* src/apt_info_tree.cc, src/apt_info_tree.h, src/ui.cc:
6345
6346
	  Apply a similar treatment to the various apt_info_trees: create
6347
	  a method that explicitly re-issues the various signals, and tell
6348
	  the user to invoke it after connecting said signals.
6349
6350
	* src/pkg_tree.cc, src/pkg_tree.h, src/ui.cc:
6351
6352
	  Don't implicitly build a pkg_tree when it's created.  Instead,
6353
	  expect the caller to call build_tree() once the tree is fully
6354
	  hooked up.  This avoids the inconsistencies caused by the tree's
6355
	  signal getting emitted before it's connected to anything.
6356
6357
	* src/vscreen/vs_text_layout.cc:
6358
6359
	  Fix the caching of text layouts: the 'lastw' variable wasn't
6360
	  being updated, so the layout always looked stale!
6361
6362
	* src/vscreen/vs_tree.cc:
6363
6364
	  Remove the grotesque hack of calling highlighted() in paint();
6365
	  among other things, it was responsible for making everything
6366
	  slow when the user was scrolling around the description area.
6367
6368
	* src/generic/aptcache.cc, src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h, src/generic/problemresolver/problemresolver.h:
6369
6370
	  Put a cap on how many successors will be generated for any given
6371
	  dep.  This is sufficient to generate all solutions (albiet
6372
	  possibly in a bad order); for simple problems (where everything
6373
	  worked already) it has no effect if the cap is large enough; and
6374
	  it should produce reasonable results for complicated programs.
6375
6376
	* src/generic/aptcache.cc:
6377
6378
	  Penalize brokenness less again; placing too high a bounty on
6379
	  fixing broken deps makes solutions turn up in the wrong order.
6380
6381
	* src/generic/aptcache.cc:
6382
6383
	  Make infinity smaller and penalize brokenness more.  Now if
6384
	  aptitude goes nuts (although I should do more to stop this) it
6385
	  at least won't eat all your virtual memory before figuring out
6386
	  that no solutions exist.  This is a bit of a hack, though..
6387
6388
	* src/generic/problemresolver/problemresolver.h:
6389
6390
	  Incrementally calculate the new score, and abort as soon as it
6391
	  drops below minimum_score.
6392
6393
	* src/generic/aptitude_resolver.h, src/generic/problemresolver/problemresolver.h:
6394
6395
	  Add a 'broken_under' method to the aptitude_resolver_dep class,
6396
	  and use it in the problem resolver to (hopefully) speed up
6397
	  checking whether dependencies are broken in a given solution.
6398
6399
	* src/generic/aptcache.cc, src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h, src/generic/problemresolver/problemresolver.h:
6400
6401
	  Add basic support in the problem-resolver for specifying
6402
	  "infinity" -- a boundary for solution badness beyond which all
6403
	  solutions are dropped.
6404
6405
	* src/generic/aptcache.cc:
6406
6407
	  Decrease the default max_steps value so that hard-to-resolve
6408
	  problems don't cause aptitude to lock up.  (not very successful
6409
	  yet)
6410
6411
	* src/vscreen/config/keybindings.cc, src/vscreen/keybindings.h:
6412
6413
	  Make a global readable_keyname as well.
6414
6415
	* src/vscreen/config/keybindings.cc, src/vscreen/config/keybindings.h:
6416
6417
	  Oops, properly declare the new keyname function.
6418
6419
	* src/broken_indicator.cc, src/solution_dialog.cc, src/ui.cc, src/vscreen/testvscreen.cc, src/vscreen/vs_menu.cc:
6420
6421
	  Use the readable_keyname function as appropriate.
6422
6423
	* src/vscreen/config/keybindings.cc, src/vscreen/config/keybindings.h:
6424
6425
	  Add a 'readable_keyname' function, whose current useful feature
6426
	  is that it maps ',' to ',' instead of 'comma'.
6427
6428
	* src/pkg_item.cc:
6429
6430
	  Reflow some manually wrapped messages.
6431
6432
	* src/vscreen/vs_util.cc, src/vscreen/vs_util.h:
6433
6434
	  Add a vs_dialog_string variant that allows raw fragments to be
6435
	  passed.
6436
6437
	* src/download_bar.cc, src/download_list.cc:
6438
6439
	  Word the question less awkwardly.
6440
6441
	* src/download_bar.cc, src/download_list.cc:
6442
6443
	  Flow the other media-change question, and get rid of an
6444
	  unnecessary newline in both media-change questions (since the
6445
	  text is wrapped now, there's no need to break after the first
6446
	  half).
6447
6448
2005-04-26  Daniel Burrows  <dburrows@debian.org>
6449
6450
	* src/download_bar.cc:
6451
6452
	  Flow the media-change question.
6453
6454
	* src/ui.cc:
6455
6456
	  Also flow the query regarding switching to the root account.
6457
6458
	* src/ui.cc:
6459
6460
	  Wrap the menu descriptions in the status area and eliminate some
6461
	  literal newlines (need to get rid of other literal newlines
6462
	  elsewhere in the program...)
6463
6464
	* src/vscreen/vs_label.cc:
6465
6466
	  Implement the fragment set_text and fix a memory leak.
6467
6468
	* src/vscreen/vs_label.cc:
6469
6470
	  When no attribute is provided, the widget's background is used
6471
	  to set default text attributes.
6472
6473
	* src/vscreen/vs_util.cc:
6474
6475
	  Fix the canned dialogs to properly initialize the attributes of
6476
	  their labels.
6477
6478
	* src/vscreen/testvscreen.cc:
6479
6480
	  Fix the label test.
6481
6482
	* src/vscreen/testvscreen.cc, src/vscreen/vs_minibuf_win.cc, src/vscreen/vs_label.cc, src/vscreen/vs_label.h:
6483
6484
	  Add a attribute-less set_text; fix various places where it needs
6485
	  to not be used.
6486
6487
	* src/vscreen/vs_label.cc, src/vscreen/vs_label.h:
6488
6489
	  Make labels use fragments internally.  IMPORTANT: this means
6490
	  that implicit interpretation of \n and \t no longer works...
6491
6492
	* src/apt_options.cc:
6493
6494
	  Use FILL appropriately so the buttons at the bottom of the
6495
	  options dialogs get appropriately centered.
6496
6497
	* src/ui.cc:
6498
6499
	  Use FILL so that we get a display that actually works.
6500
6501
	* src/pkg_view.cc:
6502
6503
	  When setting up the description, insert all widgets with
6504
	  EXPAND/FILL.
6505
6506
	* src/vscreen/testvscreen.cc:
6507
6508
	  Fix the test program's use of EXPAND/FILL.
6509
6510
	* src/vscreen/vs_table.cc:
6511
6512
	  Change the semantics of FILL/EXPAND: EXPAND only changes whether
6513
	  a widget's row can be expanded; in order to expand the widget
6514
	  itself you must also specify FILL.  For backwards compatibility
6515
	  and ease of use, the non-opts add_widget sets FILL if EXPAND is
6516
	  set.
6517
6518
	* src/apt_options.cc:
6519
6520
	  Put the Ok/Cancel button in a separate table.
6521
6522
	* src/apt_config_widgets.cc:
6523
6524
	  Flow the text in the configuration button labels.
6525
6526
	* src/vscreen/vs_togglebutton.cc, src/vscreen/vs_togglebutton.h:
6527
6528
	  For multiline toggles, make sure to put the cursor on the line
6529
	  containing the toggle button.  Also, choose that line according
6530
	  to the widget size, not the text layout size; if the widget is
6531
	  smaller than the text layout, only step up to its height when
6532
	  drawing.
6533
6534
	* src/vscreen/fragment_cache.cc, src/vscreen/fragment_cache.h, src/vscreen/vs_button.cc, src/vscreen/vs_button.h, src/vscreen/vs_togglebutton.cc:
6535
6536
	  Get the cache working, and use it to hold the fragments of
6537
	  buttons.
6538
6539
	* src/vscreen/fragment_cache.cc, src/vscreen/fragment_cache.h:
6540
6541
	  Add a special intermediate fragment widget that caches the
6542
	  output of its contents.
6543
6544
	* src/vscreen/vs_togglebutton.cc, src/vscreen/vs_togglebutton.h:
6545
6546
	  Fix the display of toggle buttons; in particular, make sure the
6547
	  "check" gets lined up in the center of the button.
6548
6549
	* src/vscreen/testvscreen.cc:
6550
6551
	  In the button test screen, use different settings to insert the
6552
	  various buttons; make sure the buttons are center-aligned.
6553
6554
	* src/vscreen/vs_button.cc:
6555
6556
	  Fix multi-line push-buttons.
6557
6558
	* src/vscreen/testvscreen.cc:
6559
6560
	  Test multi-line fragments.
6561
6562
	* src/vscreen/testvscreen.cc:
6563
6564
	  Test using actual fragments in button labels.
6565
6566
	* src/vscreen/vs_togglebutton.cc:
6567
6568
	  Make sure the right half of the toggle button's check gets
6569
	  displayed.
6570
6571
	* src/vs_button.cc:
6572
6573
	  Don't go into infinite loops drawing buttons.
6574
6575
	* src/vscreen/vs_button.cc, src/vscreen/vs_button.h, src/vscreen/vs_togglebutton.cc, src/vscreen/vs_togglebutton.h:
6576
6577
	  Add basic support for using fragments as button labels.
6578
6579
	* src/vscreen/fragment_contents.h:
6580
6581
	  Make size() const.
6582
6583
	* src/ui.cc:
6584
6585
	  Oops, actually show a preview after auto-fixing.
6586
6587
	* src/solution_fragment.cc:
6588
6589
	  Don't require that the solution is a sensible solution right
6590
	  this instant; this allows a fragment describing an
6591
	  already-applied solution to be generated.
6592
6593
	* src/ui.cc:
6594
6595
	  Eliminate all uses of try_fix_broken() in the pre-installation
6596
	  phase; in the process, factored out a bunch of common code from
6597
	  some of the preview setup functions.
6598
6599
	* src/generic/aptcache.h:
6600
6601
	  Pack the extended state information more tightly using field
6602
	  widths.
6603
6604
	* src/vscreen/fragment.cc:
6605
6606
	  For more correctness, tie the cache to the last seen
6607
	  indentations.  (only the last values are preserved because I
6608
	  expect them never to change; this is so that in case they do for
6609
	  some odd reason, the results are still correct)
6610
6611
	* src/vscreen/fragment.cc:
6612
6613
	  Fix sequence_fragment::trailing_width to return the correct
6614
	  value (previously, it would always return 0, due to an
6615
	  accidental bool -> int conversion).
6616
6617
	* src/solution_dialog.cc:
6618
6619
	  Make the solution dialog disappear when the user presses the
6620
	  apply key.
6621
6622
	* src/solution_fragment.cc:
6623
6624
	  Put parens around archives, don't uselessly translate format
6625
	  strings.
6626
6627
	* src/vscreen/vs_table.cc:
6628
6629
	  Fix a memory leak -- vs_tables didn't delete their children.
6630
6631
	* src/vscreen/fragment.cc:
6632
6633
	  Slightly fix the way sequence fragments calculate their width.
6634
6635
	* src/solution_fragment.cc:
6636
6637
	  Fix some missing newlines in the solution fragment formatting.
6638
6639
	* src/cmdline/cmdline_show.cc, src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/vs_layout_item.cc, src/vscreen/vs_text_layout.cc:
6640
6641
	  Make the text layout algorithm also take indentation into
6642
	  account.
6643
6644
	* src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/vs_text_layout.cc:
6645
6646
	  Adjust the fragment width calculation to properly take
6647
	  indentation into account.
6648
6649
	* src/solution_dialog.cc:
6650
6651
	  Move the buttons into a separate "box" table, and add a
6652
	  scrollbar to the solution dialog.
6653
6654
2005-04-25  Daniel Burrows  <dburrows@debian.org>
6655
6656
	* src/solution_dialog.cc:
6657
6658
	  Disable reverse-video for now, till I get proper support for
6659
	  cascading video attributes (otherwise I lose the bold attribute
6660
	  on the headers of the various sections, if that makes sense..)
6661
6662
	* src/vscreen/fragment.cc:
6663
6664
	  Make the max-width calculation more obviously correct.
6665
6666
	* src/vscreen/vs_text_layout.cc:
6667
6668
	  When the text layout's fragment changes, queue a full layout run
6669
	  (not just an update).
6670
6671
	* src/solution_dialog:
6672
6673
	  Make the dialog "dialog colored" in the usual hacky way.
6674
6675
	* src/solution_dialog.cc, src/ui.cc, src/ui.h:
6676
6677
	  Add some pushable buttons to issue solution-viewing commands.
6678
6679
	* src/ui.cc:
6680
6681
	  Pop up an examination dialog when the user presses 'e'.
6682
6683
	* src/broken_indicator.cc, src/solution_dialog.cc, src/solution_dialog.h:
6684
6685
	  Add a start on a dynamically updating solution dialog.  The
6686
	  change to broken_indicator just removes an unnecessary
6687
	  translatable format string (now what's translated is an argument
6688
	  to the format string).
6689
6690
2005-04-23  Daniel Burrows  <dburrows@debian.org>
6691
6692
	* src/broken_indicator.cc:
6693
6694
	  Actually indicate how many downgrades are needed.
6695
6696
	* src/generic/aptitude_resolver.h:
6697
6698
	  Fix a silly logic error in the revdep_iterator that caused
6699
	  reverse dependencies through Provides: to not be considered.
6700
6701
	* src/generic/aptitude_resolver.h:
6702
6703
	  Don't generate inapplicable revdeps, even if they're the first
6704
	  item in the list.
6705
6706
	* src/generic/problemresolver/problemresolver.h:
6707
6708
	  Fix the solution dumper to work properly on non-cout streams too
6709
	  (it called cout instead of its parameter in a few places).
6710
6711
	* src/generic/aptcache.h:
6712
6713
	  Remove the need to include problemresolver.h from every single
6714
	  source file by using the fact that templates can be forward
6715
	  declared.
6716
6717
	* src/generic/aptcache.cc:
6718
6719
	  Deprioritize keeps relative to installs/upgrades: the user
6720
	  rarely wants us to cancel his/her decisions! (removals are still
6721
	  deep-sixed unless abolutely necessary, though) Also, greatly
6722
	  *decrease* the bonus for preserving automatic packages.
6723
6724
	* src/ui.cc:
6725
6726
	  Put the broken indicator above the status area, not in it.
6727
6728
	* src/broken_indicator.cc:
6729
6730
	  Don't display the total number of calculated solutions unless
6731
	  they've been exhausted (I think that's likely to be confusing).
6732
6733
	* src/broken_indicator.cc:
6734
6735
	  Capitalize the command names in the indicator, to match the
6736
	  hints at the top of the screen, and make then i18nable.
6737
6738
	* src/broken_indicator.cc:
6739
6740
	  Make the whole broken indicator red, not just the text.
6741
6742
2005-04-22  Daniel Burrows  <dburrows@debian.org>
6743
6744
	* src/generic/aptcache.cc:
6745
6746
	  Avoid the dread assertion failure in a slightly hacky way.
6747
6748
	* src/cmdline/cmdline_do_action.cc, src/generic/aptcache.cc, src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h, src/generic/problemresolver/problemresolver.h:
6749
6750
	  Instead of automatically floating complete solutions to the head
6751
	  of the queue, apply a configurable bonus score to them (and in
6752
	  fact it's set rather low by default).  This should avoid
6753
	  situations where a really bad solution happens to appear before
6754
	  a pretty good one.
6755
6756
	  Also, remove the now-useless debugging invocation of the
6757
	  resolver.
6758
6759
	* src/solution_fragment.cc:
6760
6761
	  Display the score of the solution.
6762
6763
	* src/generic/aptcache.cc:
6764
6765
	  Tweak the default scores: be slightly less hostile to changing
6766
	  the user's selections, and greatly increase the penalties for
6767
	  broken deps and for removing packages.
6768
6769
	* src/generic/aptcache.cc:
6770
6771
	  Fix a reversed comparison in solutions_exhausted.
6772
6773
	* src/generic/problemresolver/problemresolver.h:
6774
6775
	  For more correctness, always throw NoMoreSolutions when we're
6776
	  out of potential solutions, even if the last element of the open
6777
	  queue is a solution.
6778
6779
	* src/broken_indicator.cc:
6780
6781
	  Incorporate the solution counts into the suggestion bar.
6782
6783
	* src/generic/aptcache.cc, src/generic/aptcache.h:
6784
6785
	  Add routines to extract more information about cached solutions
6786
	  (to add to the suggestion bar).
6787
6788
	* src/generic/aptcache.cc:
6789
6790
	  In next_solution(), always advance to the newly created solution
6791
	  after generating it, and signal that the selection changed.
6792
6793
	* src/solution_fragment.cc, src/solution_fragment.h, src/ui.cc:
6794
6795
	  Add preliminary code to display a solution, and hook it up in
6796
	  the simplest possible way.
6797
6798
	* src/broken_indicator.cc:
6799
6800
	  Fix an assertion failure due to an incorrect assumption.
6801
6802
	* src/broken_indicator.cc:
6803
6804
	  Use the new signal to reset the broken indicator at appropriate
6805
	  times.
6806
6807
	* src/generic/aptcache.cc:
6808
6809
	  Actually perform the function call so everything compiles.
6810
6811
	* src/generic/aptcache.cc, src/generic/aptcache.h:
6812
6813
	  Add a signal that gets called whenever the currently selected
6814
	  solution is changed, and make sure to set selected_solution to 0
6815
	  when we insert the first solution.
6816
6817
	* src/ui.cc:
6818
6819
	  In do_next_solution(), handle exceptional situations from the
6820
	  problem resolver.
6821
6822
	* src/ui.cc:
6823
6824
	  Hook up the various solution-related commands to do *something*,
6825
	  although some of them are still incomplete.
6826
6827
	* src/generic/aptcache.h:
6828
6829
	  Clarify the documentation of apply_current_solution.
6830
6831
	* src/generic/aptcache.cc, src/generic/aptcache.h:
6832
6833
	  Add an interface routine to easily apply the currently selected
6834
	  solution.
6835
6836
	* src/defaults.cc:
6837
6838
	  Set up default key bindings for the problem resolver.
6839
6840
	* src/broken_indicator.cc:
6841
6842
	  Also display keeps, don't display ungrammatical text for
6843
	  singular actions, and move the key hints to the next line.
6844
6845
	* src/pkg_view.cc, src/ui.cc:
6846
6847
	  Move the broken indicator into the status bar area.
6848
6849
	* src/broken_indicator.cc:
6850
6851
	  Hide an inactive indicator; correctly handle cache reloading.
6852
6853
	* src/generic/problemresolver/problemresolver.h:
6854
6855
	  Add a method on solutions to explicitly invalidate them.
6856
6857
	* src/broken_indicator.cc: 
6858
6859
	  Doh, fix a compile error.
6860
6861
	* src/generic/aptcache.cc:
6862
6863
	  Add yet one more missing call to package_state_changed (in
6864
	  end_action_group).
6865
6866
	* src/broken_indicator.cc:
6867
6868
	  Add a sanity-check.
6869
6870
	* src/generic/aptcache.cc:
6871
6872
	  Also call the package-state-changed signal after an
6873
	  installation.
6874
6875
	* src/broken_indicator.cc:
6876
6877
	  Use the new signal to update the broken indicator.
6878
6879
	* src/generic/aptcache.cc, src/generic/aptcache.h, src/main.cc:
6880
6881
	  Make "package_state_changed" an argumentless signal, and call it
6882
	  whenever a package's install version changes.  Also added a
6883
	  missing discard_resolver()/create_resolver() pair in
6884
	  set_candidate_version.
6885
6886
	* src/generic/problemresolver/problemresolver.h:
6887
6888
	  Add a flag to enable or disable debugging; debugging is disabled
6889
	  by default.
6890
6891
2005-04-21  Daniel Burrows  <dburrows@debian.org>
6892
6893
	* src/broken_indicator.cc:
6894
6895
	  Oops, blank the indicator by making it an empty fragment, not by
6896
	  making it NULL.
6897
6898
	* src/broken_indicator.cc, src/pkg_view.cc:
6899
6900
	  Hook up the broken indicator to the package-view class, and do
6901
	  some awful hacking to make it sort of update.  Needs work, such
6902
	  as actually getting the package_state_changed signal or
6903
	  something similar hooked up.
6904
6905
	  Also, fix the guard against a NULL cache so we don't crash on
6906
	  startup (doh).
6907
6908
	* src/Makefile.am, src/broken_indicator.cc, src/broken_indicator.h, src/generic/aptitude_resolver.h:
6909
6910
	  Write a first draft of the widget to display information about
6911
	  the current proposed solution.  Also made some methods const
6912
	  that ought to be.  sleepy.
6913
6914
	* src/generic/aptcache.cc:
6915
6916
	  Look up BrokenCount on "this", not on the global apt_cache_file
6917
	  variable (which might not be initialized yet).
6918
6919
	* src/pkg_view.cc:
6920
6921
	  Ignore both horizontal and vertical size requests for main
6922
	  widgets/descriptions (should make vertical-split themes work --
6923
	  I believe they were broken otherwise..)
6924
6925
	* src/generic/aptcache.cc, src/generic/aptcache.h:
6926
6927
	  Write rudimentary code for maintaining a set of known solutions
6928
	  to any extant problems (expanded on demand).
6929
6930
	* src/generic/problemresolver/problemresolver.h:
6931
6932
	  Add a function that returns "true" if the open queue has been
6933
	  exhausted.
6934
6935
	* src/generic/problemresolver/problemresolver.h:
6936
6937
	  Once a resolver examines all possible solutions, it now returns
6938
	  "no more solutions" permanently until you call a "reset" method
6939
	  (which clears out all scores and empties the open and closed
6940
	  queues).
6941
6942
	* src/generic/problemresolver/problemresolver.h:
6943
6944
	  Lift the "solution" class out of the generic_problem_resolver
6945
	  class so I can forward-declare it (and hence declare pointers
6946
	  and references to it in aptcache.h).
6947
6948
	* src/generic/aptitude_resolver.h:
6949
6950
	  Make the glue code functions static.
6951
6952
2005-04-20  Daniel Burrows  <dburrows@debian.org>
6953
6954
	* src/desc_parse.cc:
6955
6956
	  Make sure bullet whitespace-stripping includes the space that
6957
	  separates the bullet from the following text; position the
6958
	  initial parse location appropriately.  Paragraphs in lists get
6959
	  flowed now!
6960
6961
	* src/desc_parse.cc:
6962
6963
	  Base the *output* indent level of bulleted text on the number of
6964
	  bullet levels, not the input indent level.
6965
6966
	* src/desc_parse.cc:
6967
6968
	  Allow bulleted lists that are indented more than 2 spaces.
6969
	  Don't mangle lists and literal lines that immediately follow a
6970
	  paragraph.
6971
6972
	* src/desc_parse.cc:
6973
6974
	  Fix a silly thinko in the generation of bullets that was causing
6975
	  bullets to appear twice in the output.
6976
6977
	* src/desc_parse.cc:
6978
6979
	  Add a missing "break".
6980
6981
	* src/desc_parse.cc:
6982
6983
	  Initial implementation of automagic bullet detection.
6984
	  Buggy.
6985
6986
	* src/desc_parse.cc:
6987
6988
	  Rework make_desc_fragment to add theoretical support for
6989
	  indentation levels in the input description.  No change should
6990
	  occur in the resulting text as a result of this modification.
6991
6992
	* src/desc_parse.cc:
6993
6994
	  Include comments on how lists ought to be handled, and hardwrap
6995
	  preformatted lines as per Policy.
6996
6997
	* src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/testvscreen.cc:
6998
6999
	  Add a "hardwrapbox" which wraps lines hard to the fragment's
7000
	  width (rather than doing word-wrapping).
7001
7002
	* src/generic/problemresolver/model.tex:
7003
7004
	  Add some discussion of the theoretical basis for the new problem
7005
	  resolver.
7006
7007
2005-04-10  Daniel Burrows  <dburrows@debian.org>
7008
7009
	* src/cmdline/cmdline_do_action.cc, src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h:
7010
7011
	  Add and use a feature to easily apply heavy penalties to the
7012
	  removal of Essential packages.
7013
7014
	* src/generic/problemresolver/problemresolver.h:
7015
7016
	  Add missing "const"s to some function prototypes, comment out
7017
	  some non-generic debug code.
7018
7019
	* src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h:
7020
7021
	  Rename add_scores -> add_actions_scores, and write
7022
	  add_priority_scores (tweaks scores according to Priority).
7023
7024
	* src/generic/aptitude_resolver.h:
7025
7026
	  Always normalize solver_iterators.  This should fix the problem
7027
	  where Conflicts would include the first version of the
7028
	  conflicted package as a solver.
7029
7030
	* src/generic/aptitude_resolver.h:
7031
7032
	  Only iterate over critical revdeps (I was iterating over *all*
7033
	  revdeps, which is what caused all the weirdness before).
7034
7035
	* src/generic/problemresolver/problemresolver.h:
7036
7037
	  Add more debugging, to make it easy to find out where
7038
	  unresolvable deps are coming from.
7039
7040
	* src/generic/aptitude_resolver.h:
7041
7042
	  Add more accessors, the better to debug it with.
7043
7044
2005-04-09  Daniel Burrows  <dburrows@debian.org>
7045
7046
	* src/cmdline/cmdline_do_action.cc:
7047
7048
	  Penalize, don't reward, broken packages and long solutions.
7049
7050
	* src/generic/problemresolver/problemresolver.h:
7051
7052
	  Fix a big thinko: always enqueue solvers for *both* sides of a
7053
	  depends!
7054
7055
	* src/generic/aptitude_resolver.h:
7056
7057
	  Fix the version sent to the problem resolver (should be
7058
	  pkg->ID+VersionCount, not pkg->ID+PackageCount).
7059
7060
	* src/generic/aptitude_resolver.h:
7061
7062
	  Report the correct adjusted version count to the problem
7063
	  resolver.
7064
7065
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/test.cc:
7066
7067
	  Add asserts in order to try and track down where the IDs that
7068
	  are too large for the version array are coming from.
7069
7070
	* src/generic/problemresolver/problemresolver.h:
7071
7072
	  Use map's operator< to order solutions rather than hacking my
7073
	  own.  Has the benefit of fixing one known and at least one
7074
	  unknown bug in the ordering of solutions.  Closed solutions
7075
	  actually get dropped now.
7076
7077
	* src/cmdline/cmdline_do_action.cc:
7078
7079
	  Summarize the proposed solutions as debug output.
7080
7081
	* src/generic/aptitude_resolver.h:
7082
7083
	  Fix an extremely stupid bug (== vs !=) in
7084
	  aptitude_resolver_version::operator!=.
7085
7086
	* src/generic/problemresolver/problemresolver.h:
7087
7088
	  Add some more guards against doubly-changing packages.
7089
7090
	* src/generic/aptitude_resolver.h:
7091
7092
	  Fix some backwards logic that was used when finding broken deps
7093
	  (it only found *non*-broken deps).
7094
7095
	* src/generic/aptitude_resolver.h:
7096
7097
	  Fix an infinite loop in the revdep_iterator.
7098
7099
	* src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h:
7100
7101
	  Add spacing between the components of a depends list.
7102
7103
	* src/generic/aptitude_resolver.h:
7104
7105
	  Don't spin forever looking for broken deps.
7106
7107
	* src/generic/aptitude_resolver.h:
7108
7109
	  Fix a silly segfault by initializing a dep as I meant to do in
7110
	  the first place.
7111
7112
	* src/generic/aptitude_resolver.cc:
7113
7114
	  Fix the operator<< on deps to be more useful.
7115
7116
	* src/generic/aptitude_resolver.h:
7117
7118
	  Fix an infinite recursion bug in the broken-dep iterator.
7119
7120
	* src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h:
7121
7122
	  Fix some multiply-defined functions by making them inline and/or
7123
	  moving them to the .cc file.
7124
7125
	* src/cmdline/cmdline_do_action.cc:
7126
7127
	  On dist-upgrade, etc, run the new resolver.  Its output is
7128
	  discarded -- this is just to see how it works on real problems.
7129
7130
	* src/generic/aptitude_resolver.h, src/generic/problemresolver/problemresolver.h:
7131
7132
	  Further fixes for constness, typing problems.
7133
7134
	* src/generic/aptitude_resolver.h, src/generic/problemresolver/problemresolver.h:
7135
7136
	  Fix various errors in the code that cropped up while trying to
7137
	  assemble everything.
7138
7139
	* src/generic/aptitude_resolver.h:
7140
7141
	  Use public inheritance from generic_problem_resolver (d'oh).
7142
7143
	* src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h:
7144
7145
	  Add missing get_version_count(), fill in and fix the constructor
7146
	  of aptitude_resolver.
7147
7148
	* src/cmdline/cmdline_dump_resolver.cc:
7149
7150
	  Update the #include of aptitude_resolver.h to point at the new
7151
	  location.
7152
7153
	* src/generic/Makefile.am, src/generic/aptitude_resolver.cc, src/generic/aptitude_resolver.h, src/generic/problemresolver/problemresolver.h:
7154
7155
	  Write the body of add_scores(), fix some problems with the
7156
	  generic resolver that came up in the process, and link it into
7157
	  the Makefile.
7158
7159
	* src/generic/problemresolver/aptitude_resolver.h, src/generic/aptitude_resolver.h:
7160
7161
	  Move the aptitude_resolver file into generic/ so that
7162
	  I can easily incorporate a .cc file into the main program.
7163
7164
	* src/generic/problemresolver/aptitude_resolver.h:
7165
7166
	  Write up a prototype for a super-duper-scoring-function.
7167
7168
	* src/generic/problemresolver/problemresolver.h:
7169
7170
	  When dumping the universe, include the syntactic sugar arrows so
7171
	  that we can parse it back in.
7172
7173
	* src/generic/problemresolver/aptitude_resolver.h:
7174
7175
	  Make sure to never ever ever produce noncritical deps in a dump.
7176
7177
	* src/cmdline/cmdline_dump_resolver.cc:
7178
7179
	  Always return success after a dump.
7180
7181
	* src/generic/problemresolver/aptitude_resolver.h:
7182
7183
	  Make sure to use the correct solver_iterator constructor variant
7184
	  for each appropriate case.
7185
7186
	  In dep_iterator's ++, make sure to call normalize in *all*
7187
	  cases, not just the case of advancing the dep ptr.  For
7188
	  Conflicts, always advance by exactly one step.
7189
7190
	* src/generic/problemresolver/aptitude_resolver.h:
7191
7192
	  When normalizing solver-iterators, include the code to advance
7193
	  the dependency inside the loop that runs till we run out of deps
7194
	  (so the program doesn't go into an infinite loop..oops..).
7195
7196
	* src/generic/problemresolver/aptitude_resolver.h:
7197
7198
	  Add code to drop self-conflicts.
7199
7200
	* src/generic/problemresolver/aptitude_resolver.h:
7201
7202
	  Drastically overhaul how Conflicts are handled.  Now each
7203
	  Conflicts line generates a separate dependency for every listed
7204
	  package *and* one dependency for each provider of every listed
7205
	  package.  This is the only sensible way to handle Conflicts in
7206
	  the presence of virtual deps.
7207
7208
	* src/generic/problemresolver/aptitude_resolver.h:
7209
7210
	  Actually, no need to test dep_lst.end() -- just correct
7211
	  the erroneous test of the OR bit (I hate C++).
7212
7213
	* src/generic/problemresolver/aptitude_resolver.h:
7214
7215
	  Assert that dep_lst is non-end BEFORE possibly pushing it off
7216
	  the end, make dep_lst's end-ness part of the end() condition for
7217
	  solver_iterators, and test against end() instead of finished.
7218
7219
	* src/generic/problemresolver/aptitude_resolver.h:
7220
7221
	  Fix the dep_iterator to iterate over all dependencies instead of
7222
	  none.
7223
7224
	* src/generic/problemresolver/test.cc:
7225
7226
	  Run dump_universe on input universes, both for diagnostics
7227
	  and to test dump_universe.
7228
7229
	* src/generic/problemresolver/aptitude_resolver.h:
7230
7231
	  Fix the dep_iterator to not blow up.
7232
7233
	* src/generic/problemresolver/aptitude_resolver.h:
7234
7235
	  Make sure to include UNINST in version iteration (avoid
7236
	  adding an extraneous bool by overloading pkg to track
7237
	  end-ness).
7238
7239
	* src/generic/problemresolver/problemresolver.h:
7240
7241
	  Fix the dump output (again) to comply with the input spec.
7242
7243
	* src/main.cc, src/cmdline/Makefile.am, src/cmdline/cmdline_dump_resolver.cc, src/cmdline/cmdline_dump_resolver.h:
7244
7245
	  Add a debugging command to dump the resolver's state
7246
	  (currently quite primitive).
7247
7248
	* src/generic/problemresolver/aptitude_resolver.h:
7249
7250
	  Fix some more missing stuff that turned up while trying to use
7251
	  the aptitude resolver.
7252
7253
	* src/generic/problemresolver/aptitude_resolver.h:
7254
7255
	  Add a preliminary APT-based resolver universe (totally untested, but it
7256
	  sort of compiles).
7257
7258
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/test.cc:
7259
7260
	  Make changes necessary to support apt universes in a simple way.
7261
	  In particular, the exported iterators now support end() methods
7262
	  and their containers only provide a _begin() method (this allows
7263
	  the iterators to be built on standard APT iterators).
7264
7265
2005-04-08  Daniel Burrows  <dburrows@debian.org>
7266
7267
	* src/generic/problemresolver/problemresolver.h:
7268
7269
	  Use operator<, not get_id(), to compare versions; use the
7270
	  fact that version comparisons include package comparisons.
7271
7272
	* src/generic/problemresolver/problemresolver.h:
7273
7274
	  Enable the closed queue, and fix solution_contents_compare to
7275
	  not treat all solutions as equal to one another.
7276
7277
	* src/generic/problemresolver/test.cc:
7278
7279
	  Overhaul the test code to make the test fully controlled
7280
	  by its input file -- including support for specifying
7281
	  tests to run on the universe and the expected results.
7282
7283
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/test.cc:
7284
7285
	  Make dump_universe generic, move it to problemresolver.h, and
7286
	  output exactly the information expected by the test parser.
7287
7288
2005-04-07  Daniel Burrows  <dburrows@debian.org>
7289
7290
	* src/generic/problemresolver/problemresolver.h:
7291
7292
	  Remove a bunch of uninteresting debugging output, set up
7293
	  indentation to make it clearer what's happening.
7294
7295
	* src/generic/problemresolver/test.cc, src/generic/problemresolver/test1.txt:
7296
7297
	  Properly support conflicts in test files, make the simple test
7298
	  more interesting.
7299
7300
	* src/generic/problemresolver/test.cc, src/generic/problemresolver/test1.txt:
7301
7302
	  The current version must now be given after the list of versions
7303
	  (makes it easier to change the current version, hopefully).
7304
7305
	* src/generic/problemresolver/test.cc:
7306
7307
	  Fix a rather silly mistake that caused dummy_dep::broken()
7308
	  to return incorrect answers.
7309
7310
	* src/generic/problemresolver/test.cc:
7311
7312
	  Fix the broken_dep_iter -- it would always claim the
7313
	  first thing in the list was broken.
7314
7315
	* src/generic/problemresolver/problemresolver.h:
7316
7317
	  Add yet more debugging code.
7318
7319
	* src/generic/problemresolver/test.cc:
7320
7321
	  Add more debugging code; make dump() dump all info by default.
7322
7323
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/test.cc:
7324
7325
	  Make the broken dependency list a unique set (ow, big runtime
7326
	  hit, but otherwise solutions where a single broken dependency is
7327
	  listed many times will be de-prioritized, which shouldn't always
7328
	  happen).
7329
7330
	* src/generic/problemresolver/test.cc:
7331
7332
	  Print out the solution when we find one.
7333
7334
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/test.cc:
7335
7336
	  Fix the assertion failure: when trying to nullify the LHS of a
7337
	  depends, install everything *but* the depending version.  Also
7338
	  touched up the debug output.
7339
7340
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/test.cc:
7341
7342
	  Fix the segfault by adding the missing "&", and tweak the output
7343
	  code a bit.
7344
7345
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/test.cc:
7346
7347
	  Add some debugging code to try to track down the current
7348
	  segfault.
7349
7350
	* src/generic/problemresolver/test.cc:
7351
7352
	  Fix the broken_dep_iterator to actually increment
7353
7354
	* src/generic/problemresolver/problemresolver.h:
7355
7356
	  Actually decrement the max_steps counter, and make it
7357
	  signed to avoid accidents with -1==INT_MAX.
7358
7359
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/test.cc:
7360
7361
	  Finish writing the final method of the resolver, and
7362
	  make the changes (in both files) necessary to hook it
7363
	  up to the toy package system and get it to run.
7364
7365
	* src/generic/problemresolver/problemresolver.h, src/generic/problemresolver/test.cc:
7366
7367
	  Complete and compile the resolver ...... theoretically.
7368
	  Now it's time to watch it run reallllly sloowwwly
7369
	  and produce stoopid answers.
7370
7371
	* src/generic/problemresolver/problemresolver.h:
7372
7373
	  Start work on a currently broken problem resolver.
7374
7375
2005-04-06  Daniel Burrows  <dburrows@debian.org>
7376
7377
	* src/generic/problemresolver/test.cc:
7378
7379
	  It seems numerical IDs will be needed, add support
7380
	  for them.
7381
7382
	* configure.ac, src/generic/problemresolver/test.cc, src/generic/problemresolver/test1.txt:
7383
7384
	  Start adding code to try out some ideas about resolving
7385
	  dependency problems.
7386
7387
2005-03-09  Daniel Burrows  <dburrows@debian.org>
7388
7389
	* src/download_list.cc:
7390
7391
	  Make sure to run the message regarding failed downloads
7392
	  through fragf. (Closes: #298713)
7393
7394
2005-03-03  Daniel Burrows  <dburrows@debian.org>
7395
7396
	* src/vscreen/vs_util.cc:
7397
7398
	  Fix a crashing bug caused by trying to cast a slotarg
7399
	  instead of dereferencing it. (Closes: #293935)
7400
7401
2005-01-10  Daniel Burrows  <dburrows@debian.org>
7402
7403
	* doc/fr/Makefile.am:
7404
7405
	  Actually delete the generated manpage in the "clean" rule.
7406
7407
	* po/POTFILES.in:
7408
7409
	  Update with the current list of files in the source
7410
	  distribution.
7411
7412
	* configure.ac, NEWS:
7413
7414
	  Bump version number to 0.3.1.
7415
7416
	* doc/en/aptitude.xml:
7417
7418
	  Update the version number to 0.3.1, and explicitly state which
7419
	  version of libsigc++ is needed.
7420
7421
	* po/nl.po:
7422
7423
	  Merge up to r2879 (see entry below).
7424
7425
	* src/generic/apt.cc:
7426
7427
	  Whenever the cache is reloaded (with package states from the
7428
	  global file), immediately try to write back changes to package
7429
	  states (ie, dselect states).
7430
7431
	* src/generic/aptcache.cc:
7432
7433
	  Finally fix the notorious "aptitude removes stuff you installed
7434
	  with other package managers" bug.  Maybe.  The problem is: when
7435
	  dselect information was being read, aptitude would note changes
7436
	  to the dselect state and record them...but it *would not flag
7437
	  the cache as being dirty*.  As a result, when the user applied
7438
	  the naive process to remove some files from the system:
7439
7440
	  (a) Mark the files for removal
7441
	  (b) Execute the removal
7442
	  (c) Quit aptitude
7443
7444
	  aptitude would quit thinking that dpkg still wanted to install
7445
	  the files in question.  As a result, the next time aptitude
7446
	  started, it would notice that the dselect state disagreed with
7447
	  its own selection state -- but would then notice that the "old"
7448
	  dselect state also called for the packages to be installed, and
7449
	  assume that nothing changed.
7450
7451
	  The fix -- dirtying the cache -- isn't perfect: if the user ^Cs
7452
	  aptitude after installing software but before aptitude saves the
7453
	  new cache state, the bug will reappear.  However, at least the
7454
	  common case works now.
7455
7456
	* src/ui.cc:
7457
7458
	  Make the About box fragment-based, and make its copyright notice
7459
	  reflect the last 5 years.
7460
7461
	* src/ui.cc, src/pkg_item.cc, src/pkg_tree.cc, src/pkg_view.cc:
7462
7463
	  Lots of stuff to handle slot type conversions in appropriate
7464
	  ways for sigc++ 2.0.  The program compiles and seems to work now.
7465
7466
	* src/vscreen/vs_menu.cc:
7467
7468
	  Apparently in sigc++ 2.0, you can cast a slot<bool> directly to
7469
	  a slot<void> and vice versa (?!?!?!), so overloading a function
7470
	  with both and hiding the slot<bool>'s return value is
7471
	  unnecessary and leads to compiler errors.
7472
7473
	* src/vscreen/slotarg.h:
7474
7475
	  Use a conversion operator instead of a constructor to convert
7476
	  between slotarg types.
7477
7478
	* src/pkg_item.cc:
7479
7480
	  Convert a use of slotarg.
7481
7482
	* src/edit_pkg_hier.cc:
7483
7484
	  Add missing include for bind.
7485
7486
	* src/download_list.cc:
7487
7488
	  Convert uses of slotarg, add dereferences.
7489
7490
	* src/vscreen/slotarg.h:
7491
7492
	  Also allow non-const dereferencing of slotarg.
7493
7494
2005-01-09  Daniel Burrows  <dburrows@debian.org>
7495
7496
	* src/mine/cmine.cc:
7497
7498
	  Really convert all explicit uses of Slot*Arg*.
7499
7500
	* src/download_bar.cc, src/download_list.cc, src/ui.cc, src/download_list.h, src/download.cc, src/ui.h, src/download_screen.cc:
7501
7502
	  Correct all explicit uses of Slot*Arg* to the new API.
7503
7504
	* src/vscreen/slotarg.h, src/vscreen/vs_util.h, src/vscreen/vs_menu.h, src/vscreen/testvscreen.cc, src/vscreen/vs_util.cc:
7505
7506
	  Overhaul the SlotArg system to (a) make the names fit in better
7507
	  (no more StudlyCaps), and (b) make it easier to explicitly
7508
	  create a slotarg (a simple overloaded "arg" routine does it)
7509
7510
	* src/download_list.cc, src/download_screen.cc:
7511
7512
	  More of the same.
7513
7514
	* src/download.cc, src/download_bar.cc:
7515
7516
	  Make some SlotArg instantiations explicit; fix a #include
7517
	  directive for ptr_fun.
7518
7519
	* src/mine/cmine.cc:
7520
7521
	  Make two SlotArg instantiations explicit; fix an incorrect
7522
	  argument order bug in a bind invocation.
7523
7524
	* src/apt_options.cc, src/cmdline/cmdline_progress.cc, src/pkg_view.cc, src/ui.cc:
7525
7526
	  Stop using sigc::ref here too.  Apparently it works on
7527
	  references, not pointers, and changing the whole program to
7528
	  references would be ridiculous.  When this causes a problem,
7529
	  I'll worry about it.
7530
7531
	* src/vscreen/testvscreen.cc, src/vscreen/vs_bin.cc, src/vscreen/vs_menubar.cc, src/vscreen/vs_multiplex.cc, src/vscreen/vs_radiogroup.cc, src/vscreen/vs_stacked.cc, src/vscreen/vs_table.cc, src/vscreen/vs_util.cc:
7532
7533
	  Stop using sigc::ref, it causes weird problems that I don't
7534
	  understand.  testvscreen compiles and starts now! (haven't
7535
	  fully checked it out yet)
7536
7537
	* src/vscreen/testvscreen.cc:
7538
7539
	  Apparently Slot0Args have to be explicitly instantiated now :(.
7540
7541
	* src/vscreen/vs_tree.cc:
7542
7543
	  Correct a #include of ptr_fun.h.
7544
7545
	* src/vscreen/vs_util.cc:
7546
7547
	  Update to the explicit-dereference slotarg API.
7548
7549
	* src/vscreen/vs_size_box.cc:
7550
7551
	  Correct a #include of mem_fun.h.
7552
7553
	* src/vscreen/vs_radiogroup.h:
7554
7555
	  Add a missing #include of sigc++/connection.h.
7556
7557
	* src/vscreen/slotarg, src/vscreen/vs_menu.cc:
7558
7559
	  Require explicit dereferencing of slot-arguments, and convert
7560
	  vs_menuto use it.
7561
7562
	* src/vscreen/vs_size_box.cc:
7563
7564
	  Correct the include of mem_fun.h
7565
7566
	* src/vscreen/vs_menu.cc:
7567
7568
	  #include retype_return.h, not hide.h, for the hide_return
7569
	  adaptor.
7570
7571
	* aptcache.cc:
7572
7573
	  Explicitly type NULLs that are being bound so that the bind
7574
	  adaptors is instantiated with the correct types.	  
7575
7576
	* src/generic/aptcache.cc, src/vscreen/vs_bin.h, src/vscreen/vs_minibuf_win.h, src/vscreen/vs_stacked.h, src/vscreen/vs_table.h:
7577
7578
	  #include sigc++/connection.h to use sigc::connection.
7579
7580
	* src/vscren/bool_accumulate.h:
7581
7582
	  Use structs, not classes.
7583
7584
	* src/ui.cc, src/ui.h, src/vscreen/bool_marshal.h, src/vscreen/bool_accumulate.h, src/vscreen/vs_menu.h, src/vscreen/Makefile.am:
7585
7586
	  Move from the old Marshal API to the new accumulator API.
7587
7588
	* src/generic/config_signal.cc:
7589
7590
	  Correct #include of <sigc++/functors/mem_fun.h>
7591
7592
	* src/generic/aptcache.cc:
7593
7594
	  Add missing #include <sigc++/adaptors/bind.h>
7595
7596
	* src/generic/acqprogress.cc, src/generic/acqprogress.h:
7597
7598
	  Give acqtextstatus an explicit virtual destructor.
7599
7600
	* src/menu_redirect.h, src/generic/aptcache.cc, src/edit_pkg_hier.h, src/download_screen.cc, src/vscreen/vs_bin.h, src/vscreen/vs_minibuf_win.h, src/vscreen/vs_radiogroup.h, src/vscreen/vs_stacked.cc, src/vscreen/vs_stacked.h, src/vscreen/vs_table.cc, src/vscreen/vs_table.h, src/vscreen/vs_menu.cc:
7601
7602
	  Remove various references to namespace SigC.
7603
7604
	* src/pkg_tree.cc:
7605
7606
	  Remove an unnecessary #include.
7607
7608
	* src/download_bar.cc, src/apt_options.cc, src/download_list.cc, src/mine/cmine.cc, src/ui.cc, src/main.cc, src/edit_pkg_hier.cc, src/download.cc, src/cmdline/cmdline_util.cc, src/cmdline/cmdline_progress.cc, src/generic/config_signal.h, src/generic/config_signal.cc, src/generic/aptcache.cc, src/pkg_tree.cc, src/view_changelog.cc, src/pkg_view.cc, src/pkg_grouppolicy.cc, src/apt_info_tree.cc, src/vscreen/vs_menubar.cc, src/vscreen/vs_editline.cc, src/vscreen/vs_minibuf_win.cc, src/vscreen/vs_togglebutton.h, src/vscreen/vs_center.cc, src/vscreen/vs_text_layout.cc, src/vscreen/vs_size_box.cc, src/vscreen/vs_passthrough.cc, src/vscreen/vs_button.cc, src/vscreen/vs_stacked.cc, src/vscreen/vs_frame.cc, src/vscreen/vs_tree.cc, src/vscreen/vs_multiplex.cc, src/vscreen/vs_table.cc, src/vscreen/testvscreen.cc, src/vscreen/vs_pager.cc, src/vscreen/vs_menu.cc, src/vscreen/vs_transient.cc, src/vscreen/vs_util.cc:
7609
7610
	  Replace calls to SigC::slot with calls to sigc::ptr_fun and
7611
	  calls to sigc::mem_fun, as appropriate.
7612
7613
	* src/apt_options.cc, src/download_list.cc, src/mine/cmine.cc, src/ui.cc, src/edit_pkg_hier.cc, src/cmdline/cmdline_progress.cc, src/generic/config_signal.cc, src/generic/aptcache.cc, src/pkg_item.cc, src/pkg_tree.cc, src/pkg_view.cc, src/apt_info_tree.cc, src/vscreen/vs_menubar.cc, src/vscreen/vs_minibuf_win.cc, src/vscreen/vs_bin.cc, src/vscreen/vs_radiogroup.cc, src/vscreen/vs_stacked.cc, src/vscreen/vscreen_widget.cc, src/vscreen/vs_multiplex.cc, src/vscreen/vs_table.cc, src/vscreen/testvscreen.cc, src/vscreen/vs_menu.cc, src/vscreen/vs_util.cc
7614
7615
	  Replace uses of SigC::bind with sigc::bind, and start
7616
	  converting slot creation.
7617
7618
2005-01-08  Daniel Burrows  <dburrows@debian.org>
7619
7620
	* src/download_list.cc, src/ui.cc, src/apt_info_tree.h, src/pkg_tree.h, src/download_manager.h, src/cmdline_parse.h, src/pkg_subtree.h, src/pkg_grouppolicy.h, src/pkg_item_with_subtree.h, src/generic/config_signal.h, src/generic/aptcache.h, src/generic/apt.h, src/generic/config_signal.cc, src/generic/aptcache.cc, src/generic/apt.cc, src/pkg_item.cc, src/pkg_item.h, src/ui.h, src/edit_pkg_hier.h, src/cmdline_parse.cc, src/pkg_grouppolicy.cc, src/vscreen/vscreen.cc, src/vscreen/vs_pager.h, src/vscreen/slotarg.h, src/vscreen/vs_togglebutton.h, src/vscreen/vscreen_widget.h, src/vscreen/vs_button.h, src/vscreen/vs_radiogroup.h, src/vscreen/vs_util.h, src/vscreen/vs_editline.h, src/vscreen/vscreen.h, src/vscreen/vscreen_widget.cc, src/vscreen/vs_statuschoice.h, src/vscreen/vs_menu.h, src/vscreen/vs_text_layout.h, src/vscreen/vs_scrollbar.h, src/vscreen/vs_menu.cc, src/vscreen/vs_util.cc:
7621
7622
	  Use sigc::signal* and sigc::slot* instead of SigC::Signal* and
7623
	  SigC::Slot*.
7624
7625
	* src/apt_options.cc, src/cmdline_parse.h, src/edit_pkg_hier.cc, src/generic/acqprogress.h, src/generic/aptcache.h, src/generic/config_signal.h, src/menu_redirect.h, src/pkg_grouppolicy.cc, src/vscreen/vscreen_widget.h, src/vscreen/vs_radiogroup.h:
7626
7627
	  Use sigc::trackable instead of SigC::Object.
7628
7629
	* configure.ac:
7630
7631
	  Use sigc++-2.0, not sigc++-1.2.  This breaks EVERYTHING.
7632
7633
	* src/ui.cc:
7634
7635
	  Since fragments are now used to render messages, remove the
7636
	  newlines.
7637
7638
	* src/ui.cc:
7639
7640
	  Work around what appears to be a compiler bug: if
7641
	  my_cleaner::my_cleaner is implemented inline, it never gets
7642
	  executed, but if I implement it outside the class definition, it
7643
	  works fine.  (this makes the count of how much stuff was
7644
	  autocleaned reliable again, hopefully)
7645
7646
	* src/ui.cc, src/ui.h:
7647
7648
	  Make show_message deal in fragments.
7649
7650
	* src/vscreen/vs_transient.cc:
7651
7652
	  Implement the vs_transient constructor.
7653
7654
	* src/vscreen/Makefile.am, src/vscreen/vs_transient.cc, src/vscreen/vs_transient.h:
7655
7656
	  Add a "transient" widget that wraps a real widget but disappears
7657
	  at the press of a button.  This generalizes and obsoletes
7658
	  vs_transientlabel.
7659
7660
	* src/cmdline/cmdline_clean.cc, src/ui.cc:
7661
7662
	  After cleaning obsolete files, display (approximately) how much
7663
	  disk space was freed.
7664
7665
	* doc/en/manpage.xml:
7666
7667
	  Display segmented lists more clearly, clarify a few points in
7668
	  the manpage, and remove a gripe that may be obsolete (not sure).
7669
7670
2004-12-22  Daniel Burrows  <dburrows@debian.org>
7671
7672
	* src/download_list.cc:
7673
7674
	  Fix some silly typos in the code that decides whether to show a
7675
	  summary, so that it works as advertised.
7676
7677
	  When constructing the summary message, newlines go at the front
7678
	  of the second chunk of text, not at the end of the first (avoids
7679
	  unnecessary dialog expansion).
7680
7681
	  Mark the download as "failed" only when an error message would
7682
	  be shown.
7683
7684
	* src/apt_config_widgets.cc, src/apt_config_widgets.h, src/apt_options.cc:
7685
7686
	  Add support for multiple-choice options (using radio buttons),
7687
	  and use this support to fix the display of the "pause after
7688
	  download" option.
7689
7690
	* src/vscreen/vs_radiogroup.cc, src/vscreen/vs_radiogroup.h:
7691
7692
	  Enhance the vs_radiogroup API so that I can use it in the main
7693
	  program.
7694
7695
	* src/download_list.cc:
7696
7697
	  Use a fragment to display the success/failure dialog, and add a
7698
	  comment indicating that some files couldn't be downloaded if an
7699
	  item failed to be downloaded.
7700
7701
	* src/download_list.cc, src/download_list.h:
7702
7703
	  Make the pause-after-download option tristate; by default,
7704
	  aptitude will now pause only if some part of the download
7705
	  failed.
7706
7707
	* NEWS, configure.ac, doc/en/aptitude.xml:
7708
7709
	  Bump version to 0.3.0.  Obsolete documentation has not been
7710
	  bumped, to indicate that it still documents the old version of
7711
	  the program.
7712
7713
	* doc/en/aptitude.xml, doc/en/images/trust-snapshot.png:
7714
7715
	  Proofread, complete the security section.
7716
7717
2004-12-21  Daniel Burrows  <dburrows@debian.org>
7718
7719
	* src/vscreen/vs_util.cc:
7720
7721
	  Destroy widgets before executing the commands in a slot, so they
7722
	  aren't visible if a sub-main-loop is spawned.  (maybe it would
7723
	  be better to just hide them to avoid the possibility of some
7724
	  nasty memory bug?)
7725
7726
	* src/ui.cc:
7727
7728
	  Use more sensible labels for the "really screw your computer?"
7729
	  prompt.
7730
7731
	* src/vscreen/vs_util.cc:
7732
7733
	  Make yes/no buttons X-shrinkable to avoid the table layout bug.
7734
7735
2004-12-06  Daniel Burrows  <dburrows@debian.org>
7736
7737
	* src/ui.cc:
7738
7739
	  Don't install/remove packages until the user answers the
7740
	  "untrusted packages" warning.
7741
7742
	* src/pkg_view.cc:
7743
7744
	  Avoid crashing in pkg_description_widget: apparently ver.end()
7745
	  crashes if pkg.end() is true, so check pkg.end() first.
7746
7747
	* src/vscreen/vs_util.cc:
7748
7749
	  Remove some (theoretically) unnecessary centering widgets.  The
7750
	  correct button now receives focus when the dialog is created.
7751
7752
	* src/ui.cc:
7753
7754
	  Print a nasty warning if trust violations occur.
7755
7756
	* src/vscreen/fragment.cc:
7757
7758
	  Be more specific when generating errors about format codes.
7759
7760
	* src/vscreen/vs_frame.cc:
7761
7762
	  Make sure, when generating a height_request, to give the correct
7763
	  width to the subwidget (subtract the width of our border).
7764
7765
	* src/vscreen/vs_table.cc:
7766
7767
	  Instrument the table code for debugging.
7768
7769
	* src/vscreen/testvscreen.cc, src/vscreen/vs_util.cc, src/vscreen/vs_util.h:
7770
7771
	  Add support for formatting yesno dialog box messages using
7772
	  fragments.
7773
7774
2005-01-05  Christian Perrier <bubulle@debian.org>
7775
7776
	* Corrected Dutch translation. Closes: #288815
7777
7778
2004-12-05  Daniel Burrows  <dburrows@debian.org>
7779
7780
	* configure.ac, doc/fr/Makefile.am:
7781
7782
	  List doc/fr/Makefile and doc/fr/images/Makefile, and fix
7783
	  doc/fr/Makefile.am so that builds no longer fail.
7784
7785
	* src/vscreen/vs_table.h:
7786
7787
	  Make widgets shrinkable by default.
7788
7789
	* src/vscreen/vs_util.cc:
7790
7791
	  Set the background of the layout widget and scrollbar when
7792
	  creating a stock Ok dialog, and make sure that the main widget
7793
	  is shrinkable (so the Ok button doesn't disappear).
7794
7795
	* src/pkg_view.cc:
7796
7797
	  Always ignore the vertical size of every main widget and package
7798
	  description, to get about the same behavior as previous
7799
	  versions.
7800
7801
	* src/vscreen/vs_table.cc, src/vscreen/vs_table.h:
7802
7803
	  Create another table flag that causes the widget's size request
7804
	  to be ignored and (0,0) assumed.  This is useful (really!) to
7805
	  force a widget to only take up as much space as it can be
7806
	  expanded into.  (think about the aptitude main screen, for
7807
	  instance..)
7808
7809
	* src/vscreen/vs_util.cc:
7810
7811
	  Use add_widget_opts to add the "cancel" button.  Using plain
7812
	  add_widget was causing weird problems where Cancel got shoved to
7813
	  the right of the dialog box.  [merge up to r2801]
7814
7815
	* src/vscreen/vs_table.cc:
7816
7817
	  When expanding columns, check for expandability in the X
7818
	  direction, not the Y direction.
7819
7820
	* src/ui.cc:
7821
7822
	  Remove some old cruft.
7823
7824
	* src/pkg_view.cc, src/ui.cc:
7825
7826
	  Make all the widgets in the main view that are expandable also
7827
	  shrinkable (arguably this is a bug in the table layout, but I
7828
	  can work around it like this for now).  Now the scrollbars won't
7829
	  randomly disappear...
7830
7831
	* src/pkg_view.cc:
7832
7833
	  Use more explicit table options for scrollbars.
7834
7835
	* src/vscreen/vs_util.cc:
7836
7837
	  Make sure that scrollbars in stock Ok dialogs expand vertically
7838
	  but not horizontally.
7839
7840
	* src/ui.cc:
7841
7842
	  Use the new fragf to make apt_error_fragment() much more
7843
	  legible.
7844
7845
	* src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/testvscreen.cc:
7846
7847
	  Add %A and %C escapes to fragf that directly set the attributes
7848
	  of following text.  %A sets the attributes directly using the
7849
	  next argument; %C takes the next argument to be a color name,
7850
	  looks it up, and sets the attributes to the color that it finds.
7851
7852
	* src/ui.cc:
7853
7854
	  Make sure the apt error has the correct color.
7855
7856
	* src/download_list.cc, src/download_list.h:
7857
7858
	  Split download_list::size_request.
7859
7860
	* src/vs_progress.cc, src/vs_progress.h:
7861
7862
	  Split vs_progress::size_request.
7863
7864
	* src/mine/cmine.cc, src/mine/cmine.h:
7865
7866
	  Split cmine::size_request.
7867
7868
	* src/ui.cc:
7869
7870
	  Fix several compile errors.  In particular, use the
7871
	  new vs_dialog_ok instead of apt_error_pager.
7872
7873
	* src/vscreen/vs_util.cc, src/vscreen_vs_util.h:
7874
7875
	  Add a parameter to vs_dialog_ok on fragments that causes a
7876
	  scrollbar to be added.
7877
7878
	* src/vscreen/vs_util.cc, src/vscreen_vs_util.h:
7879
7880
	  Use labels by default to render OK dialog boxes based on text,
7881
	  and add a variant of vs_dialog_ok that lets you pass in the main
7882
	  widget of the dialog box.
7883
7884
	* src/vscreen/vs_table.cc:
7885
7886
	  Fix a stupid thinko that was causing table layout to be
7887
	  seriously screwed up.
7888
7889
	* src/vscreen/vs_util.cc:
7890
7891
	  Word-wrap Ok dialog boxes, and make sure that the correct
7892
	  background attributes are used for the layout widget.
7893
7894
	* src/vscreen/vs_table.cc:
7895
	
7896
	  Initialize num_rows and num_cols to 0 when the table is
7897
	  constructed.
7898
7899
	* src/vscreen/fragment.cc, src/vscreen/vs_center.cc, src/vscreen/vs_label.cc, src/vscreen/vs_menubar.cc, src/vscreen/vs_menubar.h, src/vscreen/vs_minibuf_win.cc, src/vscreen/vs_size_box.cc, src/vscreen/vs_text_layout.cc:
7900
7901
	  Fix various other typos that prevented the vscreen layer from
7902
	  compiling.
7903
7904
	* src/vscreen/vs_table.cc, src/vscreen/vs_table.h:
7905
7906
	  Fix a whole bunch of typos and compile errors.
7907
7908
	* src/vscreen/vs_tree.cc:
7909
7910
	  Split vs_tree::size_request.
7911
7912
	* src/vscreen/vs_table.cc, src/vscreen/vs_table.h:
7913
7914
	  Massively refactor the table layout algorithm.  It's now split
7915
	  into about half a dozen shorter functions that are actually
7916
	  almost readable.  Oh, and it supports two-shot layout.
7917
7918
2004-12-04  Daniel Burrows  <dburrows@debian.org>
7919
7920
	* src/vscreen/vs_statuschoice.cc, src/vscreen/vs_statuschoice.h:
7921
7922
	  Convert the statuschoice widget to the new algorithm.
7923
7924
	* src/vscreen/vs_menubar.cc, src/vscreen/vs_minibuf_win.cc, src/vscreen/vs_minibuf_win.h, src/vscreen/vs_pager.cc, src/vscreen/vs_pager.h, src/vscreen/vs_scrollbar.cc, src/vscreen/vs_scrollbar.h, src/vscreen/vs_size_box.cc, src/vscreen/vs_size_box.h, src/vscreen/vs_stacked.cc, src/vscreen/vs_stacked.h:
7925
7926
	  More widgets converted to the two-shot algorithm.
7927
7928
7929
	* src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/vs_frame.cc, src/vscreen/vs_frame.h, src/vscreen/vs_label.cc, src/vscreen/vs_label.h, src/vscreen/vs_menu.cc, src/vscreen/vs_menu.h, src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
7930
7931
	  More widgets converted to the new layout mechanism.
7932
7933
	* src/vscreen/vscreen_widget.h:
7934
7935
	  Clarify the assumptions that a widget can make about layout.
7936
7937
	* src/vscreen/vs_button.cc, src/vscreen/vs_button.h, src/vscreen/vs_center.cc, src/vscreen/vs_center.h, src/vscreen/vs_editline.h, src/vscreen/vs_editline.cc, src/vscreen/vs_multiplex.cc, src/vscreen/vs_multiplex.h:
7938
7939
	  Rewrite the layout mechanisms for a bunch of widgets to work
7940
	  with the two-shot algorithm.
7941
7942
	* src/vscreen/vscreen_widget.h:
7943
7944
	  Make the changes to vscreen_widget that are necessary to
7945
	  implement two-stage layout.  This breaks everything (fun!).
7946
7947
	* src/vscreen/vs_util.cc, src/vscreen/vs_util.h:
7948
7949
	  Overhaul the ok dialog to use text_layouts.
7950
7951
	* src/ui.cc:
7952
7953
	  Write a routine to check the trust state of packages and warn as
7954
	  appropriate (unfinished).
7955
7956
	* src/generic/apt.cc:
7957
7958
	  It appears that packages with NULL index files are exactly those
7959
	  which are already installed, so they should be trusted.  Now
7960
	  aptitude doesn't mark every package on the system as
7961
	  "untrusted"...
7962
7963
2004-12-03  Daniel Burrows  <dburrows@debian.org>
7964
7965
	* src/Makefile.am, src/desc_parse.cc, src/desc_parse.h, src/pkg_info_screen.cc, src/pkg_view.cc, src/trust.cc, src/trust.h:
7966
7967
	  Display the same big fat warning in the extended description
7968
	  area of untrusted packages.  (yes, aptitude is now officially
7969
	  paranoid)
7970
7971
	* doc/en/aptitude.xml:
7972
7973
	  Document the untrusted flag and write a brief section on apt's
7974
	  trust model (may not quite be accurate; needs to be edited again
7975
	  before release).
7976
7977
	* src/defaults.cc, src/pkg_info_screen.cc:
7978
7979
	  Add a very strongly worded warning message that is included in
7980
	  the information screen for an untrusted package.
7981
7982
	* src/generic/apt.cc, src/pkg_columnizer.cc, src/pkg_columnizer.h, src/pkg_ver_item.cc:
7983
7984
	  Create an extra column, visible by default, that flags untrusted
7985
	  packages.
7986
7987
	* po/pt_BR.po:
7988
7989
	  Automagic changes, don't look at me.
7990
7991
	* src/generic/apt.h, src/generic/matchers.cc, src/generic/tasks.cc, src/pkg_columnizer.cc, src/pkg_info_screen.cc, src/pkg_ver_item.cc, src/pkg_view.cc:
7992
	  Remove some totally unnecessary #includes in apt.h.
7993
7994
	* src/generic/apt.h, src/generic/apt.cc:
7995
7996
	  Add a "package_trusted" function that checks a package version's
7997
	  trust state.  In order to support this non-wastefully, a global
7998
	  source-list variable is now available, updated whenever the
7999
	  package lists are re-read.
8000
8001
	* src/download_item.cc:
8002
8003
	  Port to apt 0.6 by handling AuthError in addition to Error
8004
	  status.
8005
8006
	* configure.ac:
8007
8008
	  Remove "he" from ALL_LINGUAS and add "sk" and "tr" so that
8009
	  configure works again.
8010
8011
2004-12-01  Dennis Stampfer <seppy@debian.org>
8012
8013
	* Corrected German translation de.po. Closes: #283546
8014
8015
2004-11-16  Christian Perrier <bubulle@debian.org>
8016
8017
	* Added Romanian translation. Closes: #281531
8018
8019
2004-11-08  Christian Perrier <bubulle@debian.org>
8020
8021
	* Update Slovak translation. Really Closes: #279559
8022
8023
2004-11-07  Christian Perrier <bubulle@debian.org>
8024
8025
	* Added Turkish translation. Closes: #280009
8026
	* Update Lithuanian translation. Closes: #280049
8027
8028
2004-11-05  Christian Perrier <bubulle@debian.org>
8029
8030
	* Updated Arabic translation from Arabeyes CVS
8031
	* Added Slovak translation. Closes: #279559
8032
8033
2004-10-12  Christian Perrier <bubulle@debian.org>
8034
8035
	* Added french translation of the documentation
8036
	  Sent directly my Olivier Trichet
8037
8038
2004-10-11  Christian Perrier <bubulle@debian.org>
8039
8040
	* Update Simplified Chinese translation
8041
	* Update Finnish translation
8042
8043
2004-10-10  Christian Perrier <bubulle@debian.org>
8044
8045
	* Update Norwegian Bokmal translation.
8046
8047
2004-10-09  Christian Perrier <bubulle@debian.org>
8048
8049
	* Update Polish translation. Closes: #265481
8050
	* Update Spanish translation.
8051
	* Update Basque translation. Closes: #275704
8052
8053
2004-10-07  Christian Perrier <bubulle@debian.org>
8054
8055
	* Added preliminary Arabic translation from Arabeyes
8056
	* Added preliminary Hebrew translation. Closes: #275266
8057
8058
2004-10-06  Dennis Stampfer <seppy@debian.org>
8059
8060
	* Update Brazilian Portuguese translation by Goedson Teixeira Paixao
8061
	  Closes: #275220
8062
8063
2004-10-05  Christian Perrier <bubulle@debian.org>
8064
8065
	* Minor update to French translation (Y/N keys)
8066
	  Closes: #274953
8067
8068
2004-10-03  Christian Perrier <bubulle@debian.org>
8069
8070
	* Update Danish translation
8071
8072
2004-10-02  Christian Perrier <bubulle@debian.org>
8073
8074
	* Update Czech translation and manual
8075
8076
2004-09-29  Christian Perrier <bubulle@debian.org>
8077
8078
	* Update Traditional Chinese translation and help file
8079
	  Closes: #274268
8080
8081
2004-09-28  Daniel Burrows  <dburrows@debian.org>
8082
	* NEWS, configure.ac, doc/cs/aptitude.xml, doc/de/aptitude.xml, doc/en/aptitude.xml, doc/fi/aptitude.xml:
8083
	  Bump version to 0.2.15.8.
8084
8085
	* src/mine/board.cc, src/mine/board.h, src/mine/cmine.cc, src/mine/mine-help.txt:
8086
	  Apply some trivial fixes (avoiding uninitialized values,
8087
	  sanity-checks) to minesweeper.  (Closes: #179533)
8088
8089
2004-09-27  Christian Perrier <bubulle@debian.org>
8090
8091
	* Update Russian translation after IRC talk with Nikolai
8092
8093
2004-09-26  Daniel Burrows  <dburrows@debian.org>
8094
8095
	* src/main.cc:
8096
	  Patch from Konstantinos Margaritis to revert the locale to C
8097
	  if UTF-8 is detected.
8098
8099
2004-09-26  Christian Perrier <bubulle@debian.org>
8100
8101
	* Re-update Japanese translation. Closes: #272454
8102
	* Fixes to French translation. Closes: #272824
8103
8104
2004-09-25  Daniel Burrows  <dburrows@debian.org>
8105
8106
	* src/generic/apt.cc:
8107
	  Only include suggested packages in the "packages suggested by
8108
	  other packages" tree.  (Closes: #270667)
8109
8110
2004-09-20  Christian Perrier <bubulle@debian.org>
8111
8112
	* Update Japanese translation. Closes: #272454
8113
8114
2004-09-18  Christian Perrier <bubulle@debian.org>
8115
8116
	* Update Italian translation. Closes: #265243
8117
8118
2004-09-17  Daniel Burrows  <dburrows@debian.org>
8119
8120
	* doc/fi/Makefile.am:
8121
	  Add fixmans to EXTRA_DIST.
8122
8123
	* NEWS, configure.ac, doc/cs/aptitude.xml, doc/en/aptitude.xml:
8124
	  Bump version to 0.2.15.7.
8125
8126
	* doc/en/aptitude.xml:
8127
	  Add a credit for the Norwegian translation.
8128
8129
	* doc/en/manpage.xml:
8130
	  Be a little clearer about what --visual-preview does.
8131
	  (Closes: #269100)
8132
8133
	* doc/en/aptitude.xml:
8134
	  Add an example to ~A documentation.
8135
8136
	* doc/en/manpage.xml:
8137
	  Eh, mention where the package cache is by default.  (Closes: #269102)
8138
8139
	* NEWS:
8140
	  Write years with 4 digits.
8141
8142
	* Update French manpage.  Closes: #270713.
8143
8144
2004-09-13  Christian Perrier <bubulle@debian.org>
8145
8146
	* Update Brazilian portuguese translation. Closes: #271411
8147
8148
2004-09-11  Christian Perrier <bubulle@debian.org>
8149
8150
	* Update all translations according to latest aptitude.pot
8151
	* (few hours later) Revert aptitude.pot to r2712
8152
	  and update PO files accordingly
8153
8154
2004-09-10  Christian Perrier <bubulle@debian.org>
8155
8156
	* po/fi.po and help-fi.txt updated. Closes: #263313
8157
	* po/ca.po updated. Closes: #270917
8158
8159
2004-09-05  Daniel Burrows  <dburrows@debian.org>
8160
8161
	* src/pkg_columnizer.cc:
8162
	  Fix crash when viewing virtual packages while using the
8163
	  reverse-depends-count. (Closes: #270057)
8164
8165
	* src/vscreen/vs_table.cc:
8166
	  Fix several places where "focus" was dereferenced without
8167
	  checking whether it was valid.
8168
8169
2004-09-04  Christian Perrier <bubulle@debian.org>
8170
8171
	* Finnish updates:
8172
	  - PO files completed
8173
          - build the doc file in XML
8174
	  - Finnish doc files
8175
	  Closes: #263313
8176
	
8177
2004-09-04  Daniel Burrows  <dburrows@debian.org>
8178
8179
	* po/nn.po:
8180
	  Updated Norwegian translation from
8181
	  H嶡rd Korsvoll <korsvoll@skulelinux.no> (Closes: #269976).
8182
8183
2004-08-31  Daniel Burrows  <dburrows@debian.org>
8184
8185
	* po/es.po:
8186
	  Fix Spanish l10n of yes/no shortcuts (Closes: #269311).
8187
8188
2004-08-27  Christian Perrier <bubulle@debian.org>
8189
8190
	* Update all translation according to aptitude.pot
8191
	* Italian translation updated. Closes: #268263
8192
8193
2004-08-17  Christian Perrier <bubulle@debian.org>
8194
8195
	* Update Russian translation. Closes: #266294
8196
	* Update Dutch translation
8197
8198
2004-08-15  Christian Perrier <bubulle@debian.org>
8199
8200
	* Update French translation.
8201
	* Update Czech translation (seems that Dennis commit was wrong)
8202
8203
2004-08-11  Daniel Burrows  <dburrows@debian.org>
8204
8205
	* po/el.po:
8206
	  Update Greek translation (Closes: #265006).
8207
8208
2004-08-10  Daniel Burrows  <dburrows@debian.org>
8209
8210
	* po/ja.po:
8211
	  Update Japanese translation (Closes: #264867).
8212
8213
	* src/generic/matchers.cc, doc/en/aptitude.xml:
8214
	  Do priority matching by priority type (based on the input string)
8215
	  rather than by string.  This will make searches by priority
8216
	  somewhat faster, as well as making them reliable regardless of
8217
	  locale.
8218
8219
2004-08-09  Daniel Burrows  <dburrows@debian.org>
8220
8221
	* src/cmdline/cmdline_action.cc (cmdline_applyaction):
8222
	  Adjust which version is used to check for matches against patterns
8223
	  on the command line: for "install", "hold", and "forbid-version"
8224
	  actions, the candidate version is used; for "remove" and "purge"
8225
	  actions, the current version is used; for other actions, the
8226
	  install version is used.  This fix is needed for debian-boot in
8227
	  sarge.
8228
8229
2004-08-06  Daniel Burrows  <dburrows@debian.org>
8230
8231
	* doc/cs/Makefile.am, doc/de/Makefile.am:
8232
	  Argh, really fix installation of XML manpages.
8233
8234
	* NEWS, configure.ac, doc/cs/aptitude.xml, doc/en/aptitude.xml:
8235
	  Bump version to 0.2.15.6.
8236
8237
	* doc/en/aptitude.xml:
8238
	  Add some more language credits.
8239
8240
	* help-fi.txt, po/fi.po:
8241
	  Update Finnish translation.  (Debian bug #263313)
8242
8243
	* doc/Makefile.am:
8244
	  Alphabetize.
8245
8246
	* doc/cs/Makefile.am, doc/de/Makefile.am:
8247
	  Really fix the installation of manpages (tested this time!).
8248
8249
	* Makefile.am, aptitude.de.8:
8250
	  The German manpage doesn't belong here any more.  Remove it.
8251
8252
	* Makefile.am:
8253
	  Make sure to actually install the non-XMLified manpages.
8254
8255
	* doc/cs/Makefile.am, doc/de/Makefile.am:
8256
	  Adjust how manpages are built and installed: the makefiles for
8257
	  localized manpages are more consistent now and actually install
8258
	  the manpages.
8259
8260
	* configure.ac, doc/Makefile.am, doc/de/Makefile.am, doc/de/aptitude.xml, doc/de/manpage.xml, doc/de/fixquote, help-de.txt:
8261
	  Apply the rest of the German translation from #262534.
8262
8263
2004-08-05  Daniel Burrows  <dburrows@debian.org>
8264
8265
	* src/pkg_ver_item.cc:
8266
	  Unreverse the logic for displaying the size change due to a
8267
	  particular version.
8268
8269
2004-08-01  Dennis Stampfer <seppy@debian.org>
8270
8271
	* Update German translation from Debian-Bug #262534
8272
	  (This does *not* close #262534)
8273
	* Update Czech translation by Miroslav Kure.
8274
	  Closes Debian-Bug #262524
8275
	* Update Danish translation by Morten Bo Johansen
8276
	  Closes Debian-Bug #262129
8277
8278
2004-07-29  Dennis Stampfer <seppy@debian.org>
8279
8280
	* Update Dutch translation by Luk Claes
8281
	  (Closes Debian Bug #262000)
8282
8283
2004-07-28  Dennis Stampfer <seppy@debian.org>
8284
8285
	* Update Italian program translation by Danilo Piazzalunga
8286
	  (Closes Debian Bug #261819)
8287
8288
2004-07-24  Christian Perrier <bubulle@debian.org>
8289
8290
	* Update Portuguese translation.
8291
	  (Closes Debian Bug #261502)
8292
8293
2004-07-25  Daniel Burrows  <dburrows@debian.org>
8294
8295
	* doc/en/aptitude.xml, src/ui.cc:
8296
	  Added an option to disable the "nothing to be done" warning
8297
	  when there are upgradable packages. (Debian bug #260590)
8298
8299
	* do/aptitude.xml, po/pt.po:
8300
	  Updated Porugtuese translation. (Debian bug #261425)
8301
8302
	* doc/en/aptitude.xml, src/pkg_columnizer.cc, src/pkg_columnizer.h, src/pkg_ver_item.cc, src/vscreen/vscreen.cc:
8303
	  Add a format code for policy information (Debian bug #240423).
8304
8305
2004-07-24  Dennis Stampfer <seppy@debian.org>
8306
8307
	* Update Brazilian translation.
8308
	  (Closes Debian Bug #260953)
8309
8310
2004-07-24  Daniel Burrows  <dburrows@debian.org>
8311
8312
	* src/vscreen/vscreen.cc:
8313
	  Use portable pthreads code. (Debian bug #260259)
8314
8315
	* src/generic/apt.cc:
8316
	  Check the whole surrounding dependency when looking at recommends
8317
	  and suggests.
8318
8319
2004-07-21  Christian Perrier <bubulle@debian.org>
8320
8321
	* Update Dutch translation. Antwerp dialect joke removed
8322
	  (Debian bug #260632)
8323
	* Update Brazilian translation. 
8324
	  (Debian bug #260953)
8325
	* Update Italian translation. 
8326
	  (Debian bug #261017)
8327
	* Update Greek translation. 
8328
	  (Debian bug #261029)
8329
	* Update Catalan translation. 
8330
	  (Debian bug #261095)
8331
	* Update German translation. 
8332
8333
2004-07-21  Daniel Burrows  <dburrows@debian.org>
8334
8335
	* src/vscreen/vs_pager.cc:
8336
	  Scroll by the screen height, not the screen width.  Thanks to
8337
	  Neil Moore.  (Debian bug #260713)
8338
8339
2004-07-21  Christian Perrier <bubulle@debian.org>
8340
8341
	* Rebuild aptitude.pot      yet another time
8342
	* Update French translation  "     "      "
8343
	* Update Spanish translation  "     "      "
8344
8345
2004-07-20  Daniel Burrows  <dburrows@debian.org>
8346
8347
	* src/generic/aptcache.cc:
8348
	  Make it possible to undo a "forget new" command again.
8349
8350
	* src/cmdline/cmdline_changelog.cc, src/view_changelog.cc, po/:
8351
	  Detect attempts at viewing changelogs for packages that trivially
8352
	  have no changelogs available, and warn the user instead of blindly
8353
	  trying to fetch the changelog.  (Debian bug #260477)
8354
8355
	* src/download.cc, doc/en/aptitude.xml: 
8356
	  Support multiple log destinations. (Debian bug #259714)
8357
8358
2004-07-20  Christian Perrier <bubulle@debian.org>
8359
8360
	* Updated German translation
8361
8362
2004-07-19  Daniel Burrows  <dburrows@debian.org>
8363
8364
	* src/pkg_tree.cc:
8365
	  Treat an empty limit string as "no limit". (Debian bug #260244)
8366
8367
2004-07-19  Christian Perrier <bubulle@debian.org>
8368
8369
	* Updated French translation
8370
	* Updated Spanish translation
8371
8372
2004-07-18  Daniel Burrows  <dburrows@debian.org>
8373
8374
	* src/cmdline/cmdline_moo.cc:
8375
	  Don't insult the user.
8376
8377
2004-07-17  Daniel Burrows  <dburrows@debian.org>
8378
8379
	* doc/cs/aptitude.xml, doc/cs/images/*, help-cs.txt, po/cs.po:
8380
	  Updated Czech translation from Miroslav Kure. (Debian bug #259966)
8381
8382
2004-07-15  Daniel Burrows  <dburrows@debian.org>
8383
8384
	* src/cmdline/cmdline_download.cc:
8385
	  Make the error message when a package is not downloadable a little
8386
	  clearer.
8387
8388
	* src/cmdline/cmdline_changelog.cc, src/cmdline/cmdline_changelog.h, src/cmdline/cmdline_prompt.cc:
8389
	  Support viewing changelogs from the command-line prompt.
8390
8391
	* src/generic/matches.cc, doc/en/aptitude.xml:
8392
	  Enhance the "provides" matcher to support full subterms;
8393
	  extend ~D to support any dependency class; change ~R to
8394
	  implicitly check predepends with depends; close some memory
8395
	  leaks; document the user-visible changes.
8396
8397
	* help.txt, src/defaults.cc, src/pkg_tree.cc, src/ui.cc, doc/en/aptitude.xml:
8398
	  Bind the new command to 'b', document it, and fix some incorrect
8399
	  entity references in the documentation.
8400
8401
	* src/menu_redirect.h, src/pkg_tree.cc, src/pkg_tree.h, src/pkg_view.cc, src/ui.cc, src/ui.h:
8402
	  Add a very visible command to search for '~b' (the next broken
8403
	  package).  (Debian bug #162474)
8404
8405
	* src/cmdline.cc:
8406
	  Mention that a package is 'new' in "aptitude show"; don't show
8407
	  information about whether it is automatically installed unless
8408
	  it's installed.
8409
8410
	* doc/en/aptitude.xml:
8411
	  Document the new menu commands.
8412
8413
	* src/vscreen/vs_menu.cc:
8414
	  Don't disable bold after printing an explicitly bold character in
8415
	  a menu label, in case the underlying color is also bolded.
8416
8417
	* src/menu_redirect.h, src/pkg_tree.cc, src/pkg_tree.h, src/pkg_view.cc, src/ui.cc, src/ui.h, src/vscreen/vs_menu.cc, src/vscreen/vs_menu.h:
8418
	  Use bool as the return value for menu item signals, and use
8419
	  OrMarshal to marshal them.  This means that a menu item's
8420
	  emission will, presuming all goes well, stop as soon as
8421
	  something handles it.  This avoids the infinite recursive
8422
	  add_main_widget death that was occuring after the last commit.
8423
8424
2004-07-14  Daniel Burrows  <dburrows@debian.org>
8425
8426
	* src/menu_redirect.h, src/pkg_item.cc, src/pkg_item.h, src/pkg_tree.cc, src/pkg_tree.h, src/pkg_ver_item.cc, src/pkg_ver_item.h, src/pkg_view.cc, src/ui.cc, src/ui.h:
8427
	  Add items to the package menu to examine some package information.
8428
	  Currently buggy, will be fixed.
8429
8430
8431
	* src/menu_redirect.h, src/pkg_node.h, src/pkg_tree.cc, src/pkg_view.cc, src/ui.cc, src/ui.h:
8432
	  Add items to the package menu to adjust a package's state.
8433
8434
	* src/cmdline/cmdline_show.cc:
8435
	  Fix upgrade/downgrade confusion.
8436
8437
	* src/main.cc:
8438
	  Add a 'usage' string for -o.
8439
8440
	* doc/en/manpage.xml, src/cmdline/cmdline_download.cc:
8441
	  Allow the user to select which version of a package should be
8442
	  downloaded; print an error message if the package can't be
8443
	  downloaded.
8444
8445
	  (Debian bug #160145)
8446
8447
	* doc/en/manpage.xml, src/main.cc, src/cmdline/Makefile.am, src/cmdline/cmdline_changelog.cc, src/cmdline/cmdline_changelog.h:
8448
	  Add support for downloading changelogs from the command-line.
8449
8450
	* src/cmdline/cmdline_util.cc:
8451
	  Fix the common function to initialize all its out parameters and
8452
	  to not fall off the end of the function.
8453
8454
	* src/cmdline/cmdline_util.cc:
8455
	  Complain loudly in cmdline_find_ver if there's no candidate
8456
	  version available.  (Closes: #213106)
8457
8458
	* src/cmdline/cmdline_progress.cc:
8459
	  Delete the progress bar when we're done with it.
8460
8461
	* src/cmdline/cmdline_action.cc, src/cmdline/cmdline_action.h, src/cmdline/cmdline_util.cc, src/cmdline/cmdline_util.h:
8462
	  Split the source/archive parsing code into a small common function;
8463
	  modified applyaction and find_ver to adjust for the new interface.
8464
8465
	* po/POTFILES.in:
8466
	  Update POTFILES.in.
8467
8468
	* src/cmdline/cmdline_show.cc:
8469
	  Display information about the package's aptitude state.
8470
8471
	* src/generic/apt.cc:
8472
	  When testing if a package is suggested/recommeded, only
8473
	  return true if the suggestion/recommendation is unfulfilled.
8474
8475
	* src/generic/aptcache.cc, doc/en/aptitude.xml:
8476
	  Reinstate Suggests-Important for the purpose of finding unused
8477
	  packages, so people don't get rudely surprised by the new behavior.
8478
	  (Debian bug #259387)
8479
8480
2004-07-13  Daniel Burrows  <dburrows@debian.org>
8481
8482
	* configure.ac, src/Makefile.am, src/cmdline.h, src/cmdline.cc, src/download.cc, src/main.cc, src/cmdline/*:
8483
	  Finally bite the bullet and split cmdline.cc into a gajillion
8484
	  tractably-sized modules.
8485
8486
	* src/generic/infer_reason.cc:
8487
	  Filter out all Conflicts in which the only *to-be-installed*
8488
	  package providing the Conflicted name is the package containing
8489
	  the Conflict.
8490
8491
	* src/reason_fragment.cc:
8492
	  Remove the no-longer-necessary display of the size change
8493
	  due to a package.
8494
8495
	* src/cmdline.cc, src/pkg_grouppolicy.cc:
8496
	  Display recommended packages in both the command-line preview
8497
	  and the visual preview.
8498
8499
	* src/generic/apt.cc, src/generic/apt.h:
8500
	  Add a "pkg_recommended" function -- similar to "pkg_suggested",
8501
	  but triggers if the suggester is going to be installed OR upgraded.
8502
8503
	* src/generic/rev_dep_iterator.h:
8504
	  Make it compile *oops*.
8505
8506
	* src/generic/rev_dep_iterator.h:
8507
	  When iterating a package's reverse dependencies, include
8508
	  dependencies through a virtual package.
8509
8510
	* Makefile.am:
8511
	  Add basic support for disabling compilation and/or documentation.
8512
8513
	* src/ui.cc:
8514
	  Fix stupid thinko when handling fallback for translated docs.
8515
8516
	* doc/cs/Makefile.am:
8517
	  Don't build the text version of the Czech manual, as it's
8518
	  currently useless.
8519
8520
	* doc/en/Makefile.am:
8521
	  Force automake, kicking and screaming, to not dump the generated
8522
	  README in the distributed tarball.
8523
8524
	* src/cmdline.cc:
8525
	  Doh, actually make sure it compiles.
8526
8527
	* src/cmdline.cc:
8528
	  Only display annoying "not doing anything because it was already
8529
	  done" messages if verbose>0. (Debian bug #258913)
8530
8531
	* README:
8532
	  automake wants a README; add one that explains how to generate
8533
	  the real README.
8534
8535
	* Makefile.am, README, aptitude.8, aptitude.cs.8:
8536
	  Purge autogenerated files.
8537
8538
	* doc/Makefile.am, doc/cs/Makefile.am, doc/en/Makefile.am:
8539
	  Move the distribution command for the stylesheets to doc/ from
8540
	  doc/{en,cs}.
8541
8542
	* doc/cs/Makefile.am:
8543
	  Build the Czech manual page under the right name (aptitude.cs.8)
8544
	  but don't install it automatically, since automake does the
8545
	  Wrong Thing here.
8546
8547
	* configure.ac, doc/en/aptitude.xml, doc/cs/aptitude.xml, NEWS:
8548
	  Bump version to 0.2.15.3.
8549
8550
	* doc/en/Makefile.am, doc/en/manpage.xml:
8551
	  Fix some formatting issues, fix the dependencies for generating
8552
	  the documentation (all forms should depend on manpage.xml).
8553
8554
	* doc/en/Makefile.am, doc/en/aptitude.xml, doc/en/manpage.xml:
8555
	  Split the English manpage into a separate XML file.
8556
	  (Debian bug #259089)
8557
8558
	* po/fr.po:
8559
	  Correct what I believe is an accidental error in the French
8560
	  translation: "yes" and "no" were being bound to upper-case
8561
	  keys by default.
8562
8563
	* po/cs.po:
8564
	  Localize README in the Czech variant.
8565
8566
	* src/ui.cc:
8567
	  When documentation is translated, fall back to the
8568
	  English-language version if the translated docs are missing.
8569
8570
	* doc/en/Makefile.am, doc/cs/Makefile.am:
8571
	  Install the HTML documentation in localized directories.
8572
	  Install the resulting READMEs under README and README.cs.
8573
8574
	* doc/Makefile.am:
8575
	  Still build the en documentation (it was carelessly removed).
8576
8577
	* configure.ac, doc/Makefile.am, doc/cs/Makefile.am, doc/cs/aptitude.xml, doc/cs/images:
8578
	  Add Miroslav's Czech translation to the source tree.
8579
8580
	* doc/aptitude-txt.style, doc/en/Makefile.am, doc/en/aptitude-txt.style:
8581
	  Move the text stylesheet to the common directory.
8582
8583
	* doc/en/Makefile.am:
8584
	  Fix the "clean" rule.
8585
8586
	* doc/en/Makefile.am, doc/en/, doc/:
8587
	  Move the XSL and CSS stylesheets from doc/en/ to doc/.
8588
8589
	* doc/en/*, doc/*, configure.ac:
8590
	  Add the beginnings of support for localization of the full
8591
	  manual.
8592
8593
	* po/cs.po:
8594
	  Translation updates from Miroslav Kure.
8595
8596
	* doc/aptitude.xml:
8597
	  Fixes from Miroslav Kure.
8598
8599
	* README.i18n:
8600
	  Describe how key translations work.
8601
8602
2004-07-12  Daniel Burrows  <dburrows@debian.org>
8603
8604
	* src/reason_fragment.cc:
8605
	  Further adjust the display of brokenness reasons for
8606
	  self-conflicts: only really pointless self-conflicts (where
8607
	  the only thing providing the conflicted name is the package
8608
	  itself) are dropped; when displaying provided packages,
8609
	  the package which is the source of the dependency is excluded
8610
	  from the list of packages providing the target.
8611
8612
	* src/ui.cc:
8613
	  Really make the menubar properly hide on startup.
8614
8615
	* src/generic/aptcache.cc:
8616
8617
	  Make the automatic package tracking smarter about versions: if
8618
	  upgrading a package causes it to become unused, it will be held
8619
	  (eg, upgrading foo-data without foo); if a package will be
8620
	  removed because it is unused, it will be restored to the
8621
	  candidate version or the current version (whichever satisfies
8622
	  the dep).
8623
8624
	* src/generic/apt_undo_group.cc, src/generic/apt_undo_group.h, src/generic/aptcache.cc, src/generic/Makefile.am, src/pkg_item.cc, src/pkg_node.cc, src/pkg_node.h, src/pkg_tree.cc, src/pkg_ver_item.cc, src/ui.cc:
8625
	  Overhaul how upgrades, garbage collection, and undos are handled.
8626
	  This fixes the problems with undoing an "upgrade" command, and
8627
	  probably several other unreported but obnoxious bugs.
8628
8629
	  The major change is that upgrades are handled as an action group
8630
	  and that mark_and_sweep uses an internal action group (to avoid
8631
	  calling cleanup_after_change too many times).
8632
8633
2004-07-12  Christian Perrier <bubulle@debian.org>
8634
8635
	* Regenerate aptitude.pot and update po files
8636
	* Updated French and Brazilian translations
8637
	* Updated Greek translation. #258805
8638
8639
2004-07-11  Daniel Burrows  <dburrows@debian.org>
8640
8641
	* src/generic/infer_reason.cc:
8642
	  Filter self-conflicts when walking in the forward direction
8643
	  as well.  (Debian bug #258533)
8644
8645
	* src/ui.cc, src/vscreen/vscreen.cc:
8646
	  Make the default for the Yes and No keys the first character
8647
	  of the translation of "yes_key" and "no_key".  This will give
8648
	  more flexibility to translators (the first characters of Yes
8649
	  and No are not always appropriate..)
8650
8651
	* src/ui.cc:
8652
	  Er, make it compile again by fixing the translation tweak (oops).
8653
8654
	* src/tasks.cc:
8655
	  Change the handling of keys so that tasks without keys
8656
	  won't be hidden.
8657
8658
	* src/ui.cc:
8659
	  Make sure that the menu bar is properly hidden on startup if the
8660
	  user requested it (Debian bug #258688).
8661
8662
2004-07-11  Christian Perrier <bubulle@debian.org>
8663
8664
	* Updated Brazilian translation. #258667
8665
	* Updated Greek translation. #258805
8666
8667
2004-07-09  Daniel Burrows  <dburrows@debian.org>
8668
8669
	* src/ui.cc: 
8670
	  Make another yes/no prompt (when minibuf prompting is on)
8671
	  translated.
8672
8673
	* src/vscreen/vscreen.cc, doc/aptitude.xml:
8674
	  Make the Yes and No keybindings translatable, and document their
8675
	  existence.  (Debian bug #258409)
8676
8677
	* src/pkg_item.cc:
8678
	  Make the visible version more stable and useful (now that
8679
	  packages are often not upgraded): return the candidate
8680
	  version if there is one; return the current version if
8681
	  possible; otherwise return the to-be-installed version.
8682
8683
2004-07-07  Christian Perrier <bubulle@debian.org>
8684
8685
	* Regenerate aptitude.pot and update po files
8686
	* Updated French translation
8687
8688
2004-07-08  Daniel Burrows  <dburrows@debian.org>
8689
8690
	* src/dep_item.cc, src/reason_fragment.cc:
8691
	  When displaying reasons, flag unavailable packages.
8692
8693
	* po/es.po:
8694
	  Spanish translation update from Ruben Porras.
8695
	  (Debian bug #258243)
8696
8697
2004-07-07  Daniel Burrows  <dburrows@debian.org>
8698
8699
	* NEWS, configure.ac, doc/aptitude.xml:
8700
	  Bump version to 0.2.15.2.
8701
8702
2004-07-07  Christian Perrier <bubulle@debian.org>
8703
8704
	* Regenerate aptitude.pot and update po files
8705
	* Updated French translation
8706
8707
2004-07-07  Daniel Burrows  <dburrows@debian.org>
8708
8709
	* aptitude-defaults:
8710
	  Hide version numbers in the Vertical-Split theme.
8711
8712
2004-07-06  Daniel Burrows  <dburrows@debian.org>
8713
8714
	* src/generic/aptcache.cc, src/generic/config_signal.cc, src/generic/config_signal.h, src/load_pkgview.cc, src/pkg_tree.cc, src/pkg_tree.h, src/pkg_view.cc, src/pkg_view.h, src/ui.cc:
8715
	  Don't pass the "current value" into configuration signals.  This
8716
	  is somewhat less convenient...but doesn't present false information
8717
	  when a value is unset (ie, it forces the user to supply a correct
8718
	  default value :-/ ).  Actually, more bindings were discarding
8719
	  the current value than using it, so this is only a minor problem.
8720
8721
	  Among other things, this manages to fix reverting some settings,
8722
	  such as menubar-autohide.
8723
8724
	* src/generic/apt.cc, src/generic/config_signal.cc, src/generic/config_signal.h:
8725
	  Make sure that reverting the options returns to the initial
8726
	  options.  Signal emission is still messed up.
8727
8728
	* src/apt_config_widgets.cc, src/apt_config_widgets.h, src/cmdline.cc, src/generic/apt.cc, src/generic/config_signal.cc, src/generic/config_signal.h, src/main.cc:
8729
	  First steps towards a (slightly hacky) separation between user and
8730
8731
	  system configuration.  In an apparently working system, the
8732
	  user's configuration is only saved to ~/.aptitude/config if
8733
	  it was changed at some point from the system default.  Reversion
8734
	  is not handled quite right, but apparently it wasn't handled quite
8735
	  right anyway.  (Debian bug #175409)
8736
8737
	* src/generic/aptcache.cc, src/generic/aptcache.h, doc/aptitude.xml:
8738
	  Apparently some people were using Suggests-Important for its
8739
	  side-effect of keeping automatically installed packages on the
8740
	  system as long as something Suggested them.  The new
8741
	  configuration option Keep-Suggests does just that, without
8742
	  causing Suggested packages to be installed.  Also, the gc
8743
	  code has been slightly optimized by lifting configuration Find
8744
	  commands out of loops.
8745
8746
	* doc/aptitude.xml:
8747
	  Fix the synopsis of forbid-version (it was forbid-upgrade).
8748
	  (Debian bug #257901)
8749
8750
2004-07-04  Christian Perrier  <bubulle@debian.org>
8751
8752
	* Updated Finnish translations. Closes: #257902
8753
	* Updated Italian translations. Closes: #257710
8754
8755
2004-07-04  Daniel Burrows  <dburrows@debian.org>
8756
8757
	* doc/aptitude.xml:
8758
	  Remove an accidental accent from mine-snapshot5.png.
8759
8760
	* doc/images/Makefile.am:
8761
	  Fix the list of stuff to distribute.
8762
8763
	* NEWS, configure.ac, doc/aptitude.xml:
8764
	  Bump version to 0.2.15.1.
8765
8766
	* doc/images/Makefile.am:
8767
	  Doh, actually distribute the screenshot images!
8768
8769
2004-07-03  Daniel Burrows  <dburrows@debian.org>
8770
8771
	* src/generic/aptcache.cc:
8772
	  Systematically use *this to access *this, not *apt_cache_file.
8773
	One stray case of the latter was left, and that code path seems
8774
	to trigger in unknown circumstances when *apt_cache_file is
8775
	invalid. (Debian bug #257420)
8776
8777
2004-07-01  Daniel Burrows  <dburrows@debian.org>
8778
8779
	* NEWS:
8780
	  More missing Debian bugs.
8781
8782
	* src/main.cc, NEWS:
8783
	  Make -r and -R work.  (Debian bug #243289)
8784
8785
	* NEWS:
8786
	  Add missing notes about Debian bugs. (oops)
8787
8788
	* doc/Makefile.am:
8789
	  Add the documentation to EXTRA_DIST so it gets distributed too
8790
	  (double oops).
8791
8792
	* src/vscreen/Makefile.am:
8793
	  Add bool_marshal.h to SOURCES so it gets distributed (oops).
8794
8795
	* configure.ac:
8796
	  Bumped the version to 0.2.15.
8797
8798
	* doc/aptitude.xml:
8799
	  Add a "see also" section.
8800
8801
	* doc/Makefile.am:
8802
	  Really install the manual page.
8803
8804
	* Makefile.am, aptitude.1, aptitude.cs.1, aptitude.de.1, aptitude.fi.1, aptitude.fr.1, aptitude.gl.1, aptitude.it.1, aptitude.pl.1, aptitude.8, aptitude.cs.8, aptitude.de.8, aptitude.fi.8, aptitude.fr.8, aptitude.gl.8, aptitude.it.8, aptitude.pl.8:
8805
	  Move the manual pages to section 8.
8806
8807
	* src/view_changelog.cc, src/vscreen/testvscreen.cc, src/vscreen/vs_pager.cc, src/vscreen/vs_pager.h, src/vscreen/vs_util.cc:
8808
	  Fix a bug in the pager by completely rewriting it; it no longer
8809
	  tries to be ridiculously efficient, which means the code is
8810
	  much cleaner and less buggy.  (for instance, the mmap is only
8811
	  used when reading a file off the disk; once it's in memory it's
8812
	  stored as a vector of strings)
8813
8814
	* doc/aptitude.xml:
8815
	  Add a missing question to the FAQ.
8816
8817
	* Makefile.am, doc/Makefile.am:
8818
	  Don't install the old README; install the new README and manpage.
8819
8820
	* doc/aptitude.xml:
8821
	  Rip an overused platitude to head up the tutorial.
8822
8823
	* src/generic/matchers.cc:
8824
	  Fix the virtual matcher: previously it matched anything that
8825
	  happened to pass in an "end" version; now it matches only true
8826
	  pure virtual packages.
8827
8828
	* doc/Makefile.am, doc/aptitude-txt.xsl:
8829
	  Use both hooks and crooks to eliminate entities from the
8830
	  generated README.
8831
8832
	* Makefile.am, doc/Makefile.am:
8833
	  Install the README, and make sure installation succeeds even if
8834
	  /var/lib doesn't exist.
8835
8836
	* NEWS:
8837
	  Update for 0.2.15.
8838
8839
	* doc/aptitude.xml:
8840
	  Document --visual-preview.
8841
8842
	* doc/aptitude.xml:
8843
	  Write the beginnings of a Credits chapter -- maybe enough for
8844
	  the time being?
8845
8846
	* doc/aptitude.xml:
8847
	  Correct the documentation of #.
8848
8849
2004-06-30  Daniel Burrows  <dburrows@debian.org>
8850
8851
	* doc/Makefile.am, doc/aptitude.xml, doc/aptitude-man.xsl:
8852
	  Finish up the reference section of the documentation, and
8853
	  generate a manpage from it.
8854
8855
	* src/cmdline.cc:
8856
	  Fix the "show" command.
8857
8858
	* src/pkg_columnizer.cc, src/pkg_columnizer.h, src/pkg_ver_item.cc, doc/aptitude.xml, doc/images/install-snapshot.png, doc/broken-snapshot.png, doc/preview-snapshot.png:
8859
	  Add support for a %Z escape that shows the size change between
8860
	  versions, make it part of the default theme, and update the
8861
	  documentation accordingly.
8862
8863
	* doc/aptitude.xml:
8864
	  Fix the name of a Minesweeper screenshot: s/shapshot/snapshot/.
8865
8866
	* doc/aptitude.xml:
8867
	  Add a quotation for the FAQ.
8868
8869
	* doc/aptitude.xml:
8870
	  Document how to play Minesweeper.
8871
8872
	* doc/Makefile.am:
8873
	  Copy, don't link, the CSS file into place (avoids problems
8874
	  caused by accidentally cloning the link).
8875
8876
	* doc/aptitude.xml:
8877
	  Eliminate dangling references and other errors by fixing element
8878
	  ids, removing references to sections that won't be written before
8879
	  the next release, and changing xrefs to links where appropriate.
8880
8881
	* doc/aptitude.xml:
8882
	  Document the configuration file.
8883
8884
	* src/ui.cc:
8885
	  When the user reverts their options to the defaults, save
8886
	  immediately (so the reversion takes effect next time they
8887
	  run aptitude).
8888
8889
	* src/generic/aptcache.cc:
8890
	  Correct a place where the value of Auto-Install was read instead
8891
	  of the value of Aptitude::Auto-Install.
8892
8893
2004-06-29  Daniel Burrows  <dburrows@debian.org>
8894
8895
	* doc/aptitude.xml, doc/images/colors-snapshot.png:
8896
	  Add a slightly eye-watering display of how you can customize
8897
	  aptitude's colors.
8898
8899
	* doc/Makefile.am, doc/aptitude-txt.style, doc/aptitude-txt.xsl, doc/aptitude.xml:
8900
	  Use textobjects as the primary content of screenshots when generating
8901
	  text output, don't indent <PRE> tags in the text output, and
8902
	  wrap at 80 columns in the text output.
8903
8904
	* doc/aptitude.xml:
8905
	  Fix a number of dangling cross-references; s/"/'/g.
8906
8907
	* doc/aptitude.xml, doc/images/dselect-theme.png, doc/images/vertical-split-theme.png:
8908
	  Document how themes work.
8909
8910
	* doc/aptitude.xml:
8911
	  Document how to customize the display layout.
8912
8913
2004-06-29  Christian Perrier <bubulle@debian.org>
8914
8915
	* Updated Japanese translation
8916
	* Update Japanese help file
8917
8918
2004-06-29  Daniel Burrows  <dburrows@debian.org>
8919
8920
	* src/load_pkgview.cc:
8921
	  Use "top" and "bottom" for vertical alignment, not "left"
8922
	  and "right".
8923
8924
	* doc/aptitude.xml, doc/images/become-root-snapshot.png, doc/images/broken-snapshot.png, doc/images/expand-once-snapshot.png, doc/images/expand-thrice-snapshot.png, doc/images/expand-twice-snapshot.png, doc/images/info-snapshot.png, doc/images/install-snapshot.png, doc/images/limit-result-snapshot.png, doc/images/limit-snapshot.png, doc/images/menu-snapshot.png, doc/images/preview-snapshot.png, doc/images/search-snapshot.png, doc/images/start-snapshot.png, doc/images/update-snapshot.png:
8925
	  Update the screenshots to reflect the new appearance of aptitude;
8926
	  made some minor editorial changes at the same time.
8927
8928
	* src/pkg_columnizer.cc:
8929
	  Add a space between the two versions in the package display
8930
	  format.
8931
8932
	* doc/aptitude.xml:
8933
	  Quote rationalization: changed all double-quotes in the text
8934
	  to <quote>...</quote>, and changed all double-quotes in tags
8935
	  to single-quotes (except where doing so was impossible).
8936
8937
2004-06-25  Christian Perrier <bubulle@debian.org>
8938
8939
	* Regenerate aptitude.pot and update po files
8940
	* Updated French translation
8941
	* Updated Dutch translation
8942
	* Updated Czech translation. Closes: #256326
8943
8944
2004-06-24  Daniel Burrows  <dburrows@debian.org>
8945
8946
	* doc/aptitude.css:
8947
	  Shade <cmdsynopsis> elements.
8948
8949
	* doc/aptitude.xml:
8950
	  Document how to customize the program's colors.
8951
8952
	* src/mine/cmine.cc, src/vscreen/vscreen.cc, src/vscreen/vs_minibuf_win.h:
8953
	  Expunge remaining references to ScreenBackgroundColor.
8954
8955
	* doc/aptitude.xml:
8956
	  Document a few more useful command-line actions in the tutorial
8957
	  section.
8958
8959
	* doc/aptitude.xml:
8960
	  Make sure that all sections and chapters (that are written) have
8961
	  introductory text, so we don't have bare tables of contents sitting
8962
	  around.  Changed the enumeration of basic aptitude command-line
8963
	  actions from an ordered list to a variable list.
8964
8965
	* doc/aptitude-html.xsl:
8966
	  Chunk even more aggressively, and generate more local
8967
	  tables of contents.
8968
8969
	* doc/aptitude-common.xsl, doc/aptitude-html.xsl:
8970
	  Chunk the documentation more aggressively, so the individual
8971
	  pages don't get so huge.
8972
8973
	* doc/aptitude.xml:
8974
	  Add entries for a number of missing keys; editorially change
8975
	  a preposition in the description of grouping policies; move
8976
	  the Minesweeper seection to the toplevel and give it an ID;
8977
	  add a section to document display layout customization.
8978
8979
	* src/mine/cmine.cc:
8980
	  Change the default load/save bindings to S and L (so they
8981
	  don't collide with the directional bindings).
8982
8983
	* src/download_bar.cc:
8984
	  Expunge references to ExitScreen.
8985
8986
	* src/download_screen.cc, src/vscreen/vscreen.cc:
8987
	  Expunge references to AbortScreen.
8988
8989
2004-06-23  Daniel Burrows  <dburrows@debian.org>
8990
8991
	* doc/aptitude.xml:
8992
	  Exhaustively document menu commands.
8993
8994
	* doc/aptitude.xml:
8995
	  Add cross-references from the list of bindings to the list
8996
	  of package commands.  Add Purge to the list of bindings.
8997
8998
	* doc/aptitude.xml:
8999
	  Add a <thead> to the list of package commands.
9000
9001
	* doc/aptitude.css:
9002
	  Add some subtle background shading to admonitions.
9003
9004
	* doc/aptitude.xml:
9005
	  Document how to configure keybindings.
9006
9007
	* src/vscreen/config/keybindings.cc:
9008
	  Add a hack for binding to commas, since the frontend parsing
9009
	  doesn't handle them cleanly and I can't easily fix it.
9010
9011
	* src/ui.cc, src/pkg_node.cc, src/vscreen/vscreen.cc, src/vscreen/config/keybindings.h, src/vscreen/vs_text_layout.cc, src/vscreen/vs_table.cc, src/vscreen/vs_menubar.cc:
9012
	  Fix a number of incorrect initializations of keybindings objects
9013
	  (they were using "new keybindings(global_bindings)" instead of
9014
	   "new keybindings(&global_bindings)"), make the copy constructor
9015
	  of keybindings private so it doesn't accidentally get invoked,
9016
	  and make sure that *all* the keybinding domains get loaded.
9017
9018
	* src/vscreen.cc, src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
9019
	  Add a keybinding domain for the vs_text_layout widget.
9020
9021
2004-06-16  Christian Perrier <bubulle@debian.org>
9022
9023
	* Updated Italian translation
9024
	* Updated Basque translation #244858
9025
		  
9026
2004-06-21  Daniel Burrows  <dburrows@debian.org>
9027
9028
	* doc/aptitude.xml:
9029
	  Use <keycombo> for the Control-u "undo" shortcut.
9030
9031
	* doc/aptitude.xml:
9032
	  Document sorting policies.
9033
9034
	* doc/Makefile.am, doc/aptitude-txt.sed:
9035
	  sed is the wrong way to handle "bad" entities; don't use it
9036
	  for now.
9037
9038
	* doc/Makefile.am, doc/aptitude-txt.style, doc/aptitude-txt.sed:
9039
	  Use html2text, not links, to generate the text output.
9040
9041
2004-06-16  Christian Perrier <bubulle@debian.org>
9042
9043
	* Updated German translation. #255396
9044
		  
9045
2004-06-20  Daniel Burrows  <dburrows@debian.org>
9046
9047
	* doc/aptitude.css, doc/aptitude-html.xsl, doc/Makefile.am:
9048
	  Added a basic CSS stylesheet (the initial values are partly
9049
	  borrowed from Subversion).  The current stylesheet just puts
9050
	  borders around "tip" et al, and stripes alternate rows of
9051
	  tables.
9052
9053
	* doc/aptitude-txt.xsl, doc/Makefile.am:
9054
	  Added some basic magick to output a text version of the
9055
	  documentation.  Unfortunately, the DocBook people seem to
9056
	  believe that it should be as difficult as possible to get
9057
	  a sensible text version of your document. :-(
9058
9059
	* doc/aptitude.xsl, doc/aptitude-html.xsl, doc/Makefile.am:
9060
	  Rename aptitude.xsl to aptitude-html.xsl.
9061
9062
	* doc/aptitude.xsl, doc/aptitude-common.xsl:
9063
	  Add a common stylesheet, holding variables for all stylesheets.
9064
9065
	* doc/aptitude.xml:
9066
	  Add a legalnotice with the GPL boilerplate text after
9067
	  s/program/manual/.
9068
9069
	* doc/aptitude.xml:
9070
	  Clarify that %n outputs the version of the program, not just
9071
	  0.2.15.
9072
9073
	* doc/aptitude.xml:
9074
	  Add a link to a tutorial on regular expressions.
9075
9076
	* doc/aptitude.xsl:
9077
	  Display segmentedlists as tables.
9078
9079
	* doc/aptitude.xml:
9080
	  Document the display formatting system, change the version
9081
	  of the vprogram as given in the internal subset, add a basic
9082
	  copyright notice, and move some lists of stuff into figures
9083
	  for cross-referencing.
9084
9085
	* src/pkg_columnizer.cc:
9086
	  Remove an unnecessary, and probably harmful, # in the default
9087
	  format string.
9088
9089
	* src/ui.cc:
9090
	  Menus in aptitude are now exactly the minimum size.
9091
9092
	* src/vscreen/vs_menu.cc:
9093
	  Really fix the calculation of minimum menu size.
9094
9095
	* src/vscreen/testvscreen.cc:
9096
	  Menus in the test program are now exactly as large as necessary.
9097
9098
	* src/vscreen/vs_menubar.cc:
9099
	  Handle placing menus in narrow screens more gracefully.
9100
9101
	* src/vscreen/vs_menu.cc:
9102
	  Make sure that menus are always wide enough to display shortcuts.
9103
9104
	* doc/aptitude.xml:
9105
	  Write the section on search patterns, start an FAQ, and add some
9106
	  missing cross-references.
9107
9108
	* po/zh_TW.po:
9109
	  Fix two msgstrs that didn't match the formatting of the
9110
	  corresponding msgid (Taiwanese people are probably very
9111
	  confused about why their aptitudes are going to use or
9112
	  free huge amounts of disk space, and why it's always
9113
	  given in bytes...)
9114
9115
	* po/fi.po:
9116
	  Somehow this didn't have a Language-Team header, which caused
9117
	  'make' to fail (but not until after the last commit?!).
9118
	  Added one.
9119
9120
	* doc/Makefile.am:
9121
	  Fix installation of documentation.
9122
9123
	* intl/ m4/ po/remove-potcdate.sin po/quot.sed po/Rules-quot po/insert-header.sin po/Makevars po/en@quot.header po/en@boldquot.header po/boldquot.sed src/mine/Makefile.am src/generic/Makefile.am src/vscreen/config/Makefile.am src/vscreen/Makefile.am src/Makefile.am configure.ac ABOUT-NLS:
9124
	  Re-run gettextize, largely to fix the fact that 'make install'
9125
	  is broken.
9126
9127
2004-06-19  Daniel Burrows  <dburrows@debian.org>
9128
9129
	* doc/aptitude.xml:
9130
	  First crack at documentation of how automatically installed
9131
	  packages work.
9132
9133
2004-06-18  Daniel Burrows  <dburrows@debian.org>
9134
9135
	* doc/aptitude.xml:
9136
	  More documentation work...getting closer...
9137
9138
	* src/reason_fragment.cc:
9139
	  Be more aggressive about showing Providing packages: for a
9140
	  Conflicts, show any package that is currently installed or will be
9141
	  installed; for a Depends, show all packages.
9142
9143
2004-06-16  Christian Perrier <bubulle@debian.org>
9144
9145
	* Re-Updated Lithuanian translation
9146
	* Updated Japanese translation
9147
		  
9148
2004-06-16  Daniel Burrows  <dburrows@debian.org>
9149
9150
	* doc/aptitude.xml:
9151
	  And it's <guimenuitem>, not <menuitem> (why didn't nxml catch these?)
9152
9153
	* doc/aptitude.xml:
9154
	  Whoops, it's <replaceable>, not <replacable>.
9155
9156
	* doc/aptitude.xml:
9157
	  Document that you can create a view with the "categorical browser"
9158
	  option, and only say that aptitude explains why brokenness
9159
	  occurs (not that it suggests a solution).
9160
9161
	* src/ui.cc:
9162
	  Just disable use of the non-hierarchical view for now; it's too
9163
	  broken. (Debian bugs #120978, #144079, #144083, #151437, #242397)
9164
9165
	* doc/aptitude.xml:
9166
	  Write more sections.
9167
9168
	* src/cmdline.cc:
9169
`	  Show ORed dependencies properly in "aptitude show"
9170
	  (Debian bug #254740).
9171
9172
	* doc/aptitude.xml:
9173
	  Editing, and write another section.
9174
9175
2004-06-16  Christian Perrier <bubulle@debian.org>
9176
9177
	* Updated Simplified Chinese translation
9178
	* Updated Lithuanian translation
9179
		  
9180
2004-06-15  Daniel Burrows  <dburrows@debian.org>
9181
9182
	* doc/aptitude.xml:
9183
	  Write an introduction for the Reference Guide.
9184
9185
	* doc/aptitude.xsl:
9186
	  Really chunk sections separately.
9187
9188
	* doc/Makefile.am, doc/aptitude.xsl:
9189
	  Really enable the navigation images.
9190
9191
	* doc/aptitude.xml:
9192
	  Make sure that <screen> and </screen> tags are flush against
9193
	  the verbatim stuff, so that stray newlines don't creep into
9194
	  the documentation.
9195
9196
	* doc/Makefile.am, doc/aptitude.xsl:
9197
	  Add an XSL stylesheet for the documentation.
9198
9199
2004-06-15  Christian Perrier <bubulle@debian.org>
9200
9201
	* Regenerate aptitude.pot and update po files
9202
	* Updated french translation
9203
	* Updated spanish translation
9204
	* Updated dutch translation
9205
		  
9206
2004-06-14  Daniel Burrows  <dburrows@debian.org>
9207
9208
	* src/aptitude.h, src/pkg_grouppolicy.cc, src/generic/tasks.cc:
9209
	  Apply (with small modifications) patch from Denis Barbier to
9210
	  translate task descriptions.  It doesn't seem to cause
9211
	  regressions for English; I can't test the translation, but I
9212
	  assume it works.  (Debian bug #203725)
9213
9214
	* configure.ac:
9215
	  Tell configure about bs so aptitude compiles.
9216
9217
	* src/cmdline.cc, src/cmdline.h, src/main.cc:
9218
	  Add a --visual-preview option, which pops into the visual
9219
	  interface in the preview step. (Debian bug #253335)
9220
9221
	* src/cmdline.cc:
9222
	  Don't display the Essential warning/prompt if the user cancelled
9223
	  the removal. (Debian bug #254422)
9224
9225
2004-06-14  Christian Perrier <bubulle@debian.org>
9226
9227
	* Dutch translation update
9228
	* Basque translation update
9229
		  
9230
2004-06-13  Christian Perrier <bubulle@debian.org>
9231
9232
	* Polish translation update
9233
	* Brazilian Portuguese translation update
9234
	* Partial Bosnian translation added
9235
	* Updated German translation, help page and man page
9236
	* Updated Makefile to install German translations
9237
	* Italiann translation updated
9238
		  
9239
2004-06-10  Christian Perrier <bubulle@debian.org>
9240
9241
	* Czech translation update
9242
		  
9243
2004-06-09  Christian Perrier <bubulle@debian.org>
9244
9245
	* Regenerate aptitude.pot and update po files
9246
	* Updated french translation
9247
		  
9248
2004-06-11  Daniel Burrows  <dburrows@debian.org>
9249
9250
	* src/cmdline.cc:
9251
	  When mentioning packages that contain a string, don't show pure
9252
	  virtual packages unless something Provides them.
9253
9254
	* src/ui.cc:
9255
	  Disable the Next/Previous View commands if no other views
9256
	  are visible.  Disable Close if no view is visible.
9257
9258
	* src/ui.cc:
9259
	  Disable the Undo command if no undos are available.
9260
9261
	* src/ui.cc:
9262
	  Move the Undo menu left several slots.
9263
9264
2004-06-09  Daniel Burrows  <dburrows@debian.org>
9265
9266
	* src/ui.cc:
9267
	  Disable the "become root" menu item if the user is already root.
9268
9269
	* src/vscreen/vs_menu.cc:
9270
	  Don't crash if the first item in the menu is disabled.
9271
9272
	* src/ui.cc:
9273
	  Disable the update/install menu items if an update or install
9274
	  is already taking place.
9275
9276
	* src/ui.cc:
9277
	  Disable the "forget new packages" menu item if no packages are new.
9278
9279
	* src/generic/aptcache.cc:
9280
	  Don't count pure virtual packages as "new".
9281
9282
	* src/generic/aptcache.cc, src/generic/aptcache.h:
9283
	  Add support for counting the number of "new" packages.
9284
9285
	* src/vscreen/vs_menu.cc:
9286
	  Only respond to mouse presses when a selectable (enabled) menu
9287
	  item is clicked on.
9288
9289
	* src/pkg_tree.cc, src/pkg_tree.h:
9290
	  In package lists, allow the user to limit the display.
9291
9292
	* src/vscreen/vs_menu.cc:
9293
	  Fix the movement commands in a menu to more correctly handle
9294
	  menus that mix enabled and non-enabled items.
9295
9296
	* src/menu_redirect.h, src/pkg_tree.cc, src/pkg_tree.h, src/pkg_view.cc, src/ui.cc, src/ui.h:
9297
	  Add signals, methods, and connections to make the search menu
9298
	  command functional.
9299
9300
	* src/ui.cc:
9301
	  Hopefully fix compilation problems on ia64. (Debian bug #243932)
9302
9303
	* src/ui.cc:
9304
	  Add a menu that allows the user to search for a package or to
9305
	  limit the displayed packages.
9306
9307
	* src/pkg_tree.cc, src/pkg_ver_item.h:
9308
	  Allow searches to match package version nodes.
9309
9310
	* src/apt_info_tree, src/pkg_tree.cc, src/pkg_tree.h:
9311
	  Move all searching functionality into the pkg_menu_tree.
9312
9313
	* src/menu_redirect.h, src/pkg_tree.cc, src/pkg_tree.h, src/pkg_view.cc:
9314
	  Hook up the package menu items other than Install.
9315
9316
2004-06-09  Christian Perrier <bubulle@debian.org>
9317
9318
	* Regenerate aptitude.pot and update po files
9319
	* Updated french and dutch translations
9320
		  
9321
2004-06-08  Daniel Burrows  <dburrows@debian.org>
9322
9323
	* src/download.cc, src/ui.cc, src/ui.h, src/view_changelog.cc:
9324
	  Make sure that all menu items have a description.
9325
9326
	* src/ui.cc:
9327
	  Sanitize menu item descriptions: no menu item description should
9328
	  end with a period. (Debian bug #244676)
9329
9330
	* src/Makefile.am, src/apt_info_tree.h, src/menu_redirect.h, src/pkg_node.cc, src/pkg_tree.cc, src/pkg_tree.h, src/pkg_view.cc, src/pkg_view.h, src/ui.cc, src/ui.h:
9331
	  Connect the package menu to the package view; it works now!
9332
9333
	* src/cmdline.cc:
9334
	  Remove an extraneous space from the display of Essential
9335
	  information (it has now migrated to the translated string
9336
	  instead of the format string).
9337
9338
	* src/vscreen/vscreen_widget.h:
9339
	  Make vscreen_widget derive virtually from Object, to allow
9340
	  multiple inheritance later on.
9341
9342
2004-06-08  Christian Perrier <bubulle@debian.org>
9343
9344
        * Added a missing space in the former "Essential:" string
9345
	  Unfuzzied translations as well
9346
	* Regenerate aptitude.pot and update po files
9347
	  Complete french translation
9348
		  
9349
2004-06-07  Daniel Burrows  <dburrows@debian.org>
9350
9351
	* src/ui.cc, src/ui.h:
9352
	  Add hooks for a "Package" menu, currently always disabled.
9353
9354
	* src/vscreen/vs_menu.cc:
9355
	  Call the highlighted signal when the menu is first displayed.
9356
9357
	* src/vscreen/vs_menu.cc:
9358
	  Make it possible to select menu items with Enter again.
9359
9360
	* src/vscreen/vs_menubar.cc:
9361
	  Correctly determine whether the cursor should be visible.
9362
9363
	* src/vscreen/vscreen.cc, src/vscreen/vs_menu.cc, src/vscreen/vs_menu.h:
9364
	  Use a menu item's enabled status to control how it is drawn and
9365
	  whether it is selected.
9366
9367
	* src/vscreen/bool_marshal.h:
9368
	  Make the marshallers usable by making default_value() static.
9369
9370
	* src/vscreen/vs_menu.cc, src/vscreen/vs_menu.h:
9371
	  Add support for storing information on whether a menu item is
9372
	  enabled.
9373
9374
	* src/vscreen/bool_marshal.h:
9375
	  Fix the header to compile.
9376
9377
	* src/vscreen/bool_marshal.h:
9378
	  Add marshallers that are more appropriate for Boolean return values.
9379
9380
2004-06-07  Christian Perrier <bubulle@debian.org>
9381
9382
	* Re-make aptitude.pot and update translations
9383
	* French translation update
9384
9385
2004-06-06  Daniel Burrows  <dburrows@debian.org>
9386
9387
	* src/cmdline.cc:
9388
	  "aptitude show" now prints whether a package is Essential: yes.
9389
9390
2004-06-04  Christian Perrier <bubulle@debian.org>
9391
9392
	* Updated Norwegian Bokmal and Nynorsk translations
9393
	  Bug #252507
9394
9395
2004-05-30  Daniel Burrows  <dburrows@debian.org>
9396
9397
	* doc/aptitude.xml:
9398
	  Use the correct screenshot to illustrate the info screen, and
9399
	  slightly expand the explanation of it.
9400
9401
	* src/generic/aptcache.cc:
9402
	  Always properly undo forbidden-version setting; previously it
9403
	  would only work if some other part of the package's state changed
9404
	  as a result.
9405
9406
	* doc/aptitude.xml:
9407
	  Describe the action flag.
9408
9409
	* doc/aptitude.xml:
9410
	  Move the "User's Guide" quote to the "Reference" section.
9411
9412
	* src/generic/aptcache.cc:
9413
	  When cleaning up package states after a change: if a package is
9414
	  being kept in its current state, only set its state to Install if
9415
	  it is already installed; if it was going to be installed, set its
9416
	  state to Purge or DeInstall as appropriate.
9417
9418
	* src/generic/aptcache.cc:
9419
	  When keeping a package back, only reset its installation reason
9420
	  to "manual" if it was actually being removed due to being unused.
9421
9422
2004-05-29  Daniel Burrows  <dburrows@debian.org>
9423
9424
	* src/generic/aptcache.cc:
9425
	  Always run a garbage collection after loading the cache.
9426
	  This was done previously, but only if packages were being
9427
	  upgraded on startup; now it is done consistently (this makes
9428
	  the behavior more sensible).
9429
9430
	* src/pkg_subtree.cc:
9431
	  Don't hold the whole subtree, keep it back.
9432
9433
	* help.txt, src/defaults.cc, src/pkg_item.cc, src/pkg_item.h, src/pkg_node.cc, src/pkg_node.h, src/pkg_subtree.cc, src/pkg_subtree.h, src/pkg_ver_item.cc, src/pkg_ver_item.h:
9434
	  Add a command to keep a package back without holding it (':'
9435
	  by default)
9436
9437
	* src/cmdline.cc, src/generic/aptcache.cc, src/generic/aptcache.h:
9438
	  Add an option to all_upgrade which can be used to enable
9439
	  auto-installation of dependencies.
9440
9441
	* doc/aptitude.xml:
9442
	  - Created the structure for the rest of the documentation.
9443
	  - Wrote the section on the package synopsis.
9444
	  - Wrote the section on the package info screen, with a
9445
	    screenshot.
9446
9447
2004-05-27  Christian Perrier <bubulle@debian.org>
9448
9449
	* Updated Danish translation
9450
	  Bug #244539
9451
	* Added Catalan translation
9452
	  Bug #248764
9453
	* Added Traditional Chinese translation and help text
9454
	  Bug #244359
9455
	* Updated Portuguese translation
9456
	  Bugs #244850, #245699
9457
9458
2004-05-24  Christian Perrier <bubulle@debian.org>
9459
9460
	* Added Russian and Norwegian Bokmal translations
9461
	  Bug #250498 and #250500
9462
9463
2004-05-17  Christian Perrier <bubulle@debian.org>
9464
9465
	* Update Japanese translation and help text
9466
	  Bug #250023
9467
9468
2004-05-20  Daniel Burrows  <daniel@jester>
9469
9470
	* configure.ac:
9471
	  Add the toplevel Makefile back to configure.ac (oops!).
9472
9473
2004-05-18  Daniel Burrows  <daniel@jester>
9474
9475
	* doc/aptitude.xml:
9476
	  Write a somewhat shorter tutorial on the command line of
9477
	  aptitude.
9478
9479
2004-05-17  Christian Perrier <bubulle@debian.org>
9480
9481
	* Include Dutch translation by Dutch team
9482
	  Bug #249405
9483
	* Include Basque translation and help text
9484
	  Bug #244858
9485
	* Update Italian translation, man page and help text
9486
	  Bug #244679
9487
9488
2004-05-16  Daniel Burrows  <daniel@jester>
9489
9490
	* doc/aptitude.xml:
9491
	  More or less finish the section of the tutorial on how to
9492
	  use aptitude interactively.
9493
9494
2004-05-15  Christian Perrier <bubulle@debian.org>
9495
9496
	* Include all Czech translation updates by Miroslav Kure
9497
	  Bug #243728
9498
9499
2004-05-14  Daniel Burrows  <daniel@jester>
9500
9501
	* src/download_screen.h, src/dep_item.h, src/dep_item.cc:
9502
	  Further g++ 3.4 fixes.  It now reportedly compiles with g++ 3.4.
9503
9504
	* doc/aptitude.xml: Incorporate several suggestions from kh to
9505
	  improve the already-written portion of the documentation.
9506
9507
2004-05-13  Daniel Burrows  <daniel@jester>
9508
9509
	* src/pkg_item_with_subtree.h: 
9510
	  Work around a C++ language bug that's more "correctly" implemented
9511
	  in g++ 3.4.
9512
9513
	* src/generic/matchers.cc, src/vscreen/curses++.h, src/vscreen/vs_layout_item.h:
9514
	  More g++ 3.4 fixes.
9515
9516
	* src/strhash.h:
9517
	  Fix a C++ error that causes compile failures on g++ 3.4, reported
9518
	  by Josep Febrer.
9519
9520
2004-05-09  Daniel Burrows  <daniel@jester>
9521
9522
	* doc/aptitude.xml:
9523
	  Various edits, and extended the tutorial to cover the most
9524
	  basic tree manipulations.
9525
9526
2004-05-03  Daniel Burrows  <daniel@jester>
9527
9528
	* doc/aptitude.xml:
9529
	  Finish up the Introduction section, hopefully.
9530
9531
	* doc/aptitude.xml:
9532
	  Finish the basic introduction to the aptitude UI, start the
9533
	  part of the tutorial that discusses the list of packages.
9534
9535
2004-04-28  Christian Perrier <bubulle@debian.org>
9536
9537
	* po/*:
9538
	  Updated aptitude.pot and all PO files
9539
	  French translation update
9540
9541
2004-04-23  Daniel Burrows  <daniel@jester>
9542
9543
	* src/cmdline.cc:
9544
	  Add an "i" command in the command-line mode prompt, which allows
9545
	  you to show information about a package.
9546
9547
2004-04-22  Daniel Burrows  <daniel@jester>
9548
9549
	* src/cmdline.cc:
9550
	  Require only one -v, not two.
9551
9552
	* src/generic/infer_reason.cc, src/generic/rev_dep_iterator.h:
9553
	  Correct the logic in some usages of the new rev_dep_iterator
9554
	  so that, among other things, the program doesn't crash.
9555
	  (hopefully)
9556
9557
	* src/generic/infer_reason.cc, src/generic/rev_dep_iterator.cc:
9558
	  Provide the right versions to rev_dep_iterator, and don't
9559
	  crash in it if a NULL version is provided.
9560
9561
	* src/cmdline.cc:
9562
	  If -v is given to an installation command, display Suggested
9563
	  packages in the preview.
9564
9565
	* src/pkg_grouppolicy.cc, src/generic/apt.cc, src/generic/apt.h:
9566
	  Split out the package_suggested routine into generic code.
9567
9568
	* README, aptitude.1, src/apt_options.cc, src/main.cc, src/generic/aptcache.cc, src/generic/aptitudepolicy.cc, src/generic/infer_reason.cc:
9569
	  Remove all traces of Suggests-Important. (Debian bug #245410)
9570
9571
	* src/pkg_tree.cc, src/pkg_tree.h:
9572
	  When a limit doesn't match any packages, print an explanatory
9573
	  message instead of giving the user a blank screen.
9574
9575
	* src/generic/Makefile.am, src/generic/infer_reason.cc, src/generic/rev_dep_iterator.h:
9576
	  Create a class to iterate over all reverse dependencies of
9577
	  a package, including those via Provided packages.  Use this
9578
	  in infer_reason (Debian bug #244817).
9579
9580
	* src/generic/infer_reason.cc:
9581
	  Break out some common code from several cases in the
9582
	  infer_reason function.
9583
9584
	* src/generic/matchers.cc:
9585
	  Greatly improve the matchers for reverse dependencies, and add
9586
	  matchers for reverse and forward provides.  Too sleepy to write
9587
	  documentation or to debug the problem that this was created to
9588
	  help debug.
9589
9590
2004-04-21  Daniel Burrows  <daniel@jester>
9591
9592
	* src/generic/matchers.cc:
9593
	  When using a dep_matcher, check unversioned dependencies too.
9594
9595
2004-04-19  Daniel Burrows  <daniel@jester>
9596
9597
	* src/ui.cc:
9598
	  Fix wrapping of errors -- successive errors were running together
9599
	instead of being placed on separate lines.
9600
9601
2004-04-17  Daniel Burrows  <daniel@jester>
9602
9603
	* src/defaults.cc, src/pkg_item.cc, src/pkg_ver_item.cc:
9604
	  Add a convenient keybinding for reporting a bug.
9605
9606
2004-04-09 Christian Perrier
9607
        * update po files fter typo correction
9608
	* re-created POT file
9609
9610
2004-04-08  Daniel Burrows  <daniel@jester>
9611
9612
	* configure.ac, doc/Makefile.am, doc/aptitude.xml, doc/images/start-snapshot.png:
9613
	  More documentation updates, including a screenshot.
9614
9615
	* doc/aptitude.xml:
9616
	  Better indentation and filling of text.
9617
9618
	* doc/aptitude.xml:
9619
	  Improve some wording in the description of package managers.
9620
9621
	* doc/aptitude.xml:
9622
	  Correct invalid XML.
9623
9624
	* doc/aptitude.xml:
9625
	  docbookide is deprecated, remove the docbook-mode marking.
9626
9627
	* po/pt.po:
9628
	  Translation update from Nuno S鮩ca (Debian bug #242372)
9629
9630
	* src/generic/infer_reason.cc:
9631
	  Correctly detect the end of OR groups (oops), so they are properly
9632
	  displayed. (Debian bug #242663)
9633
9634
	* po/lt.po:
9635
	  Translation update from Darius ?itkevicius. (Debian bug #242815)
9636
9637
2004-04-07  Christian Perrier <bubulle>
9638
9639
	* po/fr.po:
9640
	French update by Jean-Luc Coulon
9641
9642
2004-04-05  Daniel Burrows  <daniel@jester>
9643
9644
	* po/pt_BR.po:
9645
	Translation updates from Andre Luis Lopes.  (Debian bug #242332)
9646
9647
	* po/pt.po:
9648
	Translation updates from Nuno S鮩ca.  (Debian bug #242309)
9649
9650
	* aptitude.de.1, help-de.txt, po/de.po, src/mine/mine-help-de.txt:
9651
	Further German translation updates. (same)
9652
9653
	* po/de.po:
9654
	Further updates to the German translation (Debian bug #233917).
9655
9656
	* aptitude.1:
9657
	Patch from Sebastian Kapfer (Debian bug #242304).
9658
9659
2004-04-04  Daniel Burrows  <daniel@jester>
9660
9661
	* doc/aptitude.xml:
9662
	Write some preliminary text.
9663
9664
	* Makefile.am, configure.ac, doc/Makefile.am, doc/aptitude.xml:
9665
	Add skeletal support for a docbook-xsl-based user's manual.
9666
9667
	* src/generic/aptcache.cc:
9668
	Use *this, not *apt_cache_file, in is_held, so we don't crash when
9669
	apt_cache_file hasn't been initialized yet.
9670
9671
	* po/es.po:
9672
	Spanish update from Ruben Porras.
9673
9674
	* src/pkg_grouppolicy.cc:
9675
	Don't talk about Perl when describing the Python section.
9676
9677
2004-04-03  Daniel Burrows  <daniel@jester>
9678
9679
	* NEWS, README, configure.ac:
9680
	Updates for 0.2.14.1.
9681
9682
	* src/cmdline.cc:
9683
	When verbosity is requested, display archive information
9684
	for packages in 'aptitude show'.  If extra verbosity is
9685
	requested, display every version file as a separate record.
9686
9687
	* src/pkg_info_screen.cc:
9688
	Add a tree in the info screen for virtual packages.
9689
	(Debian bug #121979)
9690
9691
	* src/cmdline.cc:
9692
	Display information about provided and providing packages in
9693
	"aptitude show", even for pure virtual packages.
9694
9695
	* src/vscreen/fragment.cc:
9696
	Always initialize indentattr to 0.
9697
9698
	* src/vscreen/fragment.cc:
9699
	Make the indentation of an indentbox obey attributes set via
9700
	set_attr().  This makes the error dialog look right.
9701
9702
	* src/ui.cc:
9703
	Add a slightly hacky method for calculating the correct number of
9704
	lines when requesting a size for an error pager.
9705
9706
	* src/ui.cc:
9707
	Use fragments to display apt error messages (still needs some work).
9708
	This means that error messages wrap (Debian bug #233923).
9709
9710
	* src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
9711
	Add a vs_text_layout method which calculates the desired height
9712
	of the widget given a width.
9713
9714
	* src/vscreen/Makefile.am, src/vscreen/testvscreen.cc, src/vscreen/vs_bin.h, src/vscreen/vs_bin.cc, src/vscreen/vs_center.h, src/vscreen/vs_center.cc, src/vscreen/vs_size_box.h, src/vscreen/vs_size_box.cc:
9715
	Add a 'vs_size_box', a layout widget that enforces a minimum size
9716
	on its contents.
9717
9718
2004-04-03  Christian Perrier  <bubulle@debian.org>
9719
9720
	* Portuguese program translation. Closes: #239171
9721
	* Italian translation update. Closes: #239915
9722
	* Czech translation update. Closes: #240604
9723
	* Lituanian translation update. Closes: #240683
9724
	* Simplified Chinese translation update. Closes: #240739
9725
	* Norwegian Nynorsk translation update. Closes: #241104
9726
	* Japanese translation update. Closes: #239242
9727
9728
2004-04-03  Daniel Burrows  <daniel@jester>
9729
9730
	* src/ui.cc:
9731
	Un-reverse logic in the use of is_held, so the warning dialog
9732
	about "maybe you didn't select packages for upgrade" is displayed
9733
	appropriately.
9734
9735
2004-04-02  Daniel Burrows  <daniel@jester>
9736
9737
	* README, src/pkg_columnizer.cc, src/pkg_columnizer.h, src/pkg_ver_item.cc:
9738
	Patch from Darren Salt and David Caldwell to add support for an
9739
	Archive column (%t).  (Debian bug #113354)
9740
9741
	* README, aptitude.1, src/cmdline.cc, src/main.cc:
9742
	Add a "reinstall" command-line action. (Debian bug #240225)
9743
9744
	* src/generic/aptcache.cc, src/generic/tasks.cc:
9745
	Make sure to call Done() on the progress object to avoid spurious
9746
	problems later.
9747
9748
	* src/ui.cc:
9749
	Fix an overlooked build error.
9750
9751
	* Retroactive note:
9752
	Christian fixed Debian bugs #239171, #239915, #240604, #240683,
9753
	#240739, and #241104 in the massive update below, but forgot
9754
	to include ChangeLog notes for them.  Adding one so they don't
9755
	get forgotten.
9756
9757
	* src/apt_options.cc:
9758
	Remove a pointless second line in an option description.
9759
	(Debian bug #233528)
9760
9761
	* src/ui.cc, src/reason_fragment.cc:
9762
	Use is_held in several more appropriate places.
9763
9764
	* src/generic/aptcache.cc:
9765
	is_held now returns true only if the package in question is
9766
	actually installed.
9767
9768
	* src/generic/aptcache.cc:
9769
	Use is_held internally to the apt-cache; among other things,
9770
	this makes "aptitude upgrade" behave correctly around forbidden
9771
	versions.
9772
9773
	* src/cmdline.cc:
9774
	Oops, add a missing break statement so the program doesn't abort
9775
	when given the forbid-version command.
9776
9777
	* src/main.cc:
9778
	Teach main about forbid-version so I can actually test it.
9779
9780
	* src/cmdline.cc, src/generic/aptcache.cc, src/generic/aptcache.h: 
9781
	Added a generic way to test whether aptitude should hold packages.
9782
9783
	* README:
9784
	Remove a comment about an apt bug that has now been fixed.
9785
9786
	* README:
9787
	s/interactive/visual/g
9788
9789
	* README, ChangeLog:
9790
	Document "F".
9791
9792
	* help.txt:
9793
	Document "F".
9794
9795
	* src/ui.cc:
9796
	Instead of displaying an unhelpful blank screen, print a very
9797
	visible warning message if the user tries to do an install run
9798
	when there's nothing to	install, remove, or upgrade.  An exception
9799
	is made in the case when all upgradable packages have been
9800
	explicitly held back, but maybe it shouldn't be.  If it looks like
9801
	the user forgot to press "U", print a gentle reminder about the
9802
	command.
9803
9804
	* src/pkg_columnizer, src/pkg_ver_item.cc:
9805
	Add support for the "forbidden" state in the long form of the
9806
	column output.
9807
9808
	* README, aptitude.1, src/cmdline.cc, src/main.cc:
9809
	Create and document a "forbid-version" command-line action.
9810
9811
	* src/ui.cc:
9812
	Most of the screen real estate on the dep and version screens is
9813
	wasted, so the information area might as well be visible in them.
9814
9815
	* po/zh_CN.po:
9816
	Add some missing newlines that were causing "make" to bomb out.
9817
9818
	* configure.ac:
9819
	Add "lt", "nn", and "pt" to ALL_LINGUAS so "make" works again.
9820
9821
	* aptitude.1:
9822
	Updates and proofreading from Danilo Piazzalunga:
9823
9824
	General review: updated Options and Interactive Usage sections,
9825
	minor cosmetic fixes here and there. Corrected section for apt-get
9826
	reference, document -t option (Debian bugs #198891, #225053).
9827
9828
2004-03-22  Christian Perrier  <bubulle@debian.org>
9829
9830
	* Added po/aptitude.pot generated by 
9831
	  "xgettext -f po/POTFILES.in -k_ -kN_ -o po/aptitude.pot"
9832
	  Will make translators work easier
9833
	* Updated po/fr.po
9834
9835
2004-03-21  Christian Perrier  <bubulle@debian.org>
9836
9837
	* Brazilian Portuguese program translation update. Closes: #237866, #199306
9838
	* Danish program translation update. Closes: #230642, #234805
9839
	* German program translation update. Closes: #233917
9840
	* Spanish program translation update. Closes: #234537
9841
	* French program translation update. Closes: #237501
9842
	  French help file updated
9843
	  French minesweeper help file added
9844
	* Finnish program translation update. Closes: #238188
9845
	  Finnish help file updated
9846
	  Finnish man page updated
9847
	* Japanese program translation update. Closes: #235256
9848
	   Japanese help file added
9849
	* Partial Traditional Chinese program translation update. Closes: #230893
9850
	* Partial Greek program translation added. Closes: #237808
9851
	  ALL_LINGUAS updated accordingly in configure.ac
9852
9853
2004-03-18  Daniel Burrows  <daniel@jester>
9854
9855
	* src/ui.cc:
9856
	Only quit abruptly if there are 0 main widgets left, not if there's
9857
	only 1 left.
9858
9859
	* src/main.cc, src/pkg_tree.cc, src/pkg_tree.h, src/ui.cc, src/ui.h:
9860
	Display a progress bar while building package trees.
9861
9862
	* src/main.cc:
9863
	Remove some very obsolete code which has been #ifdef'd out for years.
9864
9865
	* src/generic/aptcache.cc, src/generic/apt.cc, src/generic/tasks.cc, src/generic/tasks.h:
9866
	Make progress calls for more operations.
9867
9868
	* src/vs_progress.cc:
9869
	Update progress bars more frequently (4 times a second).
9870
9871
	* src/ui.cc:
9872
	When the last main widget is destroyed, quit immediately (without
9873
	prompting).  This handles the case where the last widget is a
9874
	download widget. (Debian bug #233783)
9875
9876
	* src/generic/aptcache.cc, src/generic/aptcache.h:
9877
	Remember whether each package was to be upgraded.
9878
9879
	* src/pkg_grouppolicy.cc:
9880
	Place security updates in a separate top-level tree.
9881
9882
	* README:
9883
	Replace the reference to the Sourceforge repository with a
9884
	reference to SVN on Alioth.
9885
9886
	* src/generic/pkg_changelog.cc:
9887
	Fix viewing changelogs of contrib/non-free packages.
9888
	(Debian bug #233855)
9889
9890
	* src/pkg_grouppolicy.cc:
9891
	Add section descriptions for embedded, gnome, kde,
9892
	libdevel, perl, and python. (Debian bug #233913)
9893
9894
	* src/main.cc:
9895
	Add a missing \n in usage().  (Debian bug #233920)
9896
9897
	* src/download.cc, src/ui.cc, src/ui.h, src/view_changelog.cc:
9898
	Fix the titles given to download views. (Debian bug #234041)
9899
9900
	* src/generic/pkg_changelog.cc:
9901
	Handle epoched versions correctly (Debian bug #237340).
9902
9903
2004-02-24  Daniel Burrows  <dburrows@debian.org>
9904
9905
	* src/generic/aptcache.cc:
9906
	When a package that is being removed due to being unused is marked,
9907
	mark it for installation.
9908
9909
	* src/generic/aptcache.cc, src/generic/aptcache.h: 
9910
	Use the signals in the configuration to run a mark and sweep whenever
9911
	the value of Recommends-Important or Suggests-Important changes.
9912
9913
2004-02-21  Daniel Burrows  <dburrows@debian.org>
9914
9915
	* src/reason_fragment.cc:
9916
	Teach reason-fragments (sort of) about forbidden versions.
9917
9918
	* src/pkg_ver_item.cc:
9919
	Display "F" as the "action" for versions that are forbidden.
9920
9921
	* src/pkg_columnizer.cc:
9922
	Display "F" as the "action" for packages that are kept because the
9923
	upgrade is forbidden.
9924
9925
	* src/generic/aptcache.cc:
9926
	Write out *nonempty* forbidver tags, not empty ones.
9927
9928
	* src/generic/aptcache.cc:
9929
	Add support for reading in forbidden versions stored in the state
9930
	cache.
9931
9932
	* src/generic/aptcache.cc:
9933
	Fix segfaults in the forbidden-version code when no candidate
9934
	version is available.
9935
9936
	* src/generic/aptcache.h:
9937
	Decorate some classes with doccomments.
9938
9939
	* sec/generic/aptcache.cc, src/generic/aptcache.h:
9940
	Add basic support for a "forbidden version" flag: a version that
9941
	will not be upgraded too.  (inspired by the XF86 DRI breakage)
9942
9943
2004-02-19  Daniel Burrows  <dburrows@debian.org>
9944
9945
	* src/ui.cc:
9946
	Patch from Travis Crump <pretzalz@techhouse.org> to handle
9947
	situations where there are no views available but the UI is
9948
	supposed to exit when the last view closes. (Debian bug #233783)
9949
9950
	Note that this situation *should* never occur, and it is a bug
9951
	that it is occuring at all.
9952
9953
2004-02-15  Daniel Burrows  <dburrows@debian.org>
9954
9955
	* src/pkg_grouppolicy.cc, src/generic/tasks.cc, src/generic/tasks.h:
9956
	Add support for the Key attribute of tasks. (Debian bug #202871)
9957
9958
	* NEWS, README, configure.ac:
9959
	Bump version to 0.2.14.
9960
9961
	* src/generic/apt.cc:
9962
	Always initialize the package system, even if opening the
9963
	configuration file failed. (Debian bug #220732 again).
9964
9965
	* src/cmdline.cc:
9966
	After every invocation of apt_init, immediately check for errors
9967
	and abort if any occured.  This fixes a lot of crashes with
9968
	a missing sources.list (Debian bug #220732).
9969
9970
	* po/cs.po:
9971
	Fix the translation of a format string, which was causing crashes
9972
	in some cases.
9973
9974
2004-02-14  Daniel Burrows  <dburrows@debian.org>
9975
9976
	* po/it.po:
9977
	Update the Italian translation (Danilo Piazzalunga).
9978
9979
	* configure.ac:
9980
	Use AS_HELP_STRING to format help strings.
9981
9982
	* Makefile.am, aptitude.it.1:
9983
	Italian translation of the manpage from Danilo Piazzalunga.
9984
9985
	* src/generic/infer_reason.cc:
9986
	Don't follow reverse dependencies on provided packages if they
9987
	have a version component.
9988
9989
2004-02-13  Daniel Burrows  <dburrows@debian.org>
9990
9991
	* src/generic/infer_reason.cc:
9992
	More correct handling of conflicts: don't throw out reverse
9993
	dependencies on a package unless they are really from that
9994
	same package.
9995
9996
	* NEWS, README, configure.ac:
9997
	Bump version to 0.2.13.9999.3.
9998
9999
	* po/cs.po, po/da.po, po/de.po, po/es.po, po/fi.po, po/fr.po, po/gl.po, po/it.po, po/ja.po, po/pl.po, po/pt_BR.po, po/zh_CN.po:
10000
	Ran "make update-po".
10001
10002
	* configure.ac, src/download_screen.h, src/pkg_item.cc, src/generic/config_signal.h, src/generic/pkg_hier.cc, src/generic/pkg_hier.h, src/generic/strhash.h, src/vscreen/curses++.h, src/vscreen/config/keybindings.h:
10003
	Fix things so that aptitude can be configured and compiled on
10004
	slightly older g++ versions (anything >= 3.0 should work).  g++ 2.95
10005
	and below have hideously broken basic_string definitions, and
10006
	won't work.
10007
10008
	* src/reason_fragment.cc:
10009
	Remove an unused variable declaration.
10010
10011
	* po/es.po:
10012
	Translation update from Ruben Porras. (Debian bug #224966)
10013
10014
2004-02-12  Daniel Burrows  <dburrows@debian.org>
10015
10016
	* src/reason_fragment.cc:
10017
	Un-reverse the sense of the disk space usage/free message (it
10018
	was displaying used for free, and vice versa)
10019
10020
	* aptitude.cs.1, help-cs.txt, po/cs.po:
10021
	Updated cs translation from Miroslav Kure.
10022
10023
2004-02-11  Daniel Burrows  <dburrows@debian.org>
10024
10025
	* po/de.po:
10026
	German update from Sebastian Kapfer.
10027
10028
	* src/reason_fragment.cc:
10029
	Add a description in the reason fragment of how much disk space will
10030
	be used.
10031
10032
2004-02-10  Daniel Burrows  <dburrows@debian.org>
10033
10034
	* Makefile.am, help-it.txt, po/it.po, src/cmine/Makefile.am, src/cmine/mine-help-it.txt:
10035
	Italian translation updates from Danilo Piazzalunga.
10036
10037
	* src/desc_parse.cc, src/reason_fragment.cc, src/ui.cc, src/ui.h: 
10038
	Disable the fillboxing of description information by default,
10039
	but allow it to be re-enabled via Aptitude::UI::Fill-Text.
10040
	This option isn't accessible from the UI.
10041
10042
2004-02-09  Daniel Burrows  <dburrows@debian.org>
10043
10044
	* src/vscreen/vs_text_layout.cc:
10045
	Always report that a text_layout is able to be focussed
10046
	if its starting line is not 0 (meaning that it's possible
10047
	to scroll up).
10048
10049
	* src/vscreen/vscreen.cc:
10050
	Never call dispatch_char on KEY_RESIZE.
10051
10052
	* src/desc_parse.cc, src/reason_fragment.cc:
10053
	Experimentally eplace most flowboxes with fillboxes.
10054
10055
	* src/vscreen/fragment.cc:
10056
	Fix an off-by-one error which moved words in a fillbox to
10057
	the next line if they would occupy the last character on a
10058
	line.
10059
10060
	* src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/testvscreen.cc:
10061
	Add experimental support for a "fillbox", which generates
10062
	text that is flush left and right with its edges.  This
10063
	can look rather dreadful in a fixed-width font, but
10064
	I'm including it in the source tree anyway to see how
10065
	it holds up.
10066
10067
2004-02-08  Daniel Burrows  <dburrows@debian.org>
10068
10069
	* Makefile.am:
10070
	Oops, actually include FAQ in the distribution.
10071
10072
	* NEWS, README, configure.ac:
10073
	Bump version to 0.2.13.9999.2.
10074
10075
	* Makefile.am, src/ui.cc:
10076
	Add support for viewing the FAQ from within aptitude.
10077
10078
	* src/generic/aptcache.cc:
10079
	Turn auto-install ON when marking upgradable packages.
10080
10081
	* po/pt_BR.po:
10082
	Updated translation from Andre Luis Lopes.
10083
10084
	* aptitude.1, README, src/cmdline.cc, src/cmdling.h, src/main.cc:
10085
	Add an "aptitude show" command. (Debian bug #226501)
10086
10087
	* src/vscreen/fragment.cc:
10088
	Fix join_fragment (oops).
10089
10090
	* help.txt:
10091
	Document "C" again.
10092
10093
	* src/generic/aptcache.cc:
10094
	When a package which is to be removed is instead automatically
10095
	installed to satisfy a dependency, mark it as autoinstalled.
10096
	Similarly, if a package which is to be removed is automatically
10097
	*kept* to satisfy a dependency, mark it as autoinstalled.
10098
10099
	In addition, make sure to update the selection state of autokept
10100
	packages to "Install".
10101
10102
	* src/generic/aptcache.cc:
10103
	Don't mark packages which are automatically kept as *held*;
10104
	keeping packages back is simply a choice not to upgrade them,
10105
	while holding them is a user action.  This fixes undoing of
10106
	"mark upgradable", and may have implications for Debian bug
10107
	#149161.
10108
10109
	* src/reason_fragment.cc:
10110
	For dependencies involving packages not in main, print their
10111
	section next to the package.  (if the package being displayed
10112
	is the one which is not in main, this is suppressed; presumably
10113
	the viewer already knows that it's not in main)
10114
10115
	* src/apt_options.cc, src/pkg_view.cc:
10116
	Add an option to disable the autoswitchery.
10117
10118
	* src/pkg_view.cc:
10119
	Enhance the autoswitchery support to automatically switch back
10120
	if the package is fixed, and to switch to the reason view
10121
	whenever a broken package is viewed, even if it just starts out
10122
	broken.
10123
10124
	* src/pkg_node.cc, src/pkg_view.cc, src/ui.cc, src/ui.h:
10125
	Add a signal that can be caught to detect that the states of
10126
	packages might have changed.  Use it to fix the bug which caused
10127
	the reason area to appear blank the first time it automatically
10128
	switched.
10129
10130
	* src/pkg_view.cc:
10131
	If a change to a package causes new "interesting" breakage,
10132
	display the reason view for that package.
10133
10134
	* src/reason_fragment.cc, src/reason_fragment.h:
10135
	Add an optional return parameter to tell whether any
10136
	"interesting" breakage is included in the reason.
10137
10138
	* src/vscreen/vs_table.cc:
10139
	If a vs_table can't change the focus in response to a keypress,
10140
	it no longer swallows the character.  (this means
10141
	tables-inside-tables where the inner table has only one
10142
	focusable widget work properly)
10143
10144
	* src/pkg_view.cc:
10145
	Add scroll-back-to-the-top behavior for packageless descriptions
10146
	as well.
10147
10148
	* po/POTFILES.in:
10149
	Update POTFILES.in.
10150
10151
	* src/pkg_view.cc:
10152
	When the package being viewed in the description area changes,
10153
	scroll to the top.
10154
10155
	* src/pkg_view.cc:
10156
	Connect the set_package and set_description signals through the
10157
	meta-info-area.
10158
10159
	* src/view_changelog.cc:
10160
	Shrink the pager, if necessary, to fit the scrollbar in.
10161
10162
	* src/pkg_ver_item.cc:
10163
	Add support for viewing the changelog of a particular version.
10164
10165
	* src/pkg_item.cc, src/view_changelog.cc, src/view_changelog.h:
10166
	Add a utility routine to display the changelog of a package.
10167
10168
	* src/pkg_item.cc:
10169
	HACK: trigger do_signal manually to force the scrollbar to
10170
	be updated.
10171
10172
	* src/pkg_item.cc:
10173
	Add a scrollbar to the package changelog display.
10174
10175
	The changelog display now works.  (Debian bugs #103455, #208041)
10176
10177
	* src/generic/pkg_changelog.cc:
10178
	If the source package name starts with "lib", the hash tag
10179
	should be the first 4 characters, not just the first character.
10180
10181
	* src/generic/pkg_changelog.h:
10182
	Add missing std:: markers (not sure why this even compiled).
10183
10184
	* src/generic/pkg_changelog.cc:
10185
	Use the source package name to fetch a changelog, not the
10186
	binary package name.
10187
10188
	* src/generic/pkg_changelog.cc:
10189
	Fix the changelog URL.  Fetching changelogs now works at a
10190
	basic level!
10191
10192
	* src/generic/pkg_changelog.cc:
10193
	Add support for displaying an error when fetching the changelog
10194
	failed.
10195
10196
	* README, src/pkg_item.cc, src/generic/pkg_changelog.cc, src/generic/pkg_changelog.h:
10197
	Add support for the new-style packages.debian.org changelogs.
10198
	Presently this can't be parameterized; removed the suggestion
10199
	that it can from the README.
10200
10201
	* src/ui.cc:
10202
	When displaying apt errors, hook up the scrollbar's signal
10203
	to the pager's slot.
10204
10205
	* src/vscreen/vs_util.cc:
10206
	In the fileview dialog, hook up the scrollbar's interaction signal
10207
	to the pager's slot.
10208
10209
	* src/vscreen/vs_pager.cc, src/vscreen/vs_pager.h, src/vscreen/testvscreen.cc:
10210
	Do the same for the pager.
10211
10212
	* src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h, src/vscreen/testvscreen.cc:
10213
	Add a utility method to vs_text_layout which makes it easy to
10214
	hook up a scrollbar's signal.
10215
10216
	* src/vscreen/vs_scrollbar.cc, src/vscreen/vs_scrollbar.h:
10217
	Add basic mousing support for the scrollbar.
10218
10219
	* src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
10220
	Add support for the standard navigation commands (page
10221
	up/down; move to beginning/end)
10222
10223
	* src/vscreen/vs_text_layout.cc:
10224
	Don't reset the starting line to the beginning of the widget
10225
	when the fragment changes.  In fact, only update it in the
10226
	paint routine.
10227
10228
	* src/cmdline.cc:
10229
	Add error checking for the return value of parse_pattern() to
10230
	avoid segmentation faults on NULL pointers. (Debian bug #214245)
10231
10232
	* src/download.cc:
10233
	Patch from Danilo Piazzalunga to log downgrades.
10234
	(Debian bug #222583)
10235
10236
	* aptitude.cs.1, Makefile.am:
10237
	Add Czech manpage from Miroslav.
10238
10239
	* src/download_list.cc:
10240
	Add localization to some strings.
10241
10242
2004-02-07  Daniel Burrows  <dburrows@debian.org>
10243
10244
	* po/POTFILES.in:
10245
	Regenerate.
10246
10247
	* src/pkg_view.cc:
10248
	Explicitly wrap the multiplexer with code that knows about the
10249
	three subwidgets and dispatches line_up()/line_down() appropriately.
10250
	This is a little gross but not *too* bad.
10251
10252
2004-02-06  Daniel Burrows  <dburrows@debian.org>
10253
10254
	* configure.ac, src/dep_item.cc, src/download.cc, src/download_manager.h, src/pkg_columnizer.cc, src/pkg_grouppolicy.cc, src/pkg_ver_item.cc, src/pkg_ver_item.h, src/generic/apt.cc, src/generic/aptcache.cc, src/generic/aptcache.h, src/generic/aptitudepolicy.cc, src/generic/aptitudepolicy.h, src/generic/pkg_hier.cc, src/generic/tasks.cc:
10255
	Remove all references to HAVE_LIBAPT_PKG3: that's a very old
10256
	version of apt, and aptitude won't compile against it anyway
10257
	right now.
10258
10259
	* src/generic/aptcache.cc:
10260
	If a package is deleted because it is unused AND the user tries
10261
	to install it, mark it as manually installed.  Similarly, if
10262
	a package is deleted because it is unused and the user tries to
10263
	hold it, mark it as manually installed.
10264
10265
	* src/Makefile.am, src/pkg_view.cc, src/reason_fragment.cc, src/reason_fragment.h:
10266
	Split the code for generating a text fragment from a reason
10267
	into its own file.
10268
10269
	* src/vscreen/fragment.cc, src/vscreen/testvscreen.cc:
10270
	Fix the case where fragf is called with nothing but strings as
10271
	arguments, and actually (oops) fix the test case.
10272
10273
	* src/vscreen/testvscreen.cc:
10274
	Add another fragment test case, for fragf("%s %s",...)
10275
10276
	* src/pkg_view.cc:
10277
	Try to be more accurate in displaying a description about why there
10278
	are problems with a package that is being upgraded.
10279
10280
	* src/generic/infer_reason.cc:
10281
	When detecting broken reverse deps, ignore self-conflicts, such
10282
	as lynx Conflicting with lynx-ssl (provided by lynx).
10283
10284
	* src/cmdline.cc, src/pkg_view.cc, src/generic/infer_reason.cc, src/generic/infer_reason.h:
10285
	Changed the infer_reason code to use sets, not vectors.  Changed
10286
	infer_reverse_reason to follow reverse dependencies on virtual
10287
	packages (the main reason for the sets; it makes it easy and
10288
	efficient to exclude dependencies that occur twice; eg, in
10289
	"emacs21|emacsen")
10290
10291
	* src/pkg_view.cc:
10292
	Hopefully improved the display of Provided packages in the
10293
	"reason window".
10294
10295
	* src/vscreen/fragment.cc, src/vscreen/fragment.h:
10296
	Fix a fundamental flaw in join_fragment: it used the same fragment
10297
	several times in a sequence.  (note to self: would it be worthwhile
10298
	to dodge this problem by using reference-counting or cloning or
10299
	somesuch?)
10300
10301
	* src/vscreen/fragment.cc, src/vscreen/fragment.h:
10302
	Add a utility routine to join fragments into a single fragment,
10303
	placing a fragment or string between them.
10304
10305
2004-02-05  Daniel Burrows  <dburrows@debian.org>
10306
10307
	* src/pkg_item.cc:
10308
	Fix coloration of version numbers to reflect reality more closely --
10309
	the old approach was broken in the presence of ORed dependencies.
10310
10311
	* src/pkg_item.cc:
10312
	Detect and suppress multiple occurances of a single ORed dependency.
10313
10314
	* src/pkg_item.cc:
10315
	Add support for some cases of virtual packages (but more support
10316
	is needed).
10317
10318
	* src/pkg_item.cc:
10319
	Display virtual packages as 'to be installed' or 'to be removed'
10320
	in the appropriate cases.
10321
10322
	* src/pkg_view.cc:
10323
	Handle ORed dependencies.
10324
10325
	* src/generic/apt.cc:
10326
	Fix surrounding_or to correctly detect OR groups (oops).
10327
10328
	* src/generic/apt.cc:
10329
	Fix surrounding_or to actually compile.
10330
10331
	* Makefile.am, help-zh_CN.txt, po/zh_CN.po:
10332
	Added a translation of help.txt into zh_CN, also from Carlos.
10333
10334
	* src/generic/apt.cc, src/generic/apt.h:
10335
	Add a utility routine to find the surrounding OR group of a
10336
	dependency (useful for finding the OR context of a reverse dep).
10337
10338
	* src/generic/infer_reason.cc:
10339
	When checking reverse breakage, exclude dependencies whose
10340
	parent package is going to be installed at a different version.
10341
10342
	* src/pkg_view.cc:
10343
	Display the version component of dependencies in the info display.
10344
	This is colorized, but not using the pkg_ver_item's colorization
10345
	support.
10346
10347
	* src/pkg_ver_item.cc, src/pkg_ver_item.h:
10348
	Expose coloration of particular versions.
10349
10350
	* src/pkg_view.cc:
10351
	Experimentally use the package's coloration to show its name in the
10352
	information display.
10353
10354
	* src/pkg_item.cc, src/pkg_item.h:
10355
	Get the code to actually compile.
10356
10357
	* src/pkg_item.cc, src/pkg_item.h:
10358
	Add a static method pkg_attr to pkg_item, to make it easy to reuse
10359
	the calculations that choose attributes for displaying a package.
10360
10361
	* src/pkg_view.cc:
10362
	Rename deptype_frag to depfrag.
10363
10364
2004-02-04  Daniel Burrows  <dburrows@debian.org>
10365
10366
	* src/ui.cc:
10367
	Add a missing vscreen_update(), so marking upgradable packages
10368
	will behave (more) correctly.
10369
10370
	* src/generic/infer_reason.cc, src/generic/infer_reason.h, src/pkg_view.cc:
10371
	Add support for displaying broken reverse dependencies in the
10372
	information area.
10373
10374
	* src/vscreen/vs_util.cc:
10375
	#include <aptitude.h>, needed by the gettext markings.
10376
10377
	* src/apt_options.cc, src/download_list.cc, src/mine/cmine.cc, src/vscreen/vs_util.cc:
10378
	Add missing gettext markings, pointed out by Miroslav Kure.
10379
10380
2004-02-03  Daniel Burrows  <dburrows@debian.org>
10381
10382
	* Makefile.am:
10383
	Add help-cs.txt to EXTRA_DIST and pkgdata_DATA.
10384
10385
	* NEWS:
10386
	Update for 0.2.13.9999.
10387
10388
	* po/*.po:
10389
	Ran "make update-po".
10390
10391
	* ChangeLog, README:
10392
	Bump version to 0.2.13.9999.
10393
10394
	* README.i18n
10395
	Added information for translators.
10396
10397
	* FAQ:
10398
	Add a FAQ.
10399
10400
	* src/pkg_grouppolicy.cc:
10401
	Use the Relevance tag to sort tasks. (Debian Bug #203726)
10402
10403
	* src/generic/tasks.cc, src/generic/tasks.h:
10404
	Add support for the Relevance task tag.
10405
10406
	* po/zh_CN.po, configure.ac:
10407
	Chinese translation from Carlos Z.F. Liu (Debian bug #230893).
10408
10409
	* src/cmdline.cc:
10410
	Eliminate annoying warnings when setting a package's state if the
10411
	resulting action is "Keep" but the current action is not "Keep".
10412
10413
	* src/cmdline.cc:
10414
	Fixed the "first" variable in the prompting code -- presently its
10415
	sole purpose in life seems to be to cause
10416
	Debian Bugs #141925, 141720, and 222907.
10417
10418
	I think it was MEANT to say "only drop out of the repl automatically
10419
	the first time around", which means its use was reversed from the
10420
	intended meaning.  Fixed by adding a bang.
10421
10422
	* src/pkg_view.cc:
10423
	Many changes to the messages shown in the package information area:
10424
	make more extensive use of fragf, make the formatting and wording more
10425
	consistent, fix some corner cases.
10426
10427
	* src/generic/apt.cc:
10428
	Flag any package with the InstBroken property as broken,
10429
	and only those packages. (this should encompass NowBroken&&!Install()
10430
	packages, though, since those will also be InstBroken)
10431
10432
	* ChangeLog:
10433
	Retroactively create an entry for the upgrading packages keybinding.
10434
10435
	* src/pkg_view.cc, src/generic/infer_reason.cc, src/generic/infer_reason.h:
10436
	Add support for inferring why a package is broken.
10437
10438
	In addition, adjusted the display of brokenness to handle conflicts
10439
	properly (so we don't see things like "foo conflicts with foo").
10440
10441
	* README, help.txt, src/defaults.cc, src/ui.cc:
10442
	Add a keybinding for upgrading packages.
10443
10444
	* src/apt_options.cc:
10445
	Sync the value of Auto-Upgrade with aptcache.cc
10446
10447
	* ChangeLog:
10448
	Retroactively added a Debian bug markup.
10449
10450
	* src/generic/aptcache.cc:
10451
	Don't upgrade packages by default.
10452
10453
	* README, ChangeLog:
10454
	Update the documentation to describe the package information area,
10455
	at least a little bit.
10456
10457
	* README:
10458
	I give in; use "command-line interface" instead of "non-interactive"
10459
	and "visual" instead of "interactive".
10460
10461
	* src/apt_options.cc:
10462
	Add padding between the columns of option dialogs.
10463
10464
	* src/vscreen/vs_table.cc:
10465
	Swap nrows/ncols so that they appear in the correct calculations
10466
	of column separation; this gets the colsep stuff working.
10467
10468
	* src/vscreen/testvscreen.cc:
10469
	Add reverse-cycling support in addition to forward-cycling.
10470
10471
	* src/vscreen/vs_table.cc, src/vscreen/vs_table.h, src/vscreen/testvscreen.cc:
10472
	Add rudimentary support for padding between rows and columns of tables.
10473
10474
	* src/vscreen/testvscreen.cc:
10475
	Correct the same misuse of vs_table (add_widget instead of
10476
	add_widget_opts) in the table test in testvscreen.
10477
10478
	* src/pkg_view.cc:
10479
	Correct a more egregious misuse of vs_table.
10480
10481
	* src/pkg_view.cc, src/vscreen/testvscreen.cc:
10482
	Correct a slight misuse of vs_table (which shouldn't have affected
10483
	the output, though)
10484
10485
	* src/pkg_view.cc:
10486
	Actually hook up the scrollbar to the description area.
10487
10488
	* src/pkg_view.cc:
10489
	Add a scrollbar to the package description/reason areas.
10490
10491
	* Changelog:
10492
	The following entry is for src/pkg_item.*, not src/vscreen/pkg_item.*
10493
10494
	* src/pkg_item.cc, src/pkg_item.h:
10495
	Undo an error that slipped in between yesterday and today:
10496
	I accidentally (how??) deleted the initializer for info_signal,
10497
	causing the long descriptions of packages to not be displayed (and
10498
	probably eventually leading to a crash)
10499
10500
	In the process, moved the implementation of pkg_item from its .h
10501
	file to its .cc file.
10502
10503
	* src/vscreen/vs_text_layout.cc:
10504
	Reset the layout position to the beginning when a new fragment is
10505
	loaded.
10506
10507
	* src/vscreen/vs_text_layout.cc:
10508
	Fix the scrollbar position in some corner cases.
10509
10510
	* src/vscreen/vs_scrollbar.cc:
10511
	Fix the scrollbar to display the thumb correctly when val==max.
10512
10513
	* src/vscreen/testvscreen.cc:
10514
	Test the scrollbarification of the text layout.
10515
10516
	* src/vscreen/vs_text_layout.cc:
10517
	Actually write the do_signal method (oops).
10518
10519
	* src/vscreen/vs_text_layout.cc:
10520
	Added preliminary support for a signal that tracks the current
10521
	location of the view within the text (eg, for a scrollbar).
10522
10523
	Also added a call to freshen_contents() in line_up (oops!).
10524
10525
2004-02-02  Daniel Burrows  <dburrows@debian.org>
10526
10527
	* src/Makefile.am, src/pkg_description_treeitem.cc, src/pkg_description_treeitem.h, src/pkg_info_screen.cc, src/pkg_item.cc, src/ver_item.cc, po/POTFILES.in:
10528
	Eliminate pkg_description_treeitem.  Deleted the mostly-useless
10529
	"description" action from pkg_items and ver_items at the same time.
10530
10531
	* src/vscreen/fragment.cc:
10532
	Preserve blank lines in a flowbox.
10533
10534
	* src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/testvscreen.cc:
10535
	Add a formatting code to insert newline fragments.
10536
10537
	* src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/testvscreen.cc:
10538
	Add a formatting code to insert character strings directly.	
10539
10540
	* src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/testvscreen.cc:
10541
	Add formatting codes to control some aspects of the character
10542
	attributes; optimize text fragment generation.
10543
10544
	* src/vscreen/vs_layout_item.cc, src/vsceen/vs_layout_item.h, src/vscreen/testvscreen.cc:
10545
	Clean up the pkg_description_treeitem code, and push it down into
10546
	the generic vscreen stuff as a general way of embedding fragments
10547
	in trees.
10548
10549
	* src/desc_parse.cc, src/desc_parse.h, src/pkg_view.cc, src/pkg_description_treeitem.h, src/pkg_description_treeitem.cc:
10550
	Use the next layout code to correctly display and wrap descriptions
10551
	in info screens.
10552
10553
2004-02-01  Daniel Burrows  <dburrows@debian.org>
10554
10555
	* src/generic/aptcache.cc:
10556
	Always use Last-Change to store whether a package was
10557
	automatically installed; the problem is that otherwise,
10558
	running an older version of aptitude can irretreivably
10559
	wipe out your automaticity selections.
10560
10561
	However, a new name is supported for input; a future version will
10562
	use Install-Reason in output as well as input of state files.
10563
10564
	* src/pkg_grouppolicy.cc:
10565
	Create a tree in previews for uninstalled packages which are
10566
	suggested by other packages which are being installed.
10567
10568
	* src/generic/infer_reason.cc:
10569
	Fix a crash introduced by the previous change.
10570
10571
	* src/pkg_view.cc, src/generic/infer_reason.cc, src/generic/infer_reason.cc:
10572
	Add code to display packages which are being installed and which
10573
	suggest a package that isn't being installed in the latter
10574
	package's "state info screen".
10575
10576
	* src/pkg_view.cc:
10577
	For groups with built-in descriptions, display their description
10578
	instead of a generic comment.
10579
10580
	* src/pkg_view.h, src/pkg_view.cc, src/ui.cc:
10581
	Display the informational display on the reasons that a package's
10582
	state is being modified by default in the preview tree.
10583
10584
	* src/generic/infer_reason.cc:
10585
	Fix the logic of opertor< to make it actually be an ordering.
10586
	This means that reasons will now be displayed ina more sensible
10587
	order.
10588
10589
	* src/pkg_view.cc:
10590
	If a package isn't initially selected, display the
10591
	"no package selected" note.
10592
10593
	* src/pkg_view.cc:
10594
	Use fragf to generate information about a package's state,
10595
	which will make life easier for translators (I hope).
10596
10597
	* src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/testvscreen.cc:
10598
	Add a printf-alike for fragments.
10599
10600
	* src/vscreen/fragment.cc:
10601
	Fix reversed logic which prevented the indentbox from working in
10602
	the first place.
10603
10604
	* src/vscreen/testvscreen.cc:
10605
	Add a test for the indentbox.
10606
10607
	* src/vscreen/fragment.cc, src/vscreen/fragment.h:
10608
	Give indentbox two arguments, to allow the indentation of the
10609
	first line to be separate fromt he indentation of the remaining
10610
	lines. (so that, eg, bulletted lists work properly)
10611
10612
	* src/default.cc, src/pkg_view.cc:
10613
	Use the layout code to display reasons about why a package is
10614
	being upgraded.  Adds colors "ToDep", "FromDep", and "Bullet".
10615
10616
	* src/vscreen/fragment.h, src/vscreen/fragment.cc:
10617
	Reverse the order of arguments for indentbox.
10618
10619
	* src/vscreen/fragment.h:
10620
	Add a variant of text_fragment for const char *.
10621
10622
	* src/pkg_view.cc:
10623
	Use the text-layout code to show descriptions.
10624
10625
	* src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
10626
	Implement the default constructor and add a method to change the
10627
	active fragment.
10628
10629
	* src/vscreen/testvscreen.cc:
10630
	Test embedding a sequence in a flowbox.
10631
10632
	* src/vscreen/fragment.cc, src/vscreen/fragment.h:
10633
	Add a varargs overloading for sequence_fragment.
10634
10635
	* src/vscreen/vs_text_layout.cc:
10636
	Hook up the line_down/line_up signals and get them working.
10637
10638
	* src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/testvscreen.cc:
10639
	Add a "newline_fragment", which just produces a newline wherever it
10640
	occurs.
10641
10642
	* src/vscreen/fragment.cc:
10643
	Fix a silly thinko in the sequence fragment: of course rval.back()
10644
	aborts when rval is empty!
10645
10646
	* src/vscreen/fragment.cc:
10647
	Fix the flowbox to not put whitespace at the beginning of a line,
10648
	and to not chop off the last word of its argument.
10649
10650
	* src/vscreen/vs_text_layout.cc:
10651
	Apparently addchnstr will run off the end of a string if you ask
10652
	it to, but not the end of the window; adjust how I call it to take
10653
	this into account.
10654
10655
	* src/vscreen/testvscreen.cc:
10656
	Use a more minimal test case.
10657
10658
	* src/vscreen/vs_text_layout.cc:
10659
	Initialize lastw.
10660
10661
	* src/vscreen/fragment_contents.h:
10662
	Add operator= to the iterators.
10663
10664
	* src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
10665
	Actually catch resizes of the layout widget.
10666
10667
	* curses++.cc, curses++.h, fragment.cc:
10668
	Changed textfragment and sequencefragment to have the correct
10669
	signatures, and added a constructor for chstring that sets an
10670
	attribute for the whole string.  It now links but is untested.
10671
10672
	* src/vscreen/Makefile.am, src/vscreen/curses++.h, src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/fragment_contents.h, src/vscreen/testvscreen, src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
10673
	Add the layout code to the sources-which-shohuld-be-compiled,
10674
	and add a simple test of it to the test program.  It compiles but
10675
	doesn't link.
10676
10677
	* po/POTFILES.in, src/vscreen/fragment.cc, src/vscreen/fragment.h, src/vscreen/fragment_contents.h, src/vscreen/vs_text_layout.cc, src/vscreen/vs_text_layout.h:
10678
	Add basic infrastructure for a much more intelligent
10679
	text-layout widget.
10680
10681
	* src/vscreen/curses++.h, src/vscreen/curses++.cc:
10682
	Add an operator= which can convert from a std::string to a chstring.
10683
10684
	* src/mine/cmine.cc:
10685
	Mark more strings for i18n.
10686
10687
	* configure.ac:
10688
	Add cs to ALL_LINGUAS, and move ja to be in its proper
10689
	alphabetical place.
10690
10691
	* po/cs.po, help-cs.txt, src/mine/help-mine-cs.txt:
10692
	Czech translation from Miroslav Kure.
10693
10694
	* po/da.po:
10695
	Updates to da.po from Morten Bo Johansen.
10696
10697
	* src/vscreen/curses++.h, src/vscreen/curses++.cc:
10698
	Add a parameterization of basic_string on chtype, and some methods
10699
	which support writing such a string to a cwindow.  (this ended up
10700
	being nastier than expected, because it involves specializing
10701
	char_traits and all sorts of grossness)
10702
10703
	* src/pkg_view.cc:
10704
	Remove some code that is old, buggy, obsoleted, and has been commented
10705
	out for ages.
10706
10707
2004-01-31  Daniel Burrows  <dburrows@debian.org>
10708
10709
	* src/pkg_view.cc:
10710
	Add a view to the "description" area which shows an explanation
10711
	of the current package's state.
10712
10713
	* src/vscreen/vs_pager.h:
10714
	Initialize the superclass with the correct values (use the
10715
	argument, which is valid, rather than the not-yet-initialized
10716
	field of *this)
10717
10718
	* src/vscreen/vs_pager.h:
10719
	Add a missing "public:". (oops)
10720
10721
	* src/vscreen/vs_pager.h:
10722
	Right, add a set_text based on a std::string to that class.
10723
10724
	* src/vscreen/vs_pager.h:
10725
	Add support for a pager based on a std::string (basically to
10726
	handle memory more sanely).
10727
10728
	* src/defaults.cc, src/pkg_view.cc:
10729
	Change "i" so that it cycles the multiplexer for the
10730
	"description area".
10731
10732
	* src/ui.cc:
10733
	Use PACKAGE as the base config directory, not Aptitude, in several
10734
	places (comes to the same thing usually, this is for consistency).
10735
10736
	* src/cmdline.cc, src/generic/infer_reason.cc, src/generic/infer_reason.h:
10737
	Split the code to infer *why* a package changed state into a
10738
	separate file, the better to invoke it from more places than
10739
	just cmdline.cc.
10740
10741
	* src/cmdline.cc:
10742
	Cut out some unnecessary arguments to cmdline_show_instreason.
10743
10744
	* src/pkg_columnizer.cc, src/generic/apt.cc, src/generic/aptcache.h, src/generic/aptcache.cc, src/generic/matchers.cc:
10745
	Split "auto" information into information about installations
10746
	and information about removals.  Changed logic in setting
10747
	install/remove reasons so that only the initial installation of
10748
	a package causes it to be marked "auto" (meaning that you can now
10749
	easily unhold a package without clearing its auto flag).
10750
10751
	Debian bug #159582.
10752
10753
	* src/generic/matchers.cc:
10754
	Fix a call to pkg_name_matcher::init, which was left wrong by the
10755
	removal of ~e (oops, why didn't I catch this?).
10756
10757
2004-01-30  Daniel Burrows  <dburrows@debian.org>
10758
10759
	* src/generic/matchers.cc, README:
10760
	Excise the exact_match code; it is buggy, inelegant, and
10761
	superseded by regexps.
10762
10763
	You can get the effect of ~epattern with ^pattern$.
10764
	(Debian bug #196447)
10765
10766
	* src/ui.cc:
10767
	Fix several untranslatable strings pointed out by Jean-Luc Coulon.
10768
	(Debian bug #230060)
10769
10770
2004-01-29  Daniel Burrows  <dburrows@debian.org>
10771
10772
	* src/cmdline.cc:
10773
	Only test the candidate version when searching, and don't go
10774
	through the time-consuming process of reading the dselect selections.
10775
10776
	* src/download.cc:
10777
	Fix a typo that was introduced in translation updates.
10778
10779
	* src/vscreen/vscreen.cc:
10780
	Include aptitude.h to pick up the definition of _() (oops).
10781
10782
	* src/pkg_item.cc, src/cmdline.cc, src/download.cc, src/mine/cmine.cc, src/vscreen/vscreen.cc, src/vscreen/curses++.cc:
10783
	Miroslav Kure pointed out that many more strings were not marked for
10784
	i18n; trawled through the source to try to find and mark them.
10785
10786
	In the process, killed a useless printf in resize().
10787
10788
2004-01-26  Daniel Burrows  <dburrows@debian.org>
10789
10790
	* src/download.cc, src/vscreen/vscreen.h, src/vscreen/vscreen.cc:
10791
	  Fix issue brought up by Cristoph Heine: libapt clobbers some
10792
	  signals when running dpkg, and so the aptitude handlers need
10793
	  to be restored after dpkg is run.
10794
10795
	* src/download.cc, src/load_grouppolicy.cc, src/main.cc, src/pkg_grouppolicy.cc:
10796
	  Several typo fixes and editorial corrections from Miroslav Kure.
10797
10798
	* src/ui.cc:
10799
	  Apply i18n to the "Become Root" and "Don't Become Root" dialog
10800
	  buttons so that people can translate them. (thanks to Miroslav
10801
	  Kure for pointing this out)
10802
10803
	* src/apt_options.cc:
10804
	  Remove the idempotency option from the UI options dialog -- its
10805
	  description is obscure and it can be set from the config file for
10806
	  the few people who care.
10807
10808
2004-01-22  Daniel Burrows  <dburrows@debian.org>
10809
10810
	* po/POTFILES.in:
10811
	  Update the list of source files to generate .pos from, thanks
10812
	  to a nudge from Danilo Piazzalunga.
10813
10814
	* po/it.po:
10815
	  Add an Italian translation, thanks to 
10816
	  Danilo Piazzalunga <danilopiazza@libero.it>.
10817
10818
2004-01-21  Daniel Burrows  <dburrows@debian.org>
10819
10820
	* configure.in, configure.ac, acconfig.h:
10821
	  Update configure script for 2.5.  This resulted in a much less
10822
	  readable script, since newlines are more significant than they
10823
	  used to be :-(
10824
10825
2004-01-10  Daniel Burrows  <dburrows@debian.org>
10826
10827
	* src/apt_options.cc:
10828
	  When saving options, don't rely on the order in which libsigc++
10829
	  happens to call slots.  This fixes the problem where the
10830
	  configuration was saved before it was updated with changes,
10831
	  leading to the appearence that it wasn't being saved at all.
10832
	  (Debian bug #216268)
10833
10834
	* src/cmdline.cc:
10835
	  Only return one match for each package (Debian bug #221289).
10836
10837
	* po/pt_BR.po:
10838
	  Translation updates from Gustavo Silva (Debian bug #214116 again).
10839
10840
2003-10-24  Daniel Burrows  <dburrows@debian.org>
10841
10842
	* src/generic/aptcache.cc, src/cmdline.cc, src/cmdline_parse.cc:
10843
	  Check for errors with _error->PendingError(), not
10844
	  _error->empty().  Among other things, this means we no
10845
	  longer terminate abruptly if an entry is added to sources.list.
10846
	  (Debian bug #143732, among others)
10847
10848
	* Makefile.am:
10849
	  Actually distribute help-pt_BR.txt in source distributions, and
10850
	  install it from install-data.
10851
10852
2003-10-05  Daniel Burrows  <dburrows@debian.org>
10853
10854
	* po/pt_BR.po, help-pt_BR.txt:
10855
	  Add pt_BR translation of help.txt, from
10856
	Andre Luis Lopes <andrelop@debian.org>.  (Debian bug #214116)
10857
10858
2003-10-04  Daniel Burrows  <dburrows@debian.org>
10859
10860
	* po/de.po:
10861
	Apply patch from Sebastian Kapfe to fix the German translation
10862
	of the "limit" command's dialog box. (Debian bug #214021)
10863
10864
2003-10-02  Daniel Burrows  <dburrows@debian.org>
10865
10866
	* src/apt_options.cc:
10867
	Fix the bug where entering the Preferences dialog for the first time
10868
	caused Suggested packages to be installed automatically.
10869
10870
2003-06-09  Daniel Burrows  <dburrows@debian.org>
10871
10872
	* configure.in, NEWS, README:
10873
	Bump version to 0.2.13
10874
10875
2003-06-02  Daniel Burrows  <dburrows@debian.org>
10876
10877
	* configure.in:
10878
	Add an option --disable-werror, and build with sigc++-1.2 instead
10879
	of sigc++-1.0.
10880
10881
	* src/Makefile.am, src/generic/Makefile.am, src/mine/Makefile.am, src/vscreen/Makefile.am, src/vscreen/config/Makefile.am:
10882
	Use the WERROR variable to decide whether to use -Werror.
10883
10884
	* src/apt_config_widgets.h, src/apt_info_tree.cc, src/apt_options.cc, src/cmdline.cc, src/cmdline_parse.h, src/download.cc, src/download_list.cc, src/download_manager.h, src/edit_pkg_hier.cc, src/main.cc, src/pkg_grouppolicy.cc, src/pkg_grouppolicy.h, src/pkg_item.cc, src/pkg_item.h, src/pkg_subtree.cc, src/pkg_tree.cc, src/pkg_view.cc, src/ui.cc, src/ui.h, src/generic/aptcache.h, src/generic/config_signal.cc, src/generic/config_signal.h, src/mine/cmine.cc, src/vscreen/testvscreen.cc, src/vscreen/vs_bin.cc, src/vscreen/vs_button.cc, src/vscreen/vs_center.cc, src/vscreen/vs_editline.cc, src/vscreen/vs_frame.cc, src/vscreen/vs_menu.cc, src/vscreen/vs_menubar.cc, src/vscreen/vs_minibuf_win.cc, src/vscreen/vs_multiplex.cc, src/vscreen/vs_passthrough.cc, src/vscreen/vs_radiogroup.cc, src/vscreen/vs_radiogroup.h, src/vscreen/vs_stacked.cc, src/vscreen/vs_table.cc, src/vscreen/vs_togglebutton.h, src/vscreen/vs_util.cc, src/vscreen/vscreen.h, src/vscreen/vscreen_widget.cc, src/vscreen/vscreen_widget.h:
10885
	Port to sigc++-1.2.  Many changes, mostly minor.  A partial summary:
10886
	  - Fix include file names.
10887
	  - Object slots now need a reference as the first argument, not
10888
	    a pointer.
10889
	  - Emitting a signal now passes the arguments by reference, which
10890
	    is significant if the argument could be modified during the
10891
	    execution of the signal.  Fixed some possible occurances of
10892
	    this (there are probably more)
10893
	  - Slots have to be passed by value, not argument, now.
10894
	  - Calling a slot is done by operation(), not ::call().
10895
10896
2003-06-01  Daniel Burrows  <dburrows@debian.org>
10897
10898
	* src/generic/aptcache.cc, src/generic/matchers.cc, src/generic/tasks.cc, src/vscreen/curses++.h, src/vscreen/config/column_definition.h, src/vscreen/columnify.h:
10899
	  Add missing #includes for assert.h (Debian bugs #195514, #194424)
10900
10901
	* po/pt_BR.po:
10902
	  Merge updates from Andre Luis Lopes. (Debian bug #195755)
10903
10904
2003-05-11  Daniel Burrows  <dburrows@debian.org>
10905
10906
	* src/generic/aptcache.cc:
10907
	  Don't memcpy() structures containing std::strings (oops!)
10908
	Thanks to Peter Lundkvist and Sami Liedes for pointing this out.
10909
	  (Debian bug #192073, and maybe 109420)
10910
10911
	* src/pkg_grouppolicy.cc:
10912
	  Fix a memory leak in pkg_grouppolicy_status.
10913
10914
	* src/vscreen/vs_menu.cc:
10915
	  Always initialize cursorloc to 0.
10916
10917
	* src/apt_info_screen.cc:
10918
	  Don't exit abruptly if the user reloads the cache while an info
10919
	widget is active, and the version of the package that was being viewed
10920
	is no longer in the archive.  (I don't think this has broader
10921
	implications)  Peter Lundkvist gets credit for this and the above two
10922
	fixes.
10923
10924
2003-03-05  Daniel Burrows  <dburrows@debian.org>
10925
10926
	* src/pkg_columnizer.cc, src/pkg_ver_item.cc:
10927
	  Finally fix the problem that caused the first letter of the
10928
	description to sometimes appear as a flag character.  Evidently I
10929
	overlooked an accidental fall-through in a switch statement.  Kudos
10930
	to Seneca <seneca-cunningham@rogers.com> for finding this nasty.
10931
	(Debian bug #183462)
10932
10933
	  All cases in the switch statements in the columnizer should now
10934
	have a terminal break (except for a few which are completely
10935
	trivial; ie, the only thing in the case is a "return"), which will
10936
	make this bug trigger an error if it occurs again.
10937
10938
2003-02-10  Daniel Burrows  <dburrows@debian.org>
10939
10940
	* NEWS, README, configure.in:
10941
	  version bumped to 0.2.12
10942
10943
	* src/vscreen.cc:
10944
	  Re-enabled asynchronous resizing.
10945
10946
	* src/main.cc:
10947
	  Add a -t argument, like apt's.  (Debian bug #151583)
10948
10949
	* src/cmdline.cc:
10950
	  "aptitude install task-name" does what you might think.
10951
	  (Debian bug #165624)
10952
10953
	* src/cmdline.cc:
10954
	  Signal an error if any of a group of packages fails.
10955
10956
	* src/vscreen/vs_table.cc:
10957
	  Re-apply the fix for the vs_table memory leak, which was wiped
10958
	  out in the massive reversion below.
10959
10960
	* src/cmdline.cc, src/main.cc:
10961
	  Finish the work on customized sorting of search output.
10962
10963
	* README:
10964
	  Document (maybe not very clearly -- rewrite this section?)
10965
	that regular expressions are valid in search terms.
10966
10967
	* src/generic/aptcache.cc:
10968
	  If, in GainLock(), we fail and have to delete Lock, make sure
10969
	  to NULL it out for safety's sake.
10970
10971
2003-02-09  Daniel Burrows  <dburrows@debian.org>
10972
10973
	* po/fr.po:
10974
	  Set Content-Type=iso-8859-1 (Debian bug #156616)
10975
10976
	* src/dep_item.cc:
10977
	  Implement Clifton Wood's suggestion to indicate that
10978
	  dependencies don't even have an available version.
10979
	  (Debian bug #157950)
10980
10981
	* src/ui.cc:
10982
	  Display "Download/Install/Remove" packages for "g" in the
10983
	  quick-help bar.  (Debian bug #158966)
10984
10985
	* README:
10986
	  Correctly state that logging is on by default.
10987
10988
	* help.txt:
10989
	  Document M/m.  (Debian bug #160936, #154000)
10990
10991
	* po/pt_BR.po:
10992
	  Updates from Andre Luis Lopes <andrelop@ig.com.br>.
10993
	  (Debian bug #162512)
10994
10995
	* src/generic/aptcache.cc:
10996
	  Don't save or load reinstall state.  Better than having it
10997
	  stick around ad nauseum.
10998
	  (Debian bugs #167237, 121346)
10999
11000
	* src/load_config.cc, src/vscreen/config/colors.cc:
11001
	  Properly support bold colors in the configuration file.
11002
	  (Debian bug #168287)
11003
	  Note that bold colors may not actually WORK, but that's
11004
	  a separate problem.
11005
11006
	* po/da.po:
11007
	  Updates from Morten Bo Johansen <mojo@image.dk>.
11008
	  (Debian bug #171903)
11009
11010
	* src/download_list.cc:
11011
	  Fix integer overflow problem (Debian bug #175123)
11012
11013
	* src/generic/config_signal.h, src/generic/pkg_hier.cc, src/generic/pkg_hier.h, src/generic/strhash.h, src/mine/cmine.cc, src/vscreen/config/colors.cc, src/vscreen/config/keybindings.h, src/vscreen/config/keybindings.cc, src/vscreen/curses++.h, src/vscreen/curses++.cc, src/vscreen/curses++.h, src/vscreen/testvscreen.cc, src/vscreen/vs_multiplex.h, src/vscreen/vs_subtree.h, src/vscreen/vs_table.cc, src/vscreen/vs_treeitem.cc, src/vscreen/vs_util.cc, src/vscreen/vscreen.cc, src/vscreen/vscreen_widget.cc, src/vscreen/vscreen_widget.h, src/dep_item.cc, src/download_screen.h, src/edit_pkg_hier.cc, src/pkg_grouppolicy.cc, src/ui.cc, po/es.po, po/fr.po, po/gl.po, po/ja.po, po/pt_BR.po:
11014
	  Back out the WINDOW * workaround -- libncurses is fixed now, and my
11015
	window emulation was buggy.
11016
	  Update to g++-3.2.
11017
11018
2002-10-27  Daniel Burrows  <dburrows@debian.org>
11019
11020
	* help.txt, help-fi.txt, help-fr.txt, help-gl.txt, help-pl.txt:
11021
	  Remove reference to "x" keystroke (Debian bug #166571)
11022
11023
2002-09-09  Daniel Burrows  <dburrows@brown.edu>
11024
11025
	* src/generic/matchers.cc:
11026
	  Update the matcher parsing code to allow ()|!|~ to be tilde-escaped
11027
	within a word.  Without this, entering complex regular expressions is
11028
	well-nigh impossible.
11029
	  Remaining issue: if your expression has (eg) a trailing hyphen,
11030
	the command-line mode will treat it as a command to REMOVE all
11031
	the packages matched, even if you're trying to (eg) mark them as
11032
	having been automatically installed.
11033
11034
2002-07-31  Daniel Burrows  <dburrows@brown.edu>
11035
11036
	* src/download.cc:
11037
	  Redid the outputting of size changes in the log file, negative
11038
	sizes are now shown correctly and sizes are converted to a
11039
	human-readable format. (Debian bug #154924)
11040
11041
	* README, src/main.cc, src/cmdline.cc:
11042
	  -Z command-line option to show size deltas when performing actions
11043
	from the command-line.
11044
11045
2002-07-12  Daniel Burrows  <dburrows@brown.edu>
11046
11047
	* src/generic/aptcache.cc:
11048
	  Fix the aptitude-wants-to-remove-dpkg problem (Debian bug #151701)
11049
	  Essentially, aptitude was ignoring pre-depends when marking packages
11050
	in the garbage-collector, resulting in conflicting information (it
11051
	wanted to automatically install dselect to satisfy the pre-depends,
11052
	but then wanted to automatically remove it because nothing depended
11053
	on it)
11054
11055
2002-05-09  Daniel Burrows  <dburrows@debian.org>
11056
11057
	* src/generic/aptcache.cc:
11058
	  Wrapped the initial marking of packages in an action group
11059
	declaration.  When there were a lot of packages to be marked, the
11060
	mark_and_sweep code was getting called for *every single package*,
11061
	with disastrous results as you can no doubt imagine.
11062
11063
2002-05-09  Daniel Burrows  <dburrows@brown.edu>
11064
11065
	* src/cmdline.cc, src/cmdling.h, src/main.cc:
11066
	  Added hooks to allow sorting from the command line (not yet used)
11067
11068
2002-05-05  Daniel Burrows  <dburrows@brown.edu>
11069
11070
	* src/vscreen/curses++.h:
11071
	  Remember to initialize the background settings of cwindows.
11072
11073
	* src/vscreen/vscreen.cc:
11074
	  Use refresh() instead of wnoutrefresh(); [set cursor]; doupdate() --
11075
	this eliminates the problem where the cursor randomly jumps to the edge
11076
	of the screen.
11077
11078
	* src/vscreen/vs_table.cc:
11079
	  Delete row_expandable and col_expandable at the end of vs_table.cc.
11080
	(this was leaking memory)
11081
11082
	* po/de.po:
11083
	  Fix README/LIESMICH problem.  (Debian bug #145897)
11084
11085
	* src/ui.cc:
11086
	  Really make aptitude compile.
11087
11088
	* src/vscreen/vscreen.cc:
11089
	  Make resizing work asynchronously again.
11090
11091
	* src/mine/cmine.cc:
11092
	  Removed an if(get_win()) test to make things compile again.
11093
11094
	* src/vscreen/vscreen.cc:
11095
	  Hide the cursor as appropriate again.
11096
11097
	* src/vscreen/vscreen.cc:
11098
	  Partly fix cursor-location-display (it still doesn't hide
11099
	correctly, though)
11100
11101
	* src/vscreen/vscreen_widget.cc:
11102
	  Allow setting the owner window to NULL.
11103
11104
	* src/vscreen/curses++.cc:
11105
	  Call ::bkgdset *before* ::attrset since the former seems to
11106
	"override" the latter (yay undocumented behavior!)
11107
11108
2002-05-04  Daniel Burrows  <dburrows@brown.edu>
11109
11110
	* curses++.h:
11111
	  Don't call ::move from move -- update our internal data structures
11112
	instead (doh!)
11113
11114
	* src/vscreen/curses++.h, src/vscreen/curses++.cc, src/vscreen/vscreen.cc, src/vscreen/vscreen_widget.h, src/vscreen/vscreen_width.cc, src/vscreen/vs_multiplex.h, src/vscreen/vs_table.cc:
11115
	  The vscreen code no longer creates a curses WINDOW * for each
11116
	widget.  I hope to eventually fix all the crashes on resize (and some
11117
	other weird behavior) by doing this; for now, though, everything is
11118
	broken.
11119
11120
2002-04-27  Daniel Burrows  <dburrows@brown.edu>
11121
11122
	* src/pkg_view.cc:
11123
	  Fix the parsing of paragraphs so that multi-line paragraphs are
11124
	really merged after all.
11125
11126
2002-04-24  Daniel Burrows  <dburrows@brown.edu>
11127
11128
	* src/generic/matchers.cc:
11129
	  Use POSIX regular expressions to match (instead of pure strings)
11130
	  (Debian bug #142450)
11131
11132
2002-04-22  Daniel Burrows  <dburrows@brown.edu>
11133
11134
	* src/ui.cc, src/vscreen/vs_util.cc, src/vscreen/vs_util.h:
11135
	  Minimal support for searching in text pagers (finally)
11136
11137
	* function_pkgs:
11138
	  Merge changes from Nov. 22 (oops)
11139
11140
	* src/cmdline.h, src/cmdline.cc, main.cc:
11141
	  Honor -S foo on the command-line.
11142
11143
2002-04-21  Daniel Burrows  <dburrows@brown.edu>
11144
11145
	* configure.in, NEWS, README:
11146
	  Version bumped to 0.2.11.1.
11147
11148
	* po/fi.po:
11149
	  Finnish updates from Jaakko Kangasharju <ashar@iki.fi>
11150
11151
	* aptitude.1.pl, help-pl.txt, po/pl.po:
11152
	  Polish updates from Michal Politowski <mpol@charybda.icm.edu.pl>
11153
	  (Debian bug #143051)
11154
11155
	* aptitude.1:
11156
	  Fix the reference to SEARCHING from the manpage. (Debian bug #142651)
11157
11158
	* README:
11159
	  Include information on where to get CVS (Debian bug #141371)
11160
11161
	* src/cmdline.cc:
11162
	  Comment out the above code -- it doesn't work and while it seems
11163
	to be harmless, I want to put another minor release out for woody.
11164
11165
2002-04-18  Daniel Burrows  <dburrows@brown.edu>
11166
11167
	* src/cmdline.cc:
11168
	  Show why BROKEN packages are BROKEN.
11169
11170
2002-04-07  Daniel Burrows  <dburrows@brown.edu>
11171
11172
	* src/cmdline.cc:
11173
	  Fixed compilation errors that only showed up when optimization
11174
	was enabled.  (oops)
11175
11176
	* NEWS:
11177
	  A few more updates and tweaks: added a Debian bug number, named
11178
	the release.
11179
11180
	* src/pkg_view.cc:
11181
	  Only allow the description widget to be focussed if it is scrollable.
11182
11183
2002-04-06  Daniel Burrows  <dburrows@brown.edu>
11184
11185
	* src/pkg_view.cc:
11186
	  Fixed two minor formatting bugs: bulleted lists no longer
11187
	have an extraneous space in front of them, and the first item
11188
	of a bulleted list is no longer indented one square too few (when
11189
	it follows a wrapped paragraph, that is)
11190
11191
	* src/pkg_view.cc:
11192
	  Rewrote the description formatting code completely.  It is no
11193
	longer a hairball, and is much more simpler and more understandable.
11194
	This should clear up current bugs and avoid future ones.
11195
	  (Debian bug #137783)
11196
11197
	* README, configure.in, NEWS:
11198
	  Update for version 0.2.11.
11199
11200
	* README:
11201
	  Document the Reinstall keybinding, and correct the documentation
11202
	of Install, Remove, and Hold.
11203
11204
	* src/pkg_columnizer.cc:
11205
	  Give the "Tasks" tree a description.
11206
11207
	* src/cmdline.cc:
11208
	  Correct some bad logic in the prompting code which suppressed many
11209
	prompts, and handle essential prompting better.
11210
11211
	* src/pkg_columnizer.cc:
11212
	  Add a %H display escape, which expands to the current
11213
	computer's hostname. (Debian bug #137754)
11214
11215
	* src/pkg_grouppolicy.cc:
11216
	  The same, for preview screens.
11217
11218
	* src/pkg_grouppolicy.cc:
11219
	  Add description functionality to the "main" grouping level.
11220
11221
	* src/pkg_view.cc:
11222
	  Don't allow the user to focus the "description" area unless there's
11223
	an actual description there.
11224
11225
	* src/pkg_columnizer.cc:
11226
	  Don't show an "available" version for obsolete/local packages.
11227
	  (Debian bug #120872)
11228
11229
	* src/pkg_grouppolicy.cc, src/generic/apt.h, src/generic/apt.cc:
11230
	  Moved the obsolete test into shared generic code.
11231
11232
	* README, aptitude.1, src/main.cc:
11233
	  You can now set command-line parameters in the config file.
11234
	  This might be useful for, eg, -V.
11235
11236
	* aptitude.1:
11237
	  Document -P
11238
11239
	* README, src/apt_options.cc, src/pkg_item.cc:
11240
	  Aptitude::UI::New-Package-Commands now defaults to true.
11241
11242
	* src/pkg_grouppolicy.cc:
11243
	  Display the section short description next to the section again.
11244
11245
	* src/pkg_grouppolicy.cc:
11246
	  For sections like "contrib/admin", show the description of the last
11247
	element.
11248
11249
	* src/pkg_grouppolicy.cc:
11250
	  Write descriptions (however stupid) for all sections.
11251
11252
	* src/cmdline.cc:
11253
	  Don't suppress the preview when using always-prompt.
11254
11255
	* src/main.cc, src/cmdline.cc:
11256
	  Added a -P option which forces the display of a prompt.
11257
11258
	* src/main.cc:
11259
	  Add support for --version (Debian bug #141296)
11260
11261
	* src/vscreen/vs_table.cc:
11262
	  Call get_focus() in layout_me() -- layout_me() is called when
11263
	widgets change their focussability, and so we may need to update
11264
	our focus location.
11265
11266
	* src/vscreen/vs_table.cc:
11267
	  When changing the focus in get_focus(), notify the child widgets.
11268
11269
2002-04-03  Daniel Burrows  <dburrows@brown.edu>
11270
11271
	* src/cmdline.cc:
11272
	  Don't interpret trailing +/-/_/= characters if keeping that
11273
	character in the string gives us the name of an existing package.
11274
	  (Debian bug #140933)
11275
11276
2002-03-28  Daniel Burrows  <dburrows@brown.edu>
11277
11278
	* src/pkg_view.cc:
11279
	  Don't crash if pkg_description_widget::get_lines(false) is called
11280
	while the widget is hidden (getmaxy()==0)
11281
	  In particular, don't crash when the user tries to press a or z
11282
	while the description is popped down.  (Debian bug #140361)
11283
11284
	* src/cmdline.cc:
11285
	  Don't crash when displaying why a package was removed if another
11286
	package conflicted with it.  We now check conflicts against the
11287
	currently installed version (which IMO makes the most sense)
11288
11289
	* src/cmdline.cc:
11290
	  instreason-display now works for auto-held packages.  However (oops)
11291
	auto-held packages aren't found properly.  Needs to be fixed:)
11292
11293
2002-03-24  Daniel Burrows  <dburrows@brown.edu>
11294
11295
	* src/cmdline.cc:
11296
	  Onve we've entered an interactive repl, don't abort even if we
11297
	reach a state in which the prompt would have been skipped originally.
11298
11299
	* src/cmdline.cc:
11300
	  Wrote some code to try to figure out why auto_held packages were
11301
	held.  More work here as well.
11302
11303
	* src/pkg_grouppolicy.cc:
11304
	  Wrote more long descriptions.  There's still work to do here.
11305
11306
	* src/pkg_grouppolicy.cc:
11307
	  Use the task long descriptions.
11308
11309
	* src/apt_info_tree.cc, src/apt_info_tree.h, src/pkg_view.cc, src/pkg_view.h, src/ui.cc:
11310
	  Activate the code to show long descriptions for subtrees.
11311
	  Currently this only affects the "long description area" -- it
11312
	should work for short descriptions in the future!
11313
11314
	* src/pkg_grouppolicy.cc, src/pkg_subtree.cc, src/pkg_subtree.h, src/pkg_tree.cc, src/pkg_tree.h:
11315
	  More work to implement this feature.  Trees now have a signal for
11316
	this, and pkg_subtrees can call on it.
11317
11318
	* src/dep_item.cc, src/dep_item.h, src/pkg_info_screen.cc, src/pkg_grouppolicy.cc, src/pkg_grouppolicy.h, src/pkg_ver_item.cc, src/pkg_ver_item.h:
11319
	  Preliminary support for overloading the description field for
11320
	non-packages.
11321
11322
	* src/cmdline.cc, src/main.cc:
11323
	  Add support for an "unhold" command-line option.
11324
	  (Debian bug #137770)
11325
11326
	* src/cmdline.cc:
11327
	  Show x -> y version numbers for downgraded packages as well.
11328
11329
	* src/cmdline.cc:
11330
	  Package entry in command-line mode now supports versions
11331
	and archives.
11332
11333
	* src/cmdline.cc:
11334
	  You can now toggle display of version info, toggle display of
11335
	dependency info, and get help from the installation prompt.
11336
11337
	* src/cmdline.cc:
11338
	  'e' at the prompt now enters the full UI.  I'm not sure whether
11339
	the fact that this was a 10-line hack is wonderful or frightening.
11340
11341
	* src/cmdline.cc:
11342
	  Only show "reasons" when showing a group of packages which was
11343
	automatically selected/deselected/held.
11344
11345
	* src/cmdline.cc:
11346
	  Detects "reasons" for packages removed due to unusedness.
11347
11348
2002-03-23  Daniel Burrows  <dburrows@brown.edu>
11349
11350
	* src/cmdline.cc:
11351
	  You can now give additional commands at the prompt.
11352
	  Eg, after "aptitude install xemacs21" selects xemacs21-mule,
11353
	do "- xemacs21-mule + xemacs21-nomule" to fix it.
11354
11355
	* src/cmdline.cc:
11356
	  Fix the cmdline stuff so it actually works again.
11357
11358
	* src/cmdline.cc:
11359
	  Split cmdline_pkgaction in preparation for future enhancements.
11360
11361
	* src/cmdline.cc, src/download.cc, src/download.h:
11362
	  Report exit status according to success/failure. (Debian bug #139615)
11363
	  Needs testing.
11364
11365
	* src/cmdline.cc:
11366
	  Use action_states to decide whether to show dependency
11367
	information.  This makes it work properly with dist-upgrades.
11368
11369
	* src/cmdline.cc:
11370
	  Filter duplicates when printing dependencies.
11371
11372
	* src/cmdline.cc, src/cmdline.h, main.cc:
11373
	  -D for showing dependencies, -V for showing versions, only
11374
	show the extra simulation stuff with -v.
11375
11376
	* src/cmdline.cc:
11377
	  Do something sane when the user tries to install a virtual package.
11378
11379
	* src/cmdline.cc:
11380
	  Fix the dependency-checking code -- it was checking versioned
11381
	dependencies using the version of the package declaring them (oops)
11382
11383
2002-03-21  Daniel Burrows  <dburrows@brown.edu>
11384
	* src/cmdline.cc:
11385
	  Extend the dependency checking to removed packages.  (need
11386
	to test this more)
11387
11388
	* src/cmdline.cc, src/cmdline.h:
11389
	  Use verbosity for something.  With -v, display version numbers of
11390
	intended installations; with -vv, also display dependency information.
11391
	(should these be orthoganol?)
11392
11393
	* src/cmdline.cc, src/cmdline.h:
11394
	  Moo.
11395
11396
	* src/main.cc:
11397
	  Introduce support for verbosity.
11398
11399
2002-03-20  Daniel Burrows  <dburrows@brown.edu>
11400
11401
	* src/cmdline.cc:
11402
	  Don't segfault in some cases when displaying dependencies,
11403
	and suppress unnecessary dependency indications when upgrading.
11404
	("install" with no arguments still displays too much stuff)
11405
11406
	* src/cmdline.cc:
11407
	  The start of better previewing (showing information about why
11408
	packages were installed/removed/etc)
11409
11410
	* src/main.cc:
11411
	  Document "download" in the --help output.  (Debian bug #138150)
11412
11413
	* README, help.txt, src/apt_options.cc:
11414
	  Remove references to allow-reinstall, and document the "L" key (bad
11415
	keybinding)
11416
11417
	* src/dep_item.cc, src/dep_item.h, src/pkg_item.cc, src/pkg_item.h, src/pkg_node.cc, src/pkg_node.h, src/pkg_subtree.cc, src/pkg_subtree.h, src/pkg_ver_item.cc, src/pkg_ver_item.h: 
11418
	  Separate reinstallation from +/-/_/=.  (Debian bug #138122)
11419
11420
	* src/generic/apt.cc:
11421
	  Reinstate the stuff necessary to detect reinstalled packages.
11422
	  It was accidently removed in the last version.
11423
	  (Debian bug #138120)
11424
11425
	* src/download.cc:
11426
	  Reload the cache if an update is aborted.  (Debian bug #138070)
11427
11428
2002-03-19  Daniel Burrows  <dburrows@brown.edu>
11429
11430
	* src/vscreen/vs_bin.cc, src/vscreen/vs_menubar.cc, src/vscreen/vs_minibuf_win.cc, src/vscreen/vs_passthrough.cc, src/vscreen/vs_passthrough.h, src/vscreen/vs_stacked.cc, src/vscreen/vscreen.cc:
11431
	  Many updates to the way focus is handled.  It should be more
11432
	"correct" now.  Probably this should be tested quite a bit.
11433
11434
2002-03-17  Daniel Burrows  <dburrows@brown.edu>
11435
11436
	* src/generic/tasks.cc:
11437
	  #include <ctype.h> explicitly before any STL stuff.  g++-3 didn't
11438
	like compiling the new code without this change (stupid)
11439
11440
	* src/download.cc, src/apt_options.cc:
11441
	  Fine, fine, autoclean defaults to false.  (Debian bug #138685)
11442
11443
2002-03-15  Daniel Burrows  <dburrows@brown.edu>
11444
11445
	* src/vscreen/vscreen.cc:
11446
	  Focus the toplevel widget when it is assigned.
11447
11448
	* src/vscreen/vs_stacked.cc:
11449
	  Similarly, give focus to newly added widgets.
11450
11451
	* src/vscreen/vs_menubar.cc:
11452
	  Give focus to the subwidget as necessary.
11453
11454
	* src/vscreen/vs_bin.cc:
11455
	  Focus widgets added to the bin.
11456
11457
	* src/vscreen/vs_multiplex.cc:
11458
	  Correctly delegate "focused" state to subwidgets.
11459
11460
	* src/vscreen/vs_table.cc:
11461
	  Only give or remove focus from the current subwidget if we
11462
	have focus ourselves.
11463
11464
	* src/vscreen/vs_tree.cc:
11465
	  Hide the highlight if the tree is not focussed.
11466
11467
	* src/vscreen/vs_table.cc:
11468
	  Call vscreen_update() after focussing a table's subwidget so that
11469
	cursor locations are adjusted.
11470
11471
	* src/vscreen/vs_tree.cc:
11472
	  Don't run off the end of the list and blow up when the user starts
11473
	a search from the last item in a list. (Debian bug #136967)
11474
11475
	* src/vscreen/vs_subtree.h:
11476
	  Use ++realitem and --realitem rather than the post-versions.
11477
	  Guard dereferencing of list items with an assertion.
11478
11479
	* src/pkg_tree.cc:
11480
	  Set doing_incsearch to false when rebuilding the tree.
11481
11482
2002-03-13  Daniel Burrows  <dburrows@brown.edu>
11483
11484
	* src/pkg_grouppolicy.cc:
11485
	  s/Adminitrative/Administrative/
11486
11487
2002-03-11  Daniel Burrows  <dburrows@brown.edu>
11488
11489
	* src/cmdline.cc:
11490
	  Don't print the "Reading ..." messages from the "search" command
11491
	 (Debian bug #136873)
11492
11493
	* src/download_list.cc:
11494
	  Print "stalled" when the download is stalled. (Debian bug #136520)
11495
11496
	* src/cmdline.cc:
11497
	  Don't prompt on upgrade when nothing is to be done.
11498
	  (Debian bug #137302)
11499
11500
	* src/cmdline.cc:
11501
	  Basic support for SIGWINCH (Debian bug #137945)
11502
11503
2002-03-08  Daniel Burrows  <dburrows@brown.edu>
11504
	* po/de.po:
11505
	  Massive update to the German translation by
11506
	Erich Schubert <erich@debian.org>
11507
11508
2002-03-03  Daniel Burrows  <dburrows@brown.edu>
11509
11510
	* src/pkg_grouppolicy.cc:
11511
	  Added a description for "alien" (Debian bug #136684)
11512
11513
	* src/generic/tasks.cc:
11514
	  aptitude got confused by Tasks lines like "Tasks: a, b" and
11515
	started looking for a task named " b".  Fixed.  (Debian bug #136684)
11516
11517
2002-03-02  Daniel Burrows  <dburrows@brown.edu>
11518
11519
	* src/cmdline.cc:
11520
	  Fix some more "argh g++ screws up on return tracing" bugs.
11521
	  Note to self: remember to send a bug report!
11522
11523
	* src/download.cc:
11524
	  The "deleting obsolete downloaded files" thing was missing a \n;
11525
	fixed.
11526
11527
	* NEWS, README, configure.in:
11528
	  Version bumped to 0.2.10
11529
11530
	* README:
11531
	  Update the documentation about ~r and ~g.
11532
11533
	* src/main.cc, aptitude.1:
11534
	  Document -f.
11535
11536
	* src/download_list.cc:
11537
	  Don't add "s" after the time units. (Debian bug #135567)
11538
11539
	* README:
11540
	  Minor formatting fixes.
11541
11542
	* src/generic/matchers.cc:
11543
	  Resurrect the old revdep matcher (Debian bug #135571) and make a
11544
	'garbage matcher' (~g) which matches stuff that would be garbage
11545
	collected.
11546
11547
	* src/generic/aptcache.cc:
11548
	  Set the "garbage" flag on anything unmarked to "true" -- not just
11549
	on installed packages.
11550
11551
	* src/generic/aptcache.cc:
11552
	  Handle the "never remove these" matchers by adding such packages
11553
	to the rootset, not by hacking them into not being removed.
11554
	(otherwise, their dependants would be marked for removal as well)
11555
11556
	* aptitude.1:
11557
	  Update the email address to dburrows@debian.org
11558
11559
	* src/cmdline.cc, src/cmdline.h, src/main.cc:
11560
	  None of your business. :)
11561
11562
	* src/main.cc:
11563
	  Update the usage documentation and link it to the "help" command.
11564
11565
	* aptitude.1:
11566
	  Document -w/--width.
11567
11568
	* README, aptitude.1:
11569
	  Added a large quantity of documentation on the new command-line
11570
	actions.  Also, removed the INSTALLATION section that Joey objected
11571
	to from the manual.  (Debian bug #136478, sort of)
11572
11573
	* src/main.cc:
11574
	  Make the long option --display-format synonymous to -F, not -f.
11575
11576
	* src/cmdline.cc, src/cmdline.h, src/main.cc:
11577
	  Added a "download" command which downloads deb files.
11578
11579
	* src/generic/pkg_acqfile.h, src/generic/pkg_acqfile.cc, src/generic/pkg_changelog.cc:
11580
	  Tweaked the changelog downloader to be generic, and added a
11581
	hacked routine to download a .deb file quickly.  All workarounds
11582
	for apt-pkg's limitations :(
11583
11584
	* src/generic/aptcache.cc:
11585
	  Don't mark things as having changed automatically if they changed
11586
	automatically to a state that matches their aptitude state.
11587
11588
	  After much intrepid hacking, I found the reason for the
11589
	"aptitude sometimes ignores actions from the command-line" to be
11590
	the following:
11591
	  (A) If a package was already marked for installation, the
11592
	    change from "keep" to "install" was being flagged as automatic.
11593
	  (B) This caused the package and all its dependencies to be marked
11594
	    as auto-installed;
11595
	  (C) Therefore, aptitude helpfully cancelled their selected status.
11596
	    (thanks, aptitude)
11597
11598
	* src/cmdline.cc:
11599
	  Added a missing '\n' to the "you must provide at least one
11600
	search term" error message.
11601
11602
	* src/generic/aptcache.cc, src/generic/aptcache.h, src/cmdline.cc:
11603
	  try_fix_broken can now accept a problem-resolver; if one is passed,
11604
	it is used instead of the "resolve everything at once" -- this lets
11605
	the aptitude state keep track of what a customized resolver did.
11606
11607
	* src/cmdline.cc:
11608
	  If the user requested actions on particular packages, use a problem
11609
	resolver which is geared towards making those actions happen, rather
11610
	than the global optimization done by try_fix_broken.  Among other
11611
	things, this means that "remove" now does the Right Thing[tm].
11612
11613
	* src/cmdline.cc:
11614
	  Better error message for unmet dependencies.
11615
11616
	* src/cmdline.cc:
11617
	  Added basic support for being obnoxious about removing essential
11618
	packages.
11619
11620
2002-03-01  Daniel Burrows  <dburrows@brown.edu>
11621
11622
	* src/cmdline.cc, src/cmdline.h, src/download.cc, src/download.h, src/main.cc, src/ui.cc:
11623
	  Implemented -d and -y.
11624
11625
2002-02-28  Daniel Burrows  <dburrows@brown.edu>
11626
11627
	* src/cmdline.cc:
11628
	  If the user enters a non-existant package, show a list of possible
11629
	choices for it.
11630
11631
2002-02-27  Daniel Burrows  <dburrows@brown.edu>
11632
11633
	* src/generic/aptcache.cc:
11634
	  Only follow Recommends and Suggests if the appropriate
11635
	configuration option is set.  (Debian bug #135956)
11636
11637
2002-02-26  Daniel Burrows  <dburrows@brown.edu>
11638
11639
	* src/cmdline.cc:
11640
	  Fix the broken package displayer to be somewhat sensible.
11641
11642
	* src/cmdline.cc, src/main.cc:
11643
	  Added "markauto" and "unmarkauto" package actions.  These are
11644
	handled in cmdline_pkgaction, so they will automatically remove
11645
	suddenly removable packages, and you can select packages to
11646
	be installed if you for some reason want to.
11647
11648
	* src/cmdline.cc, src/cmdline.h, src/main.cc:
11649
	  Added a "forget new packages" command.
11650
11651
	* src/generic/matchers.cc, README:
11652
	  Add matchers for upgradable and new packages.
11653
11654
	* src/cmdline.cc:
11655
	  If packages are broken, the error display is now more helpful.
11656
11657
	* src/cmdline.cc, src/cmdline.h, src/main.cc:
11658
	  Added a parameter to cmdline_pkgaction indicating whether to fix
11659
	broken packages (off by default!)
11660
11661
2002-02-25  Daniel Burrows  <dburrows@brown.edu>
11662
11663
	* src/cmdline.cc:
11664
	  Added a missing \n in the -s message for clean.
11665
11666
	* src/cmdline.cc:
11667
	  Fix a typo in the preview messages (folowing..upgraded -> following)
11668
11669
	* src/cmdline.cc:
11670
	  Don't use sticky states for dist-upgrade.
11671
11672
	* src/main.cc:
11673
	  The default display format for "search" now includes state
11674
	information.
11675
11676
	* src/generic/aptcache.cc:
11677
	  Only call mark_all_upgradable from aptitudeDepCache::Init if
11678
	do_initselections is set.
11679
11680
	* src/generic/aptcache.cc:
11681
	  Even if do_initselections is false, set the selections of
11682
	unknown packages appropriately.  This helps mark_all_upgradable
11683
	do something sensible.
11684
11685
2002-02-24  Daniel Burrows  <dburrows@brown.edu>
11686
11687
	* src/generic/matchers.cc:
11688
	  ~M now marks to-be-installed automatically installed packages
11689
	as well as currently installed automatically installed packages.
11690
11691
	* src/generic/aptcache.cc:
11692
	  mark_all_upgradable now calls mark_and_sweep and duplicate_cache.
11693
11694
	* src/main.cc:
11695
	  Added --with[out]-{recommends,suggests} to toggle the handling
11696
	of these from the command-line.
11697
11698
	* src/generic/aptcache.cc:
11699
	  Use mark_all_install to set install states (a bit wasteful of CPU
11700
	cycles, but it "should" be "fairly" cheap)
11701
	  Rationale: we need to tell when stuff is dragged in because of
11702
	dependencies of upgraded packages.
11703
11704
	* src/cmdline.cc:
11705
	  Fix the "dangling newline" input bug with the Y/n prompts.
11706
11707
	* src/generic/aptcache.cc, src/generic/aptcache.h, cmdline.cc, ui.cc:
11708
	  Kill the extra argument to try_fix_broken -- it's not really needed
11709
	now, and it makes things hairier.
11710
11711
	* src/cmdline.cc:
11712
	  Use mark_all_upgradable in dist-upgrade rather than hacking
11713
	auto-upgrade.
11714
11715
	* src/cmdline.cc:
11716
	  Renamed cmdline_preview_show_pkglist to cmdline_show_pkglist.
11717
11718
	* src/generic/aptcache.cc, src/cmdline.cc:
11719
	  Broke down yet again; this time, I rewrote all_upgrade to
11720
	just reimplement pkgAllUpgrade in my own code.  How annoying.
11721
	  (on the other hand....it works! yay!  I don't understand WHY
11722
	   it works, but never mind that..)
11723
11724
	* src/cmdline.cc:
11725
	  When doing searches, open the cache with sticky states enabled.
11726
11727
	* src/cmdline.cc:
11728
	  Allow non-root users to run simulations of upgrades/installs.
11729
11730
	* src/generic/aptcache.cc:
11731
	  Don't condition on Auto-Upgrade in mark_all_install.
11732
11733
	* src/generic/aptcache.cc, src/generic/aptcache.h, src/cmdline.cc, src/ui.cc:
11734
	  Don't use auto-install when marking upgradable packages.
11735
11736
	* src/cmdline.cc:
11737
	  ok, don't do that, Daniel; use mark_all_upgradable and then
11738
	try_fix_broken.  (I'll get there eventually)
11739
11740
	* src/generic/aptcache.h, src/generic/aptcache.cc, src/cmdline.cc:
11741
	  Added an "all_upgrade" method to the cache; it's just
11742
	a wrapper for pkgAllUpgrade.  (gave up trying to emulate
11743
	pkgAllUpgrade -- even when I make exactly the same calls as
11744
	it, stuff doesn't work right)
11745
11746
	* src/cmdline.cc:
11747
	  Always prompt on upgrades.
11748
11749
	* src/generic/aptcache.cc, src/generic/aptcache.h:
11750
	  Changed try_fix_broken so that it behaves more like
11751
	pkgAllUpgrade when without_extra is true.
11752
11753
	* src/cmdline.cc:
11754
	  Abort if the fixer fails.
11755
11756
	* src/cmdline.cc, src/cmdline.h, src/main.cc:
11757
	  Added support for -s as "simulate".
11758
11759
	* src/cmdline.cc:
11760
	  Doh!  strcmp doesn't return -1 if a<b, it returns some random
11761
	value smaller than 0.
11762
	  Corrected code that made the above assumption; previews are
11763
	now displayed in sorted order for real.
11764
11765
	* src/cmdline.cc:
11766
	  Added a hack -- dist-upgrade is no longer quite a synonym for
11767
	"install".  If auto-upgrade is not normally true, only
11768
	dist-upgrade will mark things for upgrade by default.
11769
11770
	* src/cmdline.cc:
11771
	  upgrade no longer tries to mark every single package for
11772
	installation. (oops!)
11773
11774
	* src/cmdline.cc:
11775
	  Use action groups around the loops that set package states, so
11776
	that the various long-running algorithms in aptitude's cache
11777
	logic aren't run on every single package.
11778
11779
	* src/cmdline.cc:
11780
	  Added an "X packages upgraded, X packages installed,..."
11781
	message in the preview.  (copied pretty much directly from apt-get)
11782
11783
	* src/cmdline.cc:
11784
	  "upgrade" honors holds.
11785
11786
	* src/cmdline.cc, src/main.cc:
11787
	  "dist-upgrade" is now a synonym for "install".
11788
11789
	* src/cmdline.cc, src/cmdline.h, src/main.cc:
11790
	  Added an "upgrade" command (like apt-get upgrade)
11791
11792
	* src/generic/aptcache.cc, src/generic/aptcache.h, src/cmdline.cc, src/ui.cc:
11793
	  aptitudeDepCache::try_fix_broken now takes an argument indicating
11794
	whether to behave like dist-upgrade (use removals) or like upgrade
11795
	(don't use removals)
11796
11797
	* src/main.cc, src/cmdline.h, src/cmdline.cc:
11798
	  Added support for arbitrary widths in the output of "search".
11799
11800
	* src/main.cc:
11801
	  Fix option parsing.  Don't add "--" in front of long options in
11802
	the opts structure; check optind to find the first non-option.
11803
11804
	* src/cmdline_parse.cc, src/cmdline_parse.h:
11805
	  Added skeletal code for a super-duper option parser to work
11806
	around limitations in getopt -- then read the getopt info page
11807
	and realized that the limitations didn't exist!  Adding the code
11808
	anyway, in case it turns out to be useful; it's not compiled.
11809
11810
	* src/main.cc, src/cmdline.h, src/cmdline.cc:
11811
	  Added preliminary support for redefined output columnification.
11812
	  Still TODO: (a) fix the option parsing with this (oops);
11813
	(b) deal with the fact that it should allow running off the edge of
11814
	the screen; (c) handle the visible-version stuff more cleanly.
11815
11816
2002-02-23  Daniel Burrows  <dburrows@brown.edu>
11817
11818
	* src/apt_options.cc, src/download.cc:
11819
	  aptitude now defaults to logging in /var/log/aptitude, and
11820
	has a configuration option for it.
11821
11822
	* src/cmdline.cc:
11823
	  The preview now displays the download size and the expected amount
11824
	of disk usage.
11825
11826
	* src/cmdline.cc:
11827
	  Added a proper preview and pause before downloading (like apt-get)
11828
11829
	* src/generic/apt.cc, src/generic/apt.h, src/pkg_grouppolicy.cc:
11830
	  Added support for listing DOWNGRADED packages in the preview.
11831
11832
	* src/download.cc:
11833
	  Kill the "press return to continue" prompt when downloading
11834
	packages in text mode.
11835
11836
	* src/cmdline.cc:
11837
	  Unreverse tests so that actions are parsed properly (oops)
11838
11839
	* ChangeLog: add a bunch of missing "src/"s to filenames
11840
11841
	* src/cmdline.cc, src/cmdline.h, src/download.cc, src/download.h, src/main.cc, src/ui.cc:
11842
	  Added very crude support for "apt-get install"-style stuff.
11843
11844
	* src/cmdline.cc, src/cmdline.h, src/main.cc:
11845
	  Added a "search" command (like apt-cache, more or less)
11846
11847
	* src/cmdline.cc, src/cmdline.h, src/main.cc: 
11848
	  Added an "autoclean" command.
11849
11850
	* src/main.cc:
11851
	  Added a \n to the end of the "unknown command" message.
11852
11853
	* src/cmdline.cc, src/cmdline.h, src/main.cc:
11854
	  Added a "clean" command.
11855
11856
	* src/generic/acqprogress.cc:
11857
	  Replace the commented-out settings of Update with manager.set_update.
11858
11859
	* src/download_manager.h:
11860
	  Support setting the Update field.
11861
11862
	* src/cmdline.cc:
11863
	  So, here's the deal.  AcqTextStatus stores ScreenWidth as a
11864
	**reference** to an integer.  Although this is disgusting at first
11865
	glance, there's a sticky problem of what to do on window resizes.
11866
	I may handle this in a better place eventually, but for now I'm
11867
	going to make it a global (ick) variable in cmdline.cc.
11868
11869
2002-02-22  Daniel Burrows  <dburrows@brown.edu>
11870
	* src/Makefile.am, src/cmdline.h, src/cmdline.cc, src/download.cc, src/download.h, src/generic/acqprogress.cc, src/generic/acqprogress.h:
11871
	  Added a command-line-based "update" routine, like apt-get's only
11872
	with aptitude's logic.  Tweaked the download stuff to work with
11873
	text-mode download.  Added the apt-get acqprogress thingy to the
11874
	source tree.  (acqprogress is now a descendent of SigC::Object, so
11875
	connecting signals to it works)
11876
11877
	* src/ui.cc:
11878
	  Add a menu item to mark all upgradable and not manually held
11879
	packages for upgrade.
11880
11881
	* src/generic/aptcache.cc, src/generic/aptcache.h, src/generic/apt.cc, src/generic/apt.h, src/ui.cc, src/main.cc, src/download.cc, src/pkg_item.cc:
11882
	  Add code to not automatically do all sorts of marking of packages
11883
	on startup, and to mark the upgradable packages later.
11884
11885
	* help-fi.txt, aptitude.fi.1, src/mine/mine-help-fi.txt, po/fi.po:
11886
	  Updated Finnish translations from Jaakko Kangasharju <ashar@iki.fi>
11887
11888
	* src/pkg_item.cc, src/pkg_columnizer.cc, src/pkg_ver_item.cc:
11889
	  Only show packages as held if they are actually held.  That is,
11890
	upgradable packages which are NOT going to be upgraded because (eg)
11891
	auto-upgrades are off will be displayed as "ii".
11892
11893
2002-02-21  Daniel Burrows  <dburrows@brown.edu>
11894
11895
	* aptitude.1, aptitude.fr.1, aptitude.fi.1, aptitude.pl.1, aptitude.gl.1:
11896
	  s/README.gz/README
11897
11898
	* README:
11899
	  Document the "p" state flag.
11900
	  (Debian bug #135112)
11901
11902
2002-02-17  Daniel Burrows  <dburrows@brown.edu>
11903
	* Makefile.am:
11904
	  Distribute .todo in tarballs.
11905
11906
	* src/download_list.cc:
11907
	  Kill the evil floating-point exception on alpha.  This deserves
11908
	a new "real" release.  (Debian bug #122064)
11909
11910
	* src/download.cc:
11911
	  Make forget-new-on-update actually do that.  (Debian bug #134226)
11912
11913
2002-02-10  Daniel Burrows  <dburrows@brown.edu>
11914
	* README, NEWS, configure.in:
11915
	  Version bumped to 0.2.9.3.
11916
11917
	* po/pl.po:
11918
	  Updates from Michal Politowski.
11919
11920
	* src/main.cc, src/vscreen/vscreen.cc: 
11921
	  Guard the _GNU_SOURCE definitions with #ifndef _GNU_SOURCE, just
11922
	in case.  (evidently g++-3 automatically #defines this)
11923
11924
2002-02-09  Daniel Burrows  <dburrows@brown.edu>
11925
11926
	* Makefile.am:
11927
	  Really distribute aptitude.pl.1.
11928
11929
	* src/generic/matchers.cc:
11930
	  Really fix ~ahold.
11931
11932
	* NEWS, README, configure.in:
11933
	  Version bumped to 0.2.9.2.
11934
11935
	* NEWS, README, configure.in:
11936
	  Version bumped to 0.2.9.1.
11937
11938
	* src/generic/aptcache.cc (mark_auto_installed):
11939
	  D'oh, since we're marking and sweeping when the user sets a
11940
	package to "auto-installed", we have to cleanup_after_change as
11941
	well.  Same goes for mark_keep.
11942
	  This merits a quick new release.
11943
11944
	* NEWS, README, configure.in:
11945
	  Version bumped to 0.2.9.
11946
11947
	* README:
11948
	  Major adjustments to the README, incorporating some user
11949
	feedback.  (Debian bug #126492)
11950
11951
	* src/generic/aptcache.cc:
11952
	  You can now set a match expression which will limit which packages
11953
	are automatically removed.  eg, if it is "~slibs", only packages
11954
	in the "libs" section will be automatically removed.
11955
	  The option is PACKAGE::Delete-Unused-Pattern.
11956
11957
	* src/generic/aptcache.cc, src/generic/aptcache.h, src/generic/matchers.cc:
11958
	  The garbage collector now records which packages it would delete
11959
	automatically, and you can search/limit on that value via ~r.
11960
	(FIXME: use this to store unused-deletion information?)
11961
11962
2002-02-08  Daniel Burrows  <dburrows@brown.edu>
11963
11964
	* src/vscreen/vs_subtree.h:
11965
	  Fix a minor bug: the vs_subtree tried to use addch(' ') to clear
11966
	the remainder of the line after it finished -- but if it had just
11967
	filled a line completely, the "y" position would have been advanced,
11968
	and it would end up painting over the whole next line (oops)
11969
	  (Debian bug #123652)
11970
11971
	* src/generic/aptcache.cc:
11972
	  Caught an insidious bug: changes to the automatically-installed
11973
	status of a package would only be saved in the undo stack when they
11974
	were accompanied by another change (eg, removal of the package)
11975
	  This was due to the fact that rather then testing the current
11976
	state against the backed-up state, I was testing it against itself.
11977
	  D'oh!
11978
11979
	* src/apt_options.cc:
11980
	  Add an option to disable auto-removal of unused packages.
11981
11982
	* src/generic/aptcache.cc:
11983
	  It is necessary for internal_mark_delete to call
11984
	cleanup_after_change now (since it might trigger additional actions)
11985
11986
	* src/generic/aptcache.h, src/generic/aptcache.cc:
11987
	  So there was a problem due to the fact that mark_install,
11988
	mark_delete, etc, were triggering a mark and sweep all the time.
11989
	Normally this would be right, but when undoing a group of
11990
	actions, a mark_and_sweep would be performed in the middle of the
11991
	group -- at which point the cache was in an indeterminate state
11992
	and weird stuff happened.
11993
	  Instead of fixing this the right way (whatever that is), I
11994
	have created internal_mark_*, which take a boolean parameter
11995
	specifying whether a mark_and_sweep operation is desired.  The
11996
	standard functions are just wrappers that hardcode that to true.
11997
11998
	* src/generic/aptcache.cc:
11999
	  Added a hack to make it obvious that undoing a forget-new command
12000
	actually works.  (rebuild package trees when this is done)
12001
12002
	* src/defaults.cc:
12003
	  Oops, lower-case a conflicts with other things.  Use
12004
	lower-case m instead.
12005
12006
	* src/generic/aptcache.h, src/generic/aptcache.cc, src/pkg_item.cc, src/pkg_item.h, src/pkg_ver_item.h, src/pkg_ver_item.cc, src/pkg_subtree.h, src/pkg_subtree.cc, src/defaults.cc:
12007
	  Renamed lastchange to installremove_reason to make it clear
12008
	that it doesn't apply to holds.  Added and removed code to really
12009
	prevent it from applying to holds (sane transient holds would be
12010
	nice, but that's for the future)
12011
12012
	  Added code to allow packages to be quickly marked as
12013
	manually installed (keybinding: lower-case a)
12014
12015
	  mark_and_sweep is no longer called in the middle of an action
12016
	group -- it's always called at the end, now.  Should speed some
12017
	operations up.
12018
12019
	* src/pkg_item.cc:
12020
	  NowBroken is a bad reason to visually flag things as broken.
12021
12022
2002-02-04  Daniel Burrows  <Daniel_Burrows@brown.edu>
12023
12024
	* src/pkg_columnizer.cc:
12025
	  Add %M to the default package display.
12026
12027
	* src/generic/apt.cc:
12028
	  Hmm.  Packages which were automatically installed, and are
12029
	now being upgraded, are no longer shown as "packages
12030
	automatically installed".  This is unfortunate in the sense
12031
	that packages which *were* automatically upgraded are lost.
12032
	  Future versions should fix this, but I don't expect it to be
12033
	a major issue *crosses fingers*.
12034
12035
	* src/pkg_item.cc:
12036
	  The su-to-root logic in pkg_item.cc is more robust now.
12037
	  (Debian bug #130423)
12038
12039
	* src/generic/matchers.cc:
12040
	  ~ahold matches any held package, I think.  (Debian bug #126800)
12041
12042
2002-02-03  Daniel Burrows  <Daniel_Burrows@brown.edu>
12043
	* src/ui.cc:
12044
	  Call pkg_columnizer::setup_columns() in ui_init() -- why wasn't I
12045
	doing this before?  Doh indeed.
12046
	  (Debian bug #114401, and I tested it for real this time!)
12047
12048
	* src/download.cc:
12049
	  Change [NOT USED] to [REMOVE, NOT USED] in the log
12050
	output.
12051
12052
	* src/pkg_columnizer.cc:
12053
	  Fixed the translated widths so they work properly again with
12054
	the new column types (hm, this is a good debugging device for
12055
	the translated-widths problem :) )
12056
12057
	* src/generic/matchers.cc:
12058
	  Added a matcher for automatically-installed packages.
12059
12060
	* src/pkg_item_with_subtree.h:
12061
	  Un-reverse the new expanded/collapsed display so it's right.
12062
12063
	* src/pkg_ver_item.cc:
12064
	  Oops.  The fallback rule in pkg_ver_columnizer::setup_columns
12065
	was calling pkg_ver_columnizer::setup_columns again => infinite
12066
	recursion => crash.
12067
	  It now correctly calls pkg_columnizer::setup_columns when it
12068
	needs to punt.
12069
12070
	* src/generic/aptcache.cc:
12071
	  Call mark_and_sweep after setting a package's "auto" flag.
12072
12073
	* src/generic/aptcache.cc:
12074
	  Don't use apt_cache_file to get a reference to our package
12075
	cache -- use GetCache().  (apt_cache_file could be uninitialized)
12076
12077
	* src/generic/apt.cc
12078
	  Don't classify not-installed and not to-be-installed packages
12079
	as having been held back.  (check state.Status==1 rather than
12080
	state.Status>0)
12081
12082
	* src/generic/aptcache.cc:
12083
	  Don't mark packages which aren't installed as having been
12084
	automatically deleted, even if nothing depends on them.
12085
12086
2002-02-02  Daniel Burrows  <Daniel_Burrows@brown.edu>
12087
12088
	* src/generic/aptcache.cc:
12089
	  Add Essential packages to the root-set. (this is important :) )
12090
12091
	* src/pkg_grouppolicy.cc:
12092
	  Oops, added a missing "," which was causing two entries in the
12093
	child_names table to be collapsed into a single entry.
12094
12095
	* src/generic/aptcache.cc:
12096
	  Don't auto-delete packages which are already being deleted (thus
12097
	changing their "auto" flag)
12098
12099
	* src/generic/apt.cc:
12100
	  find_pkg_state: Report unchanged packages as being unchanged, not as
12101
	being reinstalled.
12102
12103
	* src/download.cc:
12104
	  Store the time of the package run in the log file.
12105
	  (Debian bug #120874)
12106
12107
	* src/generic/aptcache.cc:
12108
	  Do mark_and_sweep inside an action group.
12109
12110
	* src/generic/aptcache.cc: 
12111
	  Don't go into an infinite loop when the user does anything.
12112
	(mark_and_sweep was calling mark_delete, which was calling
12113
	 mark_and_sweep..... -- solution: only call mark_and_sweep
12114
	 if it's a manual deletion rather than a mark_and_sweep one.
12115
	 yes, it's a hack)
12116
12117
12118
	* src/pkg_node.cc, src/defaults.cc:
12119
	  Add a keybinding for setting a package as auto-installed ('A')
12120
12121
	* src/generic/aptcache.h, src/generic/aptcache.cc, src/pkg_item.cc, src/pkg_ver_item.cc, src/download.cc:
12122
	  Actually write code to find automatically installed and not
12123
	depended on packages.  Currently this uses a mark-and-sweep algorithm;
12124
	this is not as efficient as it could be, but it is correct.
12125
	(refcounting would be faster in this case, but when Recommends
12126
	are taken into account, the dependency graph tends to have cycles)
12127
12128
	* src/generic/apt.cc, src/generic/apt.h, src/pkg_grouppolicy.cc:
12129
	  Updated the "find out why a package changed" code to make use
12130
	of the lastchange field.
12131
12132
2002-02-01  Daniel Burrows  <Daniel_Burrows@brown.edu>
12133
12134
	* src/pkg_columnizer.h, src/pkg_columnizer.cc, src/generic/aptcache.h:
12135
	  Added stubs for flagging and tagging.
12136
12137
	* src/pkg_ver_item.cc, src/pkg_ver_item.h, src/pkg_item.cc, src/pkg_item.h, src/pkg_subtree.cc, src/pkg_subtree.h, src/pkg_node.h, src/pkg_columnizer.h, src/pkg_columnizer.cc:
12138
	  Added preliminary support for viewing auto-install states.
12139
12140
	* src/generic/aptcache.cc, src/generic/aptcache.h:
12141
	  Added basic support for tracking whether a package's last
12142
	selection was automagic.
12143
12144
2002-01-23  Daniel Burrows  <Daniel_Burrows@brown.edu>
12145
12146
	* src/vscreen/vs_editline.cc:
12147
	  Start the cursor at the beginning of a line to be edited rather
12148
	than the end (I'm not sure if this is an improvement :P )
12149
12150
	  (Debian bug #120890)
12151
12152
	* src/apt_options.cc:
12153
	  Corrected a misspelling (Debian bug #120887)
12154
12155
2002-01-10  Daniel Burrows  <Daniel_Burrows@brown.edu>
12156
12157
	* src/pkg_item.cc:
12158
	  Added "idempotent" alternatives for some package manipulation
12159
	commands.  The idea is to make the behavior of '+','-', etc more
12160
	predictable, so that operations on large numbers of packages behave
12161
	sensibly.  This is currently off by default while I test it.
12162
12163
	* src/pkg_item.cc:
12164
	  The source was unnecessarily setting the package state to
12165
	Install in pkg_item::remove when the package was to be reinstalled.
12166
 	It no longer does.
12167
12168
	* README: Many edits and rewordings, inspired by Rainer Dorsch.
12169
12170
	  - Rewrote bits of the intro.
12171
	  - Explained much more about trees and opening/closing.
12172
	  Consistently refer to trees as "items"/"subitems" and
12173
	Hopefully experienced users are not insulted.
12174
12175
2002-01-06  Daniel Burrows  <dburrows@brown.edu>
12176
12177
	* src/generic/aptcache.cc:
12178
	  When setting up the initial states, iterate over the package list
12179
	twice, only setting AutoInstall the second time.  This decreases
12180
	startup time, but allows more sane initial selections of packages.
12181
	  The following explanation is given in the source:
12182
12183
    // A reason for this is the following scenario:
12184
    //
12185
    // Packages A and B are installed at 1.0.  Package C is not installed.
12186
    // Version 2.0 of each package is available.
12187
    //
12188
    // Version 2.0 of A depends on "C (= 2.0) | B (= 2.0)".
12189
    //
12190
    // Upgrading A if B is not upgraded will cause this dependency to
12191
    // break.  Auto-install will then cheerfully fulfill it by installing
12192
    // C.
12193
    //
12194
    // A real-life example of this is xemacs21, xemacs21-mule, and
12195
    // xemacs21-nomule; aptitude would keep trying to install the mule
12196
    // version on upgrades.
12197
12198
	(Debian bug #108379)
12199
12200
        * Experimentally changed the display of closed/opened
12201
	trees.
12202
12203
	* Corrected a missing \n in da.po.
12204
12205
2001-12-12  Daniel Burrows <dburrows@brown.edu>
12206
	* po/da.po
12207
	  Updates from Morten Brix Pedersen <morten@wtf.dk>
12208
	* src/ui.cc
12209
	  Made the top information bar translatable, patch from Morten.
12210
12211
2001-12-10  Daniel Burrows <dburrows@brown.edu>
12212
	* README, Makefile.am:
12213
	  Correct several stale references to /var/state.  Oops.
12214
	  Re-releasing 0.2.8.1, which never made it off my machine yesterday.
12215
12216
2001-12-09  Daniel Burrows  <dburrows@brown.edu>
12217
	* NEWS, README, configure.in:
12218
	  Version bumped to 0.2.8.1
12219
12220
	* src/generic/aptcache.cc, configure.in, acconfig.h:
12221
	  The location used for the state information now depends on
12222
	$sharedstatedir.  (Debian bug #122334)
12223
12224
	* po/pt_BR.po:
12225
	  Updated pofile with data from Andre Luis Lopes <andrelop@ig.com.br>.
12226
	  This appears to add %s escapes to a number of places they were
12227
	  missing, and fix some untranslated messages.  (Debian bug #122251)
12228
12229
	* help.txt, help-fi.txt, help-pl.txt, help-fr.txt
12230
	  "j" and "k" were reversed in the help text when I initially
12231
	  wrote in.  (oops)  Fixed.  (Debian bug #122061)
12232
12233
	* src/pkg_grouppolicy.cc:
12234
	  Rewrote the description of the "comm" section to make it clear
12235
	that it includes things other than faxmodems.  (Debian bug #121951)
12236
12237
	* configure.in, po/da.po:
12238
	  Added Danish translation from Morten Brix Pedersen <morten@wtf.dk>
12239
12240
	* src/load_config.cc, src/pkg_description_treeitem.cc, src/vscreen/vs_statuschoice.cc:
12241
	  Applied Falk Hueffner's patch for not crashing on alpha.
12242
12243
	* src/apt_options.cc, src/download_list.cc, README:
12244
	  Added an option which determines whether to display the
12245
	continue/cancel dialog after downloading.  (Debian bug #120873)
12246
12247
2001-12-06  Daniel Burrows  <dburrows@brown.edu>
12248
12249
	* README:
12250
	  Document the new matcher.
12251
12252
	* src/generic/matchers.cc:
12253
	  Added a matcher for reverse dependencies (Debian bug #122726)
12254
	  This doesn't fully solve the 'need debfoster capability' wishlist,
12255
	but is easy to implement than the full solution, and helps out.
12256
12257
2001-11-25  Daniel Burrows  <dburrows@brown.edu>
12258
12259
	* po/es_ES.po, po/es.po, configure.in:
12260
	  Renamed es_ES.po to es.po, at the suggestion of Jordi Malloch.
12261
	  He speaks Spanish, so I presume he knows what he is talking
12262
	about :-)
12263
12264
2001-11-23  Daniel Burrows  <dburrows@brown.edu>
12265
12266
	* src/pkg_item.cc:
12267
	  Add a separate case for not-installed packages in visible_version(),
12268
	so that it, well, works.  (InstVerIter may be an end-iterator
12269
	for these)
12270
12271
	* src/pkg_item.cc, src/pkg_item.h, src/pkg_columnizer.cc:
12272
	  Make the display behavior of package items more logical:
12273
	held packages are flagged as "broken" if they will be broken
12274
	after the proposed install run.
12275
	  This involved changing NowBroken to InstBroken in the code that
12276
	decided whether to display a package as "held".
12277
12278
	  In addition, querying a displayed package for information will
12279
	display information about the current version if it is held.  This
12280
	makes it easier (hopefully) to get information about what dependency
12281
	broke for a held package.
12282
12283
2001-11-22  Daniel Burrows  <dburrows@brown.edu>
12284
12285
	* src/pkg_tree.cc:
12286
	  Tweak the incsearch behavior: if it has an invalid (eg, null)
12287
	match string, it now returns to the starting location.  I find this to
12288
	be more logical.
12289
12290
	* README, NEWS, configure.in:
12291
	  Version bumped to 0.2.8
12292
12293
	* README:
12294
	  Document ~C.
12295
12296
	* src/generic/matchers.cc:
12297
	  Add an additional match type for conflicts.
12298
12299
	* src/pkg_tree.cc, src/pkg_tree.h, src/apt_options.cc:
12300
	  Incremental search is now an option, defaulting to ON.
12301
12302
	* src/generic/config_signal.h:
12303
	  Add a std:: that should've been there anyway.
12304
12305
	* src/generic/matchers.cc:
12306
	  The dep-matcher doesn't crash on virtual packages any more.
12307
12308
	* README:
12309
	  Documented the dependency-matcher, and alphabetized the
12310
	documentation of match types.
12311
12312
	* src/generic/matchers.cc:
12313
	  Added a package matcher for dependencies.  This matcher
12314
	takes *another matcher* as an argument..have fun :)
12315
12316
	* src/vscreen/vs_util.cc, src/ui.cc:
12317
	  Check slots before connecting to them, to avoid segfaults.
12318
12319
2001-11-21  Daniel Burrows  <dburrows@brown.edu>
12320
12321
	* help.txt, README:
12322
	  Document the default behavior of '/'-searching better.  (it
12323
	was actually sort of documented in the README, but not very
12324
	clearly)  (Debian bug #120592)
12325
	  Attn translators: 
12326
12327
	* NEWS, README, configure.in:
12328
	  Version number bumped to 0.2.7.999
12329
12330
	* src/pkg_ver_item.cc:
12331
	  Package views now setup the column information before calling
12332
	columnify, which (among other things) should make translations
12333
	behave properly.  (Debian bug #114401)
12334
12335
	* src/pkg_grouppolicy.cc, src/generic/tasks.cc:
12336
	  Gracefully handle failure to parse the task descriptions.
12337
	  (can be due to, eg, tasksel not being present) (Debian bug #120578)
12338
12339
	* src/generic/matchers.cc, src/generic/matchers.h, src/pkg_tree.cc:
12340
	  Make the reporting of errors in match strings optional.  Needed
12341
	for incsearch because some partially typed strings will be invalid
12342
	and we don't want to report spurious errors on them.
12343
12344
	* src/pkg_tree.cc:
12345
	  Don't crash if the user reloads during an incsearch.
12346
12347
	* src/pkg_tree.cc:
12348
	  Incsearch now does not interfere with normal search.  (ie, pressing
12349
	"return" after incsearch does the Right Thing[tm])
12350
12351
	* src/pkg_tree.cc:
12352
	  Killed off a small memory leak.
12353
12354
	* src/pkg_tree.cc:
12355
	  Added an (experimental) incremental search function.
12356
12357
	* src/mine/cmine.cc, src/pkg_tree.cc, src/vscreen/vs_editline.cc, src/vscreen/vs_editline.h, src/vscreen/vs_util.cc, src/vscreen/vs_util.h, src/pkg_item.cc, src/ui.cc:
12358
	Added a hook to accept a slot to be called when the prompt is cancelled.
12359
12360
	* src/mine/cmine.cc, src/pkg_tree.cc, src/vscreen/vs_editline.cc, src/vscreen/vs_editline.h, src/vscreen/vs_util.cc, src/vscreen/vs_util.h, src/pkg_item.cc, src/ui.cc:
12361
	  Added a hook in the prompting routines to accept a slot to
12362
	be called when the text is edited.  (will be used for incsearch)
12363
12364
2001-11-20  Daniel Burrows  <dburrows@brown.edu>
12365
12366
	* README, NEWS, configure.in:
12367
	  Version number bumped to 0.2.7.3
12368
12369
	* po/pl.po, help-pl.txt, aptitude.1.pl:
12370
	  (finally) merged Mikhal's new pl translation.  (Debian bug #114396)
12371
12372
	* function_pkgs:
12373
	  Many updates for new packages in the archive.
12374
12375
	* README:
12376
	  Fix ~a vs ~A confusion. (Debian bug #116695)
12377
12378
	* README, NEWS, configure.in:
12379
	  Version number bumped to 0.2.7.2.
12380
12381
	* src/ui.cc, configure.in:
12382
	  The menu command to reload the cache is now a compile-time
12383
	option, defaulting to off.
12384
	
12385
	* src/generic/tasks.cc, src/generic/tasks.h, src/generic/matchers.cc, src/pkg_grouppolicy.cc:
12386
	  Redid the task code again, this time to (hopefully) make it more
12387
	efficient.  Specifically, it now precalculates a list of tasks for
12388
	each package, and accesses version files in disk order when doing
12389
	so (this will hopefully improve speed greatly on slow systems; eg,
12390
	bug #116750)
12391
12392
	* src/ui.cc:
12393
	  Added a menu item to reload the cache on demand (useful for
12394
	debugging)
12395
	  Note: make this a configure option defaulting to off before
12396
	release!
12397
12398
2001-11-19  Daniel Burrows  <dburrows@brown.edu>
12399
12400
	* src/mine/mine-help.txt:
12401
	  Mention the "f" key.  (Debian Bug #120251)
12402
12403
2001-11-14  Daniel Burrows <dburrows@brown.edu>
12404
12405
	* src/vscreen/vs_tree.cc:
12406
	  Fix the problem where pageup doesn't unhighlight/highlight the
12407
	new item.
12408
12409
2001-10-01  Daniel Burrows  <Daniel_Burrows@brown.edu>
12410
12411
	* configure.in, README, NEWS:
12412
	  Version number bumped to 0.2.7.1
12413
12414
	* src/generic/matchers.cc, src/generic/tasks.cc:
12415
	  Fixes for g++-3.  (oops)
12416
12417
	* configure.in, README, NEWS:
12418
	  Version number bumped to 0.2.7
12419
12420
	* Makefile.am:
12421
	  Moved some comments out of rules; I was getting complaints from
12422
	automake about them.
12423
12424
2001-09-29  Daniel Burrows  <Daniel_Burrows@brown.edu>
12425
12426
	* src/ui.cc:
12427
	  The default grouping policy now includes a task component.
12428
12429
	* README:
12430
	  Documented the task grouping policy.
12431
12432
	* src/pkg_grouppolicy.cc:
12433
	  Task groupings now have a passthrough behavior.  Tasks are placed
12434
	under the "tasks" subtree, and other stuff is put in the root.
12435
	(this is a hack)
12436
12437
	* src/pkg_view.cc:
12438
	  Prepared for the ability to sec the description area to some
12439
	text directly (rather than via set_package)
12440
12441
	* src/generic/tasks.cc:
12442
	  No longer track a list of all packages in a given task; it's
12443
	counter to how aptitude builds its trees.  (the new pkg_grouppolicy
12444
	is the Right Way to do this)
12445
12446
	* src/pkg_grouppolicy.cc, src/pkg_grouppolicy.h, src/load_grouppolicy.cc:
12447
	  Added a "task" grouping policy.
12448
12449
	* src/generic/tasks.h, src/generic/tasks.cc, src/generic/apt.cc:
12450
	  Added code to load the task descriptions/sections.  This will
12451
	shortly be used to add a list of tasks to the UI.
12452
12453
	* src/pkg_columnizer.cc, src/generic/matchers.cc, src/generic/tasks.cc, src/generic/tasks.h:
12454
	  Renamed get_task to get_tasks; it now returns a list of tasks.
12455
	  Other code adjusted accordingly; "task" column type removed because
12456
	it's stoopid.
12457
12458
	* src/gneric/matchers.cc:
12459
	  Added a match type for tasks.
12460
12461
	* src/generic/Makefile.am, src/generic/tasks.h, src/generic/tasks.cc:
12462
	  Added the beginnings of support for tasks 'n stuff.
12463
12464
2001-09-22  Daniel Burrows  <Daniel_Burrows@brown.edu>
12465
12466
	* NEWS, README, configure.in:
12467
	  Bumped the version to 0.2.6.4
12468
12469
	* src/edit_pkg_hier.h, src/load_grouppolicy.cc:
12470
	  Work around a g++ bug on arm by #including pkg_hier.h before
12471
	certain other files.  (yes, I should find the actual bug, but I
12472
	need aptitude to compile *now*)
12473
12474
2001-09-15  Daniel Burrows  <Daniel_Burrows@brown.edu>
12475
12476
	* src/generic/config_signal.cc:
12477
	  Fixed the "revert options" command to handle not-yet-set-at-all
12478
	options correctly.  (FIXME: what about options that were set but
12479
	aren't now?)
12480
12481
	* configure.in, README, NEWS:
12482
	  Bumped the version to 0.2.6.4
12483
12484
	* src/ui.cc:
12485
	  Really fixed the loading of keybindings from the theme.
12486
12487
	* README:
12488
	  Edited the list of available keybindings to bring it into line with
12489
	reality.
12490
12491
	* src/load_config.h, src/load_config.cc, src/ui.cc, src/generic/config_signal.h:
12492
	  Fix the problems which were breaking keybindings.  (incorrectly
12493
	generated config strings, and problems with themes versus actual
12494
	configurations)  -- Debian bug #112306
12495
12496
	* src/ui.cc:
12497
	  Fix the location from which the 'theme bindings' are loaded.
12498
12499
2001-09-14  Daniel Burrows  <Daniel_Burrows@brown.edu>
12500
12501
	* configure.in, README, NEWS:
12502
	  Bumped version to 0.2.6.3
12503
12504
	* src/vscreen/vs_tree.cc:
12505
	  Added a hack to avoid the "hall of mirrors"-like effect with the
12506
	non-hierarchical tree mode.
12507
12508
	* src/vscreen/vs_treeitem.h:
12509
	  move_forward_level now correctly refuses to fall over the edge
12510
	of the world.  This fixes the segfault reported in #112267.
12511
12512
	* src/edit_pkg_hier.cc:
12513
	  Fix a nasty segfault with the edit-hier code -- I was dereferencing
12514
	packages for which pkg.end() was true to get their names to save
12515
	for later.  Why this didn't crash with -O2, I don't know.
12516
12517
2001-09-13  Daniel Burrows  <Daniel_Burrows@brown.edu>
12518
	* configure.in, README, NEWS:
12519
	  Bumped version to 0.2.6.2.
12520
12521
	* function_hier:
12522
	  Updated for new packages.
12523
12524
	* src/edit_pkg_hier.h, src/edit_pkg_hier.cc:
12525
	  When postponing the loading of the hierarchy, use strings instead
12526
	of pointers to potentially-not-available-later packages.
12527
12528
	* src/vscreen/vs_editline.cc:
12529
	  Fixed a silly crashing bug in the new editline stuff.
12530
12531
	* configure.in, README, NEWS:
12532
	  Bumped version to 0.2.6.1.
12533
12534
	* configure.in:
12535
	  Moved ALL_LINGUAS to before AM_GNU_GETTEXT (Debian bug #111904)
12536
12537
	* src/vscreen/vs_editline.cc, src/vscreen_vseditline.h:
12538
	  Made the scrolling behavior of edit-lines more friendly (they
12539
	scroll by single characters with padding at the edge, instead of
12540
	scrolling with huge blind jumps)
12541
12542
	* src/ui.h, src/ui.cc, src/apt_options.cc:
12543
	  Added an options-dialog slot for the default grouping string.
12544
12545
	* src/generic/config_signal.h, src/generic/config_signal.cc, src/generic/apt.cc:
12546
	  Killed the Bug of Doom by using two configuration classes as
12547
	per Jason's suggestion.  (the "system" configuration shadows the
12548
	"theme" configuration)
12549
12550
	* src/ui.cc:
12551
	  Uncomment one of the static items that had been commented out for
12552
	debugging purposes.  (oops)
12553
12554
2001-09-08 Daniel Burrows  <Daniel_Burrows@brown.edu>
12555
12556
	* src/pkg_view.h:
12557
	  Remember to really initialize all the important fields in
12558
	pkg_view's constructor.  (in particular, name and popupdownlinked
12559
	were not being initialized at all, which was causing strange problems
12560
	with g++-3)
12561
12562
	* src/load_pkgview.cc: 
12563
	  Fall back to the default values for static items using the
12564
	STATUS or HEADER fields.
12565
12566
	* NEWS:
12567
	  Added a note that this won't compile on potato anymore.
12568
12569
	* configure.in:
12570
	  Moved AM_GNU_GETTEXT to before AM_PATH_SIGC; the gettext
12571
	macro tries to compile some code that breaks on g++-3 if sigc
12572
	was already called.  (why did this work before??)
12573
12574
	* src/edit_pkg_hier.cc, src/edit_pkg_hier.h:
12575
	  Don't update the hierarchy editor from the underlying hierarchy
12576
	unless and until it's visible.  This is necessary for the
12577
	"lazy loading" of the hierarchy to work.
12578
12579
	* README, AUTHORS:
12580
	  Changed the email address to @debian.org
12581
12582
	* README:
12583
	  Added a cursory (could-be-improved) description of the hierarchy
12584
	and categorization.
12585
12586
	* src/pkg_view.cc:
12587
	  Make the popdownlinked stuff implemented below actually work.
12588
12589
	* src/vscreen/vs_tree.cc:
12590
	  Fixed the bug that caused highlight/unhighlight notifications
12591
	to not be properly sent out when dealing with non-hierarchical
12592
	trees (hitting "back" would not send an 'unhighlighted' notification)
12593
12594
	* src/vscreen/vs_subtree.h:
12595
	  Fixed a bug that caused subtree names to be clipped one character
12596
	away from the edge of the window.
12597
12598
	* src/load_grouppolicy.cc, src/pkg_hier_editor, src/generic/apt.h, src/generic/apt.cc: 
12599
	  Load the package hierarchy lazily, so the user doesn't have
12600
	to wait for it if he/she isn't using it.
12601
12602
	* src/load_pkgview.cc, src/pkg_view.h, src/pkg_view.cc, aptitude-defaults:
12603
	  Allow the shown/hidden status of an interface element to be linked
12604
	to that of another interface element, which allows me to fix the
12605
	inconsistencies with the vertical-split layout.
12606
12607
2001-09-07  Daniel Burrows  <Daniel_Burrows@brown.edu>
12608
12609
	* src/pkg_grouppolicy.cc, src/pkg_grouppolicy.h:
12610
	  Started adding a "task" grouping policy (to replace tasksel ;-) )
12611
	but quit when it became obvious that apt-pkg doesn't have the
12612
	necessary functionality.  Filed bug #111654.
12613
12614
	* function_pkgs:
12615
	  Classified a number of new packages.
12616
12617
	* aptitude-defaults:
12618
	  Added a "dselect" theme.
12619
12620
	* src/pkg_columnizer.h, src/pkg_columnizer.cc, src/pkg_ver_item.cc, README:
12621
	  Added a "short priority" column type (needed for dselect-like
12622
	mode)
12623
12624
	* README: Document Aptitude::UI::Package-Header-Format.
12625
12626
2001-09-06  Daniel Burrows  <Daniel_Burrows@brown.edu>
12627
12628
	* src/generic/matchers.cc (parse_atom): When handling action-based
12629
	matchers, don't require reinstalled and held packages to be purged.
12630
	(d'oh!)  Note: there are still some subtleties with broken packages..
12631
12632
2001-09-01  Daniel Burrows  <Daniel_Burrows@brown.edu>
12633
12634
	* src/vscreen/vs_tree.cc:
12635
	  In non-hierarchical mode, display paths as
12636
	"First::Second::Third" instead of "/First/Second/Third".
12637
12638
	* src/vscreen/vs_tree.cc:
12639
	  In non-hierarchical mode, the various page up/down and scrolling
12640
	functions work properly (rather than being off-by-one)
12641
12642
2001-08-31  Daniel Burrows  <Daniel_Burrows@brown.edu>
12643
12644
	* src/generic/apt.cc:
12645
	  Be more careful when saving a new configuration (save to config.new
12646
	  and use rename(2) )
12647
12648
	* src/generic/apt.cc:
12649
	  Don't save anything under "PACKAGE::Themes" (this avoids saving lots
12650
	of global theme configuration stuff)
12651
12652
	* src/generic/apt.cc, aptitude-defaults:
12653
	  Added a file which stores default configuration data for aptitude
12654
	(eg, themes)
12655
12656
	* src/generic/aptcfg.h, src/generic/aptcfg.cc, src/ui.cc, src/load_config.cc, README:
12657
	  Implemented basic theme support.  Before shipping the new aptitude,
12658
	  I'll make some sample themes (eg, vertical-split for my
12659
	  cute "vertical-split" configuration; dselect for the Face of Evil,
12660
	  etc)
12661
12662
	* README:
12663
	  Brought the COLORS section up-to-date.  Also, renamed the
12664
	  colors in cmine.cc to be more consistent with the rest of the
12665
	  program (they use WordsSeparatedByCaps instead of
12666
	  words_separated_by_underscores now)
12667
12668
	* src/vscreen/config/colors.cc AND MANY OTHERS:
12669
	  If colors are defined in apt.conf with a "bold" tag at the front
12670
	  of their specification, they will be boldface wherever they are
12671
	  used.  Many manual usages of A_BOLD were dropped to support
12672
	  this new convention, and several colors (screen_status_color,
12673
	  screen_header_color, etc) were made boldface by default.  (there
12674
	  are still a few explicit uses of A_BOLD; eg, for hotkeys in menus)
12675
12676
	* src/vscreen/vs_tree.cc:
12677
	  Finally added support for diplaying the current location in the
12678
	  hierarchy at the top of a tree in "flat" mode.
12679
12680
	* src/vscreen/vs_tree.cc:
12681
	  Backed out support for changing hierarchical mode without the
12682
	  root selected.  This code really needs a redesign to support
12683
	  that, and aptitude doesn't need it.  (ie: I couldn't get it to
12684
	  stop crashing, and I don't care about this feature that much.
12685
12686
	* src/vscreen/vs_tree.cc:
12687
	  vs_tree now does the "right thing" in the following situations
12688
	  when non-hierarchical mode is turned on:
12689
	    - If non-hierarchical mode is activated while something other than
12690
	      the root is selected, the Right Thing[tm] is done.
12691
	    - Line-numbers are calculated correctly.
12692
	    - Searches don't leave the current screen.  I'm not sure about
12693
	      this, but I think the alternative is too confusing.
12694
12695
	* src/edit_pkg_hier.cc:
12696
	  The package-hierarchy editor behaves better when no package is
12697
	available to edit: it hides the cursor and handles "Q" and "N"
12698
	appropriately. (should I perhaps just move the cursor to (1,1)
12699
	instead?)
12700
12701
2001-08-30  Daniel Burrows  <Daniel_Burrows@brown.edu>
12702
12703
	* src/download.cc:
12704
	  Fixed the autoclean-on-update bug.
12705
12706
	* src/vscreen/vscreen_widget.cc:
12707
	  Removed the code that guards against multiply deleted widgets; it's
12708
	a hack and was breaking on ia64.
12709
12710
2001-08-27  Daniel Burrows  <Daniel_Burrows@brown.edu>
12711
12712
	* src/vscreen/vscreen.cc
12713
	  When a deadly signal (TERM/ABRT/SIGV/QUIT) is caught,
12714
	the program will catch and report it, shut curses down cleanly,
12715
	and then re-raise it to trigger a core dump and/or set the exit
12716
	status properly.
12717
12718
2001-08-26  Daniel Burrows  <Daniel_Burrows@brown.edu>
12719
12720
	* function_pkgs:
12721
	  Finally finished classifying all packages from 'a' to 'z'.
12722
	(the "BWAHAHAHAHA!! I AM ALL POWERFUL!!" CVS commit)
12723
	  All packages which fall relatively neatly into one of my categories
12724
	(and some that don't) have now been assigned a package.  Now I have
12725
	to edit and rationalize the categories, as well as classifying the
12726
	remaining packages.  However, I will do this later, when my brain
12727
	is not fried from reading several hundred package descriptions
12728
	in the space of an hour.
12729
12730
	* README:
12731
	  Corrected the comment about the old "Save Options" menu command
12732
	to describe the new auto-save-options behavior.  (thanks to
12733
	Steve Greenland for pointing this out)
12734
12735
2001-08-25  Daniel Burrows  <Daniel_Burrows@brown.edu>
12736
12737
	* src/vscreen/vscreen.cc:
12738
	  Added a handler for TERM, SEGV, ABRT, and QUIT which
12739
	shuts curses down before quitting (so the terminal doesn't get
12740
	all screwy)
12741
12742
	* function_pkgs, function_groups, Makefile.am, src/generic/apt.cc:
12743
	  Added my current "package class" state to CVS for safekeeping
12744
	and renamed hier_groups to function_groups.  Also
12745
	renamed ~/.aptitude/pkgclass to ~/.aptitude/function_pkgs.
12746
12747
	* src/edit_pkg_hier.cc:
12748
	  Saved package class information is now sorted.  This should make it
12749
	possible to meaningfully use diff and patch on these files (and to
12750
	keep them in CVS without too much trouble)
12751
12752
	* src/generic/pkg_hier_dump.cc:
12753
	  Several useful improvements to the test hierarchy program.
12754
12755
	* src/pkg_grouppolicy.cc:
12756
	  pkg_grouppolicy_hier_factory will only delete its hierarchy if
12757
	it is told to (so we can use a global hierarchy without too much
12758
	fuss)
12759
12760
	* src/generic/pkg_hier.cc (clear):
12761
	  When clearing a pkg_hier's information, don't forget to reset the
12762
	max_group_id!
12763
12764
	* src/pkg_grouppolicy.cc, src/generic/pkg_hier.h:
12765
	  Clear all node data when the cache is reloaded (some stale pointers
12766
	to subtrees and so on were causing problems)
12767
12768
	* src/vscreen/vs_tree.cc:
12769
	  When the root of a tree is swapped, delete its "history stack".
12770
12771
	* src/generic/apt.cc, src/generic/apt.h, src/pkg_grouppolicy.cc, src/edit_pkg_hier.cc:
12772
	  Added a hier_reloaded signal that gets called before cache_reloaded.
12773
	  Hopefully this will kill some of the ultra-repeatable segfaults I've
12774
	been seeing.
12775
12776
2001-08-24  Daniel Burrows  <Daniel_Burrows@brown.edu>
12777
12778
	* src/vscreen/vs_table.cc (find_best_focus): 
12779
	  Never focus an invisible widget!
12780
12781
	* src/ui.cc:
12782
	  Added a menu item to create "categorical" trees: trees that view
12783
	the "by function" hierarchy I'm building.
12784
12785
	* src/pkg_item_with_subtree.h and many others: 
12786
	  Fixed the signatures of the various classes to conform to the newly
12787
	required stuff.  (how vague can you get?)
12788
12789
	* src/vscreen/vs_tree.cc, src/vscreen/vs_tree.h, src/vscreen/testvscreen.cc:
12790
	  Added the code necessary to support a "flat" view mode for trees.
12791
	(it probably could be better, but it'll do for a start)
12792
12793
2001-08-19  Daniel Burrows  <Daniel_Burrows@brown.edu>
12794
12795
	* src/vscreen/vs_label.cc: Queue a layout when a label's text
12796
	changes, since it might very well have altered its size.  (maybe
12797
	only queue a layout if its requested size has changed?)
12798
12799
	* src/pkg_view.cc: pkg_handling_labels request a size of (1,1).
12800
	Since they are columnified, they can adapt to any size they want,
12801
	and reporting the dynamically-calculated size of the vs_label was
12802
	causing problems.  Specifically, the label kept reporting that its
12803
	minimum desired size was as large as possible.  (oops!)
12804
12805
	* src/vscreen/vs_table.cc: When expanding widgets, the vs_table now
12806
	gives priority to columns/rows which already contain an expandable
12807
	widget which is smaller in the given direction.  This makes it DTRT
12808
	in many more cases.
12809
12810
2001-08-17  Daniel Burrows  <Daniel_Burrows@brown.edu>
12811
12812
	* src/pkg_view.cc (make_package_view):
12813
	  I was initializing the column-span of widgets with their height and
12814
	the row-span with their width.  D'oh!  Fixed.
12815
12816
2001-08-16  Daniel Burrows  <Daniel_Burrows@brown.edu>
12817
12818
	* src/load_pkgview.cc src/load_pkgview.h src/ui.cc:
12819
	  Added code to allow a fairly crude customization of the display
12820
	layout.
12821
12822
	* src/pkg_view.h (struct package_view_item):
12823
	  Deleted the "src" member from package_view_item, it's not
12824
	necessary and not even used.
12825
12826
2001-08-14  Daniel Burrows  <Daniel_Burrows@brown.edu>
12827
12828
	* src/edit_pkg_hier.cc:
12829
	  Handle reloads correctly in the edit_pkg_hier class.
12830
12831
2001-08-12  Daniel Burrows  <Daniel_Burrows@brown.edu>
12832
12833
	* src/edit_pkg_hier.cc (save_hier):
12834
	  Only save items with at least one parent.  (saving other items
12835
	is pointless atm -- note: it will become non-pointless if these
12836
	settings override system settings...)
12837
12838
	* src/edit_pkg_hier.h:
12839
	  Don't reset the editable list to the top when the user moves to
12840
	another item, and allow the user to commit changes and advance to
12841
	the next package without leaving the editor.
12842
12843
	* src/edit_pkg_hier.cc (set_package):
12844
	  Only rebuild the editable list if the package is different from the
12845
	current package.
12846
12847
	* src/vscreen/vs_tree.cc (paint):
12848
	  Explained why there's an apparently gratuitous invocation of
12849
	selected->highlighted in vs_tree::paint.
12850
12851
	* Makefile.am:
12852
	  Install the "groups" part of function_hier in pkgdatadir.
12853
12854
	* src/edit_pkg_hier.cc, src/edit_pkg_hier.h, src/pkg_view.cc:
12855
	  Wrote a simple hierarchy editor, which should be easier to use
12856
	than the "edit it by hand" method I've been using until now.
12857
	It hooks into the "description window"; press E to activate it.
12858
12859
2001-08-11  Daniel Burrows  <Daniel_Burrows@brown.edu>
12860
12861
	* src/generic/pkg_hier.cc (realize):
12862
	  Don't complain about multiple occurances of a package or group;
12863
	just use them to further populate the graph.
12864
12865
	* src/generic/pkg_hier.h, src/generic/pkg_hier.cc, src/generic/pkg_hier_dump.cc:
12866
	  Auxilliary information about nodes is now stored in the
12867
	realizer.  This allows the pkg_hier class to be static and
12868
	reusable, rather than crashing if it is used to instantiate two
12869
	different hierarchies.  It also should fix the problems with the
12870
	hierarchy grouping policy.
12871
12872
	* src/ui.cc (do_show_preview):
12873
	  Never use Aptitude::UI::Default-Grouping to set the grouping of
12874
	a preview screen.
12875
12876
2001-08-10  Daniel Burrows  <Daniel_Burrows@brown.edu>
12877
12878
	* src/generic/pkg_hier.cc:
12879
	  Fixed the use of FindFlag (pass 1 as the flag argument) so that
12880
	global settings work.
12881
12882
	* README (Aptitude):
12883
	  Document Aptitude::UI::Default-Grouping with the other
12884
	configuration options.
12885
12886
	* src/pkg_grouppolicy.h, src/pkg_grouppolicy.cc, src/load_grouppolicy.cc: 
12887
	  Added theoretical support for a hier-based grouping policy.  It
12888
	is not yes tested!
12889
12890
	* src/generic/pkg_hier.h, src/generic/pkg_hier.cc (class pkg_hier):
12891
	  The package hierarchies can now be generated iteratively and
12892
	bottom-up, by specifying a series of packages; each package will
12893
	cause the tree structure necessary for that particular leaf to be
12894
	generated.
12895
12896
2001-08-09  Daniel Burrows  <Daniel_Burrows@brown.edu>
12897
12898
	* src/generic/pkg_hier.cc, src/generic/pkg_hier.h, src/generic/README.hier:
12899
	  Added the basic code needed to support external package hierarchy
12900
	descriptions.
12901
12902
2001-08-06  Daniel Burrows  <daniel@torrent>
12903
12904
	* configure.in, README, NEWS
12905
	  Bumped version number to 0.2.5.3.
12906
12907
	* Makefile.am, ChangeLog
12908
	  The source ChangeLog is now maintained by hand.  All entries
12909
	beginning with this one are lovingly hand-crafted by yours truly.
12910
12911
	* /cvsroot/aptitude/aptitude/src/mine/board.h:
12912
	difftime and time are in time.h, especially on the Hurd
12913
12914
	* /cvsroot/aptitude/aptitude/src/main.cc:
12915
	getopt_long returns an int, not a char.  Fixed main to compile on ppc
12916
12917
2001-07-27  Daniel Burrows  <daniel@torrent>
12918
12919
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
12920
	Bump version number to 0.2.5.2
12921
12922
	* /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc:
12923
	Fix a nasty endianness issue for alpha
12924
12925
2001-07-26  Daniel Burrows  <daniel@torrent>
12926
12927
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
12928
	Instead of detecting virtual packages by checking that they have
12929
	zero-length section names in the section grouper, just check
12930
	whether they have no versions (the correct thing to do)  I don't
12931
	know why I did it the other way (or why that worked), but this
12932
	fixes a bizarre bug that caused '1-1' to be used as the section
12933
	for virtual packages on this computer.
12934
12935
2001-07-24  Daniel Burrows  <daniel@torrent>
12936
12937
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
12938
	Bump the version number to 0.2.5.1
12939
12940
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc:
12941
	Oops -- the code to check for duplicated history entries was causing
12942
	the program to segfault if the history was empty!  Fixed.
12943
12944
2001-07-23  Daniel Burrows  <daniel@torrent>
12945
12946
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc:
12947
	Bump version number to 0.2.5
12948
12949
	* /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/POTFILES.in:
12950
	Remove the action_tree stuff from POTFILES.in
12951
12952
	* /cvsroot/aptitude/aptitude/src/download.cc:
12953
	Include init.h in download.cc so we have the apt library version available
12954
12955
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
12956
	Fix the binding of Escape to Cancel, hackily (use ^[ as a synonym for it)
12957
12958
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
12959
	Making state_restorer inline confuses some older g++'s and isn't really
12960
	that important, so don't do it.
12961
12962
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
12963
	Fix the GainLock routine for the old apt code so it
12964
	compiles (there was an argumentless return where it didn't
12965
	belong)
12966
12967
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h:
12968
	Add basic mouse support in pkg_item: double-clicking a package displays its
12969
	info screen.
12970
12971
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h:
12972
	Subtrees now can be expanded by double-clicking on them.
12973
12974
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h:
12975
	vs_tree::move_selection was an obsolete NOP, removed it.
12976
12977
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h:
12978
	Trees now handle mouse events by highlighting the clicked item and
12979
	sending it a mouse event.  This adds a new overridable method in
12980
	vs_treeitem, dispatch_mouse.
12981
12982
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.h:
12983
	Added simple mousing support to the edit-line.
12984
12985
2001-07-22  Daniel Burrows  <daniel@torrent>
12986
12987
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
12988
	Buttons now respond to release events /or/ click events, and tables give
12989
	the focus to clicked-upon widgets.
12990
12991
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc:
12992
	The menu bar now responds to press, release, and click events instead
12993
	of just clicks
12994
12995
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc:
12996
	Menus now handle button presses and releases more elegantly: pressing
12997
	the mouse highlights the item under the cursor; releasing it selects
12998
	the item.
12999
13000
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc:
13001
	The button masking was using && instead of &; fixed
13002
13003
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_button.h:
13004
	Buttons now accept mouse presses
13005
13006
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
13007
	vscreen_widget::enclose now uses its own calculation with window-relative
13008
	coordinates rather than calling wenclose.
13009
13010
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
13011
	Menus now accept mouse clicks
13012
13013
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_passthrough.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_passthrough.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h:
13014
	  Added basic support for mousing to the codebase.  Currently only vs_menubar
13015
	supports it (even the menus don't!), but expect that to change soon.
13016
13017
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
13018
	Moving left and right in the download display now works when the
13019
	'download completed' dialog is displayed.  Note that this is
13020
	potentially problematic, since those keys previously could be
13021
	used to cancel a download..
13022
13023
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h:
13024
	Don't let the download screen be scrolled farther than
13025
	the end of the longest line
13026
13027
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h:
13028
	Added preliminary support for scrolling the download screen to the right
13029
13030
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
13031
	While a download is in progress, all keys pressed between UI updates are
13032
	processed in a given UI update.
13033
13034
	* /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
13035
	The "help bar" can now be switched on and off.
13036
13037
	* /cvsroot/aptitude/aptitude/src/mine/cmine.cc, /cvsroot/aptitude/aptitude/src/mine/cmine.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
13038
	  The history stuff has been hooked into all string prompts in the program
13039
	(with the exception of the "do you understand that you are doing something
13040
	very dangerous?" prompt for removing Essential packages)
13041
13042
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc:
13043
	add_to_history is now a NOP on editlines that do not have a history
13044
13045
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
13046
	Update the utility string dialogs to allow history lists
13047
13048
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.h:
13049
	Many tweaks to the edit-line history: the current edit is preserved while
13050
	searching the history, the history keys are always eaten if a history
13051
	is being used (even if it is empty), and kill the signedness issues.
13052
13053
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
13054
	Make C-u the primary keybinding for Undo (the one that gets displayed
13055
	in the menu)
13056
13057
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.h:
13058
	Added preliminary support for edit-line histories.  This has some problems
13059
	still, most notably bindings and signedness issues.
13060
13061
2001-07-21  Daniel Burrows  <daniel@torrent>
13062
13063
	* /cvsroot/aptitude/aptitude/aptitude.1, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
13064
	Killed the welcome dialog and related stuff (-w, etc)
13065
13066
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13067
	Added a bar at the top of the screen with short descriptions
13068
	of the most useful keybindings, especially the menu and help.
13069
	Hopefully this will remove the need for the welcome dialog.
13070
13071
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13072
	  If the user selects the "Install/Remove packages" menu item while a preview
13073
	is visible, the installation will begin.  (previously, there was a weird
13074
	discrepency where pressing "g" and selecting the menu item would do different
13075
	things)
13076
13077
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/mine/cmine.cc:
13078
	Hopefully fix the Minesweeper help for real (needs testing)
13079
13080
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h:
13081
	Made the minor modification that made multi-CD installs actually work (yay!) --
13082
	it seems I had to shut down the fetcher, re-get the archives, and reacquire
13083
	the lock.  This commit also adds a mechanism for reacquiring the lock without
13084
	restarting the program.
13085
13086
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
13087
	Clear the list of messages when starting a new download
13088
13089
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h, /cvsroot/aptitude/aptitude/src/download_manager.cc, /cvsroot/aptitude/aptitude/src/download_manager.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
13090
	  Implemented the (tortuous!) logic necessary to allow installs spread across
13091
	more than one CD to work.  I almost feel like I understand the Acquire system
13092
	now!
13093
	  The general idea is that we do one package-manager invocation per CD.  No,
13094
	this isn't documented anywhere.  (well, I guess now it is)  So the main
13095
	fetch is run from a big loop, which I slant-copied from apt-get (slant-copied:
13096
	a copy of the basic framework but with modifications)  The main internal API
13097
	change is that we now call Complete on the download_manager when /everything/
13098
	is done (because Stop can be called multiple times)
13099
13100
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
13101
	Experimentally copy some code from the apt-get downloader to see if it
13102
	helps the situation with multiple CD-ROMs
13103
13104
2001-07-20  Daniel Burrows  <daniel@torrent>
13105
13106
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/ui.cc:
13107
	Setting the group now provides the previous setting as a default.  (this
13108
	isn't done Right[tm], but I'm tired)
13109
13110
	Also, pkg_action_tree has been removed.  It was obsolete and
13111
	didn't need to be there.
13112
13113
2001-07-19  Daniel Burrows  <daniel@torrent>
13114
13115
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
13116
	Bump version number to 0.2.4
13117
13118
	* /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/pl.po:
13119
	Ran update-po
13120
13121
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc:
13122
	Remove an unneeded comment
13123
13124
	* /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/generic/config_signal.h, /cvsroot/aptitude/aptitude/src/generic/strhash.h, /cvsroot/aptitude/aptitude/src/strhash.h, /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.cc:
13125
	Conditionalization in the header requires that config.h be included, or
13126
	really bad[tm] stuff happens.  In this case, different versions of
13127
	the hash map were being used in some files from in others.  Not
13128
	good!
13129
13130
	* /cvsroot/aptitude/aptitude/src/download.cc:
13131
	Fixed some thinkos in the conditionalization for pkgAcquire::Item*, so
13132
	download.cc compiles against earlier apts again.
13133
13134
	* /cvsroot/aptitude/aptitude/acconfig.h, /cvsroot/aptitude/aptitude/src/apt_config_widgets.h, /cvsroot/aptitude/aptitude/src/apt_info_tree.h, /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download_bar.h, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h, /cvsroot/aptitude/aptitude/src/download_manager.h, /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/config_signal.h, /cvsroot/aptitude/aptitude/src/generic/strhash.h, /cvsroot/aptitude/aptitude/src/generic/undo.cc, /cvsroot/aptitude/aptitude/src/generic/undo.h, /cvsroot/aptitude/aptitude/src/load_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/load_grouppolicy.h, /cvsroot/aptitude/aptitude/src/load_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/load_sortpolicy.h, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/mine/board.cc, /cvsroot/aptitude/aptitude/src/mine/board.h, /cvsroot/aptitude/aptitude/src/mine/cmine.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/pkg_view.cc, /cvsroot/aptitude/aptitude/src/pkg_view.h, /cvsroot/aptitude/aptitude/src/strhash.h, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
13135
	Everything now compiles and -- almost -- works with g++ 3.0.  Still some
13136
	problems, partly due (I think) to hashtable incompatibilities
13137
13138
	* /cvsroot/aptitude/aptitude/help-fi.txt: New file.
13139
13140
	* /cvsroot/aptitude/aptitude/help-fi.txt:
13141
	Oops, help-fi.txt got left out of CVS.  d'oh!
13142
13143
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
13144
	It seems the inline constructors for vs_menu_info were also causing
13145
	confusion.  They were moved in the cc file, and aptitude now (DRUM ROLL)
13146
	compiles with g++-3.0!
13147
13148
2001-07-18  Daniel Burrows  <daniel@torrent>
13149
13150
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
13151
	The menu/slotarg stuff sort of works, if optimization is off.
13152
	This is done by using the constructor to initialize static arrays
13153
	including slotargs, rather than simply listing initializers for
13154
	the members.
13155
13156
2001-07-11  Daniel Burrows  <daniel@torrent>
13157
13158
	* /cvsroot/aptitude/aptitude/NEWS: Oops.  Fixed NEWS
13159
13160
	* /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/pl.po:
13161
	Ran update-po
13162
13163
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/README:
13164
	Bumped version to 0.2.3
13165
13166
	* /cvsroot/aptitude/aptitude/NEWS: Updated the NEWS file for 0.2.3
13167
13168
	* /cvsroot/aptitude/aptitude/aptitude.1: Also document -w
13169
13170
	* /cvsroot/aptitude/aptitude/aptitude.1:
13171
	Document the available options in aptitude's manpage
13172
13173
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
13174
	Don't mark every package as 'new' when starting for the first time
13175
13176
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
13177
	Make the program compile again on potato (I had to conditionalize the
13178
	restoration of the candidate version in the cache-loading routine)
13179
13180
2001-07-10  Daniel Burrows  <daniel@torrent>
13181
13182
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
13183
	Use J and K for level-up and level-down -- C-j is taken for other keybindings.
13184
13185
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc:
13186
	It's now possible to run dpkg-reconfigure from within aptitude (hokey, I
13187
	know, but it's only a few lines of code..)
13188
13189
	* /cvsroot/aptitude/aptitude/src/mine/cmine.cc:
13190
	Made the Minesweeper help screen actually work (woops!)
13191
13192
	* /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
13193
	Ok, I'm chickening out: the auto-su-to-root on install now just
13194
	shows a preview screen; it doesn't actually start the install.
13195
13196
	This is because I still don't totally trust the transfer of
13197
	the current selections, and want to allow people to avoid
13198
	nasty accidents.
13199
13200
	* /cvsroot/aptitude/aptitude/README:
13201
	Documented the whitespace-sensitive nature of limits
13202
13203
	* /cvsroot/aptitude/aptitude/README: Document the ~a matcher
13204
13205
	* /cvsroot/aptitude/aptitude/README: Document UI::Advance-On-Action
13206
13207
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h:
13208
	Moving forward or backward in a level will no longer ever move 'up' out of
13209
	that level.
13210
13211
	* /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/pkg_node.cc:
13212
	Added code to make all package-nodes follow Steve Greenland's suggested
13213
	dselect-like behavior.  (is this the RTTD?  dunno..)
13214
13215
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h:
13216
	Broke the level-movement commands into separate methods, and exposed
13217
	them to the outside world.
13218
13219
	* /cvsroot/aptitude/aptitude/README: Documented LevelUp and LevelDown
13220
13221
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h:
13222
	Added another vs_tree function, which will advance to the next
13223
	item on the current level.  The keybindings are LevelUp and LevelDown,
13224
	and they default to C-k and C-j, respectively.
13225
13226
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
13227
	Broke the commands to move up, move down, page up/down, etc out of
13228
	the vs_tree's main keystroke handler and into separate PUBLIC
13229
	functions.  This is just the Right Thing To Do, and also lets me
13230
	easily implement Steve Greenland's suggestion.
13231
13232
	* /cvsroot/aptitude/aptitude/src/generic/matchers.cc:
13233
	It should now be possible to limit based on the action that will be
13234
	taken with it (install/uprgade/remove/purge/reinstall/hold).
13235
13236
	Also, some strings that weren't previously marked for translation are.
13237
13238
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc:
13239
	If the cachefile open fails, fall back to opening read-only.
13240
13241
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13242
	After trying to start a subprocess, clean up errors before reloading the
13243
	cache (if errors were hanging around, the cache would fail to load.
13244
	Probably I should be using something more fine-grained (what?) instead
13245
	of checking _error->PendingError()
13246
13247
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
13248
	Finally get passing of candidate-version info to the subprocess to
13249
	work correctly.  (it seems I have to mark the package for installation
13250
	after I set the candidate version.  Oops)
13251
13252
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
13253
	Fix some stuff that meant that the version-selection stuff would never have
13254
	worked properly.  (it's still doesn't, but at least it tries)  Specifically,
13255
	don't increment i for a loop on ver (d'oh)
13256
13257
2001-07-09  Daniel Burrows  <daniel@torrent>
13258
13259
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc:
13260
	Keep the description widget from causing a crash when a non-wrappable word
13261
	(one longer than the widget's width) is included in the description.
13262
13263
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
13264
	Added some code to try to save versions in the state file (hacky, just for
13265
	su-to-root), but it doesn't work and I'm too tired to fix it.
13266
13267
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
13268
	When a vs_tree is resized, the selection will no longer be modified.
13269
	Instead, the screen scrolls until it is once again visible.
13270
13271
2001-07-08  Daniel Burrows  <daniel@torrent>
13272
13273
	* /cvsroot/aptitude/aptitude/src/generic/aptitudepolicy.cc, /cvsroot/aptitude/aptitude/src/generic/aptitudepolicy.h:
13274
	Make it compile on woody/sid, too
13275
13276
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/generic/aptitudepolicy.cc, /cvsroot/aptitude/aptitude/src/generic/aptitudepolicy.h, /cvsroot/aptitude/aptitude/src/load_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/load_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
13277
	Modified aptitude to once again compile against the potato version of libapt
13278
13279
2001-07-04  uid35045  <uid35045@torrent>
13280
13281
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13282
	Don't let the user clean the package cache (even just obsolete files)
13283
	while a download is proceeding.  That's just a weird thing to do.
13284
13285
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h, /cvsroot/aptitude/aptitude/src/download_manager.cc, /cvsroot/aptitude/aptitude/src/download_manager.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
13286
	  Hacked around a nasty crashing bug.  The problem was that I was using
13287
	destroy() to signal the cancellation of a download -- yes, it's evil, but it
13288
	worked because of the deletion queue..at least, until I tried to start
13289
	installation at the beginning of the program, before the main main loop.
13290
	Boom!
13291
	  The hack solution is to override destroy() to call cancel() instead.  The
13292
	real solution is probably never to call destroy() at all, but I'm not sure I
13293
	understand how that would work, and I want to eliminate this crash NOW.
13294
	  This commit also decouples the download status from the widget via
13295
	download_manager -- I thought (wrongly) that it would help the crash, but
13296
	this is useful for other reasons, so I'm leaving it in.
13297
13298
	* /cvsroot/aptitude/aptitude/src/download_manager.cc, /cvsroot/aptitude/aptitude/src/download_manager.h:
13299
	New file.
13300
13301
2001-07-02  Daniel Burrows  <daniel@torrent>
13302
13303
	* /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download_list.cc:
13304
	Ok, it compiles again
13305
13306
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
13307
	The media-change message should now be split up so that it hopefully fits
13308
	onto enough lines.  (addresses a Debian bug report)
13309
13310
	* /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
13311
	aptitude now accepts -w to suppress the startup welcome message, and the
13312
	su_to_root code will pass it to avoid a redundant message
13313
13314
	* /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
13315
	The auto-become-root behavior now works for installation as well
13316
13317
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13318
	Make the auto-su from update_package_lists() pass -u into the subaptitude
13319
13320
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13321
	Don't suddenly exit if the user mistypes a password (or, I suppose, something
13322
	else bad happens) -- maybe I should eventually use a second fifo (eek) to
13323
	distinguish between bad passwords and other problems.
13324
13325
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
13326
	have_system_lock wasn't being initialized to false, which caused some pretty
13327
	broken behavior in some situations.  Fixed.
13328
13329
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13330
	D'oh, some partial changes slipped into that last commit and kept it from
13331
	compiling.  Fix them (make the popup message always a popup;
13332
	the status-line stuff can't deal with it properly)
13333
13334
	* /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
13335
	Added command-line options to update the lists on startup and to start a
13336
	package run on startup.  (it might be better if you could
13337
	do this and end immediately, but I think that'll be trickier
13338
	to implement)
13339
13340
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
13341
	Added the ability to automatically become root when performing a privileged
13342
	action.
13343
13344
	* /cvsroot/aptitude/aptitude/src/ui.cc: IT WORKS!!!!!
13345
	Redid the su-to-root stuff (again) to avoid using a FIFO to read the status
13346
	information (the tagfile code barfs on FIFOs, grrr)  And..it works!!  Ok, you
13347
	lose undo history, version selections go out the window, but hey..it works!
13348
	It works!  It works!  (Daniel is a happy Daniel)
13349
13350
	* /cvsroot/aptitude/aptitude/src/aptitude.h, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
13351
	Added the very beginning of the stuff necessary to have a "su to root" option
13352
	integrated into aptitude.  The idea is that it'll be able to send the current
13353
	package state through a FIFO to a subprocess.  Right now it, uh, doesn't work
13354
	at all, but it's stopped screwing up the rest of the program, so I'm
13355
	committing.
13356
13357
2001-07-01  Daniel Burrows  <daniel@torrent>
13358
13359
	* /cvsroot/aptitude/aptitude/src/main.cc:
13360
	Add skeletal code for option-parsing
13361
13362
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13363
	Now set active_status_download to NULL whenever the status-download
13364
	emits a destroyed() signal.  This fixes a segfault the
13365
	last commit introduced.
13366
13367
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13368
	Status-area downloads can now be cancelled with 'q' (hmm, not so great,
13369
	but that whole status-area download thing is a hack anyway)
13370
13371
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
13372
	Added a description for the hamradio section
13373
13374
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13375
	  Implemented Zach Weinberg's suggestion: if the menubar is set to autohide
13376
	and it's possible to close all screens without exiting the program, make
13377
	the menubar visible anyway if the last screen is closed.  (avoids a certain
13378
	amount of user confusion)
13379
13380
2001-06-30  Daniel Burrows  <daniel@torrent>
13381
13382
	* /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h, /cvsroot/aptitude/aptitude/src/ui.cc:
13383
	Experimentally use an altered download_list to do 'status bvar' downloads.
13384
	Probably I should rename the option, or at least change its
13385
	description..
13386
13387
	* /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download_bar.h, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc:
13388
	Fix the section-name table -- the section name is 'utils', not 'util'
13389
13390
	* /cvsroot/aptitude/aptitude/src/dep_item.cc:
13391
	  Broken dependencies are now displayed with a textual tag next to the item.
13392
	  (this should help colorblind people and people on B&W displays)
13393
13394
	* /cvsroot/aptitude/aptitude/src/generic/matchers.cc, /cvsroot/aptitude/aptitude/README:
13395
	Added a general mechanism for matching packages with broken dependencies
13396
	of a particular type (eg, Recommends or Suggests)
13397
13398
2001-06-29  Daniel Burrows  <daniel@torrent>
13399
13400
	* /cvsroot/aptitude/aptitude/NEWS: Tweak news
13401
13402
	* /cvsroot/aptitude/aptitude/Makefile.am:
13403
	Oops, the makefile listed help-fi.1 instead of help-fi.txt
13404
13405
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
13406
	Bumped version number to 0.2.2, updated NEWS
13407
13408
	* /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/pl.po:
13409
	Ran make update-po
13410
13411
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
13412
	Added (somewhat experimental) code to display descriptions of package
13413
	sections, similar to what capt does.  This clutters the display up a bit, so
13414
	it may be modified or removed in the future.
13415
13416
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h:
13417
	The default widths for descriptions can now vary with the locale.
13418
	Sorry Michal, I decided not to translate the default
13419
	format string; I think that would be too confusing.
13420
13421
	* /cvsroot/aptitude/aptitude/src/mine/Makefile.am:
13422
	Fix the name of the Finnish Minesweeper help file
13423
13424
	* /cvsroot/aptitude/aptitude/aptitude.fi.1, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/src/mine/Makefile.am, /cvsroot/aptitude/aptitude/src/mine/mine-help-fi.txt:
13425
	Added the new and updated Finnish translation.
13426
13427
	* /cvsroot/aptitude/aptitude/aptitude.fi.1, /cvsroot/aptitude/aptitude/src/mine/mine-help-fi.txt:
13428
	New file.
13429
13430
2001-06-28  Daniel Burrows  <daniel@torrent>
13431
13432
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
13433
	Bump the version number to 0.2.1
13434
13435
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13436
	Kill the explicit 'save options' command, it's not necessary anymore
13437
13438
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h:
13439
	Fix a nasty crash due to hairiness surrounding vs_treeiterator
13440
	(and wrote a big NOTE about it in vs_tree.cc)
13441
13442
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h:
13443
	Finally found that strange bug about "I pressed the end key and now I can't
13444
	find the root of the tree" -- levelrefs need a parent chain extending as far
13445
	up as they'll be able to move, and the end-iterator for the vs_tree was being
13446
	set to a levelref that didn't go all the way to its root.
13447
13448
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
13449
	vs_trees now honor the showroot option when they are first created
13450
13451
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
13452
	  Fixed an off-by-one error in the handling of the move-up command (it would
13453
	cause the selection to vanish if it was one line away from having to disappear)
13454
13455
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
13456
	Fix the move-down code to also move one line at a time
13457
13458
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
13459
	Hide the cursor when a non-selectable item is 'selected'
13460
13461
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
13462
	Rewrote the 'move up' command to be much less jarring.
13463
13464
	* /cvsroot/aptitude/aptitude/src/mine/cmine.cc:
13465
	The 'custom board' dialog in Minesweeper no longer displays its
13466
	title in inverse video from the rest of the dialog
13467
13468
	* /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
13469
	  popup_widget now takes an optional parameter which can prevent
13470
	show_all from being called on the widget.  (since most widgets do need
13471
	show_all, it's a nuisance to have to explicitly instantiate them and call
13472
	show_all before calling popup_widget)
13473
	  This fixes the problem with Minesweeper not displaying its popup dialogs.
13474
	(and, hey, maybe some more problems I don't know about)  Also, all those
13475
	places where I explicitly show_all() a popup widget are now redundant.
13476
13477
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
13478
	Be sure to display the confirmation CD-ROM dialog (amazingly, this is the
13479
	only change needed to get the CD stuff working, and it was
13480
	only necessary because of changes in 0.2.0)
13481
13482
	* /cvsroot/aptitude/aptitude/po/pl.po:
13483
	A bunch of po files need to have their line number references updated
13484
13485
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc:
13486
	Fix more signedness issues with addch
13487
13488
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13489
	Change a reference to the configuration group 'aptitude' to PACKAGE
13490
13491
	* /cvsroot/aptitude/aptitude/src/apt_options.cc:
13492
	Ok, ok, ok, autosave options.  Don't say I didn't warn ya..
13493
13494
2001-06-26  Daniel Burrows  <daniel@torrent>
13495
13496
	* /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/src/ui.cc:
13497
	D'oh, I accidentally made all the help dialogs useless.  I guess I have
13498
	to redo the 0.2.0 release (luckily, it wasn't uploaded yet)
13499
13500
2001-06-25  Daniel Burrows  <daniel@torrent>
13501
13502
	* /cvsroot/aptitude/aptitude/help-pl.txt, /cvsroot/aptitude/aptitude/po/pl.po:
13503
	Merge Michal's Polish translation updates
13504
13505
	* /cvsroot/aptitude/aptitude/configure.in: Bump version number to 0.2.0
13506
13507
	* /cvsroot/aptitude/aptitude/NEWS: Update NEWS for 0.2.0
13508
13509
	* /cvsroot/aptitude/aptitude/TODO:
13510
	Brought the TODO a little more into line with reality
13511
13512
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc:
13513
	  Package-description items now don't allow you to scroll down forever.
13514
	This is done by using the display routine to calculate the number of lines
13515
	in the description; a parameter determines whether it will actually draw
13516
	the widget.
13517
13518
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc:
13519
	Fix the commenting in the package-description wordwrap stuff
13520
13521
	* /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/README:
13522
	Added an option to control whether the extended description is shown by
13523
	default.
13524
13525
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13526
	Changed {add,insert}_main_widget to no longer use show_all (explicitly or
13527
	implicitly)  This means that the info area will never be on by default in
13528
	info screens.  Yay!
13529
13530
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
13531
	Make the 'essential package removal' warning box
13532
	work again -- it was assuming that popup_widget used show_all
13533
13534
	* /cvsroot/aptitude/aptitude/README: Bring README up to date for 0.2.0
13535
13536
	* /cvsroot/aptitude/aptitude/aptitude-hackers-guide.txt:
13537
	Update the hacker's guide for the new version
13538
13539
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
13540
	pkg_ver_item now also uses the make_foo_screen routines.  This should fix some
13541
	of the "I can't get the description area when I look at a package's
13542
	information" bugs that have appeared..
13543
13544
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
13545
	Fix a small typo that snuck in with all that sort-policy fixing stuff
13546
13547
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
13548
	Use show_all() on the download summary since popup_widget no longer uses it.
13549
13550
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
13551
	Use recursive mutexes to avoid deadlocks (I suspect I will never understand
13552
	why the deadlocks only started appearing in the last commit or so)
13553
13554
	* /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h:
13555
	  Really fixed sorting.  The sorting wasn't working properly since the sort
13556
	policy was only passed to the top-level of the tree, causing the rest of the
13557
	tree to be unsorted.  (Doh!)  So I modified things once again, this time
13558
	reverting back to having a 'sort policy class' with a virtual method to
13559
	compare two items; to get around the pass-by-value in the STL's sort(), I
13560
	use a wrapper class.  It is all quite ugly and nasty and probably also
13561
	way too slow.
13562
13563
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am:
13564
	Distribute README.layout in the package
13565
13566
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13567
	Kill the Test Error with extreme prejudice.  (if people complain, I'll
13568
	put it back in ;-) )
13569
13570
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13571
	  Made the highlighted letter in "obsolete" the "o", and added a highlight
13572
	on the "C" of ChangeLog.
13573
13574
2001-06-24  Daniel Burrows  <daniel@torrent>
13575
13576
	* /cvsroot/aptitude/aptitude/acconfig.h, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/src/vscreen/config/colors.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc:
13577
	  - Eliminated the state where the menubar is selected but no menu is active;
13578
	  it has no particular purpose aside from wasting keystrokes and confusing
13579
	  people.
13580
	  - Added configure tests for hash_map and ext/hash_map (and hash_set
13581
	  and ext/hash_set).  Fall back to the standard map and set if no
13582
	  implementation of the hashed version is available.  (this allows it to
13583
	  compile with both g++-2.95 and g++-3.0)
13584
13585
	* /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/src/ui.cc:
13586
	  - I hope that autoclean will now actually autoclean, rather than just
13587
	  saying that it did. (untested)
13588
	  - Added the NEWS file to the help menu.
13589
13590
2001-06-22  Daniel Burrows  <daniel@torrent>
13591
13592
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc, /cvsroot/aptitude/aptitude/src/pkg_view.h, /cvsroot/aptitude/aptitude/src/ui.cc:
13593
	Add the groundwork for hiding the description by default, but
13594
	it's still visible, presumably because something is calling show_all
13595
	on the view.
13596
13597
	* /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
13598
	Changed some title strings which were still using string concatenation
13599
	to use snprintf (for translators)
13600
13601
	* /cvsroot/aptitude/aptitude/NEWS:
13602
	Ok, the NEWS file now properly reports changes in 0.0.8.7.1
13603
13604
2001-06-19  Daniel Burrows  <daniel@torrent>
13605
13606
	* /cvsroot/aptitude/aptitude/src/vscreen/config/colors.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/colors.h, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.h, /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_radiogroup.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_staticitem.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.h, /cvsroot/aptitude/aptitude/src/vscreen/curses++.cc, /cvsroot/aptitude/aptitude/src/vscreen/curses++.h, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
13607
	Got all the stuff in vscreen/ compiling with gcc-3.0..now it crashes on
13608
	startup.  Ouch.  Anyway, the rules for this are: headers explicitly
13609
	use std::class; .cc files declare 'using namespace std'.
13610
13611
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc:
13612
	Another Michal fix: somehow vs_pager started screwing up characters with
13613
	the high bit set again.  Added the requisite cast to unsigned (ick)..
13614
13615
	* /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
13616
	Made Aptitude::UI::Prompt-On-Exit work again, and added it to the options
13617
	dialog.  (oops)
13618
13619
2001-06-18  Daniel Burrows  <daniel@torrent>
13620
13621
	* /cvsroot/aptitude/aptitude/NEWS:
13622
	Add a note about this being a pre-0.2 to NEWS
13623
13624
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
13625
	Version number bumped to 0.1.9
13626
13627
	* /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
13628
	Added some missing options to the options dialog, and really
13629
	made Aptitude::UI::Welcome-Dialog control whether the
13630
	welcome dialog was displayed.
13631
13632
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_view.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
13633
	  Fixed a bunch of crashes and potential crashes in the package-columnization
13634
	stuff when the package-cache is in a weird state.  There's still something
13635
	bizarre going on with the static items, where iterators I initialize after
13636
	reloading the cache suddenly point to bad memory.
13637
	  Also fixed a crash due to deleting the preview tree and not the preview
13638
	view (connected the tree's destroyed signal to the view's destroy method)
13639
13640
2001-06-17  Daniel Burrows  <daniel@torrent>
13641
13642
	* /cvsroot/aptitude/aptitude/src/generic/matchers.cc:
13643
	Fix the Origin and Archive stuff to be at least semi-useful
13644
13645
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13646
	Only connect signals in show_message if we got a valid slot, so it doesn't
13647
	immediately crash when displaying in the minibuffer.
13648
13649
	* /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
13650
	Add a generic popup-message facility.  Currently segfaults in some cases..
13651
13652
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc:
13653
	Edited the 'this is a hack' comment
13654
13655
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc:
13656
	Fixed several unpleasant crashes resulting from pkgCache::VerIterator::end()
13657
	crashing if the version-iterator has a NULL cache reference.  Oops.  The
13658
	static items were generating a dummy iterator to start with, and then passing
13659
	that to the columnizer when they were redrawn, causing it to crash.  The
13660
	program now checks the validity of the iterator first, and tries to make it
13661
	valid if possible (this shouldn't be noticable to the user, since the only
13662
	time it's invalid is at the moment the cache is being loaded)
13663
13664
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/ui.cc:
13665
	Ok, ok; if Aptitude::UI::Preview-Limit is set, preview screens will start with
13666
	a different limit from normal package trees.  Addresses another Michael bug.
13667
13668
	* /cvsroot/aptitude/aptitude/src/pkg_view.h, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/pkg_view.cc:
13669
	Package-view items can now listen for changes to a particular configuration
13670
	option; in particular, static items are modified when the configuration option
13671
	they were derived from is modified.  (fixes the "I changed the column layout
13672
	and nothing happened!" syndrome)
13673
13674
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc:
13675
	Static info widgets now re-columnify themselves whenever they are painted.
13676
	Should fix a lot of weird display quirks.
13677
13678
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13679
	Added support for a "header line".  Default is to display program name,
13680
	broken package count, download size, and disk usage.
13681
13682
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
13683
	The status line now does something more sensible when no package is selected
13684
	and the columnizers now do something more sensible when passed a NULL iterator.
13685
13686
	* /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc:
13687
	The column-parsing code can now sort of recognize \n..but use it at your own
13688
	risk as the columnifier doesn't recognize it (so odd effects will probably
13689
	happen)
13690
13691
	* /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
13692
	Fixed the status-line stuff so it actually honors the configuration option.
13693
	The status_columns stuff in pkg_columnizer.{cc,h} has been removed.
13694
13695
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h:
13696
	Added the new column types which will be used for the screen header.
13697
13698
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
13699
	pkg_ver_columnizer is now a subclass of pkg_columnizer.  This should make it
13700
	possible to make pkg_columnizer accept some extra format types for stuff that
13701
	can go in the "header" (like broken package count, etc) without needing to
13702
	duplicate code.  (in fact, I bet some duplicated code can be removed now, but
13703
	I'll need to think about that)
13704
13705
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
13706
	The dependency screen is now also a pkg_view.
13707
13708
	* /cvsroot/aptitude/aptitude/src/apt_info_tree.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
13709
	The info screen and dependency screen are now generated as pkg_views with
13710
	the description area and stuff.
13711
13712
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_view.cc, /cvsroot/aptitude/aptitude/src/pkg_view.h, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
13713
	  The Grand View Unification begins:
13714
	  pkg_views now, instead of specifically having trees placed, can have any
13715
	widget plugged into their "main widget" slot.  This means that the same
13716
	configuration will work for multiple screens, and I don't have to write in
13717
	stuff for ("info screen", "dep screen", ...) and make that work with the
13718
	signal stuff.
13719
13720
2001-06-16  Daniel Burrows  <daniel@torrent>
13721
13722
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13723
	  The preview is now generated as a package view, so it has a description area
13724
	and stuff.  (hacky, yuck)
13725
13726
	* /cvsroot/aptitude/aptitude/src/generic/matchers.cc:
13727
	  Preliminary support for matching on origin and archive.  This is a little
13728
	dicey and should be fixed (eg, it does the Wrong Thing if a version is
13729
	available from multiple origins and archives)
13730
13731
2001-06-15  Daniel Burrows  <daniel@torrent>
13732
13733
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
13734
	Bump version numbers to 0.1.8
13735
13736
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
13737
	Auto-Install is now on by default
13738
13739
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
13740
	Swapped the top-level labels for obsolete and virtual packages, since they
13741
	somehow ended up being reversed.
13742
13743
2001-06-14  Daniel Burrows  <daniel@torrent>
13744
13745
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h, /cvsroot/aptitude/aptitude/src/generic/aptitudepolicy.cc, /cvsroot/aptitude/aptitude/src/generic/aptitudepolicy.h:
13746
	Copyright notices (bleah)
13747
13748
	* /cvsroot/aptitude/aptitude/src/load_grouppolicy.cc:
13749
	Priority grouping policies no longer crash if they are at the end of a stack
13750
13751
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
13752
	  Priority groups are now displayed as "Priority (whatever)", and they are
13753
	sorted so that Required priority comes before Important.
13754
13755
	* /cvsroot/aptitude/aptitude/src/generic/apt.h, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.cc:
13756
	Added a quite nasty hack to force certain trees (eg,
13757
	priorities and installation modes) to be sorted in a particular
13758
	non-alphabetial order.
13759
13760
	* /cvsroot/aptitude/aptitude/src/download.cc:
13761
	  The log is now sorted (yay!)
13762
13763
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/apt_options.h, /cvsroot/aptitude/aptitude/src/ui.cc:
13764
	  Added Recommends and Suggests handling to the in-program options, and split
13765
	dependency-handling into a separate options dialog.
13766
13767
	* /cvsroot/aptitude/aptitude/src/generic/aptitudepolicy.cc, /cvsroot/aptitude/aptitude/src/generic/aptitudepolicy.h:
13768
	New file.
13769
13770
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptitudepolicy.cc, /cvsroot/aptitude/aptitude/src/generic/aptitudepolicy.h, /cvsroot/aptitude/aptitude/src/generic/Makefile.am:
13771
	  Recommends and Suggests can now be like dependencies, at least for an
13772
	initial package installation.  (although libapt seems to be broken wrt ORs)
13773
13774
	  Also, exactly the following dependencies will be colored red if they are
13775
	not met: critical dependencies, recommends, and suggests.  (previously only
13776
	important ones were)
13777
13778
2001-06-13  Daniel Burrows  <daniel@torrent>
13779
13780
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/download.cc:
13781
	  aptitude can now do an autoclean operation after updating its package lists..
13782
	in fact, this is now the default behavior.
13783
13784
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13785
	  Added autoclean capabilities and made both clean and autoclean display
13786
	a message during and after the process.
13787
13788
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/load_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.h:
13789
	Packages can now be sorted by priority
13790
13791
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/load_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h:
13792
	It is now possible to group packages by priority
13793
13794
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
13795
	Make it painful to mark an essential package for removal.  There should still
13796
	be a pre-install-run check as well.
13797
13798
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
13799
	Added a stock string dialog
13800
13801
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/generic/matchers.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc:
13802
	  Added a matcher for essential packages and a line in the info screen for
13803
	them; also fixed a nasty little crash in the matching code (I wasn't checking
13804
	the return value of parse_atom).  This ought to be backported to the stable
13805
	tree if I release anything more from that branch..
13806
13807
	* /cvsroot/aptitude/aptitude/README:
13808
	It's not the most brilliant piece of documentation, but there is now
13809
	a note about Aptitude::Log in the README.
13810
13811
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
13812
	Fixed colorization of reinstalled packages/versions
13813
13814
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc:
13815
	Don't list reinstalled packages as broken (reinstalled upgradable packages are
13816
	still screwy)
13817
13818
	* /cvsroot/aptitude/aptitude/autogen.sh:
13819
	Don't use the 2.50 autoconf, it breaks gettext
13820
13821
	* /cvsroot/aptitude/aptitude/autogen.sh, /cvsroot/aptitude/aptitude/src/ui.cc:
13822
	[unstable] Added code to prevent the user from doing something
13823
	inconsistent
13824
13825
	* /cvsroot/aptitude/aptitude/src/dep_item.cc:
13826
	Oops, I forgot that GlobOr needs to modify the DepIterator (d'oh) -- fix things
13827
	so we don't go into an infinite loop when generating a dependency
13828
	tree.
13829
13830
2001-06-08  Daniel Burrows  <daniel@torrent>
13831
13832
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
13833
	Bump version to 0.0.8.7.1
13834
13835
	* /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/po/de.po:
13836
	Oops, pkg_action_tree should be calling up to pkg_tree,
13837
	not apt_tree.  Fixed, thanks again to Michal Politowski.
13838
13839
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc:
13840
	Try to do something slightly more sensible in the preview screen
13841
	when auto-upgrade is off: packages are displayed as held instead
13842
	of broken-and-held.
13843
13844
2001-06-07  Daniel Burrows  <daniel@torrent>
13845
13846
	* /cvsroot/aptitude/aptitude/src/apt_info_tree.h, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/pkg_view.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
13847
	  Package and version iterators are now consistently passed by reference
13848
	rather than by value.
13849
13850
2001-06-05  Daniel Burrows  <daniel@torrent>
13851
13852
	* /cvsroot/aptitude/aptitude/src/mine/Makefile.am:
13853
	Oops, make sure mine.txt is distributed..
13854
13855
	* /cvsroot/aptitude/aptitude/NEWS: Doh, the NEWS file was messed up
13856
13857
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
13858
	Bump version to 0.1.7
13859
13860
	* /cvsroot/aptitude/aptitude/po/POTFILES.in:
13861
	Remove references to the now-removed apt_tree file
13862
13863
	* /cvsroot/aptitude/aptitude/src/apt_options.cc:
13864
	Add an end-marker to the table for package selection options,
13865
	so we don't crash.  (oops)
13866
13867
	* /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.h, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc:
13868
	  Merged with stable branch through 0.0.8.7
13869
13870
	* /cvsroot/aptitude/aptitude/help.txt:
13871
	Added information about scrolling the extended description (with a/z)
13872
	and a preamble about navigating the help screen to help.txt
13873
13874
2001-06-04  Daniel Burrows  <daniel@torrent>
13875
13876
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
13877
	Bumped the version number to 0.0.8.7
13878
13879
	* /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc:
13880
	Fixed up the check-for-broken-packages code.  I *think* it works now.
13881
13882
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.h:
13883
	Added some hacks to try to warn the user if some packages were
13884
	automatically modified before doing an install run
13885
13886
2001-05-25  Daniel Burrows  <daniel@torrent>
13887
13888
	* /cvsroot/aptitude/aptitude/autogen.sh:
13889
	Run aclocal before doing anything else, so autoheader doesn't bomb (ew)
13890
13891
2001-05-18  Daniel Burrows  <daniel@torrent>
13892
13893
	* /cvsroot/aptitude/aptitude/src/ui.cc:
13894
	  Added a little popup message that appears while the cache is being reloaded
13895
	and the package tree is being build.
13896
	  The reason is simple: there is a delay after all operations with a progress
13897
	bar end, due probably to the time spent building the tree (yes, I need to
13898
	optimize this, but this hack will keep people from thinking things aren't
13899
	working for now.  I hope)
13900
13901
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h:
13902
	  Added another signal, cache_reload_failed, so that users of apt.cc can
13903
	hook into all exits from apt_reload_cache().
13904
13905
2001-05-16  Daniel Burrows  <daniel@torrent>
13906
13907
	* /cvsroot/aptitude/aptitude/po/POTFILES.in: Updated POTFILES.in
13908
13909
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
13910
	  Edit-lines are now white-on-black by default.  (makes the dialogs look more
13911
	logical IMO)
13912
13913
2001-05-15  Daniel Burrows  <daniel@torrent>
13914
13915
	* /cvsroot/aptitude/aptitude/src/mine/cmine.cc:
13916
	The mine-board no longer explicitly destroys itself (this lets the
13917
	kill-a-widget logic work right.)
13918
	FIXME: shouldn't we handle destroyed widgets properly anyway?
13919
13920
	* /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
13921
	Fix things so that modifying the package display format actually works:
13922
	fixed the name of the config options, and connected signals for
13923
	when they got modified
13924
13925
	* /cvsroot/aptitude/aptitude/src/apt_config_widgets.cc:
13926
	Oops.  When making an apt_string_widget, the default value should be used
13927
	as the default value, not as the prompt.
13928
13929
	* /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/apt_options.h, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/ui.cc:
13930
	Added a bunch more options and stuff to the options dialogs.  (this will
13931
	probably make several deficiencies much more obvious; need to work on them..)
13932
13933
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/apt_options.cc:
13934
	Don't document Fix-Broken, it doesn't have any effect in the beta version
13935
13936
	* /cvsroot/aptitude/aptitude/README:
13937
	Correct the documented default value of Auto-Fix-Broken
13938
13939
	* /cvsroot/aptitude/aptitude/src/apt_options.cc:
13940
	  Restructured options around static tables.  I hope this makes it easier to
13941
	add new options to the dialog and make completely new options dialogs.
13942
	(crosses fingers)
13943
13944
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
13945
	Don't crash when the user tries to repeat a search before doing an initial
13946
	search
13947
13948
	* /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc:
13949
	Fix a bug that's been around for ages, where the description of the most
13950
	recent package version was used, even if you were viewing an older
13951
	version.
13952
13953
2001-05-14  Daniel Burrows  <daniel@torrent>
13954
13955
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
13956
	  Actually make use of the aforementioned ability.  This means, in practical
13957
	terms, that if you start playing minesweeper, switch back to the package view,
13958
	pop up a package-info screen, and press "q", you'll go back where you came from
13959
	instead of seeing Minesweeper again.
13960
13961
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
13962
	  Added the ability for multiplexes to add widgets after particular other
13963
	widgets.
13964
13965
	* /cvsroot/aptitude/aptitude/src/mine/cmine.cc:
13966
	  Fixed a bunch of little bugs:
13967
	    - The "new custom game" dialog now goes away when you tell it to
13968
	    - "height" -> "width" in entry-error message
13969
	    - Enter (well, Confirm) now works as a binding for Ok in new-game dialogs
13970
	    - Default to easy in the new-game dialog
13971
13972
	* /cvsroot/aptitude/aptitude/src/mine/cmine.cc:
13973
	Oops, actually display the new-game and custom-difficulty
13974
	dialogs (this is waaayy too hard, need to make it easier someday)
13975
13976
	* /cvsroot/aptitude/aptitude/src/mine/cmine.cc, /cvsroot/aptitude/aptitude/src/mine/cmine.h:
13977
	Fix some small bugs: use the lower-left corner in the lower-left, and
13978
	actually ask for focus.  (both Minesweeper-related)  Also purged
13979
	the cruft with non-Minesweeper bindings being defined in the
13980
	Minesweeper code.
13981
13982
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
13983
	The timeout-checking routine now calls vscreen_tryupdate
13984
13985
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/mine/cmine.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
13986
	  Minesweeper compiles and links now, and has its own menu option.
13987
	  Be afraid.  Be very afraid.
13988
13989
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/mine/board.cc, /cvsroot/aptitude/aptitude/src/mine/board.h, /cvsroot/aptitude/aptitude/src/mine/cmine.cc, /cvsroot/aptitude/aptitude/src/mine/cmine.h, /cvsroot/aptitude/aptitude/src/mine/Makefile.am, /cvsroot/aptitude/aptitude/src/mine/mine-help.txt, /cvsroot/aptitude/aptitude/src/ui.cc:
13990
	  Merged the Minesweeper code.  Doesn't quite compile+link and isn't very
13991
	pretty, but it should work soon.
13992
13993
	* /cvsroot/aptitude/aptitude/src/mine/board.cc, /cvsroot/aptitude/aptitude/src/mine/board.h, /cvsroot/aptitude/aptitude/src/mine/cmine.cc, /cvsroot/aptitude/aptitude/src/mine/cmine.h, /cvsroot/aptitude/aptitude/src/mine/Makefile.am, /cvsroot/aptitude/aptitude/src/mine/mine-help.txt:
13994
	New file.
13995
13996
2001-05-06  Daniel Burrows  <daniel@torrent>
13997
13998
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
13999
	Added a FIXME in vs_table for the Incredible Non-Shrinking Widget problem,
14000
	just above vs_table::layout_me.
14001
14002
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc:
14003
	Work around problems with the table code, so the help dialog
14004
	has a visible scrollbar.
14005
14006
2001-05-04  Daniel Burrows  <daniel@torrent>
14007
14008
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14009
	  Bump version to 0.1.6
14010
14011
	* /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
14012
	  Merged with stable through 0.0.8.6.
14013
14014
	* /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
14015
	Fixed a typo in NEWS
14016
14017
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/README:
14018
	Bump the version to 0.0.8.6
14019
14020
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h:
14021
	  I forgot to backport the fixes to aptcache.cc (oops); this does that, and
14022
	also disentangles a hairy ?: construct in apt_tree.cc.
14023
14024
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
14025
	Version-items now behave correctly if purged (bug #96228)
14026
14027
2001-05-03  Daniel Burrows  <daniel@torrent>
14028
14029
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14030
	  The off-by-one fix had its own problems, caused by trying to figure out the
14031
	best location for the top of the screen when the screen size was "zero" (ie,
14032
	before the widget was realized)  This doesn't make any sense anyway, so
14033
	download_list::sync_top now returns immediately if this is the case.
14034
14035
2001-05-02  Daniel Burrows  <daniel@torrent>
14036
14037
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14038
	  Tagged a whole bunch more strings as translatable.  Also, the last commit
14039
	included a lot of changes which should have been listed "merge with the
14040
	stable branch through 0.0.8.5", but weren't.  (oops)
14041
14042
	* /cvsroot/aptitude/aptitude/ABOUT-NLS, /cvsroot/aptitude/aptitude/intl/bindtextdom.c, /cvsroot/aptitude/aptitude/intl/cat-compat.c, /cvsroot/aptitude/aptitude/intl/ChangeLog, /cvsroot/aptitude/aptitude/intl/config.charset, /cvsroot/aptitude/aptitude/intl/dcgettext.c, /cvsroot/aptitude/aptitude/intl/dcigettext.c, /cvsroot/aptitude/aptitude/intl/dcngettext.c, /cvsroot/aptitude/aptitude/intl/dgettext.c, /cvsroot/aptitude/aptitude/intl/dngettext.c, /cvsroot/aptitude/aptitude/intl/explodename.c, /cvsroot/aptitude/aptitude/intl/finddomain.c, /cvsroot/aptitude/aptitude/intl/gettext.c, /cvsroot/aptitude/aptitude/intl/gettext.h, /cvsroot/aptitude/aptitude/intl/gettextP.h, /cvsroot/aptitude/aptitude/intl/hash-string.h, /cvsroot/aptitude/aptitude/intl/intl-compat.c, /cvsroot/aptitude/aptitude/intl/l10nflist.c, /cvsroot/aptitude/aptitude/intl/libgettext.h, /cvsroot/aptitude/aptitude/intl/libgnuintl.h, /cvsroot/aptitude/aptitude/intl/loadinfo.h, /cvsroot/aptitude/aptitude/intl/loadmsgcat.c, /cvsroot/aptitude/aptitude/intl/localcharset.c, /cvsroot/aptitude/aptitude/intl/localealias.c, /cvsroot/aptitude/aptitude/intl/Makefile.in, /cvsroot/aptitude/aptitude/intl/ngettext.c, /cvsroot/aptitude/aptitude/intl/plural.y, /cvsroot/aptitude/aptitude/intl/po2tbl.sed.in, /cvsroot/aptitude/aptitude/intl/ref-add.sin, /cvsroot/aptitude/aptitude/intl/ref-del.sin, /cvsroot/aptitude/aptitude/intl/textdomain.c, /cvsroot/aptitude/aptitude/intl/VERSION, /cvsroot/aptitude/aptitude/intl/xopen-msg.sed, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/ChangeLog, /cvsroot/aptitude/aptitude/po/Makefile.in.in, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
14043
	Create ~/.aptitude if it doesn't exist when saving options
14044
14045
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14046
	Bump version to 0.0.8.5
14047
14048
	* /cvsroot/aptitude/aptitude/intl/cat-compat.c:
14049
	Oops, one removed file missed me..
14050
14051
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
14052
	  Changed "purge" to "purged" when describing a package's current state; this
14053
	is probably more correct, and makes life better for translators.
14054
14055
	* /cvsroot/aptitude/aptitude/ABOUT-NLS, /cvsroot/aptitude/aptitude/intl/bindtextdom.c, /cvsroot/aptitude/aptitude/intl/ChangeLog, /cvsroot/aptitude/aptitude/intl/config.charset, /cvsroot/aptitude/aptitude/intl/dcgettext.c, /cvsroot/aptitude/aptitude/intl/dcigettext.c, /cvsroot/aptitude/aptitude/intl/dcngettext.c, /cvsroot/aptitude/aptitude/intl/dgettext.c, /cvsroot/aptitude/aptitude/intl/dngettext.c, /cvsroot/aptitude/aptitude/intl/explodename.c, /cvsroot/aptitude/aptitude/intl/finddomain.c, /cvsroot/aptitude/aptitude/intl/gettext.c, /cvsroot/aptitude/aptitude/intl/gettext.h, /cvsroot/aptitude/aptitude/intl/gettextP.h, /cvsroot/aptitude/aptitude/intl/hash-string.h, /cvsroot/aptitude/aptitude/intl/intl-compat.c, /cvsroot/aptitude/aptitude/intl/l10nflist.c, /cvsroot/aptitude/aptitude/intl/libgettext.h, /cvsroot/aptitude/aptitude/intl/libgnuintl.h, /cvsroot/aptitude/aptitude/intl/loadinfo.h, /cvsroot/aptitude/aptitude/intl/loadmsgcat.c, /cvsroot/aptitude/aptitude/intl/localcharset.c, /cvsroot/aptitude/aptitude/intl/localealias.c, /cvsroot/aptitude/aptitude/intl/Makefile.in, /cvsroot/aptitude/aptitude/intl/ngettext.c, /cvsroot/aptitude/aptitude/intl/plural.y, /cvsroot/aptitude/aptitude/intl/po2tbl.sed.in, /cvsroot/aptitude/aptitude/intl/ref-add.sin, /cvsroot/aptitude/aptitude/intl/ref-del.sin, /cvsroot/aptitude/aptitude/intl/textdomain.c, /cvsroot/aptitude/aptitude/intl/VERSION, /cvsroot/aptitude/aptitude/intl/xopen-msg.sed, /cvsroot/aptitude/aptitude/po/ChangeLog, /cvsroot/aptitude/aptitude/po/Makefile.in.in:
14056
	  Re-ran gettext and merged the results into CVS.  This should clear up
14057
	bug #95749, or your money back.  (I was using an old Makefile.in.in with a new
14058
	gettext, not cool..I'm just lucky nothing broke in a worse way.  Or maybe not,
14059
	then I would have noticed..)
14060
14061
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14062
	This one's for the translators..
14063
14064
	The menus are now fully marked for translation, and translations should take
14065
	effect unless I screwed up.  And it only took a huge gross hack to do it :)
14066
14067
	* /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/src/ui.cc:
14068
	  Allow the README to be viewed from the program.  (Help/User's Manual)
14069
	  Also, COPYING is now installed into HELPDIR.  (why this wasn't true before
14070
	I don't know)
14071
14072
2001-05-01  Daniel Burrows  <daniel@torrent>
14073
14074
	* /cvsroot/aptitude/aptitude/src/ui.cc: Put the Help keybinding back
14075
14076
	* /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.cc:
14077
	  Correctly display C-_ as C-_, not C-^?.  (more special casing, ewwwww)
14078
14079
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc:
14080
	Remove some spurious cruft in the file-pager
14081
14082
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14083
	Fix a off-by-one error that caused the current download to be displayed off
14084
	the bottom of the screen.  (this will sometimes cause a break at
14085
	the bottom of the display, but that's better than not being able
14086
	to see that line at all)
14087
14088
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14089
	Display the menu descriptions with a bold version of the status color
14090
14091
2001-04-30  Daniel Burrows  <daniel@torrent>
14092
14093
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
14094
	  In addition to a first backup of the cache, I now back it up AFTER doing
14095
	any pre-marking of upgradable packages and so on.  I think this fixes the
14096
	"I hit undo and all my packages went into the HOLD state" bug.  (silly me,
14097
	I upgraded and lost my reproducible test case..)
14098
14099
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14100
	Re-enable undo, although it unfortunately doesn't have the mark/revert behavior
14101
	any more.
14102
14103
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14104
	File menu is now named Actions -- it's more logical.
14105
14106
2001-04-28  Daniel Burrows  <daniel@torrent>
14107
14108
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14109
	  Moved to version 0.1.5
14110
14111
	* /cvsroot/aptitude/aptitude/help.txt, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14112
	Sync up with the stable branch through 0.0.8.4
14113
14114
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_view.cc:
14115
	  You can now, with one easy keystroke, scroll any description items downwards
14116
	from a tree.  Defaults are "a" for up and "z" for down (yes, this sucks)
14117
14118
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc:
14119
	  Added (very slightly hacky) code to allow the description-widget to be
14120
	focussed and to be scrolled using that focus.  Obviously keybindings for this
14121
	in the tree are eventually preferable, but having this available allows other
14122
	ideas as well..
14123
14124
	* /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
14125
	Oops, added an item I forgot to the changelog
14126
14127
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/help.txt, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14128
	Prepare to release 0.0.8.4
14129
14130
	* /cvsroot/aptitude/aptitude/help.txt, /cvsroot/aptitude/aptitude/README:
14131
	Add badly-written explanations of the state/action flags (bug #93216)
14132
14133
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
14134
	Use the compiled matcher to do searches. (this should have been happening all
14135
	along, oops)  This means that (a) searches ought to be faster, and (b) we can
14136
	handle bad search patterns gracefully.  (bug #95455)
14137
14138
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
14139
	  Don't crash when the user tries to search beginning at the end of the list.
14140
14141
2001-04-20  Daniel Burrows  <daniel@torrent>
14142
14143
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc:
14144
	Ok, make the word-wrapping stuff not prepend gratuitous spaces to preformatted
14145
	lines.  I think it's working correctly now.  (crosses fingers)
14146
14147
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc:
14148
	Don't runtogether words which are around linebreaks in the Description
14149
14150
2001-04-19  Daniel Burrows  <daniel@torrent>
14151
14152
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc:
14153
	  Ok, rewrite the wordwrapper so that it, well, works.  Or at least sort
14154
	of works.  (still needs a little work; eg, see what happens to the at
14155
	description)
14156
14157
2001-04-16  Daniel Burrows  <daniel@torrent>
14158
14159
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc, /cvsroot/aptitude/aptitude/src/pkg_view.h, /cvsroot/aptitude/aptitude/src/ui.cc:
14160
	Add the ability for package views to have different backgrounds,
14161
	and make the default description-view thingy have a status-line style
14162
14163
2001-04-15  Daniel Burrows  <daniel@torrent>
14164
14165
	* /cvsroot/aptitude/aptitude/help.txt, /cvsroot/aptitude/aptitude/README:
14166
	Add info on 'D' to the documentation
14167
14168
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
14169
	Activate the show/hide feature (using D as a default binding, eww)
14170
14171
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc, /cvsroot/aptitude/aptitude/src/pkg_view.h, /cvsroot/aptitude/aptitude/src/ui.cc:
14172
	  Added a description widget.  Yes, the implementation is a bit of a hack.
14173
	No, at this point, I don't care; I still want to implement the all-powerful
14174
	ber-info-widget, but this is quite a bit of what people want.
14175
14176
	* /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc:
14177
	  If no explicit source package is known, assume it's the same as the package
14178
	name.  I believe this should work.  Maybe.  (affects pkg_info_screen)
14179
14180
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc, /cvsroot/aptitude/aptitude/src/pkg_view.h, /cvsroot/aptitude/aptitude/src/ui.cc:
14181
	  Added stuff for showing/hiding package views on demand.  (needs a lot more
14182
	work, probably a new package view, to be useful at all)
14183
14184
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h:
14185
	Don't write out extended state info unless something actually changed
14186
	(to do this, I just use a dirty flag in the cache wrapper)
14187
14188
2001-04-14  Daniel Burrows  <daniel@torrent>
14189
14190
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14191
	Save the extended selection info when we exit, too
14192
14193
2001-04-10  Daniel Burrows  <daniel@torrent>
14194
14195
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14196
	Bump versions to 0.1.4
14197
14198
	* /cvsroot/aptitude/aptitude/aptitude.gl.1, /cvsroot/aptitude/aptitude/help-gl.txt, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
14199
	  Merged with HEAD through 0.0.8.3.
14200
14201
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
14202
	Actually hide displayed menu descriptions when the user stops using the menu
14203
14204
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc:
14205
	It really isn't that hard to hide menus in the place where they should be
14206
	hidden
14207
14208
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
14209
	  Actually use the menu-item-description facilities that I just introduced.
14210
	  Not all the descriptions are especially good, and instances of
14211
	add_main_widget are mostly lacking descriptions entirely..
14212
14213
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
14214
	  Added facilities to support a useful textual description of menu items.
14215
	  vs_menu now emits a signal whenever one of its menu-items is selected; this
14216
	can be pretty easily bound to a function that updates a text display (see
14217
	testvscreen.cc)
14218
14219
2001-04-09  Daniel Burrows  <daniel@torrent>
14220
14221
	* /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po:
14222
	Back out the nasty gettext hacks for now
14223
14224
2001-04-08  Daniel Burrows  <daniel@torrent>
14225
14226
	* /cvsroot/aptitude/aptitude/src/download.cc:
14227
	Make the 'saving status' progress bar go away when updating the lists as well.
14228
	Does this suggest that Done should be called by save_selection_list?
14229
14230
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/vs_progress.cc:
14231
	Make the progress bar hide itself while the download is proceeding. (and
14232
	whenever an operation is done, as a matter of fact)
14233
14234
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download.h, /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
14235
	Finally did the work (and one minor hack) needed to make the 'cancel' button
14236
	functional.  Yeah\!
14237
14238
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14239
	Added a simple download-progress-bar.
14240
14241
2001-04-06  Daniel Burrows  <daniel@torrent>
14242
14243
	* /cvsroot/aptitude/aptitude/configure.in:
14244
	Oops, hack was broken.  Fixed.  (use /bin/true, not '')
14245
14246
	* /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
14247
	See gettext..see gettext modify its files randomly..
14248
14249
	* /cvsroot/aptitude/aptitude/configure.in:
14250
	Try to hack around evilness in gettext.m4
14251
14252
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc:
14253
	Fix the multiplexer so that if the user chooses not to switch between
14254
	views, it acts like a stack.  (just choose to move back if possible when
14255
	deleting a view)
14256
14257
	* /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/pl.po:
14258
	Usual mysterious line readjustments..
14259
14260
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14261
	Update build files/documentation for 0.0.8.3
14262
14263
	* /cvsroot/aptitude/aptitude/po/gl.po:
14264
	Update the gl pofile to actually use the new help-gl.txt
14265
14266
	* /cvsroot/aptitude/aptitude/aptitude.gl.1, /cvsroot/aptitude/aptitude/help-gl.txt, /cvsroot/aptitude/aptitude/Makefile.am:
14267
	Add Galacian manpage and help file
14268
14269
	* /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.h:
14270
	Fix Debian Bug #90909, reported by Robert Bihlmeyer (reproducible segfault).
14271
	I don't know why pkg_action_tree was overriding restore() to be a nullop, but
14272
	it doesn't any more.
14273
14274
2001-03-23  Daniel Burrows  <daniel@torrent>
14275
14276
	* /cvsroot/aptitude/aptitude/NEWS: Tweak the NEWS message
14277
14278
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/README:
14279
	Get ready to release 0.0.8.2, with a fix for series 0.3 apts
14280
14281
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/README:
14282
	  Pull things into line for aptitude 0.1.3.
14283
14284
	* /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
14285
	Merge with the stable branch up to 0.0.8.1
14286
14287
	* /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc, /cvsroot/aptitude/aptitude/aptitude.fr.1, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/help-fr.txt, /cvsroot/aptitude/aptitude/help-pl.txt, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/matchers.cc, /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/vscreen/curses++.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
14288
	  Merge with the stable version through 0.0.8.0.
14289
14290
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
14291
	Fix a compile problem with apt 0.4
14292
14293
2001-03-18  Daniel Burrows  <daniel@torrent>
14294
14295
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/README:
14296
	What the heck, release a minor version update. README, NEWS, etc all bumped.
14297
14298
	* /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/gl.po, /cvsroot/aptitude/aptitude/po/ja.po:
14299
	More pofiles altering their line indexes (presumably to keep up with the code)
14300
14301
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
14302
	  We were storing packages without available versions in the apt cache, which
14303
	occasionally was causing annoying oddness (eg, when a package was named in a
14304
	dependency before being installed into the archive, it wouldn't show up as
14305
	"new" when it was finally installed)
14306
14307
2001-03-17  Daniel Burrows  <daniel@torrent>
14308
14309
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14310
	Update documentation and configure for 0.0.8.0
14311
14312
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
14313
	Installing a new package by selecting a particular version, then undoing, no
14314
	longer causes a segfault.
14315
14316
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
14317
	If we install a package, only color the particular version that is being
14318
	installed.
14319
14320
	* /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
14321
	  Added support for installing a particular version of a package (wooo!)
14322
14323
	  It doesn't attempt to be sticky yet, but it's a start.
14324
14325
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/po/gl.po:
14326
	Add Galician translation.  I didn't even know Galician was a language!
14327
14328
2001-03-07  Daniel Burrows  <daniel@torrent>
14329
14330
	* /cvsroot/aptitude/aptitude/configure.in:
14331
	Oops.  We should AC_MSG_ERROR if curses isn't found..
14332
14333
	* /cvsroot/aptitude/aptitude/src/load_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.h:
14334
	  Sorting policies can now be reversed.  The syntax in the loading code is to
14335
	put a "~" in front of the policy name.
14336
14337
	* /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
14338
	  Made the new sorting mechanisms functional.  Woohoo!
14339
	  Just hooked it into pkg_tree and thwapped the problems that arose.
14340
14341
	* /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h:
14342
	  Cleaned up and modified a lot of things dealing with sorting.  There's
14343
	too much to list explicitly, but here are the important pieces:
14344
	  * cmp_policy is gone.  It was the Wrong Way to do things (virtual methods
14345
	  shouldn't work in that context; why they did work is a mystery to me..)
14346
	  * vs_subtree doesn't treat the optional second parameter nearly as specially
14347
	  (it's just the default sort method)
14348
	  * vs_subtree::sort is now templated.
14349
	  * the wrapper around pkg_sortpolicies for the sake of vs_subtree::sort is
14350
	  now a very simple class -- in particular it doesn't delete its "contents"
14351
	  when it's destroyed.  (otherwise, if you think about it, I'd have to do
14352
	  refcounting and..ugh..)
14353
14354
2001-03-06  Daniel Burrows  <daniel@torrent>
14355
14356
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h:
14357
	Move cmp_policy to vs_treeitem.h (good idea??) and give it an empty virtual
14358
	destructor, just in case.
14359
14360
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/load_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/load_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/load_sortpolicy.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
14361
	  Added some preliminary stuff to "sort of" make sorting work.  Still needs
14362
	some more work and thought.
14363
14364
	* /cvsroot/aptitude/aptitude/src/load_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/load_sortpolicy.h:
14365
	New file.
14366
14367
2001-03-04  Daniel Burrows  <daniel@torrent>
14368
14369
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14370
	Bump version to 0.0.7.19
14371
14372
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
14373
	Oops, really make ReSearch have two bindings
14374
14375
	* /cvsroot/aptitude/aptitude/src/generic/matchers.cc:
14376
	Don't complain about blank limits
14377
14378
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc:
14379
	Rewrote some of the state-deducing stuff to be more legible
14380
14381
	* /cvsroot/aptitude/aptitude/Makefile.am:
14382
	Oops, add help-pl.txt to the installed stuff
14383
14384
	* /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
14385
	Pofiles magically changed again
14386
14387
	* /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/load_config.h, /cvsroot/aptitude/aptitude/src/load_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/load_grouppolicy.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/ui.cc:
14388
	  Moved the group-policy parsing stuff to a separate file, for reasons of
14389
	Hygeine.  (also because I'm about to write the sort-policy stuff, which would
14390
	make load_config get way too big if I had kept both in it)
14391
14392
	* /cvsroot/aptitude/aptitude/src/load_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/load_grouppolicy.h:
14393
	New file.
14394
14395
2001-03-03  Daniel Burrows  <daniel@torrent>
14396
14397
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/help-pl.txt, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/pl.po, /cvsroot/aptitude/aptitude/README:
14398
	  Updated documentation and build files for 0.0.7.18, and merged in the
14399
	Polish translation.
14400
14401
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/generic/matchers.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/vscreen/curses++.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
14402
	Update a bunch of copyright lines
14403
14404
	* /cvsroot/aptitude/aptitude/src/vscreen/curses++.cc:
14405
	  Fix the 'accented chars' bug the Right Way[tm], by removing the
14406
	sign-extension bug I stupidly allowed to seep in.
14407
14408
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
14409
	Ok, ok, vi fans can have their 'n'=='search again' binding.. *grumble*
14410
	(this fixes Debian bug #85076)
14411
14412
	* /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
14413
	The pofiles modified themselves for no apparent reason
14414
14415
	* /cvsroot/aptitude/aptitude/src/generic/matchers.cc:
14416
	When encountering a double-tilde, don't keep parsing it over and over and
14417
	over and over and over....  (fixes another one of Michal's bugs)
14418
14419
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
14420
	  Fix some weird stuff in the way I was setting the limit of a pkg_tree
14421
	(for some reason, the code was testing for blank strings and possibly trying
14422
	to parse an invalid limit multiple times..)
14423
14424
	* /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc:
14425
	  Don't crash if we get "%%" in a column-definition.
14426
14427
	* /cvsroot/aptitude/aptitude/src/generic/matchers.cc:
14428
	Oops.  It was possible for parse_atom to return by falling off the closing
14429
	brace.  This caused some "interesting" failure modes, most of which involved
14430
	crashing.  Fixed.  (how'd this get by -Wall? oh well..)
14431
14432
	* /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h:
14433
	Fixed some problems and potential problems due to overeager translations
14434
	(package descriptions were being translated, and the default argument to a
14435
	constructor was being translated with N_, which isn't really right..that can't
14436
	be handled correctly at all, in fact, so I just rewrote it with two
14437
	forms)
14438
14439
	* /cvsroot/aptitude/aptitude/src/vscreen/curses++.cc:
14440
	Apply patch from Michal Politowski to (maybe) work around Curses problem
14441
	with displaying accented characters.
14442
14443
2001-02-27  Daniel Burrows  <daniel@torrent>
14444
14445
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
14446
	  Only display the 'continue/cancel' buttons if the user didn't cancel the
14447
	download. (ie, if they have a choice)
14448
14449
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14450
	  Used the new vs_util abilities to add "continue" and "cancel" buttons to the
14451
	"download complete" thingy (some redesign is needed for them to actually work
14452
	:( )
14453
14454
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
14455
	You can now use a third form of the dialog convenience functions to twiddle
14456
	the button label(s).
14457
14458
2001-02-26  Daniel Burrows  <daniel@torrent>
14459
14460
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14461
	  The download-list now updates its display on every call to Pulse().  This
14462
	is what was causing the perplexingly long pauses between updates. (doh!)
14463
14464
2001-02-24  Daniel Burrows  <daniel@torrent>
14465
14466
	* /cvsroot/aptitude/aptitude/src/generic/matchers.cc, /cvsroot/aptitude/aptitude/README:
14467
	Add a match type (~V) for versions.
14468
14469
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14470
	Version numbers bumped to 0.0.7.17.  This getting silly yet? :)
14471
14472
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/src/dep_item.cc:
14473
	Fixed a horribly stupid dependency-parsing bug..I swapped the "dependency
14474
	version" and "package version" arguments to CheckDep, causing all sorts of
14475
	breakage.  It'll be nice to have this fixed :P
14476
14477
	* /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/fr.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
14478
	Blah, all the pofiles got munged again..
14479
14480
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc:
14481
	Fix localization of help.txt (glad someone finally used it :P )
14482
14483
	* /cvsroot/aptitude/aptitude/Makefile.am: Oops, install help-fr.txt..
14484
14485
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14486
	  Tweak headers for 0.0.7.16
14487
14488
	* /cvsroot/aptitude/aptitude/src/load_config.cc:
14489
	More internationalization
14490
14491
	* /cvsroot/aptitude/aptitude/po/fr.po:
14492
	Make fr.po refer to help-fr.txt (which is what I think the intent was)
14493
14494
2001-02-23  Daniel Burrows  <daniel@torrent>
14495
14496
	* /cvsroot/aptitude/aptitude/aptitude.fr.1, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/help-fr.txt, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/po/fr.po:
14497
	  Added French translations from Martin Quinson <mquinson@ens-lyon.fr>
14498
	(Debian bug #86684)
14499
	  I'm not sure what to do with aptitude.fr.1 and help-fr.txt (the latter seems
14500
	like it won't work with his pofile unless I tweak it, which is fine)
14501
14502
	* /cvsroot/aptitude/aptitude/configure.in:
14503
	Add hack for brokenness in autoconf (yes, C++ has const and inline..surprise..)
14504
14505
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/fi.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
14506
	Added fi.po from Jaakko Kangasharju <ashar@iki.fi> (UNTESTED)
14507
14508
2001-02-22  Daniel Burrows  <daniel@torrent>
14509
14510
	* /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
14511
	Pofiles got munged by compiling..
14512
14513
	* /cvsroot/aptitude/aptitude/configure.in:
14514
	  Fix configure.in to really really never define const and inline to null
14515
	strings..
14516
14517
	* /cvsroot/aptitude/aptitude/po/POTFILES.in:
14518
	Oops, a removed file was left in POTFILES (pkg_grouppolicy_hash)
14519
14520
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/TODO:
14521
	Sync all the documentation and metafiles for 0.1.2
14522
14523
2001-02-21  Daniel Burrows  <daniel@torrent>
14524
14525
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14526
	Added a quick hack to allow static configuration of grouping policies in
14527
	apt.conf.  (this needs work but will be good enough for a new
14528
	beta release)
14529
14530
2001-02-19  Daniel Burrows  <daniel@torrent>
14531
14532
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14533
	Fixed what appears to be some sort of off-by-one error in sync_top (?)
14534
14535
2001-02-18  Daniel Burrows  <daniel@torrent>
14536
14537
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14538
	  Flipped topdir and subdir in the UI, thus bringing things in line with how
14539
	the stable tree does them.
14540
14541
	* /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h, /cvsroot/aptitude/aptitude/src/ui.cc:
14542
	  The section-grouper's behavior wrt passing packages through transparently is
14543
	now configurable in the code and in the grouping configuration (second
14544
	option "passthrough" or "nopassthrough")  This should slay the issues with
14545
	weird stuff happening because of the transparent-passthrough feature.  More or
14546
	less.
14547
14548
	* /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h:
14549
	  Ok, totally useless feature of the day..
14550
	  the "firstchar" grouping policy now generates a bunch of trees based on
14551
	the first character of the input.  If there's a great demand for it, I suppose
14552
	this could be spiffed up, but as far as I'm concerned the only point for this
14553
	is to give another test point for my parsing code.  I can't imagine anyone
14554
	actually uses this.
14555
14556
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
14557
	  Fixed the problem where the version of set_grouping which took a string
14558
	was causing problems..it seems that you have to cast it to the right type
14559
	of member pointer to resolve the overloading.  This leads to hairiness in
14560
	handle_char(), but I prefer that to the hairiness of _from_string
14561
14562
	* /cvsroot/aptitude/aptitude/src/load_config.cc:
14563
	Don't get confused when parsing multiple grouping policies in a row (there are
14564
	still some quirks after that's fixed, probably due to the pruning stuff; eg,
14565
	try 'section(topdir),status,section(subdir)'
14566
14567
	* /cvsroot/aptitude/aptitude/src/load_config.cc:
14568
	Remember to initialize the chain for mode grouping if it's NULL (this isn't the
14569
	best calling convention, but I don't think I can really do better)
14570
14571
	* /cvsroot/aptitude/aptitude/src/load_config.cc:
14572
	  It seems that starting a vector::size_type at the end of the vector and
14573
	decrementing it until it's less than 0 is a dumb idea.  I'm just giving in
14574
	and using reverse_iterators.  This fixes some crashes.
14575
14576
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/load_config.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
14577
	  Added a trivial hook to test the grouppolicy-parsing stuff (you can now
14578
	attempt to change a tree's policy with 'G' and watch aptitude crash)
14579
14580
	* /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
14581
	Updated some more copyright lines
14582
14583
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy_hash.h, /cvsroot/aptitude/aptitude/src/strhash.h:
14584
	  I believe that pkg_grouppolicy_hash is just cruft..I can't find any use for
14585
	it, at least.  Deleted it (also fixed some copyright dates that I ran across
14586
	while doing this..)
14587
14588
	* /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/strhash.h:
14589
	  Added the long-rumored grouping-policy parse code.
14590
	  I think it'll work!  Untested, however; I just got it compiling.
14591
14592
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14593
	  Added guards around a bunch of routines so we don't accidentally segfault
14594
	in edge cases.  (eg: "if(apt_cache_file) {...}")  This is similar to the
14595
	stuff that needed to be changed on the stable branch.
14596
14597
	* /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
14598
	  Sync with APTITUDE-00715 on HEAD.  This gets us a lot of code in apt_tree,
14599
	but also some good config-related stuff.
14600
14601
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h:
14602
	  Added keybindings for the download-list (up-arrow/down-arrow) that scroll
14603
	by a single line.
14604
14605
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14606
	Fixed an off-by-one error in download_list::pagedown
14607
14608
2001-02-17  Daniel Burrows  <daniel@torrent>
14609
14610
	* /cvsroot/aptitude/aptitude/src/download_list.h:
14611
	  Whee, I'm an idiot..
14612
14613
	  So it seems that I forgot to override focus_me() to return true in
14614
	download_list.  This is what was preventing keystrokes from registering
14615
	with the widget.  Fixed.  (of course, the issues with apt taking over the
14616
	flow of control mean that this control is very touchy.. :( )
14617
14618
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14619
	Remember to do vscreen_update(); vscreen_tryupdate() in download_list bindings
14620
	(ewwwwwwwwwwwww)
14621
14622
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h:
14623
	Added support (theoretically) for Home and End in the download-list
14624
14625
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14626
	Also page the download-list on 'up' and 'down'
14627
14628
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h:
14629
	  Several changes:
14630
	  - The download-list now properly handles layout messages (it calls sync_top,
14631
	  so it'll stick to the bottom if necessary)
14632
	  - download_list::pageup() and download_list::pagedown() do the Right Thing[tm]
14633
	  - download_summary() is now static
14634
	  - fixed an off-by-one error in sync_top (so we really jump to the bottom, not
14635
	  one line away from the bottom)
14636
14637
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h:
14638
	  The little "download complete" box that pops up now allows you to page up
14639
	and down.  Naturally, this has revealed a bunch of bugs with the paging..
14640
14641
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14642
	Heh, even if control got into download_list::handle_char, it wouldn't have
14643
	worked 'cause I was using the wrong keyname for Page Up.  Doh.
14644
14645
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h:
14646
	Handle cancellation of downloads (by destruction of the associated widget)
14647
14648
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14649
	Well, we should now twiddly the sticky_end thingy when certain keys are
14650
	pressed.  For some reason though, download_list::handle_char isn't working
14651
14652
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14653
	Doh, forgot to initialize sticky_end in download_list::download_list
14654
14655
2001-02-16  Daniel Burrows  <daniel@torrent>
14656
14657
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h:
14658
	  WOOHOOO!!!  (I had to say that)
14659
14660
	  The download-list now automatically scrolls as new items are added.
14661
	Scrolling back doesn't currently work, but people have rightly reported
14662
	this as a major annoyance in the current codebase, and having it fixed will
14663
	be excellent.
14664
14665
2001-02-05  Daniel Burrows  <daniel@torrent>
14666
14667
	* /cvsroot/aptitude/aptitude/src/download_list.cc:
14668
	  Fixed divide-by-zero problems when downloading (oops)
14669
14670
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h:
14671
	  Added the skeletal beginnings of a "sort policy" class, which I hope will
14672
	do for overall sorting what group policies did for grouping.  (and of course
14673
	I have to write configuration parsers for both of these..argh argh argh)
14674
14675
	* /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_sortpolicy.h:
14676
	New file.
14677
14678
2001-02-03  Daniel Burrows  <daniel@torrent>
14679
14680
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
14681
	  When a vs_tree's root is changed, it now tells any currently selected item
14682
	to unhighlight.  This is a nice and elegant (for a change) solution to the
14683
	bug that caused random package-info lines to be displayed after the user did
14684
	a download.
14685
14686
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
14687
	aptitudeDepCache::forget_new() now calls the cache_reloaded() signal.  Hack
14688
	or not?  You decide.  Anyway, this fixes the bug where after doing a "forget
14689
	new", the trees weren't updated to reflect it.
14690
14691
2001-02-01  Daniel Burrows  <daniel@torrent>
14692
14693
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14694
	Update various metafiles for 0.0.7.15
14695
14696
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
14697
	  Moved the bindings for trees to where they belong, in global_bindings.
14698
14699
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc:
14700
	  Don't crash when trying to exit if reading the package file failed (oops)
14701
14702
	* /cvsroot/aptitude/aptitude/src/load_config.cc:
14703
	Ignore keybinding subgroups
14704
14705
	* /cvsroot/aptitude/aptitude/src/main.cc:
14706
	Don't crash if we encounter a problem while loading stuff from apt.conf
14707
14708
2001-01-30  Daniel Burrows  <daniel@torrent>
14709
14710
	* /cvsroot/aptitude/aptitude/NEWS: Actually add 0.1.1 to the NEWSfile
14711
14712
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/README:
14713
	Bump version numbers to 0.1.1
14714
14715
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
14716
	Slightly tweak the resize code again (doesn't help much :( )
14717
14718
	* /cvsroot/aptitude/aptitude/src/vscreen/curses++.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
14719
	Tried to add some stuff to make resizing less mysteriously unreliable..not
14720
	working yet :(
14721
14722
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h:
14723
	Add code to (theoretically) allow paging up and down a download_list
14724
14725
2001-01-29  Daniel Burrows  <daniel@torrent>
14726
14727
	* /cvsroot/aptitude/aptitude/TODO: Tweak the TODO
14728
14729
	* /cvsroot/aptitude/aptitude/src/apt_info_tree.cc, /cvsroot/aptitude/aptitude/src/apt_info_tree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
14730
	  apt_info_tree and pkg_tree now make use of the cache_closed signal; I believe
14731
	that this will eliminate a number of elusive crashing bugs.
14732
14733
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h:
14734
	Add a cache_closed signal, so objects that need to avoid accessing the
14735
	cache while it's invalid can do so.
14736
14737
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14738
	Remove an unnecessary setting-to-null (destroying the preview will
14739
	do that for us)
14740
14741
	* /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
14742
	Don't run delete sweeps in sub-main-loops, as that can cause deletions at
14743
	bad moments.  (the real fix here is to garbage-collect..)
14744
14745
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h:
14746
	Be sure to initialize 'start', and display ignored failures as hits (?)
14747
14748
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/ui.cc:
14749
	Got the download_list class to compile and sort of work
14750
14751
2001-01-28  Daniel Burrows  <daniel@torrent>
14752
14753
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
14754
	  Moved the forget-new function to the global UI file, and added a
14755
	(poorly-named) menu entry for it.
14756
14757
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14758
	Added a menu item to clear out the package cache
14759
14760
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h:
14761
	Added the beginnings of a new, sane download progress meter.  We'll see if it
14762
	works..
14763
14764
	* /cvsroot/aptitude/aptitude/src/download_list.cc, /cvsroot/aptitude/aptitude/src/download_list.h:
14765
	New file.
14766
14767
2001-01-27  Daniel Burrows  <daniel@torrent>
14768
14769
	* /cvsroot/aptitude/aptitude/TODO:
14770
	Update the TODO items to reflect reality better
14771
14772
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14773
	Fix the update-package-list global keybinding
14774
14775
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14776
	Added code to keep the user from simultaneously installing packages and
14777
	updating package lists (or doing either of these twice)
14778
14779
	* /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
14780
	  Use the new search code to move to a pkg_matcher-based search system.  I hope
14781
	this will significantly reduce search times (since the search string won't be
14782
	parsed over and over--which incidentally also reduces memory management load)
14783
14784
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h:
14785
	  Change some methods to const (maybe they should've been all along..) to
14786
	get package searching working with the new setup.
14787
14788
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
14789
	Unreverse the search logic
14790
14791
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h:
14792
	  At least moved the vs_tree search routine to a specifiable predicate, so I
14793
	can plug in something less hacky (otoh..this is another level of
14794
	indirection..more slowness..argh..)
14795
14796
	* /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
14797
	  An option is now available to toggle whether the menubar autohides.  (the
14798
	default is to always show the menubar, for the sake of new users..)
14799
14800
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h:
14801
	  Modified the menubar to support having it constantly visible.
14802
14803
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
14804
	Hook searching back into the UI
14805
14806
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h:
14807
	Modify vs_tree::search_for to be a pure search method instead of a fancy
14808
	do-everything method
14809
14810
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h:
14811
	Remove an obsoleted class member (vs_tree::last_search_term)
14812
14813
	* /cvsroot/aptitude/aptitude/TODO: Tweak the short-term TODO
14814
14815
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc:
14816
	  Hide menus before emitting a signal -- this prevents a situation from occuring
14817
	where a signal that runs for a while (eg, updating package lists) runs with a
14818
	strangely visible menu.
14819
14820
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14821
	Add hooks to the update function
14822
14823
	* /cvsroot/aptitude/aptitude/src/download.cc:
14824
	Reload the cache after doing a download
14825
14826
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14827
	Make 'g' a global keybinding for installation again
14828
14829
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14830
	  Only allow a single install preview to be displayed at a time.
14831
14832
	* /cvsroot/aptitude/aptitude/TODO: Update the TODO list
14833
14834
	* /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc:
14835
	  Don't short-circuit when checking for keys bound to slots.  This allows
14836
	multiple slots to be hooked up to the same pseudo-signal and lets the
14837
	connections for the download screen actually work properly..
14838
14839
	* /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h:
14840
	Maybe fix the media-change stuff..
14841
14842
	* /cvsroot/aptitude/aptitude/src/download_screen.h:
14843
	Hide the cursor when downloading
14844
14845
	* /cvsroot/aptitude/aptitude/src/download_screen.cc:
14846
	Make the download screen actually (mostly) work.
14847
14848
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14849
	Move the global keybindings down into the main_stacked widget -- I find this to
14850
	be more logical than having them all in the menubar.  YMMV.
14851
14852
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_passthrough.cc:
14853
	I believe that vs_passthrough should be passing characters which its
14854
	subwidget declines to handle into vs_container::handle_char, so key
14855
	connections work on them.
14856
14857
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14858
	Patch up the download stuff to the point that you can coax the program to
14859
	sort of perform a download for you.
14860
14861
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
14862
	Fixed some problems with apt 0.4 and some weird compile problems that appear to
14863
	be the result of incomplete CVS commits
14864
14865
2001-01-12  Daniel Burrows  <daniel@torrent>
14866
14867
	* /cvsroot/aptitude/aptitude/NEWS:
14868
	Oops, really fix Arto's email address..
14869
14870
2001-01-07  Daniel Burrows  <daniel@torrent>
14871
14872
	* /cvsroot/aptitude/aptitude/NEWS:
14873
	Insmodded timewarp.o and retroactively fixed Arto's name/email
14874
14875
	* /cvsroot/aptitude/aptitude/acconfig.h, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/help.txt, /cvsroot/aptitude/aptitude/intl/Makefile.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/matchers.cc, /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
14876
	  (mostly) merge with HEAD up to APTITUDE-00714
14877
14878
2001-01-02  Daniel Burrows  <daniel@torrent>
14879
14880
	* /cvsroot/aptitude/aptitude/configure.in:
14881
	Fix up the test for sigc to abort if it can't find an appropriate version
14882
14883
2000-12-19  Daniel Burrows  <daniel@torrent>
14884
14885
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/README:
14886
	Bump lots of versions to 0.0.7.14
14887
14888
	* /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc:
14889
	Don't crash if stuff has a NULL Priority
14890
14891
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
14892
	  Add hacks to eliminate nasty duplicated bits of hierarchy such as
14893
	virtual/virtual.  Can this be done better in the newer versions?
14894
14895
2000-12-18  Daniel Burrows  <daniel@torrent>
14896
14897
	* /cvsroot/aptitude/aptitude/src/generic/matchers.cc:
14898
	Fix a segfault when limiting on package priority
14899
14900
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
14901
	  Rewrote the grouping stuff to pass roots around on the stack instead of the
14902
	heap.  This should allow some redundant trees to be pruned, assuming I figure
14903
	out what the logical way of doing that is.
14904
14905
2000-12-17  Daniel Burrows  <daniel@torrent>
14906
14907
	* /cvsroot/aptitude/aptitude/intl/Makefile.in:
14908
	sometimes a special private libintl.h gets generated (if gettext isn't
14909
	around) -- it wasn't getting removed on distclean, which
14910
	screwed all sorts of stuff up.  I hope this fixes it.
14911
14912
2000-12-15  Daniel Burrows  <daniel@torrent>
14913
14914
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h:
14915
	Make installing packages actually work with apt 0.4
14916
14917
	* /cvsroot/aptitude/aptitude/help.txt, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
14918
	Add a simple note about the 'f' key to help.txt
14919
14920
	* /cvsroot/aptitude/aptitude/src/main.cc:
14921
	Switch the hierarchy; I think this new setup is clearer.
14922
14923
2000-12-14  Daniel Burrows  <daniel@torrent>
14924
14925
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
14926
	Tentatively merge Arlo's Tasks-branch patch
14927
14928
2000-12-13  Daniel Burrows  <daniel@torrent>
14929
14930
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
14931
	Bump various things to 0.0.7.13
14932
14933
	* /cvsroot/aptitude/aptitude/src/download.cc:
14934
	My fix for the 'dequeuing queued object' bug wasn't :( -- this isn't
14935
	either, but at least it would work if my theory on the bug was correct.
14936
14937
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc:
14938
	Hm, apt 0.4 segfaults if I delete the package records after deleting the
14939
	cache file.
14940
14941
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/acconfig.h, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
14942
	  Complete the addition of support for apt 0.4.  It compiles and runs well
14943
	enough to install packages, AND I think I fixed the "thousands of little errors
14944
	generated if downloads are aborted" bug (not tested, though)
14945
14946
2000-12-12  Daniel Burrows  <daniel@torrent>
14947
14948
	* /cvsroot/aptitude/aptitude/acconfig.h, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/generic/apt.cc:
14949
	  Begin adding support for APT 0.4.  This branch will never fully support it
14950
	(probably), but I want to be able to compile and use aptitude with at least the
14951
	old feature set.  Once this is done, I'll port the unstable branch FULLY there
14952
	unless someone restrains me :)  (this will mean that it requires apt 0.4 to
14953
	function, but maybe I can find a way to get rid of the aptitudeDepCache hack..)
14954
14955
2000-12-09  Daniel Burrows  <daniel@torrent>
14956
14957
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14958
	Hook in install stuff in a very broken and preliminary way.  This will probably
14959
	go in the future or something..
14960
14961
2000-12-04  Daniel Burrows  <daniel@torrent>
14962
14963
	* /cvsroot/aptitude/aptitude/po/POTFILES.in, /cvsroot/aptitude/aptitude/src/Makefile.am:
14964
	More fixups :(
14965
14966
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am:
14967
	Argh, more stuff that I forgot to include in the tarball..
14968
14969
	* /cvsroot/aptitude/aptitude/src/generic/Makefile.am:
14970
	Oops, strhash.h should be in the source list for libgeneric so it gets disted..
14971
14972
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
14973
	Kill an EVIL focus bug where tables kept trying to give focus to widgets that
14974
	no longer wanted it. (easy to work around, luckily)
14975
14976
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
14977
	Let people modify package-tree limits (even though I still can't do it from a menu
14978
	nicely :( )
14979
14980
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14981
	Hey, fix the minibuf-widget thingy too
14982
14983
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14984
	Fix prompt_string in major ways (for the non-minibuf case)
14985
14986
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
14987
	Always use a download-bar for changelogs
14988
14989
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14990
	Oops, use the right option name for download-bar
14991
14992
	* /cvsroot/aptitude/aptitude/src/ui.cc:
14993
	Fix the options that the main-multiplexer is inserted with so that the
14994
	'status line' is still visible
14995
14996
	* /cvsroot/aptitude/aptitude/src/apt_config_widgets.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc:
14997
	Fix a silly typo that was causing changelogs to be downloaded twice (oops..)
14998
14999
	* /cvsroot/aptitude/aptitude/src/apt_options.cc:
15000
	Fix a small oopsie in the options dialog (some items weren't committing
15001
	because I forgot to hook signals up for them)
15002
15003
	* /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/apt_options.cc:
15004
	Initial stab at getting downloads really working again (needs work..)
15005
15006
2000-12-03  Daniel Burrows  <daniel@torrent>
15007
15008
	* /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download_bar.h, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download.h, /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/download_item.h, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
15009
	Link download stuff back in.  Well -- it compiles :P
15010
15011
	* /cvsroot/aptitude/aptitude/src/ui.cc:
15012
	Add menu items to display the old online-help and the license
15013
15014
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
15015
	Add a convenience routine to pop up a dialog containing a paged file
15016
15017
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
15018
	Make sure that info areas get cleared when a package item is unhighlighted
15019
15020
	* /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/pkg_changelog.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
15021
	Use PACKAGE instead of Aptitude for our config tree (so multiplex versions
15022
	can live on the same system eventually)
15023
15024
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
15025
	Re-enable package info screens and description screens
15026
15027
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
15028
	Re-enable the dependency display
15029
15030
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc: Fix indentation
15031
15032
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
15033
	Switch the close-view and quit bindings.....again.
15034
	With the quit-on-last-close behavior implemented, I'd like to retain the
15035
	historical behavior as much as possible.
15036
15037
	* /cvsroot/aptitude/aptitude/src/apt_info_tree.h:
15038
	Fix a thinko that caused package version screens to segfault
15039
15040
	* /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
15041
	Make all package-view instantiation happen in ui.cc for now
15042
15043
	* /cvsroot/aptitude/aptitude/src/pkg_view.h:
15044
	Errrr...using the proper values to initialize the layout options is
15045
	a good idea..
15046
15047
	* /cvsroot/aptitude/aptitude/src/apt_info_tree.h, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/pkg_view.cc, /cvsroot/aptitude/aptitude/src/pkg_view.h, /cvsroot/aptitude/aptitude/src/ui.cc:
15048
	  Added all sorts of magic to reenable the status-line display, in spades.  It
15049
	should be possible (untested!!) to eventually do far far more than the old
15050
	system was ever able to do.  If there aren't so many hacks to get this to work
15051
	that it implodes under its own weight (knock on wood..)
15052
15053
	* /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
15054
	Use handle_char instead of the inappropriate dispatch_char for pkg_trees
15055
15056
	* /cvsroot/aptitude/aptitude/src/ui.cc:
15057
	Make the intro message nicer, and add some i18n markings
15058
15059
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
15060
	Make the keybinding for menu-toggling display-friendly
15061
15062
	* /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/pkg_view.cc, /cvsroot/aptitude/aptitude/src/pkg_view.h, /cvsroot/aptitude/aptitude/src/ui.cc:
15063
	Fix all the package-view stuff to be 'right' in terms of using the
15064
	new table abilities properly
15065
15066
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h:
15067
	Update more bits of the test code to take advantage of the new table
15068
	abilities
15069
15070
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15071
	Fix a really evil table-layout bug that was causing all sorts of weirdness
15072
15073
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc:
15074
	We should queue the layout after doing something drastic to a pager..
15075
15076
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h:
15077
	  Added stuff to (theoretically) support finer-grained specification of
15078
	expand/shrink options in tables.
15079
15080
	* /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
15081
	Use the pkg_view stuff to generate package trees (this has showed one
15082
	weakness in vs_table immediately.. :) )
15083
15084
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_view.cc, /cvsroot/aptitude/aptitude/src/pkg_view.h:
15085
	  Added pkg_view, a collection of stuff that'll eventually handle the
15086
	"configurable layout" stuff that was the motivation behind this whole
15087
	exercise.  Right now it just sits there and looks cute.
15088
15089
	* /cvsroot/aptitude/aptitude/src/pkg_view.cc, /cvsroot/aptitude/aptitude/src/pkg_view.h:
15090
	New file.
15091
15092
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h, /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
15093
	  Added a "closing last screen exits" option to get the old behavior back
15094
	(and, what the heck, made it the default..not sure this is great but..)
15095
15096
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
15097
	Convert a bunch of explicit owner->add_widget thingies to use the cleaner
15098
	add_main_widget(), incidentally making (eg) version lists get proper
15099
	entries in the Views menu
15100
15101
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
15102
	Got the thingy with the close/quit working (unfortunately, uses different keys
15103
	than historic aptitude right now :( ) and added the ability to pop up
15104
	new package views
15105
15106
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
15107
	Modify things so that 'q' causes the current 'top' widget to be destroyed,
15108
	and 'C-q' exits.
15109
15110
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
15111
	Fixed a bunch of color errors due to the fact that get_color() now returns an
15112
	attribute set rather than a color pair index
15113
15114
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/main.cc:
15115
	Make vscreen_main automatically flush pending updates before waiting
15116
	for input for the first time
15117
15118
2000-12-02  Daniel Burrows  <daniel@torrent>
15119
15120
	* /cvsroot/aptitude/aptitude/src/main.cc:
15121
	Oops..calling ui_main after setting stuff up would be a really good idea..
15122
15123
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/columnify.cc:
15124
	ummm, since when does order matter when passing arguments to GNU ld?
15125
15126
	* /cvsroot/aptitude/aptitude/src/apt_info_tree.cc, /cvsroot/aptitude/aptitude/src/apt_info_tree.h, /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/download_bar.h, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.h, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/ui.cc:
15127
	  Forward-port large quantities of stuff related to package trees, to attempt
15128
	to just pop up a package list (sans a lot of useful features :( ).
15129
	  Still not perfect, but getting better.  Almost compiles.
15130
15131
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.h, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/POTFILES.in, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/pkg_node.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
15132
	  Merged in changes made to HEAD since the last merge.  (this coincides with
15133
	the tag APTITUDE-00712, so use that if merging again is necessary)
15134
15135
	* /cvsroot/aptitude/aptitude/src/strhash.h:
15136
	Umm, this needs to be added?
15137
15138
2000-11-27  Daniel Burrows  <daniel@torrent>
15139
15140
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
15141
	Well, let's release again.  Why not?  Updated docs and build files.
15142
15143
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h:
15144
	Don't accidentally clear sticky-states when doing this single-package
15145
	installation stuff.
15146
15147
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/pkg_node.h, /cvsroot/aptitude/aptitude/src/apt_tree.h:
15148
	Add some hacks to allow the long-desired 'single package' installation
15149
15150
2000-11-26  Daniel Burrows  <daniel@torrent>
15151
15152
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/README:
15153
	Some pos got changed by make dist again..
15154
15155
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/apt.cc:
15156
	Fix a nasty segfault in the initialization code.  How it avoided my notice so
15157
	long, I don't know..
15158
15159
	* /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
15160
	Errr, something odd happened when I make disted
15161
15162
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
15163
	Update docs for 0.0.7.10
15164
15165
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.h, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.h:
15166
	Now that the old hack to get sort-of indented package names is gone, replace it
15167
	with a brand new hack that at least doesn't lead straight to an infinite
15168
	loop.
15169
15170
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
15171
	Bah, don't even try to indent packages for the tree view
15172
15173
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc:
15174
	Bah, fix a silly bug -- the hack to make package items 'sort of line up' broke
15175
	other stuff, just let them look over-indented..
15176
15177
2000-11-25  Daniel Burrows  <daniel@torrent>
15178
15179
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/README:
15180
	Update documentation and configure script for 0.0.7.9
15181
15182
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc:
15183
	Eh, don't expand versions by default
15184
15185
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc:
15186
	Fix the default column format so that the space before Package isn't expanded,
15187
	and fix the hack to make the package name line up correctly again..
15188
15189
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc:
15190
	Add a hack to make package names line up correctly for now (it's gross..)
15191
15192
	* /cvsroot/aptitude/aptitude/src/vscreen/columnify.cc:
15193
	Only expand expandable things and shrink shrinkable things
15194
15195
	* /cvsroot/aptitude/aptitude/src/vscreen/columnify.cc:
15196
	Actually expand expandable columns instead of just acting like we did
15197
15198
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.cc:
15199
	Incorporate expandability/shrinkability into the defaults
15200
15201
	* /cvsroot/aptitude/aptitude/src/vscreen/columnify.cc:
15202
	Always pad columnified strings up to their maximum width
15203
15204
	* /cvsroot/aptitude/aptitude/src/vscreen/columnify.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.h, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.h:
15205
	  Kill an evil typo -- I was passing in the column type as the column width,
15206
	which caused all sorts of nastiness when the type was -1.  Also added some
15207
	asserts to avoid this in the future..
15208
15209
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.h:
15210
	  Another raft of changes to everything even vaguely related to columns sails
15211
	through..
15212
	  (all the startloc stuff is now purged, and trees should work (not that I can
15213
	   tell yet..) -- not tested atm, though)
15214
15215
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.h, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.h:
15216
	  MAJOR CHANGES!  EVERYTHING PROBABLY JUST BROKE!
15217
15218
	  The package columnization code has been rewritten from scratch.  Again.
15219
	  This time it's based on the table-formatting code in the ui-rewrite branch
15220
	and will hopefully be flexible enough to avoid future rewrites.  I think
15221
	it may even parse config options in the same way, but I'm not sure :)
15222
	  The concepts of "column groups" and justification have been replaced by
15223
	expandable/shrinkable, which are much more general and easier to calculate
15224
	correctly.  Column-group starts are therefore no longer relevant (which WILL
15225
	break some of the tree code for now..it has to be modified to manually indent
15226
	stuff)
15227
15228
2000-11-24  Daniel Burrows  <daniel@torrent>
15229
15230
	* /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_scrollbar.h:
15231
	Add a scrollbar to the Apt error list
15232
15233
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_scrollbar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_scrollbar.h:
15234
	Add a scrollbar widget and tweak the test code and pager to work with it.
15235
15236
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_scrollbar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_scrollbar.h:
15237
	New file.
15238
15239
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h:
15240
	Screwed with the pager some more, it's much better now :)
15241
15242
	* /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
15243
	Make check_apt_errors public, and explicitly use it after initialization
15244
	(since we aren't in the main loop yet then, it didn't get called if
15245
	something bad happened)
15246
15247
	* /cvsroot/aptitude/aptitude/src/ui.cc:
15248
	Color the error dialog with the Error color..
15249
15250
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc:
15251
	Oops, don't randomly reset the current text attributes
15252
15253
	* /cvsroot/aptitude/aptitude/src/ui.cc:
15254
	Add a menu item that triggers a test error
15255
15256
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
15257
	Overhaul the apt error system, and avoid some segfaults in error conditions
15258
15259
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc:
15260
	Fix some segfaulting and layout bugs with pagers
15261
15262
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
15263
	what the heck, add a hack to clear the editline's text when it's
15264
	entered
15265
15266
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h:
15267
	Add test code for the pager and fix some nasty bugs that caused stdin to
15268
	get closed (oops)
15269
15270
2000-11-23  Daniel Burrows  <daniel@torrent>
15271
15272
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h:
15273
	Allow the vs_file_pager to load a new file.
15274
15275
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h:
15276
	Perform a long-overdue overhaul of vs_pager..it should now handle newlines and
15277
	tabs properly, and handle layout information and so on
15278
15279
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h:
15280
	Add support for a 'main hook' thing (basically lets programs extend the
15281
	vscreen main loop with their own actions)
15282
15283
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h:
15284
	Make vscreen timeouts be sigc++-based
15285
15286
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/config_signal.cc, /cvsroot/aptitude/aptitude/src/generic/config_signal.h, /cvsroot/aptitude/aptitude/src/ui.cc:
15287
	Fix up the option-reverting code..it should /mostly/ work now
15288
15289
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h:
15290
	Fix the option-saving code, and write a routine to revert the options to the
15291
	defaults and the contents of /etc/apt/apt.conf
15292
15293
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
15294
	Doh, getenv(HOME) should be getenv("HOME")
15295
15296
	* /cvsroot/aptitude/aptitude/src/generic/apt.h, /cvsroot/aptitude/aptitude/src/generic/apt.cc:
15297
	Add preliminary support for user-specific configuration: apt_preinit now
15298
	attempts to load ~/.aptitude/config, and there's a routine (apt_dumpcfg)
15299
	to save a subtree of the configuration to that file.
15300
15301
	* /cvsroot/aptitude/aptitude/src/main.cc:
15302
	Force an update after reading in the control file (to make the progress-bar
15303
	really go away) -- hack?
15304
15305
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15306
	Fix a silly order-of-operations bug that was causing table navigation to have
15307
	awkward resolution of ambiguities
15308
15309
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/download.cc:
15310
	Bump various things for version 0.0.7.8
15311
15312
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc:
15313
	Add delete-to-BOL and delete-to-EOL functions to the minibuf editor
15314
15315
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
15316
	Fix the bug which caused limits specified in the display file to not be
15317
	presented as default selections to the user
15318
15319
	* /cvsroot/aptitude/aptitude/README: Fix a minor documentation bug
15320
15321
	* /cvsroot/aptitude/aptitude/src/apt_config_widgets.h, /cvsroot/aptitude/aptitude/src/apt_options.cc:
15322
	Several small tweaks -- the options dialog now works! (albiet minimally)
15323
15324
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.h:
15325
	Oops, status-choice thingies should hog the focus
15326
15327
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc:
15328
	Match on 'confirm' as well..(good idea?)
15329
15330
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
15331
	Create a new keybinding ('PushButton', bound to ' ' by default) and use it
15332
	for buttons instead of Confirm.
15333
15334
	* /cvsroot/aptitude/aptitude/src/apt_config_widgets.cc, /cvsroot/aptitude/aptitude/src/apt_config_widgets.h, /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/apt_options.h, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
15335
	Add some preliminary option dialogs and stuff
15336
15337
	* /cvsroot/aptitude/aptitude/src/apt_options.cc, /cvsroot/aptitude/aptitude/src/apt_options.h:
15338
	New file.
15339
15340
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc:
15341
	Declare the new global config wrapper..
15342
15343
	* /cvsroot/aptitude/aptitude/src/apt_config_widgets.cc:
15344
	Doh, fix a tyop..
15345
15346
	* /cvsroot/aptitude/aptitude/src/apt_config_widgets.cc, /cvsroot/aptitude/aptitude/src/apt_config_widgets.h, /cvsroot/aptitude/aptitude/src/Makefile.am:
15347
	Add some very simple utility widgets for dealing with apt configuration
15348
15349
	* /cvsroot/aptitude/aptitude/src/apt_config_widgets.cc, /cvsroot/aptitude/aptitude/src/apt_config_widgets.h:
15350
	New file.
15351
15352
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h, /cvsroot/aptitude/aptitude/src/generic/config_signal.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_togglebutton.cc:
15353
	Fix some silly compile errors
15354
15355
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_togglebutton.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_togglebutton.h:
15356
	Add support in the togglebutton for 'silent' toggling
15357
15358
2000-11-22  Daniel Burrows  <daniel@torrent>
15359
15360
	* /cvsroot/aptitude/aptitude/src/generic/config_signal.cc, /cvsroot/aptitude/aptitude/src/generic/config_signal.h, /cvsroot/aptitude/aptitude/src/generic/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/config/colors.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.h:
15361
	Add a tentative implementation of config-signals.  Not sure if it'll work
15362
	(untested)
15363
15364
	* /cvsroot/aptitude/aptitude/src/generic/config_signal.cc, /cvsroot/aptitude/aptitude/src/generic/config_signal.h:
15365
	New file.
15366
15367
	* /cvsroot/aptitude/aptitude/src/generic/strhash.h, /cvsroot/aptitude/aptitude/src/strhash.h:
15368
	Move strhash.h to generic..
15369
15370
	* /cvsroot/aptitude/aptitude/src/generic/strhash.h: New file.
15371
15372
2000-11-06  Daniel Burrows  <daniel@torrent>
15373
15374
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc:
15375
	Fix cycling backwards in a multiplexer
15376
15377
	* /cvsroot/aptitude/aptitude/src/ui.cc: Hook up some global keybindings
15378
15379
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
15380
	Allow keys to be bound to signals so that they are checked for AFTER all
15381
	class-specific keys (ie, they are checked in vscreen_widget::handle_char)
15382
15383
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc:
15384
	Fix the menubar to pass keystrokes up the inheritence hierarchy
15385
15386
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15387
	Fix vs_table to pass unhandled keystrokes up the inheritence hierarchy
15388
15389
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc:
15390
	Correctly fall back to the superclass' handle_char from vs_button
15391
15392
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/ui.cc:
15393
	  Update ui.cc to take advantage of the new menu abilities.
15394
15395
	* /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.h, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
15396
	  Added a provision for making bound characters automagically appear on the
15397
	right-hand side of a menu (all bindings but the first are deliberately hidden
15398
	to prevent unwieldly menus)  In the process, fixed a silly width-handling bug
15399
	in vs_menu (the default requested width wasn't being initialized properly, oops)
15400
15401
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
15402
	Change some character constants to string constants (eg: 'y' -> "y"[0])
15403
	This will hopefully make i18n of some obviously English-dependant
15404
	key definitions possible.
15405
15406
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc:
15407
	Use key-connection to bind 'y' and 'n' logically in yesno-dialogs
15408
15409
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc:
15410
	Always do vscreen_update instead of vscreen_updatecursor when moving an
15411
	edit-line's cursor (unfortunately, some cases where a full update was
15412
	needed were being missed..I should probably do this more effectively,
15413
	but the brute-force approach works for now)
15414
15415
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
15416
	Eliminate the silly_table class, as connect_key allows it to be effectively
15417
	implemented without inheritence.
15418
15419
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download_bar.h, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_button.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_passthrough.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_passthrough.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h:
15420
	vscreen: added a concept of "key signals".  These are basically pseudo-signals
15421
	    which widgets emit before (and maybe eventually also after) calling their
15422
	    main key-handling routine.  They can obviously be used to extensively
15423
	    customize behavior without resorting to inheritence (which I don't like as
15424
	    it requires lots of typing) and in particular to implement key shortcuts
15425
	    and accelerators (eg, default selections in dialog boxes and so on)  I
15426
	    believe that the impact on widgets that don't use it will be minimal (in
15427
	    terms of time and space), and it looks like a very useful feature.
15428
15429
	      dispatch_char has been split by this into two parts: the externally
15430
	    callable routine retains the same name, while a new routine ("handle_char")
15431
	    does what dispatch_char used to (basically, this is so we can catch the
15432
	    character before the derived class does for pre-signals)
15433
15434
	aptitude: did lots of s/dispatch_char/handle_char/
15435
15436
2000-11-05  Daniel Burrows  <daniel@torrent>
15437
15438
	* /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
15439
	Add a menu listing the currently active main-widgets and the ability to switch
15440
	between them
15441
15442
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc:
15443
	Fix a problem with displaying labels of menuentries
15444
15445
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
15446
	Tweaks to the menu code:
15447
	 (a) it should now be possible to dynamically add and remove menu items
15448
	    from an existing menu;
15449
15450
	 (b) convenience constants VS_MENU_SEPARATOR and VS_MENU_END are available
15451
	   for easy generation of menu separators and menu end markers.
15452
15453
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
15454
	Tweak the menu_item initializer to infer the hotkey on its own
15455
15456
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
15457
	Rewire the vs_multiplex to be more friendly to users that want to set up a
15458
	menu mapping items to widgets without showing them in the incorrect order.
15459
	The widget list is now treated as a circular list, and shown widgets
15460
	cause it to be rotated until they are visible (rather than popping to the
15461
	top and altering order)  Also, a public method to rotate to the next
15462
	or previous widget is available.
15463
15464
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/vs_progress.cc:
15465
	Tweak a few small layout issues, fix a potential color bug in vs_progress,
15466
	and fix a part of apt_tree that will probably be deleted anyway..
15467
15468
	* /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
15469
	Add some useful abstract mechanisms for simple prompts (so they can, eg, be
15470
	stuffed into a 'minibuffer')
15471
15472
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc:
15473
	Fix the default-widget stuff (hmm, this should maybe be done more cleanly..)
15474
15475
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.h:
15476
	Fill in missing methods of vs_statuschoice, so it's non-abstract
15477
15478
	* /cvsroot/aptitude/aptitude/src/vscreen/slotarg.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
15479
	  Changed some prototypes from "string foo" to "const std::string &foo",
15480
	changed vs_dialog_yesno to accept an argument specifying which button is
15481
	focussed by default, and changed vs_table to allow a specific widget to
15482
	be focussed on demand.
15483
15484
	* /cvsroot/aptitude/aptitude/src/vscreen/slotarg.h: New file.
15485
15486
	* /cvsroot/aptitude/aptitude/src/vscreen/slotarg.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
15487
	  Split the SlotArg stuff into a separate file, templatized it, and changed
15488
	vs_menu to use it instead of the nop_slot hack.
15489
15490
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h, /cvsroot/aptitude/aptitude/src/vs_progress.cc, /cvsroot/aptitude/aptitude/src/vs_progress.h:
15491
	  Modify files to at least get to the point of opening the apt caches (and
15492
	displaying a progress bar while doing so)
15493
15494
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h:
15495
	Let people call vscreen_tryupdate directly
15496
15497
2000-11-04  Daniel Burrows  <daniel@torrent>
15498
15499
	* /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
15500
	Add a quit-confirmation dialog
15501
15502
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
15503
	Change the dialog-convenience routines to a factory method which takes slots
15504
	as arguments.
15505
15506
	* /cvsroot/aptitude/aptitude/src/aptitude.h, /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
15507
	  Hacked main.cc to actually compile.  This marks the first time since the Great
15508
	UI Rewrite that something called "aptitude" pops out of the build process.  Of
15509
	course, I've disabled most of the code, so all that you get is a menubar and
15510
	an annoying welcome dialog.  But hey, it's a start..
15511
15512
	* /cvsroot/aptitude/aptitude/src/ui.cc, /cvsroot/aptitude/aptitude/src/ui.h:
15513
	New file.
15514
15515
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.cc:
15516
	Stacked widgets should never appear to focus anything except the topmost widget
15517
15518
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc:
15519
	Multiplexes should show the visible item on show_all
15520
15521
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc:
15522
	Handle empty menubars without crashing (no, I don't know why you'd want to
15523
	do this..)
15524
15525
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vs_progress.cc, /cvsroot/aptitude/aptitude/ABOUT-NLS, /cvsroot/aptitude/aptitude/acconfig.h, /cvsroot/aptitude/aptitude/aptitude.1, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/intl/bindtextdom.c, /cvsroot/aptitude/aptitude/intl/cat-compat.c, /cvsroot/aptitude/aptitude/intl/ChangeLog, /cvsroot/aptitude/aptitude/intl/dcgettext.c, /cvsroot/aptitude/aptitude/intl/dgettext.c, /cvsroot/aptitude/aptitude/intl/explodename.c, /cvsroot/aptitude/aptitude/intl/finddomain.c, /cvsroot/aptitude/aptitude/intl/gettext.c, /cvsroot/aptitude/aptitude/intl/gettext.h, /cvsroot/aptitude/aptitude/intl/gettextP.h, /cvsroot/aptitude/aptitude/intl/hash-string.h, /cvsroot/aptitude/aptitude/intl/intl-compat.c, /cvsroot/aptitude/aptitude/intl/l10nflist.c, /cvsroot/aptitude/aptitude/intl/libgettext.h, /cvsroot/aptitude/aptitude/intl/loadinfo.h, /cvsroot/aptitude/aptitude/intl/loadmsgcat.c, /cvsroot/aptitude/aptitude/intl/localealias.c, /cvsroot/aptitude/aptitude/intl/Makefile.in, /cvsroot/aptitude/aptitude/intl/po2tbl.sed.in, /cvsroot/aptitude/aptitude/intl/textdomain.c, /cvsroot/aptitude/aptitude/intl/VERSION, /cvsroot/aptitude/aptitude/intl/xopen-msg.sed, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/po/ChangeLog, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/po/Makefile.in.in, /cvsroot/aptitude/aptitude/po/POTFILES.in, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/aptitude.h, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc:
15526
	Update to HEAD
15527
15528
2000-11-03  Daniel Burrows  <daniel@torrent>
15529
15530
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
15531
	Hmm, preliminary attempts to set up hotkeys for items while the menu is active.
15532
	I have mixed feelings about this..
15533
15534
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc:
15535
	Tweaked the menu system to allow the '^L' idiom meaning 'display L bold' (it
15536
	will also function as a shortcut while navigating menus in the future)
15537
15538
	* /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.h, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
15539
	Finally write a (crude..) keycode -> keyname routine
15540
15541
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc:
15542
	Labels should update the display when their text is altered
15543
15544
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc:
15545
	Fix the problem that the menubar wasn't resetting active menus and the
15546
	current selection when it was hidden.
15547
15548
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
15549
	Fix the tree's handling of cursor locations (note to self: the tree code has
15550
	suddenly gotten WAAAY too slow..)
15551
15552
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc:
15553
	Make menus and the menubar itself display the cursor in reasonable locations
15554
15555
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
15556
	Fix a bunch of cursor-positioning issues.  There are still problems, but it's
15557
	a lot better behaved than it used to be..
15558
15559
2000-11-02  Daniel Burrows  <daniel@torrent>
15560
15561
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
15562
	Play nicely on non-pthread systems
15563
15564
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
15565
	Fix vscreen.cc for the Hurd (pthread.h was being included unconditionally,
15566
	oops)
15567
15568
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_passthrough.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_passthrough.h:
15569
	New file.
15570
15571
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_button.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_passthrough.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_passthrough.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h:
15572
	  Totally rewrote the cursor/focus system.  Cursor locations are now queried
15573
	via tree descent, which will be slightly less efficient but simpler to get
15574
	correct (the old system was just too hairy and had too much weird and
15575
	inexplicable behavior)
15576
	  Not everything is perfect, but the basic stuff is there now..
15577
15578
2000-10-29  Daniel Burrows  <daniel@torrent>
15579
15580
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc:
15581
	Fix a missing cursor-update in vs_bin
15582
15583
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15584
	Fix a number of issues involving incorrectly handled cursors
15585
15586
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc:
15587
	Feh.  The cursor-hack isn't the right solution (it breaks radio-buttons on
15588
	color displays).  Revert it while I think about what *is* the right solution.
15589
15590
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc:
15591
	Bah.  Really put the button-cursor in the right place..
15592
15593
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_button.h:
15594
	Make the cursor visible for buttons (and put it in a logical place) -- without
15595
	this, people on colorless terminals may be screwed.  (should I conditionalize
15596
	it on whether color is supported?  That's not reliable, I think.. :( )
15597
15598
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h:
15599
	Fix some brokenness wrt tables and focus (widgets which were added would
15600
	cause assertion failures if they updated their cursor location before
15601
	being displayed -- focus could be assigned by default to a hidden widget)
15602
15603
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
15604
	Menus can now activate 'real' slots when items get selected
15605
15606
2000-10-28  Daniel Burrows  <daniel@torrent>
15607
15608
	* /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/pt_BR.po:
15609
	Hmm, try clarifying copyrights on pofiles (not sure about this..?)
15610
15611
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/README:
15612
	Bump various version numbers to 0.0.7.7
15613
15614
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.h:
15615
	Gah!  I forgot to add editline to the CVS repository!  I'm an idiot..
15616
15617
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_editline.h:
15618
	New file.
15619
15620
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
15621
	Improvements to the line-editor: ^K and ^U (delEOL and delBOL) are now
15622
	supported
15623
15624
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
15625
	vs_statusedit is now obsolete and an amusing anacrhonism; remove it.
15626
15627
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
15628
	Fix a minor silly bug in the test code..
15629
15630
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
15631
	Delete some (apparently) unnecessary refresh() calls immediately following
15632
	beep() calls
15633
15634
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
15635
	Avoid unnecessary layout calculations.  This might cause previously
15636
	unspotted bugs to surface :(
15637
15638
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc:
15639
	Fix up some visual bugs in the new minibuf-win
15640
15641
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
15642
	  Drastically overhauled the minibuf-win widget.  It now is just a thin
15643
	wrapper around a collection of sub-widgets (some labels, a multiplexer, and
15644
	an arbitrary "main" widget).  This should make things much simpler and robust.
15645
	(crosses fingers)  In the process, I tweaked a few more things: in particular,
15646
	the former vs_minibuf_msg is now vs_labeltransient in vs_label.{cc,h}, and
15647
	vs_multiplex now overrides focus_me in the logical way.
15648
15649
	* /cvsroot/aptitude/aptitude/po/es_ES.po, /cvsroot/aptitude/aptitude/po/pt_BR.po, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS:
15650
	Add contributed es_ES and pt_BR translations (credits in the pofiles)
15651
15652
2000-10-23  Daniel Burrows  <daniel@torrent>
15653
15654
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am:
15655
	Resolved a bunch of bugs mostly related to cursor-display while the Miller
15656
	network was dead
15657
15658
2000-10-15  Daniel Burrows  <daniel@torrent>
15659
15660
	* /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
15661
	Bump them versions to 0.0.7.6..
15662
15663
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
15664
	Only use pthreads if they're available..
15665
15666
2000-10-14  Daniel Burrows  <daniel@torrent>
15667
15668
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15669
	Fix a thinko that broke table layout when the table needed to be shrunk
15670
	horizontally..
15671
15672
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15673
	Fix a silly bug about hiding/unhiding widgets (vscreen_queuelayout wasn't
15674
	always being called)
15675
15676
	* /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
15677
	Bump to version 0.0.7.5
15678
15679
2000-10-13  Daniel Burrows  <daniel@torrent>
15680
15681
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc:
15682
	Fix a silly bug introduced when I eliminated the 'will/wont be saved' message
15683
	for non-root users -- 'n' and 'y' were interpreted backwards for those users.
15684
	Oops.
15685
15686
2000-10-11  Daniel Burrows  <daniel@torrent>
15687
15688
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_radiogroup.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_radiogroup.h:
15689
	Make radiogroups emit a signal when a member is selected, and demonstrate
15690
	this on the button page of testvscreen.
15691
15692
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_togglebutton.h:
15693
	Fix a thinko which caused vs_togglebutton::set_checked to be severely broken
15694
15695
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_checkbutton.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_checkbutton.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_togglebutton.h:
15696
	Trim vs_checkbutton.{cc,h} as the class is now just a thin wrapper around
15697
	vs_togglebutton and can better be included with it.  Radio buttons are also
15698
	available now (also a wrapper) -- unfortunately, they don't work yet :(
15699
15700
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_radiogroup.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_radiogroup.h:
15701
	Radio-groups now use togglebuttons instead of checkbuttons
15702
15703
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/vs_checkbutton.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_checkbutton.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_togglebutton.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_togglebutton.h:
15704
	Make a 'togglebutton' class which defines togglable buttons without
15705
	defining policy for them.  This will make radio-buttons much easier to
15706
	do right.
15707
15708
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_togglebutton.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_togglebutton.h:
15709
	New file.
15710
15711
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
15712
	Bump version to 0.0.7.4 (this release fixes translation problems with .de
15713
	and adds more i18n and Japanese translations)
15714
15715
2000-10-09  Daniel Burrows  <daniel@torrent>
15716
15717
	* /cvsroot/aptitude/aptitude/po/ja.po, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/vs_progress.cc:
15718
	Commit a patch to add bunches more translatable strings (and add their
15719
	translations to ja.po)
15720
15721
	* /cvsroot/aptitude/aptitude/po/de.po: Incorporate fixes to de.po
15722
15723
	* /cvsroot/aptitude/aptitude/po/de.po:
15724
	Make de.po correct, thanks to Sebastian Schaffert
15725
15726
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_checkbutton.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_radiogroup.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_radiogroup.h:
15727
	Fix some problems with radiogroups.  There's at least one nasty unresolved
15728
	one, though.
15729
15730
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
15731
	Add some test code for radiogroups
15732
15733
2000-10-08  Daniel Burrows  <daniel@torrent>
15734
15735
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/vs_radiogroup.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_radiogroup.h:
15736
	Add preliminary radio-group code..
15737
15738
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_radiogroup.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_radiogroup.h:
15739
	New file.
15740
15741
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_checkbutton.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_checkbutton.h:
15742
	Always call vscreen_update() when a checkbutton is toggled
15743
15744
2000-10-03  Daniel Burrows  <daniel@torrent>
15745
15746
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
15747
	Bah.  Release a totally new version..
15748
15749
	* /cvsroot/aptitude/aptitude/Makefile.am:
15750
	Bah.  I'm an idiot.  Include the manpage in the dist tarball..
15751
15752
2000-10-02  Daniel Burrows  <daniel@torrent>
15753
15754
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15755
	Fix cursor-key navigation of tables.  It now works in what seems like a
15756
	reasonable way to me.  Moving from a widget when there are two possibilities
15757
	is still a little weird, but I don't think there's really any 'correct'
15758
	soltion there.
15759
15760
2000-10-01  Daniel Burrows  <daniel@torrent>
15761
15762
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_checkbutton.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_checkbutton.h:
15763
	Add (um, in a preliminary form) checkbuttons.  Radiobuttons are next..
15764
15765
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_checkbutton.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_checkbutton.h:
15766
	New file.
15767
15768
2000-09-30  Daniel Burrows  <daniel@torrent>
15769
15770
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15771
	Fix the problem that was weirding out left and upward motion
15772
15773
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
15774
	Add test code for the table-arrow-keying
15775
15776
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc:
15777
	Make expanded buttons only invert the background of the displayed button,
15778
	not the whole curses window
15779
15780
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h:
15781
	Add basic (but still amazingly complex..) code to allow cursor-key navigation
15782
	of vs_tables
15783
15784
2000-09-25  Daniel Burrows  <daniel@torrent>
15785
15786
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h:
15787
	Make the menus hide themselves when an item is selected.
15788
15789
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc:
15790
	Really clear ALL signals when a widget is destroyed
15791
15792
2000-09-24  Daniel Burrows  <daniel@torrent>
15793
15794
	* /cvsroot/aptitude/aptitude/src/vscreen/curses++.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc:
15795
	This version should squash a LARGE quantity of memory-leak bugs that I was
15796
	seeing.  Basically, I kept allocating CWINDOWS; I thought I was freeing them
15797
	but I actually wasn't (oops).  I now refcount each CWINDOW via the
15798
	cwindow_master wrapper.  Complex and probably slow, but it doesn't leak memory
15799
	at alarming rates.. :)
15800
15801
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15802
	Fix some thinkos with delete[] vs delete in the table-layout stuff
15803
15804
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h:
15805
	More sanitization of widget destruction; widgets remove themselves from their
15806
	owner and delete all signals pointing at them when they are destroyed.
15807
	(this means that containers no longer have to keep track of the destroyed
15808
	signal..)
15809
15810
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15811
	patch a memory leak in vs_table.cc
15812
15813
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
15814
	Actually delete widgets which are flagged to be deleted..
15815
15816
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc:
15817
	vscreen_widgets now destroy themselves when removed from their owned (hack?)
15818
15819
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
15820
	Oops.  The old 'todelete' list stuck around in spite of being unused
15821
15822
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
15823
	Several containers which used to call destroy() on their subwidgets now just
15824
	call set_owner(NULL) on them
15825
15826
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
15827
	Make the silly menu-entry REALLY silly
15828
15829
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15830
	Oops, inherit vs_table's bindings from the global keybindings..
15831
15832
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc:
15833
	Doh.  Apply the background to both buttons in yesno dialogs
15834
15835
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
15836
	Add a hook for hiding the menubar when something is selected (**hack**)
15837
15838
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
15839
	Add a very silly menu item..
15840
15841
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
15842
	Add a constructor for dialogs which uses a default attribute value
15843
15844
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc:
15845
	Really make vs_button correctly switch A_REVERSE on and off (I hope)
15846
15847
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
15848
	Replace vs_message_box with a nicer class using vs_button
15849
15850
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_button.h:
15851
	Add a simple button class
15852
15853
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_button.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_button.h:
15854
	New file.
15855
15856
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15857
	Fix a dumb mistake in vs_table::dispatch_char
15858
15859
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.h:
15860
	Bins now propagate focus to their contents (make this optional??)
15861
15862
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h:
15863
	Propagate focus changes of a table to its contents
15864
15865
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc:
15866
	Focus and unfocus a menubar's subwidget when it is focussed or unfocussed
15867
15868
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h:
15869
	Remove an unused routine
15870
15871
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
15872
	In addition to emitting signals when focussed or unfocussed, vscreen_widgets
15873
	now keep track of their own focussed/unfocussed state.
15874
15875
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15876
	Properly unfocus widgets when hiding or removing them from a table
15877
15878
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_label.h:
15879
	Hm, labels shouldn't accept the input focus
15880
15881
2000-09-23  Daniel Burrows  <daniel@torrent>
15882
15883
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h:
15884
	Added a concept of focus, although it could probably use some further work.
15885
	vs_table can now use this to cycle the input focus among its subwidgets,
15886
	allowing it to act like a usual dialog box.  (buttons and stuff are coming
15887
	next >=) )
15888
15889
	* /cvsroot/aptitude/aptitude/Makefile.am:
15890
	Gah!  It seems that aclocal.m4 isn't distributed by default anymore :(
15891
15892
	* /cvsroot/aptitude/aptitude/src/Makefile.am:
15893
	Oops, I forgot to add aptitude.h to SOURCES..
15894
15895
	* /cvsroot/aptitude/aptitude/po/ChangeLog, /cvsroot/aptitude/aptitude/po/de.po, /cvsroot/aptitude/aptitude/po/ja.po:
15896
	Add a dummy ChangeLog to po/
15897
15898
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
15899
	Update versioning and NEWS to 0.0.7.2
15900
15901
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/po/de.po:
15902
	Add a painful German translation
15903
15904
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/download.cc:
15905
	Fix some problems with marking strings for translation
15906
15907
	* /cvsroot/aptitude/aptitude/src/aptitude.h:
15908
	Masato seems to have added a common header for i18n, might as well include
15909
	it in CVS..
15910
15911
	* /cvsroot/aptitude/aptitude/po/ja.po:
15912
	Oops, left out the japanese translation..
15913
15914
	* /cvsroot/aptitude/aptitude/intl/bindtextdom.c, /cvsroot/aptitude/aptitude/intl/cat-compat.c, /cvsroot/aptitude/aptitude/intl/ChangeLog, /cvsroot/aptitude/aptitude/intl/dcgettext.c, /cvsroot/aptitude/aptitude/intl/dgettext.c, /cvsroot/aptitude/aptitude/intl/explodename.c, /cvsroot/aptitude/aptitude/intl/finddomain.c, /cvsroot/aptitude/aptitude/intl/gettext.c, /cvsroot/aptitude/aptitude/intl/gettext.h, /cvsroot/aptitude/aptitude/intl/gettextP.h, /cvsroot/aptitude/aptitude/intl/hash-string.h, /cvsroot/aptitude/aptitude/intl/intl-compat.c, /cvsroot/aptitude/aptitude/intl/l10nflist.c, /cvsroot/aptitude/aptitude/intl/libgettext.h, /cvsroot/aptitude/aptitude/intl/loadinfo.h, /cvsroot/aptitude/aptitude/intl/loadmsgcat.c, /cvsroot/aptitude/aptitude/intl/localealias.c, /cvsroot/aptitude/aptitude/intl/Makefile.in, /cvsroot/aptitude/aptitude/intl/po2tbl.sed.in, /cvsroot/aptitude/aptitude/intl/textdomain.c, /cvsroot/aptitude/aptitude/intl/VERSION, /cvsroot/aptitude/aptitude/intl/xopen-msg.sed, /cvsroot/aptitude/aptitude/po/Makefile.in.in, /cvsroot/aptitude/aptitude/po/POTFILES.in, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/generic/Makefile.am, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/ABOUT-NLS, /cvsroot/aptitude/aptitude/acconfig.h, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/Makefile.am:
15915
	Merge in Masato Taruishi's i18n patch.  (I'm not sure of the distinction
15916
	between autogenerated and non-autogenerated files, so I might have to
15917
	add a few more things in the next commit..)
15918
15919
2000-09-17  Daniel Burrows  <daniel@torrent>
15920
15921
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h:
15922
	Fix bug #71844, sort of
15923
15924
2000-09-12  Daniel Burrows  <daniel@torrent>
15925
15926
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/generic/apt.cc:
15927
	DIE, local-file bug, DIE\!
15928
	(I was testing whether FetchNeeded()>0 before calling Run() -- bad idea)
15929
15930
2000-09-11  Daniel Burrows  <daniel@torrent>
15931
15932
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc:
15933
	The 'background' color is now also used as the default attribute when
15934
	the paint() routine is entered (good idea? bad?); maybe its name should
15935
	change..  vs_message_box now takes advantage of this, allowing nice
15936
	inverse-video dialog boxes a la links (I think that's a nice way of getting
15937
	contrast, myself..)
15938
15939
2000-09-10  Daniel Burrows  <daniel@torrent>
15940
15941
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.h:
15942
	Add simple support for widget-stacking.  Not sure whether this should include
15943
	positioning or not (I favor using vs_center-style widgets to do layout,
15944
	but that's just me)
15945
15946
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_stacked.h:
15947
	New file.
15948
15949
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_center.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc:
15950
	Hack: setting the background attribute to a magic value (-1) will cause
15951
	the widget to not automatically erase its background.  Should probably be a
15952
	bool or a bitflag eventually.  Needed for 'invisible layout widgets' like
15953
	vs_center
15954
15955
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc:
15956
	It's not clear exactly what show_all should do on a multiplex widget,
15957
	 but it should at least show the widget itself
15958
15959
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15960
	Doh, the last commit was stupid.
15961
15962
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
15963
	Layout the screen after adding a widget to a table
15964
15965
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h:
15966
	Remember to remove widgets from tables when they're deleted..
15967
15968
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
15969
	Make the test code more complete (pressing 'd' hides and displays a pane)
15970
15971
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h:
15972
	Make sure to re-layout the screen when a subwidget is hidden or shown
15973
15974
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
15975
	Add a method to toggle visibility
15976
15977
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h:
15978
	Doh!  I forgot to add the headerfile for the table
15979
15980
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.h: New file.
15981
15982
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
15983
	Eliminate places where widgets manually set their own backgrounds, using
15984
	set_bg instead
15985
15986
2000-09-09  Daniel Burrows  <daniel@torrent>
15987
15988
	* /cvsroot/aptitude/aptitude/src/vscreen/config/colors.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/colors.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h:
15989
	Finally sanitize get_color to return an attribute representing the
15990
	color pair rather than just a color number.
15991
15992
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
15993
	Add a default widget background and use it in many places
15994
15995
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
15996
	Add a background property for widgets; all widgets now erase themselves with
15997
	their background before painting themselves.
15998
15999
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_center.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_center.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_staticitem.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_staticitem.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h:
16000
	  Renamed the "display" method to "paint" and made it protected.
16001
	  There is a new (non-virtual) vscreen_widget::display method, which should be
16002
	called to display a widget; it will perform preprocessing (eg, plonking down a
16003
	default background) and then invoke the virtual paint method.
16004
16005
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
16006
	Make the test code a bit more complex
16007
16008
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc:
16009
	Finally convert vs_label to manually format strings for output (so I have more
16010
	control over them)
16011
16012
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
16013
	Tweak the table test code
16014
16015
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
16016
	Oops, I need to set the widget's owner when I add it..
16017
16018
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
16019
	Fix some incorrect show_all routines: vs_table and vs_bin
16020
16021
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
16022
	Add a constructor for vs_table and hook it (minimally) into the test code
16023
16024
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
16025
	Remember to take the visible property of subwidgets into account in
16026
	vs_table
16027
16028
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
16029
	Complete the vs_table layout algorithms.  Keystroke handling (?), display,
16030
	and test code are stil needed.
16031
16032
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
16033
	Completed vs_table::size_request.  The actual layout algorithm and the
16034
	input handling still need to be written.
16035
16036
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
16037
	Start filling in the table-layout algorithm, and add vs_table to the Makefile
16038
16039
2000-09-08  Daniel Burrows  <daniel@torrent>
16040
16041
	* /cvsroot/aptitude/aptitude/aptitude.1:
16042
	Add a simple manpage (as requested in the Debian BTS)
16043
16044
2000-09-07  Daniel Burrows  <daniel@torrent>
16045
16046
	* /cvsroot/aptitude/aptitude/TODO:
16047
	Add an interesting idea to the head of the TODO
16048
16049
2000-09-06  Daniel Burrows  <daniel@torrent>
16050
16051
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc:
16052
	Add the basic child-handling routines for vs_table (not yet added to Makefile.am as it's incomplete)
16053
16054
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_table.cc: New file.
16055
16056
2000-09-04  Daniel Burrows  <daniel@torrent>
16057
16058
	* /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
16059
	Update README and add NEWS entries for 0.0.7.1
16060
16061
2000-08-03  Daniel Burrows  <daniel@torrent>
16062
16063
	* /cvsroot/aptitude/aptitude/README:
16064
	Bring some dated info in the README up-to-date
16065
16066
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_container.cc: New file.
16067
16068
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_center.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_container.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_container.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc:
16069
	showing/hiding now exclusively use a visible member and signals.  (this is
16070
	a bit of a reversion, yes)  The implementation isn't completely clean yet,
16071
	but can be made so in the future, which is what's important..
16072
16073
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
16074
	Bump the version number to 0.0.7.1 and update documentation -- I should have
16075
	done this back in May..
16076
16077
2000-08-02  Daniel Burrows  <daniel@torrent>
16078
16079
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
16080
	Fix some problems due to message-boxes not having explicitly specified
16081
	attributes
16082
16083
2000-07-31  Daniel Burrows  <daniel@torrent>
16084
16085
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
16086
	Fix up a few minor issues with the tree code and widgets (height
16087
	calculation, y starting base, etc)
16088
16089
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h:
16090
	Preliminary work to patch vs_tree into the new system.  A lot more still needs
16091
	to be done, though.
16092
16093
2000-07-19  Daniel Burrows  <daniel@torrent>
16094
16095
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc:
16096
	do_layout() has to be connected up in multiplexers
16097
16098
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc:
16099
	The main widget of a minibuf should be offset down one
16100
	character from the minibuf-window itself
16101
16102
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.cc:
16103
	Handle situations where frames have no subwidget sanely
16104
16105
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_center.cc:
16106
	Correctly set the size of centered widgets
16107
16108
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc:
16109
	alloc_size needs to call do_layout()
16110
16111
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc:
16112
	Kill the crashing bug--it was somehow related to using an auxillary counter in
16113
	the first for loop in vs_menubar::layout_me().  (I hate C++)  Anyway,
16114
	that counter was unnecessary anyway, so I just removed it and made
16115
	things more stable AND cleaner in one fell swoop :)
16116
16117
	* /cvsroot/aptitude/aptitude/src/vscreen/README.layout, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_center.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_center.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_container.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
16118
	  Implemented the layout system described in README.layout, mostly.  It's been
16119
	remarkably effacious at eliminating crufty hacks, which is good since that's
16120
	why I adopted it :-)  Menus still crash, though; I'll see what's up with that
16121
	next.
16122
16123
2000-07-18  Daniel Burrows  <daniel@torrent>
16124
16125
	* /cvsroot/aptitude/aptitude/src/vscreen/README.layout: New file.
16126
16127
	* /cvsroot/aptitude/aptitude/src/vscreen/README.layout:
16128
	  The layout code is getting dangerously complicated, and so I've decided to
16129
	write up a document laying out a plan (with no basis in current code) for
16130
	its eventual structure, and explaining the algorithm I'll use for table
16131
	layout.  (borrowed from GTK+, with my own tweak(s))
16132
16133
2000-07-09  Daniel Burrows  <daniel@torrent>
16134
16135
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
16136
	  Added a file for utility routines; for instance, it currently contains a
16137
	routine to set up (but not display) a message box.
16138
16139
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_util.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_util.h:
16140
	New file.
16141
16142
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_center.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_center.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.h:
16143
	  Added a simple widget to center widgets inside other widgets.  It uses
16144
	the hack that a minimum size of 0 means to expand as much as possible
16145
	(note to self: this probably doesn't work so well when placed inside most
16146
	 widgets..)  May need some work in the future.
16147
16148
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_center.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_center.h:
16149
	New file.
16150
16151
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.h:
16152
	  Added a generic class to handle a lot of the nuisances involved in writing
16153
	a "bin" -- a widget that can only handle one child at once.  (idea
16154
	stol^H^H^H^Hborrowed from GTK+)  vs_frame is the only current instance of
16155
	this.
16156
16157
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_bin.h:
16158
	New file.
16159
16160
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.h:
16161
	  Added a widget which can display a frame around another widget.
16162
16163
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_frame.h:
16164
	New file.
16165
16166
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc:
16167
	Fix the minimum-size behavior of labels
16168
16169
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.h:
16170
	  Added a simple "label" widget which displays unwrapped, unscrolled,
16171
	static text.  A more complicated widget will also be needed in the
16172
	future..
16173
16174
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_label.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_label.h:
16175
	New file.
16176
16177
2000-07-08  Daniel Burrows  <daniel@torrent>
16178
16179
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_container.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h:
16180
	  Added the shaky beginnings of a layout system.
16181
16182
	  The idea is that you can set the minimum size of a widget, and that the
16183
	layout() signal is used when a widget's owner needs to recalculate
16184
	its layout wrt the other widgets (eg, its size changes)  May not be
16185
	completely implemented and/or clean yet.  For instance, I don't quite
16186
	have a policy on when set_geom() is called, or what (if anything) to use
16187
	the resize() signal for..
16188
16189
2000-07-06  Daniel Burrows  <daniel@torrent>
16190
16191
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
16192
	Twiddle the handling of signals in menus.  Autogenerated
16193
	menu items still have their signals routed through the main handler
16194
	in the containing menu, but your code can use that hook as well..
16195
16196
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
16197
	Make a bunch of signals into zero-argument signals; when they're
16198
	bound to something that needs the widget, bind() should be explicitly
16199
	used to create a 'closure'
16200
16201
2000-07-04  Daniel Burrows  <daniel@torrent>
16202
16203
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
16204
	Add a rectangle type and use it to store widget geometries.
16205
	This change is a precursor to adding a size hint for layout.
16206
16207
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc:
16208
	Make the default colorization of various widgets be white-on-blue/blue-on-white
16209
	due to issues with having yellow in the background on the console (it
16210
	mutates into a really ugly shade of brown)
16211
16212
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc:
16213
	Fix a bug that caused entries which filled the menu horizontally to be
16214
	followed by 'holes'
16215
16216
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc:
16217
	Add cursor-update handling for the vs_menubar
16218
16219
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
16220
	  Fiddled with the refreshing behavior again -- I now understand more about
16221
	how (n)curses handles subwindows, and realized that all those refreshes on
16222
	subwindows are a waste of time.  All that's necessary is to touch and then
16223
	refresh the toplevel window.  So I did that, and all seems to be well (I don't
16224
	think that I even lost much efficiency!)
16225
16226
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16227
	  vscreen_update no longer actually updates the screen; instead, it sets a flag
16228
	indicating that the screen *should* be redrawn.  vscreen_poll() and
16229
	vscreen_mainloop() test this flag after dispatching a keystroke.
16230
16231
	  vscreen_updatenow() updates the screen immediately, for use in those corner
16232
	cases where you really need it.  (it isn't even exported yet, I'll export it
16233
	when I find such a corner case..)
16234
16235
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
16236
	Add a Help menu to the test program
16237
16238
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc:
16239
	Prettify the menu bar a bit
16240
16241
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16242
	Add escape as a binding for Cancel and F10 as a binding for ToggleMenuActive
16243
16244
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h:
16245
	New file.
16246
16247
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menubar.h:
16248
	Somehow, my earlier attempt to add the menu bar code to the repository failed miserably.  Doh.  Fixed.
16249
16250
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc:
16251
	  Add very basic support for menu-bars.  A menu-bar, in my definition, is a
16252
	sometimes-hidden entity which contains both the menus it pops up AND the
16253
	widget that appears behind it.  (that is -- you can't generate a menubar by
16254
	itself; not without a bit of extra effor, at least)
16255
16256
	  Some might say that this is a hack, but I can deal with that objection
16257
	by sticking my fingers in my ears and loudly singing "LALALALALA"..
16258
16259
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
16260
	Add support for separators in menus
16261
16262
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
16263
	Oops, I need to enable the keypad and set cbreak mode..
16264
16265
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
16266
	Doh, I switched the parameters in set_height().  Fixed.
16267
16268
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc:
16269
	Fix the width calculations..
16270
16271
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
16272
	Don't forget to include the quit entry in the menu!
16273
16274
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
16275
	Fix a minor drawing quirk in the menu code (the borders were getting random
16276
	background attributes) and make sure the bindings table for menus is
16277
	properly set up
16278
16279
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc:
16280
	Make a minibuf-window clear its whole background before displaying a child
16281
	(so that empty space around the child, if any, is cleared nicely)
16282
16283
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc:
16284
	Fix a crashing bug in the test code
16285
16286
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
16287
	  Add a basic menu widget.  It compiles, that's all I can say about it right
16288
	now :)
16289
16290
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_menu.h:
16291
	New file.
16292
16293
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
16294
	Fix a thinko in the various routines to resize a widget -- when attempting to
16295
	change the widget's cwindow to be the correct size, rather than setting its
16296
	owner-window to be its current owner-window again, they set it to its OWN
16297
	window.  Oops.
16298
16299
2000-07-03  Daniel Burrows  <daniel@torrent>
16300
16301
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
16302
	  Fix the refreshing behavior to be correct.  Basically, we have to do
16303
	wnoutrefresh() on all the subwindows (in back->front order), then call
16304
	doupdate().  Future container widgets have to implement this as well as the
16305
	other necessary routines, or all sorts of weirdness may or may not occur..
16306
16307
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
16308
	Fix a silly problem preventing the user from switching between the two
16309
	multiplexed widgets at all in the test.  (there are still problems)  Perhaps
16310
	the distinction between visible and invisible widgets is not worth the
16311
	trouble..??
16312
16313
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc:
16314
	s/display/vscreen_update/
16315
16316
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc:
16317
	Fix a bunch of potential problems which would cause failure to redraw the
16318
	display properly in some circumstances
16319
16320
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h:
16321
	Bring vs_minibuf_win's focus delegation up-to-date (it now uses dispatch_char
16322
	exclusively)
16323
16324
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc:
16325
	Make the switcher the minibuf_win's main widget instead of a status-widget
16326
16327
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc:
16328
	Fix more crashing bugs
16329
16330
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc:
16331
	Fix more segfaults in vs_minibuf_win.cc (remember that main_widget can be
16332
	NULL\!\!))
16333
16334
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16335
	Fix a segfaulting thinko
16336
16337
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16338
	Really properly hide and/or update the location of the cursor
16339
16340
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
16341
	  Finally fix the evil linking errors (naturally, the problem was simply that I
16342
	forgot to define a method in the .cc file that I declared in the .h file.  Doh)
16343
16344
2000-07-02  Daniel Burrows  <daniel@torrent>
16345
16346
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h:
16347
	Add a test program for the vscreen library
16348
16349
	* /cvsroot/aptitude/aptitude/src/vscreen/testvscreen.cc: New file.
16350
16351
2000-07-01  Daniel Burrows  <daniel@torrent>
16352
16353
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.cc:
16354
	  Fixed the core vscreen widgets (theoretically) to take the division of
16355
	vs_minibuf_win from its contents.  This will be a bit painful, but hopefully
16356
	it'll be worth it.  (the aptitude layer is now entirely broken..it needs more
16357
	thought to deal with this last change)
16358
16359
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
16360
	vs_minibuf_wins now implement the main screen as a subwidget
16361
16362
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h:
16363
	  Fixed a bunch of *compile-time* errors caused by the change of vs_minibuf_win
16364
	to be a real container.  Totally broke runtime as a result (segfault on startup)
16365
	  Oops. :-)  Will fix eventually..
16366
16367
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_progress.cc, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc:
16368
	  Widgets should no longer display() and refresh() themselves directly; this
16369
	is in preparation for support for overlapped widgets.  Instead, they should call
16370
	vscreen_update().  This will cause ALL widgets to be displayed and then
16371
	refreshed.  In the future, this will probably just queue an update request,
16372
	with another routine available in the case that you want immediate response.
16373
16374
	  vs_minibuf_wins are now vs_containers; adding a widget to them adds a status
16375
	widget by default, same for removing.  delete_status_widget was cruft, so I
16376
	removed it.
16377
16378
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc:
16379
	  Tweaked the cursor and window handling of the multiplexer to theoretically
16380
	be better..
16381
16382
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h:
16383
	  The global "toplevel" variable is not really needed anymore; it was a bit
16384
	of a wart anyway, IMO :)
16385
16386
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/vs_container.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc:
16387
	  Added a "container" class and made vs_multiplex an instance of it.
16388
16389
2000-06-30  Daniel Burrows  <daniel@torrent>
16390
16391
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_container.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
16392
	  Added a "container" interface, which defines what widgets which hold other
16393
	widgets should do, and gave widgets a notion of their own "owner".
16394
16395
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_container.h: New file.
16396
16397
2000-06-26  Daniel Burrows  <daniel@torrent>
16398
16399
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
16400
	Well, now it makes it to the point of displaying a first screen, albiet not
16401
	very well.  I fixed some bugs with assigning owner-windows
16402
16403
	* /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16404
	Actually set the toplevel widget to be the toplevel widget, so something
16405
	happens instead of the program just exiting immediately..
16406
16407
2000-06-25  Daniel Burrows  <daniel@torrent>
16408
16409
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
16410
	Fix a potential (?) problem if a widget got destroyed twice.  Maybe that
16411
	should be an error anyway..hmm..
16412
16413
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc:
16414
	I forgot to write a destructor for vs_multiplex.  Oops.
16415
16416
	* /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download_bar.h, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_progress.cc, /cvsroot/aptitude/aptitude/src/vs_progress.h, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/Makefile.am:
16417
	  Many, many, many changes.  Too many to list here (yes, I'm a bad boy,
16418
	but this *is* the middle of a rewrite, so I feel justified)
16419
	  More signalification, lots of tweaks to the hierarchy (vs_minibuf as a
16420
	class is vanished; vscreen_widgets should be used instead), and a bunch of
16421
	other changes.  I *think* that it might possibly compile now, if you sacrifice
16422
	a goat first.
16423
16424
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
16425
	  A major "milestone": the vscreen library now compiles!
16426
16427
	  This commit primarily changes the various callback classes to use signals
16428
	instead of inheritence and to display themselves directly instead of
16429
	relying on an owner.  (note: the "minibuf" and "status"widgets should really
16430
	be more general..)
16431
16432
2000-06-22  Daniel Burrows  <daniel@torrent>
16433
16434
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h:
16435
	Many more fixes; much of what is left involves the former minibuf-widgets, which
16436
	I think need lots of fixing-up.  No major architectural changes, I think;
16437
	I just clobbered compile errors.
16438
16439
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
16440
	New file.
16441
16442
	* /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen_widget.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_multiplex.h:
16443
	Too many corrections to list individually -- basically, the code is being
16444
	converted from implementing the old architecture to implementing the new
16445
	one.
16446
	  Major features:
16447
	 -> vs_multiplex is mostly implemented
16448
	 -> Widget deletion is worked out (use destroy() )
16449
16450
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16451
	Make curses_avail visible in vscreen.cc (actually, this variable may be
16452
	archaic and a candidate for removal..)
16453
16454
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/colors.cc, /cvsroot/aptitude/aptitude/src/vscreen/curses++.h, /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h:
16455
	Initial commit for the UI rewrite branch.  This will make the UI much nicer
16456
	and more flexible, but just now it doesn't compile at all..
16457
16458
	The major changes are the move to a widget hierarchy, the use of libsigc++,
16459
	and the removal of the vscreen class (the vs_multiplexer will do about the
16460
	same thing)  Maybe I should change the library name at some point..
16461
16462
2000-05-31  Daniel Burrows  <daniel@torrent>
16463
16464
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
16465
	Do the same for version treeitems
16466
16467
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc:
16468
	Long actions should probably always display something
16469
16470
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/vscreen/columnify.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.h, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.h:
16471
	A major overhaul to the column-formatting code.  Everything is now based on
16472
	printf-style format strings, which (er, hopefully) will make this configuration
16473
	much more flexible and much simpler (eg, padding is no longer needed)
16474
	There will probably be some further work to do here..
16475
16476
2000-05-26  Daniel Burrows  <daniel@torrent>
16477
16478
	* /cvsroot/aptitude/aptitude/src/download_screen.cc:
16479
	Fix a serious problem which prevented file: URLs from working
16480
16481
	* /cvsroot/aptitude/aptitude/src/download.cc:
16482
	Errr, lockfiles go in /var/state/apt, not /
16483
16484
	* /cvsroot/aptitude/aptitude/src/download_screen.cc:
16485
	AbortScreen should also cause downloads to be cancelled
16486
16487
2000-05-18  Daniel Burrows  <daniel@torrent>
16488
16489
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
16490
	Attempt to write the code necessary to allow log messages to be generated just
16491
	before the dpkg run
16492
16493
2000-04-18  Daniel Burrows  <daniel@torrent>
16494
16495
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
16496
	Removed an extraneous #include of config.h
16497
16498
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
16499
	Update versions and NEWS for 0.0.7
16500
16501
2000-04-15  Daniel Burrows  <daniel@torrent>
16502
16503
	* /cvsroot/aptitude/aptitude/Makefile.am:
16504
	Distribute help.txt in a dist targz
16505
16506
	* /cvsroot/aptitude/aptitude/TODO: Update the TODO list
16507
16508
	* /cvsroot/aptitude/aptitude/src/generic/undo.cc: DIE BUG DIE!!!!!
16509
16510
	  Ok, I finally killed that evil segfault.  The problem was, simply, that I was
16511
	allowing the floor list to empty.  Doh.  (how exactly this triggered the
16512
	segfault is another question, but I can no longer reproduce it)
16513
16514
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16515
	Some more changes (which didn't help) to attempt to find the evil bug
16516
16517
2000-04-09  Daniel Burrows  <daniel@torrent>
16518
16519
	* /cvsroot/aptitude/aptitude/src/pkg_tree.h:
16520
	Removed a no-longer-pertinent editorial comment
16521
16522
2000-04-05  Daniel Burrows  <daniel@torrent>
16523
16524
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc:
16525
	Fix the scroll-to-end action in the internal pager
16526
16527
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc:
16528
	Change Top and Bottom in vs_pager::dispatch_char to
16529
	Begin and End.  Home and End should now work in pagers.
16530
16531
	* /cvsroot/aptitude/aptitude/help.txt, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/src/apt_tree.cc:
16532
	Wrote up a kinder, gentler online help screen
16533
16534
	* /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
16535
	Allow column headers to be turned on and off at runtime
16536
16537
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/README:
16538
	Use C-u instead of C-z for undo
16539
16540
	* /cvsroot/aptitude/aptitude/NEWS: Added more stuff to NEWS
16541
16542
	* /cvsroot/aptitude/aptitude/aptitude-hackers-guide.txt:
16543
	Update the hackers guide for the newer version
16544
16545
	* /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
16546
	Slightly change the description of the ~c matcher
16547
16548
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h, /cvsroot/aptitude/aptitude/autogen.sh:
16549
	Fix various issues which prevented compilation
16550
16551
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h:
16552
	Minor optimization tweak to the ExpandTree and CollapseTree bindings
16553
16554
	* /cvsroot/aptitude/aptitude/NEWS: Update the changelog
16555
16556
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/generic/matchers.cc:
16557
	Add a match type for removed packages with config files
16558
	still on the system
16559
16560
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/TODO:
16561
	Update documentation and stuff for 0.0.6.9
16562
16563
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/defaults.cc:
16564
	Move more keybindings from subtrees to the toplevel
16565
16566
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc:
16567
	Allow the user to repeat searches in a pager
16568
16569
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
16570
	Rename SelectParent to Parent, and add a default binding for it
16571
16572
	* /cvsroot/aptitude/aptitude/src/generic/undo.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc:
16573
	Attempt to track down an elusive segfault.  It's not woorkking..
16574
16575
2000-03-19  Daniel Burrows  <daniel@torrent>
16576
16577
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc:
16578
	Fix the interaction between reverse depends and virtual packages.  Package
16579
	information screens for virtual packages should now include information on
16580
	reverse depends
16581
16582
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
16583
	  dep_screens are now children of apt_info_screen.
16584
	  Also tried to add some code to avoid crashing when we look at reverse
16585
	dependencies of a virtual package, but it's not working yet.  Stay tuned :)
16586
16587
	* /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h:
16588
	pkg_description_screens are now children of apt_info_tree, in case anyone cares.
16589
16590
	* /cvsroot/aptitude/aptitude/src/apt_info_tree.h, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
16591
	The revert_to parameter can now be omitted when constructing
16592
	apt_trees and apt_info_trees; the current undo stack size will then be used.
16593
16594
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
16595
	Version screens are now children of apt_info_screen
16596
16597
	* /cvsroot/aptitude/aptitude/src/apt_info_tree.cc, /cvsroot/aptitude/aptitude/src/apt_info_tree.h, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.h:
16598
	  Added apt_info_tree, a new class which should make it easier to display
16599
	screens with info on a particular package.  Its main selling point is that it
16600
	knows how to restore (or remove) itself after the package cache is altered.
16601
	  Also, converted pkg_info_screen to use this and cleaned up the code for
16602
	apt_tree a bit.
16603
16604
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc:
16605
	Allow the user to use the Cancel key binding in a multiple-choice status widget
16606
16607
	* /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc:
16608
	Handle virtual package info screns without crashing
16609
16610
2000-03-18  Daniel Burrows  <daniel@torrent>
16611
16612
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h:
16613
	Added support for two ways to 'quit' screens: you can quit and save changes
16614
	(the historic ExitScreen), or quit and revert changes (AbortScreen, default
16615
	bindings of 'x')
16616
16617
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h:
16618
	Get the prompt on exit to work.
16619
16620
2000-03-17  Daniel Burrows  <daniel@torrent>
16621
16622
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/apt_tree.h:
16623
	Hopefully add support for an exit prompt; unfortunately, it isn't working right
16624
	now (because mypkgtree overrides it)
16625
16626
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
16627
	Make it compile
16628
16629
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
16630
	Allow apt_trees to update the package list (I'll see what blows up; I must
16631
	have had good reasons for not doing this before, right? :)
16632
16633
	* /cvsroot/aptitude/aptitude/src/defaults.cc:
16634
	Oops.  I meant to replace references to the mostly-redundant description
16635
	screen with references to the info screen, but did things the wrong way
16636
	around :)  Fixed.
16637
16638
	* /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.h:
16639
	Make pkg_info_screen a descendant of apt_tree, so you can do stuff like
16640
	getting help, undoing, and doing install runs from it.
16641
16642
	* /cvsroot/aptitude/aptitude/TODO: TODO updates
16643
16644
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/pkg_node.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
16645
	Fix some more issues with keybindings (some of which were introduced by the
16646
	last commit, oops...)
16647
16648
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/pkg_node.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
16649
	Finish converting the Apt interface elements to use the new hierarchical
16650
	binding mechanism; now I have to tie it into the config-loading routines
16651
16652
	* /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/defaults.cc:
16653
	  Added a keybinding namespace for apt_trees.
16654
16655
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16656
	Add global bindings for Undo and Help, even though they aren't used
16657
	anywhere in the vscreen library, so other screen types can count on their
16658
	existance
16659
16660
2000-03-15  Daniel Burrows  <daniel@torrent>
16661
16662
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
16663
	Try to add better counting of reverse depcounts, but I'm not sure how well
16664
	this works; caveat compilor.
16665
16666
	* /cvsroot/aptitude/aptitude/src/load_config.cc, /cvsroot/aptitude/aptitude/src/load_config.h:
16667
	Doh, forgot to add these files
16668
16669
2000-03-12  Daniel Burrows  <daniel@torrent>
16670
16671
	* /cvsroot/aptitude/aptitude/TODO: Add a very simple TOOD item
16672
16673
	* /cvsroot/aptitude/aptitude/src/dep_item.cc:
16674
	Fix bug that reverse depends involving provided packages
16675
	weren't displayed
16676
16677
2000-03-09  Daniel Burrows  <daniel@torrent>
16678
16679
	* /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.cc:
16680
	Oops.  Bindings in sub-keymaps should shadow bindings in parent keymaps.
16681
16682
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16683
	Add various default alternate keybindings for common keys (eg, vi movement keys)
16684
16685
	* /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.cc:
16686
	Fix a logic bug in the keybindings code that made parents not be checked
16687
16688
2000-03-08  Daniel Burrows  <daniel@torrent>
16689
16690
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16691
	Should've checked that the last commit compiled (doh)
16692
16693
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16694
	Make the pagers not segfault
16695
16696
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
16697
	Make it compile again (define the static members that were added)
16698
16699
	* /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc:
16700
	Keybindings now are hierarchically arranged; each major vscreen class has its
16701
	own keybinding set.  Still missing is use of this in the aptitude code and
16702
	parsing of hierarchies in /etc/apt/apt.conf.
16703
16704
	* /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.h:
16705
	Add support for nested keybinding groups in keybindings.{cc,h}
16706
16707
	* /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc:
16708
	Oops.  The pkg_action_tree was handing events all the way up to vs_tree
16709
	instead of passing them just one level up the hierarchy.
16710
16711
	* /cvsroot/aptitude/aptitude/src/defaults.cc:
16712
	Re-add a keybinding for Undo (Control-underscore..maybe I should do something
16713
	more 'intuitive' for non-Emacs users eventually as well ;-)
16714
16715
2000-03-06  Daniel Burrows  <daniel@torrent>
16716
16717
	* /cvsroot/aptitude/aptitude/src/dep_item.cc:
16718
	Switch to using GlobOr in dep_item::dep_item; changed the or-following logic in
16719
	dep_item::select to not falsely start ors.  I think this finally fixes all
16720
	the (KNOWN!!) problems with handling ORed dependencies, yayy :)
16721
16722
	* /cvsroot/aptitude/aptitude/src/dep_item.cc:
16723
	  Fixed the problems with showing broken dependencies the Right Way[tm].
16724
	The problem was that I was confused about the difference between
16725
	DepGInstall (which is only defined for the last member of an or group
16726
	and tells whether the whole group is OK in the install state), DepInstall
16727
	(which tells whether a particular dep is OK), and DepGCVer (DepGInstall for
16728
	candidate versions)
16729
16730
	  I also fixed yet another bug in setting up dependency trees..sigh..(I may
16731
	just break down and figure out GlobOr; it's just a 5-line function :) )
16732
16733
	* /cvsroot/aptitude/aptitude/TODO: Add TODO items
16734
16735
2000-03-05  Daniel Burrows  <daniel@torrent>
16736
16737
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
16738
	Cache the state file's size; the idea is that this might make things go a
16739
	little quicker when loading it.  It isn't working.. :)
16740
16741
	* /cvsroot/aptitude/aptitude/src/dep_item.cc:
16742
	Ok, it seems that the undocumented flag DepGCVer has to be tested in addition
16743
	to the undocumented DepGInstall flag in order to see whether a dependency is
16744
	met.
16745
16746
	* /cvsroot/aptitude/aptitude/TODO:
16747
	Added a lot of good suggestions made by ressu@uusikaupunki.fi
16748
16749
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h, /cvsroot/aptitude/aptitude/src/apt_tree.cc, /cvsroot/aptitude/aptitude/src/apt_tree.h, /cvsroot/aptitude/aptitude/src/download.h, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_action_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_action_tree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
16750
	  Added a new class, apt_tree, which generalizes various former behaviors of the
16751
	pkg_tree.  Currently it's only used by pkg_tree, but I plan to have many of the
16752
	trees in the program inherit from it eventually.
16753
	  In addition, pkg_action_tree was split out from pkg_tree.cc (it's only used
16754
	by the apt_tree class now)
16755
16756
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
16757
	Reading or writing extended state info now is tracked by a progress bar.  Oddly,
16758
	this seems to make the program start more slowly (!)  Should I not do that?
16759
	(note that the the spend reading this file was almost negligible previously)
16760
16761
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
16762
	When formatting columns, display the priority as Unknown if it's not available
16763
16764
	* /cvsroot/aptitude/aptitude/src/main.cc: Make it compile
16765
16766
	* /cvsroot/aptitude/aptitude/src/main.cc:
16767
	Load the colors and keybindings at an earlier point in the init process
16768
16769
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h, /cvsroot/aptitude/aptitude/src/main.cc:
16770
	Call pkgInitialize in main instead of in apt_init (I need to access the
16771
	configuration before apt_init is called)
16772
16773
2000-03-04  Daniel Burrows  <daniel@torrent>
16774
16775
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
16776
	Move the try_fix_broken routine into the generic directory and have it
16777
	generate undo info
16778
16779
	* /cvsroot/aptitude/aptitude/src/generic/undo.cc, /cvsroot/aptitude/aptitude/src/generic/undo.h:
16780
	Add support for an undo 'floor'
16781
16782
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
16783
	Hopefully fix some nasty crashing in the column code when sectionless package's
16784
	secions were requested
16785
16786
	* /cvsroot/aptitude/aptitude/TODO: Add items to TODO
16787
16788
	* /cvsroot/aptitude/aptitude/README:
16789
	Add a description of the DebSize column type, remove a duplicate description
16790
	of Aptitude::Fix-Broken
16791
16792
2000-03-03  Daniel Burrows  <daniel@torrent>
16793
16794
	* /cvsroot/aptitude/aptitude/TODO:
16795
	Add a note that a bugs.debian.org interface would be nice
16796
16797
	* /cvsroot/aptitude/aptitude/TODO: Update/fix the TODO list
16798
16799
2000-02-25  Daniel Burrows  <daniel@torrent>
16800
16801
	* /cvsroot/aptitude/aptitude/src/defaults.cc:
16802
	*oops*  When I renamed all the colors, I sort of forgot to include a definition
16803
	for the download progress color.  This made the download progress screen look
16804
	somewhat different (no progress bars for individual items)  Fixed.
16805
16806
	* /cvsroot/aptitude/aptitude/src/generic/undo.cc, /cvsroot/aptitude/aptitude/src/generic/undo.h:
16807
	Added hooks to collapse the top of the undo stack to a single item or to
16808
	revert items en masse.  Not used in the UI (yet..)
16809
16810
2000-02-22  Daniel Burrows  <daniel@torrent>
16811
16812
	* /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h, /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h:
16813
	Moved the undo list back out of the vscreen class; there's now a global apt
16814
	undo queue.  This makes things compile again, always a Good Thing[tm] :)
16815
16816
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
16817
	Fix a nasty segfault due to a brain glitch which caused me to use mark_install in lieu of MarkInstall
16818
16819
	* /cvsroot/aptitude/aptitude/src/generic/Makefile.am, /cvsroot/aptitude/aptitude/src/generic/undo.cc:
16820
	Make it compile again
16821
16822
2000-02-20  Daniel Burrows  <daniel@torrent>
16823
16824
	* /cvsroot/aptitude/aptitude/src/generic/undo.h, /cvsroot/aptitude/aptitude/src/generic/undo.cc:
16825
	Move some undo code out of the header
16826
16827
	* /cvsroot/aptitude/aptitude/src/dep_item.cc:
16828
	Use ProvideVersion to choose which versions of provided depended packages
16829
	to display
16830
16831
	* /cvsroot/aptitude/aptitude/src/dep_item.cc:
16832
	Pressing 'install' on a dependency now automatically selects a single target to
16833
	install
16834
16835
	* /cvsroot/aptitude/aptitude/src/pkg_node.cc:
16836
	Fixed the performance problems with altering the state of large package groups
16837
16838
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
16839
	Fix some correctness problems with the freeze/thaw code for undos that I just
16840
	committed, introduced some more performance problems..
16841
16842
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc:
16843
	Attempted to fix up the performance problems.  Still not as quick as I'd like,
16844
	but bearable -- no more O(n^2) nonsense
16845
16846
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc:
16847
	First iteration of support for actions on a package subtree.  This revealed
16848
	a nasty performance 'issue' that needs to be resolved..
16849
16850
2000-02-19  Daniel Burrows  <daniel@torrent>
16851
16852
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h: Fix indentation
16853
16854
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
16855
	You should now be able to undo a 'forget new' command (untested :( )
16856
16857
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
16858
	Fixed the weird problem with reinstalls sometimes not being undoable (it was
16859
	symptomatic of a deeper problem -- some reinstall flags weren't actually
16860
	being cleared)
16861
16862
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
16863
	You can now undo the reinstallation of a package..sort of..
16864
16865
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
16866
	Partly fixed undoing wrt reinstallation
16867
16868
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
16869
	Oops..fixed a problem that caused Allow-ReInstall to default to off--sometimes
16870
16871
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
16872
	  Avoid the problem of the backup-cache not being updated after an undo;
16873
	as a side-effect, set_reinstall has vanished, to be replaced by an argument
16874
	to mark_install.
16875
16876
	* /cvsroot/aptitude/aptitude/src/pkg_node.cc:
16877
	Oops..pass in a real undo_group in the dispatch_char code for pkg_node
16878
16879
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
16880
	Clarify a ?: clause
16881
16882
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16883
	The screen should be redrawn after an undo goes through
16884
16885
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/undo.h:
16886
	Fix bugs in undo code, at least it doesn't segfault now :-)
16887
16888
	* /cvsroot/aptitude/aptitude/src/generic/undo.h, /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h:
16889
	Added hooks into the undo code from the UI.  It segfaults.  Bah. :)  I'll fix
16890
	it this afternoon..
16891
16892
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/pkg_node.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
16893
	Update code in the upper level to add support for the new undo stuff.  This
16894
	change means that the program is (theoretically >=) ) compilable again..
16895
16896
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
16897
	More tweaks to the undo handling
16898
16899
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h:
16900
	Finally completed support for undo info.  I hope it's not too horrendously
16901
	hairy to comprehend. :-)
16902
	  This also replaces the overloading of MarkInstall with a separate method,
16903
	mark_install; external classes should probably use that one (in fact, I'd
16904
	like to hide MarkInstall altogether) -- same goes for the other state-changing
16905
	operations..
16906
16907
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc:
16908
	Tweak handling of aptitude-states in the apt undoer
16909
16910
	* /cvsroot/aptitude/aptitude/src/vscreen/config/colors.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/colors.h, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/column_definition.h, /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.cc, /cvsroot/aptitude/aptitude/src/vscreen/config/keybindings.h:
16911
	OOPScvs add vscreen/config/*.{cc,h}  I forgot to re-add these when I moved them into vscreen/..the tree
16912
	should compile from a fresh checkout now..
16913
16914
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/generic/undo.h:
16915
	Added some code which will hopefully allow APT actions to be undone
16916
16917
	* /cvsroot/aptitude/aptitude/src/generic/undo.h:
16918
	Added a method to insert items into undo groups
16919
16920
	* /cvsroot/aptitude/aptitude/src/generic/undo.h:
16921
	Added undo_group and a destructor for undo_list
16922
16923
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h:
16924
	Track Aptitude states in snapshots as well
16925
16926
	* /cvsroot/aptitude/aptitude/src/generic/undo.h:
16927
	Added a simple generic undo framework
16928
16929
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
16930
	Make the necessary changes so that broken-dependency-fixes are reverted
16931
	if the user quits the preview screen.
16932
16933
	* /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h:
16934
	Added facilities to snapshot and restore the cache state
16935
16936
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc: More compile fixes
16937
16938
	* /cvsroot/aptitude/aptitude/acconfig.h: Make it compile properly
16939
16940
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h:
16941
	Add minimal support for threading (hopefully this is a good idea :) )
16942
16943
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
16944
	Eliminate an unnecessary parameter to pkg_changelog::pkg_changelog()
16945
16946
	* /cvsroot/aptitude/aptitude/src/download_screen.cc:
16947
	Fix a thinko that made paging down when using a download_screen impossible
16948
16949
2000-02-18  Daniel Burrows  <daniel@torrent>
16950
16951
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
16952
	Fix detection of packages which are upgradable but being held back due to
16953
	broken dependencies
16954
16955
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
16956
	Finally fix a longstanding visual quirk -- the planned action screen now goes
16957
	away nicely when you start the installation
16958
16959
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16960
	Properly yank away a vscreen's window when it's hidden
16961
16962
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16963
	Oops, handle CycleScreen keystrokes in vscreen_poll() also..
16964
16965
	* /cvsroot/aptitude/aptitude/src/main.cc:
16966
	Handle exiting cleanly (ie, without segfaulting) -- save selections from the
16967
	quit() routine instead of from main..
16968
16969
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16970
	Fix a logic bug in vscreen_push
16971
16972
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc:
16973
	Pass the inputted character up to vscreen -- maybe not the best way
16974
	to do things?
16975
16976
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h:
16977
	Make the removed() method applicable to all minibuf-widgets and call it from
16978
	vs_minibuf_win::remove_status_widget()
16979
16980
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
16981
	Made preliminary modifications to the Aptitude code to make it work with
16982
	the new vscreen code
16983
16984
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc:
16985
	Pass dispatch_char events up the hierarchy
16986
16987
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h:
16988
	Major changes, again, to the vscreen code; now uses a system of a list of
16989
	stacks of screens..hopefully flexible enough and not too messy..
16990
16991
2000-02-16  Daniel Burrows  <daniel@torrent>
16992
16993
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc:
16994
	Exiting is handled by the main loop; exiting the top-level screen causes the
16995
	program to 'fall out' of the main loop
16996
16997
	* /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h:
16998
	Replaced vscreen_show with vscreen_push and vscreen_hide, which manage an
16999
	internal stack of windows.  This could, of course, become more complex if
17000
	necessary :)
17001
17002
2000-02-10  Daniel Burrows  <daniel@torrent>
17003
17004
	* /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download_bar.h, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h:
17005
	Added a new method, vscreen_poll; this just checks for any pending input or
17006
	timeouts and dispatches them, then returns.  Used to do input the Right Way
17007
	in the download objects
17008
17009
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h, /cvsroot/aptitude/aptitude/src/vs_progress.cc, /cvsroot/aptitude/aptitude/src/vs_progress.h:
17010
	  -> get_color() no longer implicitly creates a new color definition if
17011
	    none is available.  Colors are now explicitly and centrally defined.
17012
	  -> Keybinding and color definitions for vscreen stuff moved to vscreen_init.
17013
	  -> Color names now follow apt.conf conventions: FooName instead of foo_name.
17014
17015
	* /cvsroot/aptitude/aptitude/src/vscreen/vs_progress.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_progress.h, /cvsroot/aptitude/aptitude/src/vs_progress.cc, /cvsroot/aptitude/aptitude/src/vs_progress.h:
17016
	  Moved vs_progress.{cc,h} back to the toplevel source directory, it belongs
17017
	there.
17018
17019
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/src/aptcache.cc, /cvsroot/aptitude/aptitude/src/aptcache.h, /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/apt.h, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.cc, /cvsroot/aptitude/aptitude/src/generic/aptcache.h, /cvsroot/aptitude/aptitude/src/generic/apt.cc, /cvsroot/aptitude/aptitude/src/generic/apt.h, /cvsroot/aptitude/aptitude/src/generic/Makefile.am, /cvsroot/aptitude/aptitude/src/generic/matchers.cc, /cvsroot/aptitude/aptitude/src/generic/matchers.h, /cvsroot/aptitude/aptitude/src/generic/pkg_changelog.cc, /cvsroot/aptitude/aptitude/src/generic/pkg_changelog.h, /cvsroot/aptitude/aptitude/src/main.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/matchers.cc, /cvsroot/aptitude/aptitude/src/matchers.h, /cvsroot/aptitude/aptitude/src/pkg_changelog.cc, /cvsroot/aptitude/aptitude/src/pkg_changelog.h, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/testscr.cc:
17020
	  Lots more structural changes: moved the stuff that doesn't depend on the
17021
	user-interface to generic/ .  This being a frontend, there's not much of it :)
17022
	but I did it anyway.
17023
17024
	* /cvsroot/aptitude/aptitude/src/vscreen/config/Makefile.am, /cvsroot/aptitude/aptitude/src/vscreen/Makefile.am:
17025
	Oops, forgot to add these before
17026
17027
	* /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/apt.h, /cvsroot/aptitude/aptitude/src/columnify.cc, /cvsroot/aptitude/aptitude/src/columnify.h, /cvsroot/aptitude/aptitude/src/config/colors.cc, /cvsroot/aptitude/aptitude/src/config/colors.h, /cvsroot/aptitude/aptitude/src/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/config/column_definition.h, /cvsroot/aptitude/aptitude/src/config/keybindings.cc, /cvsroot/aptitude/aptitude/src/config/keybindings.h, /cvsroot/aptitude/aptitude/src/config/Makefile.am, /cvsroot/aptitude/aptitude/src/curses++.cc, /cvsroot/aptitude/aptitude/src/curses++.h, /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download_bar.h, /cvsroot/aptitude/aptitude/src/download.h, /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/download_item.h, /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/pkg_node.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.cc, /cvsroot/aptitude/aptitude/src/vscreen/columnify.h, /cvsroot/aptitude/aptitude/src/vscreen/curses++.cc, /cvsroot/aptitude/aptitude/src/vscreen/curses++.h, /cvsroot/aptitude/aptitude/src/vscreen.h, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen/vscreen.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_pager.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_progress.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_progress.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_staticitem.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_staticitem.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statuschoice.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_statusedit.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_tree.h, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.cc, /cvsroot/aptitude/aptitude/src/vscreen/vs_treeitem.h, /cvsroot/aptitude/aptitude/src/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vs_pager.h, /cvsroot/aptitude/aptitude/src/vs_progress.cc, /cvsroot/aptitude/aptitude/src/vs_progress.h, /cvsroot/aptitude/aptitude/src/vs_staticitem.cc, /cvsroot/aptitude/aptitude/src/vs_staticitem.h, /cvsroot/aptitude/aptitude/src/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vs_statuschoice.h, /cvsroot/aptitude/aptitude/src/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vs_statusedit.h, /cvsroot/aptitude/aptitude/src/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h, /cvsroot/aptitude/aptitude/src/vs_treeitem.cc, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
17028
	Stage I of the Great De-Crufting: Moved the vscreen classes into their own
17029
	tree.  This, of course, nukes a lot of the CVS history and leaves an empty
17030
	config/ directory :(
17031
17032
2000-02-09  Daniel Burrows  <daniel@torrent>
17033
17034
	* /cvsroot/aptitude/aptitude/src/matchers.cc, /cvsroot/aptitude/aptitude/src/matchers.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17035
	Pass the package into the matcher as well; this eliminates various bugs and
17036
	crashes involving virtual packages (VerIterator::ParentPkg doesn't work
17037
	for the null iterator at the end of a version list..)
17038
17039
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17040
	Don't filter out virtual packages when searching
17041
17042
	* /cvsroot/aptitude/aptitude/src/download_bar.cc:
17043
	Fix formatting bug when the total size was unknown
17044
17045
2000-02-06  Daniel Burrows  <daniel@torrent>
17046
17047
	* /cvsroot/aptitude/aptitude/Makefile.am:
17048
	Actually create /var/state/aptitude on install, and put
17049
	aptitude-hackers-guide.txt in the distribution tarball
17050
17051
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/NEWS:
17052
	Update for 0.0.6a
17053
17054
	* /cvsroot/aptitude/aptitude/configure.in:
17055
	Bump the version to 0.0.6a (to release with the compile fixes)
17056
17057
	* /cvsroot/aptitude/aptitude/src/download.cc:
17058
	Fix some (more) problems that occur when compiling with optimization on (oops)
17059
17060
	* /cvsroot/aptitude/aptitude/src/download.cc:
17061
	Fix some problems that occur when compiling with optimization on (oops)
17062
17063
	* /cvsroot/aptitude/aptitude/autogen.sh, /cvsroot/aptitude/aptitude/Makefile.am:
17064
	Fixes to more correctly handle generation of config.h.in
17065
17066
	* /cvsroot/aptitude/aptitude/BUGS, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
17067
	Documentation updates
17068
17069
	* /cvsroot/aptitude/aptitude/acconfig.h, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17070
	  Added a minimal online-help screen (it just displays the README file);
17071
	probably I should make something more concise (and maybe even in a cute little
17072
	popup dialog like console-apt has) in the future :)
17073
17074
	* /cvsroot/aptitude/aptitude/acinclude.m4, /cvsroot/aptitude/aptitude/configure.in:
17075
	Add an AC_DEFINE for 'HELPDIR', where some online help stuff will go
17076
17077
	* /cvsroot/aptitude/aptitude/NEWS:
17078
	Added information about the changes in 0.0.6
17079
17080
	* /cvsroot/aptitude/aptitude/aptitude-hackers-guide.txt, /cvsroot/aptitude/aptitude/README:
17081
	Documentation updates
17082
17083
	* /cvsroot/aptitude/aptitude/src/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vs_pager.h:
17084
	Display the approximate percentage of the text viewed in the internal pager
17085
17086
	* /cvsroot/aptitude/aptitude/README: Documentation updates
17087
17088
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17089
	Show something in the header of the package changelog screen
17090
17091
	* /cvsroot/aptitude/aptitude/src/vs_pager.cc:
17092
	Fix annoying visual quirk that occured when scrolling to the right past the end
17093
	of lines
17094
17095
	* /cvsroot/aptitude/aptitude/src/vs_pager.h:
17096
	Remember to initialize the horizontal shift to 0
17097
17098
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vs_pager.h:
17099
	Allow the user to scroll left and right in the internal pager
17100
17101
	* /cvsroot/aptitude/aptitude/src/download_bar.cc: Fix another typo.
17102
17103
	* /cvsroot/aptitude/aptitude/src/download_bar.cc:
17104
	Oops.  Fix typo that prevented compilation.
17105
17106
	* /cvsroot/aptitude/aptitude/src/download_bar.cc:
17107
	More tweaks to the formatting of the download status widget
17108
17109
	* /cvsroot/aptitude/aptitude/src/download_bar.cc:
17110
	Hopefully display slightly more useful information about the package being
17111
	downloaded, and drop the update interval to one second.
17112
17113
	* /cvsroot/aptitude/aptitude/src/download_bar.cc:
17114
	Allow the user to cancel minibuf-controlled downloads with ExitScreen (a little
17115
	hacky..)
17116
17117
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17118
	Default Auto-Fix-Broken to false
17119
17120
	* /cvsroot/aptitude/aptitude/README: Documentation updates for 0.0.6
17121
17122
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17123
	Correctly handle the default limit
17124
17125
	* /cvsroot/aptitude/aptitude/src/matchers.cc:
17126
	Add a section-matching class
17127
17128
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17129
	Doh.  Really make it compile.
17130
17131
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc: Tweak the variable name
17132
17133
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17134
	Allow a configuration option to set the default display limit
17135
17136
	* /cvsroot/aptitude/aptitude/src/download.cc:
17137
	Uh, really make it compile
17138
17139
	* /cvsroot/aptitude/aptitude/src/matchers.cc:
17140
	Remove some gratuitous checks for whitespace which may have interfered with
17141
	entering search and limit terms
17142
17143
	* /cvsroot/aptitude/aptitude/src/download.cc:
17144
	Oops.  Make it compile again
17145
17146
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/vs_minibuf_win.cc:
17147
	Use the color 'error' for all error message
17148
17149
	* /cvsroot/aptitude/aptitude/src/download.cc:
17150
	Using the minibuf download widget now defaults to false
17151
17152
	* /cvsroot/aptitude/aptitude/configure.in: Bump version number to 0.0.6
17153
17154
	* /cvsroot/aptitude/aptitude/src/matchers.cc:
17155
	Added new matcher, ~i, which matches installed packages
17156
17157
	* /cvsroot/aptitude/aptitude/src/matchers.cc:
17158
	  Added a new special match type, ~e, which toggles exact matching of the
17159
	remainder of the expression.  Also, added ~p for matching of the Priority field.
17160
17161
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17162
	Mark virtual packages for which one providing package is installed bold
17163
17164
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
17165
	Fix more error-display glitches
17166
17167
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17168
	Correct the number of columns in the status display
17169
17170
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17171
	  Fixed up some glitches in the columnification code: versions display their
17172
	sizes if applicable, sizes which are 0 are described as <N/A>, non-installed
17173
	packages show "<none>" as their current version (instead of a blank)
17174
17175
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17176
	Remove an old hack to display errors which accidentally got left in and was
17177
	probably causing all sorts of *interesting* problems
17178
17179
	* /cvsroot/aptitude/aptitude/src/vs_pager.cc:
17180
	Don't keep matching the current line when searching in the pager
17181
17182
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/vs_pager.cc, /cvsroot/aptitude/aptitude/src/vs_pager.h:
17183
	  Added an internal pager, and modified the changelog-snarfing code to work with
17184
	it.
17185
17186
2000-02-05  Daniel Burrows  <daniel@torrent>
17187
17188
	* /cvsroot/aptitude/aptitude/src/download_bar.cc:
17189
	  Tweaked the selection of a 'next worker' to (a) be more robust (ie, never
17190
	end up with a stale pointer), and (b) avoid workers with no item /and/ no
17191
	status message.
17192
17193
	* /cvsroot/aptitude/aptitude/src/download_bar.cc:
17194
	Properly display the overall progress
17195
17196
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download.h, /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17197
	  It's now possible to use the 'minibuf download status widget' instead of the
17198
	default full-screen display when downloading packages.
17199
17200
	* /cvsroot/aptitude/aptitude/src/download_bar.cc:
17201
	Only display in the status line
17202
17203
	* /cvsroot/aptitude/aptitude/src/download.cc, /cvsroot/aptitude/aptitude/src/download.h, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17204
	  Split the code to actually perform a download into download.{cc,h}.
17205
17206
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17207
	Unsuccessful searches no longer cause the display to be shifted so that
17208
	the currently selected item is at the top
17209
17210
	* /cvsroot/aptitude/aptitude/src/download_bar.cc:
17211
	Fix the display of the status download progress bar to stay inside its own area
17212
17213
	* /cvsroot/aptitude/aptitude/src/download_bar.cc:
17214
	Fix a nasty segfault that occured when libapt yanked a Worker out from under us
17215
17216
	* /cvsroot/aptitude/aptitude/src/vs_minibuf_win.cc:
17217
	Remove what I did at first -- breaking out is sufficient.
17218
17219
	* /cvsroot/aptitude/aptitude/src/vs_minibuf_win.cc:
17220
	Break out of the loop when we find the widget to delete
17221
17222
	* /cvsroot/aptitude/aptitude/src/vs_minibuf_win.cc:
17223
	Don't go into an infinite loop when removing status widgets (oops..)
17224
17225
	* /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download_bar.h:
17226
	Throttle the speed at which we switch between workers
17227
17228
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download_bar.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/pkg_node.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
17229
	  Got everything to compile.  This required a number of changes, including
17230
	one I'm not sure about: vs_treeitem::dispatch_char now takes an additional
17231
	argument, vs_tree *owner.
17232
17233
	* /cvsroot/aptitude/aptitude/src/vs_minibuf_win.cc:
17234
	Make delete_status_widget a NOP if the widget isn't in the status stack
17235
17236
	* /cvsroot/aptitude/aptitude/src/pkg_changelog.cc: Indentation changes
17237
17238
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_changelog.cc, /cvsroot/aptitude/aptitude/src/pkg_changelog.h:
17239
	  Added code that should allow a package's changelog to be downloaded from
17240
	the Debian web servers.  Still needs to be hooked into the UI for testing.
17241
17242
	* /cvsroot/aptitude/aptitude/src/download_bar.cc, /cvsroot/aptitude/aptitude/src/download_bar.h, /cvsroot/aptitude/aptitude/src/Makefile.am:
17243
	  Added a new download status display, which uses an existing screen's status
17244
	line.  Needs a little work, but should be good for just downloading a single
17245
	small file.
17246
17247
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc:
17248
	The default column format now pads between the left column group and the
17249
	center one; this may not be the best way to do things, though (ie, I should
17250
	perhaps always insert one space between groups)
17251
17252
	* /cvsroot/aptitude/aptitude/src/download_item.cc:
17253
	Errors probably should be white-on-red, not black-on-red
17254
17255
2000-02-04  Daniel Burrows  <daniel@torrent>
17256
17257
	* /cvsroot/aptitude/aptitude/src/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/config/column_definition.h, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc:
17258
	  Fixed the column definition parser for the new padding option.
17259
17260
	* /cvsroot/aptitude/aptitude/src/columnify.cc, /cvsroot/aptitude/aptitude/src/columnify.h, /cvsroot/aptitude/aptitude/src/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/config/column_definition.h, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17261
	  Added support for varying the amount of padding placed after a column
17262
	item; the syntax should be "Item:Width:Pad" but the parser doesn't
17263
	handle it correctly yet.  It works for the single-letter flags,though..
17264
17265
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
17266
	  More tweaking to the display of what's to be done -- packages which are
17267
	being installed other than the ones originally asked for are marked, the entire
17268
	tree of not-installed packages isn't dumped into the 'held back' category,
17269
	and the list of packages being left alone is more general (it includes, for
17270
	example, packages which would be newly installed but were set to Keep)
17271
17272
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
17273
	  Adjusted the code to group packages based on their state to more correctly
17274
	detect and handle broken packages.  Packages for which InstBroken returns
17275
	true are unconditionally put into a broken tree, while packages which have
17276
	changed state due to a broken-package-fixing spree are properly identified.
17277
17278
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vs_minibuf_win.h:
17279
	Added a display_error method to the minibuf_win class, to handle the
17280
	common case of displaying an error in the status line
17281
17282
2000-02-03  Daniel Burrows  <daniel@torrent>
17283
17284
	* /cvsroot/aptitude/aptitude/src/config/keybindings.cc:
17285
	Include config.h from keybindings.cc (to pick up HAVE_LIBAPT_PKG)
17286
17287
	* /cvsroot/aptitude/aptitude/src/dep_item.cc:
17288
	  Fixed a bug that caused dependency list creation to be off-by-one in finding
17289
	the beginning of OR lists.
17290
17291
	* /cvsroot/aptitude/aptitude/acconfig.h, /cvsroot/aptitude/aptitude/config.h.in, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/src/testscr.cc:
17292
	  Modified testscr.cc to remove that *highly annoying* periodic beep by default
17293
	(cleaning out a lot of cruft in the process), got rid of config.h.in from CVS
17294
	(it's autogenerated), modified configure.in to take a --with-period-beep
17295
	argument and to use config.h.
17296
17297
2000-02-02  Daniel Burrows  <daniel@torrent>
17298
17299
	* /cvsroot/aptitude/aptitude/src/config/keybindings.cc:
17300
	Conditionalize use of _error in config/keybindings.h depending on whether
17301
	libapt is available
17302
17303
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
17304
	  Added a (slightly toy) use of vs_statuschoice; you can now be prompted to
17305
	fix broken packages.  Things don't work perfectly, but they work sorta..shelving
17306
	this for the day, playing Freeciv :-)
17307
17308
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/vs_statuschoice.cc, /cvsroot/aptitude/aptitude/src/vs_statuschoice.h:
17309
	  Added simple code to present a multiple-choice question in the status line.
17310
	Hopefully this'll become more complex in the future. :)
17311
17312
	* /cvsroot/aptitude/aptitude/src/vscreen.cc:
17313
	Use quotes instead of brackets to include config/keybindings.h
17314
17315
2000-02-01  Daniel Burrows  <daniel@torrent>
17316
17317
	* /cvsroot/aptitude/aptitude/src/vs_minibuf_win.h:
17318
	  Renamed the various colors used by the minibuf-win to get rid of the "tree"
17319
	references -- basically changed them to "screen_*".
17320
17321
	* /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h, /cvsroot/aptitude/aptitude/src/vs_minibuf_win.cc, /cvsroot/aptitude/aptitude/src/vs_minibuf_win.h, /cvsroot/aptitude/aptitude/src/vs_progress.cc, /cvsroot/aptitude/aptitude/src/vs_progress.h, /cvsroot/aptitude/aptitude/src/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vs_statusedit.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
17322
	  Two major changes:
17323
17324
	  First, a new class called "vs_minibuf_win" has been added; it's a sort of
17325
	intermediate level between vscreen and vs_tree which provides simple support for
17326
	the header and status line-motif.
17327
	  Second, vscreen::repaint no longer has the semantic of implicitly refreshing
17328
	the display.
17329
17330
2000-01-31  Daniel Burrows  <daniel@torrent>
17331
17332
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17333
	You can now de-hold a held installed package by pressing the hold key again
17334
17335
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17336
	Erk.  Make it compile again
17337
17338
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17339
	  Fixed the handling of keystrokes leading to a "hold" or "keep" state -- in
17340
	particular, packages shouldn't be put on hold just by cancelling a delete
17341
	directive.
17342
17343
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17344
	  Major sanitization to the handling of the display of broken packages --
17345
	hopefully things should be more consistent now.  Hopefully.
17346
17347
	* /cvsroot/aptitude/aptitude/src/matchers.cc:
17348
	Don't crash when using the broken-package matcher on
17349
	virtual packages
17350
17351
	* /cvsroot/aptitude/aptitude/src/matchers.cc:
17352
	  Added match types for virtual and broken patches (the matching itself is
17353
	currently broken..)
17354
17355
	* /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h:
17356
	  Renamed init_vscreen to vscreen_init, for consistency
17357
17358
	* /cvsroot/aptitude/aptitude/src/vscreen.cc:
17359
	  Fixed the mysterious bug that was causing timeouts to sometimes be delayed
17360
	until a key was pressed.
17361
17362
	* /cvsroot/aptitude/aptitude/src/vscreen.cc:
17363
	  Fixed what was maybe a potential bug with overflowing times when calculating
17364
	the activation time of a timeout.
17365
17366
2000-01-30  Daniel Burrows  <daniel@torrent>
17367
17368
	* /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h:
17369
	  I kept trying to enter the arguments to vscreen_addtimeout backwards, so
17370
	I reversed the order that it expects them in :)  (presumably this is more
17371
	logical and intuitive..)
17372
17373
	* /cvsroot/aptitude/aptitude/src/config/keybindings.cc, /cvsroot/aptitude/aptitude/src/config/keybindings.h, /cvsroot/aptitude/aptitude/src/curses++.cc, /cvsroot/aptitude/aptitude/src/curses++.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h:
17374
	  Fiddled with the copyright dates on various source files (I'm not sure if this
17375
	is really necessary?)  Stopped after a couple and decided to do it lazily in the
17376
	future :)
17377
17378
	* /cvsroot/aptitude/aptitude/src/testscr.cc:
17379
	Added test code for the timeout routines; Aptitude will beep once a
17380
	second while this is enabled :)
17381
17382
	* /cvsroot/aptitude/aptitude/src/vscreen.h:
17383
	Forgot to make timeout_closure::activate abstract, which was preventing
17384
	compilation; fixed
17385
17386
	* /cvsroot/aptitude/aptitude/src/vscreen.cc:
17387
	Initialize timeout_value to 0 in vscreen::vscreen
17388
17389
	* /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17390
	  Added the first iteration of code to provide a mechanism for timeouts
17391
	in the main vscreen event handler.  Not especially efficient, but no less
17392
	efficient than, say, glib's :)  (it really *ought* to use a heap, but
17393
	I don't expect to be using it heavily enough for this to be a huge issue)
17394
	  Also, the vscreen code itself now handles the Refresh keystroke; I removed
17395
	the test for that from vs_tree.cc .
17396
17397
	* /cvsroot/aptitude/aptitude/src/defaults.cc:
17398
	Bind C-l to Refresh by default
17399
17400
2000-01-29  Daniel Burrows  <daniel@torrent>
17401
17402
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17403
	Make searches wrap around to the beginning
17404
17405
2000-01-26  Daniel Burrows  <daniel@torrent>
17406
17407
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
17408
	Add support for limiting the display to packages matching a given pattern
17409
17410
	* /cvsroot/aptitude/aptitude/src/matchers.cc:
17411
	Don't crash when handed virtual packages (how'd I miss this one?)
17412
17413
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
17414
	  Added two new bindings, ExpandAll and CollapseAll.  ExpandAll expands a
17415
	subtree and all of its children, and CollapseAll collapses a subtree and its
17416
	children.  (I'm not quite sure about the default bindings -- '[' and ']',
17417
	though..)
17418
17419
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17420
	Fix a potential glitch in the status-widget code
17421
17422
	* /cvsroot/aptitude/aptitude/src/matchers.cc:
17423
	  Modified the matching code to support actual grammer -- grouping, ands, ors,
17424
	nots, etc.
17425
17426
2000-01-25  Daniel Burrows  <daniel@torrent>
17427
17428
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/matchers.cc, /cvsroot/aptitude/aptitude/src/matchers.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17429
	  Added rudimentary support for more complex search commands.
17430
17431
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17432
	Add columns for Seciton and Priority (they may need a little work)
17433
17434
2000-01-20  Daniel Burrows  <daniel@torrent>
17435
17436
	* /cvsroot/aptitude/aptitude/BUGS:
17437
	Purged a fixed bug and mentioned that the list is very incomplete
17438
17439
	* /cvsroot/aptitude/aptitude/Makefile.am:
17440
	Don't clobber the source directory's placeholder ChangeLog in 'make dist'
17441
17442
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17443
	Honor the package status column format for version items, also
17444
17445
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc:
17446
	Change the default package column format to get rid of the file sizes
17447
17448
	* /cvsroot/aptitude/aptitude/NEWS: Update the NEWS file
17449
17450
	* /cvsroot/aptitude/aptitude/aptitude-hackers-guide.txt:
17451
	Update the hacker's guide (sorta)
17452
17453
	* /cvsroot/aptitude/aptitude/README: Update documentation for 0.0.5
17454
17455
	* /cvsroot/aptitude/aptitude/configure.in:
17456
	Bump the version number to 0.0.5
17457
17458
	* /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h:
17459
	  pkg_item_with_subtree objects now check for vs_subtree keystrokes before
17460
	pkg_item keystrokes.  The upshot is that you can expand and collapse them,
17461
	something which became impossible when I bound Enter in pkg_item. (oops)
17462
17463
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17464
	  Added a command to switch between displaying (by default) the current and
17465
	the candidate versions of a package.
17466
17467
2000-01-19  Daniel Burrows  <daniel@torrent>
17468
17469
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17470
	  Added support for displaying reverse dependencies of a package.  They're
17471
	displayed in the general info screen or when you type 'r', but I may want to
17472
	remove them from the general screen (they clutter it up too much)
17473
17474
	* /cvsroot/aptitude/aptitude/src/pkg_subtree.h:
17475
	pkg_subtree now takes a string as its initializer
17476
17477
2000-01-18  Daniel Burrows  <daniel@torrent>
17478
17479
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17480
	  Unreversed the flags for to-be-installed and to-be-deleted versions. (oops)
17481
17482
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17483
	Fix a silly thinko that was causing the status line to mysteriously blank
17484
	itself from time to time; in particular, after a download completed
17485
17486
	* /cvsroot/aptitude/aptitude/src/download_screen.cc:
17487
	Make sure the status line is displayed when there are missing packages
17488
17489
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17490
	  Modified pkg_ver_item to honor column layout information.
17491
17492
	* /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h:
17493
	  Added three new column format options: LongState, LongAction, and Maintainer.
17494
	LongState and LongAction are more verbose indicators of the current state and
17495
	the action to be taken, while Maintainer is the obvious.
17496
17497
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_columnizer.cc, /cvsroot/aptitude/aptitude/src/pkg_columnizer.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17498
	  Split pkg_columnizer into its own file; it was getting too large and messy.
17499
17500
	* /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17501
	  When you ask for information about a package, you're now given information
17502
	about the visible version of the package; if you ask for information about a
17503
	specific version, the logical thing happens ;-)
17504
17505
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17506
	  Allow the user to modify the formatting of the status line the same way the
17507
	formatting of the package list is modified.
17508
17509
	* /cvsroot/aptitude/aptitude/src/config/column_definition.cc:
17510
	Fix a bug that caused incorrect parsing of column definitions with a
17511
	trailing ':'
17512
17513
	* /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h:
17514
	Make the pkg_item_with_subtree consistent with other subtrees by adding a space
17515
	after the +/- indicator.
17516
17517
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
17518
	  Added code to separate out obsolete/local packages into their own tree when
17519
	grouping by status.
17520
17521
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17522
	Reinstall and Purge now have their own action flags (instead of
17523
	piggybacking on Install and Delete)
17524
17525
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17526
	  Added a binding, ReSearch, which repeats the last search in a single
17527
	keystroke.  Defaults to '\'.
17528
17529
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17530
	Oops.  Make it compile again.
17531
17532
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17533
	Fix a silly mistake which caused the status line to get messed up when
17534
	you searched for an item
17535
17536
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h:
17537
	  Finally added code to display package information in the package list the
17538
	Right Way[tm]; instead of arbitrarily picking a version, routines that need
17539
	to look up information (say, file size) about a particular version call
17540
	pkg_item::visible_version().  Currently it just returns the candidate version,
17541
	but I'll change that eventually so it can return either the candidate or the
17542
	current version.
17543
17544
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h:
17545
	  Modified the pkg_item_with_subtree class to display columns.
17546
17547
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17548
	Allow subclasses of pkg_columnizer to see the stored package
17549
17550
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h:
17551
	The pkg_columnizer class is now protected and its setup_column method
17552
	is now virtual, so subclasses can override the default behavior.
17553
17554
	* /cvsroot/aptitude/aptitude/src/pkg_item.h:
17555
	You can now at least see the column definition list from outside
17556
	pkg_item
17557
17558
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17559
	Fixed a rather dumb mistake that was causing segfaults, and made the default
17560
	format string contain the version columns
17561
17562
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17563
	 Now display 'p' for the state of purged packages and 'u' for the state of
17564
	unpacked packages.
17565
	 Added two more column types: "CurrentVersion" and "CandidateVersion" (they
17566
	display the currently installed version and the version which will be installed,
17567
	respectively)
17568
17569
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17570
	The column headers for the action and state flags are now longer; for the
17571
	default column size they'll be truncated back to a single character, but
17572
	weird people might want to make the state longer :)
17573
17574
	* /cvsroot/aptitude/aptitude/src/columnify.cc, /cvsroot/aptitude/aptitude/src/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17575
	  columnify now interprets a column-width of -1 as meaning that the column
17576
	should be exactly the size of the string it contains.  In the configuration
17577
	this is indicated by putting a trailing ':' on the column name, but omitting the
17578
	size.
17579
17580
	* /cvsroot/aptitude/aptitude/src/columnify.cc:
17581
	  Finally hunted down and squashed the bug that was cutting off the last
17582
	character of some right-justified columns.  In fact it was simpler than I
17583
	thought -- I confused the length of the text in a column with the size of the
17584
	column.  Oops.
17585
17586
	* /cvsroot/aptitude/aptitude/src/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/config/column_definition.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h:
17587
	  It's now possible to set a column's width by adding ":size" to the
17588
	definition.  For example, "Description:10" will create a Description column of
17589
	width 10.
17590
17591
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17592
	  Changed the default column format to include an 'action' flag.
17593
17594
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17595
	  Added two more things that can be displayed in columns: ActionFlag, showing
17596
	what APT will do with the package, and Description, showing green aliens from
17597
	Pluto--er, I mean the package description.
17598
17599
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17600
	Allow 30 characters for the package name instead of 20
17601
17602
2000-01-17  Daniel Burrows  <daniel@torrent>
17603
17604
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17605
	  Added an option (which is a bit of a hack :( ) to attempt to display titles
17606
	over the various columns of packges identifying the column in question.  The
17607
	problem is that the middle column -- the one aligned with the package's location
17608
	in the tree -- can't be accurately determined, so I just guess at it for the
17609
	moment.  There may not be a good solution to this problem..
17610
17611
	* /cvsroot/aptitude/aptitude/src/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vs_statusedit.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
17612
	  Added hooks in the status widget class which allow the widget to take action
17613
	when it becomes and/or stops being the visible item.  This allows the
17614
	text-editing widget's behavior with respect to leaveok to be correct.
17615
17616
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vs_statusedit.h:
17617
	  Major changes to the status-line edit widget.  Among other things, it now
17618
	supports movement of the cursor, handles strings longer than the screen width
17619
	more-or-less correctly, and allows you to cancel an action (with Ctrl-G)
17620
17621
	* /cvsroot/aptitude/aptitude/src/config/keybindings.cc, /cvsroot/aptitude/aptitude/src/config/keybindings.h:
17622
	  Export the KEY_CTRL and KEY_SHIFT macros, flaky as they are -- some other
17623
	routines might have a use for them.
17624
17625
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/vs_tree.h:
17626
	  Moved the pkg_item column info into the class itself, and added a way to
17627
	change it from the UI (default binding is 'p')
17628
17629
	* /cvsroot/aptitude/aptitude/src/columnify.cc:
17630
	Fixed an off-by-one error in the column-width calculation; there's another,
17631
	similar problem lurking somewhere
17632
17633
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17634
	Moved the declaration of pkg_columnizer::type to be on the same screen
17635
	of text as the definition of pkg_columnizer::sizes
17636
17637
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17638
	Display the status of virtual packages as 'v'
17639
17640
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17641
	Change the default column layout to be more interesting
17642
17643
	* /cvsroot/aptitude/aptitude/src/config/column_definition.cc, /cvsroot/aptitude/aptitude/src/config/column_definition.h, /cvsroot/aptitude/aptitude/src/config/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17644
	  Added a whole lot of code to parse, store, and use information about how
17645
	the columns in package lists (and, eventually, other things) should be laid
17646
	out.
17647
17648
	* /cvsroot/aptitude/aptitude/src/columnify.cc, /cvsroot/aptitude/aptitude/src/columnify.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17649
	columnify now has (slightly hacky but servicable) code to make negative
17650
	starting offsets mean that the column group is right-justified.
17651
17652
2000-01-16  Daniel Burrows  <daniel@torrent>
17653
17654
	* /cvsroot/aptitude/aptitude/src/vscreen.cc:
17655
	Don't die with an assertion failure if we get a KEY_RESIZE..libncurses5
17656
	seems to sometimes actually provide them (this is as opposed to libncurses4's
17657
	behavior) but I don't have time to work out when it gives us them at the
17658
	moment..
17659
17660
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17661
	Resizing the window to be very thin could cause an incorrect header to be
17662
	displayed, due to the fact that the right-hand column group could get
17663
	initialized with a negative starting offset.
17664
17665
	* /cvsroot/aptitude/aptitude/src/testscr.cc:
17666
	Manually clear the screen on exit (libncurses5 doesn't always)
17667
17668
	* /cvsroot/aptitude/aptitude/src/vs_progress.cc:
17669
	When I wrote the progress widget, I overlooked Progress::CheckChange.  Now
17670
	 use it to throttle update frequency -- improves performance remarkably\!
17671
17672
	* /cvsroot/aptitude/aptitude/src/columnify.cc:
17673
	Force at least one space in between columns
17674
17675
2000-01-15  Daniel Burrows  <daniel@torrent>
17676
17677
	* /cvsroot/aptitude/aptitude/src/columnify.cc, /cvsroot/aptitude/aptitude/src/columnify.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17678
	  Added columnify.cc and columnify.h, a general mechanism for formatting strings
17679
	into columns.  (it could probably be optimized a little by removing the STL
17680
	stuff, but so could the whole program..)  Currently it is used in a hacky
17681
	fashion by pkg_tree.cc; once it seems to work (it does already :) ) I'll
17682
	do things right.
17683
17684
	* /cvsroot/aptitude/aptitude/README:
17685
	Document the ExpandTree and CollapseTree bindable functions
17686
17687
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17688
	Correctly flag broken package versions as..well..broken.
17689
17690
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
17691
	  Don't claim that virtual packages are broken and being held back.
17692
17693
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
17694
	  Include a special group in the preview screen for packages which won't have
17695
	action taken due to broken dependencies.
17696
17697
2000-01-11  Daniel Burrows  <daniel@torrent>
17698
17699
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17700
	Allow the user to get package information by pressing the PackageInfoScreen
17701
	key while a version is selected -- this ought to display info for a particular
17702
	version but doesn't yet..
17703
17704
	* /cvsroot/aptitude/aptitude/src/testscr.cc:
17705
	Don't crash if root tries to run us but we can't lock the package directory
17706
17707
2000-01-10  Daniel Burrows  <daniel@torrent>
17708
17709
	* /cvsroot/aptitude/aptitude/NEWS:
17710
	Add an entry to NEWS for release 0.0.4a
17711
17712
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/src/curses++.h:
17713
	  Hack around the fact that libncurses5 no longer implicitly hides the cursor
17714
	when leaveok is set to true.
17715
17716
	* /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
17717
	  Argh.  I forgot to commit this stuff before tagging 0.0.4 .  Grrr....
17718
17719
	* /cvsroot/aptitude/aptitude/src/aptcache.cc:
17720
	  Hopefully honor Auto-Install when automatically upgrading packages as well.
17721
17722
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17723
	Also honor Aptitude::Auto-Install when the package is installed by selecting
17724
	a particular version
17725
17726
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17727
	Don't send characters to unselectable items
17728
17729
	* /cvsroot/aptitude/aptitude/Makefile.am:
17730
	Hopefully get a CVS logfile when doing 'make dist'
17731
17732
	* /cvsroot/aptitude/aptitude/aptitude-hackers-guide.txt, /cvsroot/aptitude/aptitude/BUGS:
17733
	  Documentation updates..
17734
17735
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
17736
	  Updated the "preview actions" screen to show reinstalled packages.
17737
17738
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17739
	Fixed the semantics of fiddling with version items to handle reinstall and
17740
	be slightly more consistent
17741
17742
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/aptcache.cc, /cvsroot/aptitude/aptitude/src/aptcache.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17743
	  Added full support for reinstallation of packages and tweaked the
17744
	documentation to mention this.
17745
17746
	* /cvsroot/aptitude/aptitude/BUGS, /cvsroot/aptitude/aptitude/README:
17747
	  Added a list of known bugs, and brought the README up-to-date with the current
17748
	state of things.
17749
17750
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17751
	Renamed Aptitude::UI::Display-SizeStats to Aptitude::Display-SizeStats
17752
17753
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17754
	  Slightly tweaked the download/install-size display..it now correctly hides
17755
	zero-byte changes while not hiding non-zero-byte changes.
17756
17757
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/src/testscr.cc:
17758
	  Commented out (with "#if 0") gobs of rigged-up test code, and bumped the
17759
	configure.in version to 0.0.4 .  Yes, I'm finally getting ready for another
17760
	release..
17761
17762
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/vs_tree.h:
17763
	  Display an indicator of the amount of stuff being downloaded and installed
17764
	at the top of package trees.
17765
17766
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/vs_staticitem.cc, /cvsroot/aptitude/aptitude/src/vs_staticitem.h:
17767
	  Moved the vs_staticitem class into another file, where it belongs.
17768
17769
	* /cvsroot/aptitude/aptitude/src/vs_progress.cc, /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17770
	Hopefully don't display the weird ": 0%" message when nothing has happened yet
17771
17772
	* /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc:
17773
	  Finally, finally fixed the package size displayed in the package information
17774
	screen.
17775
17776
2000-01-09  Daniel Burrows  <daniel@torrent>
17777
17778
	* /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc:
17779
	  Only add a "Source Package:" line in the info screen if the
17780
	'SourcePackage' string is nonempty.
17781
17782
	* /cvsroot/aptitude/aptitude/src/defaults.cc:
17783
	  Trrying something new -- "Enter" now display info about a package.
17784
17785
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17786
	  Previously, the selection bar, when a new page was encountered while in the
17787
	middle of non-selectable gunk, would get temporarily 'stuck' -- you'd have to
17788
	press down or up again to select something.  It has more logical behavior now,
17789
	and another bug in the scrolling was cleared up..
17790
17791
2000-01-08  Daniel Burrows  <daniel@torrent>
17792
17793
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17794
	  Do something slightly more sensible if a non-selectable thing gets selected--
17795
	just hide the selection (yes, it's silly :) )
17796
17797
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
17798
	  Added descriptive headers to various information screens.
17799
17800
	* /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc:
17801
	  Display the names of the attributes of a package ("Section:", "Maintainer:",
17802
	etc) with the A_BOLD flag on.
17803
17804
	* /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h:
17805
	  Display the "Description" header of the description line with the A_BOLD
17806
	attribute.
17807
17808
	* /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc:
17809
	  Actually display the package itself in the information screen about it.
17810
17811
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17812
	  Fixed a number of visual bugs involving mixtures of selectable and
17813
	non-selectable items.
17814
17815
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_info_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_info_screen.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vs_treeitem.cc, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
17816
	  Added preliminary support for a unified package information screen.  Needs
17817
	a little work, still..
17818
17819
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
17820
	  Fixed a problem that was causing all sorts of weirdness and segfaults by doing
17821
	what I should have done long ago: all package trees are now tracked in a
17822
	container, so when something changes that requires that their pointers be
17823
	updated, all of them can be updated at once.
17824
17825
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17826
	  Commented out the call to InstallProtect--it /should/ be unnecessary and
17827
	was causing packages to be upgraded in spite of being marked as Held.
17828
17829
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
17830
	  Setting the configuration option "Aptitude::Fix-Broken" to true will cause
17831
	Aptitude to attempt to fix up dependencies before installing packages.  This
17832
	is a little quirky, but I'm defaulting it to on for now.
17833
17834
	* /cvsroot/aptitude/aptitude/src/aptcache.cc:
17835
	Enable autoinstall sometimes (hmm..)
17836
17837
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17838
	  You can now request autoinstall of dependencies by setting the
17839
	configuration option Aptitude::Auto-Install to true.
17840
17841
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
17842
	  Added a hook to catch when a transient message has been removed.  Not sure if
17843
	it's useful right now, but.. :)
17844
17845
	* /cvsroot/aptitude/aptitude/src/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vs_statusedit.h:
17846
	  Fixed some backwards logic dealing with leaveok and getting string input from
17847
	the user..
17848
17849
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
17850
	  Finally added an intermediate install-run screen, in which Aptitude displays
17851
	what it's about to do before actually doing it.
17852
17853
2000-01-07  Daniel Burrows  <daniel@torrent>
17854
17855
	* /cvsroot/aptitude/aptitude/src/vs_statusedit.cc:
17856
	  Added some hacks to try to have the cursor do something sensible while a
17857
	search term is being edited.  It's not working (grrr....)
17858
17859
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vscreen.h, /cvsroot/aptitude/aptitude/src/vs_statusedit.cc, /cvsroot/aptitude/aptitude/src/vs_statusedit.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
17860
	  Generalized the search-entry stuff slightly and moved it to the new
17861
	status-widget system, which eliminated a whole lot of nastiness.  It also
17862
	caused some minor internal API tweaks..not sure how many of them are good
17863
	long-term ideas..but they're infinitely better than the mess I had before.
17864
17865
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
17866
	  Errors are now pushed onto the back of a display queue instead of the front.
17867
	This has two effects: first, they show up behind other things (text being
17868
	edited, for example) and second, they appear in the right order (as opposed to
17869
	in reverse order..)
17870
17871
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/vs_progress.cc, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
17872
	  Moved the error indicators over to the new system.  In the process, fixed some
17873
	weirdness which occured when a non-root user tried to update package lists and
17874
	got an error.
17875
17876
	* /cvsroot/aptitude/aptitude/src/curses++.cc, /cvsroot/aptitude/aptitude/src/curses++.h, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h, /cvsroot/aptitude/aptitude/src/vs_progress.cc, /cvsroot/aptitude/aptitude/src/vs_progress.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
17877
	Added support code to handle transient messages and minibuffer-style editing
17878
	the Right Way[tm].  This obviously touches a *lot* of source files.  Hopefully
17879
	it's worth it :)
17880
17881
2000-01-06  Daniel Burrows  <daniel@torrent>
17882
17883
	* /cvsroot/aptitude/aptitude/src/dep_item.cc:
17884
	Fix the "eternal dependency OR" bug (the OR counter wasn't being cleared,
17885
	so after encountering one 'or', everything afterwards was treated as
17886
	part of it)
17887
17888
2000-01-03  Daniel Burrows  <daniel@torrent>
17889
17890
	* /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h:
17891
	More fiddling with handling of leaveok; unfortunately, it didn't help
17892
17893
	* /cvsroot/aptitude/aptitude/src/curses++.h, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17894
	Updated it to at least compile against libncurses5
17895
17896
2000-01-02  Daniel Burrows  <daniel@torrent>
17897
17898
	* /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc:
17899
	  Added some more information in the download screen: the actual number of bytes
17900
	downloaded, and the estimated time to completion (with the latter shamelessly
17901
	stolen from apt-get)
17902
17903
2000-01-01  Daniel Burrows  <daniel@torrent>
17904
17905
	* /cvsroot/aptitude/aptitude/src/aptcache.cc:
17906
	  Eliminated the annoying warning message when the package state file can't be
17907
	opened simply because it doesn't exist.
17908
17909
	* /cvsroot/aptitude/aptitude/src/aptcache.cc:
17910
	  Finally hunted down the bug with New packages being ignored or forgotten --
17911
	changing the name of the tag in the statefile to Unseen (which isn't as
17912
	accurate, but..) worked!  I say it's a bug in the tagfile class, but anyway
17913
	it's working again..
17914
17915
1999-12-28  Daniel Burrows  <daniel@torrent>
17916
17917
	* /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/config/colors.cc, /cvsroot/aptitude/aptitude/src/config/colors.h:
17918
	Ok, you can now use symbolic names ("white", "black", etc) for colors.
17919
17920
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
17921
	Added a potential new binding; binding something to Refresh will make it force
17922
	a redraw of the screen.  Not sure what the default should be :)
17923
17924
	* /cvsroot/aptitude/aptitude/src/config/colors.cc, /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h:
17925
	Ok, fixed the problem which was causing the screen to not be refreshed
17926
	when colors were altered (it's an ncurses bug but I hacked around it..)
17927
17928
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
17929
	  vs_trees no longer even pretend to store their colors internally; all color
17930
	tests go through vs_tree::get_*_color.  This makes it a lot easier to change the
17931
	default :) -- although I may want to switch to using a static list of defaults
17932
	(trying to keep all the different default settings up-to-date is an incredible
17933
	pain..)
17934
17935
	* /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
17936
	You almost certainly want the background color to be used to display tree items
17937
	(otherwise everything looks awful), so vs_treeitem::get_normal_attr() now
17938
	returns the background color.
17939
17940
	* /cvsroot/aptitude/aptitude/src/vs_tree.h:
17941
	  The last commit swapped the background and status colors of the vs_tree for
17942
	some routines.  Oops.  get_background_color() and get_status_color() now
17943
	return the Right Thing[tm]..
17944
17945
	* /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/config/colors.cc, /cvsroot/aptitude/aptitude/src/config/colors.h, /cvsroot/aptitude/aptitude/src/config/Makefile.am, /cvsroot/aptitude/aptitude/src/curses++.cc, /cvsroot/aptitude/aptitude/src/curses++.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
17946
	  Finally added the ability to change colors using apt.conf .  Syntax is:
17947
	SomeColor {Fg; Bg;};
17948
	  where Fg and Bg are color numbers (see curses.h).  Sort of works. :)
17949
17950
	* /cvsroot/aptitude/aptitude/config.h.in, /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/download_item.h, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h:
17951
	  Reverted the changes -- I can't make them work properly with libapt
17952
	the way it is, and the old system was at least somewhat stable and workable.
17953
	Even if it doesn't display "Connecting" and "Waiting for File" messages :)
17954
17955
1999-12-27  Daniel Burrows  <daniel@torrent>
17956
17957
	* /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/download_item.h, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h:
17958
	  Tried to modify the download status code to display messages while the
17959
	download processes are connecting, waiting for files, etc.  It's..um..sorta
17960
	working.  It stopped crashing, anyway..
17961
17962
	* /cvsroot/aptitude/aptitude/src/apt.cc:
17963
	Notice both errors /and/ warnings
17964
17965
1999-12-23  Daniel Burrows  <daniel@torrent>
17966
17967
	* /cvsroot/aptitude/aptitude/src/aptcache.cc, /cvsroot/aptitude/aptitude/src/aptcache.h:
17968
	Fixed another thinko; held packages weren't properly being held.  MarkKeep now
17969
	sets the state to "hold" *by default*, but takes another optional parameter
17970
	to change this.
17971
17972
1999-12-22  Daniel Burrows  <daniel@torrent>
17973
17974
	* /cvsroot/aptitude/aptitude/src/aptcache.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc:
17975
	Fixed a number of thinkos and got watching of the dselect status working; also,
17976
	made the callers of MarkKeep responsible for changing the selection state
17977
	(hmmm...)
17978
17979
	* /cvsroot/aptitude/aptitude/src/aptcache.cc:
17980
	Initialize the selection states when we allocate them for the first time
17981
17982
	* /cvsroot/aptitude/aptitude/src/aptcache.cc:
17983
	Fixed a bug that would have caused us never to change what the 'last' selected
17984
	state was
17985
17986
	* /cvsroot/aptitude/aptitude/src/aptcache.cc, /cvsroot/aptitude/aptitude/src/aptcache.h:
17987
	Added a hack to attempt to detect changes in the dpkg status of a package and
17988
	compensate accordingly
17989
17990
1999-12-20  Daniel Burrows  <daniel@torrent>
17991
17992
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/src/Makefile.am:
17993
	Fixed a couple of things that caused 'make dist' to fail, and corrected the
17994
	version number
17995
17996
	* /cvsroot/aptitude/aptitude/aptitude-hackers-guide.txt, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/TODO:
17997
	  Updated the documentation in preparation for release 0.0.3 .  Split out the
17998
	TODO and code guide from README.
17999
18000
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc: Fix syntax error
18001
18002
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
18003
	Don't check the currently selected item for matches.
18004
18005
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
18006
	Allow the search to match any substring
18007
18008
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
18009
	Oops, change the selected package when we find something.  Also, it seems that
18010
	we need to call refresh after beeping or the beep never happens..
18011
18012
	* /cvsroot/aptitude/aptitude/src/testscr.cc:
18013
	Finally get the bloody thing to compile again.. (the gods of C++ are clearly
18014
	angered with me for the disgusting mess that is the vs_treeitem system..)
18015
18016
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
18017
	Make it compile again, hopefully.
18018
18019
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
18020
	Eliminated the problem which lead to problems entering search strings.
18021
	Unfortunately, used an ugly hack to do it :(  This needs to be fixed by
18022
	adding a minibuffer stack in the next release.
18023
18024
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18025
	Hopefully, finished getting the search code compiled and integrated into the
18026
	vs_tree class.
18027
18028
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_node.h, /cvsroot/aptitude/aptitude/src/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18029
	  Added code (some of which is IMO rather kludgy) which should allow the user
18030
	to search for packages in the tree.
18031
18032
	* /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_node.cc:
18033
	Added bindable commands HoldPackage and PurgePackage; they default to
18034
	dselect-style bindings (because I'm lazy :) )
18035
18036
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18037
	Fix the not-compiling error introduced in the last commit, oops..
18038
18039
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18040
	Added configuration options Aptitude::Forget-New-On-Update and
18041
	Aptitude::Forget-New-On-Install.  The first causes information about what
18042
	packages are 'new' to be discarded when the package lists are updated; the
18043
	second causes this information to be discarded when an install run is
18044
	performed.  Untested, but it's so trivial that I don't feel a need
18045
	to test (which means it's probably the one part of the program that'll eat
18046
	the user's filesystem alive ;-) )
18047
18048
	* /cvsroot/aptitude/aptitude/src/aptcache.cc, /cvsroot/aptitude/aptitude/src/aptcache.h:
18049
	  Finished up preliminary support for sticky package selections.  I decided to
18050
	essentially mimic dselect's behavior for now; more complex behavior will be
18051
	coming next millennium :)  (yes, 2000 *is* the end of the millennium; everyone
18052
	knows you count from 0..)
18053
	  Unfortunately, I also removed the dselect integration in this commit.  Trying
18054
	to figure out how to maintain two separate databases of package selection states
18055
	was too much for my feeble mind ;-)  Actually, the main problem was that you'd
18056
	have to release the dpkg lock from inside an aptitudeDepCache in order to run
18057
	dpkg --set-selections, which is icky..
18058
	  Anyway, since most of dselect's important abilities (with the notable
18059
	exceptions of running on poor terminals and searching for packages) are now
18060
	available in aptitude, this won't be too painful.  Maybe it'll spur me to finish
18061
	up the remaining features :)
18062
18063
1999-12-19  Daniel Burrows  <daniel@torrent>
18064
18065
	* /cvsroot/aptitude/aptitude/src/aptcache.cc:
18066
	Add code to make the selection states 'sticky' -- using the same mechanism as
18067
	the sticky 'newness'.
18068
18069
	* /cvsroot/aptitude/aptitude/src/aptcache.cc, /cvsroot/aptitude/aptitude/src/aptcache.h, /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18070
	  Persistent-state code in hand, I rewrote forget_net as a method of
18071
	aptitudeDepCache, which was the point of this whole bloody exercise anyway --
18072
	and..IT LIVES!  IT LIVES!  <maniacal laughter>
18073
	  Oh, and now that ForgetNewPackages doesn't cause an immediate segfault, I've
18074
	added a default keybinding for it (it's bound to 'f')
18075
18076
	* /cvsroot/aptitude/aptitude/src/vs_treeitem.h, /cvsroot/aptitude/aptitude/src/vs_subtree.h:
18077
	Fix a rather nasty and hard to track down segfault
18078
18079
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
18080
	Now that I have my own persistent 'new' information, use it to build the tree.
18081
18082
	* /cvsroot/aptitude/aptitude/src/curses++.cc: More compile fixes
18083
18084
	* /cvsroot/aptitude/aptitude/src/testscr.cc:
18085
	Fix a thinko that broke the compile
18086
18087
	* /cvsroot/aptitude/aptitude/src/aptcache.cc, /cvsroot/aptitude/aptitude/src/aptcache.h, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/testscr.cc:
18088
	Actually save the selection states, and handle missing stuff more sanely
18089
18090
	* /cvsroot/aptitude/aptitude/src/aptcache.cc, /cvsroot/aptitude/aptitude/src/aptcache.h, /cvsroot/aptitude/aptitude/src/apt.cc:
18091
	  Altered the aptitudeDepCache to include a first stab at persistent state.
18092
	dselect selection inheritence was moved into this file as well, and is now
18093
	off by default (set Aptitude::Use-DSelect-Selections to turn it on)
18094
18095
	* /cvsroot/aptitude/aptitude/src/aptcache.cc, /cvsroot/aptitude/aptitude/src/aptcache.h, /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/apt.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h:
18096
	  Reimplemented pkgCacheFile, in order to (in the future :) ) add my own
18097
	depcache extensions.  The code was basically retyped from cachefile.cc (so it
18098
	fits my own style of indentation and so on)
18099
18100
	* /cvsroot/aptitude/aptitude/src/config/keybindings.cc:
18101
	Fixed two off-by-one errors in keybindings.cc which made it impossible to bind
18102
	to modified keys.
18103
18104
	* /cvsroot/aptitude/aptitude/src/apt.cc:
18105
	  You can now bind actions to multiple keys with the syntax:
18106
	SomeAction "key1,key2,key3";
18107
	  in apt.conf.
18108
18109
	* /cvsroot/aptitude/aptitude/src/config/keybindings.cc:
18110
	When you're storing stuff in lower case, it's a good idea to turn strings to
18111
	lower case instead of upper case when you search for them, now isn't it?..
18112
18113
	* /cvsroot/aptitude/aptitude/src/config/keybindings.cc:
18114
	Complete the fix (doh\!)
18115
18116
	* /cvsroot/aptitude/aptitude/src/config/keybindings.cc:
18117
	  Fixed a silly thinko in keybindings.cc which caused keys in configuration
18118
	files to sometimes be read with the opposite "shifted" state from what was
18119
	expected.
18120
18121
	* /cvsroot/aptitude/aptitude/src/defaults.cc:
18122
	Include default bindings for pkg_tree stuff
18123
18124
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18125
	Synced pkg_tree's keybinding names with the general conventions
18126
18127
	* /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/apt.h, /cvsroot/aptitude/aptitude/src/config/keybindings.cc, /cvsroot/aptitude/aptitude/src/config/keybindings.h, /cvsroot/aptitude/aptitude/src/defaults.cc, /cvsroot/aptitude/aptitude/src/defaults.h, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/pkg_node.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18128
	  Moved over entirely to the new keybindings system.  I also cleaned up some
18129
	hacks to be slightly less ugly -- all the ismychar stuff got removed.  Things
18130
	seem to be working again (although I haven't tested the parser much yet)
18131
18132
1999-12-18  Daniel Burrows  <daniel@torrent>
18133
18134
	* /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/config/keybindings.cc:
18135
	Remove the debugging output and get it to compile again..
18136
18137
	* /cvsroot/aptitude/aptitude/src/config/keybindings.cc, /cvsroot/aptitude/aptitude/src/config/keybindings.h, /cvsroot/aptitude/aptitude/src/config/Makefile.am, /cvsroot/aptitude/aptitude/config.h.in, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/apt.h, /cvsroot/aptitude/aptitude/src/curses++.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy_hash.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/strhash.h:
18138
	  Added preliminary support for configurable keybindings.  This needs to be
18139
	expanded to cover everything in the program..
18140
18141
	* /cvsroot/aptitude/aptitude/src/curses++.cc, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/strhash.h:
18142
	Split hash<string> into its own file
18143
18144
	* /cvsroot/aptitude/aptitude/src/download_screen.cc:
18145
	Be pedantic, move the error-discarding in download_screen.cc to a better spot
18146
18147
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18148
	Fix the weirdness with the status bar that I just introduced
18149
18150
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
18151
	  Rewrote the error-display code again.  I like the way it's handled now, I
18152
	think I'll keep this :)
18153
	  vs_tree now exports to its childrenthe ability to display an arbitrary string
18154
	using any text attributes desired in the status bar.  This means that it's
18155
	possible to display temporary messages (like errors) without having to fool
18156
	around with set_status.
18157
	  Actually, I just thought of an even better approach: make the status bar
18158
	itself an object.  This will require a little more work, though, and isn't
18159
	really necessary /just now/.
18160
18161
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18162
	  If there's an error and the package list is empty, clear the status line
18163
	when the error is cleared (instead of leaving the error sitting there..)
18164
18165
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
18166
	Don't segfault if reading sources.list fails; fixed some vs_tree segfaults
18167
18168
	* /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
18169
	Do something (slightly) more sensible when the source list can't be parsed
18170
18171
	* /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/apt.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
18172
	Added what is (in my opinion) a much better way of handling apt errors
18173
18174
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18175
	Complete the fix by calling the selected item's highlighted() method
18176
18177
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
18178
	  Fixed a minor annoyance -- after an error was displayed the status bar didn't
18179
	return to its normal color (note that we still don't call selected->highlighted;
18180
	that's needed to completely eliminate this bug)
18181
18182
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
18183
	  Remove the "unhighlighted" method from pkg_ver_item -- it's redundant with
18184
	the last change I made.
18185
18186
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/vs_treeitem.cc, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18187
	  The default vs_treeitem now blanks the status line on being highlighted; this
18188
	should clean up a lot of minor visual irritations and remove the need for an
18189
	unhighlighted method in most classes..
18190
18191
	* /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/vs_tree.h:
18192
	  Added preliminary support for displaying error messages in a Nice Way[tm].
18193
18194
1999-12-15  Daniel Burrows  <daniel@torrent>
18195
18196
	* /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18197
	  Well, got rid of the segfaulting..not sure that all that trouble was worth it,
18198
	though; I may revert to the system I had before, which was also somewhat safer
18199
	and nicer :)
18200
18201
	* /cvsroot/aptitude/aptitude/src/download_screen.cc:
18202
	More attempts to squash potential bugs -- they don't seem to help the segvs, tho
18203
18204
	* /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h:
18205
	Try to fix a segfault..it isn't working...
18206
18207
	* /cvsroot/aptitude/aptitude/src/download_item.cc:
18208
	Fix dumb bug with displaying items which are downloading
18209
18210
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
18211
	Fix a silly crashing bug in vs_tree::dispatch_char
18212
18213
	* /cvsroot/aptitude/aptitude/src/download_screen.cc:
18214
	Make it compile again
18215
18216
	* /cvsroot/aptitude/aptitude/src/vscreen.h:
18217
	Protect some mysteriously unprotected function calls
18218
18219
	* /cvsroot/aptitude/aptitude/src/download_screen.cc:
18220
	Control the creation and deletion of download uis a little more tightly
18221
18222
	* /cvsroot/aptitude/aptitude/src/vscreen.cc:
18223
	  Better handling of things like people displaying screens before Curses is
18224
	initialized, or between calls to vscreen_suspend() and vscreen_resume().  This
18225
	should make things a lot more robust, and allow ever so slightly nicer
18226
	transitions while installing packages (you won't see the previous screen flicker
18227
	on for a moment; screens will be switched before re-entering the vscreen system)
18228
18229
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18230
	Fix a bunch of visual quirks in the progress-bar code.  It seems to work now..
18231
18232
	* /cvsroot/aptitude/aptitude/src/testscr.cc:
18233
	An explicit call to build_tree is redundant; set_grouping does it already.
18234
18235
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18236
	  Fix a dumb bug in pkg_tree::show_status() -- the curses ordering of y and x
18237
	is unnatural, unnatural I say!!
18238
18239
	* /cvsroot/aptitude/aptitude/src/testscr.cc:
18240
	Changes to the startup procedure to get it to stop segfaulting and do something
18241
18242
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/testscr.cc:
18243
	Use public inheritence for pkg_tree
18244
18245
	* /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h:
18246
	  It should now be possible to use pkg_trees as progress indicators for Apt
18247
	operations (in particular, loading the package cache)  This has the side-effect
18248
	of making build_tree() public -- because I need to access it from outside the
18249
	class. (?)  I'm not sure whether that's a good idea and may revert it.
18250
18251
	* /cvsroot/aptitude/aptitude/src/download_screen.cc:
18252
	Eliminated some leftover cruft in download_screen::show_status()
18253
18254
1999-12-14  Daniel Burrows  <daniel@torrent>
18255
18256
	* /cvsroot/aptitude/aptitude/src/curses++.cc, /cvsroot/aptitude/aptitude/src/curses++.h, /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h:
18257
	  Moved the progress bar display routine to curses++.{cc,h}, where it belongs.
18258
18259
	* /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h:
18260
	  More fixes for screen-resize issues: resizing the screen while
18261
	"Press any key to continue..." is displayed now works correctly.
18262
18263
	* /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/apt.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18264
	  Added the beginnings of a structure to merge new packages into the main tree;
18265
	unfortunately it's totally borked and doesn't work right now.
18266
	  Also, eliminated a bunch of useless calls to APT methods that I inherited from
18267
	console-apt's broken code.  It seems that pkgCacheFile::Open handles lots of
18268
	stuff.
18269
18270
1999-12-13  Daniel Burrows  <daniel@torrent>
18271
18272
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
18273
	  Packages not previously known to the system are now collected in their own
18274
	toplevel group if you're using status grouping.
18275
18276
	* /cvsroot/aptitude/aptitude/src/download_screen.cc:
18277
	  Fix the totally broken SIGWINCH handling during downloads (finally, I think);
18278
	the (nasty..) solution was to unblock SIGWINCH before beginning a download and
18279
	/temporarily/ block it during each of the download_screen methods.  The
18280
	CRITICAL_ENTER and CRITICAL_EXIT macros do this.
18281
	  There's one lingering problem: the "Press any key to continue..." message can
18282
	be lost/look funny if you resize the window while it's displayed.  This'll take
18283
	more work to fix :)
18284
18285
1999-12-07  Daniel Burrows  <daniel@torrent>
18286
18287
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
18288
	  Versions now also display their short description in the status line when
18289
	highlighted.
18290
18291
	* /cvsroot/aptitude/aptitude/src/vscreen.cc:
18292
	  Fixed a silly bug which caused curses screen udpates to become extremely
18293
	suboptimal (start flickering) after the user resized the window.
18294
18295
	* /cvsroot/aptitude/aptitude/src/testscr:
18296
	  Uhhh, what was I thinking when I imported a binary (and an ancient one at
18297
	that) into the tree?  Kill it! KILL KILL -- (nevermind)
18298
18299
	* /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/curses++.h, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/download_item.cc, /cvsroot/aptitude/aptitude/src/download_item.h, /cvsroot/aptitude/aptitude/src/download_screen.cc, /cvsroot/aptitude/aptitude/src/download_screen.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
18300
	  Apologies for the mass commit.  Sourceforge took a few days to copy my
18301
	source tree to their CVS server and I made the mistake of continuing to hack
18302
	on it while they were doing that, so all my progress is going in in one fell
18303
	swoop.  Not that I'm complaining, having the source on their servers at all
18304
	is pretty cool ;-)
18305
	  Anyway, this commit mostly contains the various changes I made to enable
18306
	downloads for version 0.0.2, and of course the documentation and NEWS updates.
18307
	The only thing I've done since releasing 0.0.2 is to fix a bug involving
18308
	SIGWINCH during downloads, albiet maybe not in the best possible way (look at
18309
	the call to sigpending in download_screen.cc..)
18310
18311
1999-11-28  Daniel Burrows  <daniel@torrent>
18312
18313
	* /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h, /cvsroot/aptitude/aptitude/src/testscr.cc:
18314
	  Got rid of the horrible hack previously used to flag upgraded packages as
18315
	to-be-installed; aptitude now obeys dselect hints on a package.
18316
18317
1999-11-22  Daniel Burrows  <daniel@torrent>
18318
18319
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
18320
	  Fix assorted bugs, weirdness, etc.
18321
18322
	* /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h:
18323
	  Activate the unselectable feature for descriptions.
18324
18325
	* /cvsroot/aptitude/aptitude/src/vscreen.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18326
	  Gobs of changes to the tree-item/selection code; basically, it should now
18327
	(theoretically!) be possible to have unselectable/static elements in a tree.
18328
	This is untested, but I appear to not have broken the normal element types :)
18329
18330
	* /cvsroot/aptitude/aptitude/README, /cvsroot/aptitude/aptitude/NEWS:
18331
	  Update NEWS and README for release on Sourceforge.
18332
18333
1999-11-18  Daniel Burrows  <daniel@torrent>
18334
18335
	* /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h, /cvsroot/aptitude/aptitude/src/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h, /cvsroot/aptitude/aptitude/src/vs_treeitem.h, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/pkg_node.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/apt.h, /cvsroot/aptitude/aptitude/src/curses++.cc, /cvsroot/aptitude/aptitude/src/curses++.h, /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.cc, /cvsroot/aptitude/aptitude/src/pkg_description_treeitem.h, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy_hash.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/Makefile.am:
18336
	  Added GPL boilerplate to an ungodly number of files.
18337
18338
1999-11-09  Daniel Burrows  <daniel@torrent>
18339
18340
	* /cvsroot/aptitude/aptitude/src/vs_treeitem.h, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/vs_subtree.h:
18341
	  Added copyright notes and tags marking the source as c++ to several headers.
18342
18343
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_item_with_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
18344
	  Added a more general (read: templated) way to create classes which are
18345
	package nodes with some type of subtree.
18346
18347
1999-11-07  Daniel Burrows  <daniel@torrent>
18348
18349
	* /cvsroot/aptitude/aptitude/src/testscr.cc:
18350
	  The test code no longer defaults to showing dependency trees in the main
18351
	package listing.
18352
18353
	* /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/dep_item.cc:
18354
	  Lots and lots of changes/hacks/fixups.  It's now possible to pop up a
18355
	dedicated screen to list dependencies of a package.
18356
18357
	* /cvsroot/aptitude/aptitude/src/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vs_treeitem.cc:
18358
	  Fix silly off-by-one error in display routines which caused funny output if
18359
	a line ran off the right-hand edge of the screen.
18360
18361
	* /cvsroot/aptitude/aptitude/src/dep_item.cc, /cvsroot/aptitude/aptitude/src/dep_item.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vs_subtree.h, /cvsroot/aptitude/aptitude/src/Makefile.am:
18362
	  Moved the pkg_ver_item back into pkg_ver_item.h (yes, I can't make my mind
18363
	up :-P )
18364
	  Added preliminary support for dependency displays.  This may change a lot in
18365
	the near future.
18366
18367
1999-11-06  Daniel Burrows  <daniel@torrent>
18368
18369
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
18370
	  Fixed memory leaks..
18371
18372
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
18373
	  Added a new toplevel status, "Virtual Packages", used for..um..virtual
18374
	packages.
18375
18376
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy_hash.h:
18377
	  Split off the definition of a hash map for grouping policies into another
18378
	header -- it's too useful :)
18379
18380
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h, /cvsroot/aptitude/aptitude/src/testscr.cc:
18381
	  Added a generic filter mechanism for generating package trees; the default
18382
	setup now uses it to eliminate non-existant packages which are left in the
18383
	cache for whatever reason.
18384
18385
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
18386
	  Moved the pkg_ver_item class out of the header file.
18387
	  Provides for a package are now listed as available versions of it.
18388
18389
	* /cvsroot/aptitude/aptitude/src/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18390
	Get tree views containing only a visible root to stop segfaulting
18391
18392
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
18393
	Fix a silly thinko in the tree code which caused slightly incorrect scrolling.
18394
18395
1999-10-23  Daniel Burrows  <daniel@torrent>
18396
18397
	* /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18398
	  It's no longer possible to crash the program by `falling off the edge of the
18399
	world' in version trees.
18400
18401
	* /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18402
	Hopefully eliminated the "infinite repeating color stripes" bug.
18403
18404
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc: Fixed up some formatting
18405
18406
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
18407
	  The pkg_ver_screen now uses the code just added to show its root node.
18408
18409
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
18410
	  Added code to hopefully allow a vs_tree's root node to be visible in the tree
18411
	hierarchy.
18412
18413
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
18414
	  Cleaned up the pkg_ver_screen code (to eliminate a kludgy and problematic
18415
	tree node)
18416
18417
	* /cvsroot/aptitude/aptitude/src/Makefile.am:
18418
	  Errors are no longer generated when you try to compile.. (*blush*)
18419
18420
	* /cvsroot/aptitude/aptitude/src/vscreen.cc:
18421
	  Clear out the list of stuff-to-delete after deleting it.  This keeps us from,
18422
	eg, deleting a pointer twice.
18423
18424
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/test.cc:
18425
	  Now that I figured the problem out I don't need the code to test for it any
18426
	more..
18427
18428
	* /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18429
	  Some minor changes to (try to) avoid segfaulting when root_iterators with
18430
	NULL targets are floating around..
18431
18432
	  However, the big change is this: I HAVE FOUND AND ELIMINATED THE EVIL
18433
	SEGFAULT-ON-DELETE BUG!  It turns out that vs_treeitem needed an empty virtual
18434
	destructor.  In unison now: "I hate C++, I hate C++, I hate C++..."
18435
18436
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
18437
	  Versions appear to now be colored sanely.
18438
18439
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
18440
	  Small tweaks to the colorization of broken packages.
18441
18442
	* /cvsroot/aptitude/aptitude/src/testscr.cc:
18443
	  The items visible in the main package display are now version trees.  (this
18444
	won't be the case in the future but it's useful for now..)
18445
18446
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.h:
18447
	  Added an implementation of pkg_grouppolicy_ver_factory::instantiate
18448
	and added beginning support for colorization of version items.
18449
18450
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
18451
	  More cleanup operations.
18452
18453
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
18454
	  Cleaned up the routine pkg_item::get_normal_attr by fetching
18455
	and caching (*apt_cache_file)[package] at the front of the routine.
18456
18457
	* /cvsroot/aptitude/aptitude/src/pkg_ver_item.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_ver_item.cc:
18458
	  Added a way to display the available versions of a package.  See
18459
	pkg_ver_item.{cc,h}
18460
18461
	* /cvsroot/aptitude/aptitude/src/pkg_node.cc:
18462
	  Uh, pkg_node isn't a type; pkg_tree_node is.
18463
18464
	* /cvsroot/aptitude/aptitude/src/test.cc:
18465
	  Fixed a tyop in a comment, slightly altered the test.
18466
18467
	* /cvsroot/aptitude/aptitude/src/pkg_tree.h:   Minor indentation tweak
18468
18469
	* /cvsroot/aptitude/aptitude/src/vscreen.h:
18470
	  Fixed a silly typo (forgot to specify a type for vscreen_preparedelete)
18471
18472
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
18473
	  Make sure that a vs_tree's root is set to NULL if none is provided to the
18474
	constructor.
18475
18476
	* /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h:
18477
	  Added a way for screen objects to delete themselves from within the main loop.
18478
18479
	* /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/pkg_node.h:
18480
	  Moved pkg_node::is_my_char() into pkg_node.cc
18481
18482
	* /cvsroot/aptitude/aptitude/src/vs_tree.h:
18483
	  Deleted set_bounds() -- it's not being used any more.
18484
18485
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_node.cc, /cvsroot/aptitude/aptitude/src/pkg_node.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/Makefile.am:
18486
	  Bunches of restructuring..added pkg_node.cc and moved dispatch_char for
18487
	the pkg_node class into it..unfortunately this causes some other weirdness since
18488
	some classes inherit two copies of dispatch_char; there's a hack there for now
18489
	to see who `owns' dispatch char..I need to come up with a better solution,
18490
	perhaps.
18491
18492
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc:
18493
	  Virtual packages now appear in their own hierarchy..I'll add a filter to
18494
	get rid of them in the future.
18495
18496
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
18497
	  Caret ('^') is now used to move up in the hierarchy rather than 'u'.
18498
18499
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
18500
	  Moving up in trees works again.  (fixed a dumb thinko :) )
18501
18502
	* /cvsroot/aptitude/aptitude/src/pkg_item.cc:
18503
	  Better colorizing of packages-to-be-upgraded.
18504
18505
	* /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h, /cvsroot/aptitude/aptitude/src/testscr.cc:
18506
	  'Group-by-status' is now available.
18507
18508
1999-10-22  Daniel Burrows  <daniel@torrent>
18509
18510
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.cc, /cvsroot/aptitude/aptitude/src/pkg_grouppolicy.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/testscr.cc:
18511
	  More splittage; the grouping policy stuff was moved to pkg_grouppolicy.{cc,h}.
18512
18513
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
18514
	  It's now .. sort of .. possible to set a vs_tree's root to NULL -- at least,
18515
	it won't cause an immediate segfault.  (I don't guarantee anything though :) )
18516
18517
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_item.cc, /cvsroot/aptitude/aptitude/src/pkg_item.h, /cvsroot/aptitude/aptitude/src/pkg_node.h, /cvsroot/aptitude/aptitude/src/pkg_subtree.cc, /cvsroot/aptitude/aptitude/src/pkg_subtree.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18518
	  Lots of classes split into their own files.  Hopefully compilation times for
18519
	single-line changes will be .. um .. less astronomical now :)
18520
18521
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18522
	  Yes Virginia, there is a difference between packages to be upgraded and
18523
	packages to be installed..
18524
18525
	  Oh, and I decided to remove the `upgradable' highlighting..
18526
18527
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
18528
	  Fixed an oversight which was causing package trees to not be colorized.
18529
18530
	* /cvsroot/aptitude/aptitude/src/testscr.cc:
18531
	  Show the package list on startup again, also reinstituted the random tree.
18532
18533
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18534
	  Deleted some dead code, and modified pkg_subtree::pkg_subtree and
18535
	pkg_tree::pkg_tree so that the root of a pkg_tree is expanded to start with
18536
	(otherwise weird stuff happens :) )
18537
18538
	* /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18539
	  I spoke too soon..but now navigation REALLY works!  I mean really! :)
18540
18541
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc:
18542
	  Navigating the package list appears to work properly now; I also cleaned up
18543
	some constructions like (*selected).highlighted(...) since my iterators now
18544
	define operator-> ..
18545
18546
	* /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18547
	  Hopefully advancing into subtrees actually works now.
18548
18549
	* /cvsroot/aptitude/aptitude/src/testscr.cc:
18550
	 Commented out the random tree, it's confusing the matter.
18551
18552
	* /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18553
	  DIE SEGFAULTS DIE!
18554
18555
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18556
	  Removed some test code, it's done better in test.cc
18557
18558
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/test.cc:
18559
	  Added a test case for some of the pathological stuff I'm seeing..
18560
18561
1999-10-21  Daniel Burrows  <daniel@torrent>
18562
18563
	* /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18564
	  Hopefully squished some more embarassing segfaults.
18565
18566
	* /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_treeitem.h:
18567
	  Fixed (hopefully!) a silly segfault bug and a sillier stack-overflow bug.
18568
18569
	* /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vs_subtree.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h, /cvsroot/aptitude/aptitude/src/vs_treeitem.cc, /cvsroot/aptitude/aptitude/src/vs_treeitem.h, /cvsroot/aptitude/aptitude/config.h.in:
18570
	  Entirely reworked the way that the vs_treeiterator class works, hopefully
18571
	this will be somewhat cleaner (albeit less efficient and way too general :( )
18572
	  It compiles again, now I get to watch the pretty fireworks as it panics
18573
	over and over and over..
18574
18575
1999-10-20  Daniel Burrows  <daniel@torrent>
18576
18577
	* /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18578
	  Improved highlighting and selection code.
18579
18580
	* /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h, /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/curses++.cc, /cvsroot/aptitude/aptitude/src/curses++.h, /cvsroot/aptitude/aptitude/src/pkg_tree.cc:
18581
	  Fixed a silly bug in get_color() which made it never add colors to the cache.
18582
18583
	  You can now select new packages for installation and deselect them.  You
18584
	cannot, of course, see upgraded packages or actually do the installation, but
18585
	it's a start :)
18586
18587
	* /cvsroot/aptitude/aptitude/src/Makefile.in, /cvsroot/aptitude/aptitude/aclocal.m4, /cvsroot/aptitude/aptitude/autogen.sh, /cvsroot/aptitude/aptitude/configure, /cvsroot/aptitude/aptitude/Makefile.in, /cvsroot/aptitude/aptitude/.cvsignore:
18588
	  Removed autogenerated files, added a .cvsignore to keep them from being
18589
	seen, and added autogen.sh to regenerate them.
18590
18591
	* /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/apt.h, /cvsroot/aptitude/aptitude/src/curses++.cc, /cvsroot/aptitude/aptitude/src/curses++.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/Makefile.in, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/testscr, /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
18592
	  Initial import.
18593
18594
	* /cvsroot/aptitude/aptitude/src/apt.cc, /cvsroot/aptitude/aptitude/src/apt.h, /cvsroot/aptitude/aptitude/src/curses++.cc, /cvsroot/aptitude/aptitude/src/curses++.h, /cvsroot/aptitude/aptitude/src/Makefile.am, /cvsroot/aptitude/aptitude/src/Makefile.in, /cvsroot/aptitude/aptitude/src/pkg_tree.cc, /cvsroot/aptitude/aptitude/src/pkg_tree.h, /cvsroot/aptitude/aptitude/src/testscr, /cvsroot/aptitude/aptitude/src/testscr.cc, /cvsroot/aptitude/aptitude/src/vscreen.cc, /cvsroot/aptitude/aptitude/src/vscreen.h, /cvsroot/aptitude/aptitude/src/vs_tree.cc, /cvsroot/aptitude/aptitude/src/vs_tree.h:
18595
	New file.
18596
18597
	* /cvsroot/aptitude/aptitude/aclocal.m4, /cvsroot/aptitude/aptitude/AUTHORS, /cvsroot/aptitude/aptitude/ChangeLog, /cvsroot/aptitude/aptitude/config.h.in, /cvsroot/aptitude/aptitude/configure, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/Makefile.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
18598
	  Initial import.
18599
18600
	* /cvsroot/aptitude/aptitude/aclocal.m4, /cvsroot/aptitude/aptitude/AUTHORS, /cvsroot/aptitude/aptitude/ChangeLog, /cvsroot/aptitude/aptitude/config.h.in, /cvsroot/aptitude/aptitude/configure, /cvsroot/aptitude/aptitude/configure.in, /cvsroot/aptitude/aptitude/Makefile.am, /cvsroot/aptitude/aptitude/Makefile.in, /cvsroot/aptitude/aptitude/NEWS, /cvsroot/aptitude/aptitude/README:
18601
	New file.
18602