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