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