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