]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
submenu for Note/Comment/Greyedout
[lyx.git] / src / ChangeLog
1 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * factory.C: submenu for Note/Comment/Greyedout
4
5 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6         
7         * lyx_main.C (LyX):
8         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
9
10         
11 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
12
13         * LaTeXFeatures.C:
14         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
15         greyedout. Patch provided by Jürgen Spitzmüller.
16
17 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * kbmap.C (read): fix error message when reading bind files
20
21 2003-07-29  Angus Leeming  <leeming@lyx.org>
22
23         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
24         certainly does not do what it purports to do. I am doing it, and
25         us, a favour by killing it.
26
27 2003-07-28  José Matos  <jamatos@lyx.org>
28
29         * buffer.C (readBody, do_writeFile):
30         * paragraph.C(readParagraph): \end_document replaces \the_end.
31
32 2003-07-29  André Pönitz  <poenitz@gmx.net>
33
34         * BufferView.[Ch]:
35         * BufferView_pimpl.[Ch]:
36         * lyxfunc.C:
37         * text2.C:
38         * text3.C:
39         * textcursor.[Ch]: remove toggleToggle & Co
40
41 2003-07-28  José Matos  <jamatos@fep.up.pt>
42
43         * buffer.C (readParagraph):
44         * params_func (readParToken, readParagraph):
45         * paragraph.C (write): \layout -> \begin_layout.
46
47 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
48
49         * lyxlex_pimpl.C (setFile): clean up slightly.
50
51         * bufferparams.h: add compressed var
52
53         * buffer_funcs.C (readFile): adjust for LyXLex change
54         (newFile): ditto + simplify
55
56         * buffer.C (writeFile): handle writing of compressed files
57
58         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
59         Check if the file is compressed and set a bufferparm if so.
60
61         * Makefile.am (lyx_LDADD): remove explicit -lz
62
63 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
66         makeDocBookFile): put the real LyX version in the first line of
67         the file
68
69         * version.h:
70         * version.C.in: remove lyx_docversion
71
72         * tabular.C (write_attribute): add a template-based version to
73         write enums properly
74
75 2003-07-28  André Pönitz  <poenitz@gmx.net>
76
77         * lyxtext.h:
78         * text.C:
79         * text2.C:
80         * text3.C: use doubles again for x-coordinates. They are needed.
81
82 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
83
84         * messages.C (getLocaleDir): use lyx_localedir()
85
86         * lyxlex_pimpl.C (setFile): compress stuff
87
88         * buffer.C (writeFile): add some compression stuff
89         (do_writeFile): new func, dont call expliti close... will this
90         breake anything?
91
92         * Makefile.am (lyx_LDADD): add -lz
93
94 2003-07-28  José Matos  <jamatos@fep.up.pt>
95
96         * buffer.C: increment file format.
97         * paragraph_funcs (readParagraph, readParToken):
98         * paragraph.C (readParagraph): add \end_layout.
99
100 2003-07-27  Angus Leeming  <leeming@lyx.org>
101
102         * Makefile.am: remove special casing for configure-time setting of
103         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
104
105         * lyx_main.C (init): remove all Jean-Marc's magic setting of
106         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
107
108 2003-07-26  André Pönitz  <poenitz@gmx.net>
109
110         * paragraph_func.[Ch]:
111         * paragraph.C (realizeFont): inline it whereever it is used
112
113         * rowpainter.C:
114         * text.C:
115         * text2.C:
116         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
117
118
119 2003-07-26  André Pönitz  <poenitz@gmx.net>
120
121         *       lyxtext.h:
122         * text.C:
123         * text2.C: get rid of LyXText::need_break_row
124
125 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
126
127         * toc.[Ch]: put namespace toc inside namespace lyx
128
129         * MenuBackend.C (expandToc2): adjust for lyx::toc
130         (expandToc): ditto
131
132         * lyxfunc.C (dispatch): adjust for lyx::find
133
134         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
135         lyx::find instead. Reorganize a bit.
136         (LyXReplace): rename to replace
137         (LyXFind): rename to find
138
139         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
140         (dispatch): ditto
141
142 2003-07-26  André Pönitz  <poenitz@gmx.net>
143
144         * text.C (setHeightOfRow): restrict scope of temporary variable
145
146         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
147           code (never has been used?)
148
149 2003-07-27  Asger Alstrup  <alstrup@local>
150
151         * text.C (fill): Optimise algorithm to exploit that we can reuse
152         the LyXFont for many characters.
153         (setHeightOfRow): Same thing.
154         (rowBreakPoint): Same thing.
155
156 2003-07-26  Asger Alstrup  <alstrup@local>
157
158         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
159
160         * text.C (singleWidth): Spurious font copying in hot-spot
161         singleWidth avoided. Reorder tests for arabic for efficiency.
162
163         * text.C (fill): handle empty paragraphs better.
164
165 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         * ispell.C:
168         * encoding.h: add includes
169
170         * lyxrc.C: remove reading of bind files
171
172         * lyx_main.C (init): setup bindings and menus only if we have a
173         gui.
174
175         * kbmap.C (read): new method. Do the actual reading of bind
176         files.
177
178         * converter.C (dvipdfm_options):
179         * bufferparams.C:
180         * lyxrc.C (read):
181         (output): adapt PAPER_* enums.
182
183         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
184
185         * bufferparams.h: remove paper-related enums from there
186
187         * paper.h: New file. A trivial header file to hold paper-related
188         enums. It should later expand to contain many paper-related
189         horrors access.
190
191         * lyxrc.C: declare extern displayTranslator
192
193 2003-07-27  José Matos  <jamatos@fep.up.pt>
194
195         * tabular.[Ch] (linuxdoc): add support for tables and figures
196         (linuxdoc).
197
198 2003-07-27  José Matos  <jamatos@fep.up.pt>
199
200         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
201         consistency in both functions.
202         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
203
204 2003-07-26  Asger Alstrup  <alstrup@local>
205
206         * rowpainter.C (paintRows): Change algorithm to work directly on
207         the insets rather than asking every character in the document
208         whether its an inset.
209
210 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
211
212         * buffer.C (openFileWrite): factorize some code
213
214 2003-07-26  Angus Leeming  <leeming@lyx.org>
215
216         * lyx_cb.C:
217         * lyx_main.[Ch]: replace occurances of system_tempdir with
218         os::getTmpDir().
219
220 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
221
222         * rename Inset to InsetOld
223
224 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
225
226         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
227         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
228         which I think is a bit clearer. EDIT is gone, since it was
229         premature optimisation, and broken for mathed anyway.
230         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
231         with cursor positioning in insets as well (math insets still do not
232         work, but that's a different story anyway.) It mysteriously
233         crashes sometimes with undo in the first paragraph, but I'm fairly
234         confident that this is a compiler bug.
235
236 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
237
238         * paragraph.C (Paragraph): adjust for new clone return type
239         (operator==): ditto
240         (copyIntoMinibuffer): ditto
241
242 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
243
244         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
245         by not having a special case, and always doing a full rebreak of
246         the document after undo.
247
248 2003-07-23  Angus Leeming  <leeming@lyx.org>
249
250         * factory.C (createInset): InsetExternal::setParams now takes a
251         Buffer const * arg.
252
253 2003-07-23  Angus Leeming  <leeming@lyx.org>
254
255         * factory.C (createInset): changed interface to the external and
256         graphics mailers' string2params functions.
257
258 2003-07-23  Angus Leeming  <leeming@lyx.org>
259
260         * factory.C (createInset): pass a
261         Buffer const * parameter to InsetExternalMailer's string2params.
262
263 2003-07-22  John Levon  <levon@movementarian.org>
264
265         * Thesaurus.h: include the right aiksaurus header
266
267 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * MenuBackend.C (expand): check menu shortcuts unconditionally
270
271 2003-07-21  Angus Leeming  <leeming@lyx.org>
272
273         * factory.C (createInset): pass a
274         buffer_path parameter to InsetGraphicsMailer's string2params.
275
276 2003-07-21  Angus Leeming  <leeming@lyx.org>
277
278         * BufferView_pimpl.C (buffer):
279         * buffer.C (d-tor):
280         * lyx_main.C (LyX):
281         * lyxfunc.C (dispatch):
282         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
283         rather than the grfx shortcut.
284
285 2003-07-21  André Pönitz  <poenitz@gmx.net>
286
287         * rowpainter.C: remove unused variables
288
289         * tabular_funcs.C:
290         * tabular_funcs.h: move to tabular.C
291         * Makefile.am: adjust
292
293         * tabular.[Ch]: basic optical cleaning
294
295         * author.h: pass references, not values
296
297 2003-07-18  André Pönitz  <poenitz@gmx.net>
298
299         * lyxtext.h:
300         * metricsinfo.C:
301         * metricsinfo.h:
302         * rowpainter.C:
303         * text.C:
304         * text2.C:
305         * text3.C: two-phase drawing for InsetText and InsetTabular
306         some float -> int changes.
307
308 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
309
310         * lyx_main.C: fix the fix
311
312 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
313
314         * lyx_main.C: fix a crash in batch mode if no files specified
315         * converter.C: ws
316
317 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
318
319         * format.[Ch] (papersize): moved to BufferParams
320         * converter.[Ch] (dvips_options): moved to BufferParams
321         (dvipdfm_options): moved to anon namespace
322         * bufferparams.[Ch]: added above functions.
323
324 2003-07-17  André Pönitz  <poenitz@gmx.net>
325
326         * lyxtext.h:
327         * rowpainter.C:
328         * text2.C: don't call inset->update() anymore
329
330         * metricsinfo.[Ch]: add convenience constructor
331
332 2003-07-16  André Pönitz  <poenitz@gmx.net>
333
334         * lyxcursor.[Ch]:
335         * lyxfunc.[Ch]:
336         * text.C:
337         * text2.C: replace the LyXCursor::irow_ member with
338          on-demand computation of the value
339
340 2003-07-16  John Levon  <levon@movementarian.org>
341
342         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
343
344 2003-07-15  André Pönitz  <poenitz@gmx.net>
345
346         * text.C:
347         * text2.C: remove no more needed refresh_row
348
349 2003-07-15  André Pönitz  <poenitz@gmx.net>
350
351         * lyxtext.h:
352         * rowpainter.C:
353         * text2.C:
354         * text3.C: refresh_status tristate -> need_update bool
355
356 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
357
358         * lyxtext.h (init): remove reinit argument (act as if always true)
359         * text2.C: adjust to that
360
361 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
362
363         * bufferview_funcs.[Ch]: introduce function replaceSelection()
364         * text3.C: use it to delete selections in some cases
365         (bugs 441, 673, 702, 954).
366
367 2003-07-14  André Pönitz  <poenitz@gmx.net>
368
369         * rowpainter.[Ch]: reduce interface
370
371 2003-07-14  André Pönitz  <poenitz@gmx.net>
372
373         * BufferView_pimpl.C:
374         * text2.C: adjust after removing unused BufferView * argument
375
376 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
377
378         * text2.C (init): fix a crash fired on resize
379
380 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
381
382         * buffer.[Ch]: added new closing signal
383         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
384         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
385         BufferView::Pimpl via the closing the signal
386
387 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
388
389         * buffer.[Ch]: take out all bv-related from buffer
390         * BufferView.C:
391         * BufferView_pimpl.[Ch]: connect to new signals
392         * CutAndPaste.C: removed useless asserts
393         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
394         * lyxvc.[Ch]:
395         * vc-backend.[Ch]:
396         * lyxfunc.C: moved view-related funciontality from vc here
397         * paragraph.C: removed outdated comments
398         * text.C: ws
399
400 2003-07-10  André Pönitz  <poenitz@gmx.net>
401
402         * BufferView_pimpl.C:
403         * tabular.h:
404         * tabular_funcs.C:
405         * text.C:
406         * text2.C: remove InsetText::InnerCache, clean up consequences
407
408 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
409
410         * ispell.C: fix two typos in error messages
411
412 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
413
414         * Extend Note inset to other forms of annotation like Comment
415         and Greyedout. Right button click gives dialog.
416
417         Files modified or added (+):
418
419         * insetnote.[Ch]
420         * FormNote.[Ch]      +
421         * ControlNote.[Ch]   +
422         * form_note.fd       +
423         * Makefile.am in frontends/xforms, frontends/xforms/forms,
424         frontends/controllers
425         * xforms/Dialogs.C
426         * factory.C
427
428 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
429
430         * aspell.C: add missing namespace lyx::support
431
432 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
433
434         * BufferView.[Ch] (newFile): Add
435         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
436         * LaTeX.[Ch] (message): added this signal and use it
437         * buffer.[Ch] (busy, message): added these signals and use them
438         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
439         * converter.C:
440         * exporter.C:
441         * format.C:
442         * importer.C: use buffer signals instead of direct bv calling
443         * lyx_cb.[Ch] (ShowMessage): removed
444         * lyx_main.C:
445         * lyxfunc.C:
446         * paragraph_funcs.C:
447         * text2.C: use buffer signals
448
449 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
450
451         * introduce namespace lyx::graphics
452
453 2003-07-02  André Pönitz  <poenitz@gmx.net>
454
455         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
456
457 2003-07-01  André Pönitz  <poenitz@gmx.net>
458
459         * text.C:
460         * text2.C:
461         * text3.C:
462         * text_funcs.[Ch]:
463         * textcursor.h:
464         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
465           text*.C to text_func.C
466
467 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
468
469         * introduce namespace lyx::support
470
471 2003-06-30  André Pönitz  <poenitz@gmx.net>
472
473         * Chktex.C:
474         * funcrequest.C:
475         * lyxtext.h:
476         * text.C: re-enable --with-included-string
477
478 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
479
480         * textcursor.C: add <config.h>
481
482         * text.C (getWord): remove const from word_location arg
483
484         * lyxvc.C (getLogFile): fix const type order
485
486         * lyxtext.h: remove const from word_location arg, add arg name
487
488         * lyxlayout.h: currect type on labeltype.
489
490         * importer.C: correct \file
491
492         * converter.C (intToFormat): use std:: on ret val, ws changes
493
494         * bufferlist.h: correct \file
495
496         * buffer.C (makeLinuxDocFile): fix const type order
497         (makeDocBookFile): ditto
498         (fillWithBibKeys): use std:: on stdlib args.
499
500         * CutAndPaste.C: fix authors.
501         (availableSelections): use std:: on return vector
502
503 2003-06-27  André Pönitz  <poenitz@gmx.net>
504
505         * BufferView_pimpl.C:
506         * bufferview_funcs.C:
507         * lyxcursor.C:
508         * lyxcursor.h:
509         * lyxfunc.C:
510         * lyxtext.h:
511         * rowpainter.C:
512         * text.C:
513         * text2.C:
514         * text3.C: remove LyXCursor::row_ member
515
516         * lyxtext.h:
517         * text.C: rename fullRebreak() to partialRebreak() and implement
518           a fullRebreak() that really bereks fully
519
520         * textcursor.h: new struct for cursor-related data
521
522 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
523
524         * lyx_main.C (LyX): get full path of document loaded on the
525         command line
526
527 2003-06-26  André Pönitz  <poenitz@gmx.net>
528
529         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
530           remove unused/broken operator>,<,>=.
531
532         *       text.C: remove only use of broken operator<= in an Assert().
533
534 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
535
536         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
537         moved errorlist_.clear to showErrorList
538
539 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
540
541         * converter.C (scanLog, runLaTeX):
542         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
543         move the bv->showErrorList call to the callers
544         * lyxfunc.C: i.e. here...
545         * text2.C: and here
546         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
547         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
548         namespace, the second to...
549         * buffer_funcs (BufferFormat, parseErrors): added
550         * errorlist.C (ErrorList(TeXErrors const &)): removed
551
552 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
553
554         * ToolbarBackend.C (getIcon): complain when icon cannot be found
555
556 2003-06-24  "Garst R. Reese" <reese@isn.net>
557
558         * debug.C: fix typo
559
560 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
561
562         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
563
564         * version.C.in: change docversion to 1.4
565
566 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
567
568         * buffer.C: fix a bug just introduced
569
570 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
571
572         * buffer.[Ch]: added the parseError signal and use it, removed
573         sgmlError
574         * BufferView.[Ch] (addError): moved to ...
575         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
576         to the Buffer::parseError signal to catch (guess what) parse errors
577         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
578
579 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
580
581         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
582         ability to create a buffer and to return an existing one from
583         the list. Moved these functions to...
584         * buffer_funcs.[Ch]: added
585         * BufferView.[Ch] (loadLyXFile): added
586         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
587         job removed from bufferlist::loadLyXFile.
588         * buffer.C (setReadOnly): make it work without view
589         (i.e added an if (users))
590
591 2003-06-19  Angus Leeming  <leeming@lyx.org>
592
593         * lfuns.h:
594         * LyXAction.C (init):
595         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
596         with LFUN_DIALOG_SHOW <name> <data>.
597
598 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
599
600         * CutAndPaste.C (availableSelections): small compilation fix for
601         ancient (gcc 2.9x) compilers
602
603 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
604
605         * text3.C (cursorNext): add tmp var
606
607         * text2.C (updateCounters): for function calling out of for clause
608         (replaceSelectionWithString): ditto
609         (insertStringAsParagraphs): ditto
610         (getColumnNearX): add tmp var
611         (setCursorFromCoordinates): add tmp var
612         (cursorDownParagraph): add tmp var
613         (deleteEmptyParagraphMechanism): add tmp var
614
615         * text.C (insertChar): add tmp var
616
617         * rowpainter.C (paintDepthBar): add tmp var
618
619         * CutAndPaste.C (availableSelections): potentially check all
620         paragraphs in a cut to fill the shown strings.
621
622 2003-06-18  André Pönitz  <poenitz@gmx.net>
623
624         * kbmap.[Ch]: use vector<> instead of list<>
625
626 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
627
628         * text3.C (dispatch): handle arg to LFUN_PASTE, call
629         pasteSelection with index
630
631         * text2.C (pasteSelection): modify, call pasteSelection with index
632
633         * paragraph.C (asString): reimplement version with no interval to
634         call the one with interval.
635
636         * lyxtext.h: add index arg to pasteSelection
637
638         * MenuBackend.C (MenuItem): handle PasteRecent
639         (Menu::read::Menutags): add md_pasterecent
640         (read): handle it
641         (expandPasteRecent): new function
642         (expand): use it
643
644         * MenuBackend.h: add PasteRecent to MenuItem::Kind
645
646         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
647         the limited stack
648         (availableSelections): new function
649
650 2003-06-17  Angus Leeming  <leeming@lyx.org>
651
652         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
653
654 2003-06-17  Angus Leeming  <leeming@lyx.org>
655
656         * lfuns.h:
657         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
658
659         * lyxfunc.C (dispatch): invoke it.
660
661 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * iterators.C (operator++, ParPosition): reintroduce some
664         const_cast for the benefit of older compilers.
665
666 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
667
668         * text3.C (dispatch): do not modify clipboard when doing
669         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
670         LFUN_DELETE_SKIP on a selection selection
671
672 2003-06-16  André Pönitz  <poenitz@gmx.net>
673
674         * BufferView.C:
675         * buffer.C:
676         * buffer.h:
677         * paragraph.C:
678         * tabular.[Ch]: IU of clone() and getLabelList();
679
680 2003-06-13  André Pönitz  <poenitz@gmx.net>
681
682         * tabular.h: compactification
683
684 2003-06-12  André Pönitz  <poenitz@gmx.net>
685
686         * tabular.C:
687         * tabular.h:
688         * tabular_funcs.h: some renaming plus whitespace
689
690 2003-06-12  André Pönitz  <poenitz@gmx.net>
691
692         * BufferView.C:
693         * BufferView_pimpl.C:
694         * CutAndPaste.C:
695         * buffer.C:
696         * iterators.[Ch]:
697         * lyxfunc.C:
698         * text.C:
699         * toc.C: Return a Paragraph & for ParIterator::operator*()
700
701 2003-06-11  John Levon  <levon@movementarian.org>
702
703         * lyx_main.C:
704         * ToolbarBackend.h:
705         * ToolbarBackend.C: add "Toolbars" section and
706         put the flags there
707
708 2003-06-10  Angus Leeming  <leeming@lyx.org>
709
710         * lfuns.h:
711         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
712
713         * lyxfunc.C (dispatch): invoke it.
714
715 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
716
717         * main.C: protect <ios> with HAVE_IOS
718         (main): protect sync_with_stdio with HAVE_IOS
719
720 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
721
722         * text2.C (cutSelection): adjust
723         (pasteSelection): adjust
724
725         * messages.C: handle get of empty string
726
727         * main.C (main): use sync_with_stdio(false)
728
729         * lyxfunc.C (dispatch): adjust
730
731         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
732         (WriteAs): remove unneeded BufferView arg.
733
734         * bufferparams.h: use correct types on papersize, papersize2 and
735         paperpackage.
736
737         * bufferparams.C (readToken): adjust for type
738         (writeLaTeX): add missing cases to switch.
739
740         * bufferlist.C (quitWriteBuffer): adjust
741         (close): adjust
742
743         * buffer.C (asciiParagraph): remove some commented code.
744
745         * CutAndPaste.C: remove current_view extern variable.
746         (cutSelection): add BufferParams arg.
747         (eraseSelection): add BufferParams arg.
748         (pasteSelection): add Buffer const & arg
749
750 2003-06-07  John Levon  <levon@movementarian.org>
751
752         * buffer.C:
753         * paragraph_funcs.C:
754         * paragraph_pimpl.C:
755         * text.C:
756         * text2.C:
757         * paragraph.h:
758         * paragraph.C: allow InsetERT to freely space lines,
759         and some consolidation of code
760
761 2003-06-06  José Matos  <jamatos@fep.up.pt>
762
763         * buffer.C (makeDocBookFile): fix bug #821
764
765 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
766
767         * BufferView_pimpl.C (dispatch): use Dialogs::visible
768
769 2003-06-04  Angus Leeming  <leeming@lyx.org>
770
771         * buffer.C: bump format to 224.
772
773 2003-06-05  André Pönitz  <poenitz@gmx.net>
774
775         * text2.C (redoParagraphs): remove two const_cast<>
776
777 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
778
779         * ParagraphList.h: remove last remnants of NO_STD_LIST
780
781 2003-06-03  Angus Leeming  <leeming@lyx.org>
782
783         * factory.C (createInset): small change to the way InsetExternal's params
784         are set.
785
786 2003-06-04  André Pönitz  <poenitz@gmx.net>
787
788         * buffer.h: use Undo directly instead of shared_ptr<Undo>
789
790         * paragraph_pimpl.h:
791         * paragraph.[Ch]: some Inset -> UpdatableInset changes
792
793         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
794
795         * undo_funcs.C: make some simple cases of undo work again
796
797 2003-06-03  John Levon  <levon@movementarian.org>
798
799         * ispell.C: HPUX doesn't have sys/select.h
800         (from Albert Chin)
801
802 2003-06-03  John Levon  <levon@movementarian.org>
803
804         * CutAndPaste.C: update tabular and include inset
805         buffer references
806
807         * buffer.h:
808         * paragraph.h:
809         * paragraph.C: remove owningBuffer(), don't pass Buffer
810         to clone()
811
812         * factory.C: insetGraphicsParams changed
813
814 2003-06-02  John Levon  <levon@movementarian.org>
815
816         * LyXAction.C:
817         * factory.C:
818         * lfuns.h:
819         * lyxfunc.C:
820         * text3.C: remove insetparent
821
822 2003-06-02  John Levon  <levon@movementarian.org>
823
824         * buffer.h:
825         * buffer.C: fix inset_iterator.end(), move out of line
826         (bug 1149)
827
828 2003-06-01  John Levon  <levon@movementarian.org>
829
830         * text3.C: use a proper cut/paste when doing inset
831         insert (from Jürgen Spitzmüller)
832
833 2003-06-01  John Levon  <levon@movementarian.org>
834
835         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
836
837 2003-05-30  André Pönitz  <poenitz@gmx.net>
838
839         * rowpainter.C: unify second drawing phase
840
841 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
842
843         * trans_mgr.C: remove one case of current_view
844
845         * text2.C (cursorBottom): delete NO_STD_LIST stuff
846
847         * paragraph_funcs.h: remove paragraph.h include
848
849         * paragraph.h: delete NO_STD_LIST stuff
850
851         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
852
853         * buffer.h: remove paragraph.h include
854
855         * ParagraphList.C: delete file
856
857         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
858
859         * toc.C (getTocList): adjust
860
861         * paragraph_pimpl.C (validate): adjust
862
863         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
864
865         * paragraph.C (Paragraph): adjust
866         (getPositionOfInset): use const_iterator, adjust
867         (bibitem): use const_iterator, adjust
868         (setInsetOwner): adjust
869
870         * iterators.C (operator++): adjust
871
872         * InsetList.[Ch]: Replace selfmade iterator with standard
873         vector::iterator also introduce const_iterator. Remove getPos,
874         getInset and setInset from InsetTable. Adjust accordingly.
875
876         * BufferView.C (lockInset): adjust
877         (ChangeInsets): adjust
878
879         * tabular.[Ch]: delete commented same_id functions
880
881 2003-05-28  John Levon  <levon@movementarian.org>
882
883         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
884
885 2003-05-28  André Pönitz  <poenitz@gmx.net>
886
887         * metricsinfo.[Ch]: remove 'fullredraw' member
888
889 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
890
891         * lyxtextclass.C (operator): remove caching.
892
893 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
894
895         * text3.C: adjust
896
897         * text2.C (cursorBottom): adjust
898         (setCounter): use ParagraphList::find, adjust
899
900         * text.C (workWidth): use ParagraphList::find, adjust
901
902         * lyxcursor.C (LyXCursor): adjust
903
904         * buffer.C (inset_iterator): adjust
905
906         * ParagraphList.h: make iterator(value_type) private, make
907         ParagraphList a friend of iterator.
908
909         * ParagraphList.C (find): new function
910
911         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
912
913 2003-05-27  André Pönitz  <poenitz@gmx.net>
914
915         * dimension.[Ch]: a -> asc, d -> des, w -> wid
916
917 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
918
919         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
920
921 2003-05-26  John Levon  <levon@movementarian.org>
922
923         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
924
925 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
926
927         * remove same_id from function signatures, adjust.
928
929 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
930
931         * undo_funcs.C (createUndo): use the id functions directly, adjust.
932
933         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
934
935         * paragraph.C (Paragraph): get rid of same_ids parameter
936
937         * ParagraphList.C (insert): adjust
938         (push_back): adjust
939
940 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
941
942         * paragraph_funcs.C (breakParagraph): adjust
943         (breakParagraphConservative): adjust
944
945         * buffer.C (readParagraph): adjust
946
947         * ParagraphList.C (insert): take a reference instead of a pointer
948         (insert): adjust
949
950         * paragraph.[Ch] (id): new function
951
952         * bufferlist.C (newFile): adjust
953
954         * ParagraphList.C (ParagraphList): adjust
955         (assign): adjust
956         (push_back): take a reference instead of a pointer.
957
958         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
959
960         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
961         instead.
962
963         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
964         set else use old code.
965
966         * ParagraphList.C: remove all NO_NEXT code and only compile this
967         code of NO_STD_LIST is set.
968
969 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
970
971         * BufferView_pimpl.C:
972         * TextCache.C:
973         * TextCache.h:
974         * bufferlist.C:
975         * errorlist.h:
976         * format.C:
977         * format.h:
978         * graph.C:
979         * lyxfunc.C:
980         * lyxrc.C:
981         * graphics/GraphicsConverter.C:
982         * graphics/PreviewLoader.C: header adjustment
983
984 2003-05-23  Angus Leeming  <leeming@lyx.org>
985
986         * LaTeXFeatures.[Ch] (useBabel): new method.
987         * bufferparams.C (writeLaTeX): use it.
988
989 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
990
991         * ParagraphList.h (set): remove unused function.
992
993 2003-05-23  André Pönitz  <poenitz@gmx.net>
994
995         * BufferView.C:
996         * BufferView_pimpl.C:
997         * buffer.C:
998         * buffer.h:
999         * lyxfunc.C:
1000         * undo_funcs.C: setUndo reworked
1001
1002         * iterators.[Ch]: add access to topmost ParagraphList
1003
1004         * lyxtext.[Ch] (workWidth): add a const
1005
1006 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1007
1008         * texrow.[Ch] (increasePos): remove function
1009         * exporter.C (export): removed unused var and outdated comment
1010
1011 2003-05-23  Angus Leeming  <leeming@lyx.org>
1012
1013         * latexrunparams.h: rename fragile as moving_arg.
1014         * paragraph.C (simpleTeXOnePar): ditto.
1015         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1016
1017 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1018
1019         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1020         (createUndo): ditto
1021         (textUndoOrRedo): comment out a currently unused var.
1022
1023         * paragraph.h (NO_NEXT): enable NO_NEXT
1024
1025         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1026
1027         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1028
1029         * exporter.C (Export): adjust for removeAutoInsets removal.
1030
1031         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1032
1033         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1034
1035         * BufferView.[Ch] (removeAutoInsets): delete function
1036
1037 2003-05-22  Angus Leeming  <leeming@lyx.org>
1038
1039         * latexrunparams.h: add a free_spacing variable.
1040
1041         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1042         to pass moving_arg, as the data is stored in runparams.fragile.
1043
1044         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1045         to Inset::latexOptional or to simpleTeXOnePar.
1046
1047         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1048         free_spacing arg to Inset::latexOptional.
1049
1050         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1051         free_spacing arg.
1052
1053 2003-05-22  Angus Leeming  <leeming@lyx.org>
1054
1055         * latexrunparams.h: add fragile and use_babel variables.
1056
1057         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1058         * buffer.C (makeLaTeXFile): store this returned value in
1059         runparams.use_babel, thus passing it to the inset::latex methods.
1060
1061         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1062         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1063
1064         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1065         longer has a fragile arg, as it is stored in runparams.fragile.
1066
1067         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1068         moving_arg parameter as the data is stored in runparams.fragile.
1069
1070         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1071         a fragile parameter as the data is stored in runparams.fragile.
1072
1073 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1074
1075         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1076
1077 2003-05-22  Angus Leeming  <leeming@lyx.org>
1078
1079         * latexrunparams.h: add a 'bool nice' which defaults to false.
1080
1081         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1082         now encapsulated within runparams.
1083
1084         * bufferlist.C (updateIncludedTeXfiles):
1085         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1086
1087 2003-05-22  Angus Leeming  <leeming@lyx.org>
1088
1089         * latexrunparams.h: new file containing struct LatexRunParams.
1090         * Makefile.am: add new file.
1091
1092         * LaTeX.[Ch] (c-tor, run):
1093         * buffer.[Ch] (makeLaTeXFile):
1094         * bufferlist.[Ch] (updateIncludedTeXfiles):
1095         * converter.C (convert, scanLog):
1096         * converter.[Ch] (runLaTeX):
1097         * exporter.C (Export):
1098         * paragraph.[Ch] (simpleTeXOnePar):
1099         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1100         * paragraph_funcs.[Ch] (latexParagraphs):
1101         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1102         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1103         pass around a LatexRunParams parameter.
1104
1105 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1106
1107         * paragraph.[Ch]: remove unused constructor
1108
1109         * ParagraphList.C (erase): new function, taking two iterators
1110
1111 2003-05-22  André Pönitz  <poenitz@gmx.net>
1112
1113         * undo_funcs.C: remove duplicated code
1114
1115         * iterator.[Ch]: operator=
1116
1117 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1118
1119         * tabular.C (SetMultiColumn): ws changes
1120
1121         * rowpainter.C (paintFirst): get rid of a ->previous
1122
1123         * lyx_cb.C (getPossibleLabel): parlist simplification
1124
1125         * BufferView.C (ChangeInsets): simplify slightly.
1126
1127 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1128
1129         * LyXAction.C: new lfun space-insert, kill protected-space-insert
1130         * lfuns.h: new LFUN_SPACE
1131         * lyxfunc.C: protected space has a new lfun
1132         * paragraph_funcs.C: read new space insets
1133         * text3.C:
1134         * factory.C: handle new space insets
1135
1136 2003-05-22  André Pönitz  <poenitz@gmx.net>
1137
1138         * BufferView.C:
1139         * BufferView_pimpl.C:
1140         * buffer.[Ch]:
1141         * lyxfunc.C:
1142         * undo_funcs.C: return a ParIterator from getParFromID.
1143
1144         * iterators.[Ch]: add two const's
1145
1146 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1147
1148         * toc.C (getTocList): adjust
1149
1150         * iterators.[Ch]: rework for parlist
1151
1152         * buffer.C (par_iterator_begin): adjust
1153         (par_iterator_end): adjust
1154
1155         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1156
1157         * BufferView.C (removeAutoInsets): adjust
1158         (ChangeInsets): adjust
1159
1160 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
1161
1162         * text.C (top_y): fix bug 1110
1163
1164 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
1165
1166         * errorlist.[Ch]: added
1167         * buffer.C:
1168         * BufferView.[Ch]:
1169         * BufferView_pimpl.C:
1170         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1171         instead
1172
1173 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1174
1175         * Makefile.am: ensure that lyx is relinked upon changes to the
1176         various "convenience" libs.
1177
1178 2003-05-20  Angus Leeming  <leeming@lyx.org>
1179
1180         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1181         files are compiled in alphabetical order again.
1182
1183         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1184
1185 2003-05-19  Angus Leeming  <leeming@lyx.org>
1186
1187         * gettext.[Ch]: remove "char const * _(char const *)".
1188
1189 2003-05-19  André Pönitz  <poenitz@gmx.net>
1190
1191         * dimension.[Ch]: promote from mathed/dimension.[Ch]
1192
1193         * Makefile.am:
1194         * BufferView.C:
1195         * DepTable.h:
1196         * LaTeXFeatures.C:
1197         * buffer.C:
1198         * lyxfont.C:
1199         * lyxlex.h:
1200         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1201
1202 2003-05-19  André Pönitz  <poenitz@gmx.net>
1203
1204         * buffer.C:
1205         * lyxlayout.[Ch]:
1206         * lyxtextclass.[Ch]:
1207         * paragraph.C:
1208         * paragraph_funcs.[Ch]:
1209         * text2.C:
1210         * text3.C: more insetenv work
1211
1212 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
1213
1214         * ParagraphParameters.C (params2string): small bug fixed
1215
1216 2003-05-16  André Pönitz  <poenitz@gmx.net>
1217
1218         * debug.C:
1219         * bufferview_funcs.C: patch from Kornel Benko to prevent
1220           crash when _(...) is called twice in a statement
1221
1222 2003-05-16  André Pönitz  <poenitz@gmx.net>
1223
1224         * BufferView.C:
1225         * lyxfunc.C:
1226         * text.C:
1227         * text2.C:
1228         * text3.C:
1229         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1230
1231 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
1232
1233         * lyx_main.C (init): remove spurious static_cast
1234
1235 2003-05-14  André Pönitz  <poenitz@gmx.net>
1236
1237         * BufferView.C: fix format string
1238
1239 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
1240
1241         * BufferView.[Ch] (insertErrors): removed
1242         * BufferView.[Ch] (showErrorList): added
1243         * buffer.C (runChkTeX):
1244         * converter.C (scanLog): call showErrorList instead of inserterrors
1245
1246 2003-05-13  André Pönitz  <poenitz@gmx.net>
1247
1248         * BufferView_pimpl.C:
1249         * buffer.C:
1250         * bufferview_func.C:
1251         * MenuBackend.C:
1252         * lyxfunc.C:
1253         * lyxrc.C:
1254         * tex-accent.C:
1255         * text3.C:
1256         * toc.C:
1257         * tabular_funcs.h: tostr() from its own header
1258
1259         * ParagraphParameters.C:
1260         * ToolbarBackend.C:
1261         * bufferparams.C:
1262         * format.C:
1263         * lyxlex_pimpl.C:
1264         * text3.C: STRCONV()
1265
1266 2003-05-12  André Pönitz  <poenitz@gmx.net>
1267
1268         * BufferView.C:
1269         * BufferView_pimpl.C:
1270         * CutAndPaste.C:
1271         * LaTeX.C:
1272         * LaTeXFeatures.C:
1273         * ParagraphParameters.C:
1274         * buffer.C:
1275         * bufferlist.C:
1276         * bufferparams.C:
1277         * bufferview_funcs.C:
1278         * converter.C:
1279         * counters.C:
1280         * debug.C:
1281         * exporter.C:
1282         * format.C:
1283         * importer.C:
1284         * lyx_cb.C:
1285         * lyx_main.C:
1286         * lyxfont.C:
1287         * lyxfunc.C:
1288         * lyxvc.C:
1289         * paragraph.C:
1290         * paragraph_funcs.C:
1291         * tabular.C:
1292         * tabular_funcs.C:
1293         * text2.C:
1294         * text3.C:  boost::format -> bformat  all over the place
1295
1296
1297 2003-05-09  André Pönitz  <poenitz@gmx.net>
1298
1299         * LColor.[Ch]: Pimpl the #include <map> away
1300
1301 2003-05-09  John Levon  <levon@movementarian.org>
1302
1303         * bufferlist.C: never remove emergency saves
1304
1305 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1306
1307         * Makefile.am: better lib building
1308
1309 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1310
1311         * texrow.[Ch]: remove dependency on Paragraph and just store a id
1312         instead.
1313         * paragraph_pimpl.C (simpleTeXBlanks): adjust
1314         (simpleTeXSpecialChars): adjust
1315         (simpleTeXSpecialChars): adjust
1316         * paragraph.C (simpleTeXOnePar): adjust
1317         * buffer.C (makeLaTeXFile): adjust
1318
1319         * Makefile.am (BOOST_LIBS): allow boost as system lib.
1320
1321         * text2.C (changeDepth): parlist cleanup
1322         (getColumnNearX): ditto
1323
1324         * rowpainter.C (getLabelFont): parlist cleanup
1325
1326         * bufferlist.C (newFile): parlist cleanup
1327
1328         * CutAndPaste.C (eraseSelection): parlist cleanup
1329
1330         * BufferView_pimpl.C (trackChanges): parlist cleanup
1331         (dispatch): ditto
1332
1333         * BufferView.C (lockInset): parlist cleanup.
1334         (ChangeInsets): ditto
1335
1336 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1337
1338         * CutAndPaste.h: Update file header.
1339
1340         * CutAndPaste.C: Update file header.
1341         Store the parts cut out of the Document in a limited_stack.
1342         (copySelection): adjust
1343         (pasteSelection): new function, takes the index in the limited stack.
1344         (nrOfParagraphs): adjust
1345         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1346         simplify error inset insertion.
1347         (checkPastePossible): adjust
1348
1349 2003-05-06  John Levon  <levon@movementarian.org>
1350
1351         * text2.C: don't cast wrap inset to float
1352
1353 2003-05-05  André Pönitz  <poenitz@gmx.net>
1354
1355         * iterator.C:
1356         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1357
1358         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1359           few naked Paragraph *.
1360
1361 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
1362
1363         * bufferparams.C: Output warning if a document with missing
1364         TeX document class is loaded
1365         * exporter.C: Disable TeX exports if the document class is missing
1366         * lyxtextclass.C:
1367         * lyxtextclass.h:
1368         * lyxtextclasslist.C: Handle new textclass.lst format; new method
1369         isTeXClassAvailable()
1370
1371 2003-05-03  John Levon  <levon@movementarian.org>
1372
1373         * BufferView.h:
1374         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1375         explicit cursor show/hide
1376
1377         * BufferView_pimpl.h:
1378         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1379         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1380
1381         * lyxfunc.C: hide cursor before dispatching.
1382
1383         * lyx_cb.C:
1384         * lyxfind.C:
1385         * text.C:
1386         * text3.C: remove explicit cursor hides
1387
1388 2003-05-02  André Pönitz  <poenitz@gmx.net>
1389
1390         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1391
1392         * undo_funcs.C:
1393         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1394           linked lists
1395
1396         * text2.C: tiny whitespace
1397
1398 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1399
1400         * undo_funcs.C: almost only ws changes.
1401
1402         * ParagraphList.C (splice): just return if pl is empty.
1403
1404 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1405
1406         * ParagraphList.C (splice): new function.
1407
1408         * CutAndPaste.C (pasteSelection): use it
1409
1410 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1411
1412         * CutAndPaste.C (pasteSelection): remove the last next and
1413         previous from this file.
1414
1415 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1416
1417         * CutAndPaste.C (pasteSelection): more clean up, user proper
1418         ParagraphList functions for pasteing.
1419
1420         * ParagraphList.C (insert): new function, three arg insert
1421
1422 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1423
1424         * ParagraphList.C (insert): new function, three arg insert
1425
1426         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1427         not on paragraphs.
1428
1429 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1430
1431         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1432
1433 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1434
1435         * CutAndPaste.C (pasteSelection): remove some unneeded code.
1436
1437 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1438
1439         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1440         (copySelection): clean up a bit.
1441         (pasteSelection): use make_pair
1442
1443         * ParagraphList.C (ParagraphList): implement copy constructor
1444         (operator=): implement, base on copy constructor.
1445         (assign): new func
1446
1447         * paragraph.C (erase): return a bool
1448
1449         * paragraph_pimpl.C (erasePos): remove function, move contents...
1450         (erase): ... here. Return a bool.
1451         (erase): call erase instead of erasePos.
1452
1453 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
1454
1455         * ParagraphList.h: define PitPosPair
1456         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1457         ParagraphList, fix a bug on pasting multiple pars
1458         * text2.C: change interface to C&P
1459
1460 2003-04-30  André Pönitz  <poenitz@gmx.net>
1461
1462         * undo_func.C: revert part of yesterday's patch 2
1463
1464 2003-04-30  John Levon  <levon@movementarian.org>
1465
1466         * LColor.C: s/tabular/table/
1467
1468 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1469
1470         * text3.C (dispatch): do not convert iterator -> pointer
1471         * undo_funcs.C (setCursorParUndo): ditto
1472         * text_funcs.C (transposeChars): ditto
1473
1474         * text2.C (setLayout): ws changes only
1475
1476         * text.C (breakParagraph): do not convert iterator -> pointer
1477         (insertChar): ditto
1478         (acceptChange): ditto
1479         (rejectChange): ditto
1480         (changeCase): ditto
1481         (Delete): ditto
1482         (backspace): ditto
1483
1484         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1485         pointer
1486
1487 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1488
1489         * text3.C (gotoInset): YABG (yet another bad getChar)
1490
1491 2003-04-29  André Pönitz  <poenitz@gmx.net>
1492
1493         * paragraph.h: make operator= private unimplemented as long as
1494           it is unusable
1495
1496         * ParagraphList.C: whitespace
1497
1498         * paragraph.[Ch]:
1499         * paragraph_pimpl.[Ch]:
1500         * paragraph_funcs.C:
1501         * CutAndPaste.C:
1502         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
1503
1504         * text2.C:
1505           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1506
1507 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1508
1509         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1510         * paragraph.[Ch] (erase):
1511         * paragraph_pimpl.[Ch] (erase): change return type and value
1512         * text2.C (cutSelection): some rework
1513
1514 2003-04-28  John Levon  <levon@movementarian.org>
1515
1516         * bufferlist.C: changes for unsaved changes dialog
1517
1518 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1519
1520         * bufferlist.C (newFile): set language (messages_) for new
1521         documents also.
1522
1523         * buffer.C (readFile): ws changes only.
1524
1525 2003-04-28  André Pönitz  <poenitz@gmx.net>
1526
1527         * undo_funcs.C:
1528         * lyxfunc.C:
1529         * buffer.[Ch]:
1530         * BufferView_pimpl.C:
1531         * BufferView.C: getParFromID related ParagraphList::iterator changes
1532
1533 2003-04-28  André Pönitz  <poenitz@gmx.net>
1534
1535         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1536           Changes
1537
1538 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1539
1540         * messages.C: remove one more localedir class variable.
1541
1542 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1543
1544         * messages.C (getLocaleDir): singleton generation function
1545         (Pimpl): use it.
1546         (Messages): add a default constructor.
1547
1548         * main.C (main): do not setup localedir here, do not call
1549         gettext_init.
1550
1551         * gettext.C (_): use it.
1552         (gettext_init): delete funciton
1553
1554 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1555
1556         * gettext.C (getLyXMessages): new singleton generating function.
1557
1558         * buffer.C (updateDocLang): adjust
1559
1560         * Makefile.am (messages.o): add target
1561         (main.o): remove target
1562
1563 2003-04-27  John Levon  <levon@movementarian.org>
1564
1565         * bufferlist.C:
1566         * lyx_cb.C:
1567         * lyxfunc.C:
1568         * lyxvc.C: specify cancel button in Alert::prompt
1569
1570 2003-04-26  John Levon  <levon@movementarian.org>
1571
1572         * text3.C:
1573         * lyxfunc.C:
1574         * lfuns.h:
1575         * LyXAction.C: add LFUN_INSET_SETTINGS
1576
1577         * lyxfunc.C: don't enable tabular-feature when there's
1578         just any locking inset
1579
1580 2003-04-26  John Levon  <levon@movementarian.org>
1581
1582         * bufferlist.C: re-add Cancel to buffer close question
1583
1584         * lyxfunc.C: fix import UI a bit
1585
1586 2003-04-25  John Levon  <levon@movementarian.org>
1587
1588         * gettext.C: remove the broken asserts for now
1589
1590 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1591
1592         * messages.C: make case where setlocale cannot comply work better.
1593
1594         * buffer.C (updateDocLang): new function
1595         (changeLanguage): use it
1596         (readFile): use it
1597
1598         * text2.C (setCounter): use B_ a bit.
1599
1600         * lyxlayout.C (Read): be sure to trim the label strings.
1601
1602         * messages.C (Messages): fix typo in comment
1603
1604         * buffer.C (readFile): set message_ after file is loaded.
1605         (makeDocBookFile): remove double return
1606         (changeLanguage): reset message_ upon language change.
1607         (B_): new func, use this to get translated buffer strings.
1608
1609         * main.C: add myself and Jean Marc as authors.
1610
1611 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1612
1613         * messages.[hC]: pimplify Messages, and three different pimpls to be
1614         used in different circumstances.
1615
1616         * gettext.[Ch]: change for use with new message code.
1617
1618 2003-04-24 André Pönitz <poenitz@gmx.net>
1619
1620         * factory.C: support for eqref
1621
1622 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1623
1624         * messages.[Ch]: add missing char
1625
1626         * Makefile.am (lyx_SOURCES): add messages.[Ch]
1627
1628         * messages.[Ch]: New files
1629
1630 2003-04-18  John Levon  <levon@movementarian.org>
1631
1632         * BufferView.h:
1633         * BufferView.C:
1634         * BufferView_pimpl.C:
1635         * lfuns.h:
1636         * LyXAction.C:
1637         * lyxtext.h:
1638         * text2.C: remove layout-copy/paste (bug 778)
1639
1640 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1641
1642         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1643
1644 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1645
1646         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1647         if they succeed. Act accordingly.
1648
1649 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1650
1651         * text2.C (setCharFont): adjust
1652         (setCounter): adjust
1653         (insertStringAsLines): adjust
1654
1655         * text.C (leftMargin): adjust
1656         (setHeightOfRow): adjust
1657
1658         * rowpainter.C (paintFirst): adjust
1659         (paintLast): adjust
1660
1661         * paragraph_funcs.C (depthHook): ParagraphList::iterators
1662         (outerHook): ditto
1663         (isFirstInSequence): ditto
1664         (getEndLabel): ditto
1665         (outerFont): adjust
1666
1667         * paragraph.C (getParLanguage): comment out some hard stuff.
1668
1669         * buffer.C (insertStringAsLines): take a ParagraphList as arg
1670         (sgmlError): ditto
1671         (simpleDocBookOnePar): ditto
1672         (makeDocBookFile): use ParagraphList::iterator
1673
1674         * CutAndPaste.C (pasteSelection): adjust
1675
1676 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1677
1678         * text2.C (getFont): adjust
1679         (getLayoutFont): adjust
1680         (getLabelFont): adjust
1681
1682         * paragraph_funcs.C (TeXOnePar): adjust
1683
1684         * buffer.C (simpleLinuxDocOnePar): adjust
1685         (simpleDocBookOnePar): adjust
1686
1687         * CutAndPaste.C (pasteSelection): adjust
1688
1689         * BufferView.C (getEncoding): adjust
1690
1691         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1692
1693 2003-04-16  John Levon  <levon@movementarian.org>
1694
1695         * lyxfind.C: use parlist stuff for search/changes
1696
1697 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1698
1699         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1700
1701         * text2.C (deleteEmptyParagraphMechanism): adjust
1702
1703         * text2.[Ch] (ownerParagraph): delete func (both of them
1704
1705 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1706
1707         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1708
1709 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1710
1711         * ParagraphList.C: prepare for NO_NEXT
1712
1713 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1714
1715         * text2.C (getFont): adjust
1716         (getLayoutFont): adjust
1717         (getLabelFont): adjust
1718
1719         * paragraph.C (getFont): adjust
1720         (getLabelFont): adjust
1721         (getLayoutFont): adjust
1722
1723         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1724
1725 2003-04-15  John Levon  <levon@movementarian.org>
1726
1727         From Angus Leeming
1728
1729         * lyx_main.C: handle Include in .ui files
1730
1731 2003-04-15  John Levon  <levon@movementarian.org>
1732
1733         * MenuBackend.C: make the doc files length shorter
1734
1735         * ToolbarBackend.h:
1736         * ToolbarBackend.C: handle toolbar placement flags,
1737         Minibuffer
1738
1739 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1740
1741         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1742         adjust
1743
1744         * paragraph_funcs.C (TeXOnePar): adjust
1745
1746         * paragraph.C (getLabelFont): add outerfont arg, adjust
1747         (getLayoutFont): ditto
1748         (simpleTeXOnePar): adjust
1749
1750         * paragraph_pimpl.C (realizeFont): delete func
1751
1752 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
1753
1754         * text2.C (beforeFullRowInset): added a bad getchar check, removed
1755         row argument, constify cur argument.
1756
1757 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1758
1759         * text2.C (getFont): adjust
1760         (getLayoutFont): adjust
1761         (getLabelFont): adjust
1762
1763         * paragraph_funcs.C (TeXOnePar): adjust
1764         (outerFont): new func...
1765         (realizeFont): ...moved out from here, changed this to facilitate
1766         transition
1767
1768         * paragraph.C (getFont): take outerfont as arg, adjust
1769         (simpleTeXOnePar): add outerfont arg, adjust
1770
1771         * buffer.C (simpleLinuxDocOnePar): adjust
1772         (simpleDocBookOnePar): adjust
1773
1774         * CutAndPaste.C (pasteSelection): adjust
1775
1776         * BufferView.C (getEncoding): adjust
1777
1778 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1779
1780         * text2.C (setCharFont): adjust
1781         (setCounter): adjust
1782
1783         * text.C (leftMargin): adjust
1784         (setHeightOfRow): adjust
1785
1786         * rowpainter.C (paintFirst): adjust
1787         (paintLast): adjust
1788
1789         * paragraph_pimpl.C (realizeFont): adjust
1790
1791         * paragraph.C (isFirstInSequence): move from here...
1792         * paragraph_funcs.C (isFirstInSequence): ...to here
1793
1794         * paragraph.C (outerHook): move from here...
1795         * paragraph_funcs.C (outerHook): ...to here
1796
1797         * paragraph.C (depthHook): move from here...
1798         * paragraph_funcs.C (depthHook): ...to here
1799
1800         * paragraph.C (getEndLabel): move from here...
1801         * paragraph_funcs.C (getEndLabel): ...to here
1802
1803         * text2.C (realizeFont): move from here...
1804         * paragraph_funcs.C (realizeFont): ...to here
1805
1806 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1807
1808         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1809
1810 2003-04-14  Angus Leeming  <leeming@lyx.org>
1811
1812         * LColor.[Ch]: scrap LColor mathcursor.
1813
1814 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1815
1816         * lyxlex.[Ch] (text): delete function
1817         * trans.C (Load): adjust
1818         * paragraph_funcs.C (readParToken): adjust
1819
1820 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1821
1822         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1823         vector<char> instead of a char[].
1824
1825         * lyxlex_pimpl.C (getString): adjust
1826         (next): adjust
1827         (lex): use getString
1828         (eatLine): adjust
1829         (nextToken): adjust
1830
1831         * lyxlex.C (text): use pimpl_->getString()
1832         (getBool): ditto
1833         (findToken): ditto
1834
1835 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1836
1837         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1838         (makeFontEntriesLayoutSpecific): temp var for par.size()
1839         (setLayout): temp var for ownerParagraphs().end()
1840         (fullRebreak): temp var for rows().end()
1841         (selectionAsString): temp var for boost::next(startpit), realize
1842         that the while really is a regular for loop.
1843         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1844         setCursor in one place.
1845         (setParagraph): temp vr for ownerParagraphs().end()
1846         (updateCounters): make the while loop a for loop
1847         (cutSelection): temp var for ownerParagraphs().end()
1848         (updateInset): make the do {} while() a regular for loop
1849         (getCursorX): use temp vars
1850         (setCurrentFont): use temp vars
1851         (getColumnNearX): use temp vars
1852
1853 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1854
1855         * text.C (transformChar): use temp var for getChar
1856         (computeBidiTables): use temp var for row->par()
1857         (fill): move temp vars for row->par() and pit->layout() earlier in
1858         the function.
1859         (labelFill): use temp var for row->par()
1860         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1861         asc and desc, realize that pit never changes and that firstpit is
1862         just a duplicate and not needed. Exchange rit->par() with pit in a
1863         lot of places.
1864         (breakAgain): use a temp var for boost::next(rit)
1865         (breakAgainOneRow): ditto
1866         (breakParagraph): use a temp var for rows().begin()
1867         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1868         (cursorRightOneWord): use temp var for cursor.par() and
1869         cursor.pos(), remove usage of tmpcursor.
1870         (cursorLeftOneWord): use temp var for cursor.par() and
1871         cursor.pos() only set cur at end of function.
1872
1873 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1874
1875         * text.C, text2.C: exchange all usage of Paragraph::next with
1876         boost::next(ParagraphList::iterator)
1877
1878         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1879
1880         * text2.C (cursorTop): simplify implementation
1881         (cursorBottom): ditto
1882         (setParagraph): use ParagraphList::iterator
1883         (setCurrentFont): adjust
1884         (getColumnNearX): adjust
1885         (cursorRight): adjust
1886         (cursorLeft): remove usage of Paragraph::previous
1887         (cursorUpParagraph): ditto
1888         (deleteEmptyParagraphMechanism): slight cleanup
1889
1890         * text.C (isBoundary): take a Paragraph const & instead of a
1891         pointer as arg.
1892         (addressBreakPoint): ditto
1893         (leftMargin): remove usage of Paragraph::previous.
1894         (setHeightOfRow): ditto
1895         (cursorLeftOneWord): ditto
1896         (selectNextWordToSpellcheck): ditto
1897         (Delete): ditto
1898         (backspace): ditto
1899         (breakParagraph): remove one usage of Paragraph::next
1900         (redoParagraph): ditto
1901         (acceptChange): ditto
1902         (insertChar): adjust
1903         (rowBreakPoint): adjust
1904
1905         * bufferview_funcs.C (toggleAndShow): adjust
1906
1907 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
1908
1909         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1910         methods to access it.
1911         * lyxtext.h:
1912         * text.C: Added updateRowPositions to compute all row positions.
1913         Make top_y and getRowNearY() to use the cached y position
1914
1915 2003-04-11  John Levon  <levon@movementarian.org>
1916
1917         * text.C (rowBreakPoint): reintroduce the labelEnd
1918         checks, code copied from the row fill stuff. Deep voodoo.
1919
1920         * text.C (fill): add a comment and debugging for the
1921         next poor soul.
1922
1923 2003-04-11  John Levon  <levon@movementarian.org>
1924
1925         * text.C: make sure fullrow insets get wrapped to the next line,
1926         even when they're in a manual label
1927
1928 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
1929
1930         * text2.C (insertParagraph): make it take ParagraphList::iterator
1931         as arg.
1932         (setLayout): make it return ParagraphList::iterator
1933         (redoParagraphs): ditto
1934         (setCounter): ditto
1935         (checkParagraph): ditto
1936
1937         * text.C (getRow): make getrow take ParagraphList::iterator as arg
1938
1939         * text2.C: adjust several funcs.
1940         (realizeFont): take a ParagraphList::iterator as arg.
1941         (getLayoutFont): ditto
1942         (getLabelFont): ditto
1943         (setCharFont): ditto
1944
1945         * text.C: adjust several funcs.
1946
1947 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
1948
1949         * text.C (selectNextWordToSpellcheck): don't accidentally
1950         skip insets
1951
1952 2003-04-10  John Levon  <levon@movementarian.org>
1953
1954         * ToolbarBackend.C (getIcon): special handling for
1955         LFUN_MATH_DELIM
1956
1957 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
1958
1959         * text2.C (cursorRight): a getChar assert fixed
1960
1961 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1962
1963         * text2.C (getFont): change to take a ParagraphList::iterator
1964         instead of Paragraph*
1965         Adjust several functions.
1966
1967         * text.C (transformChar): change to take a ParagraphList::iterator
1968         instead of Paragraph*
1969         (singleWidth): ditto
1970         Adjust several functions.
1971
1972         * rowpainter.C: adjust several functions
1973         * rowpainter.h:store a ParagraphList::iterator and not a
1974         Paragraph&.
1975
1976
1977 2003-04-09  John Levon  <levon@movementarian.org>
1978
1979         * lyxfunc.C:
1980         * lfuns.h:
1981         * LyXAction.h:
1982         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1983         and the "help" bits as well
1984
1985 2003-04-09  John Levon  <levon@movementarian.org>
1986
1987         * ToolbarBackend.h:
1988         * ToolbarBackend.C: allow multiple toolbars
1989
1990 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1991
1992         * undo_funcs.C (setCursorParUndo): adjust
1993
1994         * text_funcs.C (transposeChars): adjust
1995
1996         * text3.C (gotoNextInset): adjust
1997         (dispatch): adjust
1998
1999         * text2.C (setLayout): adjust
2000         (changeDepth): adjust
2001         (setFont): adjust
2002         (redoParagraphs): adjust
2003         (selectionAsString): adjust
2004         (setParagraph): adjust
2005         (insertInset): adjust
2006         (cutSelection): adjust
2007         (copySelection): adjust
2008         (pasteSelection): adjust
2009         (insertStringAsLines): adjust
2010         (updateInset): adjust
2011         (setCursor): change to take a ParagraphList::iterator parameter
2012         (setCursorIntern): change to take a ParagraphList::iterator parameter
2013         (setCurrentFont): adjust
2014         (cursorLeft): adjust
2015         (cursorRight): adjust
2016         (deleteEmptyParagraphMechanism): adjust
2017
2018         * text.C (breakParagraph): adjust
2019         (insertChar): adjust
2020         (acceptChange): adjust
2021         (rejectChange): adjust
2022         (selectNextWordToSpellcheck): adjust
2023         (changeCase): adjust
2024         (Delete): adjust
2025         (backspace): adjust
2026
2027         * lyxfind.C (SearchForward): adjust
2028         (SearchBackward): adjust
2029         (nextChange): adjust
2030
2031         * lyxcursor.C (par): adjust
2032
2033         * lyxcursor.h: store a ParagraphList::iterator instead of a
2034         Paragraph*
2035
2036         * lyx_cb.C (getPossibleLabel): adjust
2037
2038         * bufferview_funcs.C (toggleAndShow): adjust
2039
2040         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2041         (dispatch): adjust
2042
2043         * BufferView.C (removeAutoInsets): adjust
2044         (lockedInsetStoreUndo): adjust
2045
2046 2003-04-09  John Levon  <levon@movementarian.org>
2047
2048         * ToolbarBackend.C: try icon without argument
2049         if with argument fails
2050
2051 2003-04-08  John Levon  <levon@movementarian.org>
2052
2053         * ToolbarBackend.h:
2054         * ToolbarBackend.C: add getIcon(), handle tooltip,
2055         and change from "Icon" to "Item".
2056
2057 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2058
2059         * BufferView.C (lockInset): another bad getchar crunched
2060
2061 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2062
2063         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2064         again)
2065
2066 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2067
2068         * lyxfind.C (searchForward, searchBackwards): bug 782
2069
2070 2003-04-07  John Levon  <levon@movementarian.org>
2071
2072         * paragraph.C: remove dead comment
2073
2074         * text.C: remove troublesome depth-fiddling code
2075         in leftMargin() and rightMargin() (bug 1017)
2076
2077         * text.C: fix breaking of rows in nested lists
2078         (bug 1004)
2079
2080         * text2.C (updateCounters): fix up depth values
2081         (bug 1013)
2082
2083 2003-04-07  John Levon  <levon@movementarian.org>
2084
2085         * BufferView_pimpl.C: clear message when doc finishes resizing,
2086         and after a mouse event
2087
2088         * lyxfunc.C: clear message after exiting inset
2089
2090 2003-04-07  John Levon  <levon@movementarian.org>
2091
2092         * bufferview_funcs.C: show math status not outside
2093         status in the statusbar
2094
2095 2003-04-07  John Levon  <levon@movementarian.org>
2096
2097         * lyxfunc.C: note status changed after a depth change
2098
2099 2003-04-04  Angus Leeming  <angus@localhost.localdomain>
2100
2101         * LaTeX.h: move AuxInfo operator==, != out of line.
2102         Remove LaTeX virtual destructor; nothing derives from it.
2103         Move operator()() out of public area and rename it startscript().
2104         Change protected for private.
2105
2106 2003-04-04  Angus Leeming  <leeming@lyx.org>
2107
2108         * lyxfunc.C:
2109         * text2.C: remove unneeded #includes.
2110
2111 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2112
2113         * text2.C (dEPM): fix the heigth of the next row
2114
2115 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2116
2117         * text.C: squashed an invalid getChar requester + some ws changes
2118
2119 2003-04-03  John Levon  <levon@movementarian.org>
2120
2121         * bufferview_funcs.h:
2122         * bufferview_funcs.C:
2123         * lyxfunc.C:
2124         * lyxtext.h:
2125         * text2.C: make getStatus work for the env depth lfuns
2126
2127 2003-04-03  John Levon  <levon@movementarian.org>
2128
2129         * bufferview_funcs.h:
2130         * bufferview_funcs.C:
2131         * lyxfunc.C:
2132         * lyxtext.h:
2133         * text2.C: parlistize decDepth(), by merging it with incDepth()
2134
2135 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2136
2137         * lyxrow.h: store a ParagraphList::iterator instead of a
2138         Paragraph* and adjust other class functions to suit.
2139
2140         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2141         above.
2142
2143 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2144
2145         * text2.C (setCursor): do not anchor to cursor row for the time being
2146
2147 2003-04-02  John Levon  <levon@movementarian.org>
2148
2149         * LyXAction.C:
2150         * lfuns.h:
2151         * lyx_main.C:
2152         * lyxtext.h:
2153         * text.C:
2154         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2155
2156 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2157
2158         * paragraph.h: make ParagraphList and ParagraphList::iterator
2159         friends of Paragraph.
2160
2161         * buffer.C (makeLinuxDocFile): move towards ParagraphList
2162
2163         * ParagraphList.C: Use the private next_ and previous_ from
2164         Paragraph.
2165
2166 2003-04-01  John Levon  <levon@movementarian.org>
2167
2168         * ToolbarBackend.h:
2169         * ToolbarBackend.C:
2170         * Makefile.am: rename, remove defaults gunk
2171
2172         * MenuBackend.h:
2173         * MenuBackend.C: remove defaults gunk
2174
2175         * Languages.h:
2176         * Languages.C: remove defaults gunk
2177
2178         * lyx_main.h:
2179         * lyx_main.C: error out if files couldn't be found.
2180
2181 2003-04-02  John Levon  <levon@movementarian.org>
2182
2183         * text2.C: make incDepth() use parlist
2184
2185 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2186
2187         * undo_funcs.C (firstUndoParagraph): adjust
2188
2189         * text3.C (gotoInset): adjust
2190         (dispatch): adjust, and rewrite loop.
2191
2192         * text2.C (init): adjust, and rewrite loop.
2193         (redoParagraphs): adjust
2194         (updateInset): adjust, and rewrite loop.
2195         (deleteEmptyParagraphMechanism): adjust
2196
2197         * tabular.C (LyXTabular): adjust
2198         (SetMultiColumn): adjust
2199         (TeXRow): adjust
2200
2201         * lyxtext.[Ch] (ownerParagraph): delete function
2202         (ownerParagraphs): new function returns a ParagraphList.
2203
2204         * BufferView.C (removeAutoInsets): adjust
2205         (insertErrors): adjust
2206         (setCursorFromRow): adjust
2207
2208 2003-04-01  Angus Leeming  <leeming@lyx.org>
2209
2210         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2211         in the frontends.
2212
2213 2003-04-02  John Levon  <levon@movementarian.org>
2214
2215         * lyxtext.h:
2216         * text.C:
2217         * Makefile.am:
2218         * text_funcs.h:
2219         * text_funcs.C: make transposeChars a free function
2220
2221         * lyxrow_funcs.C: remove wrong comment
2222
2223 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2224
2225         * lyxtext.h: adjust
2226         * rowpainter.C: adjust
2227         * text.C: adjust
2228         * text2.C: adjust
2229         * text3.C: adjust
2230
2231         * lyxrow_funcs. [Ch]: new files
2232
2233         * lyxrow.[Ch]: remove next and previous pointers
2234         (next,previous): remove accessor functions
2235         (isParEnd): move to lyxrow_funcs
2236         (lastPos): move to lyxrow_funcs
2237         (nextRowIsAllInset): move to lyxrow_funcs
2238         (lastPrintablePos): move to lyxrow_funcs
2239         (numberOfSeparators): move to lyxrow_funcs
2240         (numberOfHfills): move to lyxrow_funcs
2241         (numberOfLabelHfills): move to lyxrow_funcs
2242         (hfillExpansion): move to lyxrow_funcs
2243
2244         * lyxfunc.C: adjust
2245
2246         * bufferview_funcs.C (toggleAndShow): adjust
2247
2248         * RowList.h: Remove class RowList from file leave just a
2249         std::list<Row>.
2250
2251         * RowList.C: delete file
2252
2253         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2254         and lyxrow_funcs.h
2255
2256 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2257
2258         * text3.C (cursorPrevious): adjust
2259         (cursorNext): adjust
2260         (dispatch): adjust
2261
2262         * text2.C (redoHeightOfParagraph): adjust
2263         (redoDrawingOfParagraph): adjust
2264         (setCursor): adjust
2265
2266         * text.C (breakParagraph): adjust
2267         (insertChar): adjust
2268         (backspace): adjust
2269
2270         * rowpainter.C (RowPainter): adjust
2271         (leftMargin): simplify and adjust
2272         (most rowpainter functions): adjust.
2273
2274         * rowpainter.h: store the row as RowList::iterator not as Row*
2275
2276         * lyxcursor.C (row): taka RowList::iterator as arg
2277         (irow): ditto
2278
2279         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2280         of Row*.
2281
2282 2003-04-01  Angus Leeming  <leeming@lyx.org>
2283
2284         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2285         stuff like bool Bool.
2286
2287 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2288
2289         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2290         rewrite a loop
2291
2292 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2293
2294         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2295         RowList::iterator.
2296
2297         * lyxtext.h (rows): drop one version and leve a const variant that
2298         returns a RowList::iterator.
2299
2300 2003-03-31  Angus Leeming  <leeming@lyx.org>
2301
2302         * text.C (fill): ensure that the signature is the same as that in the
2303         header file.
2304
2305 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
2306
2307         * text2.C (redoParagraphs): adjust
2308         (updateCounters): adjust
2309         (checkParagraph): adjust
2310         (getColumnNearX): adjust and reformat a bit.
2311
2312         * text.C (top_y): adjust
2313         (workWidth): adjust
2314         (leftMargin): adjust
2315         (prepareToPrint): adjust
2316         (getRow): adjust
2317         (getRowNearY): adjust
2318
2319         * lyxtext.h: make rowlist_ mutable.
2320
2321         * RowList.h: add const_iterator
2322         * RowList.C: adjust for RowList::const_iterator.
2323
2324         * text2.C (getCursorX): make it take a RowList::iterator as arg,
2325         adjust.
2326
2327 2003-03-31  John Levon  <levon@movementarian.org>
2328
2329         * lyxrc.h:
2330         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2331
2332         * lyx_main.C: set default fonts from using lyx_gui funcs
2333
2334         * exporter.C: pdf_mode moved from lyxrc
2335
2336         * lyx_cb.C:
2337         * lyxfunc.C: changes from above
2338
2339 2003-03-31  John Levon  <levon@movementarian.org>
2340
2341         * lyx_main.C: fix to the last fix
2342
2343 2003-03-31  John Levon  <levon@movementarian.org>
2344
2345         * bufferlist.C: "Load original" -> "Load Original"
2346
2347         * converter.C:
2348         * exporter.C:
2349         * importer.C:
2350         * lyx_main.C:
2351         * format.C: more Alert cleanups
2352
2353 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2354
2355         * text2.C (removeParagraph): make it take a RowList::iterator as
2356         arg, adjust.
2357         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2358         (postRowPaint): make it take a RowList::iterator as arg, adjust.
2359
2360         * text.C (anchor_row): make it take a RowList::iterator as arg,
2361         adjust.
2362         (computeBidiTables): make it take a const reference to Row instead
2363         of Row pointer, adjust.
2364         (leftMargin): make it take a RowList::iterator as arg, adjust.
2365         (rowBreakPoint): adjust
2366         (breakAgainOneRow): make it take a RowList::iterator as arg,
2367         adjust.
2368         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2369
2370         * bufferview_funcs.C (toggleAndShow): adjust
2371
2372 2003-03-30  John Levon  <levon@movementarian.org>
2373
2374         * Makefile.am:
2375         * BoostFormat.h:
2376         * boost-inst.C: moved to support
2377
2378         * several files: changes as a result
2379
2380 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2381
2382         * text2.C (LyXText): adjust.
2383         (init): adjust
2384         (removeRow): make it take a RowList::iterator as arg, adjust.
2385         (fullRebreak): adjust
2386         (deleteEmptyParagraphMechanism): adjust
2387         (clearPaint): adjust
2388         (postPaint): adjust
2389
2390         * text.C (top_y): adjust
2391         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2392         (breakAgain): make it take a RowList::iterator as arg, adjust.
2393         (breakParagraph): adjust
2394         (insertChar): adjust
2395         (backspace): adjust
2396
2397         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2398         need_break_row, and refresh_row.
2399
2400         * text3.C (dispatch): adjust
2401
2402         * text2.C (checkParagraph): adjust
2403         (setCursor): adjust
2404         (setCursorFromCoordinates): adjust
2405
2406         * text.C (top_y): adjust
2407         (workWidth): adjust
2408         (getRow): make it return a RowList::iterator, adjust
2409         (getRowNearY): make it return a RowList::iterator, adjust
2410
2411         * text2.C (init): adjust
2412         (insertRow): remove function
2413         (insertParagraph): adjust
2414         (redoParagraphs): adjust
2415         (fullRebreak): adjust
2416         (updateCounters): adjust
2417
2418         * text.C (top_y): rewrite to use RowList iterators.
2419         (top_y): adjust
2420         (setHeightOfRow): rewrite to sue RowList iterators.
2421         (appendParagraph): adjust
2422         (breakAgain): adjust
2423         (breakAgainOneRow): adjust
2424         (breakParagraph): adjust
2425         (getRow): adjust
2426         (getRowNearY): adjust, and remove commented code.
2427
2428         * lyxtext.h (firstRow): delete function
2429         (lastRow): delete function
2430         (rows): new function (const and non-const versions.)
2431         (insertRow): delete function
2432
2433         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2434
2435 2003-03-29  John Levon  <levon@movementarian.org>
2436
2437         * BufferView_pimpl.C: always update scrollbar top
2438         because pasting text when we're anchored could mean we
2439         miss an update altogether
2440
2441 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2442
2443         * text2.C (init): use rowlist_.end() and not 0.
2444         (insertRow): change to take a RowList::iterator as arg, adjust
2445         for this.
2446         (insertParagraph): change to take a RowList::iterator as arg,
2447         adjust for this.
2448         (redoParagraphs): remove some debug msgs.
2449
2450         * text.C (appendParagraph): change to take a RowList::iterator
2451         arg, adjust for this.
2452         (breakAgain): add an assert
2453         (breakAgainOneRow): ditto
2454
2455 2003-03-29  John Levon  <levon@movementarian.org>
2456
2457         * text2.C: do not clear selection after inc/decDepth
2458         (bug 550)
2459
2460 2003-03-29  John Levon  <levon@movementarian.org>
2461
2462         * BufferView.C:
2463         * buffer.C: fix broken strerrors according to Lars
2464
2465 2003-03-29  John Levon  <levon@movementarian.org>
2466
2467         * converters.C: more Alert cleanups
2468
2469 2003-03-29  John Levon  <levon@movementarian.org>
2470
2471         * bufferview_funcs.C: remove pointless Alert
2472
2473         * buffer.C: fix confusing error message when
2474         a template is chmoded 000
2475
2476 2003-03-29  John Levon  <levon@movementarian.org>
2477
2478         * BufferView.C:
2479         * BufferView.h:
2480         * BufferView_pimpl.C: Alert fixes
2481
2482         * Makefile.am:
2483         * tabular.C:
2484         * tabular-old.C: remove unused table compat reading
2485
2486 2003-03-29  John Levon  <levon@movementarian.org>
2487
2488         * BufferView.C:
2489         * buffer.C:
2490         * lyx_cb.h:
2491         * lyx_cb.C: more Alert cleanups
2492
2493         * lyxfunc.C: don't allow chktex if not latex document
2494
2495 2003-03-29  John Levon  <levon@movementarian.org>
2496
2497         * lyx_cb.C:
2498         * BufferView.C:
2499         * buffer.C: warnings pushed down from support/,
2500         kill err_alert
2501
2502 2003-03-29  John Levon  <levon@movementarian.org>
2503
2504         * lyxfunc.C: safety check for C-r (revert)
2505
2506 2003-03-29  John Levon  <levon@movementarian.org>
2507
2508         * bufferlist.h:
2509         * bufferlist.C: several UI fixes using Alert::prompt.
2510         Fix the pointless looping quit code. Fix stupid revert
2511         behaviour (bug 938)
2512
2513         * lyxvc.h:
2514         * lyxvc.C:
2515         * lyx_cb.C: use Alert::prompt
2516
2517         * lyx_main.C: remove a silly question
2518
2519         * lyxfunc.C: remove a couple of silly questions,
2520         use Alert::prompt
2521
2522 2003-03-28  John Levon  <levon@movementarian.org>
2523
2524         * text2.C: fix bug 974 (End on empty par)
2525
2526 2003-03-28  John Levon  <levon@movementarian.org>
2527
2528         * BufferView_pimpl.C:
2529         * LyXAction.C:
2530         * lfuns.h: remove do-nothing math greek lfuns
2531
2532 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2533
2534         * lyxgluelength.h (isValidGlueLength): add default arg on
2535         parameter 2. Remove default arg from friend in class.
2536
2537         * lyxlength.h (isValidLength): add default arg on parameter 2.
2538         Remove default arg from friend in class.
2539
2540         * text2.C (LyXText): adjust, initialize refresh_row.
2541         (init): adjust
2542         (removeRow): adjust
2543         (insertRow): adjust
2544         (insertParagraph): adjst
2545         (redoParagraphs): adjust
2546         (fullRebreak): adjust
2547         (updateCounters): adjust
2548         (deleteEmptyParagraphMechanism): first attempt at fixing a
2549         crashing bug.
2550
2551         * text.C (top_y): adjust
2552         (setHeightOfRow): adjust
2553         (getRow): adjust
2554         (getRowNearY): adjust
2555
2556         * lyxtext.h: include RowList.h
2557         (~LyXText): not needed anymore, deleted.
2558         (firstRow): modify for RowList
2559         (lastRow): new function
2560         Delete firstrow and lastrow class variables, add a Rowlist
2561         rowlist_ class variable.
2562
2563         * lyxrow.C (lastPos): use empty() and not !size() to check if a
2564         paragraph is empty.
2565
2566         * RowList.C (insert): fix case where it == begin().
2567
2568 2003-03-26  Angus Leeming  <leeming@lyx.org>
2569
2570         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2571         the thesaurus dialog.
2572
2573 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2574
2575         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2576
2577         * RowList.[Ch]: new files
2578
2579         * ParagraphList.C (erase): handle the case where it == begin
2580         correctly.
2581
2582 2003-03-25  John Levon  <levon@movementarian.org>
2583
2584         * Makefile.am:
2585         * aspell_local.h:
2586         * aspell.C: add new aspell support
2587
2588         * lyxrc.h:
2589         * lyxrc.C: Make use_pspell be use_spell_lib. Always
2590         have it accessible.
2591
2592 2003-03-25  Angus Leeming  <leeming@lyx.org>
2593
2594         * lfuns.h:
2595         * LyXAction.C (init): new LFUN_INSET_INSERT.
2596
2597         * BufferView_pimpl.C (dispatch): split out part of the
2598         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2599
2600         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2601         LFUN_INSET_APPLY.
2602
2603 2003-03-25  Angus Leeming  <leeming@lyx.org>
2604
2605         * lyxfunc.C (dispatch): changes to the Dialogs interface.
2606
2607 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
2608
2609         * text2.C:
2610         * text3.C: remove useless row->height(0)
2611
2612 2003-03-25  John Levon  <levon@movementarian.org>
2613
2614         * lyxtext.h:
2615         * text2.C:
2616         * text3.C: rename the refreshing stuff to better names
2617
2618 2003-03-24  John Levon  <levon@movementarian.org>
2619
2620         * BufferView_pimpl.h:
2621         * BufferView_pimpl.C: update layout choice on a mouse
2622         press/release
2623
2624 2003-03-23  John Levon  <levon@movementarian.org>
2625
2626         * Makefile.am: fix commandtags.h reference
2627
2628 2003-03-22  John Levon  <levon@movementarian.org>
2629
2630         * BufferView_pimpl.C:
2631         * lyxtext.h:
2632         * rowpainter.C:
2633         * rowpainter.h:
2634         * text.C:
2635         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2636
2637 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
2638
2639         * lyxtext.h:
2640         * text.C: take the rtl methods out of line
2641
2642 2003-03-21 André Pönitz <poenitz@gmx.net>
2643
2644         * metricsinfo.[Ch]: new files containing structures to be passed around
2645         during the two-phase-drawing...
2646
2647 2003-03-21 André Pönitz <poenitz@gmx.net>
2648
2649         * lyxtextclass.C: read 'environment' tag.
2650
2651 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
2652
2653         * text2.C (removeRow): fix bug 964
2654
2655 2003-03-20  John Levon  <levon@movementarian.org>
2656
2657         * rowpainter.C:
2658         * text.C:
2659         * text2.C: paint cleanups. Inset::update() dropped font
2660         parameter
2661
2662 2003-03-19  John Levon  <levon@movementarian.org>
2663
2664         * lyxfunc.C: only fitcursor/markDirty if available()
2665
2666 2003-03-19  John Levon  <levon@movementarian.org>
2667
2668         * commandtags.h: rename to ...
2669
2670         * lfuns.h: ... this, and renumber / cleanup
2671
2672 2003-03-19  John Levon  <levon@movementarian.org>
2673
2674         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2675         fit the cursor after an lfun
2676
2677         * BufferView.h:
2678         * BufferView.C:
2679         * BufferView_pimpl.h:
2680         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2681
2682         * LyXAction.C: layout-character should have ReadOnly
2683
2684         * ParagraphParameters.C:
2685         * buffer.C:
2686         * bufferview_funcs.C:
2687         * lyx_cb.C:
2688         * lyxfind.C:
2689         * lyxtext.h:
2690         * text.C:
2691         * text2.C:
2692         * text3.C:
2693         * undo_funcs.C: changes from above
2694
2695 2003-03-18  John Levon  <levon@movementarian.org>
2696
2697         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2698         remove it from update()
2699
2700         * lyxfunc.C: update layout choice after an lfun
2701
2702         * text3.C: remove extra updateLayoutChoice()s
2703
2704 2003-03-18  John Levon  <levon@movementarian.org>
2705
2706         * text.C: top_y change means full repaint, fix
2707         a drawing bug with cursor movement
2708
2709 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2710
2711         * lyxtext.h:
2712         * text.C:
2713         * text2.C: anchor row on setCursor
2714
2715 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2716
2717         * lyxtext.h: remove almost all mutable keywords
2718         * text.C:
2719         * text2.C:
2720         * text3.C: remove const keywords accordingly
2721
2722 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2723
2724         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2725         anon namespace
2726         (TeXEnvironment): ditto
2727         (TeXOnePar): ditto
2728
2729 2003-03-17  John Levon  <levon@movementarian.org>
2730
2731         * text.C (rowBreakPoint): remove attempt to fix displayed
2732         math insets inside a manual label
2733
2734 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2735
2736         * lyxtext.h: remove BufferView* as first arg from almost all class
2737         functions.
2738         * other files: adjust.
2739
2740 2003-03-17  John Levon  <levon@movementarian.org>
2741
2742         * lyxtext.h:
2743         * undo_funcs.C:
2744         * text2.C: more paint cleanups
2745
2746         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2747
2748         * rowpainter.h:
2749         * rowpainter.C: remove "smart" background painting code
2750
2751 2003-03-16  John Levon  <levon@movementarian.org>
2752
2753         * lyxtext.h:
2754         * text.C:
2755         * text2.C:
2756         * text3.C: add helper functions for setting refresh_row/y
2757
2758 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
2759
2760         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2761         newline inset which *can* get inserted in the pass_thru layouts.
2762         This is primarily for literate documents.
2763
2764 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
2765
2766         * buffer.C: increment LYX_FORMAT to 223
2767
2768 2003-03-14 André Pönitz <poenitz@gmx.net>
2769
2770         * textclass.h: prepare for environment handling, ws changes
2771         * lyxlayout.C: read latexheader and latexfooter tags
2772
2773 2003-03-14  John Levon  <levon@movementarian.org>
2774
2775         * text2.C: rewrite ::status() a bit
2776
2777 2003-03-13  John Levon  <levon@movementarian.org>
2778
2779         * lyxtext.h: add some docs
2780
2781 2003-03-13  John Levon  <levon@movementarian.org>
2782
2783         * lyxtext.h:
2784         * text.C:
2785         * text2.C:
2786         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2787
2788 2003-03-13  John Levon  <levon@movementarian.org>
2789
2790         * text3.C: fix appendix redrawing
2791
2792 2003-03-13  John Levon  <levon@movementarian.org>
2793
2794         * text.C (setHeightOfRow):
2795         * rowpainter.h:
2796         * rowpainter.C: make appendix mark have the text
2797           "Appendix" so the user knows what it is
2798
2799         * LColor.h:
2800         * LColor.C: s/appendixline/appendix/ from above
2801
2802 2003-03-13  John Levon  <levon@movementarian.org>
2803
2804         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2805
2806         * text.C: fix a getChar(pos) bug properly
2807
2808 2003-03-13  Angus Leeming  <leeming@lyx.org>
2809
2810         * commandtags.h:
2811         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2812         Probably only temporary. Let's see how things pan out.
2813
2814         * BufferView.C (unlockInset):
2815         * BufferView_pimpl.C (fitCursor):
2816         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2817
2818         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2819         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2820
2821         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2822         new functions that convert ParagraphParameters to and from a string.
2823
2824         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2825         BufferView::Pimpl's dispatch.
2826         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2827
2828 2003-03-13 André Pönitz <poenitz@gmx.net>
2829
2830         * lyxfunc.C:
2831         * text3.C:
2832         * factory.C: make it aware of InsetEnv
2833
2834 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2835
2836         * text2.C (setCursor): never ask for one past last
2837         (setCursor): add some debugging messages.
2838
2839         * text.C (singleWidth): never ask for one past last
2840         (singleWidth): ditto
2841         (leftMargin): ditto
2842         (rightMargin): ditto
2843         (rowBreakPoint): ditto
2844         (setHeightOfRow): ditto
2845         (prepareToPrint): ditto
2846
2847         * rowpainter.C (paintBackground): never ask for one past last
2848         (paintText): never ask for one past last
2849
2850         * paragraph_pimpl.C (getChar): make the assert stricter, never
2851         allow the one past last pos to be taken
2852
2853         * paragraph.C (getChar): ws changes only
2854
2855         * lyxrow.C (nextRowIsAllInset): never ask for one past last
2856         (numberOfSeparators): ditto
2857         (numberOfHfills): ditto
2858
2859 2003-03-12  John Levon  <levon@movementarian.org>
2860
2861         * author.h:
2862         * author.C:
2863         * bufferparams.h:
2864         * bufferparams.C:
2865         * paragraph_funcs.C: fix per-buffer authorlists
2866
2867 2003-03-12  John Levon  <levon@movementarian.org>
2868
2869         * text.C: fix newline in right address
2870
2871 2003-03-12  Angus Leeming  <leeming@lyx.org>
2872
2873         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2874         duplicate those in LyXFunc::dispatch.
2875
2876         * commandtags.h:
2877         * LyXAction.C:
2878         * ToolbarDefaults.C:
2879         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2880         Add LFUN_FONTFREE_UPDATE.
2881
2882         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2883         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2884
2885         * bufferview_func.[Ch]: several new functions to facilliate
2886         transfer of data to and from the character dialog.
2887
2888 2003-03-12  John Levon  <levon@movementarian.org>
2889
2890         * buffer.C:
2891         * paragraph.h:
2892         * paragraph.C:
2893         * paragraph_funcs.C:
2894         * paragraph_pimpl.C:
2895         * sgml.C:
2896         * tabular.C:
2897         * text.C:
2898         * text3.C: remove META_NEWLINE in favour of an inset
2899
2900         * rowpainter.h:
2901         * rowpainter.C: remove paintNewline (done by inset)
2902
2903 2003-03-12  John Levon  <levon@movementarian.org>
2904
2905         * paragraph_pimpl.C: complain about bad getChar()s
2906         for a while at least
2907
2908 2003-03-12  John Levon  <levon@movementarian.org>
2909
2910         * buffer.h:
2911         * buffer.C: move paragraph read into a separate function,
2912         a little renaming to reflect that.
2913
2914         * bufferparams.h:
2915         * bufferparams.C: remove the author_ids map, not necessary now
2916
2917         * factory.h:
2918         * factory.C: moved Buffer::readInset to here
2919
2920         * paragraph_funcs.h:
2921         * paragraph_funcs.C: readParagraph free function moved from
2922         buffer.C
2923
2924         * tabular.C: name change
2925
2926 2003-03-12  John Levon  <levon@movementarian.org>
2927
2928         * buffer.C:
2929         * ParagraphParameters.C: move par params input to
2930         a read() method
2931
2932         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2933         behave like a normal read from the stream wrt reading
2934         a line vs. a \\token
2935
2936 2003-03-12  John Levon  <levon@movementarian.org>
2937
2938         * paragraph.C:
2939         * ParagraphParameters.h:
2940         * ParagraphParameters.C: move output code to a
2941         ::write() method
2942
2943 2003-03-12  John Levon  <levon@movementarian.org>
2944
2945         * BufferView.C (insertLyXFile):
2946         * buffer.h:
2947         * buffer.C:
2948         * tabular.C: use a parlist iterator for creating the
2949           document.
2950
2951 2003-03-12  John Levon  <levon@movementarian.org>
2952
2953         * buffer.C: make current_change static local not
2954           static file-scope
2955
2956 2003-03-12  John Levon  <levon@movementarian.org>
2957
2958         * buffer.C: fix insertStringAsLines for change tracking
2959
2960 2003-03-12  John Levon  <levon@movementarian.org>
2961
2962         * BufferView.C:
2963         * tabular.C:
2964         * buffer.h:
2965         * buffer.C:
2966         * bufferparams.h:
2967         * bufferparams.C: move author list into params. Rename some
2968           functions. Move the header reading into a separate token
2969           loop. Move the header token reading into BufferParams.
2970
2971 2003-03-12  John Levon  <levon@movementarian.org>
2972
2973         * changes.C: put debug inside lyxerr.debugging() checks
2974
2975 2003-03-11 André Pönitz <poenitz@gmx.net>
2976
2977         * factory.C: make it aware of InsetHFill
2978
2979 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2980
2981         * buffer.C (latexParagraphs): move function from here...
2982         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2983         args.
2984
2985 2003-03-10  Angus Leeming  <leeming@lyx.org>
2986
2987         * LyXAction.C (init): fix bug in poplating array with multiple entries
2988         with the same LFUN (spotted by JMarc).
2989
2990 2003-03-10  John Levon  <levon@movementarian.org>
2991
2992         * text.C:
2993         * text2.C: move getColumnNearX() near its
2994         only call site
2995
2996 2003-03-10  John Levon  <levon@movementarian.org>
2997
2998         * text.C: fix break before a minipage
2999
3000 2003-03-10  John Levon  <levon@movementarian.org>
3001
3002         * text.C: fix the last commit
3003
3004 2003-03-09  John Levon  <levon@movementarian.org>
3005
3006         * lyxtext.h:
3007         * text.C:
3008         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3009         bug 365 (don't break before insets unless needed). Don't
3010         return a value > last under any circumstances.
3011
3012 2003-03-09  Angus Leeming  <leeming@lyx.org>
3013
3014         * BufferView_pimpl.C (trackChanges, dispatch): call
3015         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3016
3017 2003-03-09  Angus Leeming  <leeming@lyx.org>
3018
3019         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3020         than Dialogs::showAboutlyx().
3021
3022 2003-03-09  Angus Leeming  <leeming@lyx.org>
3023
3024         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3025         than Dialogs::showTabularCreate().
3026
3027 2003-03-09  John Levon  <levon@movementarian.org>
3028
3029         * lyxtext.h:
3030         * text.C:
3031         * text2.C: 3rd arg to nextBreakPoint was always the same.
3032           Use references.
3033
3034 2003-03-08  John Levon  <levon@movementarian.org>
3035
3036         * lyxrow.C:
3037         * paragraph.C:
3038         * paragraph.h:
3039         * rowpainter.C:
3040         * text.C:
3041         * text2.C: Remove the "main" bit from the "main body"
3042           notion.
3043
3044 2003-03-08  John Levon  <levon@movementarian.org>
3045
3046         * text.C (leftMargin): The left margin of an empty
3047         manual label paragraph should not include the label width
3048         string length.
3049
3050         * text.C (prepareToPrint): don't attempt to measure hfills
3051         for empty manual label paragraphs - the answer should be 0
3052
3053 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * CutAndPaste.C: remove commented code and reindent.
3056
3057 2003-03-08  John Levon  <levon@movementarian.org>
3058
3059         * lyxfunc.h:
3060         * lyxfunc.C: move reloadBuffer()
3061
3062         * BufferView.h:
3063         * BufferView.C: to here
3064
3065         * lyxvc.C: add comment
3066
3067         * vc-backend.h:
3068         * vc-backend.C: call bv->reload() to avoid
3069           getStatus() check on MENURELOAD
3070
3071 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3072
3073         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3074         to an old format .dep file.
3075
3076 2003-03-07  Angus Leeming  <leeming@lyx.org>
3077
3078         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3079         when the LFUN_MOUSE_RELEASE should have been handled by
3080         inset->localDispatch.
3081
3082 2003-03-07  Angus Leeming  <leeming@lyx.org>
3083
3084         * BufferView_pimpl.C (dispatch):
3085         * LyXAction.C (init):
3086         * ToolbarDefaults.C (init):
3087         * commandtags.h:
3088         * lyxfunc.C (getStatus):
3089         remove LFUN_INSET_GRAPHICS.
3090
3091         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3092
3093 2003-03-07  Angus Leeming  <leeming@lyx.org>
3094
3095         * commandtags.h:
3096         * LyXAction.C (init):
3097         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3098
3099         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3100
3101         * commandtags.h:
3102         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3103
3104         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3105         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3106
3107 2003-03-07  Angus Leeming  <leeming@lyx.org>
3108
3109         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3110         remove "ert".
3111
3112 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3113
3114         * ParagraphList.C (front): new function
3115         (back): implement
3116
3117 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3118
3119         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3120         and top_row_offset_. removed var first_y.
3121         * text.C (top_y):
3122         * text2.C (LyXText, removeRow):
3123         * text3.C:
3124         * BufferView_pimpl.C:
3125         use these methods instead of using first_y
3126
3127 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3128
3129         * text2.C (pasteSelection): adjust for checkPastePossible
3130
3131         * CutAndPaste.C: remove Paragraph * buf and replace with
3132         ParagraphList paragraphs.
3133         (DeleteBuffer): delete
3134         (cutSelection): change the tc type to textclass_type
3135         (copySelection): change the tc type to textclass_type
3136         (copySelection): adjust for ParagraphList
3137         (pasteSelection): change the tc type to textclass_type
3138         (pasteSelection): adjust for Paragraphlist
3139         (nrOfParagraphs): simplify for ParagraphList
3140         (checkPastePossible): simplify for ParagraphList
3141         (checkPastePossible): remove unused arg
3142
3143         * ParagraphList.C (insert): handle the case where there are no
3144         paragraphs yet.
3145
3146         * CutAndPaste.h: make CutAndPaste a namespace.
3147
3148         * text3.C (dispatch): adjust
3149
3150         * text.C (breakParagraph): add a ParagraphList as arg
3151
3152         * paragraph_funcs.C (breakParagraph): change to take a
3153         BufferParams and a ParagraphList as args.
3154         (breakParagraphConservative): ditto
3155         (mergeParagraph): ditto
3156         (TeXDeeper): add a ParagraphList arg
3157         (TeXEnvironment): ditto
3158         (TeXOnePar): ditto
3159
3160         * buffer.C (readLyXformat2): adjust
3161         (insertStringAsLines): adjust
3162         (latexParagraphs): adjust
3163
3164         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3165         (cutSelection): adjust
3166         (pasteSelection): adjust
3167
3168         * BufferView_pimpl.C (insertInset): adjust
3169
3170 2003-03-05  Angus Leeming  <leeming@lyx.org>
3171
3172         * commandtags.h:
3173         * LyXAction.C (init):
3174         * BufferView_pimpl.C (dispatch):
3175         * lyxfunc.C (getStatus):
3176         remove LFUN_CHILD_INSERT.
3177
3178         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3179
3180 2003-03-05  Angus Leeming  <leeming@lyx.org>
3181
3182         * commandtags.h:
3183         * LyXAction.C (init):
3184         * src/factory.C (createInset):
3185         * lyxfunc.C (getStatus):
3186         * text3.C (dispatch):
3187         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3188
3189         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3190
3191 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3192
3193         * ParagraphList.C (insert): handle insert right before end()
3194         (erase): fix cases where it can be first or last paragraph.
3195
3196 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3197
3198         * paragraph_funcs.C (TeXEnvironment): remove all usage of
3199         Paragraph::next and Paragraph::previous
3200         (TeXOnePar): ditto
3201
3202         * text.C (breakParagraph): adjust
3203
3204         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3205         BufferParams& as arg.
3206         (breakParagraph): use ParagraphList::insert
3207         (breakParagraphConservative): take a Buffer* instead of a
3208         BufferParams& as arg.
3209         (breakParagraphConservative): use ParagraphList::insert.
3210
3211         * buffer.C (insertStringAsLines): un-const it
3212         (insertStringAsLines): adjust
3213
3214         * ParagraphList.C (insert): new function
3215
3216         * CutAndPaste.C (pasteSelection): adjust
3217
3218         * text.C (backspace): adjust
3219
3220         * tabular.C (SetMultiColumn): adjust
3221
3222         * CutAndPaste.C (cutSelection): adjust
3223         (pasteSelection): adjust
3224
3225         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3226         Buffer const * as arg
3227
3228         * ParagraphList.C (erase): new function
3229         * paragraph_funcs.C (mergeParagraph): use it
3230         (mergeParagraph): make it take a Buffer* instead of a
3231         BufferParams* as arg
3232
3233         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3234         as arg
3235         (breakParagraphConservative): ditto
3236
3237         * paragraph.h: remove the breakParagraph friend
3238
3239         * paragraph.C (eraseIntern): new function
3240         (setChange): new function
3241
3242         * paragraph_funcs.C (mergeParagraph): make it take a
3243         ParagraphList::iterator instead of a Paragraph *, adjust
3244         accordingly.
3245
3246         * paragraph.h: move an #endif so that the change tracking stuff
3247         also works in the NO_NEXT case.
3248
3249 2003-03-04  Angus Leeming  <leeming@lyx.org>
3250
3251         * commandtags.h:
3252         * LyXAction.C: new LFUN_INSET_MODIFY.
3253
3254         * BufferView_pimpl.C (dispatch): if an inset is found to be open
3255         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3256
3257 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3258
3259         * several files: ws changes only
3260
3261         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3262         (TeXEnvironment): ditto
3263         (TeXDeeper): ditto
3264
3265         * buffer.C (makeLaTeXFile): adjust
3266         (latexParagraphs): make it take ParagraphList::iterator as args
3267
3268 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3269
3270         * buffer.C (latexParagraphs): adjust
3271
3272         * paragraph.C (TeXOnePar): move function...
3273         (optArgInset): move function...
3274         (TeXEnvironment): move function...
3275         * paragraph_pimpl.C (TeXDeeper): move function...
3276         * paragraph_funcs.C: ...here
3277
3278         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3279
3280 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3281
3282         * buffer.C (readInset): remove compability code for old Figure and
3283         InsetInfo insets
3284
3285 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3286
3287         * buffer.C: ws changes
3288         (readInset):
3289
3290         * BufferView_pimpl.C: ditto
3291         * author.C: ditto
3292         * buffer.h: ditto
3293         * bufferlist.h: ditto
3294         * changes.h: ditto
3295         * lyxfunc.C: ditto
3296
3297 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
3298
3299         * converter.[Ch]: split into itself +
3300         * graph.[Ch]
3301         * format.[Ch]
3302         * Makefile.am: += graph.[Ch] + format.[Ch]
3303         * MenuBackend.C
3304         * buffer.C
3305         * exporter.C
3306         * importer.C
3307         * lyx_main.C
3308         * lyxfunc.C
3309         * lyxrc.C: added #include "format.h"
3310
3311 2003-02-27  Angus Leeming  <leeming@lyx.org>
3312
3313         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3314           a label.
3315
3316         * factory.C (createInset): add "label" to the factory.
3317
3318         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3319           string and do no more.
3320
3321 2003-02-27  Angus Leeming  <leeming@lyx.org>
3322
3323         * commandtags.h:
3324         * LyXAction.C (init):
3325         * factory.C (createInset):
3326         * BufferView_pimpl.C (dispatch):
3327           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3328
3329         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3330
3331         * lyxfunc.C (dispatch):
3332         * text3.C (dispatch): pass name to params2string.
3333
3334 2003-02-26  Angus Leeming  <leeming@lyx.org>
3335
3336         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3337           blocks together.
3338           Rearrange the ~includes. Strip out the unnecessary ones.
3339
3340         * factory.C (createInset): reformat.
3341           create new insets for the various LFUN_XYZ_APPLY lfuns.
3342
3343 2003-02-26  John Levon  <levon@movementarian.org>
3344
3345         * lyxrow.h:
3346         * lyxrow.C: add isParStart,isParEnd helpers
3347
3348         * paragraph.h: make isInserted/DeletedText take refs
3349
3350         * paragraph_funcs.h:
3351         * paragraph_funcs.C: remove #if 0'd code
3352
3353         * lyxtext.h:
3354         * text3.C:
3355         * text2.C:
3356         * text.C: use lyxrow helpers above.
3357           Move draw and paint routines to RowPainter.
3358           Make several methods use refs not pointers.
3359           Make backgroundColor() const.
3360           Add markChangeInDraw(), isInInset().
3361           Merge changeRegionCase into changeCase.
3362           Make workWidth() shouldn't-happen code into an Assert.
3363
3364         * rowpainter.h:
3365         * rowpainter.C: new class for painting a row.
3366
3367         * vspace.h:
3368         * vspace.C: make inPixels take a ref
3369
3370 2003-02-26  Angus Leeming  <leeming@lyx.org>
3371
3372         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3373         LFUN_REF_APPLY.
3374
3375 2003-02-25  John Levon  <levon@movementarian.org>
3376
3377         * ispell.C: give the forked command a more accurate name
3378
3379 2003-02-22  John Levon  <levon@movementarian.org>
3380
3381         * toc.h:
3382         * toc.C: make TocItem store an id not a Paragraph *
3383           (bug #913)
3384
3385 2003-02-21  Angus Leeming  <leeming@lyx.org>
3386
3387         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3388           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3389           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3390           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3391           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3392           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3393
3394         * BufferView_pimpl.C (dispatch):
3395         * LyXAction.C (init):
3396         * factory.C (createInset):
3397         * lyxfunc.C (getStatus, dispatch):
3398         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3399
3400 2003-02-21  Angus Leeming  <leeming@lyx.org>
3401
3402         * BufferView_pimpl.C (MenuInsertLyXFile):
3403         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3404         * lyxfunc.C (menuNew, open, doImport):
3405           no longer pass a LyXView & to fileDlg.
3406
3407 2003-02-21  Angus Leeming  <leeming@lyx.org>
3408
3409         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3410         * LyXAction.C: change, BIBKEY to BIBITEM.
3411         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3412         Change InsetBibKey to InsetBibitem.
3413         Change BIBKEY_CODE to BIBITEM_CODE.
3414         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3415         * factory.C: replace insetbib.h with insetbibitem.h.
3416         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3417         * paragraph.C: replace insetbib.h with insetbibitem.h.
3418         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3419         Change bibkey() to bibitem().
3420         * text.C: remove insetbib.h.
3421         * text2.C: replace insetbib.h with insetbibitem.h.
3422         change bibkey() to bibitem().
3423         * text3.C: remove insetbib.h.
3424         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3425
3426 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3427
3428         * lyxrc.C (output): enclose user email in quotes (in case there are
3429         several words)
3430
3431 2003-02-18  John Levon  <levon@movementarian.org>
3432
3433         * buffer.h: add std::
3434
3435 2003-02-17  John Levon  <levon@movementarian.org>
3436
3437         * SpellBase.h:
3438         * ispell.h:
3439         * ispell.C:
3440         * pspell.h:
3441         * pspell.C: reworking. Especially in ispell, a large
3442           number of clean ups and bug fixes.
3443
3444         * lyxfunc.C: fix revert to behave sensibly
3445
3446 2003-02-17 André Pönitz <poenitz@gmx.net>
3447
3448         * LyXAction.C:
3449         * commandtags.h: new LFUN_INSERT_BIBKEY
3450
3451         * layout.h:
3452         * lyxlayout.C:
3453         * buffer.C:
3454         * factory.C:
3455         * text.C:
3456         * text2.C:
3457         * text3.C:
3458         * paragraph.[Ch]:
3459         * paragraph_func.C: remove special bibkey handling
3460
3461 2003-02-17  John Levon  <levon@movementarian.org>
3462
3463         * text.C (Delete): fix case where delete at the end of
3464           the very first paragraph would not merge the pars
3465
3466 2003-02-17  John Levon  <levon@movementarian.org>
3467
3468         * lyxrow.C: fix lastPrintablePos()
3469
3470 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3471
3472         * bufferparams.C (writeLaTeX): add a std:here
3473
3474         * buffer.C: and remove a using directive there
3475
3476 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3477
3478         * buffer.C (makeLaTeXFile): move the code that generates the
3479           preamble...
3480
3481         * bufferparams.C (writeLaTeX): ... in this new method
3482
3483         * LaTeXFeatures.C (getEncodingSet): make const
3484           (getLanguages): make const
3485
3486         * MenuBackend.C (binding): returns the binding associated to this
3487           action
3488           (add): sets the status of each item by calling getStatus. Adds
3489           some intelligence.
3490           (read): add support for OptSubMenu
3491           (expand): remove extra separator at the end of expanded menu
3492
3493 2003-02-15  John Levon  <levon@movementarian.org>
3494
3495         * BufferView.C:
3496         * BufferView_pimpl.C:
3497         * bufferlist.h:
3498         * bufferlist.C: remove pointless BufferStorage bloat. Remove
3499           inset code that had no actual effect. Remove unneeded status
3500           code.
3501
3502 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3503
3504         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3505           in preamble
3506
3507 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
3508
3509         * text.C (drawLengthMarker): also draw an arrow marker for
3510           symbolic lengths (medskip...)
3511
3512 2003-02-14  John Levon  <levon@movementarian.org>
3513
3514         * tabular.h:
3515         * tabular.C: better method names
3516
3517 2003-02-14  John Levon  <levon@movementarian.org>
3518
3519         * BufferView_pimpl.C:
3520         * bufferlist.C:
3521         * buffer.C:
3522         * converter.C:
3523         * lyx_cb.C:
3524         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3525           it's a more accurate name. Remove some pointless uses.
3526
3527 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3528
3529         * text2.C (LyXText): change order of initilizers to shut off
3530           warnings
3531
3532 2003-02-14  John Levon  <levon@movementarian.org>
3533
3534         * buffer.C: use ParIterator for getParFromID()
3535
3536         * paragraph.h:
3537         * paragraph.C:
3538         * paragraph_pimpl.h:
3539         * paragraph_pimpl.C: remove unused getParFromID()
3540
3541 2003-02-14  John Levon  <levon@movementarian.org>
3542
3543         * buffer.C: remove some very old #if 0'd parse code
3544
3545 2003-02-13  John Levon  <levon@movementarian.org>
3546
3547         * text.h:
3548         * text.C:
3549         * text2.C: move hfillExpansion(), numberOfSeparators(),
3550           rowLast(), rowLastPrintable(), numberofHfills(),
3551           numberOfLabelHfills() ...
3552
3553         * lyxrow.h:
3554         * lyxrow.C: ... to member functions here.
3555
3556         * paragraph.h:
3557         * paragraph.C:
3558         * lyxtext.h:
3559         * text.C: remove LyXText::beginningOfMainBody(), and call
3560           p->beginningOfMainBody() directly. Move the check for
3561           LABEL_MANUAL into the latter.
3562
3563         * text.h:
3564         * text.C:
3565         * text2.C:
3566         * vspace.C:
3567         * BufferView.h:
3568         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3569
3570         * text.h:
3571         * text.C:
3572         * text2.C:
3573         * text3.C:
3574         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3575           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3576
3577 2003-02-13  John Levon  <levon@movementarian.org>
3578
3579         * CutAndPaste.C: remove debug
3580
3581 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3582
3583         * paragraph.C (asString): remove two unused variables
3584
3585         * lyxtextclass.C (readTitleType):
3586           (Read):
3587           (LyXTextClass): handle new members titletype_ and titlename_
3588
3589         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3590
3591 2003-02-09  John Levon  <levon@movementarian.org>
3592
3593         * buffer.h:
3594         * buffer.C: replace hand-coded list with a map for the dep clean
3595
3596 2003-02-08  John Levon  <levon@movementarian.org>
3597
3598         * LaTeX.C: consolidate code into showRunMessage() helper
3599
3600 2003-02-08  John Levon  <levon@movementarian.org>
3601
3602         * lyxfind.C:
3603         * lyxtext.h:
3604         * text2.C:
3605         * BufferView.C: change setSelectionOverString() to setSelectionRange()
3606           and pass the size in explicitly
3607
3608         * BufferView_pimpl.h:
3609         * BufferView_pimpl.C:
3610         * BufferView.h:
3611         * BufferView.C: add getCurrentChange()
3612
3613         * BufferView_pimpl.h:
3614         * BufferView_pimpl.C: handle change lfuns
3615
3616         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3617           for changes. Mark pasted paragraphs as new.
3618
3619         * support/lyxtime.h:
3620         * support/lyxtime.C:
3621         * DepTable.C: abstract time_t as lyx::time_type
3622
3623         * LColor.h:
3624         * LColor.C: add colours for new text, deleted text, changebars
3625
3626         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3627           package use "usenames" option.
3628
3629         * commandtags.h:
3630         * lyxfunc.C:
3631         * LyXAction.C: add change lfuns
3632
3633         * Makefile.am:
3634         * author.h:
3635         * author.C: author handling
3636
3637         * buffer.h:
3638         * buffer.C: add a per-buffer author list, with first entry as
3639           current author. Handle new .lyx tokens for change tracking. Output
3640           author list to .lyx file. Output dvipost stuff to .tex preamble.
3641           Bump lyx format to 222.
3642
3643         * bufferlist.h:
3644         * bufferlist.C: add setCurrentAuthor() to reset current author details
3645           in all buffers.
3646
3647         * bufferparams.h:
3648         * bufferparams.C: add param for tracking
3649
3650         * bufferview_funcs.C: output change info in minibuffer
3651
3652         * Makefile.am:
3653         * changes.h:
3654         * changes.C: add change-tracking structure
3655
3656         * debug.h:
3657         * debug.C: add CHANGES debug flag
3658
3659         * lyxfind.h:
3660         * lyxfind.C: add code for finding the next change piece
3661
3662         * lyxrc.h:
3663         * lyxrc.C: add user_name and user_email
3664
3665         * lyxrow.h:
3666         * lyxrow.C: add a metric for the top of the text line
3667
3668         * lyxtext.h:
3669         * text.C: implement accept/rejectChange()
3670
3671         * lyxtext.h:
3672         * text.C: paint changebars. Paint new/deleted text in the chosen
3673         colours. Strike through deleted text.
3674
3675         * paragraph.h:
3676         * paragraph.C:
3677         * paragraph_pimpl.h:
3678         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3679           in the current change to the insert functions. Rework erase to
3680           mark text as deleted, adding an eraseIntern() and a range-based
3681           erase(). Implement per-paragraph change lookup and
3682           accept/reject.
3683
3684         * paragraph_funcs.C: Fixup paste for change tracking.
3685
3686         * tabular.C: mark added row/columns as new.
3687
3688         * text.C: fix rowLast() to never return -1. Don't allow
3689           spellchecking of deleted text. Track transpose changes. Don't
3690           allow paragraph break or merge where appropriate.
3691
3692         * text2.C: leave cursor at end of selection after a cut.
3693
3694 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3695
3696         * text.C (getLengthMarkerHeight):
3697         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3698         visible on screen too.
3699
3700 2003-02-07  John Levon  <levon@movementarian.org>
3701
3702         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3703
3704 2003-02-05  Angus Leeming  <leeming@lyx.org>
3705
3706         * lyxserver.C (read_ready): revert my patch of 11 September last year
3707         as it sends PC cpu through the roof. Presumably this means that
3708         the lyxserver will no longer run on an Alpha...
3709
3710 2003-01-30  Angus Leeming  <leeming@lyx.org>
3711
3712         * factory.C (createInset): create an InsetCommandParam of type "index"
3713         and use it to 'do the right thing'.
3714
3715         * text2.C (getStringToIndex): ensure that cursor position is always
3716         reset to the reset_cursor position.
3717
3718 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3719
3720         * lyxfunc.C (getStatus): "buffer-export custom" should never be
3721         disabled.
3722
3723 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
3724
3725         * bufferview.C:
3726         * lyxcb.C:
3727         * lyxfunc.C: Output messages with identical spelling, punctuation,
3728         and spaces
3729
3730 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
3731
3732         * MenuBackend.C (expandFormats): List only viewable export formats
3733         in "View" menu
3734
3735         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3736         message
3737
3738         * lyxfunc.C (getStatus): Make sure that formats other than
3739         "fax" can also be disabled
3740
3741 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3742
3743         * text3.C (dispatch): put the lfuns that insert insets in 3
3744         groups, and call doInsertInset with appropriate arguments.
3745         (doInsertInset): new function, that creates an inset and inserts
3746         it according to some boolean parameters.
3747
3748 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3749
3750         * buffer.C (readFile): remember to pass on 'par' when calling
3751         readFile recursively.
3752
3753 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3754
3755         * MenuBackend.C (expandFormats): add "..." to import formats.
3756
3757 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
3758
3759         * paragraph.C (asString): Remove XForms RTL hacks.
3760
3761 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
3762         * buffer.C: fix typo
3763
3764 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
3765
3766         * Makefile.am (LIBS): delete var
3767         (lyx_LDADD): add @LIBS@ here instead.
3768
3769 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
3770
3771         * Clarify the meaning of "wheel mouse jump"
3772
3773 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3774
3775         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3776         tabular in a float
3777
3778 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3779
3780         * importer.C (Loaders): do not preallocate 3 elements in the
3781         vector, since one ends up with 6 elements otherwise
3782
3783 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3784
3785         * DepTable.C (write): write the file name as last element of the
3786         .dep file (because it may contain spaces)
3787         (read): read info in the right order
3788
3789 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3790
3791         * paragraph_pimpl.C (simpleTeXBlanks):
3792         (simpleTeXSpecialChars):
3793         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3794
3795         * tabular.C (latex): add some missing case statements. Reindent.
3796
3797         * MenuBackend.C (expandToc): remove unused variable.
3798
3799 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
3800
3801         * LColor.C:
3802         * LaTeX.C:
3803         * LyXAction.C:
3804         * MenuBackend.C:
3805         * buffer.C:
3806         * exporter.C:
3807         * lyxfunc.C:
3808         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3809         and the like.
3810
3811 2003-01-05  John Levon  <levon@movementarian.org>
3812
3813         * BufferView.h:
3814         * BufferView.C: add getEncoding()
3815
3816         * kbsequence.h:
3817         * kbsequence.C: do not store last keypress
3818
3819         * lyxfunc.h:
3820         * lyxfunc.C: store last keypress here instead. Pass encoding
3821           to getISOEncoded()
3822
3823 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3824
3825         * lyx_main.C (init): remove annoying error message when following
3826         symbolic links (bug #780)
3827
3828 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3829
3830         * text.C (insertChar):
3831         * lyxrc.C (getDescription): remove extra spaces
3832
3833 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3834
3835         * lyxrc.C (getDescription): remove extra spaces
3836
3837 2002-12-20  John Levon  <levon@movementarian.org>
3838
3839         * text3.C: hack fix for page up/down across tall rows
3840
3841 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3842
3843         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3844         not been invoked
3845
3846 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3847
3848         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3849         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3850         thesaurus is not compiled in
3851
3852 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
3853
3854         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
3855
3856 2002-12-16  Angus Leeming  <leeming@lyx.org>
3857
3858         * lyxrc.[Ch]:
3859         * lyx_main.C (init): remove override_x_deadkeys stuff.
3860
3861 2002-12-12  John Levon  <levon@movementarian.org>
3862
3863         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3864           insert. Only remove shift modifier under strict
3865           circumstances.
3866
3867 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * MenuBackend.C (expandToc): fix crash.
3870
3871 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3872
3873         * MenuBackend.C (expandToc): gettext on float names.
3874
3875 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3876
3877         * lyxlength.[Ch]: set default unit to UNIT_NONE,
3878         implement bool empty() [bug 490]
3879
3880 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3881
3882         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3883
3884 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3885
3886         * several files: ws changes
3887
3888 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3889
3890         * text2.C (setCounter): clean up a bit, use boost.format.
3891         (updateCounters): initialize par upon declaration.
3892
3893         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3894         if the layout exists. We do not just store the layout any more.
3895         (SwitchLayoutsBetweenClasses): use boost.format
3896
3897 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3898
3899         * converter.C (convert): if from and to files are the same, use a
3900         temporary files as intermediary
3901
3902 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3903
3904         * commandtags.h:
3905         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3906
3907 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
3908
3909         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3910
3911 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3912
3913         * tabular.C (asciiPrintCell): use string(size, char) instead of
3914         explicit loop.
3915
3916         * sgml.C (openTag): fix order of arguments to string constructor
3917         (closeTag): ditto
3918
3919         * lyxfunc.C (dispatch): use boost.format
3920
3921         * lots of files: change "c" -> 'c'
3922
3923 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
3924
3925         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3926
3927 2002-11-25  Angus Leeming  <leeming@lyx.org>
3928
3929         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3930
3931         * lyx_main.C (init): compile fix.
3932
3933 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * lyx_cb.C (start): boost.formatify
3936         do not include <iostream>
3937
3938         * lengthcommon.C: ws only
3939
3940         * boost-inst.C,BoostFormat.h: add more explict instantations
3941
3942 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3943
3944         * lots of files: handle USE_BOOST_FORMAT
3945
3946 2002-11-21  John Levon  <levon@movementarian.org>
3947
3948         * pspell.C: fix compile
3949
3950 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3951
3952         * lyxfunc.C (dispatch): use boost::format
3953         (open): ditto
3954         (doImport): ditto
3955
3956         * lyxfont.C (stateText): use boost::format
3957
3958         * lyx_main.C (LyX): use boost::format
3959         (init): ditto
3960         (queryUserLyXDir): ditto
3961         (readRcFile): ditto
3962         (parse_dbg): ditto
3963         (typedef boost::function): use the recommened syntax.
3964
3965         * importer.C (Import): use boost::format
3966
3967         * debug.C (showLevel): use boost::format
3968
3969         * converter.C (view): use boost::format
3970         (convert): ditto
3971         (move): ditto
3972         (scanLog): ditto
3973
3974         * bufferview_funcs.C (currentState): use boost::format
3975
3976         * bufferlist.C (emergencyWrite): use boost::format
3977
3978         * buffer.C (readLyXformat2): use boost::format
3979         (parseSingleLyXformat2Token): ditto
3980
3981         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3982
3983         * LaTeX.C (run): use boost::format
3984
3985         * Chktex.C (scanLogFile): use boost::format
3986
3987         * BufferView_pimpl.C (savePosition): use boost::format
3988         (restorePosition): ditto
3989         (MenuInsertLyXFile): ditto
3990
3991         * BoostFormat.h: help file for explicit instation.
3992
3993 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
3994
3995         * tabular.C (latex): Support for block alignment in fixed width
3996         columns.
3997
3998 2002-11-17  John Levon  <levon@movementarian.org>
3999
4000         * BufferView_pimpl.C:
4001         * lyx_cb.C:
4002         * lyxfunc.C: split filedialog into open/save
4003
4004 2002-11-08  Juergen Vigna  <jug@sad.it>
4005
4006         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4007         by my last patch (hopefully).
4008
4009 2002-11-08  John Levon  <levon@movementarian.org>
4010
4011         * iterators.h:
4012         * iterators.C:
4013         * buffer.h:
4014         * buffer.C:
4015         * paragraph.h:
4016         * paragraph.C:
4017         * toc.h:
4018         * toc.C: ParConstIterator, and use it (from Lars)
4019
4020 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4021
4022         * lyxtextclass.[Ch]: revise and add doxygen comments
4023
4024 2002-11-07  John Levon  <levon@movementarian.org>
4025
4026         * text.C: fix progress value for spellchecker
4027
4028         * toc.C: fix navigate menu for insetwrap inside minipage
4029
4030         * paragraph_funcs.C: added FIXME for suspect code
4031
4032 2002-11-07  John Levon  <levon@movementarian.org>
4033
4034         * BufferView_pimpl.C: fix redrawing of insets
4035           on buffer switch
4036
4037 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4038
4039         * text2.C (updateCounters): fix bug 668
4040
4041 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4042
4043         * text3.C (dispatch): Do not make the buffer dirty when moving the
4044         cursor.
4045
4046 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4047
4048         * vc-backend.C: STRCONV
4049         (scanMaster): ditto
4050
4051         * text2.C (setCounter): STRCONV
4052
4053         * paragraph.C (asString): STRCONV
4054
4055         * lyxlength.C (asString): STRCONV
4056         (asLatexString): ditto
4057
4058         * lyxgluelength.C (asString): STRCONV
4059         (asLatexString): ditto
4060
4061         * lyxfunc.C (dispatch): STRCONV
4062         (open): ditto
4063
4064         * lyxfont.C (stateText): STRCONV
4065
4066         * importer.C (Import): STRCONV
4067
4068         * counters.C (labelItem): STRCONV
4069         (numberLabel): ditto
4070         (numberLabel): remove unused ostringstream o
4071
4072         * chset.C: STRCONV
4073         (loadFile): ditto
4074
4075         * bufferview_funcs.C (currentState): STRCONV
4076
4077         * buffer.C (readFile): STRCONV
4078         (asciiParagraph): ditto
4079         (makeLaTeXFile): ditto
4080
4081         * Spacing.C (writeEnvirBegin): STRCONV
4082
4083         * LaTeXFeatures.C (getLanguages): STRCONV
4084         (getPackages): ditto
4085         (getMacros): ditto
4086         (getBabelOptions): ditto
4087         (getTClassPreamble): ditto
4088         (getLyXSGMLEntities): ditto
4089         (getIncludedFiles): ditto
4090
4091         * LaTeX.C: STRCONV
4092         (run): ditto
4093         (scanAuxFile): ditto
4094         (deplog): ditto
4095
4096         * LString.h: add the STRCONV macros
4097
4098         * BufferView_pimpl.C (savePosition): STRCONV
4099         (restorePosition): ditto
4100         (MenuInsertLyXFile): ditto
4101
4102         * vc-backend.C (scanMaster): change from submatch[...] to
4103         submatch.str(...)
4104
4105         * funcrequest.C: include config.h
4106
4107         * factory.C: include config.h
4108
4109         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4110
4111         * box.C: include config.h
4112
4113         * LaTeX.C (scanAuxFile): change from submatch[...] to
4114         submatch.str(...)
4115         (deplog): ditto
4116
4117 2002-10-25  Angus Leeming  <leeming@lyx.org>
4118
4119         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4120
4121         * ispell.[Ch] (setError): new method.
4122         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4123         Use setError() insetead of goto END.
4124
4125         * lyx_cb.C (AutoSave): move out child process into new class
4126         AutoSaveBuffer.
4127
4128 2002-10-30  John Levon  <levon@movementarian.org>
4129
4130         * text3.C: make start appendix undoable
4131
4132 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4133
4134         * lyxlength.C (inPixels): Fix returned value.
4135
4136         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4137         environment.
4138
4139 2002-10-24  Angus Leeming  <leeming@lyx.org>
4140
4141         * lyxgluelength.h: no need to forward declare BufferParams
4142         or BufferView, so don't.
4143
4144 2002-10-21  John Levon  <levon@movementarian.org>
4145
4146         * BufferView.C: menuUndo ->undo, redo
4147
4148         * BufferView.h: document, remove dead, make some methods private
4149
4150         * paragraph_funcs.h:
4151         * paragraph_funcs.C:
4152         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4153
4154         * buffer.h:
4155         * buffer.C:
4156         * sgml.h:
4157         * sgml.C: move sgml open/close tag into sgml.C
4158
4159         * bufferview_funcs.h: unused prototype
4160
4161         * lyxfunc.h:
4162         * lyxfunc.C: remove unused
4163
4164         * lyxtext.h:
4165         * text.C: remove unused
4166
4167 2002-10-21  John Levon  <levon@movementarian.org>
4168
4169         * BufferView.h:
4170         * BufferView.C:
4171         * BufferView_pimpl.h:
4172         * BufferView_pimpl.C: fix mouse wheel handling based on
4173           patch from Darren Freeman
4174
4175 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
4176
4177         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4178
4179 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
4180
4181         * lyxlength.C (inPixels): Fix hanfling of negative length.
4182         Fix LyXLength::MU case.
4183
4184 2002-10-16  John Levon  <levon@movementarian.org>
4185
4186         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4187
4188 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4189
4190         * converter.C (view): add support for $$i (file name) and $$p
4191         (file path) for the viewer command. If $$i is not specified, then
4192         it is appended to the command (for compatibility with old syntax)
4193
4194 2002-10-14  Juergen Vigna  <jug@sad.it>
4195
4196         * undo_funcs.C (textHandleUndo): alter the order in which the
4197         new undopar is added to the LyXText, as we have to set first
4198         the right prev/next and then add it as otherwise the rebuild of
4199         LyXText is not correct. Also reset the cursor to the right paragraph,
4200         with this IMO we could remove the hack in "redoParagraphs()".
4201
4202 2002-10-09  Angus Leeming  <leeming@lyx.org>
4203
4204         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4205         to turn off an optimisation if a new inset is to be inserted.
4206
4207 2002-10-11 André Pönitz <poenitz@gmx.net>
4208
4209         * lyxtext.h: make some functions public to allow access
4210         from inset/lyxtext for handling LFUN_PRIOR/NEXT
4211
4212 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4213
4214         * text3.C (dispatch): when changing layout, avoid an infinite loop
4215         [bug #652]
4216
4217 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4218
4219         * lyxrc.C (read): treat a viewer or converter command of "none" as
4220         if it were empty.
4221
4222         * MenuBackend.C (expandFormats): for an update, also allow the
4223         formats that are not viewable
4224
4225         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4226         script if it is newer than the lyxrc.defaults in user directory
4227
4228 2002-10-07 André Pönitz <poenitz@gmx.net>
4229
4230         * text.C: Vitaly Lipatov's small i18n fix
4231
4232 2002-09-25  Angus Leeming  <leeming@lyx.org>
4233
4234         * ispell.h: doxygen fix.
4235
4236 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
4237
4238         * buffer.h (readFile): Add a new argument to the method, to allow
4239         reading of old-format templates.
4240
4241 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
4242
4243         * toc.C (getTocList): Get TOC from InsetWrap.
4244
4245 2002-09-16  John Levon  <levon@movementarian.org>
4246
4247         * lyxfunc.C: check tabular for cut/copy too
4248
4249 2002-09-12  John Levon  <levon@movementarian.org>
4250
4251         * LyXAction.C: tidy
4252
4253         * factory.h:
4254         * factory.C: add header
4255
4256         * paragraph_funcs.h:
4257         * paragraph_funcs.C: cleanup
4258
4259 2002-09-11  John Levon  <levon@movementarian.org>
4260
4261         * PrinterParams.h: odd/even default to true
4262
4263 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
4264
4265         * PrinterParams.h: update printer parameters for new xforms dialog
4266
4267 2002-09-11  Angus Leeming  <leeming@lyx.org>
4268
4269         * lyxserver.C (read_ready): re-write to make it more transparent
4270         and to make it work in coherent fashion under Tru64 Unix.
4271
4272 2002-09-11  André Pönitz <poenitz@gmx.net>
4273
4274         * commandtags.h:
4275         * LyXAction.C:
4276         * text3.C: implement LFUN_WORDSEL
4277
4278 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4279
4280         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4281         make floatlist_ a boost::shared_ptr<FloatList>
4282
4283         * lyxtextclass.C: include FloatList.h
4284         (LyXTextClass): initialize floatlist_
4285         (TextClassTags): add TC_NOFLOAT
4286         (Read): match "nofloat" to TC_NOFLOAT and use it.
4287         (readFloat): modify call to floatlist_
4288         (floats): ditto
4289         (floats): ditto
4290
4291         * FloatList.[Ch] (FloatList): remove commented out float
4292         initialization.
4293         (erase): new function
4294
4295 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4296
4297         * MenuBackend.C (expandToc): fix crash when there is no document
4298         open
4299
4300 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
4301
4302         * many files: Add insetwrap.
4303
4304 2002-09-09  John Levon  <levon@movementarian.org>
4305
4306         * text2.C: remove confusing and awkward depth wraparound
4307
4308 2002-09-09  John Levon  <levon@movementarian.org>
4309
4310         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4311
4312         * buffer.h:
4313         * buffer.C: remove getIncludeonlyList()
4314
4315         * paragraph.C:
4316         * lyxfunc.C: remove headers
4317
4318 2002-09-09  Juergen Vigna  <jug@sad.it>
4319
4320         * text.C (getColumnNearX): fix form Michael this is most
4321         probably a cut&paste bug.
4322
4323 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4324
4325         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4326
4327         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4328         references, ws changes.
4329
4330         * text2.C (init): update counters after init
4331         (insertParagraph): no need to set counter on idividual paragraphs.
4332         (setCounter): access the counters object in the textclass object
4333         on in the buffer object.
4334         (updateCounters): ditto
4335
4336         * lyxtextclass.C: include counters.h, add variable ctrs_ as
4337         shared_ptr<Counters> to avoid loading counters.h in all
4338         compilation units.
4339         (LyXTextClass): initialize ctrs_
4340         (TextClassTags): add TC_COUNTER, and ...
4341         (Read): use it here.
4342         (CounterTags): new tags
4343         (readCounter): new function
4344         (counters): new funtion
4345         (defaultLayoutName): return a const reference
4346
4347         * counters.C (Counters): remove contructor
4348         (newCounter): remove a couple of unneeded statements.
4349         (newCounter): simplify a bit.
4350         (numberLabel): some small formatting changes.
4351
4352         * buffer.[Ch]: remove all traces of counters, move the Counters
4353         object to the LyXTextClass.
4354
4355 2002-09-06  Alain Castera  <castera@in2p3.fr>
4356
4357         * tabular.C: uses \tabularnewline; uses >{...} construct from array
4358         package to set the horizontal alignment on fixed width columns.
4359
4360         * lyx_sty.C:
4361         * lyx_sty.h: added tabularnewline macro def.
4362
4363         * LaTeXFeatures.C: added NeedTabularnewline macro feature
4364
4365 2002-09-06  John Levon  <levon@movementarian.org>
4366
4367         * LyXAction.C: tooltips for sub/superscript
4368
4369         * MenuBackend.C: a bit more verbose
4370
4371         * lyxfunc.C: tiny clean
4372
4373         * undo_funcs.C: document undo_frozen
4374
4375 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4376
4377         * counters.C (Counters): add missing algorithm counter.
4378
4379         * text2.C (setCounter): lookup the counter with layouts latexname
4380         instead of by section number.
4381         (setCounter): use a hackish way to lookup the correct enum
4382         counter.
4383         a float name->type change
4384         reset enum couners with counter name directly instead of depth value.
4385
4386         * counters.C (Counters): remove the push_backs, change to use the
4387         float type not the float name.
4388         (labelItem): remove unused string, float name->type change
4389
4390         * counters.h: don't include vector, loose the enums and sects vectors
4391
4392 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4393
4394         * lyxtextclass.C (TextClassTags): add TC_FLOAT
4395         (Read): add float->TC_FLOAT to textclassTags
4396         (Read): and handle it in the switch
4397         (readFloat): new function
4398
4399         * FloatList.C (FloatList): comment out the hardcoded float
4400         definitions.
4401
4402         * lyxlayout.h: ws change.
4403
4404 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
4405
4406         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4407
4408 2002-09-03  Angus Leeming  <leeming@lyx.org>
4409
4410         * BufferView_pimpl.h: qualified name is not allowed in member
4411         declaration: WorkArea & Pimpl::workarea() const;
4412
4413         * factory.C: added using std::endl directive.
4414
4415         * text3.C: added using std::find and std::vector directives.
4416
4417 2002-08-29  André Pönitz <poenitz@gmx.net>
4418
4419         * lyxtext.h:
4420         * text2.C: remove unused member number_of_rows
4421
4422         * Makefile.am:
4423         * BufferView2.C: remove file, move contents to...
4424         * BufferView.C: ... here
4425
4426         * BufferView_pimpl.C:
4427         * factory.C: move more inset creation to factory
4428
4429         * vspace.C: avoid direct usage of LyXText, ws changes
4430
4431         * BufferView.[Ch]:
4432                 don't provide direct access to WorkArea, use two simple
4433                 acessors haveSelction() and workHeight() instead
4434
4435
4436 2002-08-29  John Levon  <levon@movementarian.org>
4437
4438         * BufferView_pimpl.C (dispatch): do not continue when
4439           no buffer
4440
4441 2002-08-28  André Pönitz <poenitz@gmx.net>
4442
4443         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4444
4445         * BufferView.h:
4446         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4447
4448 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
4449
4450         * buffer.C: increment LYX_FORMAT to 221
4451
4452         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4453         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4454
4455         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4456
4457         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4458
4459 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4460
4461         * factory.C (createInset): use LyXTextClass::floats
4462
4463         * MenuBackend.C (expandFloatListInsert):
4464         (expandFloatInsert):
4465         (expandToc):
4466
4467         * text2.C (setCounter):
4468
4469         * LaTeXFeatures.C (useFloat):
4470         (getFloatDefinitions):
4471
4472         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4473
4474         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4475         floatlist_, with accessor floats().
4476
4477         * FloatList.h: remove global FloatList
4478
4479 2002-08-26  André Pönitz <poenitz@gmx.net>
4480
4481         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4482
4483         * BufferView.h:
4484         * BufferView2.C:
4485         * BufferView_pimpl.C:
4486         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4487
4488 2002-08-25  John Levon  <levon@movementarian.org>
4489
4490         * LyXAction.C: fix margin note description
4491
4492 2002-08-24  John Levon  <levon@movementarian.org>
4493
4494         * buffer.C:
4495         * bufferlist.C:
4496         * bufferview_funcs.C:
4497         * lyxfont.C:
4498         * undo_funcs.C: cleanups
4499
4500         * lyxfunc.C: disable CUT/COPY when no selection
4501
4502 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
4503
4504         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4505         in "enum UNIT"; e.g. PTW for Percent of TextWidth
4506
4507         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4508         Add backward compatibility to "mono", "gray" and "no".
4509
4510 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
4511
4512         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4513         (and file_format >= 200).
4514
4515 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4516
4517         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4518
4519 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4520
4521         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4522
4523 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
4524
4525         * BufferView_pimpl.C:
4526         * LyXAction.C:
4527         * buffer.C:
4528         * commandtags.h:
4529         * lyxfunc.C:
4530         * paragraph.[Ch]:
4531         * text2.C:
4532         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4533         inset and code to make it  work with the paragraph code. The inset
4534         can be anywhere in the paragraph, but will only do the expected
4535         thing in LaTeX if the layout file contains the parameter line
4536                         OptionalArgs    1
4537         (or more generally, a nonzero value) for that layout.
4538
4539 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4540
4541         * paragraph.h: remove the declaration of undefined counters class
4542         function.
4543
4544 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
4545
4546         * text2.C (setCounter):  fixed enumeration mis-count as reported by
4547         Dr. Richard Hawkins.
4548
4549 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4550
4551         * paragraph_funcs.h: remove some unneeded includes
4552
4553         * text.C (backspace): pasteParagraph now in global scipe
4554
4555         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4556         (pasteSelection): ditto
4557
4558         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4559         * paragraph_funcs.C (pasteParagraph): ... here
4560
4561 2002-08-20  André Pönitz <poenitz@gmx.net>
4562
4563         * commandtags.h: new LFUNs for swapping/copying table row/colums
4564
4565         * LyXAction.C:
4566         * lyxfunc.C: support for new lfuns
4567
4568 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4569
4570         * tabular.C:
4571         * buffer.[Ch]: remove NO_COMPABILITY stuff
4572
4573 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
4574
4575         * boost.C (throw_exception): new file, with helper function for
4576         boost compiled without exceptions.
4577
4578         * paragraph.h:
4579         * lyxlength.C:
4580         * buffer.C:
4581         * ParameterStruct.h:
4582         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4583
4584         * bufferlist.C (emergencyWriteAll): use boost bind
4585
4586         * BufferView_pimpl.C (moveCursorUpdate): remove inline
4587
4588         * text.C: include paragraph_funcs.h
4589         (breakParagraph): breakParagraph is now in global scope
4590
4591         * paragraph_funcs.[Ch]: new files
4592
4593         * paragraph.C (breakParagraph,breakParagraphConservative): move to
4594         global scope
4595
4596         * buffer.C: include paragraph_funcs.h
4597         (insertStringAsLines): breakParagraph is now in global scope
4598
4599         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4600         paragraph_funcs.C
4601
4602         * CutAndPaste.C: include paragraph_funcs.h
4603         (cutSelection): breakParagraphConservative is now in global scope
4604         (pasteSelection): ditto
4605
4606         * buffer.h: declare oprator== and operator!= for
4607         Buffer::inset_iterator
4608
4609         * bufferlist.C (emergencyWrite): don't use fmt(...)
4610
4611         * text3.C: add using std::endl
4612
4613         * BufferView.C (moveCursorUpdate): remove default arg
4614
4615 2002-08-20  André Pönitz <poenitz@gmx.net>
4616
4617         * buffer.[Ch]: move inline functions to .C
4618
4619         * BufferView2.C:
4620         * BufferView_pimpl.C:
4621         * text.C:
4622         * buffer.[Ch]: use improved inset_iterator
4623
4624         * buffer.C:
4625         * paragraph.[Ch]: write one paragraph at a time
4626
4627 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
4628
4629         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4630         style if style is not specified.
4631
4632 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4633
4634         * text2.C (setCounter): when searching for right label for a
4635         caption, make sure to recurse to parent insets (so that a caption
4636         in a minipage in a figure float works) (bug #568)
4637
4638 2002-08-20  André Pönitz <poenitz@gmx.net>
4639
4640         * text3.C: new file for LyXText::dispatch() and helpers
4641
4642         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4643
4644         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4645
4646 2002-08-19  André Pönitz <poenitz@gmx.net>
4647
4648         * lyxtext.h:
4649         * text.C: new LyXText::dispatch()
4650
4651         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4652
4653 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
4654
4655         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4656
4657         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4658         Hebrew text.
4659
4660 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4661
4662         * Makefile.am: use $(variables) instead of @substitutions@
4663
4664 2002-08-15  André Pönitz <poenitz@gmx.net>
4665
4666         * lyxfunc.C:
4667         * BufferView_pimpl.C: streamlining mathed <-> outer world
4668         interaction
4669
4670         * commandtags.h:
4671         * LyXAction.C: remove unused LFUN_MATH
4672
4673 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * paragraph.[Ch]: add some NO_NEXT ifdefs.
4676
4677 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4678
4679         * paragraph.C (Paragraph): reformat a bit
4680         (cutIntoMinibuffer): use builtin InsetList function instad of
4681         doing it manually.
4682         (getInset): ditto
4683
4684         * buffer.C: include boost/bind.hpp, add using std::for_each
4685         (writeFileAscii): use ParagraphList iterators
4686         (validate): use for_each for validate traversal of paragraphs
4687         (getBibkeyList): use ParagraphList iterators
4688         (resizeInsets): use for_each to resizeInsetsLyXText for all
4689         paragraphs.
4690         (getParFromID): use ParagraphList iterators
4691
4692         * BufferView2.C (lockInset): use paragraph list and iterators
4693
4694 2002-08-14  John Levon  <levon@movementarian.org>
4695
4696         * lyxserver.C: remove spurious xforms include
4697
4698 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4699
4700         * lyxfunc.C (getStatus): disable math-extern outside of math mode
4701
4702 2002-08-13  André Pönitz <poenitz@gmx.net>
4703
4704         * LyXAction.[Ch]:
4705         * lyxfunc.C: further cleaning
4706
4707 2002-08-13  André Pönitz <poenitz@gmx.net>
4708
4709         * funcrequest.h: new constructor
4710
4711         * funcrequest.C: move stuff here from .h
4712
4713         * Makefile.am:
4714         * BufferView_pimpl.C:
4715         * LyXAction.C:
4716         * toc.C:
4717         * lyxfunc.C: subsequent changes
4718
4719         * lyxfunc.h: new view() member function
4720
4721         * lyxfunc.C: subsequent changes
4722
4723 2002-08-13  Angus Leeming  <leeming@lyx.org>
4724
4725         * BufferView2.C:
4726         * BufferView_pimpl.C:
4727         * buffer.C:
4728         * converter.C:
4729         * importer.C:
4730         * lyxfunc.C:
4731         * lyxvc.C:
4732         * toc.C:
4733         * vc-backend.C:
4734         changes due to the changed LyXView interface that now returns references
4735         to member variables not pointers.
4736
4737 2002-08-13  Angus Leeming  <leeming@lyx.org>
4738
4739         * WordLangTuple (word, lang_code): return references to strings,
4740         not strings.
4741
4742         * BufferView.h:
4743         * SpellBase.h:
4744         * lyxtext.h: forward-declare WordLangTuple.
4745
4746         * BufferView2.C:
4747         * ispell.C:
4748         * pspell.C:
4749         * text.C: #include "WordLangTuple.h".
4750
4751         * lyxtext.h:
4752         * text.C: (selectNextWordToSpellcheck): constify return type.
4753
4754 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
4755
4756         * buffer.C:
4757         * buffer.h:
4758         * lyxtext.h:
4759         * paragraph.C:
4760         * paragraph_pimpl.h:
4761         * text.C:
4762         * text2.C:
4763         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4764         suggested by Angus.
4765         Made updateCounter always count from start of buffer, and removed
4766         second argument (par).
4767         Reverted floats number display to '#'. Perhaps I'll try again when the
4768         code base is sanitized a bit.
4769
4770 2002-08-12  Angus Leeming  <leeming@lyx.org>
4771
4772         * buffer.[Ch] (getLabelList): constify.
4773
4774 2002-08-07  André Pönitz <poenitz@gmx.net>
4775
4776         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4777
4778         * funcrequest.h: extension to keep mouse (x,y) position
4779
4780 2002-08-12  Juergen Vigna  <jug@sad.it>
4781
4782         * BufferView2.C (insertErrors): forbid undo when inserting error
4783         insets.
4784
4785         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4786
4787 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4788
4789         * ParagraphList.[Ch]: new files
4790
4791         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4792
4793         * BufferView2.C (lockInset): ParagraphList changes
4794         * toc.C: ditto
4795         * text2.C: ditto
4796         * bufferlist.C: ditto
4797         * buffer.h: ditto
4798         * buffer.C: ditto
4799
4800 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4801
4802         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4803         unused class variable counter_,
4804
4805         * paragraph.[Ch] (getFirstCounter): delete unused function
4806
4807         * counters.C: include LAssert.h
4808         (reset): add a new function with no arg, change other version to
4809         not have def. arg and to not allow empty arg.
4810
4811         * text2.C (setCounter): remove empty arg from call to Counters::reset
4812
4813 2002-08-11  John Levon  <levon@movementarian.org>
4814
4815         * Makefile.am: add WordLangTuple.h
4816
4817 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4818
4819         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4820         lyxfunc.C lyxlex_pimpl.C: ws changes only.
4821
4822         * insets/insettext.C: InsetList changes
4823
4824         * graphics/GraphicsSupport.C (operator()): InsetList changes
4825
4826         * toc.C (getTocList): InsetList changes
4827
4828         * paragraph_pimpl.[Ch]: InsetList changes
4829
4830         * paragraph.[Ch]: InsetList changes
4831
4832         * buffer.C (inset_iterator): InsetList changes
4833         (setParagraph): ditto
4834         * buffer.h (inset_iterator): ditto
4835         * iterators.C (operator++): ditto
4836         * iterators.h: ditto
4837
4838         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4839
4840         * InsetList.[Ch]: new files, most InsetList handling moved out of
4841         paragraph.C.
4842
4843         * BufferView2.C (removeAutoInsets): InsetList changes
4844         (lockInset): ditto
4845         (ChangeInsets): ditto
4846
4847 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4848
4849         * paragraph_pimpl.h (empty): new function
4850
4851         * paragraph.[Ch] (empty): new function
4852
4853         * other files: use the new Paragraph::empty function
4854
4855 2002-08-09  John Levon  <levon@movementarian.org>
4856
4857         * lyxtext.h: remove unused refresh_height
4858
4859 2002-08-09  John Levon  <levon@movementarian.org>
4860
4861         * Makefile.am:
4862         * sgml.h:
4863         * sgml.C:
4864         * buffer.C:
4865         * paragraph.h:
4866         * paragraph.C: move sgml char escaping out of paragraph
4867
4868         * paragraph.h:
4869         * paragraph.C: remove id setter
4870
4871         * buffer.C:
4872         * paragraph.C:
4873         * paragraph_pimpl.C: remove dead tex_code_break_column
4874
4875         * bufferview_funcs.C: small cleanup
4876
4877         * lyxfunc.C: remove dead proto
4878
4879         * lyxtext.h: make some stuff private. Remove some dead stuff.
4880
4881         * lyxgluelength.C: make as[LyX]String() readable
4882
4883 2002-08-08  John Levon  <levon@movementarian.org>
4884
4885         * LyXAction.h:
4886         * LyXAction.C:
4887         * MenuBackend.C:
4888         * ToolbarDefaults.C:
4889         * lyxfunc.C:
4890         * lyxrc.C:
4891         * toc.C: lyxaction cleanup
4892
4893 2002-08-08  John Levon  <levon@movementarian.org>
4894
4895         * BufferView2.C: small cleanup
4896
4897         * lyxfind.h:
4898         * lyxfind.C: move unnecessary header into the .C
4899
4900 2002-08-08  John Levon  <levon@movementarian.org>
4901
4902         * funcrequest.h: just tedious nonsense
4903
4904         * lyx_main.h:
4905         * lyx_main.C: cleanups
4906
4907         * buffer.C:
4908         * vspace.C: remove dead header lyx_main.h
4909
4910 2002-08-07  Angus Leeming  <leeming@lyx.org>
4911
4912         * Paragraph.[Ch]:
4913         * paragraph_pimpl.h:
4914         Forward declare class Counters in paragraph.h by moving the ctrs member
4915         variable into Paragraph::Pimpl.
4916         (counters): new method, returning a reference to pimpl_->ctrs.
4917
4918         * text2.C: ensuing changes.
4919
4920 2002-08-07  John Levon  <levon@movementarian.org>
4921
4922         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4923
4924         * BufferView_pimpl.C: announce X selection on double/triple
4925           click
4926
4927         * lyx_main.C: use correct bool in batch dispatch
4928
4929         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4930
4931 2002-08-07  André Pönitz <poenitz@gmx.net>
4932
4933         * funcrequest.h: new class to wrap a kb_action and its argument
4934
4935         * BufferView.[Ch]:
4936         * BufferView_pimpl[Ch]:
4937         * LaTeX.C:
4938         * LyXAction.[Ch]:
4939         * lyxfunc.[Ch]:
4940         * lyxrc.C: subsequent changes
4941
4942
4943 2002-08-07  John Levon  <levon@movementarian.org>
4944
4945         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4946           document options change.
4947
4948 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
4949
4950         * counters.[Ch]
4951         * text2.C
4952         * paragraph.[Ch]
4953         * makefile.am: move counters functionality over from
4954         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4955
4956 2002-08-06  John Levon  <levon@movementarian.org>
4957
4958         * WordLangTuple.h: new file for word + language code tuple
4959
4960         * SpellBase.h:
4961         * pspell.h:
4962         * pspell.C:
4963         * ispell.h:
4964         * ispell.C:
4965         * lyxtext.h:
4966         * text.C:
4967         * text2.C:
4968         * BufferView.h:
4969         * BufferView2.C: use WordLangTuple
4970
4971         * layout.h:
4972         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4973
4974 2002-08-06  John Levon  <levon@movementarian.org>
4975
4976         * lyx_main.C: fix cmdline batch handling
4977
4978 2002-08-06  André Pönitz <poenitz@gmx.net>
4979
4980         * lyxrc.C: set default for show_banner to true
4981
4982 2002-08-06  John Levon  <levon@movementarian.org>
4983
4984         * pspell.C: fix a crash, and allow new aspell to work
4985
4986 2002-08-06  John Levon  <levon@movementarian.org>
4987
4988         * lyxfunc.C:
4989         * kbmap.C: small cleanup
4990
4991         * vspace.h:
4992         * vspace.C: add const
4993
4994 2002-08-05  John Levon  <levon@movementarian.org>
4995
4996         * LyXAction.C: back to tabular-insert
4997
4998 2002-08-04  John Levon  <levon@movementarian.org>
4999
5000         * BufferView.h:
5001         * BufferView.C: cosmetic change
5002
5003         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5004
5005         * bufferlist.C:
5006         * buffer.h:
5007         * buffer.C:
5008         * lyxcb.h:
5009         * lyxcb.C:
5010         * lyxserver.C:
5011         * lyxvc.C:
5012         * vc-backend.C:
5013         * BufferView2.C: purge all "Lyx" not "LyX" strings
5014
5015         * lyxcursor.h:
5016         * lyxcursor.C: attempt to add some documentation
5017
5018         * lyxfunc.C:
5019         * commandtags.h:
5020         * LyXAction.C:
5021         * ToolbarDefaults.C:
5022         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5023           merge with LFUN_TABULAR_INSERT
5024
5025         * Makefile.am:
5026         * SpellBase.h:
5027         * ispell.h:
5028         * ispell.C:
5029         * pspell.h:
5030         * pspell.C: split up i/pspell implementations into separate
5031           files, many cleanups
5032
5033         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5034
5035         * text2.C: some cleanup
5036
5037         * lyxfunc.C: don't check for isp_command == "none" any more, it
5038           didn't make any sense
5039
5040 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5041
5042         * counters.[Ch]
5043         * text2.C
5044         * paragraph.[Ch]
5045         * makefile.am: move counters functionality over
5046         from text2.C/paragraph.[Ch] to counters.[Ch], and
5047         make proper C++.
5048 2002-08-02  John Levon  <levon@movementarian.org>
5049
5050         * buffer.C: s/lyxconvert/lyx2lyx/
5051
5052 2002-08-02  Angus Leeming  <leeming@lyx.org>
5053
5054         * lyxlex.C: revert John's change as it breaks reading of the user
5055         preamble.
5056
5057 2002-08-02  Angus Leeming  <leeming@lyx.org>
5058
5059         * importer.C (Import):
5060         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5061         changes due to LyXView::view() now returning a boost::shared_ptr.
5062
5063 2002-08-02  John Levon  <levon@movementarian.org>
5064
5065         * lyxlex.C: small cleanup
5066
5067 2002-08-02  John Levon  <levon@movementarian.org>
5068
5069         * text2.C (status): small cleanup, no logic change
5070
5071 2002-08-01  John Levon  <levon@movementarian.org>
5072
5073         * buffer.h:
5074         * buffer.C (writeFile): don't output alerts, caller
5075           handles this
5076
5077         * bufferlist.C:
5078         * lyx_cb.C: from above
5079
5080         * lyxfunc.C: allow to open non-existent files
5081
5082 2002-07-31  John Levon  <levon@movementarian.org>
5083
5084         * lyxserver.C: don't let incidental errors get
5085           in the way (errno)
5086
5087 2002-07-30  John Levon  <levon@movementarian.org>
5088
5089         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5090
5091 2002-07-30  John Levon  <levon@movementarian.org>
5092
5093         * lyxserver.h:
5094         * lyxserver.C: remove I/O callback too
5095
5096 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5097
5098         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5099         log.
5100
5101 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5102
5103         * many files: strip,frontStrip -> trim,ltrim,rtrim
5104
5105 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * PrinterParams.h: remove extern containsOnly, and include
5108         support/lstrings.h instead.
5109
5110         * LaTeX.C (scanAuxFile): modify because of strip changes
5111         (deplog): ditto
5112         * buffer.C (makeLaTeXFile): ditto
5113         * bufferparams.C (writeFile): ditt
5114         * lyxfont.C (stateText): ditto
5115         * lyxserver.C (read_ready): ditto
5116         * vc-backend.C (scanMaster): ditto
5117
5118         * BufferView_pimpl.h: ws changes
5119
5120         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5121
5122 2002-07-26  André Pönitz <poenitz@gmx.net>
5123
5124         * kb_sequence.C: remove unnedred usings
5125
5126 2002-07-26  Juergen Vigna  <jug@sad.it>
5127
5128         * lyxfind.C (LyXReplace): we have to check better if the returned
5129         text is not of theLockingInset()->getLockingInset().
5130
5131 2002-07-25  Juergen Vigna  <jug@sad.it>
5132
5133         * lyxfind.C (LyXReplace): don't replace if we don't get the
5134         right LyXText.
5135
5136         * undo_funcs.C (createUndo): remove debugging code.
5137
5138 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
5139
5140         * buffer.C (parseSingleLyXformat2Token): Use default placement
5141         when reading old floats.
5142
5143         * FloatList.C (FloatList): Change the default placement of figure
5144         and tables to "tbp".
5145
5146 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
5147
5148         * MenuBackend.C: using std::max
5149
5150 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5151
5152         * MenuBackend.C (expandToc):
5153         (expandToc2): code moved from xforms menu frontend. It is now
5154         generic and TOCs are transparent to menu frontends.
5155
5156 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5157
5158         * toc.C (getTocList): protect against buf=0
5159
5160         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5161         Menu as first parameter. Now, this calls itself recursively to
5162         expand a whole tree (this will be useful for TOC handling)
5163         (expandFloatInsert): remove 'wide' version of floats
5164
5165         * MenuBackend.h (submenuname): returns the name of the submenu.
5166         (submenu): returns the submenu itself, provided it has been
5167         created by MenuBackend::expand
5168
5169 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5170
5171         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5172         insets which have noFontChange == true. (bug #172)
5173
5174 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5175
5176         * BufferView_pimpl.C: add connection objects and use them...
5177         (Pimpl): here.
5178
5179 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5180
5181         * MenuBackend.C (expandLastfiles):
5182         (expandDocuments):
5183         (expandFormats):
5184         (expandFloatListInsert):
5185         (expandFloatInsert):
5186         (expand): split expand in parts
5187
5188 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5189
5190         * lyx_gui.C: use lyx_gui::exit()
5191
5192 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5193
5194         * LyXAction.C: show the failing pseudo action
5195
5196 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
5197
5198         * buffer.C (readFile): Run the lyxconvert script in order to read
5199         old files.
5200
5201 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5202
5203         * LyXAction.C:
5204         * commandtags.h:
5205         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5206
5207 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5208
5209         * LyXAction.C:
5210         * commandtags.h:
5211         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5212
5213 2002-07-22  Herbert Voss  <voss@lyx.org>
5214
5215         * lengthcommon.C:
5216         * lyxlength.[Ch]: add support for the vertical lengths
5217
5218 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
5219
5220         * toc.[Ch]: std:: fixes
5221
5222 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5223
5224         * lyxrc.C: do not include lyx_main.h
5225
5226         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5227         for layouts
5228
5229         * lyxrc.C:
5230         * encoding.C:
5231         * bufferlist.C:
5232         * BufferView2.C: include "lyxlex.h"
5233
5234         * tabular.h:
5235         * bufferparams.h: do not #include "lyxlex.h"
5236
5237         * lyxtextclasslist.C (Add): remove method
5238         (classlist): renamed to classlist_
5239
5240         * paragraph_pimpl.C:
5241         * paragraph.C:
5242         * text2.C:
5243         * CutAndPaste.C:
5244         * bufferview_funcs.C:
5245         * bufferlist.C:
5246         * text.C:
5247         * LaTeXFeatures.C:
5248         * buffer.C:
5249         * toc.C (getTocList): use BufferParams::getLyXTextClass
5250
5251         * toc.C (getTocList): use InsetFloat::addToToc
5252
5253         * toc.[Ch]: new files, containing helper functions to handle table
5254         of contents
5255
5256         * lyxfunc.C (dispatch): no need to remove spaces around command
5257         given as a string
5258         (getStatus): handle LFUN_SEQUENCE by returning the status of the
5259         first command of the sequence; it is not very clever, but I do not
5260         have a better idea, actually
5261
5262         * LyXAction.C (LookupFunc): make sure to remove space at the
5263         beginning and end of the command
5264
5265 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5266
5267         * MenuBackend.C (getMenubar): new method: return the menubar of
5268         this menu set
5269         (read): treat differently reading of menu and menubar (in
5270         particular, the menubar has no name now)
5271         (Menu::menubar): remove
5272
5273         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5274         saving is finished
5275
5276 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5277
5278         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5279         a bibitem inset in a RTL paragraph.
5280
5281 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
5282
5283         * paragraph_pimpl.C: constify
5284
5285         * BufferView_pimpl.C:
5286         * LaTeX.C:
5287         * lyxfunc.C: fix dispatch in a nicer way
5288
5289 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5290
5291         * lyxfunc.C (dispatch):
5292         * BufferView_pimpl.C:
5293         * BufferView_pimpl.h:
5294         * BufferView.C:
5295         * BufferView.h: rename Dispatch() to dispatch()
5296
5297         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5298
5299         * lyxlayout.C (Read): honor DependsOn tag
5300
5301         * lyxlayout.[Ch] (depends_on): new method
5302
5303         * version.C.in: update lyx_docversion
5304
5305         * LaTeXFeatures.C (getMacros): only define \LyX when needed
5306
5307         * paragraph.C (validate): remove from here...
5308         * paragraph_pimpl.C (validate): ... and move here
5309         (isTextAt): make it const
5310
5311         * buffer.C (getLists): ws cleanup
5312
5313 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5314
5315         * language.C (read): Use iso8859-1 encoding in latex_lang
5316         (this prevents LyX from crashing when using iso10646-1 encoding).
5317
5318 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5319
5320         * text2.C (toggleInset): if cursor is inside an inset, close the
5321         inset and leave cursor _after_ it
5322
5323 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5324
5325         * lyxfunc.C: move minibuffer completion handling out of here
5326
5327 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5328
5329         * BufferView_pimpl.C:
5330         * LaTeX.C: fix dispatch calls
5331
5332 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
5333
5334         * text.C (drawChars): Fix Arabic text rendering.
5335
5336 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
5337
5338         * LyXAction.C:
5339         * commandtags.h:
5340         * lyxfunc.C: remove message-push/pop
5341
5342         * lyxserver.C:
5343         * lyxfunc.h:
5344         * lyxfunc.C: rationalise some code by removing verboseDispatch
5345           in favour of a bool argument to dispatch()
5346
5347 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5348
5349         * lyx_main.C (init): make sure to read symlinks as absolute paths
5350
5351 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5352
5353         * lyxfunc.h:
5354         * lyxfunc.C: no need for commandshortcut to be a member
5355
5356 2002-07-15  André Pönitz <poenitz@gmx.net>
5357
5358         * converter.C: add support for $$s (scripts from lib/scripts dir)
5359         * lyx_main.C: white space
5360
5361 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5362
5363         * bufferlist.C:
5364         * lyxrc.h:
5365         * lyxrc.C: remove second exit confirmation
5366
5367 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5368
5369         * BufferView.h:
5370         * BufferView.C:
5371         * BufferView2.C:
5372         * BufferView_pimpl.h:
5373         * BufferView_pimpl.C:
5374         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5375
5376 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5377
5378         * MenuBackend.C (expand): add numeric shortcuts to document menu
5379
5380         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5381
5382 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5383
5384         * lyxfont.C (setLyXFamily):
5385         (setLyXSeries):
5386         (setLyXShape):
5387         (setLyXSize):
5388         (setLyXMisc):
5389         (lyxRead):
5390         * debug.C (value):
5391         * buffer.C (asciiParagraph): use ascii_lowercase
5392
5393 2002-07-15  Mike Fabian  <mfabian@suse.de>
5394
5395         * lyxlex_pimpl.C (search_kw):
5396         * lyxlex.C (getLongString):
5397         * converter.h (operator<):
5398         * converter.C (operator<):
5399         * buffer.C (parseSingleLyXformat2Token):
5400         (asciiParagraph):
5401         * ToolbarDefaults.C (read):
5402         * MenuBackend.C (checkShortcuts):
5403         (read):
5404         * LColor.C (getFromGUIName):
5405         (getFromLyXName): use the compare_ascii_no_case instead of
5406         compare_no_case, because in turkish, 'i' is not the lowercase
5407         version of 'I', and thus turkish locale breaks parsing of tags.
5408
5409 2002-07-16  Angus Leeming  <leeming@lyx.org>
5410
5411         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5412         now takes a Buffer const & argument.
5413
5414 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
5415
5416         * BufferView.C (resize): check there's a buffer to resize
5417
5418 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
5419
5420         * lyxfunc.C: remove dead code
5421
5422         * lyxserver.h:
5423         * lyxserver.C: use lyx_guii::set_read_callback
5424
5425 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
5426
5427         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5428         an inset in a RTL paragraph.
5429
5430 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5431
5432         * lyxfunc.C: repaint after a font size update
5433
5434 2002-07-15  André Pönitz <poenitz@gmx.net>
5435
5436         * lyxlength.C: inBP should be able to return negative values
5437
5438 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5439
5440         * lyxfunc.C: use lyx_gui::update_fonts()
5441
5442 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5443
5444         * lyxfunc.C: use lyx_gui::update_color()
5445
5446 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5447
5448         * bufferlist.C:
5449         * lyxfunc.h:
5450         * lyxfunc.C:
5451         * lyxrc.h:
5452         * lyxrc.C: remove file->new asks for name option, and let
5453           buffer-new take an argument
5454
5455 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5456
5457         * BufferView_pimpl.C: remove unneeded extra repaint()
5458
5459 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
5460
5461         * LyXAction.C: allow command-sequence with NoBuffer
5462
5463         * lyxfunc.C: don't insist on trailing ';' for command-sequence
5464
5465 2002-07-10  Angus Leeming  <leeming@lyx.org>
5466
5467         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5468
5469 2002-07-09  Angus Leeming  <leeming@lyx.org>
5470
5471         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5472
5473 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5474
5475         * lengthcommon.h: whitespace
5476
5477         * lyxfunc.C: update scrollbar after goto paragraph
5478
5479         * lyxtext.h: factor out page break drawing, and fix it so
5480           page break/added space paints as selected nicely
5481
5482 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5483
5484         * BufferView_pimpl.C: add FIXMEs, clean up a little
5485
5486 2002-07-09  André Pönitz <poenitz@gmx.net>
5487
5488         * lyxfont.[Ch]: support for wasy symbols
5489
5490 2002-07-08  André Pönitz <poenitz@gmx.net>
5491
5492         * BufferView_pimpl.C: apply John's patch for #93.
5493
5494 2002-07-05  Angus Leeming  <leeming@lyx.org>
5495
5496         * BufferView_pimpl.C (buffer): generate previews if desired.
5497
5498         * LColor.h: add "preview" to the color enum.
5499
5500         * LColor.C (LColor): add a corresponding entry to the items array.
5501
5502         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5503         with this buffer.
5504
5505 2002-07-05  Angus Leeming  <leeming@lyx.org>
5506
5507         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5508         The body of the code is now in the method that is passed an ostream &
5509         rather than a file name.
5510         Pass an additional only_preamble parameter, useful for the forthcoming
5511         preview stuff.
5512
5513 2002-07-03  André Pönitz <poenitz@gmx.net>
5514
5515         * lyxfunc.C: simplify getStatus() a bit for math stuff
5516
5517 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5518
5519         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5520
5521 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5522
5523         * text.C (changeRegionCase): do not change case of all the
5524         document when region ends at paragraph end (bug #461)
5525
5526 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5527
5528         * paragraph.C (startTeXParParams):
5529         (endTeXParParams): add \protect when necessary
5530
5531 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5532
5533         * BufferView_pimpl.C (workAreaExpose): remove warning
5534
5535 2002-06-27  Angus Leeming  <leeming@lyx.org>
5536
5537         * Makefile.am: add lyxlayout_ptr_fwd.h.
5538
5539 2002-06-26  André Pönitz <poenitz@gmx.net>
5540
5541         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5542
5543 2002-06-25  Angus Leeming  <leeming@lyx.org>
5544
5545         * lyxfunc.C (dispatch): Comment out the call to
5546         grfx::GCache::changeDisplay. The method no longer exists now that the
5547         pixmap generation part of the graphics loader has been moved into
5548         InsetGraphics.
5549
5550 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5551
5552         * text2.C: layout as layout
5553
5554         * text.C: layout as layout
5555
5556         * tabular.C (OldFormatRead): layout as layout
5557
5558         * paragraph_pimpl.C (TeXDeeper): layout as layout
5559         (realizeFont): layout as layout
5560
5561         * paragraph.C (writeFile): layout as layout
5562         (validate): layout as layout
5563         (getFont): layout as layout
5564         (getLabelFont): layout as layout
5565         (getLayoutFont): layout as layout
5566         (breakParagraph): layout as layout
5567         (stripLeadingSpaces): layout as layout
5568         (getEndLabel): layout as layout
5569         (getMaxDepthAfter): layout as layout
5570         (applyLayout): layout as layout
5571         (TeXOnePar): layout as layout
5572         (simpleTeXOnePar): layout as layout
5573         (TeXEnvironment): layout as layout
5574         (layout): layout as layout
5575         (layout): layout as layout
5576
5577         * lyxtextclass.C (compare_name): new functor to work with
5578         shared_ptr, layout as layout
5579         (Read): layout as layout
5580         (hasLayout): layout as layout
5581         (operator): layout as layout
5582         (delete_layout): layout as layout
5583         (defaultLayout): layout as layout
5584
5585         * lyxlayout_ptr_fwd.h: new file
5586
5587         * lyxlayout.C (Read): layout as layout
5588
5589         * lyx_cb.C (MenuInsertLabel): layout as layout
5590
5591         * bufferlist.C (newFile): layout as layout
5592
5593         * buffer.C (readLyXformat2): layout as layout
5594         (parseSingleLyXformat2Token): layout as layout
5595         (insertStringAsLines): layout as layout
5596         (asciiParagraph): layout as layout
5597         (latexParagraphs): layout as layout
5598         (makeLinuxDocFile): layout as layout
5599         (simpleLinuxDocOnePar): layout as layout
5600         (makeDocBookFile): layout as layout
5601         (simpleDocBookOnePar): layout as layout
5602         (getLists): layout as layout
5603
5604         * LaTeXFeatures.C (getTClassPreamble): layout as layout
5605
5606         * CutAndPaste.C (cutSelection): layout as layout
5607         (pasteSelection): layout as layout
5608         (SwitchLayoutsBetweenClasses): layout as layout
5609
5610         * BufferView_pimpl.C (Dispatch): layout as layout
5611         (smartQuote): layout as layout
5612
5613         * BufferView2.C (unlockInset): layout as layout
5614
5615 2002-06-24  André Pönitz <poenitz@gmx.net>
5616
5617         * lyxfunc.C: fix #487
5618
5619 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5620
5621         * lyxrc.h:
5622         * lyxrc.C:
5623         * lyxfunc.C: remove display_shortcuts, show_banner
5624
5625 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5626
5627         * Buffer_pimpl.C: oops, update on resize
5628
5629 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5630
5631         * buffer.C:
5632         * converter.C:
5633         * exporter.C:
5634         * lyxfunc.C:
5635         * BufferView.h:
5636         * BufferView.C: use repaint()
5637
5638         * BufferView_pimpl.h:
5639         * BufferView_pimpl.C: s/updateScreen()/repaint()/
5640           as it's a clearer description. Remove superfluous
5641           redraws.
5642
5643 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5644
5645         * text.C: fix bug 488. Not ideal, but getting
5646           getWord() to work properly for the insets that
5647           matter is more difficult ...
5648
5649 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5650
5651         * BufferView_pimpl.C:
5652         * LyXAction.C:
5653         * commandtags.h:
5654         * lyxfunc.C: remove the six million index lyxfuncs to just
5655           one, and DTRT (bug 458)
5656
5657 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5658
5659         * BufferView.h:
5660         * BufferView.C:
5661         * BufferView_pimpl.h:
5662         * BufferView_pimpl.C: clean up resize() stuff,
5663           and unnecessary updateScreen()s
5664
5665 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5666
5667         * BufferView.h:
5668         * BufferView.C:
5669         * BufferView_pimpl.h:
5670         * BufferView_pimpl.C:
5671         * lyxfind.h:
5672         * lyxfind.C:
5673         * minibuffer.C: remove focus management of workarea,
5674           not needed. Use screen's greyOut()
5675
5676 2002-06-17  Herbert Voss  <voss@lyx.org>
5677
5678         * converter.C: (convert) do not post a message, when converting
5679         fails, let the calling function decide what to do in this case
5680
5681 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
5682
5683         * lyxfunc.C: tidy up a little
5684
5685 2002-06-16    <alstrup@diku.dk>
5686
5687         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5688         Got rid of FORMS_H_LOCATION include. Now we are
5689         GUII.
5690
5691 2002-06-15  LyX Development team  <lyx@rilke>
5692
5693         * buffer.[Ch] (sgmlOpenTag):
5694         (sgmlCloseTag): Added support for avoiding pernicious mixed
5695         content. Return number of lines written.
5696
5697         (makeLinuxDocFile):
5698         (makeDocBookFile): Fixed calls to sgml*Tag.
5699         Simple white space clean.
5700
5701         (simpleDocBookOnePar): Simple white space clean.
5702
5703         * tabular.[Ch] (docBook): Renamed to docbook and got another
5704         argument to related with the pernicious mixed content.
5705
5706         (docbookRow): Fixed calls for docbook inset method.
5707
5708 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
5709
5710         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5711         so it's X11 independent.
5712
5713         * kb*.[Ch]: ditto.
5714
5715         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5716
5717 2002-06-15  Lyx Development team  <lyx@electronia>
5718
5719         * intl.h: Renamed getTrans to getTransManager.
5720
5721 2002-06-14  Angus Leeming  <leeming@lyx.org>
5722
5723         * Makefile.am: nuke forgotten stl_string_fwd.h.
5724
5725 2002-06-12  Angus Leeming  <leeming@lyx.org>
5726
5727         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5728
5729 2002-06-13  Angus Leeming  <leeming@lyx.org>
5730
5731         * LaTeX.C:
5732         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5733
5734 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
5735
5736         * kbmap.C (getiso): add support for cyrillic and greek
5737
5738 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5739
5740         * BufferView.h:
5741         * BufferView.C:
5742         * BufferView_pimpl.h:
5743         * BufferView_pimpl.C: move bogus scrolling logic
5744           to xforms
5745
5746 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5747
5748         * lyxfunc.C:
5749         * BufferView_pimpl.C: view->resize() change
5750
5751 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5752
5753         * BufferView_pimpl.C: topCursorVisible
5754           prototype change
5755
5756 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5757
5758         * Makefile.am:
5759         * lyx_gui.h:
5760         * lyx_gui.C: move to frontends/
5761
5762         * main.C:
5763         * lyx_main.h:
5764         * lyx_main.C: changes from above
5765
5766 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5767
5768         * intl.C:
5769         * intl.h:
5770         * kbmap.C:
5771         * kbsequence.C:
5772         * lyx_cb.C:
5773         * lyx_main.C: minor tidy
5774
5775 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5776
5777         * BufferView_pimpl.h:
5778         * BufferView_pimpl.C:
5779         * BufferView.h:
5780         * BufferView.C: make painter() const,
5781           remove dead code
5782
5783         * BufferView2.C: use screen() accessor
5784
5785         * lyx_main.h:
5786         * lyx_main.C: some minor cleanup
5787
5788 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5789
5790         * BufferView_pimpl.h:
5791         * BufferView_pimpl.C: remove enter/leaveView,
5792           use workHeight()
5793
5794 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5795
5796         * BufferView.h:
5797         * BufferView.C:
5798         * BufferView2.C:
5799         * BufferView_pimpl.h:
5800         * BufferView_pimpl.C: only construct screen once,
5801           rename
5802
5803         * lyxrc.C: remove pointless comment
5804
5805 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5806
5807         * BufferView.h:
5808         * BufferView.C: remove active() and belowMouse()
5809
5810         * BufferView_pimpl.h:
5811         * BufferView_pimpl.C: use workarea() not workarea_,
5812           and make it use a scoped_ptr instead
5813
5814 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5815
5816         * lyx_gui.C: add debug message on BadWindow
5817
5818 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5819
5820         * sp_spell.C: fdopen is not part of the C++ standard.
5821
5822         * paragraph.C (InsetIterator): use >= instead of ==
5823
5824 2002-06-07  Angus Leeming  <leeming@lyx.org>
5825
5826         Fixes needed to compile with Compaq cxx 6.5.
5827         * BufferView_pimpl.C:
5828         * DepTable.C:
5829         * buffer.C:
5830         * converter.C:
5831         * encoding.C:
5832         * lyx_gui.C:
5833         * lyx_main.C:
5834         * lyxtextclasslist.C:
5835         * minibuffer.C:
5836         * sp_spell.C:
5837         * tabular_funcs.C:
5838         * vc-backend.C:
5839         all c-library variables have been moved into namespace std. Wrap
5840         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5841
5842         * lyxlength.C:
5843         * tabular-old.C:
5844         * tabular.C:
5845         Add a using std::abs declaration.
5846
5847         * kbmap.h (modifier_pair):
5848         * paragraph.h (InsetTable, InsetList):
5849         * lyxfont.h (FontBits):
5850         type definition made public.
5851
5852         * bufferlist.C (emergencyWriteAll): the compiler complains that
5853         there is more than one possible lyx::class_fun template to choose from.
5854         I re-named the void specialisation as lyx::void_class_fun.
5855
5856         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5857
5858         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5859         the compiler is is unable to find tostr in write_attribute.
5860
5861 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5862
5863         * buffer.C (sgmlError): hide #warning
5864
5865 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5866
5867         * xtl/*: get rid of xtl, which is not in use anyway
5868
5869         * LyXAction.C (init):
5870         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5871         were unimplemented xtl experimentation
5872
5873 2002-06-04  André Pönitz <poenitz@gmx.net>
5874
5875         * lyxfunc.C: disable array operation on simple formulae
5876
5877 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
5878
5879         * converter.C: constify a bit
5880
5881 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
5882
5883         * lyx_gui.C: check xforms version correctly
5884
5885 2002-04-30  Herbert Voss  <voss@lyx.org>
5886
5887         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5888         "keep" option
5889
5890 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
5891
5892         * lyxvc.C: fix bug 416 (make sure buffer is saved before
5893           attempt to register it with a VCS)
5894
5895 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5896
5897         * lyx_main.C (init): honor variables LYX_DIR_13x and
5898         LYX_USERDIR_13x
5899
5900 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
5901
5902         * buffer.h:
5903         * buffer.C:
5904         * lyx_main.C: fix a crash on bad command line,
5905           and give a useful exit status on error
5906
5907         * lyxfunc.C (doImport): allow -i lyx to work
5908
5909 2002-03-30  André Pönitz <poenitz@gmx.net>
5910
5911         * lyxfunc.C: mathed font changes
5912
5913 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
5914
5915         * LaTeX.C:
5916         * importer.h:
5917         * importer.C:
5918         * lyx_sty.h:
5919         * lyx_sty.C:
5920         * lyxlex.C:
5921         * lyxrow.h:
5922         * lyxtext.h:
5923         * paragraph.h:
5924         * paragraph.C:
5925         * texrow.h:
5926         * texrow.C:
5927         * text.C:
5928         * trans_mgr.h: srcdocs, and some minor cleanups
5929
5930 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5931
5932         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5933         call getFont all the time)
5934
5935 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5936
5937         * switch from SigC signals to boost::signals
5938
5939 2002-05-29  André Pönitz <poenitz@gmx.net>
5940
5941         * paragraph_pimpl.C (getChar): don't call size() too often...
5942
5943 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5944
5945         * paragraph_pimpl.C (insertChar): do not try to update tables when
5946         appending (pos == size())
5947
5948         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5949         in order to reduce drastically the number of comparisons needed to
5950         parse a large document
5951
5952 2002-05-29  André Pönitz <poenitz@gmx.net>
5953
5954         * text.C:
5955         * text2.C:
5956         * lyxtextclass.C:
5957         * sp_pspell.h:
5958         * textclasslist.[Ch]:
5959         * sp_ispell.h: whitespace change
5960
5961 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5962
5963         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5964         lyxaction directly now.
5965
5966 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
5967
5968         * trans.C:
5969         * lyxfont.C:
5970         * lyxvc.C: remove unused headers
5971
5972 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
5973
5974         * Makefile.am:
5975         * buffer.h:
5976         * undostack.h:
5977         * undostack.C:
5978         * undo_funcs.h:
5979         * undo_funcs.C: some cleanups. Use shared_ptr
5980           and a template for the undo stacks.
5981
5982 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
5983
5984         * BufferView_pimpl.h:
5985         * BufferView_pimpl.C:
5986         * kbmap.h:
5987         * kbmap.C:
5988         * kbsequence.h:
5989         * kbsequence.C:
5990         * lyxfunc.h:
5991         * lyxfunc.C:
5992         * text2.C: use key_state/mouse_state
5993
5994 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5995
5996         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5997         and LSubstring
5998
5999         * chset.C: change include order
6000         (loadFile): use boost regex and get rid of LRegex and LSubstring
6001
6002         * Makefile.am (BOOST_LIBS): new variable
6003         (lyx_LDADD): use it
6004
6005         * LaTeX.C: change include order.
6006         (scanAuxFile): use boost regex and get rid of LRegex and
6007         LSubstring
6008         (deplog): ditto
6009
6010 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6011
6012         * ColorHandler.h:
6013         * ColorHandler.C:
6014         * FontInfo.h:
6015         * FontInfo.C: moved to frontends/xforms/
6016
6017         * FontLoader.h:
6018         * FontLoader.C: moved into frontends for GUIIzation
6019
6020         * Makefile.am:
6021         * lyx_gui.C:
6022         * lyxfont.C:
6023         * lyxfunc.C: changes from above
6024
6025 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6026
6027         * LColor.C: remove spurious X include
6028
6029         * BufferView_pimpl.C:
6030         * Makefile.am:
6031         * font.h:
6032         * font.C:
6033         * text.C:
6034         * text2.C: move font metrics to frontends/
6035
6036 2002-05-24  Juergen Vigna  <jug@sad.it>
6037
6038         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6039         setting the undo_cursor.
6040
6041         * ParagraphParameters.h: include local includes first.
6042
6043 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6044
6045         * BufferView_pimpl.C:
6046         * BufferView_pimpl.h:
6047         * Makefile.am:
6048         * WorkArea.h:
6049         * WorkArea.C:
6050         * screen.C: move WorkArea into frontends/
6051
6052         * lyxscreen.h:
6053         * screen.C:
6054         * text.C:
6055         * BufferView.C:
6056         * BufferView2.C: move LyXScreen into frontends/
6057
6058         * lyxlookup.h:
6059         * lyxlookup.C:
6060         * lyx_gui.C: move lyxlookup into frontends/xforms/
6061
6062 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6063
6064         * BufferView2.C:
6065         * BufferView_pimpl.C:
6066         * FontLoader.C:
6067         * LyXView.h:
6068         * LyXView.C:
6069         * Makefile.am:
6070         * WorkArea.C:
6071         * XFormsView.h:
6072         * XFormsView.C:
6073         * buffer.C:
6074         * bufferlist.C:
6075         * bufferview_funcs.C:
6076         * converter.C:
6077         * importer.C:
6078         * lyx_cb.C:
6079         * lyx_gui.C:
6080         * lyx_main.C:
6081         * lyx_find.C:
6082         * lyxfunc.C:
6083         * lyxvc.C:
6084         * minibuffer.C:
6085         * text.C:
6086         * text2.C:
6087         * trans.C:
6088         * vc-backend.C: move LyX/XFormsView into frontends/
6089
6090 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6091
6092         * Makefile.am:
6093         * PainterBase.C:
6094         * PainterBase.h:
6095         * Painter.C:
6096         * Painter.h:
6097         * WorkArea.C:
6098         * WorkArea.h:
6099         * screen.C:
6100         * tabular.C:
6101         * text.C:
6102         * text2.C: move Painter to frontends/
6103
6104 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6105
6106         * buffer.C: comment out some some code that depend upon lyx_format
6107         < 220
6108
6109         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6110         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6111
6112         * buffer.h (NO_COMPABILITY): turn off compability
6113
6114         * ColorHandler.C: include scoped_array.hpp
6115
6116         * font.C: Use more specific smart_ptr header.
6117         * Painter.C: ditto
6118         * gettext.C: ditto
6119         * ShareContainer.h: ditto
6120         * lyx_main.h: ditto
6121         * kbmap.h: ditto
6122         * FontInfo.h: ditto
6123         * BufferView_pimpl.h: ditto
6124         * ColorHandler.h: ditto
6125
6126         * kbmap.C (defkey): change call to shared_ptr::reset
6127
6128 2002-05-21  Juergen Vigna  <jug@sad.it>
6129
6130         * buffer.C (insertErtContents): fix to insert ert asis if it is
6131         non empty. Skip it completely if it contains only whitespaces.
6132
6133 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6134
6135         * BufferView_pimpl.C:
6136         * BufferView2.C: clear selection on paste (bug 393)
6137
6138 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6139
6140         * DepTable.C: include ctime
6141
6142 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
6143
6144         * buffer.C (latexParagraphs): Add new argument (moving_arg).
6145
6146 2002-05-14  Juergen Vigna  <jug@sad.it>
6147
6148         * text.C (breakParagraph): fixed function to honor the keepempty
6149         layout in the right maner and also to permit the right breaking
6150         algorithm on empty or non empyt keepempty paragraphs.
6151
6152         * paragraph.C (breakParagraph): we have to check also if the par
6153         is really empty (!size()) for isempty otherwise we do the wrong
6154         paragraph break.
6155
6156 2002-05-10  Juergen Vigna  <jug@sad.it>
6157
6158         * buffer.[Ch] : The following are only changes to the ert
6159         compatibility read reading old LaTeX layout and font stuff and
6160         convert it to ERTInsets.
6161
6162         * buffer.h: added isErtInset().
6163
6164         * buffer.C (struct ErtComp): add a fromlayout bool to check
6165         if we're inside a LaTeX layout.
6166         (isErtInset): new helper function.
6167         (insertErtContents): look for other ert insets before this one
6168         and insert the contents there, so that we don't have subsequent
6169         ERT insets with nothing between them. This way we create only one
6170         inset with multiple paragraphs. Also check if we don't insert only
6171         spaces ' ' as they are ignored anyway afterwards in the .tex file
6172         so if we have only spaces we will ignore this latex part in the
6173         new file.
6174         (parseSingleLyXformat2Token \\layout): better compatibility when
6175         reading layout-latex stuff.
6176         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6177         language tag.
6178         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6179         stuff after reading the inset only get the information back from
6180         the stack.
6181
6182 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
6183
6184         * buffer.C (makeLaTeXFile): Put language options after loading babel.
6185
6186         * LaTeXFeatures.C (getBabelOptions): New method.
6187
6188 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6189
6190         * BufferView_pimpl.C (Dispatch): work around missing argument for
6191         'layout'
6192
6193 2002-05-08  Juergen Vigna  <jug@sad.it>
6194
6195         * text.C (leftMargin): handle paragraph leftindent.
6196
6197         * paragraph.C (writeFile): write the new \\leftindent tag.
6198         (validate): handle leftindent code.
6199         (TeXEnvironment): handle paragraphleftindent code again.
6200
6201         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6202
6203         * buffer.C (parseSingleLyXformat2Token): added compatibility code
6204         for paragrap_extra indent code and new token \\leftindent.
6205         (latexParagraphs): handle the leftindent as environment.
6206
6207         * ParameterStruct.h: added leftindent support.
6208
6209         * ParagraphParameters.C (leftIndent): added support functions for
6210         the paragraph left indent.
6211
6212         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6213         more appropriate.
6214
6215 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
6216
6217         * paragraph.C (isRightToLeftPar): Return false for a paragraph
6218         inside insetERT.
6219
6220         * text.C (computeBidiTables): No bidi in insetERT.
6221
6222         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6223         in RTL documents.
6224
6225 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6226
6227         * version.C.in: pre 5
6228
6229 2002-05-02  José Matos  <jamatos@fep.up.pt>
6230         * buffer.C (makeDocBookFile): white space changes, add newline to
6231         command styles.
6232         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6233
6234         * tabular.C (docBook): fix typo.
6235
6236 2002-05-03  Juergen Vigna  <jug@sad.it>
6237
6238         * screen.C (drawFromTo): recalculate the rowpointer if we had a
6239         change in LyXText as we can not be sure it was not freed.
6240         (drawOneRow): remove unused code.
6241
6242         * text.C (drawInset): redo the calculation of the need_break_row as
6243         it could have a row which was already freed.
6244         (draw): look at the return value of drawInset and return false if
6245         it also returned false.
6246         (paintRowText): look at the return value of draw and return false if
6247         it also returned false.
6248
6249         * lyxtext.h: added bool return type to drawInset() and draw() so that
6250         if we have a change in the row so that the rowbreak has to be redone
6251         we abort drawing as it will be called again.
6252
6253 2002-05-02  Juergen Vigna  <jug@sad.it>
6254
6255         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6256         a change in the maintext also if we're inside an inset.
6257         (Dispatch): set the cursor again after a break line and after the
6258         screen has been updated as it could be we're in a different row.
6259
6260         * text2.C (fixCursorAfterDelete): check to make sure we don't request
6261         to set the cursor behind the pargraph with > size().
6262         (setCursor): check also for the same paragraph when checking where
6263         to put the cursor if we have a NFR inset.
6264
6265         * buffer.C (parseSingleLyXformat2Token): move the compatibility
6266         parts of layout read further up as it still was in the wrong
6267         position.
6268
6269 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6270
6271         * screen.C (drawFromTo): change sine fullRebreak always return
6272         true.
6273
6274         * buffer.C (parseSingleLyXformat2Token): reindent some
6275
6276         * BufferView_pimpl.C (update): change since fullRebreak always
6277         return true.
6278         (Dispatch): git rid of the last hardcoded "Standard"s.
6279
6280 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6281
6282         * text2.[Ch] (fullRebreak): make it return void now that we always
6283         returned true.
6284
6285 2002-04-30  Juergen Vigna  <jug@sad.it>
6286
6287         * buffer.C (parseSingleLyXformat2Token): reset the font before the
6288         ert compatibility check for "latex" layout.
6289
6290 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
6291
6292         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6293         minipages: use col% instead of p%, and also use the current font.
6294         (makeLaTeXFile): Fix use babel condition.
6295         (parseSingleLyXformat2Token): Correct font when reading old floats.
6296
6297 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
6298
6299         * BufferView_pimpl.C (Dispatch): Check that float type exists when
6300         inserting list of floats.
6301
6302 2002-04-25  Herbert Voss  <voss@lyx.org>
6303
6304         * MenuBackend.C (expand): don't add the graphics extensions to the
6305         export menu
6306
6307 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6308
6309         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6310         non-existing layout, do not complain if it was the default layout
6311         of the original class (bug #342)
6312
6313 2002-04-24  Juergen Vigna  <jug@sad.it>
6314
6315         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6316         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6317
6318 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
6319
6320         * buffer.C (getBibkeyList): If using \bibliography, return the
6321         option field with the reference itself. Enables us to provide natbib
6322         support when using \bibliography.
6323
6324 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
6325
6326         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6327
6328         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6329         natbib is provided by the LaTeX class.
6330
6331 2002-04-23  Juergen Vigna  <jug@sad.it>
6332
6333         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6334         Wakeup functions.
6335
6336         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6337
6338 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6339
6340         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6341
6342         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6343         ensuremath around textordmasculine, textordfeminine and
6344         textdegree.
6345
6346 2002-04-19  Juergen Vigna  <jug@sad.it>
6347
6348         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6349         reinitializing the buffer otherwise row-dimensions may be wrong.
6350         (update): reset also the selection cursors if they do exits otherwise
6351         their x/y positions may be wrong.
6352
6353         * text2.C (cursorDown): don't enter the inset if we came from a row
6354         above and are one row over the inset.
6355
6356         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6357         really leaving an inset.
6358
6359 2002-04-18  Juergen Vigna  <jug@sad.it>
6360
6361         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6362         of the selected paragraph does not have the selected layout also if
6363         the last one had!
6364
6365         * text2.C (setLayout): fixed bug which did not change last selected
6366         paragraph.
6367
6368         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6369         changed the read and substituted \\end_float with \\end_inset!
6370
6371         * BufferView_pimpl.C (cursorPrevious):
6372         (cursorNext): fixed to make it work with rows heigher than the work
6373         area without moving the cursor only the draw of the row.
6374         (workAreaMotionNotify): fix jumping over high rows.
6375
6376 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6377
6378         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6379         Ressler.
6380
6381 2002-04-16  Juergen Vigna  <jug@sad.it>
6382
6383         * text2.C (setCursor): set also the irow().
6384         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6385         (cursorUp):
6386         (cursorDown): support for locking an inset if the x_fix value goes
6387         inside it. That way I can transverse insets too with cursor up/down.
6388
6389         * lyxrow.h: added irow helper function same as other (i) functions.
6390
6391         * BufferView_pimpl.C (cursorPrevious):
6392         (cursorNext): fixed for insets!
6393
6394 2002-04-15  Juergen Vigna  <jug@sad.it>
6395
6396         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6397         position otherwise it is wrong in some cases.
6398
6399         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6400         inside the inset before the call.
6401
6402 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
6403
6404         * buffer.[Ch] (getBibkeyList): make it const.
6405
6406 2002-04-12  Juergen Vigna  <jug@sad.it>
6407
6408         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6409
6410         * text2.C (getCursorX): new helper function
6411         (setCursor): compute also ix_
6412         (setCursorFromCoordinates): set also ix.
6413
6414         * lyxcursor.h: added ix_ and helper functions.
6415
6416         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6417
6418         * buffer.C (insertStringAsLines): dont break paragraph if the this
6419         paragraph is inside an inset which does not permit it!
6420
6421         * text.C (breakParagraph): honor keepempty flag and break the paragraph
6422         also with no chars on this paragraph.
6423         (paintRowText): only paint stuff if it's inside the workarea!
6424
6425         * paragraph.C (breakParagraph): honor keepempty flag and break the
6426         paragraph always below not above.
6427
6428         * BufferView2.C (unlockInset): update the paragraph layout on inset
6429         unlock as we changed paragraph in such a case.
6430
6431         * lyxfind.C (LyXFind): clear the former selection if not found!
6432
6433         * text2.C (insertInset): freeze Undo after setUndo so that it is not
6434         again called in insertChar().
6435
6436         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6437         an inset which uses the whole row!
6438         (rightMargin): ditto.
6439         (insertChar): force a rebreak if we inserted an inset!
6440
6441 2002-03-28  Herbert Voss  <voss@lyx.org>
6442
6443         * lyxlength.[Ch]: add inBP() to get the right PS-point
6444         units (BigPoint). With inPixels we have rounding errors
6445
6446 2002-04-11  Juergen Vigna  <jug@sad.it>
6447
6448         * text2.C (setCursorFromCoordinates): set iy to the right value.
6449         (setCursor): add check if row->previous exists!
6450
6451         * buffer.C (parseSingleLyXformat2Token): reset font after read of
6452         an old float_type as this was the case in the old code!
6453
6454         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6455
6456         * BufferView2.C (showLockedInsetCursor): use iy
6457         (fitLockedInsetCursor): ditto
6458
6459         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6460         locked insets as there we have the right value now.
6461
6462         * lyxcursor.C: added iy_ variable and iy functions to set to the
6463         baseline of cursor-y of the locked inset.
6464
6465         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6466         (setCursor): fixed for insets which need a full row.
6467
6468         * text.C (rowLastPrintable): don't ignore the last space when before
6469         an inset which needs a full row.
6470         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6471         as last character of a row when before a inset which needs a full row.
6472
6473 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6474
6475         * version.C.in: update date
6476
6477         * text2.C (fullRebreak): try to always return true and see what
6478         happens...
6479
6480 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6481
6482         * MenuBackend.C (expand): use Floating::listName
6483
6484         * FloatList.C (FloatList): add listName argument to the built-in
6485         floats
6486
6487         * Floating.[Ch]: add listName member, which is the 'List of XXX'
6488         text associated with the float.
6489
6490 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6491
6492         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6493
6494 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6495
6496         * ShareContainer.h: add a couple of missing typenames.
6497
6498 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
6499
6500         * lyxrc.C (getDescription): use _() correctly rather than N_().
6501
6502 2002-03-28  Herbert Voss  <voss@lyx.org>
6503
6504         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6505         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6506
6507 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6508
6509         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6510         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6511
6512 2002-03-29  Juergen Vigna  <jug@sad.it>
6513
6514         * lyxfunc.C (dispatch): add a missing fitCursor call.
6515
6516         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6517         it was scrolled by a cursor move, so return the bool status.
6518
6519         * BufferView.C (fitCursor): return the bool flag also to the outside
6520         world as this is needed.
6521
6522         * screen.C (toggleToggle): don't subtract the offset if it's positive.
6523
6524         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6525         call the edit() as it is not needed (and wrong) IMO.
6526         (workAreaButtonPress): set the screen_first variable before evt.
6527         unlock the inset as this may change screen_first and then we have
6528         a wrong y position for the click!
6529
6530 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6531
6532         * MenuBackend.C (expand): another translation that I missed
6533
6534 2002-03-28  Juergen Vigna  <jug@sad.it>
6535
6536         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6537
6538         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6539
6540 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6541
6542         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6543
6544         * MenuBackend.C (expand): fix export/view/update when there is no
6545         document open.
6546
6547 2002-03-27  Herbert Voss  <voss@lyx.org>
6548
6549         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6550         and text%
6551
6552 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6553
6554         * bufferview_funcs.C (currentState): only show paragraph number
6555         for is DEVEL_VERSION is set.
6556
6557         * lyxfunc.C (dispatch): put warning in INFO channel
6558
6559         * MenuBackend.C (expand): translate the name of floats
6560
6561         * FloatList.C (FloatList): mark the float names for translation
6562
6563         * converter.C (convert): use LibScriptSearch
6564
6565 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6566
6567         * MenuBackend.C (defaults): fix default menu (we might as well get
6568         rid of it...)
6569
6570 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6571
6572         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6573         directory.
6574
6575 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6576
6577         * lyxvc.C: reorder includes.
6578
6579 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
6580
6581         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6582           properly
6583
6584 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
6585
6586         * CutAndPaste.C: change layouts earlier on paste
6587           to avoid crashing when calling getFont()
6588
6589 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
6590
6591         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6592         irritating #error.
6593
6594 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6595
6596         * WorkArea.C: remove 'Pending' debug message.
6597
6598         * most files: ws cleanup
6599
6600         * buffer.[Ch]: ws changes
6601
6602         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6603
6604 2002-03-21  Juergen Vigna  <jug@sad.it>
6605
6606         * tabular.C (SetMultiColumn): collapse also the contents of the
6607         cells and set the last border right. Added a Buffer const * param.
6608
6609 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6610
6611         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6612         linking or not.
6613
6614 2002-03-19  Juergen Vigna  <jug@sad.it>
6615
6616         * text2.C (clearSelection): reset also xsel_cache.
6617
6618         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6619         where it needs to be called (John tells us to do so too :)
6620         (selectionLost): reset sel_cache.
6621
6622         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6623
6624 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6625
6626         * text2.C (setCursorIntern): put debuging code in INSETS channel
6627
6628 2002-03-19  André Pönitz <poenitz@gmx.net>
6629
6630         * lyxfunc.C: tiny whitespace change
6631
6632 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6633
6634         * ToolbarDefaults.C (init):
6635         * LyXAction.C (init):
6636         * commandtags.h:
6637         * BufferView_pimpl.C (Dispatch):
6638         * lyxfunc.C (dispatch): remove LFUN_DEPTH
6639
6640 2002-03-19  Allan Rae  <rae@lyx.org>
6641
6642         * exporter.C (Export): removeAutoInsets before doing anything else.
6643         While I've just introduced a dependency on BufferView this really is
6644         the best place to clean the buffer otherwise you need to cleanup in
6645         a dozen places before calling export or cleanup in a dozen functions
6646         that export calls.
6647
6648         * converter.C (runLaTeX):
6649         (scanLog): Better handling of removeAutoInsets and screen updates.
6650
6651         * lyxfunc.C (dispatch): small whitespace changes
6652
6653 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6654
6655         * WorkArea.C (C_WorkAreaEvent): return a value.
6656         (event_cb): return 1 if we handled the event, 0 otherwise.
6657
6658         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6659
6660 2002-03-18  Juergen Vigna  <jug@sad.it>
6661
6662         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6663         (GetAdditionalWidth): ditto.
6664         (RightLine): ditto.
6665         (LeftLine): ditto.
6666
6667         * BufferView2.C (copy): use getLyXText() so that we do it inside an
6668         inset if we're there actually (probably not used right now but this
6669         is the direction to go for unifying code).
6670         (paste): disable code to clear the selection.
6671
6672         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6673         inside an InsetText and move the check further up as it is in the
6674         wrong place.
6675
6676         * text2.C (pasteSelection): set a selection over the pasted text.
6677
6678 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
6679
6680         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6681         and libgraphics to build on Cygwin.
6682
6683 2002-03-15  Juergen Vigna  <jug@sad.it>
6684
6685         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6686         inserting an Inset into the paragraph. I know this is not the best
6687         fix but we already use current_view in CutAndPaste so we will remove
6688         all of it's using at the same time.
6689
6690         * buffer.C (sgmlError): deactivated function till it is rewritten in
6691         the right mode, now it can create problems.
6692
6693         * paragraph.C (isLineSeparator): check if getInset returns != 0,
6694         before accessing it.
6695
6696 2002-03-14  Juergen Vigna  <jug@sad.it>
6697
6698         * undo_funcs.C (textHandleUndo): do the right thing when updating
6699         the inset after the undo/redo.
6700
6701         * text2.C (setCursor): just some testcode for #44 not ready yet.
6702
6703         * undo_funcs.C (textHandleUndo): set the next() and previous()
6704         pointers of the paragraph to 0 before deleting otherwise we have
6705         problems with the Paragraph::[destructor].
6706
6707         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6708         on a paragraph insertion.
6709
6710 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6711
6712         * buffer.C (asciiParagraph): use += operator for char append to
6713         string.
6714
6715         * paragraph.C (getFontSettings): compare >= not just >
6716         (highestFontInRange): ditto
6717         (setFont): ditto
6718
6719 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6720
6721         * paragraph.C: change several algorithm to be more appripriate for
6722         the problem domain. This is lookip in FontList and in the InsetList.
6723
6724 2002-03-13  André Pönitz <poenitz@gmx.net>
6725
6726         * commandtags.h:
6727         * LyXAction.C: remove unused LFUN_MATH_MACROARG
6728
6729 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
6730
6731         * commandtags.h:
6732         * LyXAction.C:
6733         * lyxfunc.C:
6734         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6735
6736 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6737
6738         * Painter.C (display): anon helper function, adjust code for this
6739         change.
6740         (pixmap): remove function.
6741
6742         * Painter.h: remove private display variable.
6743
6744         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6745
6746 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
6747
6748         * WorkArea.[Ch]: remove figinset_canvas cruft.
6749
6750 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6751
6752         * lyxtextclass.C (operator): add one item cache optimization.
6753
6754         * bufferlist.h: doxy changes
6755
6756         * bufferlist.C: ws changes
6757
6758         * DepTable.[Ch] (ext_exist): place const in the right spot.
6759
6760         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6761         call resizeInsets.
6762         (workAreaExpose): call resizeInsets when the with BufferView changes.
6763         (Dispatch): adjust for protectedBlank removal
6764         (specialChar): call updateInset if the insert went ok.
6765
6766         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6767         specialChar instead.
6768
6769         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6770
6771         * BufferView.h: doxy change
6772
6773         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6774
6775         * lyxtextclass.C (operator[]): remove non-const version
6776         (defaultLayout): remove non-const version
6777
6778 2002-03-12  Juergen Vigna  <jug@sad.it>
6779
6780         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6781         did resize the LyXText too.
6782
6783         * buffer.C (readLyXformat2): set layout information on newly allocated
6784         paragraphs.
6785
6786         * tabular.C (OldFormatRead): set layout information on the paragraph.
6787
6788 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6789
6790         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6791
6792 2002-03-11  Juergen Vigna  <jug@sad.it>
6793
6794         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6795         plainly wrong.
6796         (resizeCurrentBuffer): force also the insets to resize themselfes.
6797         (moveCursorUpdate): fixed up for InsetText.
6798
6799 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
6800
6801         * commandtags.h:
6802         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6803         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6804         value of Dialogs::tooltipsEnabled().
6805         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6806
6807 2002-03-08  Juergen Vigna  <jug@sad.it>
6808
6809         * BufferView_pimpl.C (updateInset): update inset inside inset also
6810         if it isn't inside theLockingInset().
6811
6812 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6813
6814         * buffer.C (asciiParagraph): redo some of the word and line length
6815         handling.
6816         (getLists): look for Caption instead of caption.
6817
6818 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6819
6820         * buffer.C (Buffer): initialize niceFile to true
6821         (makeLaTeXFile):
6822         (makeLinuxDocFile):
6823         (makeDocBookFile): make sure niceFile is true on exit
6824
6825 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6826
6827         * buffer.C (makeLaTeXFile): escape ~ in \input@path
6828
6829 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
6830
6831         * LyXSendto.C: remove.
6832         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6833         * lyx_gui.C: remove now-redundant comment.
6834         * ColorHandler.h: remove forward declaration of class WorkArea.
6835         * lyxfunc.C: remove #include "WorkArea.h".
6836
6837 2002-03-07  Juergen Vigna  <jug@sad.it>
6838
6839         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6840         got moved away with the DEPM and also set the inset_owner always
6841         right which before could have been omitted.
6842
6843 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6844
6845         * buffer.C (parseSingleLyXformat2Token): use default layout is the
6846         wanted layout is not found.
6847
6848 2002-03-07  Juergen Vigna  <jug@sad.it>
6849
6850         * CutAndPaste.C (cutSelection): another layout settings forgotten.
6851
6852 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6853
6854         * paragraph.C (breakParagraph): use default layout not layout of
6855         prev paragraph.
6856         (Paragraph): clear ParagraphParameters.
6857
6858 2002-03-06  Juergen Vigna  <jug@sad.it>
6859
6860         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6861         otherwise it would not be a valid lenght. Fixed a special case in
6862         the minipage compatibility read where we end the document with a
6863         minipage.
6864
6865         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6866         was set as it could be 0 for InsetTexts first entry.
6867
6868 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6869
6870         * paragraph.C (writeFile): if layout is empty write out
6871         defaultLayoutName().
6872
6873         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6874         file without named layout we set layout to defaultLayoutName().
6875
6876 2002-03-06  Juergen Vigna  <jug@sad.it>
6877
6878         * CutAndPaste.C (copySelection): set layout for new paragraph.
6879
6880         * text.C (prepareToPrint): leave ERT inset left aligned
6881         (leftMargin): don't indent paragraphs inside ERT insets
6882
6883 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6884
6885         * paragraph.C (breakParagraph): dont call clear do the work manually
6886
6887         * paragraph.[Ch] (clear): remove function
6888
6889 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6890
6891         * paragraph.C (Paragraph): dont call clear, the work has already
6892         been done.
6893
6894         * lyxtextclass.C (operator): assert if n is empty
6895
6896         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6897         work manually instead.
6898
6899 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
6900
6901         * BufferView_pimpl.C: protect selectionLost against text == 0
6902
6903 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6904
6905         * text.C (breakParagraph): fix a setting layout to '0' problem.
6906
6907 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6908
6909         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6910         final location of file, for the included files, and graphics.
6911
6912 2002-03-05  Juergen Vigna  <jug@sad.it>
6913
6914         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6915
6916 2002-03-04  Juergen Vigna  <jug@sad.it>
6917
6918         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6919
6920         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6921         last column of multicolumn cells.
6922         (SetWidthOfMulticolCell): recalculate NMC and real columns.
6923
6924 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6925
6926         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6927         file if it doesn't go to a temporary file.
6928
6929         * buffer.C (sgmlOpenTag):
6930         (sgmlCloseTag):  remove extra newline insertion.
6931
6932 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6933
6934         * text.C (getRowNearY): comment out debug msg
6935
6936 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6937
6938         * text2.C: first -> first_y
6939
6940         * text.C (getRowNearY): add some attemts at a possible
6941         optimization, not working.
6942
6943         * tabular.[Ch]: add BufferParams to several function so that newly
6944         created paragraph can be initialized to he default layotu for the
6945         buffers textclass.
6946
6947         * tabular-old.C (ReadOld): add buf->params to call of Init
6948
6949         * screen.C: rename text->first to text->first_y
6950
6951         * paragraph.C (breakParagraph): always set layout in the broken
6952         paragraph
6953
6954         * lyxtextclass.C (Read): remove lowercase
6955         (hasLayout): ditto
6956         (operator): ditto
6957         (delete_layout): ditto
6958
6959         * lyxtext.h: rename first -> first_y
6960
6961         * lyxlayout.C (Read): remove lowercase
6962         (name): ditto
6963         (setName): ditto
6964         (obsoleted_by): ditto
6965
6966         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6967
6968         * buffer.C (insertErtContents): add params are to InsetERT
6969         (parseSingleLyXformat2Token): add code to check if a paragraphs
6970         layout really exist.
6971         (parseSingleLyXformat2Token): add params to several inset
6972         constructors
6973         (asciiParagraph): remove lowercase, do the layout comparisons with
6974         no_case
6975
6976         * BufferView_pimpl.C (cursorNext): first -> first_y
6977         (resizeCurrentBuffer): first -> first_y
6978         (updateScrollbar): first -> first_y
6979         (scrollCB): first -> first_y
6980         (workAreaMotionNotify): first -> first_y
6981         (workAreaButtonPress): first -> first_y
6982         (checkInsetHit): first -> first_y
6983         (cursorPrevious): first -> first_y
6984         (cursorNext): first -> first_y
6985         (Dispatch): add buffer_->params to severl inset contructors
6986
6987 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6988
6989         * lyxlayout.C (Read): remove some debug info that I forgot.
6990
6991         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6992         clean up the code slightly.
6993         (makeLinuxDocFile): ditto
6994         (makeDocBookFile): ditto
6995
6996         * text2.C: layout as string
6997
6998         * text.C: layout as string
6999
7000         * paragraph_pimpl.C: layout as string
7001
7002         * paragraph.[Ch]: layout as string
7003
7004         * lyxtextclasslist.[Ch]: layout as string
7005
7006         * lyxtextclass.[Ch]: layout as string
7007
7008         * lyxtext.h: layout as string
7009
7010         * lyxlayout.[Ch]: layout as string
7011
7012         * lyx_cb.C: layout as string
7013
7014         * bufferview_funcs.C: layout as string
7015
7016         * bufferparams.C: layout as string
7017
7018         * buffer.C: layout as string
7019
7020         * LyXView.[Ch]: layout as string
7021
7022         * LaTeXFeatures.[Ch]: layout as string
7023
7024         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7025
7026         * BufferView_pimpl.C: change current_layout to string, remove
7027         lyx::layout_type.
7028         (Dispatch):
7029         (smartQuote):
7030         (insertInset):
7031         (workAreaButtonRelease): layout as string
7032
7033         * BufferView2.C (unlockInset): adjust
7034
7035         * vspace.C (asLatexCommand): use an explict temp variable.
7036
7037 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7038
7039         * Makefile.am: use FRONTEND_*
7040
7041 2002-03-01  Juergen Vigna  <jug@sad.it>
7042
7043         * tabular.C (SetWidthOfMulticolCell): changed to something better
7044         I hope but still work in progress.
7045         (recalculateMulticolumnsOfColumn): renamed function from
7046         recalculateMulticolCells as it is more appropriate now.
7047         (SetWidthOfCell): calculate multicols better.
7048
7049 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7050
7051         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7052
7053         * lyxfunc.C (processKeySym): print sequence also if it is
7054         `deleted' (complete)
7055
7056         * kbsequence.C (print): print sequence even if it is deleted
7057         (complete would be a better word, actually).
7058
7059         * lyxfunc.C (dispatch): print complete options after a prefix key
7060
7061         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7062
7063 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7064
7065         * text2.C (setCharFont): eliminate setCharFont code duplication.
7066
7067 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7068
7069         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7070         LFUN_TABULAR_FEATURE (bug #177)
7071
7072 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7073
7074         * Makefile.am: remove figure.h
7075
7076 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7077
7078         * Bufferview_pimpl.C:
7079         * CutAndPasteC:
7080         * LaTeX.C:
7081         * LyXSendto.C:
7082         * buffer.C:
7083         * bufferlist.C:
7084         * converter.C:
7085         * language.C:
7086         * lyxfunc.C:
7087         * lyxvc.C:
7088         * paragraph.C:
7089         * text.C:
7090         * text2.C: remove #include "lyx_gui_misc.h".
7091
7092         * LaTeX.C: added #include <cstdio>
7093
7094 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7095
7096         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7097         that the paragraph following this one can have.
7098
7099         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7100
7101         * vspace.C (asLatexCommand): fix bogus gcc warning
7102
7103         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7104
7105 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7106
7107         * text2.C (setLayout): get rid of redundant code
7108
7109 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7110
7111         * text2.C (incDepth): make sure depth cannot be increased beyond
7112         reasonable values.
7113
7114 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7115
7116         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7117         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7118
7119         * PainterBase.h (image):
7120         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7121         a LyXImage const *.
7122
7123 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7124
7125         * BufferView.C:
7126         * BufferView.h:
7127         * BufferView_pimpl.C:
7128         * BufferView_pimpl.h:
7129         * LaTeXFeatures.C:
7130         * LyXAction.C:
7131         * LyXView.C:
7132         * Makefile.am:
7133         * UpdateList.h:
7134         * UpdateList.C:
7135         * buffer.C:
7136         * figure.h:
7137         * figureForm.C:
7138         * figureForm.h:
7139         * figure_form.C:
7140         * figure_form.h:
7141         * lyx_cb.C:
7142         * lyx_gui.C:
7143         * lyx_gui_misc.C:
7144         * lyxfunc.C:
7145         * sp_base.h:
7146         * sp_ispell.h:
7147         * sp_pspell.h:
7148         * sp_spell.C: remove fig inset, and the crap house of
7149           cards that follows it
7150
7151 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7152
7153         * Makefile.am:
7154         * lyxserver.C:
7155         * os2_defines.h:
7156         * os2_errortable.h:
7157         * nt_defines.h: move .h into support/
7158
7159         * vms_defines.h: remove
7160
7161         * WorkArea.C: add space in debug output
7162
7163         * text2.C:
7164         * paragraph.C:
7165         * buffer.C: add WITH_WARNINGS
7166
7167         * vc-backend.h:
7168         * vc-backend.C:
7169         * bufferlist.C: s/retrive/retrieve/, add docs
7170
7171         * vspace.h:
7172         * vspace.C:
7173         * kbmap.h:
7174         * lyxlength.h:
7175         * lyxgluelength.h:
7176         * length_common.h:
7177         * chset.h:
7178         * chset.C: add docs
7179
7180         * lyxgui.C: add ID to X error handler
7181
7182         * lyxtestclass.c: fix typo
7183
7184 2002-02-26  Juergen Vigna  <jug@sad.it>
7185
7186         * tabular_funcs.C (write_attribute): changed so that some default
7187         attributes are not written at all.
7188         (getTokenValue): set default values before trying to read the
7189         value so we have the return value always set as default if we don't
7190         find the token we search for.
7191
7192         * tabular.C (Write): write bools as bools not as strings!
7193
7194 2002-02-22  Juergen Vigna  <jug@sad.it>
7195
7196         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7197         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7198
7199         * text.C (leftMargin): don't add an indent for paragraphs inside
7200         tabular cells (fix #208).
7201
7202 2002-02-21  José Matos  <jamatos@fep.up.pt>
7203
7204         * tabular.C (docBook): fixed support for long tables.
7205
7206 2002-02-20  Juergen Vigna  <jug@sad.it>
7207
7208         * text2.C (getFont): get the drawing font of the Inset if this
7209         paragraph is inside an inset (only important for InsetERT for now).
7210
7211         * buffer.C (insertErtContents): use new lanugage params in ERT
7212         constructor.
7213
7214         * CutAndPaste.C: commenting out seemingly uneeded code.
7215
7216 2002-02-19  Allan Rae  <rae@lyx.org>
7217
7218         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7219         Iterators might be simple to use but they also get invalidated.
7220         (removeAutoInsets): renamed saved cursor tracking variables and added
7221         some comments to clarify what everything does.
7222
7223 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
7224
7225         * Chktex.C:
7226         * LaTeX.C:
7227         * LyXSendto.C:
7228         * converter.C:
7229         * lyx_cb.C:
7230         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7231         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7232
7233         * lyxfunc.C:
7234         * vc-backend.h: remove #include "support/syscall.h"
7235
7236         * LaTeX.C:
7237         * LyXSendto.C:
7238         * converter.C: rearrange #includes in Lars' approved fashion.
7239
7240         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7241         forward declare class Timeout in the header file.
7242
7243         * XFormsView.C: changes due to the above.
7244
7245         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7246         similar to LyXView.
7247
7248         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7249         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7250
7251 2002-02-18  José Matos  <jamatos@fep.up.pt>
7252
7253         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7254         insets contents.
7255
7256 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
7257
7258         * a lot of small ws changes
7259         * add a lot of using std::XXX
7260         * use std construcs some places where approp.
7261         * use some exisint stuff from lyxfunctional where approp.
7262         * Make file changes to use partial linking (lets test this now...)
7263
7264 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7265
7266         * Chktex.C:
7267         * buffer.C:
7268         remove #include "support/syscontr.h" as it's redundant. Always has been.
7269
7270         * Chktex.C:
7271         * LaTeX.C:
7272         * LyXSendto.C:
7273         * converter.C:
7274         * lyx_cb.C:
7275         * vc-backend.C:
7276         change Systemcalls::System to Systemcalls::Wait and
7277         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7278         No change of functionality, just reflects the stripped down Systemcalls
7279         class.
7280
7281 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7282
7283         * debug.[Ch]: add a GRAPHICS type to the enum.
7284
7285 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7286
7287         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7288
7289         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7290         there is an inset.
7291
7292 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7293
7294         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7295         match the changes below.
7296
7297         * text2.C (toggleInset): if there is not editable inset at cursor
7298         position, try to see if cursor is _inside_ a collapsable inset
7299         and close it.
7300
7301 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7302
7303         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7304         document menu has a nice checkbox
7305
7306 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7307
7308         * lyxlength.C (asLatexString): change PW to output as percent of
7309         \textwidth.
7310
7311         * lengthcommon.C: change '%' to 't%'
7312
7313         * lyxfunc.C (dispatch): a few comments from Martin
7314
7315 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
7316
7317         * WorkArea.h:
7318         * WorkArea.C:
7319         * BufferView_pimpl.h:
7320         * BufferView_pimpl.C: clear our selection when X tells us we've lost
7321           the X selection.
7322
7323 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7324
7325         * vspace.C (inPixels): fix compiler warning
7326
7327 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7328
7329         * lyxfunc.C (getStatus): fix status message for disabled commands.
7330
7331 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
7332
7333         * BufferView_pimpl.C: fix crash on close buffer
7334         during selection (#227)
7335
7336 2002-01-27  Herbert Voss  <voss@lyx.org>
7337
7338         * buffer.C: link old Figure to new graphic inset
7339
7340 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
7341
7342         * FontLoader.C (getFontinfo): Change the latex font names in order
7343         to match the names of type1inst.
7344
7345 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7346
7347         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7348
7349         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7350         (extchanged): ditto
7351         (ext_exist): ditto
7352         (remove_files_with_extension): ditto
7353         (remove_file): ditto
7354         (write): ditto
7355
7356         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7357         document is smaller than the work area height. Do not initialize
7358         static variables to 0.
7359
7360 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7361
7362         * lyx_gui.C (init): give the toolbar tooltips a normal font.
7363
7364         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7365         LFUN_LAYOUT_PARAGRAPHS.
7366
7367         * tabular.C (GetCellFromInset): new method. Finds an inset in a
7368         tabular. It is possible to provide a possible cell, which will
7369         typically be the actcell from the corresponding insettabular
7370
7371         * lyxfunc.C (getStatus): small cleanup; disable
7372         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7373         true
7374
7375 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7376
7377         * tabular.C (Validate): remove broken optimization (fixes bug #201)
7378
7379         * paragraph.C (startTeXParParams):
7380         (endTeXParParams): new methods. The LaTeX code to
7381         start/end paragraph formatting
7382         (simpleTeXOnePar): call startTeXParParams also when paragraph is
7383         empty (fixes bug #200)
7384
7385         * vspace.C (inPixels): adapt to the change below
7386         (inPixels): [later] more cleanups (remove unused variables)
7387
7388         * lyxlength.C (inPixels): change to use a width and a height as
7389         parameter.
7390
7391 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7392
7393         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7394         Replaced with \paperwidth
7395
7396         * DepTable.C (insert): add std:: qualifier
7397
7398 2002-01-18  Allan Rae  <rae@lyx.org>
7399
7400         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
7401         updated also?
7402
7403         * text.C (drawInset): Turned out I didn't know enough about how
7404         rebreaking worked.  This fixes most of the redraw problems.  I see
7405         an occasional cursor trail when a line is broken now and the cursor
7406         placement can seem out by a few pixels also after a rebreak.
7407
7408 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7409
7410         * buffer.C (parseSingleLyXformat2Token): update because minipage
7411         width is now a LyXLength
7412
7413         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7414
7415         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7416         math insets
7417
7418 2002-01-17  Juergen Vigna  <jug@sad.it>
7419
7420         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7421
7422         * BufferView2.C (lockInset): call edit() so that theLockingInset()
7423         is set correctly and the inset is updated correctly.
7424
7425 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7426
7427         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7428         the beginning of the loop.
7429
7430 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
7431
7432         * lyxrc.C: improve help for use_scalable_fonts
7433
7434 2002-01-17  Allan Rae  <rae@lyx.org>
7435
7436         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7437
7438 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7439
7440         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7441         make sure to set their inset_owner to the right value (bug #171)
7442
7443 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
7444
7445         * DepTable.h
7446         * DepTable.C: Implement mtime checking to reduce time spent doing
7447         CRCs.
7448
7449 2002-01-16  Juergen Vigna  <jug@sad.it>
7450
7451         * tabular.C (GetAdditionalHeight): one of error fixed.
7452
7453         * lyxrc.C (output): small fix in writing use_pspell.
7454
7455 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
7456
7457         * sp_base.h: #include LString.h
7458
7459 2002-01-16  Allan Rae  <rae@lyx.org>
7460
7461         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
7462         Can someone check this please?
7463
7464         * text.C (drawInset): It was possible that p.row would be removed by
7465         breakAgainOneRow upsetting a few other settings.  There may be another
7466         small tweak possible by setting need_break_row = 0 when p.row has been
7467         removed but I don't know enough about the logic here.
7468
7469 2002-01-15  Allan Rae  <rae@lyx.org>
7470
7471         * text.C (insertChar): removed conditional truism.
7472
7473         * BufferView2.C (removeAutoInsets): More tweaks.
7474         cur_par_prev could be a stray pointer.  Check for trailing empty line
7475         in case last line was cur_par and only had an error inset on it.
7476
7477 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7478
7479         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7480         absolute
7481
7482         * vc-backend.C (most methods):
7483         * exporter.C (Export):
7484         * converter.C (convert):
7485         (runLaTeX):
7486         * LyXSendto.C (SendtoApplyCB):
7487         * lyxfunc.C (dispatch):
7488         (menuNew):
7489         (open):
7490         (doImport):
7491         * lyx_cb.C (AutoSave):
7492         (InsertAsciiFile):
7493         * BufferView_pimpl.C (MenuInsertLyXFile):
7494         * buffer.C (runChktex): use Buffer::filePath().
7495
7496         * buffer.h: rename filename to filename_; rename filepath to
7497         filepath_ and make it private
7498         (filePath): new method
7499
7500         * buffer.C (writeFile): use fileName()
7501         (getLatexName):
7502
7503         * lyx_main.C (init): fix starting  of LyX when the binary is a
7504         link from so,ewhere else.
7505
7506         * minibuffer.C: include <cctype> for isprint
7507
7508 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7509
7510         * buffer.C (parseSingleLyXformat2Token): changes associated with the
7511         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7512         name clash with InsetCollapsable's width function.
7513
7514 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7515
7516         * lastfiles.C: include <iterator>
7517
7518 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7519
7520         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7521         std::count.
7522
7523         * buffer.C (makeLaTeXFile): ditto.
7524         Also make loop operation more transparent.
7525
7526 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7527
7528         * ToolbarDefaults.C: remove trailing comma closing namespace.
7529
7530         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7531
7532         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7533         as in WorkArea.
7534
7535         * trans.C (Load): comment out unused variable, allowed.
7536
7537 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7538
7539         * minibuffer.[Ch] (append_char): new method to recieve input from the
7540         drop-down completion browser. If a key was pressed, then recieve this
7541         char and append it to the existing string.
7542         (peek_event): modify the positioning data passed to the completion
7543         browser so that it can be placed above the minibuffer rather than below.
7544 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7545
7546         * LyXAction.C (init): alloe error-next for readonly documents.
7547
7548         * BufferView2.C (ChangeRefsIfUnique): use standard version of
7549         count.
7550
7551 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7552
7553         * bufferlist.C (readFile): create the buffer _after_ checking that
7554         the file exists.
7555
7556         * lyxfunc.C (verboseDispatch): fix handling of arguments
7557
7558         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7559
7560         * lyxrc.C: use string::erase() instead of initializing to "".
7561
7562
7563 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
7564
7565         * BufferView_pimpl.h:
7566         * BufferView_pimpl.C:
7567         * WorkArea.h:
7568         * WorkArea.C:
7569         * text2.C: tell X when we have made a selection for copying
7570
7571 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7572
7573         * BufferView_pimpl.C (MenuInsertLyXFile):
7574         * lyxfunc.C (menuNew):
7575         (open):
7576         (doImport): add shortcuts to directory buttons
7577
7578         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7579         open a float)
7580
7581         * lyxfunc.C (setStatusMessage):
7582         (getStatusMessage): new methods
7583         (getStatus):use setStatusMessage instead of setErrorMessage
7584         (dispatch): when function is disabled, set error message here
7585         [instead of in getStatus previously]
7586
7587         * BufferView_pimpl.C (workAreaButtonRelease): update
7588         toolbar/menubar here too.
7589
7590 2002-01-13  Allan Rae  <rae@lyx.org>
7591
7592         * BufferView2.C (removeAutoInsets): finished off earlier fix.
7593         Now seems indestructible.  Remaining task is to audit all other
7594         code affected by deleteEmptyParagraphMechanism.  One small quirk
7595         left is that an empty document with an error in the preamble can
7596         be made to report an error but no error box appears.  I don't know
7597         where it goes.
7598         (removeAutoInsets): Improved comments.
7599
7600 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
7601
7602         * Thesaurus.h:
7603         * Thesaurus.C: update for Aiksaurus 0.14
7604
7605 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7606
7607         * text2.C (firstParagraph): removed member function, all uses
7608         replaces with ownerParagraph
7609         (redoParagraphs): here
7610         (updateInset): here
7611         (toggleAppendix): here
7612         * BufferView2.C (insertErrors): here
7613         (setCursorFromRow): here
7614
7615 2002-01-13  Allan Rae  <rae@lyx.org>
7616
7617         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7618         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7619         There is still a way to segfault this although you may have to do this
7620         multiple times: Have an InsetERT with an unknown command in it.
7621         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7622         <down-arrow>, <Enter> again, View->DVI, BANG!
7623
7624         * text2.C (setCursor):
7625         (deleteEmptyParagraphMechanism):
7626         * lyxtext.h (setCursor):
7627         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7628         Making use of the return value may help fix other bugs.
7629
7630 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7631
7632         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7633
7634         * LyXView.C (updateMenubar): call MenuBar::update here
7635         (updateToolbar): but not here
7636         (showState): do not update toolbar/menubar
7637
7638         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7639         should need to care about that.
7640
7641         * lyxfunc.C (verboseDispatch): simplify a bit
7642         (getStatus): have a version which takes a pseudoaction, and
7643         another which requires a (kb_action,string).
7644
7645         * LyXAction.C (retrieveActionArg): make it work also when action
7646         is not a pseudo-action.
7647         (getActionName): simplify a bit
7648         (helpText):
7649
7650 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7651
7652         * lyxfunc.C (verboseDispatch): new families of methods with
7653         several ways to specify a command and a bool to indicate whether
7654         the command name and shortcut should be displayed in minibuffer
7655         (eventually, we could extend that to a finer bitmask like
7656         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7657         (dispatch): the pristine dispatch command which just, well,
7658         dispatchs! Note it still sets its result to minibuffer; I'm not
7659         sure we want that.
7660
7661         * lyxfunc.h: remove setHintMessage
7662
7663         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7664
7665 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7666
7667         * BufferView_pimpl.C (specialChar): delete new inset if we have
7668         not been able to insert it.
7669
7670         * kbmap.C: revert to using int instead of kb_action, since all we
7671         are dealing with is pseudo-actions.
7672
7673         * LyXAction.C (searchActionArg): change to return int instead of
7674         kb_action, since the result is a pseudoaction.
7675
7676 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
7677
7678         * buffer.C (insertErtContents): Fix (partially) the font bug.
7679
7680 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7681
7682         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7683         as the other one is broken on my machine!
7684
7685 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
7686
7687         * commandtags.h:
7688         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7689
7690 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
7691
7692         * lyxrc.[Ch]: change names and descriptions of popup font variables to
7693         reflect their actual use. Provide compatibility code for older lyxrc
7694         files.
7695
7696         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7697         FL_NORMAL_STYLE.
7698         change names of popup font variables in line with the changes to lyxrc.C
7699
7700 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7701
7702         * buffer.C (asciiParagraph): avoid outputing a word twice after
7703         an inset.
7704
7705         * lyxrc.C (getDescription): document that document_path and
7706         template_path can be empty.
7707
7708 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7709
7710         * LaTeXFeatures.C (getMacros):
7711         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7712
7713         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7714
7715         * LaTeXFeatures.C (useFloat): require "float" here instead of in
7716         getPackages.
7717         (getPackages): rename feature "floats" to "float". Use an array to
7718         iterate over 'simple' features (i.e. just a \usepackage). Add
7719         handling of "amsmath" (renamed from "amsstyle").
7720
7721 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
7722
7723         * LaTeXFeatures.C (require): Prevent duplicate entries in the
7724         features list.
7725
7726 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
7727
7728         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7729         FuncStaus::FuncStatus & FuncStaus::some_method().
7730
7731 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
7732
7733         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7734         of the func_satus stuff. Edited and massaged in various ways by
7735         JMarc.
7736
7737         * lyxfunc.C (getStatus): use FuncStatus
7738
7739 2002-01-08  Juergen Vigna  <jug@sad.it>
7740
7741         * text.C (nextBreakPoint): use function Inset::isChar().
7742
7743         * paragraph.C (TeXOnePar): use function
7744         Inset::forceDefaultParagraphs.
7745
7746         * buffer.C (latexParagraphs): use function
7747         Inset::forceDefaultParagraphs.
7748
7749 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7750
7751         * lyx_gui.C (init): set the style of the menu popups to
7752         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7753
7754 2002-01-07  Juergen Vigna  <jug@sad.it>
7755
7756         * text.C (setHeightOfRow): small fix
7757         (prepareToPrint): don't look at alignment if we don't have the place
7758         for doing it.
7759
7760 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7761
7762         * box.C: New file. Move the Box methods and functions out of box.h,
7763         following Lars' suggestion.
7764
7765 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7766
7767         * box.h: #include "support/LOstream.h", needed for inlined function.
7768
7769         * lyxtextclass.C:
7770         * lyxtextclasslist.C: added some using std declarations.
7771
7772 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
7773
7774         * box.h: make signed dimensions to allow insets wider than
7775           the screen (bug #162)
7776
7777         * BufferView_pimpl.C: add some insetHit debug
7778
7779 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
7780
7781         * vc-backend.C: add FIXME
7782
7783 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7784
7785         * lyxfunc.C (getStatus): enable code for showing math font status
7786         in toolbar/menu.
7787
7788 2002-01-07  Juergen Vigna  <jug@sad.it>
7789
7790         * text.C (nextBreakPoint): removed debug output not needed anymore.
7791
7792 2002-01-06  Juergen Vigna  <jug@sad.it>
7793
7794         * text.C (nextBreakPoint): fixed up this function we had this bug
7795         since ever but now hopefully we break row better.
7796         (insertChar): we have to check if an inset is the next char as it
7797         could now happen that a large inset is causing a break.
7798
7799 2002-01-05  Juergen Vigna  <jug@sad.it>
7800
7801         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7802         if it doesn't like to be drawed.
7803
7804 2002-01-04  Juergen Vigna  <jug@sad.it>
7805
7806         * BufferView2.C (lockInset): forgot to set a cursor.
7807
7808         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7809
7810 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
7811
7812         * FormMathsPanel.C:
7813         * FormMathsPanel.h
7814         * MathsSymbols.C:
7815         * form_maths_panel.C:
7816         * form_maths_panel.h:
7817         * form_maths_panel.fd: implemented sub- and super- buttons in math
7818         panel.
7819
7820         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7821         (or ^ space) to be used as in TeX (req'd by André).
7822
7823         * lyxfunc.C: Allow ^ and _ again to be used both as
7824         super/subscript (mathed) and as themselves (in text).
7825
7826 2002-01-03  Allan Rae  <rae@lyx.org>
7827
7828         * LyXView.C (updateWindowTitle): Setup a short icon title of either
7829         "LyX" or the filename of the current buffer if it has one.  This is a
7830         modified form of John Levon's patch.
7831
7832         * XFormsView.C (setWindowTitle): also set icon title.
7833
7834         * LyXView.h (setWindowTitle): signature changed.
7835         * XFormsView.h (setWindowTitle): ditto.
7836
7837 2002-01-02  Juergen Vigna  <jug@sad.it>
7838
7839         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7840
7841 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7842
7843         * screen.C (topCursorVisible): introduce a temp var for
7844         text->cursor.row(), handle the case where this row is null. (kindo
7845         hachish)
7846
7847         * text2.C (setCursor): add a couple of asserts.
7848
7849         * paragraph.h (inset_iterator): add -> operator
7850
7851         * paragraph.[Ch] (autoDeleteInsets): remove member function
7852
7853         * BufferView2.C (removeAutoInsets): rewrite to handle the old
7854         cursor pos correctly and handle inset deletion by itself.
7855         (insertErrors): move iterator declaration out of for expression
7856
7857         * lyxtextclass.C: add <algorithm>
7858
7859         * Makefile.am: added the new files to sources, removed layout.C
7860
7861         * layout.C: removed file
7862
7863         * layout.h: remove LYX_DUMMY_LAYOUT
7864
7865         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7866         layout.
7867
7868         * lyxlayout.[Ch]:
7869         * lyxtextclass.[Ch]:
7870         * lyxtextclasslist.[Ch]: new files
7871
7872         * include order changes to a lot of files, also changes because of
7873         the six new files.
7874
7875 2001-12-27  Juergen Vigna  <jug@sad.it>
7876
7877         * buffer.C (asciiParagraph): more fixes.
7878
7879         * tabular.C (ascii): make ascii export support export of only the
7880         data separated by a column-delimiter.
7881         (ascii): better support for ascii export.
7882
7883         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7884
7885 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7886
7887         * tabular_funcs.C: use a "using std::getline" instead of the
7888         previous fix from Angus (necessary for cxx + lyxstring)
7889
7890 2001-12-24  Juergen Vigna  <jug@sad.it>
7891
7892         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7893
7894         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7895         problems. First check a minipage also if we have some ert-contents
7896         (not only on par->size(), second set the right depth of the paragraph
7897         on the relink to the root-paragraph-list!
7898
7899         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7900         which then did not anymore update the main paragraphs on undo/redo!
7901
7902 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7903
7904         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7905         code. Support all font-changing funcs (even those which are not in
7906         menu currently). Support for reporting font settings in
7907         mathed (disabled until Andre provides a function on mathed's side).
7908
7909         * func_status.h (toggle): small helper function to set toggle
7910         state on a flag.
7911
7912 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
7913
7914         * tabular_funcs.C: getline -> std::getline
7915
7916 2001-12-21  Juergen Vigna  <jug@sad.it>
7917
7918         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7919         accessed and could be 0 (I couldn't generate this but it seems
7920         Michael could!).
7921
7922 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7923
7924         * tabular_funcs.C: add LIstream.h, move write_attribute to..
7925         * tabular_funcs.h: here and include iosfwd
7926
7927 2001-12-20  Juergen Vigna  <jug@sad.it>
7928
7929         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7930         inside inset but undo_par was.
7931
7932 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7933
7934         * Thesaurus.C: always include <config.h> in sources.
7935
7936         * Painter.h:
7937         * lyxlookup.h:
7938         * box.h: do not include <config.h> in header files
7939
7940         * text.C (paintLastRow): remove unused variable
7941
7942         * text.C (transformChar):
7943         (insertChar):
7944         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7945
7946         * Painter.C (text):
7947         * font.C (width): rewrite to use uppercase() instead of
7948         islower/toupper.
7949
7950         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7951
7952 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
7953
7954         * lyxfind.C: clean up of find failure position change
7955
7956 2001-12-20  Juergen Vigna  <jug@sad.it>
7957
7958         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7959
7960         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7961         (TeXRow): added to LaTeX a single tabular row.
7962         (TeXLongtableHeaderFooter): added to output LT-h/f data.
7963         (Latex): simplified and finally good LT-h/f support.
7964         (various_functions): just small adaptions for LT-h/f support.
7965
7966         * tabular_funcs.[hC]: added and moved here all not classfunctions
7967         of LyXTabular.
7968
7969 2001-12-19  Juergen Vigna  <jug@sad.it>
7970
7971         * tabular.[Ch]: better support for longtabular options (not finished
7972         yet!)
7973
7974 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7975
7976         * text.C (paintLastRow): use the label font instead of the font of
7977         the last character to compute the size of *_BOX. This makes more
7978         sense and avoids a crash with empty paragraphs.
7979         Use Painter::rectangle to draw EMPTY_BOX.
7980
7981 2001-12-19  Juergen Vigna  <jug@sad.it>
7982
7983         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7984         the paragraphs if the replaced paragraph is not the first one!
7985         Tried to delete not used paragraphs but does not work yet so for
7986         now it's inside #ifdef's and by default off!
7987
7988 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7989
7990         * MenuBackend.C: include "lyx_main.h" instead of declaring
7991         lastfiles (actually was declared as LastFiles* instead of a
7992         scoped_ptr).
7993
7994 2001-12-17  Juergen Vigna  <jug@sad.it>
7995
7996         * tabular.C (AppendColumn): applied John's fix
7997
7998 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
7999
8000         * BufferView.h:
8001         * BufferView.C:
8002         * BufferView_pimpl.h:
8003         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8004
8005         * Makefile.am:
8006         * box.h: new start of class for above
8007
8008         * lyxfunc.C: ignore space-only minibuffer dispatches.
8009           Show the command name when it doesn't exist
8010
8011         * minibuffer.C: don't add empty lines to the history
8012
8013         * minibuffer.C: add a space on dropdown completion
8014
8015 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8016
8017         * text.C: fix line above/below drawing in insets
8018
8019 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8020
8021         * lyxlength.C (LyXLength): Initialize private variables.
8022
8023 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8024
8025         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8026         when inserting error insets.
8027
8028 2001-12-13  Juergen Vigna  <jug@sad.it>
8029
8030         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8031         actually sometimes the before-paragraph.
8032         (setUndo): don't clear the redostack if we're not actually undoing!
8033
8034 2001-12-06  Juergen Vigna  <jug@sad.it>
8035
8036         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8037         and fixed redoing of main paragraph, so we can use it now ;)
8038
8039         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8040
8041 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8042
8043         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8044         Juergen's request
8045
8046 2001-12-13  André Pönitz <poenitz@gmx.net>
8047
8048         * undostack.[Ch]:
8049         * undo_func.C: minor cleanup
8050
8051 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8052
8053         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8054         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8055         font in urw-fonts package which is marked as -urw-fontspecific and
8056         does not work (incidentally, changing the encoding in the
8057         fonts.dir of this package to -adobe-fontspecific fixes the
8058         problem).
8059
8060         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8061         is a crash when undoing first paragraph (Juergen, please take a
8062         look). THis does not mean the undo fix is wrong, just that it
8063         uncovers problems.
8064
8065         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8066         the (Paragraph*) version when needed instead of duplicating the
8067         code.
8068
8069         * text.C (workWidth): use Inset::parOwner to find out where the
8070         inset has been inserted. This is a huge performance gain for large
8071         documents with lots of insets. If Inset::parOwner is not set, fall
8072         back on the brute force method
8073
8074         * paragraph_pimpl.C (insertInset):
8075         * paragraph.C (Paragraph):
8076         (cutIntoMinibuffer): set parOwner of insets when
8077         inserting/removing them
8078
8079         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8080
8081 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8082
8083         * commandtags.h:
8084         * LyXAction.C:
8085         * lyx_main.C:
8086         * lyxfunc.C:
8087         * mathed/formulabase.C:
8088         * mathed/math_cursor.[Ch]:
8089         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8090
8091
8092 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8093
8094         * lyxlength.[Ch] (operator!=): new function
8095
8096 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8097
8098         * text.C (workWidth): use Inset::parOwner to find out where the
8099         inset has been inserted. This is a huge performance gain for large
8100         documents with lots of insets. If Inset::parOwner is not set, fall
8101         back on the brute force method
8102
8103         * paragraph_pimpl.C (insertInset):
8104         * paragraph.C (Paragraph):
8105         (cutIntoMinibuffer): set parOwner of insets when
8106         inserting/removing them
8107
8108         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8109
8110 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8111
8112         * tabular-old.C (getTokenValue):
8113         * tabular.C (getTokenValue):
8114         (write_attribute): new versions for LyXLength
8115         (everywhere): adjust the use of widths
8116
8117         * tabular.h: change the type of widths from string to LyXLength
8118
8119 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8120
8121         * paragraph.C: fixed missing line number count when exporting
8122         Environments to LaTeX file
8123
8124         * buffer.C: added informational message for checking line numbers.
8125
8126 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8127
8128         * text2.C (deleteEmptyParagraphMechanism): if there is only one
8129         paragraph, do the 'double space' part, but not the 'empty
8130         paragraph' one.
8131
8132         * text.C (workWidth): small optimization
8133         (getLengthMarkerHeight): use minimal size for negative lengths.
8134
8135 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
8136
8137         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8138
8139         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8140
8141 2001-12-11  André Pönitz <poenitz@gmx.net>
8142
8143         * FontLoader.C:
8144         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8145
8146 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8147
8148         * text2.C: keep selection on a setFont()
8149
8150 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8151
8152         * lyx_cb.C: another bv->text misuse, from insert label
8153
8154 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8155
8156         * kbsequence.h:
8157         * kbsequence.C: re-instate nmodifier mask
8158
8159 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
8160
8161         * lyx_main.h: make lyxGUI private.
8162
8163 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8164
8165         * lyxfind.C: place the cursor correctly on failed search
8166
8167 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8168
8169         * text.C (getLengthMarkerHeight): for small heights, the arrows
8170         are not always on top/bottom of the text
8171         (drawLengthMarker): smaller arrows; take the left margin in
8172         account; draw also vfills.
8173         (paintFirstRow):
8174         (paintLastRow): remove special code for vfill and standard spaces,
8175         since everything is handled in drawLengthMarker now.
8176
8177 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8178
8179         * buffer.C (insertErtContents): try to handle font and language
8180         interaction a bit better.g
8181
8182         * ColorHandler.C (updateColor): change the hash to cover the whole
8183         LColor enum, ws cleanup
8184         (getGCLinepars): ditto
8185         (getGCLinepars): only lookup in the linecache once.
8186
8187 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
8188
8189         * iterators.C (operator++): Make the iterator more robust
8190
8191         * BufferView2.C (removeAutoInsets): Use paragraph iterators
8192         (John's patch)
8193         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8194
8195 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8196
8197         * lyxtext.h:
8198         * text.C: better added space drawing
8199
8200 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8201
8202         * LyXView.C:
8203         * BufferView2.C: fix layout combo update on inset unlock
8204
8205 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8206
8207         * Makefile.am: don't compile unused files
8208
8209 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8210
8211         * lyxfunc.C:
8212         * commandtags.h:
8213         * LyXAction.C: remove old LFUN_LAYOUTNO
8214
8215 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8216
8217         * paragraph_pimpl.h:
8218         * paragraph_pimpl.C: isTextAt() doesn't need font param
8219
8220 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8221
8222         * lyxlex.h:
8223         * lyxlex.C: little cleanup
8224
8225 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8226
8227         * BufferView_pimpl.C: fix insertAscii for insets
8228
8229 2001-12-05  Juergen Vigna  <jug@sad.it>
8230
8231         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8232         set the right font on the "multi" paragraph paste!
8233
8234 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8235
8236         * trans_decl.h:
8237         * trans_mgr.[Ch]:
8238         * trans.[Ch]:
8239         * lyxgluelength.C:
8240         * lyxlength.C: remove out-commented code.
8241
8242         * BufferView_pimpl:
8243         * CutAndPaste.C:
8244         * DepTable.C:
8245         * buffer.C:
8246         * chset.C:
8247         * lastfiles.C:
8248         * lyxlex.C:
8249         * lyxlex_pimpl.C:
8250         * lyxserver.C:
8251         * screen.C:
8252         * tabular-old.C:
8253         * tabular.C:
8254         * text.C:
8255         * trans_mgr.C:
8256         * vc-backend.C: change "while(" to "while ("
8257
8258         * lyxlength.[Ch]: add zero function to check if length is zero or
8259         not
8260         * lyxgluelength.C: use it
8261
8262 2001-12-05  Allan Rae  <rae@lyx.org>
8263
8264         * lyxlength.C: Attempted a fix for the abs(int) header selection.
8265         Works for 2.95.3, from what I understand of Garst's reports this should
8266         work for other g++ versions.  We're screwed if the abs(int) definition
8267         changed between bugfix releases of gcc.
8268
8269 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8270
8271         * text.C: fix chapter label offset !
8272
8273 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8274
8275         * lyxtext.h:
8276         * text.C: fix hfill at end of line, clean up
8277
8278 2001-12-04  Juergen Vigna  <jug@sad.it>
8279
8280         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8281         that we force an update of the inset and it's owners if neccessary.
8282
8283 2001-12-03  Juergen Vigna  <jug@sad.it>
8284
8285         * text.C (rowLast): simplified code
8286
8287 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8288
8289         * lyxfunc.C: fix show options on timeout
8290
8291 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8292
8293         * screen.C (topCursorVisible): scroll half a page when the cursor
8294         reached top of bottom of screen
8295
8296 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
8297
8298         * minibuffer.C: deactivate on loss of focus
8299
8300 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8301
8302         * vspace.[Ch] (operator!=): add operator.
8303
8304 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
8305
8306         * BufferView_pimpl.C: refuse to open an inset when
8307         there's a selection.
8308
8309 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
8310
8311         * BufferView_pimpl.C: allow to click on RHS of full row insets
8312
8313 2001-11-30  Juergen Vigna  <jug@sad.it>
8314
8315         * tabular.C (LyXTabular): add a same_id to set the same id's in the
8316         insets for undo reasons.
8317
8318 2001-11-28  André Pönitz <poenitz@gmx.net>
8319
8320         * vspace.[Ch]: cosmetical changes
8321
8322 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8323
8324         * LyXAction.h:
8325         * LyXAction.C:
8326         * lyxfunc.h:
8327         * lyxfunc.C:
8328         * kbmap.h:
8329         * kbmap.C:
8330         * lyxrc.C:
8331         * kbsequence.h:
8332         * kbsequence.C: part re-write of old kb code
8333
8334         * Painter.C:
8335         * WorkArea.C: remove Lgb_bug_find_hack
8336
8337 2001-11-30  José Matos <jamatos@fep.up.pt>
8338
8339         * buffer.C (makeDocBookFile): add a comment to point a hack.
8340         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8341         Fixed a double write of labels.
8342
8343 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8344
8345         * LaTeX.C:
8346         * LaTeX.h Fixed bug in LaTeX class where it would not
8347         re-run latex if no depfiles were changed, but the .dvi was removed.
8348
8349 2001-11-28  André Pönitz <poenitz@gmx.net>
8350
8351         * all the files from the change on 2001/11/26:
8352         use lyx::layout_type instead of LyXTextClass::size_type
8353         use lyx::textclass_type instead of LyXTextClassList::size_type
8354
8355 2001-11-29  Juergen Vigna  <jug@sad.it>
8356
8357         * text.C: added support for paragraph::isFreeSpacing()
8358
8359         * buffer.C: same as above
8360
8361         * paragraph.h: inserted isFreeSpacing() function to enable
8362         FreeSpacing inside InsetERT.
8363
8364         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8365         of the paragraph's in the cut/copy buffer to 0!
8366
8367         * text2.C (removeRow): remove the assert as it can!
8368
8369         * lyxtext.h: added helper function firstRow returning firstrow and
8370         made firstrow private again.
8371
8372         * BufferView2.C (lockInset): don't relock if we're already locked!
8373
8374         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8375         the only paragraph.
8376         (removeRow): added Assert::(firstrow)
8377
8378         * debug.C: forgot to add INSETTEXT here.
8379
8380 2001-11-28  Juergen Vigna  <jug@sad.it>
8381
8382         * sp_spell.C (initialize): changed error text to more general
8383         spellchecker command use (not only ispell!)
8384
8385         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8386
8387         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8388
8389 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8390
8391         * vspace.C: initialise lyxgluelength on failure
8392
8393 2001-11-28  Allan Rae  <rae@lyx.org>
8394
8395         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8396         declaration & definition that looks like a function declaration.
8397
8398 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8399
8400         * BufferView2.C (copy):
8401         (copyEnvironment): do not clear the selection when doing a copy.
8402
8403         * text.C (paintFirstRow): compilation fix
8404
8405 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
8406
8407         * tabular.C (Latex): correct line count when writing latex.
8408
8409 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
8410
8411         * paragraph_pimpl.h:
8412         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8413           bug a bit
8414
8415 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8416
8417         * text.C:
8418         * LColor.h:
8419         * LColor.C: change vfillline->added_space
8420
8421         * text.C: add markers and text for added space
8422
8423         * vspace.C: fix comment
8424
8425 2001-11-28  André Pönitz <poenitz@gmx.net>
8426
8427         * paragraph.C: whitespace changes
8428         * all the other files from the change on 2001/11/26:
8429         change *::pos_type into lyx::pos_type
8430
8431 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8432
8433         * buffer.C (parseSingleLyXformat2Token): Set the language to the
8434         language of the document when inserting error insets.
8435
8436 2001-11-26  André Pönitz <poenitz@gmx.net>
8437
8438         * BufferView_pimpl.[Ch]:
8439         *       CutAndPaste.C:
8440         * buffer.[Ch]:
8441         * lyxcursor.[Ch]:
8442         * lyxfind.C:
8443         * lyxfunc.C:
8444         * lyxrow.[Ch]:
8445         * paragraph.[Ch]:
8446         * paragraph_pimpl.[Ch]:
8447         * sp_spell.C:
8448         * text.C:
8449         * text2.C: reduce header dependencies, introduce type for positions
8450
8451 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8452
8453         * <various>: change to use Alert.h
8454
8455 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8456
8457         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8458         when encountering an unknown token.
8459         (readLyXformat2): Show an error message if there were unknown tokens.
8460
8461 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
8462
8463         * BufferView2.C:
8464         * BufferView_pimpl.C:
8465         * buffer.C:
8466         * paragraph.h:
8467         * text.C:
8468         * text2.C: use par->isInset()
8469
8470 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8471
8472         * paragraph_pimpl.h:
8473         * paragraph_pimpl.C: cleanup
8474
8475 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8476
8477         * text2.C (removeRow):
8478         * text.C (setHeightOfRow): remove useless (and costly) call to
8479         getRow.
8480
8481 2001-11-20  Allan Rae  <rae@lyx.org>
8482
8483         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8484         Now need Inset*::checkInsertChar() to return true for appropriate
8485         cases so that the characters in the minibuffer will actually be
8486         inserted.
8487
8488 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8489
8490         * text.C: change the order of the includes.
8491         (workWidth): initialize it at once.
8492         (workWidth): make maxw unsigned
8493         (setHeightOfRow): remove unused variable (inset)
8494         (selectSelectedWord): remove unused variable (inset)
8495         (paintRowText): fix drawing of hfill characters, and clean up a bit.
8496
8497 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8498
8499         * lyxserver.C (emergencyCleanup): do not try to close pipes if
8500         server is not running.
8501         (openConnection):
8502         (closeConnection): add debug info when server is disabled.
8503
8504         * ColorHandler.C (getGCForeground): send debug message to GUI
8505         channel.
8506
8507         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8508
8509         * kbmap.C (bind): modify because return conventions of
8510         kb_sequence::parse have changed.
8511
8512         * kbsequence.C (parse): only ignore spaces and not any stupid
8513         control character. This avoids tests like s[i] <= ' ', which are
8514         guaranteed to fail with 8bit characters and signed chars.
8515         Change return code to string::npos when there have been no error
8516         (0 was a bad idea when error is at first character)
8517
8518 2001-11-14  José Matos  <jamatos@fep.up.pt>
8519
8520         * buffer.h:
8521         * buffer.C (simpleDocBookOnePar): removed unused argument.
8522
8523 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8524
8525         * text.C (selectNextWordToSpellcheck): do not test explicitely for
8526         insets which are part of a word. Paragraph::isLetter takes care of
8527         that now. Use Paragraph::isInset to identify insets.
8528         (selectSelectedWord): do not test for hyphenation break.
8529
8530         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8531         that protected spaces are considered as spaces.
8532
8533         * paragraph.C (isLetter): cleanup the code for ispell extras; use
8534         Inset::isLetter.
8535
8536 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
8537
8538         * lyxserver.h:
8539         * lyxserver.C: fix it. and small cleanup.
8540
8541 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8542
8543         * BufferView_pimpl.C: use inline helpers
8544
8545         * LaTeXFeatures.h:
8546         * LaTeXFeatures.C: fix typos
8547
8548         * Spacing.h:
8549         * Spacing.C: move spacing_string into class
8550
8551         * ToolbarDefaults.C: move stuff into namespace anon
8552
8553         * layout.h: update enum
8554
8555         * lyxfunc.C: use better debug
8556
8557         * minibuffer.h: fix typo
8558
8559         * debug.h:
8560         * debug.C:
8561         * WorkArea.C: add and use Debug::WORKAREA
8562
8563         * lyxtext.h:
8564         * text.C:
8565         * text2.C: code re-organisation, inline helpers
8566
8567 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
8568
8569         * Layout.C: replaced a few cases of std::vector.size() == 0 with
8570         std::vector.empty().
8571
8572 2001-11-09  Allan Rae  <rae@lyx.org>
8573
8574         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8575         '\n's after tables.  Tabular and ERT inset work now makes this no
8576         longer necessary.
8577
8578 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8579
8580         * minibuffer.h:
8581         * minibuffer.C: fix crash, improve drop-down completion
8582
8583 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
8584
8585         * lyxserver.h:
8586         * lyxserver.C: invalidate fd's when doing endPipe()
8587
8588 2001-11-08  José Matos  <jamatos@fep.up.pt>
8589
8590         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8591         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8592
8593         * paragraph.h:
8594         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8595
8596 2001-11-07  José Matos  <jamatos@fep.up.pt>
8597
8598         * buffer.h:
8599         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8600         const qualifier.
8601
8602         * buffer.C (sgmlOpenTag):
8603         * buffer.C (sgmlCloseTag): removed debug info.
8604
8605         * buffer.h (sgmlOpenTag):
8606         * buffer.h (sgmlCloseTag): made public.
8607
8608 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8609
8610         * buffer.C (saveParamsAsDefaults):
8611         * lyx_cb.C (MenuLayoutSave): remove
8612
8613         * LyXAction.C (init):
8614         * commandtags.h:
8615         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8616
8617 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8618
8619         * buffer.C (setPaperStuff): removed from here...
8620
8621         * bufferparams.C (setPaperStuff): ... and moved there.
8622
8623 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
8624
8625         * minibuffer.h:
8626         * minibuffer.C:
8627         * XFormsView.C: add support for drop-down completion
8628
8629 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
8630
8631         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8632         commands.
8633
8634 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8635
8636         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8637         disabled.
8638
8639 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
8640
8641         * lyx_main.C: change ref to known bugs
8642
8643 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
8644
8645         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8646         to work around older babel problems.
8647
8648 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
8649
8650         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8651
8652 2001-10-24  Juergen Vigna  <jug@sad.it>
8653
8654         * tabular-old.C (ReadOld): below variable changes reflected.
8655
8656         * tabular.[Ch]: added ltType struct for longtable header/footer
8657         defines and changed all instances where they are used. Added
8658         future support for double top/bottom rows.
8659
8660 2001-10-24  José Matos  <jamatos@fep.up.pt>
8661
8662         * buffer.h (docbookHandleCaption):
8663         * buffer.C (docbookHandleCaption): removed unused function.
8664         (makeDocBookFile): moved docbook supported version to v4.1.
8665
8666 2001-10-24  José Matos  <jamatos@fep.up.pt>
8667
8668         * tabular.h:
8669         * tabular.C (docbookRow): new function to export docbook code of a row.
8670         (DocBook): now honors the longtable flags.
8671
8672 2001-10-23  José Matos  <jamatos@fep.up.pt>
8673
8674         * LaTeXFeatures.h:
8675         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8676         of the lyx defined sgml entities used in a docbook/linuxdoc document.
8677
8678         * buffer.C (makeLinuxDocFile):
8679         (makeDocBookFile): reworked the preamble, more clean, and with
8680         support for lyx defined entities. Changed the document declaration
8681         to be more XML friendly.
8682
8683         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8684         if we need to output XML that should be done with a filter.
8685
8686 2001-10-22  Juergen Vigna  <jug@sad.it>
8687
8688         * sp_pspell.h (class PSpell): add alive function needed in the
8689         controller to see if the spellchecker could be started.
8690
8691 2001-10-22  Juergen Vigna  <jug@sad.it>
8692
8693         * buffer.C (insertStringAsLines): modify the font for inserting
8694         chars in certain conditions by calling checkInsertChar(font).
8695
8696 2001-10-19  Juergen Vigna  <jug@sad.it>
8697
8698         * text.C (workWidth): use getRow instead of wrong algorithm.
8699         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8700
8701 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
8702
8703         * lyxserver.h:
8704         * lyxserver.C:
8705         * lyx_main.h:
8706         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8707
8708 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8709
8710         * text.C (workWidth): do not search for the exact row when
8711         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8712         optimization for big documents.
8713
8714 2001-10-18  Juergen Vigna  <jug@sad.it>
8715
8716         * text.C (workWidth): new function with added Inset * parameter.
8717
8718 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8719
8720         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8721
8722         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8723         change return type of getColumnNearX.
8724
8725
8726         * text.C (changeRegionCase): use uppercase/lowercase instead of
8727         toupper/tolower.
8728         (leftMargin):
8729         (rightMargin): simplify code by factoring out the uses of
8730         textclasslist.
8731         (labelFill):
8732         (numberOfHfills):
8733         (setHeightOfRow):
8734         (appendParagraph): use Paragraph::size_type
8735
8736 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8737
8738         * vspace.C (asLatexString): add a missing break
8739
8740 2001-10-15  Herbert Voss  <voss@perce.de>
8741
8742         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8743
8744 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8745
8746         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8747         is not available.
8748
8749 2001-10-10  André Pönitz <poenitz@gmx.net>
8750
8751         * lyxfunc.C: removed greek_kb_flag.
8752
8753 2001-10-10  Herbert Voss  <voss@perce.de>
8754
8755         * lyx_main.C: delete global string help_lyxdir.
8756
8757 2001-10-09  Herbert Voss  <voss@perce.de>
8758
8759         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8760
8761         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8762
8763         * lyx_main.C: added global string help_lyxdir.
8764
8765         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8766
8767 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8768
8769         * lyxrc.C (set_font_norm_type): support iso8859-4
8770
8771 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
8772
8773         * LaTeX.C (deplog): add another regex for MikTeX
8774
8775 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8776
8777         * lyxrc.C (set_font_norm_type): support iso8859-3
8778
8779 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8780
8781         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8782
8783         * LaTeXFeatures.C: remove special case of french and index
8784
8785         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8786         before \begin{document}). This solves several incompatibilities.
8787
8788 2001-10-03  Garst Reese  <reese@isn.net>
8789
8790         * lyx_cb.C: change CheckTex error msg.
8791
8792 2001-10-03  José Matos  <jamatos@fep.up.pt>
8793
8794         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8795
8796 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8797
8798         * .cvsignore: update
8799
8800         * lyx_main.C (commandLineVersionInfo): use new style version info.
8801
8802         * buffer.C (writeFile):
8803         (makeLaTeXFile):
8804         (makeLinuxDocFile):
8805         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8806
8807         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8808
8809         * version.h: update to use stuff in version.C
8810
8811         * version.C.in: new file. Contains version information determined
8812         at compile time. This is a merging of version.h and
8813         version_info.h.in.
8814
8815 2001-10-03  Juergen Vigna  <jug@sad.it>
8816
8817         * BufferView_pimpl.C (update): don't change "dirty" status in
8818         updateInset call.
8819
8820 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
8821
8822         * WorkArea.C (c-tor): re-position version string slightly.
8823
8824 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
8825
8826         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8827         revert to previous code.
8828
8829         WorkArea.[Ch]: (show, destroySplash): methods removed.
8830
8831         WorkArea.C: rework code so that it's an amalgam of the codes before and
8832         after the splash screen was moved to WorkArea.
8833
8834 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8835
8836         * lyxrc.C (read):
8837         * vspace.C (inPixels):
8838         (lyx_advance):
8839         * kbmap.C (bind):
8840         * buffer.C (insertStringAsLines):
8841         (asciiParagraph): fix types to be large enough
8842
8843         * lyxlex_pimpl.h: change member status from short to int
8844
8845         * layout.h: fix type of endlabeltype
8846
8847         * kbmap.C (bind):
8848         * kbsequence.C (parse): change return type to string::size_type
8849
8850         * LaTeX.C (updateBibtexDependencies): comment out unneeded
8851         variable
8852
8853         * Bullet.C (bulletSize):
8854         (bulletEntry): do not use short ints as parameters
8855
8856         * BufferView2.C (insertLyXFile): change a char to an int.
8857
8858         * WorkArea.C (WorkArea): remove unneeded floats in computation
8859
8860 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
8861
8862         * buffer.C (asciiParagraph): Treat '\\' as other chars.
8863
8864         * paragraph.C (asString): Do not ignore newline/hfill chars when
8865         copying to the clipboard.
8866
8867 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
8868
8869         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8870         after a multi-line inset.
8871
8872 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
8873
8874         * paragraph.C (validate): Set NeedLyXFootnoteCode
8875
8876 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8877
8878         * lyxfont.C (LyXSizeNames): changed increase-error to increase
8879         and decrease-error to decrease.
8880
8881 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8882
8883         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8884         it more readable (should be equivalent)
8885
8886 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8887
8888         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8889
8890 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8891
8892         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8893         of a cursor (row, etc.) after a character has been deleted
8894         (deleteEmptyParagraphMechanism): call the method above on _all_
8895         cursors held by the LyXText when a double space has been
8896         detected/deleted.
8897
8898 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8899
8900         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8901         pixmap.
8902         (resizeCurrentBuff): remove code to destroy the old splash dialog.
8903
8904         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8905         background. Use greyOut() and the new show() methods to toggle between
8906         the foreground and background. Add code to remove the splash after
8907         its initial showing.
8908
8909         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8910         (create_forms): no longer call Dialogs::showSplash.
8911
8912 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8913
8914         * .cvsignore: add version_info.h
8915
8916 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8917
8918         * version_info.h.in: new file
8919
8920         * Makefile.am: add version_info.h.in
8921
8922         * lyx_main.C (commandLineVersionInfo): use version_info defined in
8923         version_info.h instead of VERSION_INFO
8924
8925 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
8926
8927         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8928         The ERT inset now returns string().
8929
8930 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
8931
8932         * lyxtext.h, text.C (selectNextWord): renamed as
8933         selectNextWordToSpellcheck.
8934
8935         * text.C (selectNextWordToSpellcheck): Modified to not select
8936         words inside an ERT inset.
8937
8938 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8939
8940         * lyx_cb.C (MenuLayoutSave): change a bit the question
8941
8942         * sp_base.h: include <sys/types.h>
8943
8944 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
8945
8946         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8947
8948 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
8949
8950         * several files: fix typos in user-visible strings
8951
8952 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8953
8954         * text2.C (pasteSelection): do not set the selection, since it
8955         will be cleared later. Actually, the intent was to fix the way the
8956         selection was set, but I figured rmoving the code was just as good.
8957
8958 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
8959
8960         * FontLoader.C (available): Check if font is available without
8961         loading the font.
8962
8963 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8964
8965         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8966
8967 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
8968
8969         * lyxrc.[Ch]: added display_graphics variable and associated code.
8970
8971 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8972
8973         * bufferparams.C (hasClassDefaults): new method. Returns true if
8974         the buffer parameters correspond to known class defaults
8975
8976 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
8977
8978         * XFormsView.C (show): set minimum size to the main window.
8979
8980 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8981
8982         * text2.C (copySelection):
8983         (cutSelection):
8984         * lyxfind.C (LyXReplace):
8985         * BufferView_pimpl.C (Dispatch): pass the correct flag to
8986         LyXText::selectionAsString.
8987
8988         * paragraph.C (asString): add "label" argument to the second form
8989
8990         * text2.C (selectionAsString): add "label" argument and pass it to
8991         Paragraph::asString.
8992
8993 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8994
8995         * lyx_main.C (commandLineHelp): remove version information
8996
8997 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
8998
8999         * lyx_main.C: add -version commandline option
9000
9001 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9002
9003         * paragraph.h: make the optional constructor arg required instead.
9004         some modifications to other files because of this.
9005
9006         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9007
9008         * lyxserver.C (C_LyXComm_callback): make it static
9009
9010         * lyx_main.C (error_handler): make it static
9011
9012         * lyx_gui.C (LyX_XErrHandler): make it static
9013
9014         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9015
9016         * WorkArea.C: make the extern "C" methods static.
9017
9018         * Makefile.am (lyx_LDADD): simplify
9019
9020 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9021
9022         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9023         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9024
9025         * LyXAction.C (init):
9026         * lyxfunc.C (dispatch): associated code removal.
9027
9028 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9029
9030         * lyxfont.h (isSymbolFont): shut off warning
9031
9032         * text.C (setHeightOfRow):
9033         (getVisibleRow): fix crash with empty paragraphs which have a
9034         bottom line
9035
9036 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9037
9038         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9039         code.
9040
9041 2001-09-04  José Matos  <jamatos@fep.up.pt>
9042         * buffer.C
9043         * buffer.h
9044         * tabular.C (docbook): rename docBook method to docbook.
9045
9046 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9047
9048         * Makefile.am: add dependencies to main.o.
9049
9050 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9051
9052         * FontLoader.C (available): Return false if !lyxrc.use_gui
9053
9054 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9055
9056         * FontInfo.C (query):
9057         * converter.C (view):
9058         * importer.C (Import):
9059         * exporter.C (Export): Can not -> cannot.
9060
9061 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9062
9063         * BufferView_pimpl.C: allow to create index inset even if
9064           string is empty
9065
9066 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9067
9068         * buffer.C (getLists): replace boost::tie code with an explicit pair
9069         as boost::tie can break some compilers.
9070
9071         * iterators.h: Added a std:: declaration to the return type of
9072         ParIterator::size.
9073
9074 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9075
9076         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9077           case.
9078
9079 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9080
9081         * iterators.[Ch]: New files. Provide paragraph iterators.
9082
9083         * buffer.C (changeLanguage): Use paragraph iterators.
9084         (isMultiLingual): ditto
9085
9086         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9087
9088 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9089
9090         * FontLoader.C: Support for cmr font.
9091
9092 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9093
9094         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9095         (available): New method.
9096
9097         * FontInfo.C (getFontname): Use scalable fonts even when
9098         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9099         found.
9100
9101 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9102
9103         * converter.C (Formats::view): reverted! Incorrect fix.
9104
9105 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9106
9107         * converter.C (Formats::view): only output the -paper option
9108         if the dvi viewer is xdvi, thereby fixing bug #233429.
9109
9110 2001-08-23  Herbert Voss  <voss@perce>
9111
9112         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9113
9114 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9115
9116         * Spacing.h (Spacing): Set space to Default on in the default
9117         constructor.
9118
9119 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9120
9121         * vc-backend.h (RCS::versionString): add RCS to version
9122         (CVS::versionString): add CVS to version
9123
9124         * vc-backend.C (scanMaster): do not add CVS to version.
9125         (scanMaster): do not add RCS to version
9126
9127         * lyxvc.C (versionString): new method
9128
9129         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9130
9131 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9132
9133         * Spacing.C (set): initialize fval
9134
9135 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
9136
9137         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9138         " or \.
9139
9140 2001-08-16  Juergen Vigna  <jug@sad.it>
9141
9142         * lyxfunc.C (dispatch): implemented the new FINISHED states.
9143
9144 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9145
9146         * BufferView_pimpl.C:
9147         * figureForm.C:
9148         * lyxtext.h:
9149         * text2.C: setParagraph takes linespacing now
9150
9151 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
9152
9153         * LyxAction.C: add internal LFUN_CITATION_INSERT
9154
9155         * LyXView.C: actually apply fix
9156
9157         * bufferlist.C: fix open non-existent file
9158
9159         * lyxfind.C: fix indentation
9160
9161         * lyxfunc.C: remove unneeded assert, fix typo
9162
9163 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9164
9165         * MenuBackend.C: use "Floatname List"
9166
9167 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
9168
9169         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9170         when converting LaTeX layout to insetERT.
9171         Generate a non-collapsed float when reading old float
9172
9173 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9174
9175         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9176         ERT insets.
9177
9178 2001-08-13  Juergen Vigna  <jug@sad.it>
9179
9180         * text.C (fill): return 0 instead of 20 as this seems to be the more
9181         correct value.
9182
9183 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9184
9185         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9186         lyxrc.font_norm.
9187
9188 2001-08-13  Juergen Vigna  <jug@sad.it>
9189
9190         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9191         casesensitive off.
9192         (SearchBackward): comment out the unlocking of the inset_owner this
9193         should not be needed!
9194
9195 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
9196
9197         * Many files: Remove inherit_language, and add latex_language
9198
9199         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9200         collapsible insets.
9201
9202 2001-08-10  Juergen Vigna  <jug@sad.it>
9203
9204         * text.C (prepareToPrint): fixed hfill-width in draw!
9205
9206         * BufferView2.C (selectLastWord): save the selection cursor as this
9207         now is cleared in the function LyXText::clearSelection!
9208
9209 2001-08-08  Juergen Vigna  <jug@sad.it>
9210
9211         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9212         BACKSPACE type functions.
9213
9214         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9215         is only cutted from the document but not put in the cut-buffer, where
9216         still the old stuff should be.
9217
9218         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9219
9220         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9221
9222         * tabular.C (SetWidthOfCell): fixed special case where the width
9223         was not updated!
9224         (LeftLine): handle '|' in align_special.
9225         (RightLine): ditto
9226         (LeftAlreadyDrawed): ditto
9227         (SetWidthOfCell): ditto
9228
9229 2001-08-07  Juergen Vigna  <jug@sad.it>
9230
9231         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9232
9233 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9234
9235         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9236         * lyxlex.[hC]: ditto
9237
9238 2001-08-06  Juergen Vigna  <jug@sad.it>
9239
9240         * text.C (getVisibleRow): fix up row clearing a bit.
9241
9242 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9243
9244         * minibuffer.C: make sure the X server sees the changes in the input.
9245
9246 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9247
9248         * paragraph.C (getFont): split into...
9249         (getLabelFont): this
9250         (getLayoutFont): and this
9251         * paragraph_pimpl.C (realizeFont): calling this
9252
9253         * text2.C (getFont): split into...
9254         (getLayoutFont): this
9255         (getLabelFont): and this
9256         (realizeFont): all three calling this
9257
9258         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9259         files where used.
9260
9261 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9262
9263         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9264
9265 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
9266
9267         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9268         layouts from the Quote inset insertion.
9269
9270 2001-08-03  Juergen Vigna  <jug@sad.it>
9271
9272         * BufferView_pimpl.C (update): do the fitCursor only at the end!
9273
9274         * screen.C (drawFromTo): don't call fitcursor here and do the loop
9275         only if status not is already CHANGED_IN_DRAW (second level).
9276
9277         * text.C (draw): don't set the need_break_row when inside an
9278         InsetText LyXText.
9279
9280 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9281
9282         * buffer.C (parseSingleLyXformat2Token): handle more latex
9283         conversion cases.
9284
9285         * bufferview_funcs.[hC]: change function names to
9286         begin with small char, adjust other files.
9287
9288 2001-08-02  André Pönitz <poenitz@gmx.net>
9289
9290         * lyxfunc.C:
9291         BufferView_pimpl.C: remove broken special code for math-greek
9292
9293 2001-08-02  Juergen Vigna  <jug@sad.it>
9294
9295         * BufferView_pimpl.C (update): redone this function so that we
9296         update the text again if there was a CHANGE_IN_DRAW.
9297
9298         * screen.C (cursorToggle): removed LyXText parameter and recoded.
9299         (drawFromTo): added a new internal bool which is used by draw() and
9300         redraw() function.
9301         (general): some cursor drawing problems fixed.
9302
9303 2001-08-01  Juergen Vigna  <jug@sad.it>
9304
9305         * lyxfind.C (LyXFind): fixed
9306         (SearchForward): ditto
9307         (SearchBackward): ditto
9308
9309         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9310         spurius drawing of the cursor in the main area.
9311
9312         * text2.C (status): small fix which could lead to a segfault!
9313         (clearSelection): remove unneeded BufferView param.
9314
9315 2001-08-01  André Pönitz <poenitz@gmx.net>
9316
9317         * lyxfunc.C: small change due to changed mathed interface
9318
9319 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9320
9321         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9322
9323 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
9324
9325         * lyxfunc.c: fail gracefully if file doesn't exist
9326
9327         * LyXSendto.C:
9328         * buffer.C:
9329         * lyxfunc.C:
9330         * BufferView_pimpl.C: IsDirWriteable() proto changed
9331
9332         * LyXView.C: fix updateWindowTitle() to store the last title
9333
9334 2001-07-31  Juergen Vigna  <jug@sad.it>
9335
9336         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9337         the font (wrong since using of Paragraph::highestFontInRange).
9338
9339         * paragraph.C (highestFontInRange): added a default_size parameter.
9340
9341         * text.C (getVisibleRow): minor clear row changes (still not perfect).
9342         (setHeightOfRow): reformat
9343
9344 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9345
9346         * converter.[hC] + affected files: move to (inital-char)lowercase
9347         function names.
9348
9349         * ParagraphParameters.C (ParagraphParameters): remove commented code
9350
9351         * PainterBase.[Ch]: remove commented code
9352
9353         * LaTeXFeatures.h: add "bool floats" for float.sty
9354
9355         * LaTeXFeatures.C (LaTeXFeatures): init floats
9356         (require): handle float
9357         (getPackages): do it with floats
9358
9359 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9360
9361         * BufferView_pimpl.C (Dispatch): improve handling of
9362         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9363
9364         * commandtags.h: #include lyxfont.h here temporarily to avoid
9365         keybinding bug.
9366
9367         * bufferlist.h: include LString.h here.
9368
9369 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9370
9371         * text2.C (getStringToIndex): new method.
9372
9373 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
9374
9375         * *: Reduced header file dependencies all over.
9376
9377 2001-07-30  Baruch Even  <baruch@lyx.org>
9378
9379         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9380
9381 2001-07-29  Baruch Even  <baruch@lyx.org>
9382
9383         * buffer.C (readInset): Changed GRAPHICS to Graphics.
9384
9385 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9386
9387         * ParameterStruct.h (endif): add a default constructor to make
9388         sure that all variables is initialized.
9389
9390         * ParagraphParameters.C (ParagraphParameters): adjust
9391
9392 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9393
9394         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9395         index; also, check that there is something to index, and that it
9396         does not span over several paragraphs.
9397         (doubleClick): use WHOLE_WORD_STRICT for double click.
9398
9399         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9400
9401         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9402         scheme.
9403
9404 2001-07-26  Baruch Even  <baruch@lyx.org>
9405
9406         * buffer.C (readInset): Changed to call up InsetGraphics when reading
9407         an InsetFig figure, backwards compatible reading of old figure code.
9408
9409 2001-07-27  Juergen Vigna  <jug@sad.it>
9410
9411         * text2.C: font.realize function adaption.
9412
9413         * text.C (draw): add a warnings lyxerr text if needed.
9414
9415         * layout.C: font.realize function adaption.
9416
9417         * language.C: add inherit_language and implement it's handlings
9418
9419         * bufferview_funcs.C (StyleReset): remove language parameter from
9420         font creation (should be language_inherit now).
9421
9422         * bufferparams.C (writeFile): handle ignore_language.
9423
9424         * paragraph.C (getFontSettings): the language has to be resolved
9425         otherwise we have problems in LyXFont!
9426
9427         * lyxfont.C (lyxWriteChanges): added document_language parameter
9428         (update): removed unneeded language parameter
9429
9430         * paragraph.C (validate): fixed wrong output of color-package when
9431         using interface colors for certain fonts in certain environments,
9432         which should not seen as that on the final output.
9433
9434 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
9435
9436         * BufferView_pimpl.C:
9437         * Thesaurus.h:
9438         * Thesaurus.C:
9439         * Makefile.am:
9440         * commandtags.h:
9441         * LyXAction.C: add thesaurus support
9442
9443         * lyxfind.h:
9444         * lyxfind.C: add "once" parameter, for thesaurus, to not
9445           move to the next match
9446
9447 2001-07-26  Juergen Vigna  <jug@sad.it>
9448
9449         * lyxfont.C (realize): honor ignore_language too!
9450         (resolved): ditto.
9451
9452         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9453
9454         * text.C (draw): one place more for ignore_language to not draw
9455         itself!
9456
9457 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
9458
9459         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9460
9461 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9462
9463         * buffer.C (parseSingleLyXformat2Token): a more general fix for
9464         the minipage conversion problem.
9465
9466 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9467
9468         * buffer.C (parseSingleLyXformat2Token): check minipage if we
9469         insert an inset.
9470
9471 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9472
9473         * BufferView.h: don't forward declare WorkArea
9474
9475         * BufferView.C: don't include WorkArea.h
9476
9477 2001-07-25  André Pönitz <poenitz@gmx.net>
9478
9479         * commandtags.h:
9480         * LyXAction.C:
9481         * lyxfunc.C:  new LFUN 'math-space'
9482
9483         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9484
9485 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9486
9487         * text2.C (toggleInset): call open/close
9488
9489 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9490
9491         * lyxfunc.C (dispatch): add debug for the disabled case
9492
9493         * font.C (buttonText): make similar to rectText
9494
9495         * buffer.C (readInset): comment out parsing of insetlist and
9496         insttheorem
9497
9498         * PainterBase.C (rectText): small correction
9499
9500         * BufferView_pimpl.C: comment out insettheorem and insetlist
9501         * LyXAction.C: ditto
9502         * commandtags.h: ditto
9503
9504 2001-07-24  Juergen Vigna  <jug@sad.it>
9505
9506         * text.C (draw): honor the ignore_language.
9507
9508         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9509
9510 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9511
9512         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9513         char inset.
9514
9515 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9516
9517         * lyxtext.h: remove unused (and unimplemented) methods
9518
9519 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9520
9521         * text.C (getVisibleRow): honor background color
9522
9523         * PainterBase.h:
9524         * Painter.h: remove default color argument for fillRectangle
9525
9526         * text.C (backgroundColor): new method
9527
9528 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9529
9530         * text.C (getVisibleRow): adjust
9531
9532         * font.[Ch] (rectText): new method, metrics
9533         (buttonText): new method, metrics
9534
9535         * PainterBase.[hC]: make rectText and buttonText always draw and take
9536         fewer paramteres.
9537
9538 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9539
9540         * ToolbarDefaults.C (read):
9541         * MenuBackend.C (read): allow escaping in all strings
9542
9543         * BufferView_pimpl.C (insertAndEditInset): new method.
9544         (Dispatch): use insertAndEditInset whenever appropriate.
9545
9546         * BufferView_pimpl.C (insertNote): removed
9547
9548         * BufferView_pimpl.C (smartQuote): new method, moved from
9549         BufferView; if an insetquote cannot be inserted, insert a '"'
9550         character instead.
9551
9552         * BufferView2.C: remove insertCorrectQuote();
9553
9554         * lyxfunc.C (getStatus): Add support for all remaingin
9555         inset-insert lfuns.
9556
9557         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9558
9559         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9560         command (necessary to pass " as parameter of self-insert.
9561
9562         * text.C (selectWordWhenUnderCursor):
9563         (selectWord): add word_location parameter
9564         (selectWordWhenUnderCursor): same + remove special code for word
9565         boundary.
9566         (selectNextWord): use kind() to guess type of insetspecialchar,
9567         not latex().
9568
9569         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9570         (insertErtContents): create ert insets as collapsed.
9571         (readInset): better compatibility code for Info inset.
9572
9573 2001-07-20  Juergen Vigna  <jug@sad.it>
9574
9575         * lyxfunc.C (dispatch): use always LyXFind now!
9576
9577         * text2.C (init): add a reinit flag so that the LyXText can be
9578         reinited instead of deleted and reallocated (used in InsetText).
9579
9580         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9581
9582         * text.C: ditto
9583
9584         * text2.C: ditto
9585
9586 2001-07-18  Juergen Vigna  <jug@sad.it>
9587
9588         * text.C (selectNextWord): handle insets inside inset by calling
9589         always the bv->text functions so that we can go up the_locking_inset!
9590
9591         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9592         in strange locations when inside an inset!
9593
9594         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9595         handling to include insets.
9596
9597         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9598
9599 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9600
9601         * LyXAction.C (init):
9602         * commandtags.h:
9603         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9604         LIGATURE_BREAK, since the name is so stupid.
9605
9606 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9607
9608         * buffer.C (readInset): enable reading of new InsetNotes as well as old
9609         InsetInfos.
9610
9611         * FontLoader.C: remove FORMS_H_LOCATION cruft.
9612
9613         * sp_form.[Ch]: remove.
9614
9615         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9616
9617         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9618         InsetInfo.
9619
9620         * src/buffer.C (readInset): ditto.
9621
9622 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9623
9624         * BufferView_pimpl.C (specialChar): new method. Obsoletes
9625         menuSeparator(), endOfSentenceDot(), ldots() and
9626         hyphenationPoint(), which are therefore removed.
9627         (Dispatch): handle LFUN_HYPHENATION_BREAK.
9628
9629         * LyXAction.C (init):
9630         * commandtags.h: add LFUN_HYPHENATION_BREAK.
9631
9632         * paragraph.C (getWord): removed.
9633
9634         * BufferView_pimpl.C (Dispatch): use last word or selection for
9635         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9636
9637         * lyx_main.C (queryUserLyXDir): do not ask before creating
9638         user_dir, except if it has been named explicitely.
9639
9640 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9641
9642         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9643         a document of zero size.
9644
9645 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
9646
9647         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9648         approriately in the c-tor and in require().
9649         (getPackages): output the appropriate LaTeX for natbib support.
9650
9651         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9652         variables "use_natbib" and "use_numerical_citations" when reading the
9653         LyX file.
9654         (readInset): read the various natbib cite commands.
9655         (validate): white-space change.
9656
9657         * bufferparams.[Ch]: new variables "bool use_natbib" and
9658         "bool use_numerical_citations".
9659         (writeFile): output them in the LyX file.
9660
9661 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9662
9663         * lyxfunc.C (getStatus): add support for all the inset insertion
9664         commands.
9665
9666         * text2.C (insertInset):
9667         * paragraph.C (insetAllowed):
9668         * BufferView_pimpl.C (insertInset): update to take in account the
9669         renaming of insertInsetAllowed
9670
9671         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9672
9673         * text2.C (getInset): new method. returns inset at cursor position.
9674
9675         * BufferView_pimpl.C (Dispatch): changes because of this.
9676
9677         * LyXAction.C (init): rename open-stuff to inset-toggle.
9678
9679         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9680
9681         * text2.C (toggleInset): renamed from openStuff; use
9682         Inset::open().
9683
9684 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
9685
9686         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9687
9688         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9689
9690 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
9691
9692         * buffer.C (readLyXformat2): Add filename to the error dialog
9693
9694 2001-07-18  Juergen Vigna  <jug@sad.it>
9695
9696         * tabular.C (GetCellNumber): put an assert here instead of the check!
9697
9698 2001-07-17  Juergen Vigna  <jug@sad.it>
9699
9700         * BufferView_pimpl.C (toggleSelection): adapted too.
9701
9702         * text.C (selectNextWord): adapted for use with insets.
9703         (selectSelectedWord): ditto
9704
9705 2001-07-17  Juergen Vigna  <jug@sad.it>
9706
9707         * sp_spell.C (PSpell): fix initialitation order.
9708
9709 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9710
9711         * paragraph.C: spacing
9712
9713 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
9714
9715         * sp_spell.C: repair language selection for pspell
9716
9717 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9718
9719         * lyxfunc.h: change more methods to begin with lower char.
9720
9721 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
9722
9723         * buffer.C (parseSingleLyXformat2Token): Generate error insets
9724         for unknown layouts.
9725
9726 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9727
9728         * buffer.C (readLyXformat2): Generate an error dialog if there are
9729         unknown layouts.
9730
9731 2001-07-16  Juergen Vigna  <jug@sad.it>
9732
9733         * sp_spell.C: always compile ISpell part.
9734
9735         * lyxrc.C: added use_pspell entry and it's handling.
9736
9737 2001-07-13  Juergen Vigna  <jug@sad.it>
9738
9739         * sp_spell.C: removed double includes.
9740
9741 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
9742
9743         Consistent use of Lsstream.h:
9744         * Lsstream.h: added using std::stringstream for consistencies sake.
9745
9746         * buffer.C: removed using std::stringstream
9747
9748         * lyxfont.C (stateText):
9749         * paragraph.C (asString):
9750         * text.C (selectNextWord, selectSelectedWord):
9751         * text2.C (setCounter):
9752         * vspace.C (asString, asLatexString):
9753         std::ostringstream -> ostringstream.
9754
9755 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9756
9757         * LyXAction.C: add LFUN_HELP_ABOUTLYX
9758         * commandtags.h: add LFUN_HELP_ABOUTLYX
9759         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9760
9761 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9762
9763         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9764         cursorToggle()
9765         * lyx_gui_misc.C: remove spellchecker
9766         * lyxfunc.C: showSpellchecker
9767         * sp_base.h: added
9768         * sp_ispell.h: added
9769         * sp_pspell.h: added
9770         * sp_spell.C: added
9771         * sp_form.[Ch]: removed
9772         * spellchecker.[Ch]: removed
9773
9774 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
9775
9776         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9777         is set.
9778         (simpleTeXSpecialChars): Simply print the input character without
9779         any special translation if pass_thru is set.
9780
9781         * layout.h: Added bool pass_thru to layout class for being able to
9782         implement pass through of a paragraph for Literate Programming.
9783
9784         * layout.C: add LT_PASS_THRU to LayoutTags enum.
9785         * layout.C (LyXLayout): set pass_thru to flase in constructor.
9786         * layout.C (Read): add "passthru" to list of layout tags and add
9787         code to set the pass_thru boolean when it is read.
9788
9789 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9790
9791         * trans_decl.h: remove allowed from KmodInfo
9792
9793         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9794         remove allowed code
9795         (Load): adjust
9796
9797         * paragraph_pimpl.C (erase): use boost::prior
9798
9799         * Painter.C (text): use data() instead of c_str() when length is
9800         also provided.
9801         * WorkArea.C (putClipboard): ditto
9802         * font.h (width): ditto
9803
9804         * BufferView2.C: use it-> instead of (*it). for iterators
9805         * texrow.C: ditto
9806         * paragraph_pimpl.C: ditto
9807         * paragraph.C: ditto
9808         * minibuffer.C: ditto
9809         * language.C: ditto
9810         * kbmap.C: ditto
9811         * encoding.C: ditto
9812         * counters.C: ditto
9813         * converter.C: ditto
9814         * chset.C: ditto
9815         * Variables.C: ditto
9816         * TextCache.C: ditto
9817         * MenuBackend.C: ditto
9818         * LyXAction.C: ditto
9819         * LColor.C: ditto
9820         * FloatList.C: ditto
9821         * DepTable.C: ditto
9822         * ColorHandler.C (LyXColorHandler): ditto
9823
9824 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9825
9826         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9827
9828         * text2.C (openStuff): reintroduce this method (which had been
9829         nuked in NEW_INSETS frenzy).
9830
9831         * lyxfunc.C (Dispatch): when an action has not been handled, use
9832         its name in the error message, not its number.
9833
9834         * paragraph.C (inInset): change method name to begin with lowercase.
9835
9836         * undo_funcs.C:
9837         * text2.C: updates because of this.
9838
9839 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9840
9841         * ToolbarDefaults.C (add): add spaces in error message
9842
9843 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9844
9845         * buffer.C (readLyXformat2): initialize the ert comp. variables.
9846         (readLyXformat2): rename return_par to first_par, use lyxlex's
9847         pushToken and remove the manual push handling.
9848         (parseSingleLyXformat2Token): add another ert comp. variable:
9849         in_tabular, rename return_par to first_par. handle newlines better
9850
9851 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9852
9853         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9854
9855 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9856
9857         * text2.C (getParFromID): removed
9858
9859         * buffer.C (getParFromID): new method moved form lyxtext.
9860         * BufferView2.C (insertErrors): adjust
9861         (setCursorFromRow): adjust
9862         * BufferView_pimpl.C (restorePosition): adjust
9863         * lyxfunc.C (Dispatch): adjust
9864         * undo_funcs.C (textUndo): adjust
9865         (textRedo): adjust
9866         (textHandleUndo): adjust
9867         (textHandleUndo): adjust
9868
9869 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9870
9871         * buffer.C: up' the LYX_FORMAT
9872
9873         * lyxfont.h: turn NO_LATEX on as default
9874
9875         * buffer.C (insertErtContents): new methods of tex style compability.
9876         (parseSingleLyXformat2Token): use it several places.
9877         * tabular.C (OldFormatRead): and here
9878
9879 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9880
9881         * text2.C: remove some commented code.
9882         reindent file.
9883
9884         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9885         * trans.C: changes because of the above.
9886
9887 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
9888
9889         * text2.C (setCounter): Fix counters bug with bibliography layout.
9890
9891 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9892
9893         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9894         own member functions
9895         (simpleTeXSpecialChars): ditto
9896
9897 2001-07-06  Juergen Vigna  <jug@sad.it>
9898
9899         * a lot of files: changed the access to LyXText::status and the
9900         call of undo-functions.
9901
9902         * undo.[Ch]: added a inset_id to the undo informations.
9903
9904         * undo_funcs.[Ch]: added and moved here all undo functions.
9905
9906         * lyxtext.h: give the status enum a weight, made status_ a private
9907         variable and made accessor functions for it, removed the whole bunch
9908         of undo-functions as they are now in their own file, make some
9909         functions publically available. Added function ownerParagraph with
9910         int parameter.
9911
9912         * paragraph.[Ch]: added "bool same_ids" to the constructor,
9913         made InInset() a const function, added getParFromID() function.
9914
9915         * buffer.[Ch]: added const version for inset_iterator functions,
9916         added getInsetFromID() function.
9917
9918         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9919         changed undo functions for new version.
9920
9921 2001-07-05  Juergen Vigna  <jug@sad.it>
9922
9923         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9924         unknow mechanism does not call the proper constructor but only this
9925         one also if I request the other!?
9926
9927 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9928
9929         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9930
9931         * text2.C (LyXText): use initialization lists.
9932
9933         * lyxtext.h (Selection): initialize set_ and mark_
9934         (init): remove method
9935
9936 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
9937
9938         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9939
9940 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9941
9942         * screen.[Ch]: change method names to begin with lowercase
9943
9944         * BufferView_pimpl.C (updateScrollbar): simplify further and
9945         hopefully make it a bit faster.
9946
9947 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9948
9949         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9950         calling directly xforms functions.
9951
9952         * Painter.C (Painter):
9953         * lyx_cb.C (MenuWrite):
9954         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9955         fl_display.
9956
9957         * lyx_gui.C: remove bogus guiruntime extern declaration.
9958
9959 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9960
9961         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9962         in NEW_INSETS
9963         (redoDrawingOfParagraph): ditto
9964         (redoParagraphs): ditto
9965         (cutSelection): don't create a object for CutAndPaste use the
9966         static method directly
9967         (pasteSelection): ditto
9968
9969         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9970         LyXview (+ rename)
9971
9972 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9973
9974         * modifications to some other files because of this.
9975
9976         * Makefile.am (lyx_SOURCES): add XFormsView
9977
9978         * XFormsView.[Ch]: new files
9979
9980         * LyXView.[Ch]: make LyXView a base class for the gui handling for
9981         the main window. Move the gui dependent stuff to XFormsView
9982
9983 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9984
9985         * tabular.C (GetCellInset): update cur_cell also in the row/col
9986         version of this function.
9987
9988         * lyxfunc.C: no need to include figure_form.h here.
9989
9990         * FontLoader.h:
9991         * lyxfunc.h:
9992         * lyxscreen.h:
9993         * text2.C:
9994         * lyxvc.C: no need to include forms.h here.
9995
9996 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9997
9998         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9999
10000         * lyxfunc.C (Dispatch):
10001         * Spacing.C (set):
10002         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10003         constructor argument.
10004
10005 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10006
10007         * paragraph.C (Paragraph): dont't clear, and just set layout.
10008         (makeSameLayout): use params's copy contructor.
10009
10010         * ParagraphParameters.[Ch] (makeSame): delete method
10011
10012 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10013
10014         * Variables.[Ch]: fix indentation, rename set to isSet
10015
10016 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10017
10018         * lyxfunc.C (Dispatch): fix typo
10019
10020 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10021
10022         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10023         upper_bound.
10024
10025         * bufferlist.C: include assert.h for emergencyWrite().
10026
10027 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10028
10029         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10030           give up at last (bug #425202) !
10031
10032 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10033
10034         * lyx_gui_misc.C:
10035         * sp_form.h:
10036         * sp_form.C:
10037         * spellchecker.h:
10038         * spellchecker.C: strip spellchecker options and bring up
10039           preferences tab instead
10040
10041 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10042
10043         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10044         the istringstream constructor
10045
10046 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10047
10048         * paragraph.C (getLayout): fix return value
10049
10050         * paragraph.h: do not declare getLayout as inline.
10051
10052         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10053
10054 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10055
10056         * lyxcursor.h (operator<): new func
10057         (operator>): new func
10058         (operator>=): new func
10059         (operator<=): new func
10060
10061         * text.C (changeCase): use selection.start and selection.end
10062         (changeRegionCase): require from to be <= to. Require par to be a
10063         valid paragraph.
10064
10065         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10066
10067 2001-06-27  Juergen Vigna  <jug@sad.it>
10068
10069         * text.C (cursorLeftOneWord): changed to return the cursor and added
10070         overlay with BufferView * parameter which calls this one.
10071         (getWord): added
10072         (selectWord): use new getWord function.
10073         (changeCase): renamed from changeWordCase as and extended to work
10074         also on selections.
10075
10076         * lyxtext.h: added enum word_location
10077
10078         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10079         changeCase as this operates now also on selections.
10080
10081 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10082
10083         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10084
10085         * many files: send debug output to Debug::INFO instead of
10086         Debug::ANY.
10087
10088         * converter.C (View):
10089         (Convert):
10090         (Move): send debug output to Debug::FILES instead of console.
10091
10092 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10093
10094         * lyxfunc.C (getStatus): use func_status
10095
10096         * func_status.h: new header, describing the results of
10097         LyXFunc::getStatus;
10098
10099         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10100         LFUN_MATH_HALIGN.
10101
10102 2001-06-25  The LyX Project  <jug@sad.it>
10103
10104         * buffer.C (sgmlOpenTag):
10105         (sgmlCloseTag):
10106         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10107
10108 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10109
10110         * text2.C: remove some dead code
10111
10112         * tabular.C (GetCellInset): store the last cell checked (gotten)
10113
10114         * tabular.h: add the helper for the speedup
10115
10116         * lyxtext.h: remove some dead code
10117
10118 2001-06-26  The LyX Project  <Asger>
10119
10120         * paragraph.C: Change export to LaTeX of alignment to
10121         \begin{center} and family for better roundtrip work with reLyX.
10122
10123         * Tune the math drawing a bit.
10124
10125 2001-06-25  The LyX Project  <Asger>
10126
10127         * LColor.C (LColor): New color for math background. New color
10128         for buttons.
10129
10130 2001-06-25  The LyX Project  <jug@sad.it>
10131
10132         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10133
10134         * lyxfunc.C (Open):
10135         * bufferlist.C (newFile): do not restrict to files ending with
10136         .lyx
10137
10138         * BufferView_pimpl.C (MenuInsertLyXFile):
10139
10140 2001-06-24  The LyX Project  <jug@sad.it>
10141
10142         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10143         of compare_no_case
10144
10145 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10146
10147         * lyxtext.h: rename most methods to begin with a small char.
10148         Lots of changes because of this.
10149
10150         * paragraph.C (Paragraph): do not call fitToSize
10151         (erase): call Pimpl::erase
10152         (insertChar): call Pimpl::insertChar
10153         (insertInset): call Pipl::insertInset
10154         (breakParagraph): do not call fitToSize
10155         (breakParagraphConservative): do not call fitToSize
10156         (fitToSize): remove method
10157
10158         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10159
10160 2001-06-24  The LyX Project  <Asger>
10161
10162         * Fix Qt compilation^2
10163
10164 2001-06-24  The LyX Project  <jug@sad.it>
10165
10166         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10167         depthHook(getDepth()-1).
10168
10169         * paragraph.h:
10170         * ParagraphParameters.h:
10171         * ParameterStruct.h: change type of depth to unsigned int ==
10172         depth_type. Many adaptations to other files before of that.
10173
10174 2001-06-24  The LyX Project  <Asger>
10175
10176         * Fix Qt compilation.
10177
10178 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10179
10180         * paragraph.h: renamed several methods to begin with small letter.
10181         several changes to many parts of the code because of this.
10182
10183 2001-06-23  The LyX Project  <jug@sad.it>
10184
10185         * text2.C (InsertStringAsLines): renamed from InsertStringA;
10186         rewritten to discard all double spaces when KeepEmpty is off
10187         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10188         to only handle newlines but not fiddle with spaces and friends.
10189
10190         * lyxfunc.C (MenuNew): when doing 'new from template', use
10191         template_path as default directory
10192
10193 2001-06-23  The LyX Project  <Asger>
10194
10195         * Clean-up of header file includes all over
10196         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10197
10198 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10199
10200         * paragraph.h: renamed from lyxparagraph.h
10201
10202 2001-06-23  Asger  <lyx@violet.home.sad.it>
10203
10204         * Buffer.h: Removed Buffer::resize
10205         * BufferList.h: Removed BufferList::resize
10206         * LyXView.h: Added LyXView::resize. This way, we will only reflow
10207         the document lazily when we change the width, or the font settings.
10208
10209 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10210
10211         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10212
10213 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10214
10215         * buffer.h: remove out of date comment
10216
10217 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10218
10219         * lyxscreen.h:
10220         * screen.C: fix "theoretical" GC leak
10221
10222 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10223
10224         * LaTeX.C (scanAuxFile):
10225         (deplog): remove trailing \r when reading stream (useful under
10226         win32)
10227
10228 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
10229
10230         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10231         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10232         and BufferView::theLockingInset(Inset*), so should use them and not
10233         access bv_->text->the_locking_inset directly.
10234
10235         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10236
10237 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10238
10239         * Makefile.am:
10240         * tex-defs.h: remove old unused file
10241
10242 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * BufferView_pimpl.C: fix typo, remove minibuffer message
10245           when buffer has loaded
10246
10247 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10248
10249         * lyxfunc.C (Dispatch): use stringstream
10250         (MenuNew): use stringstream
10251         (Open): use stringstream
10252
10253         * importer.C (Import): use stringstream
10254
10255         * bufferview_funcs.C (CurrentState): use stringstream
10256
10257         * LaTeX.C (run): use stringstream
10258
10259         * BufferView_pimpl.C (savePosition): use stringstream
10260         (restorePosition): use stringstream
10261         (MenuInsertLyXFile): use stringstream
10262
10263 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
10264
10265         * BufferView.C:
10266         * Bullet.C:
10267         * ColorHandler.C:
10268         * FontInfo.C:
10269         * FontLoader.C:
10270         * LColor.C:
10271         * LaTeXFeatures.C:
10272         * Painter.C:
10273         * gettext.C:
10274         * lyx_gui_misc.C:
10275         * lyxserver.C:
10276         * vspace.C: removed // -*- C++ -*- as first line.
10277
10278         * lyxfind.h:
10279         * version.h: added // -*- C++ -*- as first line.
10280
10281 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10282
10283         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10284
10285         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10286         of string
10287
10288 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10289
10290         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10291         of floats.
10292
10293 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10294
10295         * gettext.C: include LString.h even when --disable-nls is on.
10296
10297 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
10298
10299         * converter.h (Get): changed argument type from int to
10300         FormatList::size_type to avoid unnecessary conversion.
10301
10302         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10303         before using it.
10304
10305 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10306
10307         * gettext.h: include LString.h even when --disable-nls is on.
10308
10309 2001-06-07  Juergen Vigna  <jug@sad.it>
10310
10311         * text.C (BreakAgain): subst spaces with tabs.
10312
10313         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10314         (resizeInsetsLyXText): set force on resizeLyXText.
10315
10316 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10317
10318         * gettext.h (gettext_init):
10319         (locale_init): use a real definition instead of a macro
10320
10321 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10322
10323         * Bufferview_pimpl.C:
10324         * LColor.h:
10325         * LColor.C: further lcolor tidies
10326
10327 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10328
10329         * BufferView_pimpl.C (updateScrollbar): simplify.
10330
10331         * BufferView2.C: don't include insets/insetinfo.h, change
10332         prototype for insertInset and call the Pimpl version. let
10333         updateInset call Pimpl version.
10334
10335         * BufferView.h: move inset_slept to BufferView::Pimpl, move
10336         gotoInset to BufferView::Pimpl
10337
10338 2001-06-01  Juergen Vigna  <jug@sad.it>
10339
10340         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10341         inside a LockingInset (is the update needed at all?).
10342
10343 2001-05-31  Juergen Vigna  <jug@sad.it>
10344
10345         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10346         here not the old one otherwise how should we compare it afterwards
10347         if it's the same!
10348
10349 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10350
10351         * lyxfont.C:
10352         * tabular.C:
10353         * tabular-old.C:
10354         * FontInfo.C: bring C functions into global namespace when
10355         necessary
10356
10357 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10358
10359         * LString.h: make sure config.h has been loaded before LString.h.
10360
10361         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10362         (one for each char read by EatLine!).
10363
10364         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10365         variables.
10366
10367 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10368
10369         * paragraph.C (BreakParagraph): set the inset_owner in the new par
10370         to the same as the par we break from
10371
10372 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10373
10374         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10375
10376         * MenuBackend.C (expand): also create menu entries for wide
10377         versions of the floats.
10378
10379         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10380
10381         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10382
10383         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10384         frontends/Makefile.am
10385
10386         * text2.C: adjust
10387         * text.C: adjust
10388
10389
10390         * tabular.C (getTokenValue): add std::
10391
10392         * tabular-old.C (getTokenValue): add std::
10393         (getTokenValue): ditto
10394         (getTokenValue): ditto
10395
10396         * screen.C (ToggleSelection): adjust
10397
10398         * lyxtext.h: put selection cursors inside a Selection struct.
10399
10400         * lyxfunc.C (moveCursorUpdate): adjust
10401
10402         * lyxfont.C (latexWriteStartChanges): add std::
10403
10404         * lyxfind.C: adjust
10405
10406         * font.h: delete with(char const *, LyXFont const &)
10407
10408         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10409
10410         * FontInfo.C (getFontname): add std::
10411
10412         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10413         (workAreaButtonPress): adjust
10414         (tripleClick): adjust
10415         (update): adjust
10416         (moveCursorUpdate): adjust
10417         (Dispatch): adjust
10418
10419         * BufferView2.C (gotoInset): adjust
10420
10421 2001-05-30  Juergen Vigna  <jug@sad.it>
10422
10423         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10424         to check pspell I add this as default as I now have new pspell
10425         libraries and they seem to use this.
10426
10427 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10428
10429         * text2.C (CutSelection): make the cursor valid before the call to
10430         ClearSelection.
10431
10432 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10433
10434         * kbsequence.C (parse): de-uglify a bit the parsing code, which
10435         relied on 0 terminated strings and other horrors. Bug found due to
10436         the new assert in lyxstring!
10437
10438         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10439         KP_ keys.
10440
10441 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10442
10443         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10444         to latinkeys.bind.
10445
10446         * lyxfunc.C (processKeySym): change method of getting to the
10447         self-insert char.
10448
10449         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10450         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10451         * BufferView_pimpl.[Ch]: here as private methods.
10452
10453 2001-05-28  Juergen Vigna  <jug@sad.it>
10454
10455         * text.C (SetHeightOfRow): added the update() call again as it is
10456         needed to initialize inset dimensions!
10457
10458 2001-05-16  Juergen Vigna  <jug@sad.it>
10459
10460         * text2.C (SetCharFont): Add new function with BufferView * and
10461         bool toggleall parameters for setting insets internal fonts.
10462         (SetFont): Freeze the undo as we may change fonts in Insets and
10463         all this change should be inside only one Undo!
10464
10465         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10466         setting font's in insets as for them we have the SetFont function!
10467
10468 2001-05-15  Juergen Vigna  <jug@sad.it>
10469
10470         * text2.C (ClearSelection): to be sure we REALLY don't have any
10471         selection anymore!
10472
10473         * tabular.C (TeXCellPreamble): fixed the left border problem for
10474         multicolumn cells.
10475
10476 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
10477
10478         * LaTeX.C (deplog): Make sure that the main .tex file is in the
10479         dependancy file
10480
10481 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10482
10483         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10484         LFUN_BREAKPARAGRAPH.
10485
10486         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10487         help test to "internal only", similar for LFUN_INSERT_URL
10488
10489         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10490         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10491         auto_region_delete and deadkeys.
10492
10493 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * LColor.h:
10496         * LColor.C: remove some dead entries, tidy a little
10497
10498 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10499
10500         * lyxfunc.C (processKeySym): comment the Escape handling, remove
10501         commented code.
10502         (Dispatch): implement LFUN_ESCAPE
10503
10504         * commandtags.h: add LFUN_ESCAPE
10505
10506         * LyXAction.C (init): add entry for LFUN_ESCAPE
10507
10508         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10509         Remove commented code.
10510         (insertNote): moved here
10511         (open_new_inset): moved here
10512
10513         * BufferView[2].[Ch]: move insertNote and open_new_inset to
10514         BufferView_pimpl
10515
10516 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10517
10518         * kbmap.C (findbinding): clean it up and make it work correctly.
10519
10520         * lyx_main.C (init): do not pass argc and argv as parameters
10521
10522 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
10523
10524         * buffer.C: fix path for OS/2 & Win32
10525
10526         * lyx_gui.C:
10527         * lyx_main:
10528         * lyx_main.C: Added os:: class.
10529
10530         * os2_defines.h: update
10531
10532 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10533
10534         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10535         better by trying again with reduced state.
10536
10537 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10538
10539         * lyxrc.C (read): print error about invalid key sequence only when
10540         debugging (because not all latinX keysyms are known to some X
10541         servers)
10542
10543         * kbsequence.C (getiso): add a few std:: qualifiers
10544         (getiso): comment out extra return statement.
10545
10546 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10547
10548         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10549         handling.
10550         (Dispatch): enhance the accent inset a bit. (not perfect)
10551
10552 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10553
10554         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10555
10556 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10557
10558         * bufferlist.C (emergencyWrite): fix assert() call
10559
10560 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
10561
10562         * text.C (InsertChar): Added trivial patch to only send the "you
10563         can not do multiple spaces this way" message once during a
10564         session.
10565
10566 2001-05-08  Baruch Even  <baruch@lyx.org>
10567
10568         * Makefile.am: Changed order of libraries to get LyX to link properly
10569         with the gnome frontend.
10570
10571 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10572
10573         * LaTeXFeatures.h: add a std:: qualifier
10574
10575 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10576
10577         * paragraph.C (String): use stringstream
10578
10579 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10580
10581         * paragraph.C (writeFile): remove footflag arg
10582
10583         * buffer.C (makeLaTeXFile): use stringstream
10584         (latexParagraphs): remove footnot gurba
10585
10586         * LaTeXFeatures.C (getPackages): use stringstream
10587         (getMacros): likewise
10588         (getTClassPreamble): likewise
10589         (getFloatDefinitions): new method
10590
10591         * paragraph.C (writeFile): reindent
10592         (Erase): reindent
10593
10594         * WorkArea.h: revert the xpos + etc changes.
10595
10596         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10597
10598         * lyxparagraph.[Ch]: add copy constructor, remove Clone
10599
10600         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10601         (pasteSelection): likewise
10602         * text2.C (CreateUndo): likewise
10603
10604 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10605
10606         * minibuffer.C (peek_event): temporarily reduce the functionality
10607         of the minibuffer (to allow args on lfuns)
10608
10609         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10610         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10611
10612         * buffer.C (readInset): add compability reading of old float
10613         lists, add reading of new style float list.
10614         (readInset): avoid reevaluation of inscmd.getCmdName()
10615         (getLists): reindent
10616
10617         * MenuBackend.C (MenuItem): implement parsing of
10618         md_floatlistinsert and md_floatinsert.
10619         (expand::LastFiles): move initalizaton of iterators out of loop,
10620         avoid reevaluation.
10621         (expand::Documents): introduce typdedef vector<string> Strings,
10622         and use it.
10623         (expand::ExportFormats): introduce typedef vector<Format const *>
10624         Formats, and use it.
10625         (expand): implement FloatListInsert and FloatInsert.
10626
10627         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10628         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10629         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10630
10631         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10632         handling.
10633         (Dispatch::LFUN_FLOAT_LIST): implement
10634
10635 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10636
10637         * LaTeX.C (run): Fix problem with --export code.
10638
10639 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10640
10641         * BufferView.[Ch] (workarea): removed.
10642         (getClipboard) new method; wrapper for workarea()->getClipboard()
10643
10644         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10645         bug.
10646
10647         * WorkArea.h (width, height, xpos, ypos): These methods all
10648         returned the dimensions of the work_area sub-area of WorkArea,
10649         resulting in a position error if the WorkArea were resized. Now
10650         return the dimensions of the entire WorkArea.
10651
10652         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10653
10654 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10655
10656         * LaTeX.C (deplog): correct the syntax of regex reg1
10657
10658 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10659
10660         * undo.C: remove !NEW_INSETS cruft
10661
10662 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10663
10664         * text2.C: remove !NEW_INSETS cruft
10665
10666         * text.C: remove !NEW_INSETS cruft
10667
10668         * tabular.C: remove !NEW_INSETS cruft
10669
10670         * spellchecker.C: remove !NEW_INSETS cruft
10671
10672         * lyxtext.h: remove !NEW_INSETS cruft
10673
10674         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10675
10676         * lyxfunc.C: remove !NEW_INSETS cruft
10677
10678         * lyxfind.C: remove !NEW_INSETS cruft
10679
10680         * lyx_cb.C: remove !NEW_INSETS cruft
10681
10682         * figureForm.C: remove  !NEW_INSETS cruft
10683
10684         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10685
10686         * buffer.[Ch]: remove !NEW_INSETS cruft
10687
10688         * ToolbarDefaults.C: remove !NEW_INSETS cruft
10689
10690         * CutAndPaste.C: remove !NEW_INSETS cruft
10691
10692         * BufferView_pimpl.C: remove !NEW_INSETS cruft
10693
10694         * BufferView2.C: remove !NEW_INSETS cruft
10695
10696         * BufferView.h: remove !NEW_INSETS cruft
10697
10698 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10699
10700         * Lsstream.h: include LString.h before the sstream headers to
10701         fix problem with gcc 2.95.3 and lyxstring
10702
10703 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10704
10705         * lyx_main.C: add using directives when needed for C functions
10706         declared in std:: namespace.
10707
10708 2001-04-27  Juergen Vigna  <jug@sad.it>
10709
10710         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10711         (SetHeightOfRow): comment out the update call should not be needed!
10712
10713 2001-04-13  Juergen Vigna  <jug@sad.it>
10714
10715         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10716         (LyXTabular): tried to minimize operator= operations (and realized
10717         hopfully Lars wish).
10718
10719 2001-04-27  Juergen Vigna  <jug@sad.it>
10720
10721         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10722
10723 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10724
10725         * lyxfunc.C (Dispatch): hack to make listof algorithm work
10726
10727         * buffer.C (readInset): hack to make listof algorithm work
10728
10729         * BufferView_pimpl.C: hack to make listof algorithm work
10730
10731 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10732
10733         * LyXAction.C: removed all !NEW_INSETS cruft
10734         (init): moved lfun_item in method
10735
10736         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10737
10738 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10739
10740         * BufferView2.C (theLockingInset): white space.
10741
10742 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10743
10744         * minibuffer.C: include <iostream>
10745
10746         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10747
10748         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10749
10750         * commandtags.h: add LFUN_TRANSPOSE_CHARS
10751
10752         * text.[Ch] (TransposeChars): new method
10753
10754 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10755
10756         * call message directly through LyXView instead of through LyXFunc
10757         * BufferView2.C: adjust
10758         * BufferView_pimpl.C: adjust
10759         * FontLoader.C: adjust
10760         * buffer.C: adjust
10761         * bufferview_funcs.C: adjust
10762         * converter.C: adjust
10763         * figureForm.C: adjust
10764         * importer.C: adjust
10765         * lyx_cb.C: adjust
10766         * lyx_gui_misc.C: adjust
10767         * lyxfunc.C: adjust
10768         * lyxvc.C: adjust
10769         * text2.C: adjust
10770         + more files in subdirs
10771
10772         * lyxparagraph.h (size): move up int file
10773         (GetLayout): ditto
10774
10775         * adjust all uses of Assert to lyx::Assert.
10776
10777         * BufferView2.C (ChangeCitationsIfUnique): adjust for
10778         lyxfunctional in namespace lyx
10779         * layout.C (hasLayout): ditto
10780         (GetLayout): ditto
10781         (GetLayout): ditto
10782         (delete_layout): ditto
10783         (NumberOfClass): ditto
10784         * converter.C (GetFormat): ditto
10785         (GetNumber): ditto
10786         (Add): ditto
10787         (Delete): ditto
10788         (SetViewer): ditto
10789         * bufferlist.C (getFileNames): ditto
10790         (emergencyWriteAll): ditto
10791         (exists): ditto
10792         (getBuffer): ditto
10793         * MenuBackend.C (hasSubmenu): ditto
10794         (hasMenu): ditto
10795         (getMenu): ditto
10796         * BufferView_pimpl.C (getInsetByCode): ditto
10797
10798 2001-04-18  Juergen Vigna  <jug@sad.it>
10799
10800         * vspace.C (asLatexString): fixed the 100% problem.
10801
10802 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10803
10804         * lyxfunc.C (Dispatch):
10805         * minibuffer.C:
10806         * minibuffer.h: add a few std:: qualifiers
10807
10808 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10809
10810         * minibuffer.[Ch]: reimplement so that commands is initiated and
10811         run from lyxfunc, simplified som handling, and made the completion
10812         and history code for complete. wip.
10813
10814         * lyxfunc.C (processKeySym): call message
10815         (miniDispatch): new temporary method
10816         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10817         (LFUN_MESSAGE): implement
10818         (LFUN_MESSAGE_PUSH): implement
10819         (LFUN_MESSAGE_POP): implement
10820         (initMiniBuffer): the initial/defualt minibuffer message.
10821
10822         * lyxfont.[Ch]: inline some more getters
10823
10824         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10825
10826         * lyx_gui_misc.[Ch] (WriteStatus): remove method
10827
10828         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10829         (AutoSave): use LFUN_MESSAGE
10830         (Reconfigure): ditto
10831
10832         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10833
10834         * figureForm.C: use LFUN_MESSAGE
10835
10836         * converter.C (runLaTeX): use LFUN_MESSAGE
10837
10838         * bufferview_funcs.C: use LFUN_MESSAGE
10839         (Melt): ditto
10840         (changeDepth): ditto
10841
10842         * bufferparams.h: use boost::
10843
10844         * bufferlist.h: inherit privately from noncopyable
10845
10846         * bufferlist.C (loadLyXFile): remove some commented code.
10847
10848         * buffer.C (runChktex): use LFUN_MESSAGE
10849
10850         * ShareContainer.h: inherit privately from noncopyable
10851
10852         * ParagraphParameters.[hC] (depth): inline it.
10853
10854         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10855         methods.
10856         (message): new method
10857         (messagePush): ditto
10858         (messagePop): ditto
10859         (show): init minibuffer
10860         (showState): direct call
10861
10862         * LaTeX.[Ch]: inherit privately from noncopyable
10863         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10864         instead of WriteStatus.
10865
10866         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10867
10868         * BufferView_pimpl.C (buffer): don't init minibuffer
10869         (workAreaButtonPress): use LFUN_MESSAGE
10870         (workAreaButtonRelease): ditto
10871         (savePosition): ditto
10872         (restorePosition): ditto
10873         (MenuInsertLyXFile): ditto
10874         (workAreaExpose): don't init minibuffer
10875         (update): remove commented code, simplify
10876
10877         * BufferView2.C (openStuff): use LFUN_MESSAGE
10878         (toggleFloat): ditto
10879         (menuUndo): ditto
10880         (menuRedo): ditto
10881         (copyEnvironment): ditto
10882         (pasteEnvironment): ditto
10883         (copy): ditto
10884         (cut): ditto
10885         (paste): ditto
10886         (gotoInset): ditto
10887         (updateInset): remove some commented code
10888
10889         * lastfiles.h: inherit privately from noncopyable
10890         * layout.h: ditto
10891         * lyx_gui.h: ditto
10892         * lyx_main.h: ditto
10893         * lyxlex.h: ditto
10894         * lyxlex_pimpl.h: ditto
10895
10896         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10897         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10898         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10899
10900         * LyXAction.h: inherit privately from noncopyable, add methods
10901         func_begin, func_end, returning iterators to the func map.
10902
10903         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10904         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10905         (func_begin): new method
10906         (func_end): new method
10907
10908         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10909         and not)
10910         (copySelection): ditto
10911         (pasteSelection): ditto
10912
10913         * BufferView.C: whitespace change
10914         * BufferView.h: inherit privately from noncopyable
10915
10916 2001-04-16  Allan Rae  <rae@lyx.org>
10917
10918         * tabular-old.C (l_getline):
10919         * spellchecker.C (sc_check_word):
10920         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10921         an unrecognised preprocessor directive.  So ensure they're wrapped.
10922
10923 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
10924
10925         * src/exporter.C (Export): Give an error message when path to file
10926         contains spaces.
10927
10928 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
10929
10930         * LaTeX.C (deplog): Always check that foundfile exists.
10931
10932 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10933
10934         * lyx_main.h:
10935         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10936
10937 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10938
10939         * tabular.[Ch] (getLabelList): implement new method
10940
10941         * minibuffer.h: comment ouf setTiimer
10942
10943         * minibuffer.C (ExecutingCB): constify res
10944         (peek_event): constify s
10945         (Set): constify ntext
10946         (Init): constify nicename
10947
10948         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10949
10950         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10951         (savePosition): use two params to Minibuffer::Set
10952         (restorePosition): ditto
10953
10954 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10955
10956         * lyx_main.C: include language.h
10957
10958         * Makefile.am (lyx_main.o): add language.h
10959
10960 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10961
10962         * exporter.C:
10963         * paragraph.C:
10964         * screen.C:
10965         * tabular.C:
10966         * CutAndPaste.C: include gettext.h
10967
10968         * lyxfont.h: remove old hack with ON and OFF.
10969
10970         * lyxparagraph.h:
10971         * lyxfont.h: do not include language.h...
10972
10973         * BufferView2.C:
10974         * LaTeXFeatures.C:
10975         * Painter.C:
10976         * bufferview_funcs.C:
10977         * font.C:
10978         * lyxfont.C:
10979         * text.C:
10980         * text2.C:
10981         * trans_mgr.C:
10982         * paragraph.C: ... but do it here instead
10983
10984 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10985
10986         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10987
10988         * tabular.C: small reformat
10989
10990         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10991         NEW_INSETS version
10992         (GetChar): ditto
10993         (BreakParagraph): ditto
10994         (SetOnlyLayout): ditto
10995         (SetLayout): ditto
10996
10997         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10998         with one arg less.
10999
11000         * lastfiles.C: removed most using decl, add std:: where needed
11001
11002         * buffer.C: ws changes
11003
11004         * MenuBackend.C (class compare_format): put into anon namespace
11005         (expand): constify label, names, action, action2
11006         (expand):
11007
11008         * text.C (SingleWidth): constify font
11009         (IsBoundary): constify rtl2
11010         (GetVisibleRow): constify ww
11011
11012         * LaTeX.C (deplog): constify logfile
11013
11014         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11015         start_x, end_x
11016         (workAreaExpose): constify widthChange, heightChange
11017
11018         * lyxrow.C (par): moved
11019         (height): moved
11020         (next): moved
11021         * lyxrow.h: as inlines here
11022
11023         * lyxfont.h (shape): moved from lyxfont.C
11024         (emph): moved from lyxfont.C
11025
11026         * lyxfont.C (LyXFont): use initialization list for all
11027         constructors
11028         (shape): move to lyxfont.h as inline
11029         (emph): move to lyxfont.h as inline
11030
11031
11032 2001-04-04  Juergen Vigna  <jug@sad.it>
11033
11034         * vspace.C: had to include stdio.h for use of sscanf
11035
11036 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11037
11038         * BufferView.h:
11039         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11040         independent of xforms.
11041
11042 2001-04-02  Juergen Vigna  <jug@sad.it>
11043
11044         * spellchecker.C: fixed namespace placing!
11045
11046 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11047
11048         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11049         the LyXParagraph * is 0.
11050
11051 2001-03-29  Juergen Vigna  <jug@sad.it>
11052
11053         * vspace.C: added support for %, c%, p%, l%.
11054         (stringFromUnit): added helper function.
11055         (asLatexString): changed to give right results for the %-values.
11056
11057         * buffer.C: convert the widthp in a width%.
11058
11059 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11060
11061         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11062         figureForm.[Ch].
11063
11064         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11065         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11066
11067         * lyx_cb.[Ch]: see above.
11068
11069         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11070         form1.[Ch].
11071
11072         * form1.[Ch]:
11073         * lyx.[Ch]: replaced by figure_form.[Ch].
11074
11075         * lyx_gui.C:
11076         * lyx_gui_misc.C:
11077         * lyxfunc.C: changed headers associated with above changes.
11078
11079 2001-03-27  Juergen Vigna  <jug@sad.it>
11080
11081         * BufferView_pimpl.C: set the temporary cursor right!
11082
11083 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11084
11085         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11086
11087 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11088
11089         * LString.h: removed "using std::getline"!
11090
11091         * BufferView_pimpl.C (Dispatch): changes due to changes in
11092         InsetInclude::Params.
11093
11094         * buffer.C (tag_name): removed redundant break statements as they were
11095         producing lots of warnings with my compiler.
11096
11097 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11098
11099         * LString.h: add "using std::getline" when using the real <string>.
11100
11101 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11102
11103         * buffer.C: removed bitset usage.
11104         PAR_TAG moved to an anonymous name space.
11105         (tag_name): new funtion, also in the anonymous namespace.
11106         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11107         (makeDocBookFile): clean code. Completed transition from string arrays
11108         to string vectors.
11109         (SimpleDocBookOnePar): code clean.
11110
11111 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11112
11113         * tabular.C: add some comments.
11114
11115 2001-03-22  Juergen Vigna  <jug@sad.it>
11116
11117         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11118         compatibility read a bit and fixed bug with minipage in different
11119         depth.
11120
11121 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11122
11123         * buffer.C (pop_tag): removed.
11124         (push_tag): removed.
11125         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11126         array replaced with vector. Added support for CDATA sections.
11127         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11128         at any nest level.
11129         (makeDocBookFile): XML conformant declaration of CDATA section,
11130         fixed bug related to <emphasis> in the first paragraph char.
11131         (sgmlOpenTag): exclude empty tags.
11132         (sgmlCloseTag): ditto.
11133
11134         * buffer.h (pop_tag): removed.
11135         (push_tag): removed.
11136
11137 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
11138
11139         * language.h (Languages): added size_type and size().
11140
11141 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11142
11143         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11144         response on compability reading of minipages. One probliem is that
11145         the old usage of minipages was «flertydig»
11146
11147         * several files here and in subdirs: don't use static at file
11148         scope use anon namespaces instead.
11149
11150 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
11151
11152         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11153         LaTeX output. This is necessary for Literate document
11154         processing.
11155
11156 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11157
11158         * buffer.C: insert hfill when needed.
11159
11160         * tabular.C (l_getline): use string::erase, small whitespace change.
11161
11162         * BufferView_pimpl.C: try the anon namespace.
11163         * WorkArea.C: ditto
11164
11165 2001-03-16  Juergen Vigna  <jug@sad.it>
11166
11167         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11168         otherwise it won't open options-dialogs.
11169
11170         * buffer.C: honor pextraWidth(p) on converting minipages.
11171
11172         * tabular.C (l_getline): changed the functions to strip trailing \r.
11173
11174 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
11175
11176         * BufferView_pimpl.C:
11177         * minibuffer..C: added "using SigC::slot" declaration.
11178
11179 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11180
11181         * lyxlex_pimpl.h: noncopyable is in namespace boost.
11182
11183         * text2.C: ditto
11184
11185         * text.C: ditto
11186
11187         * paragraph.C: ditto
11188
11189         * lyxtext.h: NO_PEXTRA
11190
11191         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11192
11193         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11194         * ParameterStruct.h: ditto
11195         * ParagraphParameters.h: ditto
11196         * lyxparagraph.h: ditto
11197
11198 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11199
11200         * buffer.C: add compability for minipage alignment.
11201         (latexParagraphs): remove unwanted pextra check.
11202
11203         * several files: remove CXX_WORKING_NAMESPACES
11204
11205         * buffer.C (pop_tag): tie is in namespace boost
11206
11207         * BufferView.h: noncopyable is in namespace boost
11208         * lyxlex.h: ditto
11209         * lyx_main.h: ditto
11210         * lyx_gui.h: ditto
11211         * layout.h: ditto
11212         * lastfiles.h: ditto
11213         * bufferlist.h: ditto
11214         * ShareContainer.h: ditto
11215         * LyXView.h: ditto
11216         * LyXAction.h: ditto
11217         * LaTeX.h: ditto
11218
11219 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11220
11221         * Merging changes from BRANCH_MVC back into HEAD.
11222
11223         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11224
11225 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
11226
11227         * BufferView_pimpl.C: change from intl.C
11228
11229         * combox.h:
11230         * combox.C:
11231         * Makefile.am: move combox.*
11232
11233         * form1.h:
11234         * form1.C:
11235         * lyx_gui.C:
11236         * intl.h:
11237         * intl.C: remove dialog (covered by prefs)
11238
11239 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11240
11241         * lyxfunc.C (Dispatch): removed redundant break statement.
11242
11243 2001-03-14  Juergen Vigna  <jug@sad.it>
11244
11245         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11246
11247 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11248
11249         * buffer.C: add hack to fix compability reading of minipages.
11250
11251 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
11252
11253         * buffer.C (getLists): Cleanup.
11254
11255 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11256
11257         * lyxfont.C (update): don't honor toggleall on font size.
11258
11259 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
11260
11261         * bmtable.c:
11262         * bmtable.h:
11263         * Makefile.am: moved to frontends/xforms/
11264
11265         * lyx_gui_misc.C:
11266         * lyxfunc.C:
11267         * BufferView_pimpl.C: changes for moved mathpanel
11268
11269 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * gettext.h: fix gettext_init() in --disable-nls
11272
11273 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11274
11275         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11276
11277 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * lyx.C:
11280         * lyx.h: strip external form
11281
11282 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * BufferView_pimpl.C: add comment, destroySplash()
11285
11286 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * BufferView_pimpl.C:
11289         * LyXAction.C:
11290         * buffer.C:
11291         * commandtags.h:
11292         * lyxfunc.C: use re-worked insetinclude
11293
11294 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11295
11296         * buffer.C: add using std::stringstream.
11297
11298         * lyx_cb.C: readd using std::ios.
11299
11300         * buffer.C: add using std::map.
11301
11302         * BufferView_pimpl.C: add using std::vector.
11303
11304         * ShareContainer.h: add std:: to swap.
11305
11306         * buffer.h: add some typedefs
11307         * buffer.C (getLists): use them
11308         (getLists): renamed from getTocList.
11309         add a counter for the different float types and use it in the
11310         generated string.
11311         (getLists): use the same counter for the NEW_INSETS and the "non"
11312         NEW_INSETS
11313
11314         * lyx_cb.h: remove unused items, includes, using etc.
11315
11316         * ShareContainer.h: remove some commented code, add more comments
11317         and "documentation".
11318
11319 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11320
11321         * buffer.C (getTocList): make the list also when NEW_INSETS is
11322         defined.
11323
11324         * buffer.h: remove TocType
11325
11326         * buffer.C (getTocList): change to return a map<string,
11327         vector<TocItem> >, implement for dynamic number of list.
11328
11329         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11330         * text2.C (PasteSelection): adjust
11331         * CutAndPaste.C (pasteSelection): adjust
11332
11333         * FloatList.C (FloatList): update from the new_insets branch.
11334         * Floating.[Ch]: ditto
11335         * LaTeXFeatures.C: ditto
11336         * buffer.C: ditto
11337         * lyxlex_pimpl.C: ditto
11338
11339         * paragraph.C (Last): remove when NEW_INSETS is defined.
11340
11341         * other file: changes because of the above.
11342
11343 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11344
11345         * lyxparagraph.h: rename next to next_, previous to previous_,
11346         make them private for NEW_INSETS. Rename Next() to next(),
11347         Previous() to previous().
11348
11349         * other files: changes because of the above.
11350
11351 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
11352
11353         * BufferView.h:
11354         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11355         problem.
11356
11357 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11358
11359         * main.C (main): pass lyx_localedir to gettext_init().
11360
11361         * gettext.h: remove locale_init and gettext_init macros
11362
11363         * gettext.C (locale_init): new function
11364         (gettext_init): new function
11365
11366         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11367         setlocale().
11368
11369 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
11370
11371         * Moved credits to frontends:
11372         * credits.[Ch]: removed
11373         * credits_form.[Ch]: removed
11374         * lyx_gui_misc.C: remove credits stuff
11375         * Makefile.am:
11376
11377 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11378
11379         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11380
11381         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11382         unneeded destructor.
11383
11384         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11385         a standalone pointer again.
11386
11387         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11388
11389 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * Makefile.am:
11392         * filedlg.h:
11393         * filedlg.C:
11394         * LyXAction.C:
11395         * ToolbarDefaults.C:
11396         * bufferlist.C:
11397         * commandtags.h:
11398         * form1.C:
11399         * form1.h:
11400         * lyx_cb.C:
11401         * lyx_cb.h:
11402         * lyxfunc.h:
11403         * lyxfunc.C:
11404         * BufferView_pimpl.C: use new file dialog in GUII
11405
11406         * lyx_cb.h:
11407         * lyx_cb.C: remove LayoutsCB to Toolbar
11408
11409 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11410
11411         * ShareContainer.h (get): add std:: qualifier
11412
11413 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11414
11415         * ShareContainer.h: define a proper ShareContainer::value_type
11416         type (and use typename to please compaq cxx)
11417
11418 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11419
11420         * lyxparagraph.h: move serveral local vars to
11421         ParameterStruct/ParagraphParameters., use ShareContainer in
11422         FontTable., make vars in FontTable private and add getter and
11423         setter.
11424
11425         * paragraph.C: changes because of the above.
11426
11427         * lyxfont.h: remove copy constructor and copy assignment. (the
11428         default ones is ok), move number inside FontBits. move inlines to
11429         lyxfont.C
11430
11431         * lyxfont.C: add number to initializaton of statics, move several
11432         inlines here. constify several local vars. some whitespace
11433         cleanup. Dont hide outerscope variables.
11434
11435         * Spacing.h: add two new constructors to match the set methods.
11436
11437         * ShareContainer.h: new file, will perhaps be moved to support
11438
11439         * ParameterStruct.h: new file
11440
11441         * ParagraphParameters.h: new file
11442
11443         * ParagraphParameters.C: new file
11444
11445         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11446         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11447
11448         * BufferView_pimpl.C: ParagraphParameter changes.
11449         * buffer.C: Likewise.
11450         * bufferview_funcs.C: Likewise.
11451         * text.C: Likewise.
11452         * text2.C: Likewise.
11453
11454 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11455
11456         * lyxfind.C (LyXReplace): do not redefine default argument in
11457         implementation.
11458         (IsStringInText): ditto
11459         (SearchForward): ditto
11460         (SearchBackward): ditto
11461
11462 2001-03-06  Juergen Vigna  <jug@sad.it>
11463
11464         * lyxfind.C (IsStringInText): put parentes around expressions.
11465
11466 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
11467
11468         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11469
11470 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
11471
11472         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11473
11474         * stl_string_fwd.h: add comment
11475
11476         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11477
11478         * tabular.h:
11479         * tabular.C: remove unused DocBook methods
11480
11481         * intl.C:
11482         * language.C:
11483         * paragraph.C:
11484         * buffer.C:
11485         killed DO_USE_DEFAULT_LANGUAGE
11486
11487 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11488
11489         * lyx_gui.C: do not include language.h.
11490
11491         * bufferview_funcs.C (ToggleAndShow): do not provide optional
11492         arguments in function implementation.
11493
11494 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11495
11496         * BufferView_pimpl.C: add <ctime>
11497
11498 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11499
11500         * BufferView_pimpl.C: add using std::find_if
11501
11502 2001-02-27  José Matos  <jamatos@fep.up.pt>
11503
11504         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11505         by OnlyPath.
11506
11507 2001-02-11  José Matos  <jamatos@fep.up.pt>
11508
11509         * buffer.C (makeDocBookFile): command styles now have a parameter as
11510         "title" by default.
11511
11512 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
11513
11514         * layout_forms.[Ch]: removed
11515         * lyx_cb.[Ch]: out character
11516         * lyx_gui.C: out character
11517         * lyx_gui_misc.C: out character
11518         * bufferview_funcs.C: : out character,
11519         added toggleall as parameter in ToggleAndShow
11520
11521 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
11522
11523         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11524
11525         * text2.C (SetCurrentFont): Disable number property at boundary.
11526
11527 2001-02-26  Juergen Vigna  <jug@sad.it>
11528
11529         * lyxfunc.C (getStatus): added a string argument override function so
11530         that this is correctly called from LyXFunc::Dispatch if it contains a
11531         do_not_use_argument which is used!
11532         (Dispatch): added check for "custom" export and call appropriate func.
11533
11534 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
11535
11536         * lyxrc.C: Add language_command_local, language_use_babel and
11537         language_global_options.
11538
11539         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11540
11541         * buffer.C (makeLaTeXFile): Use language_use_babel and
11542         language_global_options.
11543
11544 2001-02-23  Juergen Vigna  <jug@sad.it>
11545
11546         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11547         which works with LyXText and putted it inside BufferView. Here now we
11548         only call for that part the BufferView::Dispatch() function.
11549
11550         * BufferView.C (Dispatch): added.
11551
11552         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11553         functions which needs to use a LyXText over from LyXFunc.
11554         (MenuInsertLyXFile): added
11555         (getInsetByCode): added
11556         (moveCursorUpdate): added
11557         (static TEXT): added
11558
11559 2001-02-22  Juergen Vigna  <jug@sad.it>
11560
11561         * BufferView_pimpl.C (update): call a status update to see if LyXText
11562         needs it.
11563
11564 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11565
11566         * vc-backend.C (revert): implement for CVS
11567         (getLog): implement for CVS
11568
11569 2001-02-20  Juergen Vigna  <jug@sad.it>
11570
11571         * text2.C (ClearSelection): added BufferView param for inset_owner call
11572
11573         * lyxfunc.C (TEXT): added this function and use it instead of
11574         directly owner->view()-text of getLyXText().
11575
11576 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
11577
11578         * src/layout_forms.C: out preamble
11579         * src/layout_forms.h: out preamble
11580         * src/lyx_cb.C: out preamble
11581         * src/lyx_cb.h: out preamble
11582         * src/lyx_gui.C: out preamble
11583         * src/lyx_gui_misc.C: out preamble
11584         * src/lyxfunc.C: connect with guii preamble
11585
11586 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
11587
11588         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11589
11590 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
11591
11592         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11593         whether to run bibtex.
11594
11595 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
11596
11597         * Makefile.am (lyx_SOURCES): Remove BackStack.h
11598
11599 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11600
11601         * Makefile.am (lyx_SOURCES): removed bibforms.h
11602
11603         * vspace.h: doxygen
11604
11605         * text.C (GetVisibleRow): make several local vars const
11606
11607         * tabular.C: small cleanup.
11608
11609         * lyxserver.C (callback): use compare instead of strncmp
11610
11611         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11612         inlines to after class or to paragraph.C
11613
11614         * lyxfont.h: remove friend operator!=
11615
11616         * converter.h: move friend bool operator< to non friend and after
11617         class def.
11618
11619         * combox.h: small cleanup
11620
11621         * buffer.h: doxygen, remove unused constructor, move inclas inlies
11622         to inlines after class def.
11623
11624         * buffer.C (pop_tag): use string operations instead of strcmp
11625
11626         * bmtable.c: doxygen, small cleanup
11627
11628         * LaTeX.h: remove friend operator==
11629
11630 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
11631
11632         * screen.C:
11633         * lyxrc.[Ch]:
11634         * lyxfunc.C:
11635         * lyxfont.[Ch]:
11636         * lyx_cb.C:
11637         * intl.[Ch]:
11638         * commandtags.h:
11639         * buffer.C:
11640         * WorkArea.[Ch]:
11641         * LyXAction.C:
11642         * BufferView_pimpl.C:
11643         * BufferView.[Ch]: remove cruft
11644
11645 2001-02-14  Juergen Vigna  <jug@sad.it>
11646
11647         * lyxfunc.C: removed #if 0 unused code
11648
11649         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11650
11651         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11652
11653         * text2.C (SetSelection): added a BufferView * parameter
11654
11655 2001-02-13  Juergen Vigna  <jug@sad.it>
11656
11657         * lyxfunc.C (Dispatch): fixed protected blank problem.
11658         * BufferView2.C (protectedBlank): added LyxText * parameter.
11659
11660         * tabular.C (AppendRow): forgot to set row_info of newly added row.
11661         (AppendColumn): same as above for column_info.
11662
11663         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11664         (moveCursorUpdate): use a LyXText param for support of InsetText.
11665
11666         * BufferView_pimpl.C (doubleClick): added support for InsetText.
11667         (tripleClick): ditto
11668
11669         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11670
11671         * BufferView_pimpl.C (update): added LyXText param to honor insets.
11672
11673         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11674
11675         * text2.C (SetSelection): set correct update status if inset_owner
11676         (ToggleFree): ditto
11677
11678 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
11679
11680         * tabular.C: remove some commented code.
11681
11682 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
11683
11684         * BufferView_pimpl.C: call hideSplash()
11685
11686         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11687
11688         * include_form.h:
11689         * bibforms.h: remove
11690
11691         * lyxfunc.C:
11692         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11693           add LFUN_CHILD_CREATE
11694
11695         * counters.h: fix tiny typo
11696
11697         * lyx_cb.C:
11698         * lyx.h:
11699         * lyx_gui.C:
11700         * lyx.C: move splash to frontends/xforms/
11701
11702         * lyx_gui_misc.C: move Include and Bibform to frontends
11703
11704         * lyxvc.h: clarify comment
11705
11706         * vspace.C: tiny housekeeping
11707
11708 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
11709
11710         * text.C (PrepareToPrint): RTL Fix.
11711
11712         * paragraph.C (GetUChar): New method.
11713         (String):  Use GetUChar.
11714
11715         * buffer.C (asciiParagraph): Use GetUChar.
11716
11717 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
11718
11719         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11720
11721 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * buffer.h:
11724         * buffer.C: rename to getLogName(), handle
11725           build log / latex log nicely
11726
11727 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11728
11729         * MenuBackend.C:
11730         * MenuBackend.h: remove support for reference menuitem type.
11731
11732 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * BufferView_pimpl.C: housekeeping
11735         * BufferView_pimpl.h:
11736         * LyXView.h:
11737         * Makefile.am:
11738         * Timeout.C:
11739         * Timeout.h:
11740         * minibuffer.h: move Timeout GUI-I
11741
11742 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
11743
11744         * lyxrc.C (read): Update converters data-structures.
11745
11746 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
11747
11748         * LaTeX.h (operator!=): add operator != for Aux_Info
11749
11750 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
11751
11752         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11753
11754         * LaTeXLog.C: deleted, useful code moved to Buffer
11755
11756         * buffer.h:
11757         * buffer.C: new function getLatexLogName()
11758
11759         * lyx_gui_misc.C:
11760         * lyx_gui.C:
11761         * lyxvc.C:
11762         * lyxvc.h:
11763         * lyxfunc.C: use frontends for LaTeX and VC logs
11764
11765 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11766
11767         * LaTeX.h: yet another std:: that Allan forgot.
11768
11769         * Variables.C (set): renamed from isset(), because this clashes
11770         with some HP-UX macros (grr).
11771
11772 2001-02-06  Allan Rae  <rae@lyx.org>
11773
11774         * LaTeX.h: Another bug fix.  Missing std:: this time.
11775
11776 2001-02-04  Allan Rae  <rae@lyx.org>
11777
11778         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11779         floats problem. I've left it commented out because it's not quite
11780         correct.  It should also test that the current object is a table or
11781         figure inset.  But I haven't gotten around to figuring out how to do
11782         that.  I *think* it'll be something like: "table" == inset.type()
11783
11784         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11785         bool.
11786
11787 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
11788
11789         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11790         all the citation/databases/styles in the auxilary file.
11791         (run): Rerun latex if there was a babel language error.
11792
11793 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
11794
11795         * text.C (Backspace): Preserve the font when changing newline char
11796         with a space.
11797         (BreakParagraph): If the cursor is before a space, delete the space.
11798
11799         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11800
11801 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
11802
11803         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11804         new argument (code).
11805         (ChangeCitationsIfUnique): New method.
11806
11807         * paragraph.C (GetPositionOfInset): Handle bibkey.
11808
11809 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11810
11811         * BufferView_pimpl.h: change type of Position::par_pos to
11812         LyXParagraph::size_type.
11813
11814 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
11815
11816         * BufferView_pimpl.C (savePosition, restorePosition): Write
11817         messages to minibuffer.
11818
11819 2001-01-28  José Matos  <jamatos@fep.up.pt>
11820
11821         * buffer.C (makeDocBookFile): adds support for document language.
11822         A silly restriction on the name of LatexCommand types where removed.
11823         Added support for CDATA sections, allows to chars unescaped, used
11824         among others in code, to avoid escape < and >.
11825
11826 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11827
11828         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11829         saved positions instrad of a stack. Furthermore, a position is
11830         stored using paragraph id/paragraph position.
11831
11832         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11833         Remove LFUN_REF_BACK.
11834
11835 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11836
11837         * converter.C (dvipdfm_options): New method.
11838
11839 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11840
11841         * vspace.C (isValidLength): Fix for empty input string.
11842
11843 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11844
11845         * LyXAction.C (init): change description of LFUN_FIGURE to
11846         "Insert Graphics"
11847
11848 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11849
11850         * LaTeX.C: add using directive
11851
11852 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11853
11854         * MenuBackend.C (expand): Fix the sorting of the formats.
11855
11856 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
11857
11858         * lyx_main.C: tiny error message fix
11859
11860 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11861
11862         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11863         calling fl_initialize(). This fixes the problem with ',' as
11864         decimal separator in text files.
11865
11866 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11867
11868         * trans.C (process): Fix the keymap bug.
11869
11870 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
11871
11872         * LaTeX.C (scanAuxFiles): New method. Provides support for
11873         multiple bibliographies (when using the bibtopic/bibunits pacakges).
11874         (scanLogFile) Scan for "run BibTeX" messages.
11875
11876         * buffer.C (makeLaTeXFile): Do not load the ae package when using
11877         OT1 font encoding. Also, load the aecompl package if the ae
11878         package is loaded.
11879
11880         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11881
11882 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11883
11884         * texrow.C (increasePos): turn two error messages into debug
11885         messages.
11886
11887 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
11888
11889         * LaTeX.C (scanAux): Handle the \@input macro.
11890         (runBibTeX): Use scanAux().
11891
11892         * language.C (latex_options_): New field.
11893
11894         * LaTeXFeatures.C (getMacros): Add language macros.
11895
11896         * buffer.C (makeLaTeXFile): Small fix.
11897
11898 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11899
11900         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11901
11902         * text2.C: add a using directive.
11903
11904 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
11905
11906         * BufferView2.C:
11907         * lyx_gui_misc.h:
11908         * lyxfr1.C:
11909         * lyxfunc.C: kill LyXBell.
11910
11911 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
11912
11913         * text.C (IsBoundary): Remove the error message
11914
11915         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11916
11917         * lyxrc.C (setDefaults): Correct initialization value for
11918         font_norm_type.
11919
11920 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
11921
11922         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11923         gotoError().
11924
11925         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11926         and GotoNextNote().
11927
11928         * src/LyXAction.C: Added reference-next.
11929
11930         * text.C (InsertChar): Use contains instead of strchr.
11931
11932         * lyx_cb.C (MenuInsertLabel): Enable default value code.
11933
11934 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
11935
11936         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11937         alignment commands (when needed).
11938
11939         * text.C (InsertChar): Add ':' to number separator chars.