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