]> git.lyx.org Git - features.git/blob - src/ChangeLog
File format up to 238.
[features.git] / src / ChangeLog
1 2004-12-03  José Matos <jamatos@lyx.org>
2
3         * buffer.C: format up to 238.
4
5 2004-12-03  José Matos  <jamatos@lyx.org>
6
7         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
8
9 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
10
11         * cursor.C (goUpDown): remove call to idxUpDown2
12
13 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
14
15         * tabular.[Ch]: use size_t-like types for cell, row and column
16         indices
17
18 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * lyxfunc.C (getStatus): do not lose previous information when
21         calling BufferView::getStatus; do not set a default "Command
22         disabled" message at the beginning, but just before returning.
23
24 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
25
26         * cursor.h (getStatus): add better comment from src/cursor.C
27
28 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * text3.C (getStatus): return false when the lfun is not handled
31
32 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
33
34         * broken_headers.h: remove
35
36         * Makefile.am (lyx_SOURCES): remove broken_headers.h
37
38 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
39
40         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
41         offset_ref accessors
42
43         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
44         top_y_, merge fitcursor with update
45         (updateScrollbar, scrollDocView, fitCursor, center, update): new
46         coord scheme
47         (metrics): introduce
48         (workAreaDispatch): adapt to new coord scheme
49         (redoCurrentBuffer): remove
50
51         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
52
53         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
54         CurStatus enum.
55
56         * coordcache.[Ch]: add paragraph cache and helpers
57
58         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
59         adjust everywhere
60
61         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
62         (targetX, setTargetX): introduce
63
64         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
65         baseline -> ascent, as the rest of lyx
66
67         * lyxtext.h: remove redoParagraphs, updateParPositions,
68         fullRebreak, redoParagraphInternal. move dist to anon namespace in
69         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
70         have ascent/descent (ascent is ascent of first par)
71
72         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
73         step of BufferView
74
75         * paragraph.[Ch]: unify dimension handling with the rest of lyx
76
77         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
78
79         * pariterator.C: fix infinite loop introduced in par->pit renaming
80
81         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
82         in insets and LyXText, draw two off-screen paragraphs using
83         NullPainter, and adapt to new coord scheme
84
85         * text.C:
86         * text2.C:
87         * text3.C: adapt lfun handlers to the new coord scheme, which
88         means: there's only guaranteed coord information for onscreen pars
89         plus one above and one below. This implies that one can do search
90         from y coordinates in the range [-1,workHeight]
91
92 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
93
94         * rename a lot of InsetOld to InsetBase
95
96 2004-11-25  Angus Leeming  <leeming@lyx.org>
97
98         * BufferView_pimpl.C:
99         * lyx_cb.C:
100         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
101
102 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
103
104         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
105         call BufferView::getStatus if LCursor::getStatus did nothing
106         (setStatusMessage, getStatusMessage): removed.
107
108         * FuncStatus.C (message): new methods. Used to provide an error
109         message indicating why a command is disabled.
110         (clear, |=, FuncStatus): update for message.
111
112 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
113
114         * lyxfunc.C (dispatch): always call sendDispatchMessage
115
116 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
117
118         * BufferView.C:
119         * BufferView_pimpl.C:
120         * CutAndPaste.C:
121         * FontIterator.C:
122         * buffer.C:
123         * cursor.C:
124         * cursor_slice.[Ch]:
125         * dociterator.[Ch]:
126         * lyxfind.C:
127         * paragraph_funcs.C:
128         * pariterator.C:
129         * rowpainter.C:
130         * text.C:
131         * text2.C:
132         * text3.C:
133         * undo.C: par->pit renaming
134
135 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
136
137         * tabular.C (cellstruct): use initialization, store a shared_ptr
138         to insettext instead of the insettext directly, adjust to fit.
139         (operator=):  new function
140         (swap): new function
141         (rowstruct): use initialization
142         (columnstruct): use initialization
143         (ltType): use initialization
144
145
146         * lyxlength.h (swap): new function
147
148         * LColor.[Ch] (operator=): use the common semantics
149
150 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
151
152         * lyxfind.C (findNextChange): update the bufferview after setting
153         the selection.
154
155 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
158         number of InsetOptArgs has already been inserted.
159
160         * output_latex.C (latexOptArgInsets): new method. This outputs all
161         the optarg insets, up to the limit defined in the layout file.
162         (optArgInset): removed
163         (TeXOnePar): call latexOptArgInsets; correctly update texrow
164
165 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         * paragraph.C (isLetter): remove special spellchecker-related
168         code; return true also for digits
169         (isWord, isKomma): remove
170
171         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
172         * lyxfind.C (MatchString()): use isLetter instead of isWord
173
174 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
175
176         * pariterator.h (operatir=): comment out un-implemented member
177         function.
178
179         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
180         static cast.
181
182 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
183
184         * lyxfont.h: include LColor.h to satisfy concept checks.
185
186 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
187
188         * pariterator.h: add typdefs for value_type, difference_type,
189         pointer and reference to satisfy concept checks. Also add default
190         constructor for same reason.
191
192         * pariterator.C (operator++): add post-increment operator to
193         satisfy concept checks.
194
195         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
196         checks.
197
198         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
199
200         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
201         checks. Also rename base_type to BaseType to follow naming
202         standard better.
203
204         * FloatList.h: include Floating.h to satisfy concept checks.
205
206 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * lyxfunc.C (getStatus): when the origin of the request is menu or
209         toolbar, and the LyXView does not have focus, do as if there was
210         no buffer (bug 1720)
211
212         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
213         FuncRequest to individual entries of LFUN_SEQUENCE
214
215 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
216
217         * output_latex.C (TeXOnePar): override runparams.moving_arg
218         according to the needprotect value of the current paragraph (bug
219         1739)
220
221         * paragraph.C (simpleTeXOnePar): no need to override
222         runparams.moving_args here
223
224 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
225
226         * vspace.C: fix off-by-one-error, related to fix #1682
227
228 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
229
230         * lengthcommon.C: a more general fix for bug 1682
231
232 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
233
234         * text.C (backspace): fix crash
235
236 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
237
238         * format.[Ch] (getFormatFromFile): new method
239         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
240
241 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
244
245 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
246
247         * lyxfunc.C (dispatch): remove the verbose argument
248         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
249         instead
250
251         * kbmap.C (defkey): set the origin of func to KEYBOARD
252
253         * MenuBackend.C (MenuItem):
254         * ToolbarBackend.C (add): set the origin of func to UI
255
256         * funcrequest.[Ch]: add origin member, which indicates which part
257         of LyX requests an action
258
259 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
260
261         * converter.C (move): don't lie in the error message
262         * converter.h (isReachable, move): document
263
264 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
265
266         * buffer.C: remove unused using lyx::support::atoi
267         * paragraph_funcs.C: ditto
268
269 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
270
271         * bufferlist.C (exists): use bind and equal_to instead of
272         compare_memfun
273         (getBuffer): ditto
274         * lyxtextclasslist.C (NumberOfClass): ditto
275
276         * cursor.C (insert): use for_each instead of explicit for loop
277
278         * bufferlist.C (getFileNames): use std::transform and
279         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
280
281         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
282         for loop
283
284         * buffer.C (changeLanguage): use for_each instead of explicit for
285         loop
286         (hasParWithID): implement using getParFromID
287
288         * LaTeXFeatures.C: ws change only
289
290         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
291         to cleanup a bit.
292
293         * BufferView_pimpl.C (trackChanges): use for_each instead of
294         expilicit for loop
295
296 2004-11-04  André Pönitz  <poenitz@gmx.net>
297
298         * undo.h:
299         * undo.C (textUndoOrRedo): fix crash when creating undo information.
300
301         * dociterator.C (asDocIterator): use hard assert again.
302
303 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
304
305         * lyxlength.C (asLatexString): rewrite so that it does not use
306         snprintf anymore
307
308 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
309
310         * text3.C (specialChar, dispatch): make sure cursor moves to the
311         right after inserting an inset
312
313 2004-11-02  José Matos  <jamatos@lyx.org>
314
315         * output_docbook.C (docbook):
316         * paragraph.C (getID):
317         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
318         garantee that the output is always legal.
319
320         * tabular.C (docbook):
321         * outputprams.[Ch]: remove mixed contents.
322
323 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
324
325         * text2.C (setCounter): prevent endless loop
326
327 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
328
329         * exporter.C (copyFile): use the mover instead of support::copy()
330         * exporter.C (Export): pass format and latex name to copyFile()
331         * exporter.h (addExternalFile): document
332         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
333
334 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
335
336         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
337
338 2004-10-30  José Matos  <jamatos@lyx.org>
339
340         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
341         text and no inset or font change. This allows to use CDATA
342         sections just for the whole paragraph.
343
344 2004-10-30  José Matos  <jamatos@lyx.org>
345
346         * paragraph.C (getFirstWord): remove unused variable.
347
348 2004-10-30  José Matos  <jamatos@lyx.org>
349
350         * paragraph.C (getFirstWord): the content should always be escaped
351         there.
352         (simpleDocBookOnePar):
353         * output_docbook.C (makeEnvironment): replace reference to CDATA
354         to style pass_thru.
355
356 2004-10-30  José Matos  <jamatos@lyx.org>
357
358         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
359
360 2004-10-30  José Matos  <jamatos@lyx.org>
361
362         * output_docbook.C (makeParagraphs):
363         * paragraph.[Ch] (emptyTag): for docbook and company, if the
364         standard paragraph has only a given type of content drop the wrapper.
365
366 2004-10-29  José Matos  <jamatos@lyx.org>
367
368         * output_docbook.C (makeEnvironment):
369         * sgml.C (openTag):
370         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
371
372 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
373
374         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
375         (cleanID): sanitize any id.
376
377 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
378
379         * buffer.C, lyxlex_pimpl.C:
380         * lyxlex_pimpl.C (setFile):
381         s/getExtFromContents/getFormatFromContents/
382
383 2004-10-28  José Matos  <jamatos@lyx.org>
384
385         * output_docbook.C (makeEnvironment): move id to broadest possible
386         scope.
387
388         * sgml.C (openTag): apply substitution of <> for all attributes.
389
390 2004-10-28  José Matos  <jamatos@lyx.org>
391
392         * buffer.C (makeLinuxDocFile, makeDocBookFile):
393         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
394         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
395
396         * sgml.[Ch]: new version for open and closeTag for paragraph and
397         for strings. Now they handle the ids of paragraphs.
398
399 2004-10-26  Angus Leeming  <leeming@lyx.org>
400
401         * Makefile.am: add mover.[Ch].
402
403         * converter.C (convert, move): use the new Movers to move external
404         files to the temp directory.
405
406         * lyx_main.C (init): ensure that the global system_movers data
407         is initialised.
408
409         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
410         preferences file.
411
412         * mover.[Ch]: new files, defining a Mover as a utility to move an
413         external file between directories and, if necessary, manipulate this
414         file using a helper script.
415
416 2004-10-25  José Matos  <jamatos@lyx.org>
417
418         * output_docbook.C (makeCommand): merge two if's that tested the
419         same condition.
420
421 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
422
423         * sgml.C (escapeString): fix warning in a better way
424
425 2004-10-25  José Matos  <jamatos@lyx.org>
426
427         * sgml.C (escapeString): import the require boosts header file for
428         tie, and avoid a signed unsigned comparison.
429
430 2004-10-25  José Matos  <jamatos@lyx.org>
431
432         * sgml.h: add #include <string>
433
434 2004-10-25  José Matos  <jamatos@lyx.org>
435
436         * sgml.[Ch] (escapeString): new function to escape all the string.
437
438 2004-10-24  José Matos  <jamatos@lyx.org>
439
440         * paragraph.[Ch] (getFirstWord): new function to get the first
441         word. Useful for description.
442         (simpleDocBookOnePar): remove depth argument, add another that
443         says where to start the paragraph.
444
445         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
446         use the new functions to fix cleanly the support for descriptions.
447
448 2004-10-24  José Matos  <jamatos@lyx.org>
449
450         * buffer.C (makeLinuxDocFile, makeDocBookFile):
451         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
452         * output_linuxdoc.C (linuxdocParagraphs):
453         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
454         add buffer as argument.
455
456 2004-10-24  José Matos  <jamatos@lyx.org>
457
458         * output_docbook.C (makeEnvironment, searchEnvironment): place
459         CDATA inside paragraphs and fix scope for listitems.
460
461 2004-10-24  José Matos  <jamatos@lyx.org>
462
463         * output_docbook.C: remove using statement for stack.
464
465 2004-10-23  José Matos  <jamatos@lyx.org>
466
467         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
468         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
469         docbook. The new scheme is recursive and makes use of iterators, the
470         same as latex export works.
471         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
472         directly with the paragraph contents. This code was moved up to
473         output_docbook.C (docbookParagraphs).
474         * sgml.C (openTag, closeTag): removed unneeded newlines.
475         (closeEnvTags) removed.
476
477 2004-10-23  André Pönitz  <poenitz@gmx.net>
478
479         * undo.C (textUndoOrRedo):
480         * dociterator.C (asDocIterator): work around crash
481
482         * cursor.C (getStatus): replace ASSERT by more verbose error message
483           and manual correction of the problem. Should increase stability
484           while providing more sensible information.
485
486 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
489
490         * bufferlist.C (previous, next): new methods
491
492         * lfuns.h:
493         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
494
495 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
496
497         * buffer.C (makeDocBookFile): add dsssl stylesheet control
498         entities to preamble.
499
500 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
501
502         * messages.C (Pimpl): strip off translation context information
503
504 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
507         the cursor is correct (bug 1694)
508
509 2004-10-13  José Matos  <jamatos@lyx.org>
510
511         * output_docbook.C (docbookParagraphs): fix closing tags in the
512         end of the document.
513
514 2004-10-09  José Matos  <jamatos@lyx.org>
515
516         * buffer.C: format up to 237.
517         * bufferparams.C (write): use tostr to convert booleans to strings.
518
519 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
520
521         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
522
523 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
524
525         * LaTeX.C: implement use of babel language in xindy.
526
527 2004-10-05  José Matos  <jamatos@lyx.org>
528
529         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
530         Add new translators to help reading and writing the lyx file.
531
532 2004-10-05  José Matos  <jamatos@lyx.org>
533
534         * ParagraphParameters.C (read):
535         * text.C (readParToken): replace nexToken by more appropriate lex
536         methods.
537
538 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
539
540         * LaTeX.C (runMakeIndex):
541         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
542         (usually 'makeindex') configurable.
543
544         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
545         with a variable rather than with a number.
546
547 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
548
549         * output_latex.C (TeXOnePar): make sure font setting is the first
550         thing that gets output (and the last at the end). Should fix bug
551         1404.
552
553 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
554
555         * pch.h: use proper signal include
556
557         * LaTeX.h: Use preferred calling of Boost.Signal
558         * buffer.h: ditto
559
560 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
561
562         * pch.h: dont include <boost/function/function0.hpp>
563
564         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
565
566         * paragraph_pimpl.h: remove usage of ShareContainer
567
568         * paragraph_pimpl.C: remove initialization of ShareContainer.
569
570 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
571
572         Fix bug #1666
573
574         * BufferView.C (putSelectionAt): change the semantics when
575         backwards == true: now, this just swaps cursor and anchor wrt the
576         forward case
577
578         * BufferView.h (putSelectionAt): add some documentation
579
580         * lyxfind.C (findBackwards): rewrite using while(). In particular,
581         make sure backwardChar is done at least once (to avoid getting
582         stuck)
583         (findNextChange): use putSelectionAt in the forward direction
584         (operator()): use Paragraph::isWord
585
586 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
587
588         * Spacing.C (set): c_str fix
589
590 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
591
592         * lyx_cb.C (Reconfigure): quote the name of configure script in
593         case it contains spaces
594
595 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
596
597         * client: new dir
598
599         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
600         (BOOST_LIBS): use top_buildir when looking for the file
601
602 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
603
604         * pch.h: do not use include boost/format.hpp, multiple symbols
605                 will result (gcc bug)
606
607
608 2004-08-23  José Matos  <jamatos@lyx.org>
609
610         * bufferparams.C (readToken): fix reading of the author field.
611
612 2004-08-20  José Matos  <jamatos@lyx.org>
613
614         * lyxrc.C: remove support/translator.h inclusion since it is not used.
615
616 2004-08-20  José Matos  <jamatos@lyx.org>
617
618         * lyxlex.[Ch] (findToken): remove function.
619
620         * ParagraphParameters.C (findToken):
621         * bufferparams.C (findToken): replace call for previous function
622         with local copy. This local function has one more argument, the
623         read string argument.
624
625 2004-08-16  José Matos  <jamatos@lyx.org>
626
627         * ParagraphParameters.C (write):
628         * Spacing.C (writeFile):
629         * bufferparams.C (writeLaTeX):
630         * lyx_cb.C (Reconfigure):
631         * paragraph.C (write):
632         * tabular.C (write): remove unnecessary space at end of line.
633
634
635 2004-08-16  José Matos  <jamatos@lyx.org>
636
637         * text.C (readParagraph): remove debug message.
638
639 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
642         crash
643
644         * output_plaintext.C (asciiParagraph): set depth correctly
645
646         * outputparams.h: add member depth
647
648         * paragraph_funcs.C (ownerPar): remove.
649
650         * text2.C (setCounter): remove first_pit; comment out some
651         non-working code that uses ownerPar
652
653         * BufferView.C (getParentLanguage): remove. Not used anymore, and
654         uses ownerPar
655
656 2004-08-16  José Matos  <jamatos@lyx.org>
657
658         * text.C (readParToken, readParagraph, read): report all unknown tokens.
659         For the same level of importance use the same chanel to report problems.
660         (read): add code to deal with \begin_body and \end_body.
661
662
663 2004-08-15  José Matos  <jamatos@lyx.org>
664
665         * lyxlex.C (getString): fix comment, buffer::readBody is now
666         buffer:readDocument.
667
668         * tex-strings.C (string_papersize): Default -> default,
669         Custom -> custom, for consistency with other options.
670
671 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
672
673         * pch.h: new file
674
675         * Makefile.am: support pch
676
677 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
678
679         * text.C (readParToken): remove the static LyXFont variable and
680         pass it as a parameter instead. This fixes a nasty bug where an
681         inset will be inserted with a bad font in some situations
682         (readParagraph): adapt
683
684         * text2.C (setCounter): reduce number of calls to pars_[pit]
685
686         * text.C (singleWidth): add an assert, fix a test
687
688         * rowpainter.C (paintText): reduce number of calls to singleWidth
689
690         * paragraph.C (isHfill):
691         (isNewline): ws only
692
693 2004-08-14  André Pönitz  <poenitz@gmx.net>
694
695         * text.C:
696         * text2.C:
697         * rowpainter.C:
698         * lyxtext.h (several functions): use a Paragraph & argument
699         instead of par_type
700
701 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
702
703         * metricsinfo.h: add a new field ltr_pos to PainterInfo
704
705         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
706
707         * text.C (singleWidth): remove useless test
708
709 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
710
711         * tabular.h: remove bogus comments
712
713         * tabular.C (getDescentOfRow):
714         (isPartOfMultiColumn): add assertions
715
716         * lyxlength.C (inPixels): remove #warning
717
718 2004-08-14  André Pönitz  <poenitz@gmx.net>
719
720         * paragraph.h: inline getChar()
721
722         * BufferView.h: remove unused declarations
723
724 2004-08-14  José Matos  <jamatos@lyx.org>
725
726         * Buffer.[Ch] (readDocument): new name for old readBody.
727         * Buffer.C: new file format, new keywords: \begin_document,
728         \begin_header, \begin_body, \end_body.
729
730         * bufferparams.C (readToken): replace all calls to lex.nextToken
731         by lex.next(). Do the same to eatLine except where really needed.
732
733         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
734         line when writing to the lyx file.
735
736         * output_plaintext.C (asciiParagraph): fix Bibliography style
737         handling.
738
739         * text.C (read): fix end of file handling.
740
741 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         * MenuBackend.C (Menu::operator[]): new method to access
744         individual menu items
745         (Menu::hasFunc): new method. search for an item that corresponds
746         to a given func
747         (MenuBackend::specialMenu): new method
748         (MenuBackend::expand): if a special menu has been set, skip
749         entries whose func() appears in this menu
750
751 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
752
753         * text3.C: use Debug::DEBUG a bit more
754
755         * text.C (leftMargin): try to simplify a tiny bit change var x to
756         l_margin. Dont output the wide margins always.
757         (rightMargin): no margin in inner texts
758
759         * rowpainter.h (nestMargin): new func
760         (changebarMargin): new func
761         (rightMargin): new func
762
763         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
764         now functions.
765         (paintLast): ditto
766
767         * factory.C (createInset): modify setDrawFrame
768
769         * cursor.C: use Debug::DEBUG a bit more
770
771 2004-08-14  André Pönitz  <poenitz@gmx.net>
772
773         * coordcache.[Ch]:
774         * Makefile.am: new files to accomodate an 'external' (x,y)-position
775         cache for all insets in (at least partially) visible (top-level)
776         paragraphs.
777
778         * BufferView_pimpl.C: reset external coord cache before every update.
779         This means the coord cache only contains valid entries.
780
781 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
782
783         bug 1096
784         * BufferView_pimpl.C (getInsetByCode): move function out of class
785         and change in to a template in anon namespace. Also fix to do what
786         suits us better.
787
788 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
789
790         bug 1305
791         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
792         of char
793         (breakParagraph): rename par to par_offset and use a local
794         reference. Add code to keep the language over a rebreak.
795         (breakParagraphConservative): rename par to par_offset, use a
796         local reference
797         (mergeParagraph): ditto
798         (outerHook): ditto
799         (isFirstInSequence): ditto
800         (outerFont): rename pit to par_offset
801
802         * paragraph.C: ws change
803         * paragraph.h: ditto
804         * text3.C: ditto
805         * text.C: ditto
806
807 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
808
809         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
810         treatment for ']'
811
812         * paragraph.C (simpleTeXOnePar): when we have a \item with
813         optional argument, enclose the argument with curly brackets (in
814         case it contains a closing square bracket)
815
816         * text2.C (editXY):
817         * text2.C (editXY):
818         * text3.C (checkInsetHit): constify
819
820 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
821
822         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
823         documents (bug 1629)
824
825 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
826
827         Fix toggling of collapsable insets with the mouse (bug 1558)
828
829         * lyxfunc.C (dispatch): adapt to LCursor changes
830
831         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
832         make sure that dispatch is not invoked twice
833
834         * cursor.C (needsUpdate): new method
835         (dispatch): return void
836         (result): new method, to access the DispatchResult of the cursor.
837
838 2004-08-13  José Matos  <jamatos@lyx.org>
839
840         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
841
842 2004-08-13  André Pönitz  <poenitz@gmx.net>
843
844         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
845
846         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
847           multiple cells
848
849 2004-08-12  André Pönitz  <poenitz@gmx.net>
850
851         * text3.C: take out the 'cursor right' form insertInset and only
852         do it in those places when it is really needed. Fixes crash on
853         C-m...
854
855 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
856
857         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
858
859         * BufferView_pimpl.C (setBuffer): initialize the current font of
860         the underlying LyXText
861
862 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
863
864         * kbsequence.C (print): use UI native formatting for menu
865         shortcuts
866
867         * text.C (insertChar): call Paragraph::insertChar with a font
868         argument (cosmetic)
869
870         * paragraph.C (insertInset, insertChar): the version that takes a
871         LyXFont argument is now a wrapper around the other one (the
872         opposite used to be true).
873
874         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
875         argument. Font setting is done in Paragraph now.
876
877 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
878
879         * outputparams.h: add new members intitle and lang.
880
881         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
882         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
883
884 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
885
886         * text3.C (dispatch): remove special handling of button 4 and 5,
887         it is now taken care of in the frontend code.
888
889 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
890
891         * Spacing.h: add <string> (STLPort compile fix)
892
893 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
894
895         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
896
897 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
898
899         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
900         to bool.
901
902         * converter.C (showMessage): inherit from unary_function, make
903         operator() const.
904
905         * buffer.C (writeFile): initialize retval
906
907         * InsetList.h: rename private variable list to list_
908         * InsetList.[Ch]: adjust accordingly.
909
910 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
911
912         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
913         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
914         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
915         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
916         * ParagraphParameters.C, LaTeXFeatures.C: replace
917         "support/std_sstream.h" with <sstream>
918
919 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
920
921         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
922         * lyxsocket.C (LyXServerSocket): ditto
923         (serverCallback): ditto
924
925 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
926
927         * LaTeXFeatures.C: check release date when loading jurabib.
928
929 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
930
931         * lyxserver.C (startPipe): call register_socket_callback
932         (endPipe): call unregister_socket_callback
933
934 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
935
936         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
937         (LyXServerSocket): register the callback
938         (LyXServerSocket): unregister the callback
939         (fd): delete function
940         (serverCallback): improve error checking and setup the callbacks.
941         (dataCallback): change arg to fd.
942         (writeln): new func (copied fro the client socket) used for server
943         write to client.
944         (LyXDataSocket): simplify
945         (~LyXDataSocket): close ann unregiser callback
946         (server): delete function
947         (fd): delete function
948         (readln): small changes, improve some std::string usage
949         (writeln): constify a bit
950
951 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
952
953         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
954         Qt frontend
955
956 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
957
958         * BufferView_pimpl.C (setBuffer): set the layout combox value only
959         after it has been populated
960
961 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
962
963         * text2.C (insertInset): move cursor when inserting inset.
964
965 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
966
967         * kbmap.C (findbindings): a couple of new methods. returns a
968         container of kb_sequence objects. The real work is done by the
969         private recursive version
970         (printbindings): uses findbindings to print out a bracketed list
971         of bindings (renamed from findbinding).
972
973         * MenuBackend.C (binding): use kb_keymap::findbindings
974
975         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
976
977 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
978
979         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
980
981 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
982
983         * paragraph.C (isWord): return true on insets that report
984         isLetter().
985
986         * text.C (getWord): use Paragraph::isWord to decide what is in a
987         word and what is not; fix bug 1609.
988
989 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
990
991         * tex-strings.C: add "none" to string_paperpackages[], fixes
992         off-by-one-error in the paperpackage selection.
993
994         * lyxlex.[Ch]:
995         * tex-strings.[Ch]: char const * string[n]
996         -> char const * const string[]
997
998 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
999
1000         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1001         command, return early.
1002
1003 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1004
1005         * debug.h: add DEBUG to enum and fix size of ANY.
1006
1007         * debug.C: add support for Debug::DEBUG
1008         (showTags): cast errorTags.level to unsigned int
1009
1010         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1011         (redoCurrentBuffer): ditto
1012         (updateScrollbar): ditto
1013         * cursor.C (dispatch): ditto
1014         * text2.C (setLayout): ditto
1015         (setFont): ditto
1016         (updateCounters): ditto
1017         (editXY): ditto
1018         (deleteEmptyParagraphMechanism): ditto
1019
1020 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1021
1022         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1023         annotations to cleanup the Makefile slightly.
1024
1025 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1026
1027         * lyxrc.C: do not set user_email to a default value but use empty
1028         instead. The entry used to be translated, which does not work
1029         since at the point where lyxrc is constructed there is no
1030         translation service available
1031
1032         * messages.C (getLocaleDir): remove and use directly
1033         lyx_localedir() instead
1034
1035 2004-06-02  Angus Leeming  <leeming@lyx.org>
1036
1037         Fix crash caused by dereferencing null pointer 'exportdata' in
1038         OutputParams by creating a new ExportData variable on the heap,
1039         storing it in a boost::shared_ptr.
1040         The crash was triggered when generating an Instant Preview
1041         of an external inset.
1042
1043         * Makefile.am: add outputparams.C
1044
1045         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1046         (c-tor): allocate memory to it.
1047
1048         * exporter.C (c-tor): associated changes.
1049
1050 2004-06-01  Angus Leeming  <leeming@lyx.org>
1051
1052         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1053         contains data before calling isInset(0). (Bug 1513.)
1054
1055 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1056
1057         * exporter.C (checkOverwrite): new method
1058         * exporter.C (copyFile): new method
1059         * exporter.C (Export): copy referenced files to the document dir
1060         * exporter.[Ch]: new class ExportedFile
1061         * exporter.[Ch]: new class ExportData. Contains currently the
1062         names of referenced external files
1063         * outputparams.h: add exportdata member.
1064
1065 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1066
1067         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1068         version.C-tmp
1069
1070 2004-05-19  Angus Leeming  <leeming@lyx.org>
1071
1072         * LaTeXFeatures.C:
1073         * ToolbarBackend.C:
1074         * bufferparams.C:
1075         * lyxfunc.C: small changes due to the introduction of namespace
1076         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1077
1078 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1079
1080         * text3.C (dispatch): supress update when only moving the cursor
1081         * cursor.C (selHandle): remove commented code
1082
1083 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1084
1085         * paragraph.C (startTeXParParams): correct column count
1086         * CutAndPaste.C (pasteSelection): remove const_cast
1087         * output_docbook.C (docbookParagraphs): remove const_cast
1088         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1089         const_cast and return ParagraphList::const_iterator
1090         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1091         * output_plaintext.C (writeFileAscii): remove const_cast
1092         * paragraph.[Ch] (simpleTeXOnePar): make const
1093         * paragraph_funcs.C (outerPar): use const iterators
1094         * paragraph_pimpl.C (validate): use const iterators
1095         * text.C (setHeightOfRow): use const iterators
1096
1097 2004-05-17  Angus Leeming  <leeming@lyx.org>
1098
1099         * lfuns.h:
1100         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1101
1102         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1103         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1104         if the citation engine has changed.
1105
1106 2004-05-14  José Matos  <jamatos@lyx.org>
1107
1108         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1109         if the textclass does not provide it. Have it different for sgml and
1110         xml.
1111         support the language of document.
1112         * output_docbook.C (docbookParagraphs):
1113         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1114         first anchor as the id of the paragraph, remove special case code.
1115         * sgml.C (escapeChar): escape only < & >.
1116
1117 2004-05-14  Angus Leeming  <leeming@lyx.org>
1118
1119         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1120         dependencies on src/frontends/controllers/biblio.h. Define a
1121         CiteEngine_enum wrapper class to enable the enum to be forward
1122         declared.
1123
1124 2004-05-12  Angus Leeming  <leeming@lyx.org>
1125
1126         * buffer.C: up LYX_FORMAT to 234.
1127         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1128         use_numerical_citations with a single biblio::CiteEngine cite_engine
1129         variable.
1130         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1131
1132 2004-05-13  José Matos  <jamatos@lyx.org>
1133
1134         * converter.h:
1135         * converter.C (Converter, readFlags): add xml member.
1136         * outputparams.h: add XML flavor.
1137         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1138
1139 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1140
1141         * lyxfunc.C (dispatch):
1142         (getStatus): fix handling of LFUN_SEQUENCE
1143
1144 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1145
1146         * debug.C (showLevel): do not forget the end-of-line marker
1147
1148 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1149
1150         * kbmap.C (read): do not stop parsing a bind file when an error
1151         occurs (bug 1575)
1152
1153 2004-04-29  Angus Leeming  <leeming@lyx.org>
1154
1155         * cursor.C:
1156         * factory.C:
1157         * pariterator.C:
1158         * text2.C: wrap a bunch of #warning statements
1159         inside #ifdef WITH_WARNINGS blocks.
1160
1161 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1162
1163         * buffer.C: increment format to 233.
1164
1165 2004-04-28  Angus Leeming  <leeming@lyx.org>
1166
1167         * BufferView_pimpl.C:
1168         * lyxfunc.C:
1169         * text3.C:
1170         s/updateToolbar()/updateToolbars()/
1171         s/Toolbar.h/Toolbars.h/
1172
1173 2004-04-28  Angus Leeming  <leeming@lyx.org>
1174
1175         * BufferView.[Ch] (c-tor):
1176         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1177         No longer passes these data to the WorkArea generator.
1178
1179 2004-04-28  Angus Leeming  <leeming@lyx.org>
1180
1181         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1182
1183 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1184
1185         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1186
1187 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1188
1189         * output_latex.C (TeXEnvironment): make sure that there is a line
1190         break before \end{foo} for the last paragraph of a document
1191         (TeXOnePar): if the paragraph is at the end of the document (or
1192         inset) and the language has to be reset, then make sure that the
1193         line break is _before_ the language command, not after (fixes bug
1194         1225); also make sure that the language reset command is the first
1195         thing after the paragraph (to ensure proper nesting of
1196         environments and thus fix bug 1404)
1197
1198 2004-04-21  John Levon  <levon@movementarian.org>
1199
1200         * ToolbarBackend.h:
1201         * ToolbarBackend.C: make "name" be a programmatic name
1202         and a gui_name field.
1203
1204         * lyxfunc.C: display the minibuffer on M-x
1205
1206 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1207
1208         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1209         (bug 1526)
1210
1211 2004-04-19  Angus Leeming  <leeming@lyx.org>
1212
1213         * BufferView_pimpl.C (setBuffer): changed preview interface.
1214
1215         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1216         possible values.
1217
1218 2004-04-19  John Levon  <levon@movementarian.org>
1219
1220         * BufferView_pimpl.C:
1221         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1222
1223 2004-04-05  Angus Leeming  <leeming@lyx.org>
1224
1225         * text.C (redoParagraphs): add call to updateCounters(), thereby
1226         fixing the missing "Figure #:" label from the caption of a
1227         figure float.
1228
1229 2004-04-13  Angus Leeming  <leeming@lyx.org>
1230
1231         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1232         cursor is clicked out of an inset.
1233
1234 2004-04-13  Angus Leeming  <leeming@lyx.org>
1235
1236         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1237         than an InsetOld one.
1238
1239 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1240
1241         * format.[Ch]: add editor to Format
1242         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1243         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1244
1245 2004-04-08  André Pönitz  <poenitz@gmx.net>
1246
1247         * metricsinfo.h: remove PainterInfo::width member
1248
1249 2004-04-08  Angus Leeming  <leeming@lyx.org>
1250
1251         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1252         "\providecommand" rather than "\newcommand", thereby preventing
1253         clashes with packages that define "\boldsymbol" themselves.
1254         Eg, beamer.
1255
1256 2004-04-08  Angus Leeming  <leeming@lyx.org>
1257
1258         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1259         thereby squashing an unnecessary warning.
1260
1261 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1262
1263         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1264         setBuffer()
1265
1266 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1267
1268         * BufferView.C (setCursor): call redoParagraph (some insets could
1269         have been opened)
1270         (putSelectionAt): remove the 'double update' trick
1271
1272         * BufferView_pimpl.C (fitCursor): call refreshPar
1273         (workAreaDispatch): remove an uneeded update call
1274         (dispatch): remove some manual update calls
1275
1276         * cursor.[Ch]: remove cached_y_, updatePos
1277         (selHandle): set noUpdate when appropriate
1278
1279         * lyxfunc.C (dispatch): track if we need an update
1280
1281         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1282
1283         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1284         (paintSelection): cheap optimization, do not call cursorX when not
1285         needed
1286         (paintPars): change signature
1287         (refreshPar): add
1288         (paintText): adjust
1289         (paintTextInset): adjust
1290
1291         * text.C: adjust
1292
1293 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1294
1295         * lengthcommon.C: compilation fix: remove explicit array size from
1296         unit_name[] and friends
1297
1298 2004-04-05  Angus Leeming  <leeming@lyx.org>
1299
1300         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1301
1302         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1303         present only for the preferences dialog.
1304         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1305
1306 2004-04-05  Angus Leeming  <leeming@lyx.org>
1307
1308         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1309         to enable the frontends to export changes to lyxrc correctly.
1310
1311         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1312
1313 2004-04-07  André Pönitz  <poenitz@gmx.net>
1314
1315         * cursor.[Ch] (selClear, adjust): remove math
1316
1317         * cursor_slice.C: more agressive assert
1318
1319         * lyxfunc.C:
1320         * BufferView_pimpl.C: rework mouse event dispatch
1321
1322         * dociterator.C:
1323         * paragraph.C:
1324         * text2.C:
1325         * text3.C: adjust
1326
1327 2004-04-05  André Pönitz  <poenitz@gmx.net>
1328
1329         * cursor.[Ch] (valign, halign...): remove unneeded functions
1330
1331 2004-04-05  Angus Leeming  <leeming@lyx.org>
1332
1333         * lyxlength.[Ch] (unit_name et al.): const-correct.
1334
1335 2004-04-05  Angus Leeming  <leeming@lyx.org>
1336
1337         * BufferView_pimpl.C:
1338         * buffer.C:
1339         * counters.C:
1340         * cursor.C:
1341         * lyxfunc.C
1342         * paragraph.C:
1343         * pariterator.C:
1344         * text.C:
1345         * text2.C:
1346         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1347
1348 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1349
1350         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1351
1352 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1353
1354         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1355         * BufferView_pimpl.[Ch] (getStatus)
1356         * BufferView.[Ch] (getStatus): add
1357         * lyxfunc.C (getStatus): move lfuns handled in
1358         BufferView::dispatch to te function above
1359         * Cursor.C (setSelection): set selection() = true
1360
1361 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1362
1363         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1364
1365 2004-03-31  Angus Leeming  <leeming@lyx.org>
1366
1367         * lyxfunc.C (dispatch): Fall through to the generic
1368         Dialogs::show("preamble").
1369
1370 2004-03-31  Angus Leeming  <leeming@lyx.org>
1371
1372         * lyxfunc.C (dispatch): Fall through to the generic
1373         Dialogs::show("spellchecker").
1374
1375 2004-03-31  Angus Leeming  <leeming@lyx.org>
1376
1377         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1378         preferences dialog.
1379
1380 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1381
1382         * BufferView.C
1383         * cursor.[Ch]
1384         * dociterator.[Ch]:
1385         * insetiterator.[Ch]:
1386         * lyxfind.C:
1387         * lyxfunc.C:
1388         * pariterator.[Ch]:
1389         * text2.C:
1390         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1391
1392 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1395         insets where we are putting the cursor.
1396
1397 2004-03-31  Angus Leeming  <leeming@lyx.org>
1398
1399         * lfuns.h:
1400         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1401
1402         * lyxrc.[Ch] (read, write): overloaded member functions taking
1403         a std::[io]stream arguments.
1404
1405         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1406
1407 2004-03-31  Angus Leeming  <leeming@lyx.org>
1408
1409         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1410         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1411
1412         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1413         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1414
1415 2004-03-31  Angus Leeming  <leeming@lyx.org>
1416
1417         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1418         the LFUN_ALL_INSETS_TOGGLE code.
1419
1420 2004-03-30  Angus Leeming  <leeming@lyx.org>
1421
1422         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1423         has died. Fall through to the generic Dialogs::show("document").
1424
1425 2004-03-30  Angus Leeming  <leeming@lyx.org>
1426
1427         * lfuns.h:
1428         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1429         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1430
1431         * lyxfunc.C (getStatus, dispatch): define the actions for these
1432         lfuns. Little more than a cut and pste job from ControlDocument.C
1433
1434         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1435
1436 2004-03-30  Angus Leeming  <leeming@lyx.org>
1437
1438         * lfuns.h:
1439         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1440         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1441
1442         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1443         open/closed state of ollapsable insets. Usage:
1444
1445         all-inset-toggle <state> <name>, where
1446         <state> == "open" || "closed" || "toggle" and
1447         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1448
1449         * lyxtext.h, text2.C (toggleInset): removed.
1450
1451         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1452         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1453         now passes LFUN_INSET_TOGGLE to the found inset.
1454
1455         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1456         is now invoked as "all-insets-toggle toggle branch".
1457
1458 2004-03-30  Angus Leeming  <leeming@lyx.org>
1459
1460         * dociterator.C:
1461         * insetiterator.C:
1462         * pariterator.[Ch]: added/corrected header blurb.
1463
1464 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1465
1466         * dociterator.[Ch]: add an inset_ member
1467         (backwardPos): implemented
1468         (backwardPos, forwardPos): use inset_ when the stack is empty.
1469         (doc_iterator_begin, doc_iterator_end): implemented
1470         * pariterator.[Ch]: adjust, add begin, end
1471         * insetiterator.[Ch]: adjust, add begin, end
1472         * cursor.C:
1473         * document.C:
1474         * BufferView.C:
1475         * BufferView_pimpl.C:
1476         * CutAndPaste.C: adjust
1477
1478 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1479
1480         * buffer.C: increment file format to 232.
1481         * LaTeXFeatures.C: add bibtopic package.
1482         * bufferparams.[Ch]: param \use_bibtopic.
1483
1484         * lyxrc.[Ch]: add lyxrc bibtex_command
1485         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1486
1487         * buffer.C: increment file format to 231.
1488
1489 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1490
1491         * dociterator.C: implement forwardPar
1492         * iterators.[Ch]: remove, replaced by
1493         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1494         * BufferView.C:
1495         * BufferView_pimpl.C:
1496         * CutAndPaste.C:
1497         * buffer.C:
1498         * bufferview_funcs.C:
1499         * cursor.C:
1500         * lyxfind.C
1501         * lyxfunc.C
1502         * paragraph_funcs.C
1503         * toc.C:
1504         * Makefile.am: adjust
1505
1506 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1507
1508         * CutAndPaste.C (pasteSelection): fix 2 crashes
1509         (eraseSelection): fix a crash
1510         * paragraph_funcs.C: remove a warning
1511
1512 2004-03-28  Angus Leeming  <leeming@lyx.org>
1513
1514         * lfuns.h:
1515         * LyXAction.C (init): new LFUN_PRINT.
1516
1517         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1518
1519 2004-03-27  Angus Leeming  <leeming@lyx.org>
1520
1521         * lfuns.h:
1522         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1523
1524         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1525
1526 2004-03-27  Angus Leeming  <leeming@lyx.org>
1527
1528         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1529         insetlist always contains non-null pointers to insets.
1530
1531 2004-03-26  Angus Leeming  <leeming@lyx.org>
1532
1533         * src/BufferView_pimpl.C:
1534         * src/CutAndPaste.C:
1535         * src/buffer.C:
1536         * src/iterators.C:
1537         * src/output_plaintext.C:
1538         * src/outputparams.h:
1539         * src/paragraph_funcs.C:
1540         * src/rowpainter.C:
1541         * src/text.C:
1542         * src/text2.C:
1543         * src/frontends/controllers/ControlErrorList.C:
1544         * src/frontends/gtk/FileDialogPrivate.C:
1545         * src/frontends/gtk/GPainter.C:
1546         * src/frontends/gtk/GToolbar.C:
1547         * src/frontends/qt2/QRef.C:
1548         * src/mathed/math_scriptinset.C: squash compiler warnings.
1549
1550 2004-03-26  Angus Leeming  <leeming@lyx.org>
1551
1552         * ispell.C (LaunchIspell::start):
1553         * lyx_cb.C (AutoSaveBuffer::start):
1554         invoke run(DontWait) rather than runNonBlocking().
1555
1556 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1557
1558         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1559
1560 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1561
1562         * kbsequence.C (print): adjust
1563
1564         * kbmap.C (printKeySym): rename and change signature
1565         (printKey): use LyXKeySym::print()
1566
1567 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1568
1569         * undo.C: add using std::advance to compile for stlport
1570
1571 2004-03-24  Angus Leeming  <leeming@lyx.org>
1572
1573         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1574         it leads to a crash when no buffer is present.
1575
1576 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1577             Martin Vermeer  <martin.vermeer@hut.fi>
1578
1579         * lyxfunc.C (dispatch):
1580         * bufferparams.C (readToken): use the new LColor::setColor
1581
1582         * LColor.[Ch] (setColor): new version that takes two strings as
1583         argument and creates a new color entry if necessary
1584
1585 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1586
1587         * buffer.C (makeLaTeXFile): if the main latex file that is
1588         processed is usually a subdocument of some master, then pretend
1589         for a while that it is actually the master
1590
1591 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1592
1593         * buffer.C (getLabelList):
1594         (getBibkeyList): use getMasterBuffer()
1595         (getMasterBuffer): new method. Returns the main document in the
1596         case where one is using included documents.
1597
1598 2004-03-25  André Pönitz  <poenitz@gmx.net>
1599
1600         * Makefile.am:
1601         * iterators.[Ch]:
1602         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1603
1604         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1605
1606         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1607         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1608
1609         * ParameterStruct.h: merge with ParagraphParameters
1610
1611         * lyxtext.h: remove LyXText::parOffset() and getPar()
1612
1613         * text3.C: Remove all 'manual' update calls. We do now one per user
1614         interaction which is completely sufficient.
1615
1616         * Bidi.C:
1617         * BufferView.[Ch]:
1618         * BufferView_pimpl.C:
1619         * FontIterator.[Ch]:
1620         * MenuBackend.C:
1621         * ParagraphParameters.[Ch]:
1622         * buffer.C:
1623         * buffer.h:
1624         * bufferlist.C:
1625         * cursor.[Ch]:
1626         * cursor_slice.[Ch]:
1627         * dociterator.[Ch]:
1628         * errorlist.[Ch]:
1629         * factory.C:
1630         * lfuns.h:
1631         * lyxfind.C:
1632         * lyxfunc.C:
1633         * output_docbook.[Ch]:
1634         * output_latex.[Ch]:
1635         * output_linuxdoc.[Ch]:
1636         * output_plaintext.[Ch]:
1637         * paragraph.[Ch]:
1638         * paragraph_funcs.[Ch]:
1639         * paragraph_pimpl.[Ch]:
1640         * rowpainter.C:
1641         * tabular.[Ch]:
1642         * text.C:
1643         * text2.C:
1644         * toc.C:
1645         * undo.[Ch]: adjust
1646
1647         * frontends/controllers/ControlDocument.C:
1648         * frontends/controllers/ControlErrorList.C:
1649         * frontends/controllers/ControlSpellchecker.C:
1650         * insets/inset.C:
1651         * insets/inset.h:
1652         * insets/insetbase.h:
1653         * insets/insetbibitem.C:
1654         * insets/insetbox.C:
1655         * insets/insetbranch.C:
1656         * insets/insetcaption.C:
1657         * insets/insetcharstyle.C:
1658         * insets/insetcharstyle.h:
1659         * insets/insetcollapsable.C:
1660         * insets/insetcollapsable.h:
1661         * insets/insetert.C:
1662         * insets/insetfloat.C:
1663         * insets/insetfoot.C:
1664         * insets/insetmarginal.C:
1665         * insets/insetnote.C:
1666         * insets/insetoptarg.C:
1667         * insets/insettabular.C:
1668         * insets/insettext.C:
1669         * insets/insettext.h:
1670         * insets/insetwrap.C:
1671         * mathed/math_mboxinset.C:
1672         * mathed/math_nestinset.C:
1673         * mathed/math_scriptinset.C:
1674         * mathed/math_scriptinset.h:
1675         * support/types.h:
1676
1677 2004-03-24  Angus Leeming  <leeming@lyx.org>
1678
1679         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1680         deal with any child processes that have finished but are waiting to
1681         communicate this fact to the rest of LyX.
1682
1683 2004-03-24  Angus Leeming  <leeming@lyx.org>
1684
1685         64-bit compile fixes.
1686
1687         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1688         (c-tor): pass lyx::pos_types rather than ints.
1689
1690         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1691         lyx::pos_type.
1692
1693         * text.C (Delete): compile fix.
1694         (getPar): ensure that function declaration is the same as that in
1695         the header file.
1696
1697 2004-03-23  Angus Leeming  <leeming@lyx.org>
1698
1699         * ispell.C (LaunchIspell):
1700         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1701         a boost::shred_ptr rather than a std::auto_ptr.
1702
1703 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1704
1705         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1706         handle LFUN_FILE_INSERT_*
1707
1708         * lyxrc.C (setDefaults, getDescription, output, read):
1709         * lyxrc.h: remove ps_command
1710
1711 2004-03-22  Angus Leeming  <leeming@lyx.org>
1712
1713         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1714         Ensure that error_handler is processed once only and that all data
1715         is saved before attempting to output any warning messages.
1716
1717         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1718
1719 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1720
1721         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1722
1723 2004-03-19  André Pönitz  <poenitz@gmx.net>
1724
1725         * cursor.[Ch] (reset): take main text inset as argument
1726
1727         * BufferView: adjust
1728         * BufferView_pimpl.C: adjust
1729
1730         * paragraph.[Ch]: fix completely broken operator=()
1731
1732 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1733
1734         * LColor.C (getFromLyXName): make sure that the color name is used
1735         as lowercase.
1736
1737 2004-03-17  Angus Leeming  <leeming@lyx.org>
1738
1739         * lfuns.h:
1740         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1741
1742         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1743         dialog and to kill a forked process.
1744
1745 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1746
1747         * text2.C (setCursorFromCoordinates): fix font problem
1748
1749 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1750
1751         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1752         bogus "rebuild cursor" code
1753
1754 2004-03-11  André Pönitz  <poenitz@gmx.net>
1755
1756         * buffer.[Ch]: use InsetText instead of LyXText as container for
1757         the main lyx text.
1758
1759         * dociterator.[Ch]: drop the BufferView * member which is not needed
1760         anymore after the change to buffer.C
1761
1762         * paragraph_funcs.C:
1763         * text.C:
1764         * text2.C:
1765         * BufferView.[Ch]:
1766         * BufferView_pimpl.[Ch]:
1767         * cursor.[Ch]:
1768         * cursor_slice.[Ch]: adjust
1769
1770         * text3.C: fix bug in mathDispatch
1771
1772 2004-03-08  André Pönitz  <poenitz@gmx.net>
1773
1774         * undo.[Ch]: use 'StableDocumentIterator' as base for
1775         the Undo struct.
1776
1777 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1778
1779         * LaTeXFeatures.C:
1780         * bufferparams.[Ch]: add jurabib support and param.
1781
1782         * LaTeX.C: add FIXME/comment.
1783
1784 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1785
1786         * buffer.C: increment file format to 230.
1787
1788 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1789
1790         * cursor.C (dispatch): avoid infinite loops
1791
1792 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1793
1794         * rowpainter.C (paintSelection): fix x coordinates
1795
1796 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1797
1798         * text.C (rowBreakPoint): fix breaking before displayed insets
1799
1800 2004-03-01  André Pönitz  <poenitz@gmx.net>
1801
1802         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1803
1804         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1805
1806         * Makefile.am:
1807         * BufferView.C:
1808         * BufferView_pimpl.C:
1809         * buffer.C:
1810         * lyxfind.C:
1811         * lyxfunc.C:
1812         * text.C:
1813         * text2.C:
1814         * text3.C: adjust
1815
1816 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1817
1818         * lyxtext.h:
1819         * text.C:
1820         * text2.C:
1821         * rowpainter.C:
1822         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1823         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1824
1825 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1826
1827         * Bidi.[Ch] (computeTables): const correctness
1828         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1829         fill_hfill, fill_label_hfill and x from Row
1830         * lyxtext.h: prepareToPrint returns a RowMetrics
1831         * rowPainter.C: adjust
1832         * text.C (prepareToPrint): use width, not textWidth. adjust
1833         (redoParagraphInternal, cursorX): adjust
1834         * text2.C (getColumnNearX): adjust
1835         (init): put a default value to the top LyXText::width
1836
1837 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1838
1839         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1840
1841 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1842
1843         * lyxtext.h: add FontIterator class
1844
1845         * text.C (FontIterator, operator*, operator->, operator++): add
1846         (rowBreakPoint, setRowWidth): adjust (fixing a
1847         rebreaking bug)
1848
1849 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1850
1851         * BufferView_pimpl.C (workAreaDispatch): allow also
1852         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1853
1854 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1855
1856         * text.C (rowBreakPoint): fix a bug showing with very large insets
1857
1858 2004-02-25  André Pönitz  <poenitz@gmx.net>
1859
1860         * text3.C:
1861         * cursor.[Ch]: move some mathed specific code to mathed
1862
1863 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1864
1865         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1866         use_tempdir in preferences
1867         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1868         tempfile creation
1869         * lyx_main.C: ensure that tempdir is valid
1870         * lyxlex.h: correct typo
1871         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1872         * paragraph.[Ch] (isMultiLingual): make const
1873         * cursor.[Ch] (openable): make const
1874
1875 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1876
1877         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1878
1879 2004-02-20  André Pönitz  <poenitz@gmx.net>
1880
1881         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1882
1883         * cursor.[Ch]: prepare for localized getStatus()
1884
1885         * lyxtext.h:
1886         * tabular.C:
1887         * text.C:
1888         * text2.C:
1889         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1890
1891 2004-02-20  André Pönitz  <poenitz@gmx.net>
1892
1893         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1894
1895 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1896
1897         * text2.C (setCursorFromCoordinates): switch to absolute coords
1898         (cursorUp): adjust
1899         (cursorDown): adjust
1900         * text3.C (dispatch): adjust
1901
1902 2004-02-16  André Pönitz  <poenitz@gmx.net>
1903
1904         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1905           insets/ChangeLog)
1906
1907         * cursor_slice.[Ch]: remove unneeded acessor function
1908
1909         * lyxtext.h: rename rtl() to isRTL()
1910
1911         * rowpainter.C:
1912         * tabular.C:
1913         * text.C:
1914         * text2.C:
1915         * text3.C: adjust
1916
1917 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1918
1919         * rowpainter.C (paintSelection): coord fix
1920
1921 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1922
1923         * Spacing.C: compile fix
1924
1925 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1926
1927         * cursor.C (dispatch): restore current_ before returning
1928
1929 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1930
1931         * text2.C (cursorUp, cursorDown): fix coords
1932         (moveUp): fix crash
1933
1934 2004-02-12  André Pönitz  <poenitz@gmx.net>
1935
1936         * lyxtext.h:
1937         * text.C:
1938         * text2.C:
1939         * text3.C: add LCursor & parameter to most cursor movement functions
1940           remove usage of LyXText::cursorRow() and cursorPar()
1941
1942         * cursor.[Ch]: add textRow() needed members
1943
1944         * BufferView.C:
1945         * BufferView_pimpl.C:
1946         * paragraph.[Ch]:
1947         * BufferView.C:
1948         * BufferView_pimpl.C: adjust
1949
1950 2004-02-11  André Pönitz  <poenitz@gmx.net>
1951
1952         * lyxfunc.C:
1953         * BufferView.[Ch]:
1954         * BufferView_pimpl.C: shift undo/redo handling
1955
1956         * cursor.[Ch]: fix mathed crash
1957
1958         * lyxfind.C:
1959         * lyxtext.h: move selectionAsText to LCursor
1960
1961         * output_latex.C:
1962         * paragraph.C:
1963         * text.C:
1964         * text2.C:
1965         * text3.C: adjust
1966
1967         * rowpainter.C: fix excessive drawing
1968
1969 2004-02-06  André Pönitz  <poenitz@gmx.net>
1970
1971         * BufferView.[Ch]:
1972         * BufferView_pimpl.[Ch]:
1973         * text3.C: move some text specific LFUN handling
1974
1975 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1976
1977         * text3.C (checkInsetHit): adjust coords
1978         * text2.C (getColumnNearX): adjust coords
1979         (edit): adjust coords
1980         * text.C (getRowNearY): add two asserts
1981
1982 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1983
1984         * converter.C:
1985         * format.C: add using std::distance to compile on gcc 2.95/stlport
1986
1987 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1988
1989         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1990
1991 2004-02-04  André Pönitz  <poenitz@gmx.net>
1992
1993         * BufferView.[Ch] (insertInset):
1994         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1995
1996         * text2.C:
1997         * text3.C: adjust
1998
1999 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2000
2001         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2002         on the default clause of the switch
2003         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2004         wasn't catched by LCursor::dispatch
2005
2006 2004-02-03  André Pönitz  <poenitz@gmx.net>
2007
2008         * BufferView.C:
2009         * cursor.[Ch]: some additional asserts
2010
2011         * undo.[Ch]: remove LyXText dependency in interface
2012
2013         * lyxfunc.C: adjust
2014
2015         * lyxtext.h (firstPar, lastPar): remove dead functions
2016
2017         * text.C:
2018         * text2.C:
2019         * text3.C:
2020         * paragraph.[Ch]: adjust
2021
2022 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2023
2024         * lyxfind.C (find): fix argument order in call to ::find
2025
2026 2004-02-02  André Pönitz  <poenitz@gmx.net>
2027
2028         * cursor.[Ch]: remove direct access to anchor
2029
2030         * text.C: remove findText() hack
2031
2032 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2033
2034         * iterators.[Ch] (lockPath): remove in favour of...
2035         * BufferView.[Ch] (setCursor): this addition
2036         * BufferView.C (putSelectionAt): adjust
2037         * undo.C (performUndoOrRedo): adjust
2038         * lyxfunc.C (dispatch): adjust
2039
2040 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2041
2042         * iterators.C (lockPath): add a missing slice
2043         * undo.C (performUndoOrRedo): remove redundant positioning code
2044
2045 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2046
2047         * vc-backend.C (scanMaster): ";" -> ';'
2048
2049 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2050
2051         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2052         std::binary_function
2053
2054         * lyxtextclass.C (compare_name): rename to...
2055         (LayoutNamesEqual): ...this
2056
2057         * lyxlex_pimpl.C (compare_tags): inherit from
2058         std::binary_function, put back into anon namespace
2059
2060         * lyxfind.C (MatchString): inherig from std::binary_function
2061         (findChange): use empty() istead of !size()
2062
2063         * format.C (FormatNamesEqual): new functor
2064         (getFormat): use it
2065         (getNumber): use it
2066         (add): use it
2067         (erase): use it
2068         (setViewer): use it
2069
2070         * converter.C (compare_Converter): rename to...
2071         (ConverterEqual): ...this, and fixup a bit.
2072         (getConverter): use it, and make function const
2073         (getNumber): use it, and make function const
2074         (add): use it
2075         (erase): use it:
2076
2077         * bufferlist.C: add using boost::bind
2078
2079         * MenuBackend.C (MenuNamesEqual): new functor
2080         (hasMenu): use it, and make function const
2081         (hasSubmenu): use nested bind to get rid of compare_memfun.
2082
2083 2004-01-30  André Pönitz  <poenitz@gmx.net>
2084
2085         * BufferView_pimpl.C:
2086         * cursor.C:
2087         * cursor.h:
2088         * cursor_slice.[Ch]:
2089         * lyxfunc.C:
2090         * lyxtext.h:
2091         * paragraph_funcs.C:
2092         * paragraph_funcs.h:
2093         * rowpainter.C:
2094         * text.C:
2095         * text2.C:
2096         * text3.C: move some of the edit(x,y) handling to the insets
2097         some coordinate changes.
2098
2099 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2100
2101         * text.C: add using statements for std::advance and std::distance
2102
2103         * paragraph.C: add using statement for std::distance
2104
2105         * lyxfind.C: add using statement for std::advance
2106
2107         * cursor.C (region): remove std:: from swap
2108         (openable): use nucleus in stead of operator->
2109
2110         * BufferView.C: add using statements for std::distance and std::swap
2111
2112 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2113
2114         * iterators.C: Remove the pimple, move the needed structures to
2115         the header file. Create accessor for the positions stack.
2116         (asPosIterator): remove function
2117
2118         * PosIterator.C (PosIterator): move constructors to top of file
2119         (PosIterator): reimplement the constructor taking a ParIterator in
2120         terms of setFrom.
2121         (setFrom): new function
2122         (operator!=): inline it
2123
2124 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2125
2126         * lyxfind.C (replaceAll): use std::advance
2127
2128         * iterators.h: inherit from std::iterator.
2129
2130         * PosIterator.C (advance, distance): remove
2131         * PosIterator.h: interit from std::iterator.
2132
2133 2004-01-26  André Pönitz  <poenitz@gmx.net>
2134
2135         * BufferView.[Ch]:
2136         * BufferView_pimpl.[Ch]:
2137         * InsetList.[Ch]:
2138         * PosIterator.[Ch]:
2139         * buffer.h:
2140         * bufferview_funcs.C:
2141         * cursor.[Ch]:
2142         * cursor_slice.h:
2143         * factory.[Ch]:
2144         * iterators.[Ch]:
2145         * lyxfind.C:
2146         * lyxfunc.C:
2147         * lyxtext.h:
2148         * output_docbook.C:
2149         * output_latex.C:
2150         * output_linuxdoc.C:
2151         * output_plaintext.C:
2152         * paragraph.[Ch]:
2153         * paragraph_funcs.[Ch]:
2154         * paragraph_pimpl.[Ch]:
2155         * rowpainter.C:
2156         * tabular.C:
2157         * tabular.h:
2158         * text.C:
2159         * text2.C:
2160         * text3.C: more IU:  dumps most of the rest of the mathcursor
2161     implementation into cursor.[Ch]; "globalize" a bit of it.
2162
2163 2004-01-25  Angus Leeming  <leeming@lyx.org>
2164
2165         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2166
2167 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2168
2169         * LaTeXFeatures.h: add nice_ and nice() const
2170         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2171
2172 2004-01-20  André Pönitz  <poenitz@gmx.net>
2173
2174         * BufferView.[Ch]:
2175         * BufferView_pimpl.C:
2176         * PosIterator.C:
2177         * bufferview_funcs.C:
2178         * cursor.[Ch]:
2179         * cursor_slice.[Ch]:
2180         * factory.C:
2181         * iterators.C:
2182         * lyx_cb.C:
2183         * lyxfind.C:
2184         * lyxfunc.C:
2185         * lyxtext.h:
2186         * rowpainter.C:
2187         * text.C:
2188         * text2.C:
2189         * text3.C:
2190         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2191           LCursor and mathcursor parts to LCursor and InsetBase.
2192
2193 2004-01-15  André Pönitz  <poenitz@gmx.net>
2194
2195         * cursor_slice.[Ch]: add a few covienience functions
2196
2197         * funcrequest.[Ch]: remove BufferView * member
2198
2199         * BufferView_pimpl.C:
2200         * cursor.C:
2201         * factory.[Ch]:
2202         * lyxfind.[Ch]:
2203         * lyxfunc.C:
2204         * lyxtext.h:
2205         * text3.C:
2206         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2207
2208 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2209
2210         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2211         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2212
2213 2004-01-13  André Pönitz  <poenitz@gmx.net>
2214
2215         * textcursor.[Ch]:
2216         * lyxtext.h: hide cursor and selection anchor behind accessor function
2217
2218         * BufferView.C:
2219         * BufferView_pimpl.[Ch]:
2220         * PosIterator.C:
2221         * bufferview_funcs.C:
2222         * cursor.h:
2223         * lyxfind.C:
2224         * lyxfunc.C:
2225         * text.C:
2226         * text2.C:
2227         * text3.C:
2228         * undo.C: adjust
2229
2230         * cursor.h:
2231         * cursor_slice.[Ch]: some integer type changes for inset unification
2232
2233         * lyxcursor.[hC]: remove, it's CursorSlice now.
2234
2235         * Makefile.am:
2236         * BufferView_pimpl.[Ch]:
2237         * bufferview_funcs.C:
2238         * cursor_slice.C:
2239         * lyxtext.h:
2240         * text.C:
2241         * text2.C:
2242         * text3.C:
2243         * textcursor.[Ch]: adjust
2244
2245 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2246
2247         * text2.C (undoSpan): add and use
2248         * text.C (breakParagraph): use undoSpan (fix bug 578)
2249         * lyxtext.h: adjust
2250
2251 2004-01-08  Angus Leeming  <leeming@lyx.org>
2252
2253         * BufferView_pimpl.C (MenuInsertLyXFile):
2254         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2255         * lyxfunc.C (menuNew, open, doImport):
2256         FileFilterList change to the FileDialog open and save functions.
2257
2258 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2259
2260         * ShareContainer.h: make isEqual and isUnique adaptable
2261
2262         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2263
2264 2004-01-07  Angus Leeming  <leeming@lyx.org>
2265
2266         * LyXAction.C:
2267         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2268
2269         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2270
2271         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2272         functions replacing find, replace and replaceAll.
2273
2274         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2275         LFUN_WORDFIND(FORWARD|BACKWARD).
2276
2277 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2278
2279         * text.C (breakParagraph): remove an outdated #warning
2280
2281 2004-01-07  André Pönitz  <poenitz@gmx.net>
2282
2283         * lyxfind.C: somewhat clearer logic
2284
2285         * text.C: prevent crash in cursorX on unitialized row cache
2286
2287 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2288
2289         * lyxcursor.[Ch] (operator>): add
2290         * textcursor.C (selStart, selEnd): use std::min and std::max
2291
2292 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2293
2294         * Chktex.C: include boost/format.hpp
2295
2296 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2297
2298         * InsetList.C: replace functor MathcIt with adaptable functor
2299         InsetTablePosLess
2300         (insetIterator): modify accordingly
2301
2302         * BranchList.h: move the BranchNamesEqual functor here from...
2303         * BranchList.C: ... to here
2304
2305         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2306         SameName and match.
2307         (add): replace a finding loop with std::find_if.
2308
2309 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2310
2311         * output_docbook.C: moving LatexParam functionality into
2312         .layout files
2313
2314 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2315
2316         * buffer.C: increment format to 229.
2317
2318 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2319
2320         * LaTeXFeatures.C:
2321         * lyx_sty.[Ch]: remove minipageindent_def
2322
2323         * LyXAction.C:
2324         * factory.C:
2325         * lfuns.h:
2326         * lyxfunc.C:
2327         * text3.C: remove LFUN_INSET_MINIPAGE
2328
2329 2003-12-28  Angus Leeming  <leeming@lyx.org>
2330
2331         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2332
2333 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2334
2335         * text2.C (setParagraph): fix off-by-one crash
2336
2337 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2338
2339         * output_docbook.C: header stuff for AGU
2340
2341 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2342
2343         * text2.C (redoCursor): remove
2344         * text.C:
2345         * text3.C:
2346         * BufferView_pimpl.C: remove calls to redoCursor and
2347         setCursor(cursor.par(), cursor.pos()) all around
2348
2349 2003-12-15  Angus Leeming  <leeming@lyx.org>
2350
2351         * buffer.C: up the format to 228.
2352
2353 2003-12-15  André Pönitz  <poenitz@gmx.net>
2354
2355         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2356         slices
2357
2358         * Makefile.am:
2359
2360         * BufferView_pimpl.C:
2361         * cursor.[Ch]:
2362         * lyxcursor.[Ch]:
2363         * rowpainter.[Ch]:
2364         * lyxtext.h:
2365         * text.C:
2366         * text2.C:
2367         * text3.C: adjust
2368
2369 2003-12-15  Angus Leeming  <leeming@lyx.org>
2370
2371         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2372         than getFromGUIName to manipulate the color.
2373
2374 2003-12-14  Angus Leeming  <leeming@lyx.org>
2375
2376         * BranchList.[Ch]: minimize the API.
2377         (Branch::getBranch, getColor): now return a 'const &'.
2378         (Branch::setSelected) now returns a bool set to true if the
2379         selection status changes.
2380         (BranchList::clear, size, getColor, setColor, setSelected,
2381         allBranches, allSelected, separator): removed.
2382         (BranchList::find): new functions, returning the Branch with
2383         the given name.
2384         (BranchList::add, remove): return a bool indicating that
2385         the operation was successful.
2386
2387         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2388         new InsetBranch::isBranchSlected member function.
2389
2390         * LColor.[Ch]: mimimize the API.
2391         (fill): renamed as addColor and made private.
2392         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2393         versions of these functions taking a string arg have been removed.
2394
2395         * bufferparams.C (readToken):
2396         * lyxfunc.C (dispatch):
2397         * lyxrc.C (read): changes due to the altered BranchList and
2398         LColor APIs.
2399
2400         * factory.C (createInset, readInset): changes due to altered
2401         InsetBranch c-tor.
2402
2403 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2404
2405         * factory.C:
2406         * lyxfunc.C: remove insetminipage. "minipage-insert"
2407         now produces a frameless minipage box inset.
2408
2409 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2410
2411         * textcursor.[Ch] (selStart,selEnd): add new methods
2412         remove selection::start, end, use LyXCursor::operator<
2413         * lyxcursor.[Ch] (operator<): add
2414         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2415         * BufferView.[Ch] (unsetXSel): add
2416         * text2.C (clearSelection): use unsetXSel,adjust
2417         * text.C: adjust
2418         * text3.C: adjust
2419         * rowpainter.C: adjust
2420         * bufferview_funcs.C (put_selection_at): adjust
2421
2422 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * BufferView_pimpl.C: small coord. correction
2425
2426 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2427
2428         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2429         dragging over the splash screen.
2430
2431 2003-12-11  Angus Leeming  <leeming@lyx.org>
2432
2433         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2434         as it is now handled in LyXText::dispatch.
2435
2436         * text3.C (doInsertInset): remove a level of nesting.
2437
2438 2003-12-11  Angus Leeming  <leeming@lyx.org>
2439
2440         * factory.C (createInset): changes due to the changed interface to
2441         InsetCommandMailer::string2params.
2442
2443 2003-12-10  Angus Leeming  <leeming@lyx.org>
2444
2445         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2446         'dialog-show-new-inset <inset name>'
2447
2448 2003-12-10  Angus Leeming  <leeming@lyx.org>
2449
2450         * buffer.C: up the format to 227.
2451
2452         * factory.C: the box inset is now identified simply by 'Box'.
2453
2454 2003-12-10  Angus Leeming  <leeming@lyx.org>
2455
2456         * buffer.C: up the format to 226.
2457
2458         * factory.C: the note inset is now identified simply by 'Note'.
2459
2460 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2461
2462         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2463         when a pit is enough. Standarize a couple of loops.
2464
2465 2003-12-05  Angus Leeming  <leeming@lyx.org>
2466
2467         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2468         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2469         data to the re-worked "log" dialog.
2470
2471 2003-12-03  André Pönitz  <poenitz@gmx.net>
2472
2473         * PosIterator.C:
2474         * iterators.C:
2475         * lyxtext.h:
2476         * output_latex.C:
2477         * paragraph_funcs.C:
2478         * text.C:
2479         * text2.C: use Inset::getText instead of Inset::getParagraph
2480
2481 2003-12-03  André Pönitz  <poenitz@gmx.net>
2482
2483         * buffer.[Ch]:
2484         * lyxtext.h:
2485         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2486         InsetText::read() as LyXText::read()
2487
2488 2003-12-02  Angus Leeming  <leeming@lyx.org>
2489
2490         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2491         type. Add a comment in the implementation that the function uses
2492         the stream's bad() function rather than fail() as the std::streams
2493         would do.
2494
2495 2003-12-02  André Pönitz  <poenitz@gmx.net>
2496
2497         * lyxlex.[Ch]: make interface more similar to std::stream
2498
2499         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2500
2501 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2502
2503         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2504
2505 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2506
2507         * vspace.[Ch]: remove VSpace::NONE
2508
2509 2003-12-01  André Pönitz  <poenitz@gmx.net>
2510
2511         * buffer.[Ch]:
2512         * lyxtext.h: move ParagraphList member to LyXText
2513         rename LyXText::ownerParagraphs to LyXText::paragraph
2514
2515         * CutAndPaste.C:
2516         * bufferview_funcs.C:
2517         * iterators.[Ch]:
2518         * lyx_cb.C:
2519         * paragraph.C:
2520         * rowpainter.C:
2521         * tabular.C:
2522         * text.C:
2523         * text2.C:
2524         * text3.C: adjust
2525
2526         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2527
2528         * undo.C: fix cursor positioning
2529
2530 2003-12-01  John Levon  <levon@movementarian.org>
2531
2532         * BufferView_pimpl.C: fix a crash on exit with
2533         a buffer open
2534
2535 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2536
2537         * BranchList.C: fix setSelected() method.
2538
2539 2003-11-28  André Pönitz  <poenitz@gmx.net>
2540
2541         * ParagraphParameters.[Ch]:
2542         * ParameterStruct.h: remove space above/below from Paragraph to
2543          InsetVSpace
2544
2545         * BufferView_pimpl.C:
2546         * factory.C:
2547         * lyxfunc.C:
2548         * lyxtext.h:
2549         * output_latex.C:
2550         * paragraph.C:
2551         * paragraph_funcs.C:
2552         * rowpainter.[Ch]:
2553         * text.C:
2554         * text2.C:
2555         * text3.C: adjust
2556
2557 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2558
2559         * factory.C: Syntax change for CharStyles
2560
2561 2003-11-28  André Pönitz  <poenitz@gmx.net>
2562
2563         * BufferView.[Ch]:
2564         * BufferView.[Ch]:
2565         * buffer.[Ch]:
2566         * buffer.[Ch]: move LyXText member
2567
2568 2003-11-28  André Pönitz  <poenitz@gmx.net>
2569
2570         * BufferView.[Ch]: make LyXText * text a private member
2571
2572         * BufferView_pimpl.C:
2573         * cursor.C:
2574         * iterators.C:
2575         * lyx_cb.C:
2576         * lyxfind.C:
2577         * lyxtext.h:
2578         * rowpainter.[Ch]:
2579         * text.C:
2580         * text2.C:
2581         * undo.C: adjust
2582
2583         * output_plaintext.C: cleanup
2584
2585 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2586
2587         * buffer.C:
2588         * lyxtextclass.[Ch]: parametrize SGML document header
2589
2590 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2591
2592         * converter.[Ch]:
2593         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2594         getFlavor().
2595
2596 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2597
2598         * text2.C (setFont): rework using PosIterator (no more recursive)
2599         (setCharFont): no more needed
2600         (setLayout): no more selection cursors fiddling (done by redoCursor)
2601         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2602         destroy remaining ones)
2603
2604 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2605
2606         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2607         * lyxtext.h: ditto
2608         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2609         selection cursors
2610         * lyxfunc.C: adjust
2611         * text3.C: adjust + re-allow multi par depth changes
2612         * textcursor.C: simplify a bit
2613
2614 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2615
2616         * src/buffer.C:
2617         * src/lyxlayout.C:
2618         * src/lyxlayout.h:
2619         * src/lyxtext.h:
2620         * src/output_docbook.C:
2621         * src/output_latex.C:
2622         * src/paragraph.C:
2623         * src/paragraph.h:
2624         * src/sgml.C:
2625         * src/sgml.h:
2626         * src/text2.C: Introducing a number of tags parametrizing various
2627         XML formats that we may want to support
2628
2629 2003-11-25  André Pönitz  <poenitz@gmx.net>
2630
2631         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2632
2633         * lyxtext.h (leftMargin/rightMargin): simplify interface
2634
2635         * rowpainter.C:
2636         * text.C:
2637         * text2.C:
2638         * text3.C: adjust
2639
2640 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2641
2642         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2643         master file to any child files. Fixes bug 546.
2644
2645 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2646
2647         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2648
2649 2003-11-24  André Pönitz  <poenitz@gmx.net>
2650
2651         * rowpainter.C: simplification
2652
2653         * text2.C (updateCounters): remove call to redoParagraph on
2654         changed labels as this is far too expensive.
2655
2656 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2657
2658         * converter.C (convert): fix a crash: this function gets
2659         called with buffer == 0 from importer code.
2660
2661 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2662
2663         * text3.C (cursorPrevious): make sure that we do not compare
2664         iterators form different containers.
2665         (cursorNext): ditto
2666
2667         * rowpainter.C (paintSelection): make sure that we do not compare
2668         iterators from different containers.
2669
2670         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2671         iterators from different ParagraphList containers.
2672         [NEXT] ditto
2673
2674         * text2.C (LyXText): change order of initialization slightly
2675         (operator=): new function. copy all variables except cache_par_
2676         (moveUp): make sure that we do not compare iterators from
2677         different ParagraphList constainers.
2678         (moveDown): ditto
2679
2680         * text.C (firstPar): new function
2681         (lastPar): new function
2682         (endPar): new function
2683
2684         * lyxtext.h: move things around and group public functions, public
2685         variables, private functions, private variables
2686
2687 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2688
2689         * factory.C: change call to InsetERT constructor to avoid
2690         additional invocation of method status
2691         * text2.C (toggleInset): remove redundant update() call
2692         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2693         instead of a Bufferview pointer
2694
2695 2003-11-21  André Pönitz  <poenitz@gmx.net>
2696
2697         * rowpainter.C: simplification
2698
2699 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2700
2701         * text3.C (dispatch): make possible to extend a word/row selection
2702         with the mouse
2703
2704 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2705
2706         * lyxtext.h: x0_,y0_ -> xo_,yo_
2707         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2708         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2709         * rowpainter.C (paintRows): paint full paragraphs
2710
2711 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2712
2713         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2714         screen coordinates)
2715
2716 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2717
2718         * lyxtext.h: add x0_, y0_
2719         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2720         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2721
2722 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2723
2724         * text2.C (setCursorIntern): move the x_target update here *
2725         * text3.C: change some bv() to true/false in calls to
2726         cursorUp/Down/Right/Left
2727         * cursor.C: use helper function.
2728
2729 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2730
2731         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2732         * paragraph_funcs.[Ch]: correct comment
2733         * rowpainter.C: do not paint selections away from bv->cursor()
2734         Fix a long standing selection painting bug.
2735         * text3.C: generalize mouse-selection code to LyXTexts other that
2736         top one
2737         * textcursor.C: do not use y coords if we can use par offsets
2738
2739 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2740
2741         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2742         cursor position after e.g. inset insert)
2743
2744 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2745
2746         * lyxfind.C (replace): adjust to locking removal + some
2747         code simplification
2748
2749 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2750
2751         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2752         of the path
2753
2754 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2755
2756         * lyxlayout.[Ch]:
2757         * output_docbook.C: XML sanitation: new layout
2758         parameters InnerTag and CommandDepth
2759
2760 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2761
2762         * BufferView_pimpl.C:
2763         * factory.C:
2764         * text3.C: Fix the insertion and modification of button-style
2765         insets
2766
2767 2003-11-13  André Pönitz  <poenitz@gmx.net>
2768
2769         * InsetList.[Ch]: remove deleteLyXText
2770
2771         * paragraph.[Ch]: cache beginOfBody position
2772
2773         * Bidi.C:
2774         * text.C:
2775         * text2.C:
2776         * text3.C: remove superfluous update() calls
2777
2778         * vspace.C: cleanup
2779
2780 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2781
2782         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2783         * BufferView.C (fitLockedInsetCursor): remove
2784         * cursor.[Ch] (getDim): add
2785         * text.C (getRowNearY): add faster version
2786         * text3.C: remove some update calls
2787
2788 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2789
2790         * LaTeXFeatures.C:
2791         * LyXAction.C:
2792         * MenuBackend.C:
2793         * MenuBackend.h:
2794         * dispatchresult.h:
2795         * factory.C:
2796         * lfuns.h:
2797         * lyxfunc.C:
2798         * lyxtextclass.C:
2799         * lyxtextclass.h:
2800         * text3.C: The Character Style /XML short element patch.
2801
2802 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2803
2804         * text3.C:
2805         * factory.C: Small step to solving 'unable to insert some insets'
2806         problem
2807
2808 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2809
2810         * cursor.[Ch] (updatePos): new function for updating the y
2811         position of the tip inset
2812         * bufferview_funcs.C (put_selection_at):
2813         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2814
2815 2003-11-11  André Pönitz  <poenitz@gmx.net>
2816
2817         * text.C: remove big comment on invalid Paragraph pointers as it is
2818         not valid anymore
2819
2820 2003-11-11  André Pönitz  <poenitz@gmx.net>
2821
2822         * text_funcs.[Ch]: merge with ...
2823
2824         * text.C: ... this
2825
2826         * lyxtext.h:
2827         * text2.C:
2828         * text3.C: adjust
2829
2830         * Makefile.am: remove text_funcs.[Ch]
2831
2832 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2833
2834         * cursor.C (getPos): return absolute cached y coord
2835
2836         * BufferView_pimpl.C (fitCursor): new simplistic code
2837         (workAreaDispatch): add a fitCursor call
2838
2839 2003-11-10  André Pönitz  <poenitz@gmx.net>
2840
2841         * BufferView.[Ch]:
2842         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2843
2844 2003-11-10  André Pönitz  <poenitz@gmx.net>
2845
2846         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2847         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2848         indicate that the cursor needs to leave an inset
2849
2850         * lyxtext.h: remove inset locking
2851
2852         * cursor.[Ch]: re-implement functionality provided by inset locking
2853
2854         * BufferView.[Ch]:
2855         * BufferView_pimpl.[Ch]:
2856         * LyXAction.C:
2857         * bufferview_funcs.[Ch]:
2858         * factory.C:
2859         * funcrequest.[Ch]:
2860         * iterators.C:
2861         * lyx_cb.C:
2862         * lyxfind.C:
2863         * lyxfunc.C:
2864         * text.C:
2865         * text2.C:
2866         * text3.C:
2867         * undo.C: adjust
2868
2869 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2870
2871         * PosIterator.[Ch]: replace the stack with a vector, add inset
2872         accesor
2873         * iterators.[C]: adjust
2874
2875 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2876
2877         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2878         replaced
2879         * paragraph_funcs.C (readParToken): put the correct id in the
2880         error item, not the id of the top paragraph
2881
2882 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2883
2884         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2885         * bufferview_funcs.C (put_selection_at): use the above
2886
2887 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2888
2889         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2890
2891 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2892
2893         * output_linuxdoc.h:
2894         * output_plaintext.h:
2895         * output.h:
2896         * output_docbook.h: add #include statements
2897
2898 2003-11-05  José Matos  <jamatos@lyx.org>
2899
2900         * output_docbook.[Ch]:
2901         * output_latex.[Ch]:
2902         * output_linuxdoc.[Ch]:
2903         * output_plaintext.[Ch]: New files for output formats.
2904         * output.[Ch]: New file for helper functions.
2905
2906         * buffer.[Ch]:
2907         * paragraph_funcs.[Ch]: output functions moved to new files.
2908
2909         * outputparams.h: rename of latexrunparams.h
2910
2911         * LaTeX.[Ch]:
2912         * buffer.[Ch]:
2913         * bufferlist.[Ch]:
2914         * converter.[Ch]:
2915         * exporter.C:
2916         * paragraph.[Ch]:
2917         * paragraph_funcs.[Ch]:
2918         * paragraph_pimpl.[Ch]:
2919         * tabular.[Ch]: rename ascii to plaintext
2920         and LatexRunParams to OutputParams.
2921
2922 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2923
2924         * iterators.[Ch] (text): require bv argument
2925         * undo.C (recordUndo):
2926         * lyxfunc.C (dispatch):
2927         * bufferview_funcs.C (put_selection_at): adjust
2928
2929 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2930
2931         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2932
2933 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2934
2935         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2936         nestings
2937
2938 2003-11-04  André Pönitz  <poenitz@gmx.net>
2939
2940         * cursor.[Ch]: restructure
2941
2942         * BufferView.[Ch]:
2943         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2944
2945         * iterators.[Ch] (asCursor): remove
2946
2947         * lfuns.h: remove LFUN_INSET_EDIT
2948
2949         * lyxfunc.C:
2950         * tabular.C:
2951         * text.C:
2952         * text2.C:
2953         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2954
2955 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2956
2957         * lyxfind.[Ch]: complete overhaul
2958         * BufferView_pimpl.C:
2959         * lyxfunc.C: adjust
2960         * paragraph.[Ch] (insert): add
2961
2962 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2963
2964         * BufferView.[Ch]:
2965         * lyxtext.h:
2966         * text.C: remove dead spellcheck code
2967
2968 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2969
2970         * dispatchresult.h: add a val setter
2971
2972         * cursor.C (dispatch): use a tempvar for data_[i]
2973
2974 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2975
2976         * PosIterator.[Ch]: compile fix
2977
2978 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2979
2980         * text.C (cursorPar): deactivate the cursor cache
2981
2982 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2983
2984         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2985
2986 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2987
2988         * text3.C (dispatch): adjust for new DisptchResult semantics.
2989
2990         * lyxfunc.C (dispatch): handle update when return from
2991         Cursor::dispatch, adjust for new DispatchResult semantics.
2992
2993         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2994         DispatchResult(true) mean to not update. Add class functions for
2995         setting dispatched and update, as well as reading.
2996
2997         * cursor.C (dispatch): don't handle update here
2998
2999 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3000
3001         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3002         * trans_mgr.C: adjust
3003
3004         * paragraph_funcs.C (readParToken): exception safety
3005
3006         * lyxvc.h: store the vcs pointer in a scoped_ptr
3007         * lyxvc.C: adjust
3008
3009         * lyxsocket.C (serverCallback): exception safety
3010
3011         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3012
3013         * ispell.C (clone): make it return a auto_ptr
3014
3015         * factory.C (createInset): exception safety
3016         (readInset): exception safety
3017
3018         * bufferlist.C (newBuffer): exception safety
3019
3020         * Thesaurus.C (Thesaurus): use initialization for aik_
3021
3022         * MenuBackend.C (expandToc): exception safety.
3023
3024 2003-11-03  André Pönitz  <poenitz@gmx.net>
3025
3026         * buffer.C:
3027         * buffer.h:
3028         * bufferview_funcs.C: remove getInsetFromId()
3029
3030         * lyxcursor.[Ch]:
3031         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3032
3033         * lyxfunc.C:
3034         * text2.C:
3035         * text3.C: adjust
3036
3037 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3038
3039         * PosIterator.C (distance, advance): new
3040         * bufferview_funcs.[Ch] (put_selection_at): new
3041         * iterators.[Ch] (lockPath): new
3042
3043 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3044
3045         * iterators.[Ch] (asPosIterator): added
3046         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3047         * PosIterator.[Ch]: added
3048
3049 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3050
3051         * text3.C:
3052         * lyxfunc.C:
3053         * cursor.C (dispatch):
3054         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3055
3056         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3057         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3058         contructor, add a class function dispatched. Remove operator>=
3059
3060 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3061
3062         * debug.C: only use the default constructor for debugstream
3063         (lyxerr) here.
3064
3065         * main.C (main): include debug.h and setup the lyxerr streambuf
3066         here.
3067
3068 2003-10-31  José Matos  <jamatos@lyx.org>
3069
3070         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3071
3072         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3073         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3074         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3075         * paragraph_pimpl.C (simpleTeXSpecialC):
3076         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3077         add LatexRunParams argument.
3078
3079         * exporter.C (Export): change call accordingly.
3080
3081         * latexrunparams.h: add new member to take care of the other backends.
3082 2003-10-30  José Matos  <jamatos@lyx.org>
3083
3084         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3085         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3086         factorise code for paragraph output.
3087         * buffer.[Ch]:
3088         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3089         move functions.
3090
3091 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3092
3093         * text3.C (dispatch):
3094         * lyxfunc.C (dispatch):
3095         * cursor.C (dispatch):
3096         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3097
3098         * dispatchresult.h: make the dispatch_result_t ctor explicit
3099
3100 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3101
3102         * sgml.[Ch]:
3103         * buffer.C: small refactoring of docbook stuff
3104
3105 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3106
3107         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3108         meaning.
3109
3110 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3111
3112         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3113         operator dispatch_result_t, and operators for == != and >=
3114
3115         * cursor.C (dispatch): adjust for operator dispatch_result_t
3116         removal. comment out call to update
3117
3118         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3119
3120 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3121
3122         * text3.C:
3123         * text2.C:
3124         * text.C:
3125         * lyxtext.h:
3126         * lyxfunc.C:
3127         * cursor.C:
3128         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3129         (dispatch):
3130
3131         * dispatchresult.h: new file, DispatchResult broken out of
3132         insets/insetbase.h
3133
3134         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3135
3136 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3137
3138         * text.C (rowBreakPoint): put a hack inside #if 0
3139
3140 2003-10-28  André Pönitz  <poenitz@gmx.net>
3141
3142         * lyxtext.h:
3143         * metricsinfo.C:
3144         * paragraph_funcs.C:
3145         * rowpainter.C:
3146         * text.C:
3147         * text2.C: general cleanup (lots of small stuff)
3148
3149 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3150
3151         * text2.C (cursorEnd): simple fix to the "end key goes to one
3152         before the end on last row" bug
3153
3154 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3155
3156         * text.C (backspace): fix the "zombie characters"
3157
3158 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3159
3160         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3161
3162 2003-10-27  André Pönitz  <poenitz@gmx.net>
3163
3164         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3165
3166         * factory.C: handle new InsetPagebreak, InsetLine
3167
3168         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3169         and move handling into new InsetPagebreak, InsetLine
3170
3171         * BufferView_pimpl.C:
3172         * LyXAction.C:
3173         * ParagraphParameters.C:
3174         * ParameterStruct.h:
3175         * lyxfunc.C:
3176         * lyxtext.h:
3177         * paragraph.C:
3178         * paragraph.h:
3179         * paragraph_funcs.C:
3180         * paragraph_pimpl.C:
3181         * rowpainter.C:
3182         * text.C:
3183         * text2.C:
3184         * text3.C: adjust
3185
3186 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3187
3188         * text.C:
3189         * lyxrow_funcs.[Ch]:
3190         * Bidi.C:
3191         * paragraph.C:
3192         * lyxtext.h:
3193         * rowpainter.C:
3194         * text2.C:
3195         * text3.C: remove lastPos uses in favour of Row::endpos
3196
3197 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3198
3199         * undo.C (performUndoOrRedo): fix two crashes by setting a
3200         cursor by hand and reordering some calls. Use bv->lockInset instead
3201         of inset->edit because the latter loses cursor information
3202
3203 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3204
3205         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3206         by Martin
3207         (rowBreakPoint): fix width. change point to point + 1.
3208         Add a missing check.
3209
3210 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3211
3212         * MenuBackend.C:
3213         * lyxfunc.C: fix (at least partly) the problems
3214         with the Nav menu and headers inside branch insets
3215         reported by Kayvan
3216
3217 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3218
3219         * paragraph.C (getChar): add strong asserts
3220
3221         * lyxrow_funcs.C (lastPos): remove hideous hack
3222
3223         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3224         (fill): adjust to that (avoid an infinite loop)
3225
3226 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3227
3228         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3229
3230 2003-10-23  André Pönitz  <poenitz@gmx.net>
3231
3232         * RowList_fwd.h: change list<> to vector<> to gain speed
3233         after suggestion from Alfredo
3234
3235 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3236
3237         * lyxtext.h: move the bidi stuff from here...
3238         * text.C: and here
3239         * text2.C: and here
3240         * Bidi.[Ch]: ... to here
3241
3242 2003-10-23  André Pönitz  <poenitz@gmx.net>
3243
3244         * lyxtext.h:
3245         * text.C (isLastRow, isFirstRow): new functions
3246
3247         * paragraph.h: new width cache member
3248
3249         * rowpainter.C: replace RowList::iterator with Row & where possible
3250
3251         * lyxfunc.C: replace several view()->text with a single call
3252
3253         * toc.C: fix 'unused' warning
3254
3255 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3256
3257         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3258         when woring with stream::pos_type
3259         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3260
3261 2003-10-22  André Pönitz  <poenitz@gmx.net>
3262
3263         * lyxtext.h:
3264         * text.C: use Row & instead of RowList::iterator
3265
3266         * lyxrow.h: rename end() to endpos()
3267
3268         * rowpainter.C:
3269         * text.C:
3270         * text2.C: adjust
3271
3272 2003-10-22  Angus Leeming  <leeming@lyx.org>
3273
3274         * buffer.[Ch] (fully_loaded): new member function, returning true
3275         only when the file has been loaded fully.
3276         Used to prevent the premature generation of previews and by the
3277         citation inset to prevent computation of the natbib-style label.
3278
3279         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3280         templates are all set up.
3281
3282         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3283
3284 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3285
3286         * text.C: fixed an "oops" in the "is a bit silly"
3287         bug fix
3288
3289 2003-10-21  André Pönitz  <poenitz@gmx.net>
3290
3291         * FuncStatus.[Ch]: small stuff, whitespace
3292
3293         * lyxfont.[Ch]: operator<<() for debug reasons
3294
3295         * lyxfunc.C:
3296         * lyxrow_funcs.C:
3297         * lyxtext.h: whitespace, spelling
3298
3299         * paragraph.C: naming of variables
3300
3301         * text.C:
3302         * text2.C: small stuff
3303
3304
3305 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3306
3307         * text.C: (1) finish off the inset display() work;
3308         (2) fix the "is a bit silly" bug (accessing char
3309         past end of par).
3310
3311 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3312
3313         * text.C: re-introduce display() for insets, fixing the
3314         various bugs (stretch of line above, math inset
3315         positioning, ...)
3316
3317 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3318
3319         * text.C (rightMargin): remove spurious semicolon
3320
3321         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3322         1415)
3323
3324 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3325
3326         * text3.C: fix one crash due to wrong cursor def
3327
3328 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3329
3330         * vc-backend.C (scanMaster): make the regex static
3331
3332         * LaTeX.C (scanAuxFile): make the regexs static
3333
3334         * text3.C (doInsertInset, dispatch, dispatch):
3335         * text2.C (cursorUp, cursorDown):
3336         * text.C (selectNextWordToSpellcheck):
3337         * BufferView_pimpl.C (dispatch):
3338         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3339
3340 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3341
3342         * lyxsocket.C: include <cerrno>
3343
3344 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3345
3346         * lyxfunc.C (dispatch): remove textcache stuff
3347
3348         * bufferlist.C (release): remove textcache stuff
3349         (closeAll): ditto
3350
3351         * TextCache.C: delete file
3352         * TextCache.h: delete file
3353
3354         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3355
3356         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3357         delete of the bv_->text.
3358         (resizeCurrentBuffer): remove texcache stuff
3359         (workAreaResize): ditto
3360
3361 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3362
3363         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3364         action.
3365
3366 2003-10-16  André Pönitz  <poenitz@gmx.net>
3367
3368         * lyxrow.[Ch]:
3369         * paragraph.h:
3370         * rowpainter.C:
3371         * text.C:
3372         * text2.C:
3373         * text3.C: speed up by storing y positions per paragraph plus per-row
3374         offset instead of having a 'full' y position in the row.
3375
3376 2003-10-15  André Pönitz  <poenitz@gmx.net>
3377
3378         * iterators.[Ch]:
3379         * iterators.[Ch]:
3380         * undo.[Ch]: make undo aware of inner insets
3381
3382 2003-10-14  Angus Leeming  <leeming@lyx.org>
3383
3384         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3385         static member functions LyX::ref() and LyX::cref.
3386         (lastfiles): new accessor functions for the new lastfiles_ member var.
3387         (addLyXView, views_): add a new LyXView to the list of views_.
3388         (updateInset): loop over all LyXViews to call their own updateInset
3389         member function, returning a pointer to the Buffer owning the inset.
3390
3391         * BufferView_pimpl.C (loadLyXFile):
3392         * MenuBackend.C (expandLastfiles):
3393         * bufferlist.C (MenuWrite, QuitLyX):
3394         lastfiles is no longer a global variable.
3395         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3396
3397         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3398         static function. Access through LyX::cref().emergencyCleanup().
3399
3400 2003-10-14  André Pönitz  <poenitz@gmx.net>
3401
3402         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3403
3404         * undo.[Ch]: restoring part of 'undo in insets'
3405
3406         * Makefile.am:
3407         * undo_funcs.[Ch]: merge with undo.[Ch]
3408
3409         * tabular.C: small cleansing stuff
3410
3411 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3412
3413         * paragraph_funcs.C (readParToken): report unknown insets as error
3414         boxes. Use the outer paragraph as location (also for unknown
3415         tokens).
3416
3417         * factory.C (readInset): do not abort on reading an unknown inset.
3418         Eat it and return 0.
3419
3420 2003-10-13  Angus Leeming  <leeming@lyx.org>
3421
3422         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3423
3424         * lyxrc.C: displayTranslator is now a function,
3425         declared in GraphicsTypes.h.
3426
3427 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3428
3429         * format.C: new placeholder $$a to pass the socket address.
3430
3431         * bufferlist.[Ch]: new function getBufferFromTmp.
3432
3433         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3434           files in the temporary dir.
3435
3436 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3437
3438         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3439
3440         * Makefile.am: add lyxsocket.[Ch].
3441
3442         * lyx_main.C (error_handler): handle SIGPIPE.
3443
3444 2003-10-13  André Pönitz  <poenitz@gmx.net>
3445
3446         * BufferView_pimpl.C:
3447         * lyxtext.h:
3448         * text.C:
3449         * text2.C:
3450         * text3.C:
3451         * undo_funcs.[Ch]: use paroffset_type instead of
3452           ParagraphList::iterators to prevent multiple conversion
3453           (and get a more robust interface)
3454
3455 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3456
3457         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3458         * lyxtext.h: ditto
3459         * text3.C (dispatch): ditto
3460
3461 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3462
3463         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3464         move the onlyfile, use onlyfile instead of foundfile in a couple
3465         of places.
3466
3467         * DepTable.C (update): flush the error stream a bit more
3468
3469 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3470
3471         * lyxserver.C (callback): adjust
3472
3473         * lyxfunc.C (getStatus): add a missing brace in commented code
3474         (ensureBufferClean): reindent
3475         (dispatch): delete version taking a string
3476
3477 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3478
3479         * LaTeX.C (deplog): move found file handlig from here...
3480         (handleFoundFile): .. to new function here.
3481         (deplog): make sure to discover several files mentioned on the
3482         same log line.
3483
3484 2003-10-10  André Pönitz  <poenitz@gmx.net>
3485
3486         * lyxfunc.C:
3487         * lyxtext.h:
3488         * tabular.C:
3489         * text.C:
3490         * text2.C:
3491         * text3.C: fix some of the tabular crashes
3492
3493 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3494
3495         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3496
3497         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3498
3499 2003-10-09  André Pönitz  <poenitz@gmx.net>
3500
3501         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3502
3503         * BufferView.C:
3504         * BufferView_pimpl.C:
3505         * bufferview_funcs.C:
3506         * lyx_cb.C:
3507         * lyxcursor.C:
3508         * lyxfind.C:
3509         * lyxfunc.C:
3510         * lyxtext.h:
3511         * text.C:
3512         * text2.C:
3513         * text3.C:
3514         * text_funcs.[Ch]:
3515         * textcursor.[Ch]:
3516         * undo_funcs.C: adjust
3517
3518 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3519
3520         * text2.C (incrementItemDepth): new function, use a backtracking
3521         algorithm to discover the correct item depth.
3522         (resetEnumCounterIfNeeded): new function, use a backtracking
3523         algorithm to discover if counter reset is needed.
3524         (setCounter): use them. Simplify a bit. Add different labels for
3525         different item depths for itemize.
3526
3527         * paragraph.C (Paragraph): remove initialization of enumdepth
3528         (operator=): ditto
3529
3530         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3531         enumerate and itemize. Change the type of itemdepth to signed char.
3532
3533 2003-10-08  André Pönitz  <poenitz@gmx.net>
3534
3535         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3536           thing assignable.
3537         * text.C:
3538         * text2.C: adjust
3539
3540         * tabular.[Ch]: fix crash after 'row-insert'
3541
3542 2003-10-08  Angus Leeming  <leeming@lyx.org>
3543
3544         Fix doxygen warnings.
3545
3546         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3547         Remove CutAndPaste:: prefix from header file declaration.
3548
3549         * LColor.h (fill): remove LColor:: prefix from declaration.
3550
3551         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3552         use lyx::depth_type rather than Paragraph::depth_type so that
3553         header file and .C file match.
3554
3555         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3556
3557         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3558         * aspell.C: \file aspell_local.C -> \file aspell.C
3559         * gettext.C: \file gettext.C -> \file src/gettext.C
3560         * gettext.h: \file gettext.h -> \file src/gettext.h
3561         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3562         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3563         * text.C: \file text.C -> \file src/text.C
3564
3565         * toc.C: move comment so that doxygen is not confused.
3566
3567 2003-10-07  Angus Leeming  <leeming@lyx.org>
3568
3569         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3570
3571 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3572
3573         * aspell.C:
3574         * aspell_local.h: add forgotten std::string's.
3575
3576 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3577
3578         * LaTeXFeatures.C:
3579         * LyXAction.C:
3580         * factory.C:
3581         * lfuns.h:
3582         * lyxfunc.C:
3583         * text3.C: The Box patch. Fancybox support, minipage, parbox
3584
3585 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3586
3587         * CutAndPaste.h:
3588         * DepTable.h:
3589         * FloatList.h:
3590         * LaTeXFeatures.h:
3591         * ParagraphParameters.h:
3592         * TextCache.h:
3593         * Thesaurus.h:
3594         * bufferlist.h:
3595         * exporter.h:
3596         * importer.h:
3597         * lastfiles.h:
3598         * lyxfind.h:
3599         * lyxfont.h:
3600         * lyxlex.h:
3601         * lyxtextclasslist.h:
3602         * messages.h:
3603         * paragraph.h:
3604         * paragraph_pimpl.C:
3605         * textcursor.h: add <string> and other small fixes to make Lars'
3606         std::string patch compile with STLport.
3607
3608 2003-10-06  Angus Leeming  <leeming@lyx.org>
3609
3610         * LColor.h: Add missing #include <string>.
3611
3612 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3613
3614         * All most all file in all subdirs: Make <string> be the prefered
3615         way of getting to std::string, add using declarations.
3616
3617 2003-10-06  André Pönitz  <poenitz@gmx.net>
3618
3619         * metricsinfo.C: initialize LyXFont before changing attribute.
3620         (fixes the 'math in \emph is upright' bug)
3621
3622 2003-10-06  André Pönitz  <poenitz@gmx.net>
3623
3624         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3625
3626 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3627
3628         * graph.C:
3629         * paragraph_pimpl.C: Small fixes to build using STLport
3630
3631 2003-10-02  André Pönitz  <poenitz@gmx.net>
3632
3633         * lyxfunc.C:
3634         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3635
3636 2003-10-01  André Pönitz  <poenitz@gmx.net>
3637
3638         * factory.C: assert early
3639
3640 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3641
3642         * lyx_main.C: remove the global debug object
3643
3644         * debug.h: adjust for new debugstream
3645
3646         * debug.C: adjust for new debugstream and keep the global debug
3647         object here.
3648
3649 2003-09-22  Angus Leeming  <leeming@lyx.org>
3650
3651         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3652         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3653         an incomplete class LyXFont.
3654
3655 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3656
3657         * factory.C: bug fix in branches
3658
3659 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3660
3661         * lyxfunc.C (processKeySym): adjust
3662         (dispatch): adjust
3663         (dispatch): change arg name from ev to func, adjust
3664         (sendDispatchMessage): ditto
3665
3666         * lyx_main.C (defaultKeyBindings): adjust keybindings
3667         (deadKeyBindings): ditto
3668
3669         * kbsequence.C (addkey): return a FuncRequest
3670
3671         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3672
3673         * kbmap.C (bind): take a FuncRequest as arg, adjust
3674         (read): adjust
3675         (lookup): adjust
3676         (defkey): change to take a FuncRequest as arg, adjust
3677         (findbinding): take a FuncRequest as arg, adjust.
3678
3679         * funcrequest.h (operator=): added
3680
3681         * funcrequest.C (FuncRequest): default kb_action changed from
3682         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3683
3684         * buffer.C (dispatch): simplify
3685         (dispatch): adjust to take a FuncRequest as arg, adjust
3686
3687         * boost.C (assertion_failed): change assertion message slightly
3688
3689         * ToolbarBackend.C (read): simplify
3690
3691         * MenuBackend.C (binding): adjust call to findbinding, add a
3692         message if no binding is found.
3693         (read): simplify
3694         (expandToc): correct by adding a empty FuncRequest
3695
3696         * LyXAction.C: include <boost/assert.hpp>
3697         (isPseudoAction): delete function
3698         (LookupFunc): change name to...
3699         (lookupFunc): this. change return type to FuncRequest.
3700         (getActionName): take kb_action as arg, simplify
3701         (funcHasFlag): add an assert, simplify.
3702
3703 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3704
3705         * toc.C (action): return a FuncRequest, simplify
3706
3707         * lyxfunc.C (processKeySym): adjust
3708         (getStatus): delete version that takes an int.
3709         (getStatus): adjust
3710         (dispatch): delete version that takes action as int
3711         (dispatch): adjust
3712         (sendDispatchMessage): simplify and adjust
3713
3714         * funcrequest.C (getArg): take unsigned int as arg
3715
3716         * ToolbarBackend.C (read): adjust
3717         (add): delete version that takes func as a string.
3718         (getIton): take a FuncRequest as arg
3719
3720         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3721         action.
3722
3723         * MenuBackend.C (MenuItem): add a new construct that only takes a
3724         Kind, simplify the constructor use for submenus.
3725         (add): adjust
3726         (expandLastfiles): adjust
3727         (expandDocuments): adjust
3728         (expandFormats): adjust
3729         (expandFloatListInsert): adjust
3730         (expandFloatInsert): adjust
3731         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3732
3733         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3734         Remove class variables lyx_pseudo_map and lyx_arg_map
3735
3736         * LyXAction.C (searchActionArg): delete function
3737         (getPseudoAction): delete function
3738         (retrieveActionArg): delete function
3739         (LookupFunc): make it return kb_action, simplify.
3740         (getActionName): simplify
3741
3742         * factory.C (createInset): fix new bug
3743
3744 2003-09-19  Angus Leeming  <leeming@lyx.org>
3745
3746         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3747         masterFilename_ parameter in the include inset.
3748
3749         * factory.C (createInset): changes due to the changes to InsetInclude.
3750
3751 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3752
3753         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3754
3755 2003-09-18  Angus Leeming  <leeming@lyx.org>
3756
3757         * buffer.C:
3758         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3759         Inset::fillWithBibKeys.
3760         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3761
3762 2003-09-18  Angus Leeming  <leeming@lyx.org>
3763
3764         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3765         variables.
3766         (ctor): pass and store a 'Buffer const &'
3767         (buffer): new member function.
3768
3769         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3770         '*this' to the LaTeXFeatures ctor.
3771
3772 2003-09-18  Angus Leeming  <leeming@lyx.org>
3773
3774         * LColor.h:
3775         * lyxfont.C:
3776         * lyxfont.h:
3777         * lyxtext.h:
3778         * text.C: rename EnumLColor as LColor_color.
3779
3780 2003-09-18  Angus Leeming  <leeming@lyx.org>
3781
3782         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3783         remove #include "insets/insetbase.h" from cursor.h.
3784
3785 2003-09-18  Angus Leeming  <leeming@lyx.org>
3786
3787         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3788         InsetOld_code to remove #include "inset.h".
3789
3790         * iterators.C: add #include "insets/inset.h"
3791
3792 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3793
3794         * BufferView.C: remove more locking stuff that apparently doesn't
3795         do anything sensible.
3796
3797 2003-09-16  André Pönitz  <poenitz@gmx.net>
3798
3799         * paragraph.[Ch]:
3800         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3801           performance boost.
3802
3803 2003-09-16  Angus Leeming  <leeming@lyx.org>
3804
3805         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3806
3807         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3808         arg/return type.
3809
3810         * paragraph.h: remove #include "lyxfont.h". Forward declare
3811         LyXFont_size.
3812
3813 2003-09-16  Angus Leeming  <leeming@lyx.org>
3814
3815         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3816         of support/textutils.h.
3817         (isWord): move the contents of support/textutils.h's IsWordChar here.
3818
3819         * buffer.C:
3820         * lyxfind.C:
3821         * rowpainter.C:
3822         * text.C:
3823         * text2.C: add #include "paragraph.h".
3824
3825         * rowpainter.C:
3826         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3827
3828 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * main.C:
3831         * lyx_main.C:
3832         * lyx_cb.C:
3833         * buffer.C:
3834         * LaTeX.C: use namespace alias for lyx::support::os
3835
3836 2003-09-16  Angus Leeming  <leeming@lyx.org>
3837
3838         * bufferparams.C:
3839         * bufferview_funcs.C:
3840         * factory.C:
3841         * lyxfunc.C:
3842         * paragraph_pimpl.C:
3843         * rowpainter.C:
3844         * text.C: add #include "LColor.h".
3845
3846 2003-09-16  Angus Leeming  <leeming@lyx.org>
3847
3848         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3849         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3850         return LyXFont &.
3851         Store the FontBits::color variable as an int rather than as an
3852         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3853         file.
3854
3855         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3856         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3857         string calls together.
3858
3859         * lyxrc.C: add #include "LColor.h".
3860
3861 2003-09-15  Angus Leeming  <leeming@lyx.org>
3862
3863         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3864         a cow_ptr.
3865
3866 2003-09-15  Angus Leeming  <leeming@lyx.org>
3867
3868         * LColor.h: add an EnumLColor wrapper for LColor::color.
3869
3870         * lyxfont.[Ch] (color, setColor, realColor):
3871         * lyxtext.h, text.C (backgroundColor):
3872         pass EnumLColor args to/from the functions, rather than LColor::color
3873         ones.
3874
3875         * lyxfont.h:
3876         * lyxtext.h: forward declare EnumLColor.
3877
3878         * lyx_main.C: add #include "LColor.h".
3879
3880 2003-09-15  Angus Leeming  <leeming@lyx.org>
3881
3882         * .cvsignore: add lyx-gtk.
3883
3884 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3885
3886         * Chktex.C
3887         * LaTeX.C
3888         * LaTeXFeatures.C
3889         * ParagraphParameters.C
3890         * Spacing.C
3891         * buffer.C
3892         * bufferparams.C
3893         * bufferview_funcs.C
3894         * chset.C
3895         * counters.C
3896         * funcrequest.C
3897         * lyxfont.C
3898         * lyxgluelength.C
3899         * lyxlength.C
3900         * paragraph.C
3901         * paragraph_funcs.C
3902         * text3.C
3903         * vc-backend.C: remove usage of STRCONV
3904
3905 2003-09-15  Angus Leeming  <leeming@lyx.org>
3906
3907         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3908         explicitly define the color passed to the painter.
3909
3910 2003-09-15  Angus Leeming  <leeming@lyx.org>
3911
3912         * bufferparams.C (BufferParams): reorder member initializers to avoid
3913         compiler warning.
3914
3915 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3916
3917         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3918         * text.C (updateRowPositions): remove an unusual nop
3919
3920 2003-09-12  André Pönitz  <poenitz@gmx.net>
3921
3922         * BufferView_pimpl.C:
3923         * Bullet.C:
3924         * layout.h:
3925         * lyxfunc.C:
3926         * lyxlayout.[Ch]:
3927         * lyxtextclass.C:
3928         * rowpainter.C:
3929         * text.C:
3930         * text2.C:
3931         * Counters.[Ch]: finish the 'automatic counters' job
3932
3933 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3934
3935         * aspell.C: include <boost/assert.cpp> (compile fix)
3936
3937 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3938
3939         * boost.C (assertion_failed): use lyx::support::abort instead of
3940         assert.
3941
3942 2003-09-10  Angus Leeming  <leeming@lyx.org>
3943
3944         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3945         with their _fwd progeny.
3946
3947 2003-09-09  Angus Leeming  <leeming@lyx.org>
3948
3949         134 files throughtout the source tree: replace 'using namespace abc;'
3950         directives with the appropriate 'using abc::xyz;' declarations.
3951
3952 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3953
3954         * boost.C (emergencyCleanup): moved here from LAssert.c
3955         (assertion_failed): new function, called by BOOST_ASSERT
3956
3957         * several files: change Assert to BOOST_ASSERT
3958
3959 2003-09-09  Angus Leeming  <leeming@lyx.org>
3960
3961         * buffer.[Ch]: Add an Impl class and move Buffer's member
3962         variables into it. As a result move several header files out of
3963         buffer.h.
3964
3965         Add header files to lots of .C files all over the tree as a result.
3966
3967 2003-09-09  Angus Leeming  <leeming@lyx.org>
3968
3969         * buffer.[Ch]: make Buffer's member variables private. Add
3970         accessor functions.
3971
3972         Lots of changes all over the tree as a result.
3973
3974 2003-09-08  Angus Leeming  <leeming@lyx.org>
3975
3976         * graph.C: #include <config.h>.
3977
3978 2003-09-08  Angus Leeming  <leeming@lyx.org>
3979
3980         * BranchList.C:
3981         * BufferView.C:
3982         * BufferView_pimpl.C:
3983         * CutAndPaste.C:
3984         * DepTable.C:
3985         * LaTeX.C:
3986         * LaTeXFeatures.C:
3987         * LyXAction.C:
3988         * MenuBackend.C:
3989         * TextCache.C:
3990         * aspell.C:
3991         * buffer.C:
3992         * bufferlist.C:
3993         * changes.C:
3994         * chset.C:
3995         * converter.C:
3996         * counters.C:
3997         * debug.C:
3998         * graph.C:
3999         * ispell.C:
4000         * lyx_cb.C:
4001         * lyxfind.C:
4002         * lyxfunc.C:
4003         * lyxlex_pimpl.C:
4004         * lyxrc.C:
4005         * lyxrow.C:
4006         * paragraph.C:
4007         * rowpainter.C:
4008         * texrow.C:
4009         * text.C:
4010         * text2.C:
4011         * toc.C: remove redundant using directives.
4012
4013 2003-09-07  Angus Leeming  <leeming@lyx.org>
4014
4015         * LaTeXFeatures.h: remove #include "support/types.h".
4016         * ToolbarBackend.h: remove #include <algorithm>.
4017         * changes.h: remove #include <ctime>.
4018         * debug.h: remove #include <iosfwd>.
4019         * graph.h: remove #include "support/std_string.h".
4020         * lyx_main.h: remove #include <csignal>.
4021         * lyxlex_pimpl.h: remove #include <fstream>.
4022         * sgml.h: remove #include <algorithm>, <utility>.
4023         * toc.h: remove #include "support/std_ostream.h".
4024         Add #include <iosfwd>.
4025
4026 2003-09-07  Angus Leeming  <leeming@lyx.org>
4027
4028         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4029
4030         * converter.h: forward declare LatexRunParams.
4031         * encoding.h: remove #include "lyxrc.h".
4032         * lyxtext.h: remove #include "LColor.h".
4033         * lyxtextclass.h: remove #include "support/types.h".
4034         * trans.h: remove #include "tex-accent.h".
4035         * trans_mgr.h: remove #include "tex-accent.h".
4036         * insets/inset.h: remove #include "support/types.h", <vector>.
4037         * insets/insetcollapsable.h: remove #include "LColor.h".
4038         * insets/insetinclude.h: remove #include "dimension.h".
4039         * insets/insetlatexaccent.h: remove #include "dimension.h".
4040         * insets/insetoptarg.h:: remove #include "insettext.h".
4041         * insets/insettext.h: remove #include "dimension.h",
4042         <boost/shared_ptr.hpp>
4043
4044         * insets/renderers.h: add #include "dimension.h".
4045         * insets/updatableinset.h: add #include "support/types.h".
4046
4047         * many .C files: Associated changes.
4048
4049 2003-09-06  Angus Leeming  <leeming@lyx.org>
4050
4051         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4052         one, inside testInvariant.
4053
4054         * PrinterParams.C: new file.
4055         * PrinterParams.[Ch]: move the function bodies out of line.
4056
4057 2003-09-06  Angus Leeming  <leeming@lyx.org>
4058
4059         * ParagraphParameters.h: forward declare ParameterStruct rather than
4060         including its header file.
4061         (depth): moved out-of-line.
4062
4063 2003-09-06  Angus Leeming  <leeming@lyx.org>
4064
4065         * BufferView_pimpl.h:
4066         * kbmap.h:
4067         * kbsequence.h:
4068         * lyxfunc.h: forward declare LyXKeySym rather than
4069         #include "frontends/LyXKeySym.h".
4070
4071         * BufferView_pimpl.C:
4072         * kbmap.C:
4073         * kbsequence.C:
4074         * lyxfunc.C: associated changes.
4075
4076 2003-09-06  Angus Leeming  <leeming@lyx.org>
4077
4078         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4079         As a result, can remove the #include "insets/inset.h" from BufferView.h
4080
4081 2003-09-06  Angus Leeming  <leeming@lyx.org>
4082
4083         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4084         As a result, can remove the #include "insets/inset.h" from BufferView.h
4085
4086 2003-09-06  Angus Leeming  <leeming@lyx.org>
4087
4088         * buffer_funcs.C:
4089         * buffer.h:
4090         * bufferlist.C:
4091         * BufferView.C:
4092         * bufferview_funcs.C:
4093         * BufferView_pimpl.C:
4094         * CutAndPaste.C:
4095         * lyx_cb.C:
4096         * lyxfunc.C:
4097         * paragraph.h:
4098         * ParagraphParameters.C:
4099         * tabular.C:
4100         * text3.C:
4101         * toc.C:
4102         * undo_funcs.C:
4103         * frontends/controllers/ControlDocument.C:
4104         * insets/insetcaption.C: rearrange the #includes into some sort of
4105         coherent order.
4106
4107         * buffer.h: remove #includes ErrorList.h, undo.h
4108
4109 2003-09-06  Angus Leeming  <leeming@lyx.org>
4110
4111         * support/types.h: add a 'depth_type' typedef, used to store the
4112         nesting depth of a paragraph.
4113
4114         * paragraph.h:
4115         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4116         defining explicitly.
4117
4118         * buffer.h:
4119         * paragraph_funcs.h:
4120         * ParagraphParameters.h:
4121         * sgml.h: use lyx::depth_type rather than Paragraph or
4122         ParameterStruct's depth_type.
4123
4124         * buffer.h
4125         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4126
4127         * BufferView.C:
4128         * BufferView_pimpl.C:
4129         * CutAndPaste.C:
4130         * ParagraphParameters.C:
4131         * buffer_funcs.C:
4132         * bufferlist.C:
4133         * bufferview_funcs.C:
4134         * lyx_cb.C:
4135         * lyxfunc.C:
4136         * tabular.C:
4137         * text3.C:
4138         * toc.C:
4139         * undo_funcs.C:
4140         * frontends/LyXView.C:
4141         * frontends/controllers/ControlDocument.C:
4142         * frontends/controllers/ControlErrorList.C:
4143         * insets/insetbibitem.C:
4144         * insets/insetbranch.C:
4145         * insets/insetcaption.C:
4146         * insets/insetcollapsable.C:
4147         * insets/insetenv.C:
4148         * insets/insetert.C:
4149         * insets/insetfloat.C:
4150         * insets/insetfoot.C:
4151         * insets/insetfootlike.C:
4152         * insets/insetnewline.C:
4153         * insets/insetquotes.C:
4154         * insets/insettabular.C:
4155         * insets/insettext.C:
4156         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4157
4158         * frontends/controllers/ControlChanges.C: #include "changes.h".
4159
4160 2003-09-06  Angus Leeming  <leeming@lyx.org>
4161
4162         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4163         than #including paragraph.h.
4164
4165         * ParagraphList.h:
4166         * RowList.h: deleted. Superfluous.
4167
4168         * CutAndPaste.h:
4169         * iterators.h:
4170         * lyxcursor.h:
4171         * lyxtext.h:
4172         * text_funcs.h:
4173         * undo.h:
4174         * undo_funcs.h:
4175         * insets/inset.h:
4176         * insets/insettext.h: use ParagraphList_fwd.h rather than
4177         ParagraphList.h.
4178
4179         * paragraph.h: don't forward declare ParagraphList.
4180
4181         * buffer.h:
4182         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4183         rather than ParagraphList.h. paragraph.h is still needed for the
4184         Paragraph::depth_type parameters.
4185
4186         * textcursor.h: enable it to compile stand-alone in light of the
4187         above changes.
4188
4189         * bufferview_funcs.C:
4190         * iterators.C:
4191         * lyxfunc.C:
4192         * lyxrow_funcs.C:
4193         * paragraph.C:
4194         * rowpainter.C:
4195         * text.C:
4196         * text2.C:
4197         * text3.C:
4198         * text_funcs.C:
4199         * textcursor.C:
4200         * undo.C:
4201         * frontends/controllers/ControlParagraph.C:
4202         * frontends/controllers/ControlTabular.C:
4203         * insets/insetmarginal.C:
4204         * insets/insetminipage.C:
4205         * insets/insetnote.C:
4206         * insets/insetoptarg.C: add header files needed to compile again.
4207
4208 2003-09-06  Angus Leeming  <leeming@lyx.org>
4209
4210         * RowList_fwd.h: new file, forward-declaring Row rather than
4211         #including lyxrow.h.
4212
4213         * lyxrow_funcs.h:
4214         * lyxtext.h:
4215         * paragraph.h:
4216         * insets/insettext.h: use it instead of RowList.h
4217
4218         * bufferview_funcs.C:
4219         * lyxfunc.C:
4220         * lyxrow_funcs.C:
4221         * paragraph.C:
4222         * rowpainter.C:
4223         * text.C:
4224         * text2.C:
4225         * text3.C: #include "RowList.h".
4226
4227 2003-09-05  Angus Leeming  <leeming@lyx.org>
4228
4229         * factory.C (createInset):
4230         * vspace.C (c-tor): replace sscanf call with an istringstream.
4231         * ispell.C: re-add missing HP/UX headers.
4232         * lyxserver.C: re-add missing  os2 headers.
4233
4234 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4235
4236         * BranchList.C:
4237         * graph.C:
4238         * ispell.C:
4239         * lastfiles.C:
4240         * lyx_cb.C:
4241         * lyxserver.C:
4242         * texrow.C:
4243         * text3.C: re-add missing system headers, needed for 2.95.2.
4244
4245 2003-09-05  Angus Leeming  <leeming@lyx.org>
4246
4247         Changes most place everywhere due to the removal of using directives
4248         from support/std_sstream.h.
4249
4250 2003-09-05  Angus Leeming  <leeming@lyx.org>
4251
4252         Replace LString.h with support/std_string.h,
4253         Lsstream.h with support/std_sstream.h,
4254         support/LIstream.h with support/std_istream.h,
4255         support/LOstream.h with support/std_ostream.h.
4256
4257         Changes resulting throughout the tree.
4258
4259 2003-09-05  Angus Leeming  <leeming@lyx.org>
4260
4261         * sgml.h: ensure that the header file can be compiled stand-alone.
4262         * *.C: strip out redundant #includes. (320 in total.)
4263
4264 2003-09-04  Angus Leeming  <leeming@lyx.org>
4265
4266         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4267         here (from getPackages).
4268
4269         * debug.[Ch]: add a new EXTERNAL tag.
4270
4271 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4272
4273         * text2.C (cursorEnd): simplify
4274         (setCursor): adjust
4275         (getColumnNearX): adjust
4276
4277         * text.C (computeBidiTables): adjust
4278         (fill): adjust
4279
4280         * rowpainter.C (paintChars): adjust
4281         (paintSelection): adjust
4282         (paintChangeBar): adjust
4283         (paintText): adjust
4284
4285         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4286         lastPos instead.
4287         (numberOfSeparators): adjust
4288
4289 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4290
4291         * LyXAction.C:
4292         * box.[Ch]:
4293         * lfuns.h:
4294         * lyxfunc.C:
4295         * text3.C: Restricts the mouse click functionality
4296         of insets like bibtex, include, toc and floatlist to the visible
4297         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4298         up the dialogs. Cursor has to be in front of the inset (i.e.
4299         start of row) for this to function.
4300
4301 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4302
4303         * bufferview_funcs.C (currentState): output row information
4304
4305 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4306
4307         * bufferview_funcs.C (currentState): output paragraph position
4308
4309 2003-09-04  Angus Leeming  <leeming@lyx.org>
4310
4311         * FloatList.h: move out #include "Floating.h".
4312         * LaTeX.h: move out #include "DepTable.h".
4313         * LyXAction.h: move out #include "funcrequest.h".
4314         * buffer.h: move out #include "author.h", "iterators.h".
4315         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4316         * lyx_main.h: move out #include "errorlist.h".
4317         * lyxfunc.h: move out #include "FuncStatus.h".
4318         * lyxtext: move out #include "lyxcursor.h".
4319         * paragraph_pimpl.h: move out #include "counters.h".
4320
4321 2003-09-03  Angus Leeming  <leeming@lyx.org>
4322
4323         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4324         preamble_snippets list, enabling us to add snippets to the preamble
4325         only if the snippet was not there already.
4326
4327 2003-09-04  Angus Leeming  <leeming@lyx.org>
4328
4329         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4330
4331 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4332
4333         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4334         update
4335
4336 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4337
4338         * BranchList.C: point fix, earlier forgotten
4339
4340 2003-09-02  Angus Leeming  <leeming@lyx.org>
4341
4342         * box.C (contains): renamed from 'contained' after a fantastic
4343         amount of hot air.
4344
4345 2003-09-02  John Levon  <levon@movementarian.org>
4346
4347         * BufferView.C:
4348         * lyxcursor.h:
4349         * lyxcursor.C:
4350         * lyxfunc.C:
4351         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4352
4353 2003-09-02  John Levon  <levon@movementarian.org>
4354
4355         * text2.C: simplification of cursorEnd(), including partial
4356         fix for bug 1376
4357
4358 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4359
4360         * buffer.C (readFile): add a space
4361
4362 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4363
4364         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4365
4366 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4367
4368         * buffer.C (readFile): new function, take a filename and a
4369         ParagraphList::iterator
4370         (readFile): adjust
4371         (readFile): adjust, make it private. don't use setStream, make
4372         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4373         always contain the filename.
4374
4375         * BufferView.C (insertLyXFile): simplify and make it work for
4376         gzipped files.
4377
4378 2003-08-30  John Levon  <levon@movementarian.org>
4379
4380         * Makefile.am: fix dist (from Kayvan)
4381
4382 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4383
4384         * most files: change to use const Buffer refs
4385
4386 2003-08-27  André Pönitz  <poenitz@gmx.net>
4387
4388         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4389         on top of ownerPar().
4390
4391 2003-08-27  John Levon  <levon@movementarian.org>
4392
4393         * funcrequest.C: properly initialise POD members
4394
4395 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4396
4397         * lyxtext.h (top_y): move top_y from here
4398         * text.C:
4399         * text2.C:
4400         * text3.C:
4401         * BufferView.[Ch]:
4402         * BufferView_pimpl.[Ch]: to here
4403         * frontends/screen.C:
4404         * insets/insettabular.C:
4405         * insets/insettext.C: adjust
4406         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4407
4408 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4409
4410         * BufferView.[Ch]:
4411         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4412
4413 2003-08-26  André Pönitz  <poenitz@gmx.net>
4414
4415         * paragraph_func.[Ch] (outerPar): new function
4416
4417         * paragraph.C:
4418         * paragraph_funcs.C:
4419         * paragraph_funcs.h:
4420         * paragraph_pimpl.C:
4421         * text2.C: remove Inset::par_owner
4422
4423 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4424
4425         * lyxrow_funcs.C:
4426         * lyxtext.h:
4427         * text.C:
4428         * text2.C: eliminates the needFullRow/display() stuff
4429         altogether, putting the logic in metrics/draw in the insets.
4430
4431 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4432
4433         * text2.C (redoParagraphInternal, redoParagraphs):
4434         * text.C (redoParagraph): add a call to updateRowPositions at the
4435         end of each 'metrics-like' call. Remove all others.
4436         (getRow): remove the 'y-computing' version.
4437         (getRowNearY): do not compute nor return the real y. Solve the
4438         'y < 0' problem and simplify.
4439
4440 2003-08-22  Angus Leeming  <leeming@lyx.org>
4441
4442         * *.[Ch]: clean-up of licence and author blurbs.
4443         Also move config.h out of a few .h files and into a few .C files.
4444
4445 2003-08-22  André Pönitz  <poenitz@gmx.net>
4446
4447         * lyxrow.[Ch]: add x_ and *fill_ members
4448
4449         * lyxtext.h:
4450         * text.C:
4451         * rowpainter.C:
4452         * text2.C: adjust/remove prepareToPrint() calls
4453
4454 2003-08-22  André Pönitz  <poenitz@gmx.net>
4455
4456         * lyxrow.[Ch]: add  end_ member
4457
4458         * lyxrow_funcs.C: use LyXRow::end_
4459
4460         * lyxtext.h (singleWidth): add LyXFont parameter
4461
4462         * rowpainter.C:
4463         * text2.C: adjust LyXText::singleWidth() calls
4464
4465         * text.C (redoParagraph): simplify row breaking logic
4466
4467
4468 2003-08-19  André Pönitz  <poenitz@gmx.net>
4469
4470         * funcrequest.C: initialize button_ member
4471
4472         * text3.C:
4473         * rowpainter.[Ch]: interface consolidation
4474
4475 2003-08-18  André Pönitz  <poenitz@gmx.net>
4476
4477         * BufferView.C:
4478         * BufferView_pimpl.C:
4479         * lyxfind.C:
4480         * paragraph_funcs.C:
4481         * rowpainter.C:
4482         * text3.C: remove LyXScreen::draw() and fitCursor calls
4483
4484         * BranchList.h: remove spurious semicolons
4485
4486         * MenuBackend.C: fix branchlist related crash
4487
4488 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4489
4490         * BranchList.[Ch]:
4491         * InsetList.[Ch]:
4492         * LColor.[Ch]:
4493         * LyXAction.C:
4494         * Makefile.am:
4495         * MenuBackend.[Ch]:
4496         * bufferparams.[Ch]:
4497         * factory.C:
4498         * lfuns.h:
4499         * lyxfunc.C:
4500         * text3.C: implements the 'branch inset'
4501         idea. This allows the output of various versions of a document
4502         from a single source version, selectively outputing or suppressing
4503         output of parts of the text.
4504         This implementation contains a 'branch list editor' in a separate
4505         tab of the document settings dialog. Branches are user definable
4506         and have a "display colour" to distinguish them on-screen.
4507
4508         ColorHandler was somewhat cleaned up.
4509         (1) make possible a dynamically growing LColor list by allowing
4510         the graphic context cache to grow along (vector);
4511         (2) eliminate an IMHO unnecessary step in colour allocation.
4512
4513 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4514
4515         * BufferView_pimpl.C: compile fix
4516
4517 2003-08-15  André Pönitz  <poenitz@gmx.net>
4518
4519         * rowpainter.C: remove extra metrics calls
4520
4521         * lyxtext.h: merge the two constructors into a single one,
4522           pass reference to owner's par list
4523
4524         * BufferView_pimpl.C:
4525         * text.C:
4526         * text2.C: adjust
4527
4528 2003-08-15  André Pönitz  <poenitz@gmx.net>
4529
4530         * lyxrow_funcs.[Ch]:
4531         * lyxtext.h:
4532         * paragraph.h:
4533         * paragraph_funcs.C:
4534         * rowpainter.C:
4535         * text.C:
4536         * text2.C:
4537         * text3.C:
4538         * text_funcs.C: split LyXText::rowlist_ into individual
4539         Paragraph::rows_ chunks
4540
4541         * BufferView.[Ch]:
4542         * BufferView_pimpl.[Ch]:
4543         * lyxfind.C:
4544         * lyxtext.h:
4545         * text3.C: remove toggleSelection()
4546
4547 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4548
4549         * bufferlist.C: beautify two alerts (shorter text of buttons)
4550         * buffer.C: Remove redundant ' ' from message
4551         * tabular.h:
4552         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4553         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4554         rename VALIGN_CENTER to VALIGN_MIDDLE
4555
4556 2003-08-11  André Pönitz  <poenitz@gmx.net>
4557
4558         * lyxtext.h (getPar):
4559         * text.C: new function
4560
4561 2003-08-11  André Pönitz  <poenitz@gmx.net>
4562
4563         * Makefile.am:
4564         * tracer.[Ch]: remove unneeded files
4565
4566         * InsetList.[Ch]: remove resizeInsetsLyXText()
4567
4568         * lyxtext.h:
4569         * text.C:
4570         * text2.C:
4571         * text3.C: merge insertParagraphs() and appendParagraph()
4572         remove breakAgain(), update()
4573
4574         * BufferView_pimpl.[Ch]:
4575         * bufferview_funcs.[Ch]:
4576         * lyxfunc.C:
4577         * paragraph.[Ch]:
4578         * rowpainter.C:
4579         * tabular.C: adjust after text & InsetList changes.
4580
4581 2003-08-08  André Pönitz  <poenitz@gmx.net>
4582
4583         * text.C (insertChar, backspace): replace rowlist fiddling
4584         with rebreak of full par
4585
4586         * lyxtext.h:
4587         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4588         checkParagraph, updateInset): removed
4589
4590 2003-08-07  André Pönitz  <poenitz@gmx.net>
4591
4592         * paragraph.C:
4593         * text3.C: merge some LFUN handlers, remove dead code
4594
4595 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4596
4597         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4598
4599 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4600
4601         * text2.C (DEPM): fix part of bug 1255 and 1256
4602
4603 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4604
4605         * BufferView_pimpl.C (workAreaDispatch): change to use
4606         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4607         that are no mouse related.
4608
4609 2003-08-05  André Pönitz  <poenitz@gmx.net>
4610
4611         * BufferView.[Ch]:
4612         * BufferView_pimpl.[Ch]:
4613         * bufferview_funcs.C:
4614         * text2.C:
4615         * text3.C: rip out "deep update"
4616
4617         * textcursor.[Ch] (last_sel_cursor): remove unused member
4618
4619 2003-08-04  André Pönitz  <poenitz@gmx.net>
4620
4621         * BufferView.[Ch]:
4622         * BufferView_pimpl.[Ch]:
4623         * ParagraphParameters.C:
4624         * bufferview_funcs.C:
4625         * lyx_cb.C:
4626         * lyxfind.C:
4627         * lyxfunc.C:
4628         * text.C:
4629         * text2.C:
4630         * text3.C: replace "complicated" BufferView::update(...) calls with
4631         simpler ones.
4632
4633         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4634
4635 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4636
4637         * Makefile.am (lyx_SOURCES): add paper.h
4638
4639 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4640
4641         * Makefile.am: move things around so that both lyx-qt and
4642         lyx-xforms can be built (according to --with-frontend). Then lyx
4643         is a symbolic link to lyx-[firstfrontend]
4644
4645 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4646
4647         * Always use std::endl with lyxerr
4648
4649 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4650
4651         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4652
4653 2003-08-01  André Pönitz  <poenitz@gmx.net>
4654
4655         * BufferView.[Ch]:
4656         * BufferView_pimpl.[Ch]:
4657         * lyxfunc.C:
4658         * text3.C: merge BufferView::repaint() and BufferView::update()
4659
4660 2003-08-01  José Matos  <jamatos@lyx.org>
4661
4662         * buffer.[Ch]: file_format is no longer a buffer data element.
4663
4664 2003-08-01  André Pönitz  <poenitz@gmx.net>
4665
4666         * BufferView.C:
4667         * lyxtext.h:
4668         * text.C:
4669         * text2.C: make redoParagraph more independent of current cursor
4670
4671         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4672         * text.C:
4673         * text2.C: remove unneeded members
4674
4675 2003-07-30  André Pönitz  <poenitz@gmx.net>
4676
4677         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4678
4679         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4680           create a single function...
4681
4682         * paragraph_funcs.C (moveItem): ... here.
4683
4684         * text.C:
4685           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4686
4687 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4688
4689         * LColor.[Ch]: Add comment and greyedout logical colors.
4690
4691 2003-07-30  André Pönitz  <poenitz@gmx.net>
4692
4693         * tabular.C: don't use Assert too heavily. This crashes where it
4694           shouldn't
4695
4696 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4697
4698         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4699         is disabled (bug 1232)
4700
4701 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4702
4703         * factory.C: limited 'arg' scope
4704
4705 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4706
4707         * factory.C: fixed Note submenu issues
4708
4709 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4710
4711         * factory.C: submenu for Note/Comment/Greyedout
4712
4713 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4714
4715         * lyx_main.C (LyX):
4716         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4717
4718 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4719
4720         * LaTeXFeatures.C:
4721         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4722         greyedout. Patch provided by Jürgen Spitzmüller.
4723
4724 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4725
4726         * kbmap.C (read): fix error message when reading bind files
4727
4728 2003-07-29  Angus Leeming  <leeming@lyx.org>
4729
4730         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4731         certainly does not do what it purports to do. I am doing it, and
4732         us, a favour by killing it.
4733
4734 2003-07-28  José Matos  <jamatos@lyx.org>
4735
4736         * buffer.C (readBody, do_writeFile):
4737         * paragraph.C(readParagraph): \end_document replaces \the_end.
4738
4739 2003-07-29  André Pönitz  <poenitz@gmx.net>
4740
4741         * BufferView.[Ch]:
4742         * BufferView_pimpl.[Ch]:
4743         * lyxfunc.C:
4744         * text2.C:
4745         * text3.C:
4746         * textcursor.[Ch]: remove toggleToggle & Co
4747
4748 2003-07-28  José Matos  <jamatos@fep.up.pt>
4749
4750         * buffer.C (readParagraph):
4751         * params_func (readParToken, readParagraph):
4752         * paragraph.C (write): \layout -> \begin_layout.
4753
4754 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4755
4756         * lyxlex_pimpl.C (setFile): clean up slightly.
4757
4758         * bufferparams.h: add compressed var
4759
4760         * buffer_funcs.C (readFile): adjust for LyXLex change
4761         (newFile): ditto + simplify
4762
4763         * buffer.C (writeFile): handle writing of compressed files
4764
4765         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4766         Check if the file is compressed and set a bufferparm if so.
4767
4768         * Makefile.am (lyx_LDADD): remove explicit -lz
4769
4770 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4771
4772         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4773         makeDocBookFile): put the real LyX version in the first line of
4774         the file
4775
4776         * version.h:
4777         * version.C.in: remove lyx_docversion
4778
4779         * tabular.C (write_attribute): add a template-based version to
4780         write enums properly
4781
4782 2003-07-28  André Pönitz  <poenitz@gmx.net>
4783
4784         * lyxtext.h:
4785         * text.C:
4786         * text2.C:
4787         * text3.C: use doubles again for x-coordinates. They are needed.
4788
4789 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4790
4791         * messages.C (getLocaleDir): use lyx_localedir()
4792
4793         * lyxlex_pimpl.C (setFile): compress stuff
4794
4795         * buffer.C (writeFile): add some compression stuff
4796         (do_writeFile): new func, dont call expliti close... will this
4797         breake anything?
4798
4799         * Makefile.am (lyx_LDADD): add -lz
4800
4801 2003-07-28  José Matos  <jamatos@fep.up.pt>
4802
4803         * buffer.C: increment file format.
4804         * paragraph_funcs (readParagraph, readParToken):
4805         * paragraph.C (readParagraph): add \end_layout.
4806
4807 2003-07-27  Angus Leeming  <leeming@lyx.org>
4808
4809         * Makefile.am: remove special casing for configure-time setting of
4810         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4811
4812         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4813         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4814
4815 2003-07-26  André Pönitz  <poenitz@gmx.net>
4816
4817         * paragraph_func.[Ch]:
4818         * paragraph.C (realizeFont): inline it whereever it is used
4819
4820         * rowpainter.C:
4821         * text.C:
4822         * text2.C:
4823         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4824
4825
4826 2003-07-26  André Pönitz  <poenitz@gmx.net>
4827
4828         *       lyxtext.h:
4829         * text.C:
4830         * text2.C: get rid of LyXText::need_break_row
4831
4832 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4833
4834         * toc.[Ch]: put namespace toc inside namespace lyx
4835
4836         * MenuBackend.C (expandToc2): adjust for lyx::toc
4837         (expandToc): ditto
4838
4839         * lyxfunc.C (dispatch): adjust for lyx::find
4840
4841         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4842         lyx::find instead. Reorganize a bit.
4843         (LyXReplace): rename to replace
4844         (LyXFind): rename to find
4845
4846         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4847         (dispatch): ditto
4848
4849 2003-07-26  André Pönitz  <poenitz@gmx.net>
4850
4851         * text.C (setHeightOfRow): restrict scope of temporary variable
4852
4853         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4854           code (never has been used?)
4855
4856 2003-07-27  Asger Alstrup  <alstrup@local>
4857
4858         * text.C (fill): Optimise algorithm to exploit that we can reuse
4859         the LyXFont for many characters.
4860         (setHeightOfRow): Same thing.
4861         (rowBreakPoint): Same thing.
4862
4863 2003-07-26  Asger Alstrup  <alstrup@local>
4864
4865         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4866
4867         * text.C (singleWidth): Spurious font copying in hot-spot
4868         singleWidth avoided. Reorder tests for arabic for efficiency.
4869
4870         * text.C (fill): handle empty paragraphs better.
4871
4872 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4873
4874         * ispell.C:
4875         * encoding.h: add includes
4876
4877         * lyxrc.C: remove reading of bind files
4878
4879         * lyx_main.C (init): setup bindings and menus only if we have a
4880         gui.
4881
4882         * kbmap.C (read): new method. Do the actual reading of bind
4883         files.
4884
4885         * converter.C (dvipdfm_options):
4886         * bufferparams.C:
4887         * lyxrc.C (read):
4888         (output): adapt PAPER_* enums.
4889
4890         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4891
4892         * bufferparams.h: remove paper-related enums from there
4893
4894         * paper.h: New file. A trivial header file to hold paper-related
4895         enums. It should later expand to contain many paper-related
4896         horrors access.
4897
4898         * lyxrc.C: declare extern displayTranslator
4899
4900 2003-07-27  José Matos  <jamatos@fep.up.pt>
4901
4902         * tabular.[Ch] (linuxdoc): add support for tables and figures
4903         (linuxdoc).
4904
4905 2003-07-27  José Matos  <jamatos@fep.up.pt>
4906
4907         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4908         consistency in both functions.
4909         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4910
4911 2003-07-26  Asger Alstrup  <alstrup@local>
4912
4913         * rowpainter.C (paintRows): Change algorithm to work directly on
4914         the insets rather than asking every character in the document
4915         whether its an inset.
4916
4917 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4918
4919         * buffer.C (openFileWrite): factorize some code
4920
4921 2003-07-26  Angus Leeming  <leeming@lyx.org>
4922
4923         * lyx_cb.C:
4924         * lyx_main.[Ch]: replace occurances of system_tempdir with
4925         os::getTmpDir().
4926
4927 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4928
4929         * rename Inset to InsetOld
4930
4931 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4932
4933         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4934         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4935         which I think is a bit clearer. EDIT is gone, since it was
4936         premature optimisation, and broken for mathed anyway.
4937         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4938         with cursor positioning in insets as well (math insets still do not
4939         work, but that's a different story anyway.) It mysteriously
4940         crashes sometimes with undo in the first paragraph, but I'm fairly
4941         confident that this is a compiler bug.
4942
4943 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * paragraph.C (Paragraph): adjust for new clone return type
4946         (operator==): ditto
4947         (copyIntoMinibuffer): ditto
4948
4949 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4950
4951         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4952         by not having a special case, and always doing a full rebreak of
4953         the document after undo.
4954
4955 2003-07-23  Angus Leeming  <leeming@lyx.org>
4956
4957         * factory.C (createInset): InsetExternal::setParams now takes a
4958         Buffer const * arg.
4959
4960 2003-07-23  Angus Leeming  <leeming@lyx.org>
4961
4962         * factory.C (createInset): changed interface to the external and
4963         graphics mailers' string2params functions.
4964
4965 2003-07-23  Angus Leeming  <leeming@lyx.org>
4966
4967         * factory.C (createInset): pass a
4968         Buffer const * parameter to InsetExternalMailer's string2params.
4969
4970 2003-07-22  John Levon  <levon@movementarian.org>
4971
4972         * Thesaurus.h: include the right aiksaurus header
4973
4974 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4975
4976         * MenuBackend.C (expand): check menu shortcuts unconditionally
4977
4978 2003-07-21  Angus Leeming  <leeming@lyx.org>
4979
4980         * factory.C (createInset): pass a
4981         buffer_path parameter to InsetGraphicsMailer's string2params.
4982
4983 2003-07-21  Angus Leeming  <leeming@lyx.org>
4984
4985         * BufferView_pimpl.C (buffer):
4986         * buffer.C (d-tor):
4987         * lyx_main.C (LyX):
4988         * lyxfunc.C (dispatch):
4989         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4990         rather than the grfx shortcut.
4991
4992 2003-07-21  André Pönitz  <poenitz@gmx.net>
4993
4994         * rowpainter.C: remove unused variables
4995
4996         * tabular_funcs.C:
4997         * tabular_funcs.h: move to tabular.C
4998         * Makefile.am: adjust
4999
5000         * tabular.[Ch]: basic optical cleaning
5001
5002         * author.h: pass references, not values
5003
5004 2003-07-18  André Pönitz  <poenitz@gmx.net>
5005
5006         * lyxtext.h:
5007         * metricsinfo.C:
5008         * metricsinfo.h:
5009         * rowpainter.C:
5010         * text.C:
5011         * text2.C:
5012         * text3.C: two-phase drawing for InsetText and InsetTabular
5013         some float -> int changes.
5014
5015 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5016
5017         * lyx_main.C: fix the fix
5018
5019 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5020
5021         * lyx_main.C: fix a crash in batch mode if no files specified
5022         * converter.C: ws
5023
5024 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5025
5026         * format.[Ch] (papersize): moved to BufferParams
5027         * converter.[Ch] (dvips_options): moved to BufferParams
5028         (dvipdfm_options): moved to anon namespace
5029         * bufferparams.[Ch]: added above functions.
5030
5031 2003-07-17  André Pönitz  <poenitz@gmx.net>
5032
5033         * lyxtext.h:
5034         * rowpainter.C:
5035         * text2.C: don't call inset->update() anymore
5036
5037         * metricsinfo.[Ch]: add convenience constructor
5038
5039 2003-07-16  André Pönitz  <poenitz@gmx.net>
5040
5041         * lyxcursor.[Ch]:
5042         * lyxfunc.[Ch]:
5043         * text.C:
5044         * text2.C: replace the LyXCursor::irow_ member with
5045          on-demand computation of the value
5046
5047 2003-07-16  John Levon  <levon@movementarian.org>
5048
5049         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5050
5051 2003-07-15  André Pönitz  <poenitz@gmx.net>
5052
5053         * text.C:
5054         * text2.C: remove no more needed refresh_row
5055
5056 2003-07-15  André Pönitz  <poenitz@gmx.net>
5057
5058         * lyxtext.h:
5059         * rowpainter.C:
5060         * text2.C:
5061         * text3.C: refresh_status tristate -> need_update bool
5062
5063 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * lyxtext.h (init): remove reinit argument (act as if always true)
5066         * text2.C: adjust to that
5067
5068 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5069
5070         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5071         * text3.C: use it to delete selections in some cases
5072         (bugs 441, 673, 702, 954).
5073
5074 2003-07-14  André Pönitz  <poenitz@gmx.net>
5075
5076         * rowpainter.[Ch]: reduce interface
5077
5078 2003-07-14  André Pönitz  <poenitz@gmx.net>
5079
5080         * BufferView_pimpl.C:
5081         * text2.C: adjust after removing unused BufferView * argument
5082
5083 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5084
5085         * text2.C (init): fix a crash fired on resize
5086
5087 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5088
5089         * buffer.[Ch]: added new closing signal
5090         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5091         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5092         BufferView::Pimpl via the closing the signal
5093
5094 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5095
5096         * buffer.[Ch]: take out all bv-related from buffer
5097         * BufferView.C:
5098         * BufferView_pimpl.[Ch]: connect to new signals
5099         * CutAndPaste.C: removed useless asserts
5100         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5101         * lyxvc.[Ch]:
5102         * vc-backend.[Ch]:
5103         * lyxfunc.C: moved view-related funciontality from vc here
5104         * paragraph.C: removed outdated comments
5105         * text.C: ws
5106
5107 2003-07-10  André Pönitz  <poenitz@gmx.net>
5108
5109         * BufferView_pimpl.C:
5110         * tabular.h:
5111         * tabular_funcs.C:
5112         * text.C:
5113         * text2.C: remove InsetText::InnerCache, clean up consequences
5114
5115 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5116
5117         * ispell.C: fix two typos in error messages
5118
5119 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5120
5121         * Extend Note inset to other forms of annotation like Comment
5122         and Greyedout. Right button click gives dialog.
5123
5124         Files modified or added (+):
5125
5126         * insetnote.[Ch]
5127         * FormNote.[Ch]      +
5128         * ControlNote.[Ch]   +
5129         * form_note.fd       +
5130         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5131         frontends/controllers
5132         * xforms/Dialogs.C
5133         * factory.C
5134
5135 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5136
5137         * aspell.C: add missing namespace lyx::support
5138
5139 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5140
5141         * BufferView.[Ch] (newFile): Add
5142         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5143         * LaTeX.[Ch] (message): added this signal and use it
5144         * buffer.[Ch] (busy, message): added these signals and use them
5145         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5146         * converter.C:
5147         * exporter.C:
5148         * format.C:
5149         * importer.C: use buffer signals instead of direct bv calling
5150         * lyx_cb.[Ch] (ShowMessage): removed
5151         * lyx_main.C:
5152         * lyxfunc.C:
5153         * paragraph_funcs.C:
5154         * text2.C: use buffer signals
5155
5156 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * introduce namespace lyx::graphics
5159
5160 2003-07-02  André Pönitz  <poenitz@gmx.net>
5161
5162         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5163
5164 2003-07-01  André Pönitz  <poenitz@gmx.net>
5165
5166         * text.C:
5167         * text2.C:
5168         * text3.C:
5169         * text_funcs.[Ch]:
5170         * textcursor.h:
5171         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5172           text*.C to text_func.C
5173
5174 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5175
5176         * introduce namespace lyx::support
5177
5178 2003-06-30  André Pönitz  <poenitz@gmx.net>
5179
5180         * Chktex.C:
5181         * funcrequest.C:
5182         * lyxtext.h:
5183         * text.C: re-enable --with-included-string
5184
5185 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5186
5187         * textcursor.C: add <config.h>
5188
5189         * text.C (getWord): remove const from word_location arg
5190
5191         * lyxvc.C (getLogFile): fix const type order
5192
5193         * lyxtext.h: remove const from word_location arg, add arg name
5194
5195         * lyxlayout.h: currect type on labeltype.
5196
5197         * importer.C: correct \file
5198
5199         * converter.C (intToFormat): use std:: on ret val, ws changes
5200
5201         * bufferlist.h: correct \file
5202
5203         * buffer.C (makeLinuxDocFile): fix const type order
5204         (makeDocBookFile): ditto
5205         (fillWithBibKeys): use std:: on stdlib args.
5206
5207         * CutAndPaste.C: fix authors.
5208         (availableSelections): use std:: on return vector
5209
5210 2003-06-27  André Pönitz  <poenitz@gmx.net>
5211
5212         * BufferView_pimpl.C:
5213         * bufferview_funcs.C:
5214         * lyxcursor.C:
5215         * lyxcursor.h:
5216         * lyxfunc.C:
5217         * lyxtext.h:
5218         * rowpainter.C:
5219         * text.C:
5220         * text2.C:
5221         * text3.C: remove LyXCursor::row_ member
5222
5223         * lyxtext.h:
5224         * text.C: rename fullRebreak() to partialRebreak() and implement
5225           a fullRebreak() that really bereks fully
5226
5227         * textcursor.h: new struct for cursor-related data
5228
5229 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5230
5231         * lyx_main.C (LyX): get full path of document loaded on the
5232         command line
5233
5234 2003-06-26  André Pönitz  <poenitz@gmx.net>
5235
5236         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5237           remove unused/broken operator>,<,>=.
5238
5239         *       text.C: remove only use of broken operator<= in an Assert().
5240
5241 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5242
5243         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5244         moved errorlist_.clear to showErrorList
5245
5246 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5247
5248         * converter.C (scanLog, runLaTeX):
5249         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5250         move the bv->showErrorList call to the callers
5251         * lyxfunc.C: i.e. here...
5252         * text2.C: and here
5253         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5254         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5255         namespace, the second to...
5256         * buffer_funcs (BufferFormat, parseErrors): added
5257         * errorlist.C (ErrorList(TeXErrors const &)): removed
5258
5259 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5260
5261         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5262
5263 2003-06-24  "Garst R. Reese" <reese@isn.net>
5264
5265         * debug.C: fix typo
5266
5267 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5268
5269         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5270
5271         * version.C.in: change docversion to 1.4
5272
5273 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5274
5275         * buffer.C: fix a bug just introduced
5276
5277 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5278
5279         * buffer.[Ch]: added the parseError signal and use it, removed
5280         sgmlError
5281         * BufferView.[Ch] (addError): moved to ...
5282         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5283         to the Buffer::parseError signal to catch (guess what) parse errors
5284         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5285
5286 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5287
5288         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5289         ability to create a buffer and to return an existing one from
5290         the list. Moved these functions to...
5291         * buffer_funcs.[Ch]: added
5292         * BufferView.[Ch] (loadLyXFile): added
5293         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5294         job removed from bufferlist::loadLyXFile.
5295         * buffer.C (setReadOnly): make it work without view
5296         (i.e added an if (users))
5297
5298 2003-06-19  Angus Leeming  <leeming@lyx.org>
5299
5300         * lfuns.h:
5301         * LyXAction.C (init):
5302         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5303         with LFUN_DIALOG_SHOW <name> <data>.
5304
5305 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5306
5307         * CutAndPaste.C (availableSelections): small compilation fix for
5308         ancient (gcc 2.9x) compilers
5309
5310 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5311
5312         * text3.C (cursorNext): add tmp var
5313
5314         * text2.C (updateCounters): for function calling out of for clause
5315         (replaceSelectionWithString): ditto
5316         (insertStringAsParagraphs): ditto
5317         (getColumnNearX): add tmp var
5318         (setCursorFromCoordinates): add tmp var
5319         (cursorDownParagraph): add tmp var
5320         (deleteEmptyParagraphMechanism): add tmp var
5321
5322         * text.C (insertChar): add tmp var
5323
5324         * rowpainter.C (paintDepthBar): add tmp var
5325
5326         * CutAndPaste.C (availableSelections): potentially check all
5327         paragraphs in a cut to fill the shown strings.
5328
5329 2003-06-18  André Pönitz  <poenitz@gmx.net>
5330
5331         * kbmap.[Ch]: use vector<> instead of list<>
5332
5333 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5334
5335         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5336         pasteSelection with index
5337
5338         * text2.C (pasteSelection): modify, call pasteSelection with index
5339
5340         * paragraph.C (asString): reimplement version with no interval to
5341         call the one with interval.
5342
5343         * lyxtext.h: add index arg to pasteSelection
5344
5345         * MenuBackend.C (MenuItem): handle PasteRecent
5346         (Menu::read::Menutags): add md_pasterecent
5347         (read): handle it
5348         (expandPasteRecent): new function
5349         (expand): use it
5350
5351         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5352
5353         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5354         the limited stack
5355         (availableSelections): new function
5356
5357 2003-06-17  Angus Leeming  <leeming@lyx.org>
5358
5359         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5360
5361 2003-06-17  Angus Leeming  <leeming@lyx.org>
5362
5363         * lfuns.h:
5364         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5365
5366         * lyxfunc.C (dispatch): invoke it.
5367
5368 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5369
5370         * iterators.C (operator++, ParPosition): reintroduce some
5371         const_cast for the benefit of older compilers.
5372
5373 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5374
5375         * text3.C (dispatch): do not modify clipboard when doing
5376         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5377         LFUN_DELETE_SKIP on a selection selection
5378
5379 2003-06-16  André Pönitz  <poenitz@gmx.net>
5380
5381         * BufferView.C:
5382         * buffer.C:
5383         * buffer.h:
5384         * paragraph.C:
5385         * tabular.[Ch]: IU of clone() and getLabelList();
5386
5387 2003-06-13  André Pönitz  <poenitz@gmx.net>
5388
5389         * tabular.h: compactification
5390
5391 2003-06-12  André Pönitz  <poenitz@gmx.net>
5392
5393         * tabular.C:
5394         * tabular.h:
5395         * tabular_funcs.h: some renaming plus whitespace
5396
5397 2003-06-12  André Pönitz  <poenitz@gmx.net>
5398
5399         * BufferView.C:
5400         * BufferView_pimpl.C:
5401         * CutAndPaste.C:
5402         * buffer.C:
5403         * iterators.[Ch]:
5404         * lyxfunc.C:
5405         * text.C:
5406         * toc.C: Return a Paragraph & for ParIterator::operator*()
5407
5408 2003-06-11  John Levon  <levon@movementarian.org>
5409
5410         * lyx_main.C:
5411         * ToolbarBackend.h:
5412         * ToolbarBackend.C: add "Toolbars" section and
5413         put the flags there
5414
5415 2003-06-10  Angus Leeming  <leeming@lyx.org>
5416
5417         * lfuns.h:
5418         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5419
5420         * lyxfunc.C (dispatch): invoke it.
5421
5422 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5423
5424         * main.C: protect <ios> with HAVE_IOS
5425         (main): protect sync_with_stdio with HAVE_IOS
5426
5427 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5428
5429         * text2.C (cutSelection): adjust
5430         (pasteSelection): adjust
5431
5432         * messages.C: handle get of empty string
5433
5434         * main.C (main): use sync_with_stdio(false)
5435
5436         * lyxfunc.C (dispatch): adjust
5437
5438         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5439         (WriteAs): remove unneeded BufferView arg.
5440
5441         * bufferparams.h: use correct types on papersize, papersize2 and
5442         paperpackage.
5443
5444         * bufferparams.C (readToken): adjust for type
5445         (writeLaTeX): add missing cases to switch.
5446
5447         * bufferlist.C (quitWriteBuffer): adjust
5448         (close): adjust
5449
5450         * buffer.C (asciiParagraph): remove some commented code.
5451
5452         * CutAndPaste.C: remove current_view extern variable.
5453         (cutSelection): add BufferParams arg.
5454         (eraseSelection): add BufferParams arg.
5455         (pasteSelection): add Buffer const & arg
5456
5457 2003-06-07  John Levon  <levon@movementarian.org>
5458
5459         * buffer.C:
5460         * paragraph_funcs.C:
5461         * paragraph_pimpl.C:
5462         * text.C:
5463         * text2.C:
5464         * paragraph.h:
5465         * paragraph.C: allow InsetERT to freely space lines,
5466         and some consolidation of code
5467
5468 2003-06-06  José Matos  <jamatos@fep.up.pt>
5469
5470         * buffer.C (makeDocBookFile): fix bug #821
5471
5472 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5473
5474         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5475
5476 2003-06-04  Angus Leeming  <leeming@lyx.org>
5477
5478         * buffer.C: bump format to 224.
5479
5480 2003-06-05  André Pönitz  <poenitz@gmx.net>
5481
5482         * text2.C (redoParagraphs): remove two const_cast<>
5483
5484 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5485
5486         * ParagraphList.h: remove last remnants of NO_STD_LIST
5487
5488 2003-06-03  Angus Leeming  <leeming@lyx.org>
5489
5490         * factory.C (createInset): small change to the way InsetExternal's params
5491         are set.
5492
5493 2003-06-04  André Pönitz  <poenitz@gmx.net>
5494
5495         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5496
5497         * paragraph_pimpl.h:
5498         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5499
5500         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5501
5502         * undo_funcs.C: make some simple cases of undo work again
5503
5504 2003-06-03  John Levon  <levon@movementarian.org>
5505
5506         * ispell.C: HPUX doesn't have sys/select.h
5507         (from Albert Chin)
5508
5509 2003-06-03  John Levon  <levon@movementarian.org>
5510
5511         * CutAndPaste.C: update tabular and include inset
5512         buffer references
5513
5514         * buffer.h:
5515         * paragraph.h:
5516         * paragraph.C: remove owningBuffer(), don't pass Buffer
5517         to clone()
5518
5519         * factory.C: insetGraphicsParams changed
5520
5521 2003-06-02  John Levon  <levon@movementarian.org>
5522
5523         * LyXAction.C:
5524         * factory.C:
5525         * lfuns.h:
5526         * lyxfunc.C:
5527         * text3.C: remove insetparent
5528
5529 2003-06-02  John Levon  <levon@movementarian.org>
5530
5531         * buffer.h:
5532         * buffer.C: fix inset_iterator.end(), move out of line
5533         (bug 1149)
5534
5535 2003-06-01  John Levon  <levon@movementarian.org>
5536
5537         * text3.C: use a proper cut/paste when doing inset
5538         insert (from Jürgen Spitzmüller)
5539
5540 2003-06-01  John Levon  <levon@movementarian.org>
5541
5542         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5543
5544 2003-05-30  André Pönitz  <poenitz@gmx.net>
5545
5546         * rowpainter.C: unify second drawing phase
5547
5548 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5549
5550         * trans_mgr.C: remove one case of current_view
5551
5552         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5553
5554         * paragraph_funcs.h: remove paragraph.h include
5555
5556         * paragraph.h: delete NO_STD_LIST stuff
5557
5558         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5559
5560         * buffer.h: remove paragraph.h include
5561
5562         * ParagraphList.C: delete file
5563
5564         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5565
5566         * toc.C (getTocList): adjust
5567
5568         * paragraph_pimpl.C (validate): adjust
5569
5570         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5571
5572         * paragraph.C (Paragraph): adjust
5573         (getPositionOfInset): use const_iterator, adjust
5574         (bibitem): use const_iterator, adjust
5575         (setInsetOwner): adjust
5576
5577         * iterators.C (operator++): adjust
5578
5579         * InsetList.[Ch]: Replace selfmade iterator with standard
5580         vector::iterator also introduce const_iterator. Remove getPos,
5581         getInset and setInset from InsetTable. Adjust accordingly.
5582
5583         * BufferView.C (lockInset): adjust
5584         (ChangeInsets): adjust
5585
5586         * tabular.[Ch]: delete commented same_id functions
5587
5588 2003-05-28  John Levon  <levon@movementarian.org>
5589
5590         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5591
5592 2003-05-28  André Pönitz  <poenitz@gmx.net>
5593
5594         * metricsinfo.[Ch]: remove 'fullredraw' member
5595
5596 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5597
5598         * lyxtextclass.C (operator): remove caching.
5599
5600 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5601
5602         * text3.C: adjust
5603
5604         * text2.C (cursorBottom): adjust
5605         (setCounter): use ParagraphList::find, adjust
5606
5607         * text.C (workWidth): use ParagraphList::find, adjust
5608
5609         * lyxcursor.C (LyXCursor): adjust
5610
5611         * buffer.C (inset_iterator): adjust
5612
5613         * ParagraphList.h: make iterator(value_type) private, make
5614         ParagraphList a friend of iterator.
5615
5616         * ParagraphList.C (find): new function
5617
5618         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5619
5620 2003-05-27  André Pönitz  <poenitz@gmx.net>
5621
5622         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5623
5624 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5625
5626         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5627
5628 2003-05-26  John Levon  <levon@movementarian.org>
5629
5630         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5631
5632 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5633
5634         * remove same_id from function signatures, adjust.
5635
5636 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5637
5638         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5639
5640         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5641
5642         * paragraph.C (Paragraph): get rid of same_ids parameter
5643
5644         * ParagraphList.C (insert): adjust
5645         (push_back): adjust
5646
5647 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5648
5649         * paragraph_funcs.C (breakParagraph): adjust
5650         (breakParagraphConservative): adjust
5651
5652         * buffer.C (readParagraph): adjust
5653
5654         * ParagraphList.C (insert): take a reference instead of a pointer
5655         (insert): adjust
5656
5657         * paragraph.[Ch] (id): new function
5658
5659         * bufferlist.C (newFile): adjust
5660
5661         * ParagraphList.C (ParagraphList): adjust
5662         (assign): adjust
5663         (push_back): take a reference instead of a pointer.
5664
5665         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5666
5667         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5668         instead.
5669
5670         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5671         set else use old code.
5672
5673         * ParagraphList.C: remove all NO_NEXT code and only compile this
5674         code of NO_STD_LIST is set.
5675
5676 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5677
5678         * BufferView_pimpl.C:
5679         * TextCache.C:
5680         * TextCache.h:
5681         * bufferlist.C:
5682         * errorlist.h:
5683         * format.C:
5684         * format.h:
5685         * graph.C:
5686         * lyxfunc.C:
5687         * lyxrc.C:
5688         * graphics/GraphicsConverter.C:
5689         * graphics/PreviewLoader.C: header adjustment
5690
5691 2003-05-23  Angus Leeming  <leeming@lyx.org>
5692
5693         * LaTeXFeatures.[Ch] (useBabel): new method.
5694         * bufferparams.C (writeLaTeX): use it.
5695
5696 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * ParagraphList.h (set): remove unused function.
5699
5700 2003-05-23  André Pönitz  <poenitz@gmx.net>
5701
5702         * BufferView.C:
5703         * BufferView_pimpl.C:
5704         * buffer.C:
5705         * buffer.h:
5706         * lyxfunc.C:
5707         * undo_funcs.C: setUndo reworked
5708
5709         * iterators.[Ch]: add access to topmost ParagraphList
5710
5711         * lyxtext.[Ch] (workWidth): add a const
5712
5713 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5714
5715         * texrow.[Ch] (increasePos): remove function
5716         * exporter.C (export): removed unused var and outdated comment
5717
5718 2003-05-23  Angus Leeming  <leeming@lyx.org>
5719
5720         * latexrunparams.h: rename fragile as moving_arg.
5721         * paragraph.C (simpleTeXOnePar): ditto.
5722         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5723
5724 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5727         (createUndo): ditto
5728         (textUndoOrRedo): comment out a currently unused var.
5729
5730         * paragraph.h (NO_NEXT): enable NO_NEXT
5731
5732         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5733
5734         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5735
5736         * exporter.C (Export): adjust for removeAutoInsets removal.
5737
5738         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5739
5740         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5741
5742         * BufferView.[Ch] (removeAutoInsets): delete function
5743
5744 2003-05-22  Angus Leeming  <leeming@lyx.org>
5745
5746         * latexrunparams.h: add a free_spacing variable.
5747
5748         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5749         to pass moving_arg, as the data is stored in runparams.fragile.
5750
5751         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5752         to Inset::latexOptional or to simpleTeXOnePar.
5753
5754         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5755         free_spacing arg to Inset::latexOptional.
5756
5757         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5758         free_spacing arg.
5759
5760 2003-05-22  Angus Leeming  <leeming@lyx.org>
5761
5762         * latexrunparams.h: add fragile and use_babel variables.
5763
5764         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5765         * buffer.C (makeLaTeXFile): store this returned value in
5766         runparams.use_babel, thus passing it to the inset::latex methods.
5767
5768         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5769         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5770
5771         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5772         longer has a fragile arg, as it is stored in runparams.fragile.
5773
5774         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5775         moving_arg parameter as the data is stored in runparams.fragile.
5776
5777         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5778         a fragile parameter as the data is stored in runparams.fragile.
5779
5780 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5781
5782         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5783
5784 2003-05-22  Angus Leeming  <leeming@lyx.org>
5785
5786         * latexrunparams.h: add a 'bool nice' which defaults to false.
5787
5788         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5789         now encapsulated within runparams.
5790
5791         * bufferlist.C (updateIncludedTeXfiles):
5792         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5793
5794 2003-05-22  Angus Leeming  <leeming@lyx.org>
5795
5796         * latexrunparams.h: new file containing struct LatexRunParams.
5797         * Makefile.am: add new file.
5798
5799         * LaTeX.[Ch] (c-tor, run):
5800         * buffer.[Ch] (makeLaTeXFile):
5801         * bufferlist.[Ch] (updateIncludedTeXfiles):
5802         * converter.C (convert, scanLog):
5803         * converter.[Ch] (runLaTeX):
5804         * exporter.C (Export):
5805         * paragraph.[Ch] (simpleTeXOnePar):
5806         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5807         * paragraph_funcs.[Ch] (latexParagraphs):
5808         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5809         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5810         pass around a LatexRunParams parameter.
5811
5812 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5813
5814         * paragraph.[Ch]: remove unused constructor
5815
5816         * ParagraphList.C (erase): new function, taking two iterators
5817
5818 2003-05-22  André Pönitz  <poenitz@gmx.net>
5819
5820         * undo_funcs.C: remove duplicated code
5821
5822         * iterator.[Ch]: operator=
5823
5824 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5825
5826         * tabular.C (SetMultiColumn): ws changes
5827
5828         * rowpainter.C (paintFirst): get rid of a ->previous
5829
5830         * lyx_cb.C (getPossibleLabel): parlist simplification
5831
5832         * BufferView.C (ChangeInsets): simplify slightly.
5833
5834 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5835
5836         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5837         * lfuns.h: new LFUN_SPACE
5838         * lyxfunc.C: protected space has a new lfun
5839         * paragraph_funcs.C: read new space insets
5840         * text3.C:
5841         * factory.C: handle new space insets
5842
5843 2003-05-22  André Pönitz  <poenitz@gmx.net>
5844
5845         * BufferView.C:
5846         * BufferView_pimpl.C:
5847         * buffer.[Ch]:
5848         * lyxfunc.C:
5849         * undo_funcs.C: return a ParIterator from getParFromID.
5850
5851         * iterators.[Ch]: add two const's
5852
5853 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5854
5855         * toc.C (getTocList): adjust
5856
5857         * iterators.[Ch]: rework for parlist
5858
5859         * buffer.C (par_iterator_begin): adjust
5860         (par_iterator_end): adjust
5861
5862         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5863
5864         * BufferView.C (removeAutoInsets): adjust
5865         (ChangeInsets): adjust
5866
5867 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5868
5869         * text.C (top_y): fix bug 1110
5870
5871 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5872
5873         * errorlist.[Ch]: added
5874         * buffer.C:
5875         * BufferView.[Ch]:
5876         * BufferView_pimpl.C:
5877         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5878         instead
5879
5880 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * Makefile.am: ensure that lyx is relinked upon changes to the
5883         various "convenience" libs.
5884
5885 2003-05-20  Angus Leeming  <leeming@lyx.org>
5886
5887         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5888         files are compiled in alphabetical order again.
5889
5890         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5891
5892 2003-05-19  Angus Leeming  <leeming@lyx.org>
5893
5894         * gettext.[Ch]: remove "char const * _(char const *)".
5895
5896 2003-05-19  André Pönitz  <poenitz@gmx.net>
5897
5898         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5899
5900         * Makefile.am:
5901         * BufferView.C:
5902         * DepTable.h:
5903         * LaTeXFeatures.C:
5904         * buffer.C:
5905         * lyxfont.C:
5906         * lyxlex.h:
5907         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5908
5909 2003-05-19  André Pönitz  <poenitz@gmx.net>
5910
5911         * buffer.C:
5912         * lyxlayout.[Ch]:
5913         * lyxtextclass.[Ch]:
5914         * paragraph.C:
5915         * paragraph_funcs.[Ch]:
5916         * text2.C:
5917         * text3.C: more insetenv work
5918
5919 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5920
5921         * ParagraphParameters.C (params2string): small bug fixed
5922
5923 2003-05-16  André Pönitz  <poenitz@gmx.net>
5924
5925         * debug.C:
5926         * bufferview_funcs.C: patch from Kornel Benko to prevent
5927           crash when _(...) is called twice in a statement
5928
5929 2003-05-16  André Pönitz  <poenitz@gmx.net>
5930
5931         * BufferView.C:
5932         * lyxfunc.C:
5933         * text.C:
5934         * text2.C:
5935         * text3.C:
5936         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5937
5938 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5939
5940         * lyx_main.C (init): remove spurious static_cast
5941
5942 2003-05-14  André Pönitz  <poenitz@gmx.net>
5943
5944         * BufferView.C: fix format string
5945
5946 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5947
5948         * BufferView.[Ch] (insertErrors): removed
5949         * BufferView.[Ch] (showErrorList): added
5950         * buffer.C (runChkTeX):
5951         * converter.C (scanLog): call showErrorList instead of inserterrors
5952
5953 2003-05-13  André Pönitz  <poenitz@gmx.net>
5954
5955         * BufferView_pimpl.C:
5956         * buffer.C:
5957         * bufferview_func.C:
5958         * MenuBackend.C:
5959         * lyxfunc.C:
5960         * lyxrc.C:
5961         * tex-accent.C:
5962         * text3.C:
5963         * toc.C:
5964         * tabular_funcs.h: tostr() from its own header
5965
5966         * ParagraphParameters.C:
5967         * ToolbarBackend.C:
5968         * bufferparams.C:
5969         * format.C:
5970         * lyxlex_pimpl.C:
5971         * text3.C: STRCONV()
5972
5973 2003-05-12  André Pönitz  <poenitz@gmx.net>
5974
5975         * BufferView.C:
5976         * BufferView_pimpl.C:
5977         * CutAndPaste.C:
5978         * LaTeX.C:
5979         * LaTeXFeatures.C:
5980         * ParagraphParameters.C:
5981         * buffer.C:
5982         * bufferlist.C:
5983         * bufferparams.C:
5984         * bufferview_funcs.C:
5985         * converter.C:
5986         * counters.C:
5987         * debug.C:
5988         * exporter.C:
5989         * format.C:
5990         * importer.C:
5991         * lyx_cb.C:
5992         * lyx_main.C:
5993         * lyxfont.C:
5994         * lyxfunc.C:
5995         * lyxvc.C:
5996         * paragraph.C:
5997         * paragraph_funcs.C:
5998         * tabular.C:
5999         * tabular_funcs.C:
6000         * text2.C:
6001         * text3.C:  boost::format -> bformat  all over the place
6002
6003
6004 2003-05-09  André Pönitz  <poenitz@gmx.net>
6005
6006         * LColor.[Ch]: Pimpl the #include <map> away
6007
6008 2003-05-09  John Levon  <levon@movementarian.org>
6009
6010         * bufferlist.C: never remove emergency saves
6011
6012 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * Makefile.am: better lib building
6015
6016 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6019         instead.
6020         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6021         (simpleTeXSpecialChars): adjust
6022         (simpleTeXSpecialChars): adjust
6023         * paragraph.C (simpleTeXOnePar): adjust
6024         * buffer.C (makeLaTeXFile): adjust
6025
6026         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6027
6028         * text2.C (changeDepth): parlist cleanup
6029         (getColumnNearX): ditto
6030
6031         * rowpainter.C (getLabelFont): parlist cleanup
6032
6033         * bufferlist.C (newFile): parlist cleanup
6034
6035         * CutAndPaste.C (eraseSelection): parlist cleanup
6036
6037         * BufferView_pimpl.C (trackChanges): parlist cleanup
6038         (dispatch): ditto
6039
6040         * BufferView.C (lockInset): parlist cleanup.
6041         (ChangeInsets): ditto
6042
6043 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6044
6045         * CutAndPaste.h: Update file header.
6046
6047         * CutAndPaste.C: Update file header.
6048         Store the parts cut out of the Document in a limited_stack.
6049         (copySelection): adjust
6050         (pasteSelection): new function, takes the index in the limited stack.
6051         (nrOfParagraphs): adjust
6052         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6053         simplify error inset insertion.
6054         (checkPastePossible): adjust
6055
6056 2003-05-06  John Levon  <levon@movementarian.org>
6057
6058         * text2.C: don't cast wrap inset to float
6059
6060 2003-05-05  André Pönitz  <poenitz@gmx.net>
6061
6062         * iterator.C:
6063         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6064
6065         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6066           few naked Paragraph *.
6067
6068 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6069
6070         * bufferparams.C: Output warning if a document with missing
6071         TeX document class is loaded
6072         * exporter.C: Disable TeX exports if the document class is missing
6073         * lyxtextclass.C:
6074         * lyxtextclass.h:
6075         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6076         isTeXClassAvailable()
6077
6078 2003-05-03  John Levon  <levon@movementarian.org>
6079
6080         * BufferView.h:
6081         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6082         explicit cursor show/hide
6083
6084         * BufferView_pimpl.h:
6085         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6086         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6087
6088         * lyxfunc.C: hide cursor before dispatching.
6089
6090         * lyx_cb.C:
6091         * lyxfind.C:
6092         * text.C:
6093         * text3.C: remove explicit cursor hides
6094
6095 2003-05-02  André Pönitz  <poenitz@gmx.net>
6096
6097         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6098
6099         * undo_funcs.C:
6100         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6101           linked lists
6102
6103         * text2.C: tiny whitespace
6104
6105 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * undo_funcs.C: almost only ws changes.
6108
6109         * ParagraphList.C (splice): just return if pl is empty.
6110
6111 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * ParagraphList.C (splice): new function.
6114
6115         * CutAndPaste.C (pasteSelection): use it
6116
6117 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6118
6119         * CutAndPaste.C (pasteSelection): remove the last next and
6120         previous from this file.
6121
6122 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * CutAndPaste.C (pasteSelection): more clean up, user proper
6125         ParagraphList functions for pasteing.
6126
6127         * ParagraphList.C (insert): new function, three arg insert
6128
6129 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6130
6131         * ParagraphList.C (insert): new function, three arg insert
6132
6133         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6134         not on paragraphs.
6135
6136 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6139
6140 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6141
6142         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6143
6144 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6147         (copySelection): clean up a bit.
6148         (pasteSelection): use make_pair
6149
6150         * ParagraphList.C (ParagraphList): implement copy constructor
6151         (operator=): implement, base on copy constructor.
6152         (assign): new func
6153
6154         * paragraph.C (erase): return a bool
6155
6156         * paragraph_pimpl.C (erasePos): remove function, move contents...
6157         (erase): ... here. Return a bool.
6158         (erase): call erase instead of erasePos.
6159
6160 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6161
6162         * ParagraphList.h: define PitPosPair
6163         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6164         ParagraphList, fix a bug on pasting multiple pars
6165         * text2.C: change interface to C&P
6166
6167 2003-04-30  André Pönitz  <poenitz@gmx.net>
6168
6169         * undo_func.C: revert part of yesterday's patch 2
6170
6171 2003-04-30  John Levon  <levon@movementarian.org>
6172
6173         * LColor.C: s/tabular/table/
6174
6175 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6176
6177         * text3.C (dispatch): do not convert iterator -> pointer
6178         * undo_funcs.C (setCursorParUndo): ditto
6179         * text_funcs.C (transposeChars): ditto
6180
6181         * text2.C (setLayout): ws changes only
6182
6183         * text.C (breakParagraph): do not convert iterator -> pointer
6184         (insertChar): ditto
6185         (acceptChange): ditto
6186         (rejectChange): ditto
6187         (changeCase): ditto
6188         (Delete): ditto
6189         (backspace): ditto
6190
6191         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6192         pointer
6193
6194 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6195
6196         * text3.C (gotoInset): YABG (yet another bad getChar)
6197
6198 2003-04-29  André Pönitz  <poenitz@gmx.net>
6199
6200         * paragraph.h: make operator= private unimplemented as long as
6201           it is unusable
6202
6203         * ParagraphList.C: whitespace
6204
6205         * paragraph.[Ch]:
6206         * paragraph_pimpl.[Ch]:
6207         * paragraph_funcs.C:
6208         * CutAndPaste.C:
6209         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6210
6211         * text2.C:
6212           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6213
6214 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6215
6216         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6217         * paragraph.[Ch] (erase):
6218         * paragraph_pimpl.[Ch] (erase): change return type and value
6219         * text2.C (cutSelection): some rework
6220
6221 2003-04-28  John Levon  <levon@movementarian.org>
6222
6223         * bufferlist.C: changes for unsaved changes dialog
6224
6225 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6226
6227         * bufferlist.C (newFile): set language (messages_) for new
6228         documents also.
6229
6230         * buffer.C (readFile): ws changes only.
6231
6232 2003-04-28  André Pönitz  <poenitz@gmx.net>
6233
6234         * undo_funcs.C:
6235         * lyxfunc.C:
6236         * buffer.[Ch]:
6237         * BufferView_pimpl.C:
6238         * BufferView.C: getParFromID related ParagraphList::iterator changes
6239
6240 2003-04-28  André Pönitz  <poenitz@gmx.net>
6241
6242         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6243           Changes
6244
6245 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * messages.C: remove one more localedir class variable.
6248
6249 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6250
6251         * messages.C (getLocaleDir): singleton generation function
6252         (Pimpl): use it.
6253         (Messages): add a default constructor.
6254
6255         * main.C (main): do not setup localedir here, do not call
6256         gettext_init.
6257
6258         * gettext.C (_): use it.
6259         (gettext_init): delete funciton
6260
6261 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6262
6263         * gettext.C (getLyXMessages): new singleton generating function.
6264
6265         * buffer.C (updateDocLang): adjust
6266
6267         * Makefile.am (messages.o): add target
6268         (main.o): remove target
6269
6270 2003-04-27  John Levon  <levon@movementarian.org>
6271
6272         * bufferlist.C:
6273         * lyx_cb.C:
6274         * lyxfunc.C:
6275         * lyxvc.C: specify cancel button in Alert::prompt
6276
6277 2003-04-26  John Levon  <levon@movementarian.org>
6278
6279         * text3.C:
6280         * lyxfunc.C:
6281         * lfuns.h:
6282         * LyXAction.C: add LFUN_INSET_SETTINGS
6283
6284         * lyxfunc.C: don't enable tabular-feature when there's
6285         just any locking inset
6286
6287 2003-04-26  John Levon  <levon@movementarian.org>
6288
6289         * bufferlist.C: re-add Cancel to buffer close question
6290
6291         * lyxfunc.C: fix import UI a bit
6292
6293 2003-04-25  John Levon  <levon@movementarian.org>
6294
6295         * gettext.C: remove the broken asserts for now
6296
6297 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6298
6299         * messages.C: make case where setlocale cannot comply work better.
6300
6301         * buffer.C (updateDocLang): new function
6302         (changeLanguage): use it
6303         (readFile): use it
6304
6305         * text2.C (setCounter): use B_ a bit.
6306
6307         * lyxlayout.C (Read): be sure to trim the label strings.
6308
6309         * messages.C (Messages): fix typo in comment
6310
6311         * buffer.C (readFile): set message_ after file is loaded.
6312         (makeDocBookFile): remove double return
6313         (changeLanguage): reset message_ upon language change.
6314         (B_): new func, use this to get translated buffer strings.
6315
6316         * main.C: add myself and Jean Marc as authors.
6317
6318 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6319
6320         * messages.[hC]: pimplify Messages, and three different pimpls to be
6321         used in different circumstances.
6322
6323         * gettext.[Ch]: change for use with new message code.
6324
6325 2003-04-24 André Pönitz <poenitz@gmx.net>
6326
6327         * factory.C: support for eqref
6328
6329 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6330
6331         * messages.[Ch]: add missing char
6332
6333         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6334
6335         * messages.[Ch]: New files
6336
6337 2003-04-18  John Levon  <levon@movementarian.org>
6338
6339         * BufferView.h:
6340         * BufferView.C:
6341         * BufferView_pimpl.C:
6342         * lfuns.h:
6343         * LyXAction.C:
6344         * lyxtext.h:
6345         * text2.C: remove layout-copy/paste (bug 778)
6346
6347 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6348
6349         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6350
6351 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6352
6353         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6354         if they succeed. Act accordingly.
6355
6356 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6357
6358         * text2.C (setCharFont): adjust
6359         (setCounter): adjust
6360         (insertStringAsLines): adjust
6361
6362         * text.C (leftMargin): adjust
6363         (setHeightOfRow): adjust
6364
6365         * rowpainter.C (paintFirst): adjust
6366         (paintLast): adjust
6367
6368         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6369         (outerHook): ditto
6370         (isFirstInSequence): ditto
6371         (getEndLabel): ditto
6372         (outerFont): adjust
6373
6374         * paragraph.C (getParLanguage): comment out some hard stuff.
6375
6376         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6377         (sgmlError): ditto
6378         (simpleDocBookOnePar): ditto
6379         (makeDocBookFile): use ParagraphList::iterator
6380
6381         * CutAndPaste.C (pasteSelection): adjust
6382
6383 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6384
6385         * text2.C (getFont): adjust
6386         (getLayoutFont): adjust
6387         (getLabelFont): adjust
6388
6389         * paragraph_funcs.C (TeXOnePar): adjust
6390
6391         * buffer.C (simpleLinuxDocOnePar): adjust
6392         (simpleDocBookOnePar): adjust
6393
6394         * CutAndPaste.C (pasteSelection): adjust
6395
6396         * BufferView.C (getEncoding): adjust
6397
6398         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6399
6400 2003-04-16  John Levon  <levon@movementarian.org>
6401
6402         * lyxfind.C: use parlist stuff for search/changes
6403
6404 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6405
6406         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6407
6408         * text2.C (deleteEmptyParagraphMechanism): adjust
6409
6410         * text2.[Ch] (ownerParagraph): delete func (both of them
6411
6412 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6413
6414         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6415
6416 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6417
6418         * ParagraphList.C: prepare for NO_NEXT
6419
6420 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6421
6422         * text2.C (getFont): adjust
6423         (getLayoutFont): adjust
6424         (getLabelFont): adjust
6425
6426         * paragraph.C (getFont): adjust
6427         (getLabelFont): adjust
6428         (getLayoutFont): adjust
6429
6430         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6431
6432 2003-04-15  John Levon  <levon@movementarian.org>
6433
6434         From Angus Leeming
6435
6436         * lyx_main.C: handle Include in .ui files
6437
6438 2003-04-15  John Levon  <levon@movementarian.org>
6439
6440         * MenuBackend.C: make the doc files length shorter
6441
6442         * ToolbarBackend.h:
6443         * ToolbarBackend.C: handle toolbar placement flags,
6444         Minibuffer
6445
6446 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6447
6448         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6449         adjust
6450
6451         * paragraph_funcs.C (TeXOnePar): adjust
6452
6453         * paragraph.C (getLabelFont): add outerfont arg, adjust
6454         (getLayoutFont): ditto
6455         (simpleTeXOnePar): adjust
6456
6457         * paragraph_pimpl.C (realizeFont): delete func
6458
6459 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6460
6461         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6462         row argument, constify cur argument.
6463
6464 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6465
6466         * text2.C (getFont): adjust
6467         (getLayoutFont): adjust
6468         (getLabelFont): adjust
6469
6470         * paragraph_funcs.C (TeXOnePar): adjust
6471         (outerFont): new func...
6472         (realizeFont): ...moved out from here, changed this to facilitate
6473         transition
6474
6475         * paragraph.C (getFont): take outerfont as arg, adjust
6476         (simpleTeXOnePar): add outerfont arg, adjust
6477
6478         * buffer.C (simpleLinuxDocOnePar): adjust
6479         (simpleDocBookOnePar): adjust
6480
6481         * CutAndPaste.C (pasteSelection): adjust
6482
6483         * BufferView.C (getEncoding): adjust
6484
6485 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6486
6487         * text2.C (setCharFont): adjust
6488         (setCounter): adjust
6489
6490         * text.C (leftMargin): adjust
6491         (setHeightOfRow): adjust
6492
6493         * rowpainter.C (paintFirst): adjust
6494         (paintLast): adjust
6495
6496         * paragraph_pimpl.C (realizeFont): adjust
6497
6498         * paragraph.C (isFirstInSequence): move from here...
6499         * paragraph_funcs.C (isFirstInSequence): ...to here
6500
6501         * paragraph.C (outerHook): move from here...
6502         * paragraph_funcs.C (outerHook): ...to here
6503
6504         * paragraph.C (depthHook): move from here...
6505         * paragraph_funcs.C (depthHook): ...to here
6506
6507         * paragraph.C (getEndLabel): move from here...
6508         * paragraph_funcs.C (getEndLabel): ...to here
6509
6510         * text2.C (realizeFont): move from here...
6511         * paragraph_funcs.C (realizeFont): ...to here
6512
6513 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6514
6515         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6516
6517 2003-04-14  Angus Leeming  <leeming@lyx.org>
6518
6519         * LColor.[Ch]: scrap LColor mathcursor.
6520
6521 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6522
6523         * lyxlex.[Ch] (text): delete function
6524         * trans.C (Load): adjust
6525         * paragraph_funcs.C (readParToken): adjust
6526
6527 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6528
6529         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6530         vector<char> instead of a char[].
6531
6532         * lyxlex_pimpl.C (getString): adjust
6533         (next): adjust
6534         (lex): use getString
6535         (eatLine): adjust
6536         (nextToken): adjust
6537
6538         * lyxlex.C (text): use pimpl_->getString()
6539         (getBool): ditto
6540         (findToken): ditto
6541
6542 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6543
6544         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6545         (makeFontEntriesLayoutSpecific): temp var for par.size()
6546         (setLayout): temp var for ownerParagraphs().end()
6547         (fullRebreak): temp var for rows().end()
6548         (selectionAsString): temp var for boost::next(startpit), realize
6549         that the while really is a regular for loop.
6550         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6551         setCursor in one place.
6552         (setParagraph): temp vr for ownerParagraphs().end()
6553         (updateCounters): make the while loop a for loop
6554         (cutSelection): temp var for ownerParagraphs().end()
6555         (updateInset): make the do {} while() a regular for loop
6556         (getCursorX): use temp vars
6557         (setCurrentFont): use temp vars
6558         (getColumnNearX): use temp vars
6559
6560 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6561
6562         * text.C (transformChar): use temp var for getChar
6563         (computeBidiTables): use temp var for row->par()
6564         (fill): move temp vars for row->par() and pit->layout() earlier in
6565         the function.
6566         (labelFill): use temp var for row->par()
6567         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6568         asc and desc, realize that pit never changes and that firstpit is
6569         just a duplicate and not needed. Exchange rit->par() with pit in a
6570         lot of places.
6571         (breakAgain): use a temp var for boost::next(rit)
6572         (breakAgainOneRow): ditto
6573         (breakParagraph): use a temp var for rows().begin()
6574         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6575         (cursorRightOneWord): use temp var for cursor.par() and
6576         cursor.pos(), remove usage of tmpcursor.
6577         (cursorLeftOneWord): use temp var for cursor.par() and
6578         cursor.pos() only set cur at end of function.
6579
6580 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * text.C, text2.C: exchange all usage of Paragraph::next with
6583         boost::next(ParagraphList::iterator)
6584
6585         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6586
6587         * text2.C (cursorTop): simplify implementation
6588         (cursorBottom): ditto
6589         (setParagraph): use ParagraphList::iterator
6590         (setCurrentFont): adjust
6591         (getColumnNearX): adjust
6592         (cursorRight): adjust
6593         (cursorLeft): remove usage of Paragraph::previous
6594         (cursorUpParagraph): ditto
6595         (deleteEmptyParagraphMechanism): slight cleanup
6596
6597         * text.C (isBoundary): take a Paragraph const & instead of a
6598         pointer as arg.
6599         (addressBreakPoint): ditto
6600         (leftMargin): remove usage of Paragraph::previous.
6601         (setHeightOfRow): ditto
6602         (cursorLeftOneWord): ditto
6603         (selectNextWordToSpellcheck): ditto
6604         (Delete): ditto
6605         (backspace): ditto
6606         (breakParagraph): remove one usage of Paragraph::next
6607         (redoParagraph): ditto
6608         (acceptChange): ditto
6609         (insertChar): adjust
6610         (rowBreakPoint): adjust
6611
6612         * bufferview_funcs.C (toggleAndShow): adjust
6613
6614 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6615
6616         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6617         methods to access it.
6618         * lyxtext.h:
6619         * text.C: Added updateRowPositions to compute all row positions.
6620         Make top_y and getRowNearY() to use the cached y position
6621
6622 2003-04-11  John Levon  <levon@movementarian.org>
6623
6624         * text.C (rowBreakPoint): reintroduce the labelEnd
6625         checks, code copied from the row fill stuff. Deep voodoo.
6626
6627         * text.C (fill): add a comment and debugging for the
6628         next poor soul.
6629
6630 2003-04-11  John Levon  <levon@movementarian.org>
6631
6632         * text.C: make sure fullrow insets get wrapped to the next line,
6633         even when they're in a manual label
6634
6635 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6636
6637         * text2.C (insertParagraph): make it take ParagraphList::iterator
6638         as arg.
6639         (setLayout): make it return ParagraphList::iterator
6640         (redoParagraphs): ditto
6641         (setCounter): ditto
6642         (checkParagraph): ditto
6643
6644         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6645
6646         * text2.C: adjust several funcs.
6647         (realizeFont): take a ParagraphList::iterator as arg.
6648         (getLayoutFont): ditto
6649         (getLabelFont): ditto
6650         (setCharFont): ditto
6651
6652         * text.C: adjust several funcs.
6653
6654 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6655
6656         * text.C (selectNextWordToSpellcheck): don't accidentally
6657         skip insets
6658
6659 2003-04-10  John Levon  <levon@movementarian.org>
6660
6661         * ToolbarBackend.C (getIcon): special handling for
6662         LFUN_MATH_DELIM
6663
6664 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6665
6666         * text2.C (cursorRight): a getChar assert fixed
6667
6668 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6669
6670         * text2.C (getFont): change to take a ParagraphList::iterator
6671         instead of Paragraph*
6672         Adjust several functions.
6673
6674         * text.C (transformChar): change to take a ParagraphList::iterator
6675         instead of Paragraph*
6676         (singleWidth): ditto
6677         Adjust several functions.
6678
6679         * rowpainter.C: adjust several functions
6680         * rowpainter.h:store a ParagraphList::iterator and not a
6681         Paragraph&.
6682
6683
6684 2003-04-09  John Levon  <levon@movementarian.org>
6685
6686         * lyxfunc.C:
6687         * lfuns.h:
6688         * LyXAction.h:
6689         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6690         and the "help" bits as well
6691
6692 2003-04-09  John Levon  <levon@movementarian.org>
6693
6694         * ToolbarBackend.h:
6695         * ToolbarBackend.C: allow multiple toolbars
6696
6697 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6698
6699         * undo_funcs.C (setCursorParUndo): adjust
6700
6701         * text_funcs.C (transposeChars): adjust
6702
6703         * text3.C (gotoNextInset): adjust
6704         (dispatch): adjust
6705
6706         * text2.C (setLayout): adjust
6707         (changeDepth): adjust
6708         (setFont): adjust
6709         (redoParagraphs): adjust
6710         (selectionAsString): adjust
6711         (setParagraph): adjust
6712         (insertInset): adjust
6713         (cutSelection): adjust
6714         (copySelection): adjust
6715         (pasteSelection): adjust
6716         (insertStringAsLines): adjust
6717         (updateInset): adjust
6718         (setCursor): change to take a ParagraphList::iterator parameter
6719         (setCursorIntern): change to take a ParagraphList::iterator parameter
6720         (setCurrentFont): adjust
6721         (cursorLeft): adjust
6722         (cursorRight): adjust
6723         (deleteEmptyParagraphMechanism): adjust
6724
6725         * text.C (breakParagraph): adjust
6726         (insertChar): adjust
6727         (acceptChange): adjust
6728         (rejectChange): adjust
6729         (selectNextWordToSpellcheck): adjust
6730         (changeCase): adjust
6731         (Delete): adjust
6732         (backspace): adjust
6733
6734         * lyxfind.C (SearchForward): adjust
6735         (SearchBackward): adjust
6736         (nextChange): adjust
6737
6738         * lyxcursor.C (par): adjust
6739
6740         * lyxcursor.h: store a ParagraphList::iterator instead of a
6741         Paragraph*
6742
6743         * lyx_cb.C (getPossibleLabel): adjust
6744
6745         * bufferview_funcs.C (toggleAndShow): adjust
6746
6747         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6748         (dispatch): adjust
6749
6750         * BufferView.C (removeAutoInsets): adjust
6751         (lockedInsetStoreUndo): adjust
6752
6753 2003-04-09  John Levon  <levon@movementarian.org>
6754
6755         * ToolbarBackend.C: try icon without argument
6756         if with argument fails
6757
6758 2003-04-08  John Levon  <levon@movementarian.org>
6759
6760         * ToolbarBackend.h:
6761         * ToolbarBackend.C: add getIcon(), handle tooltip,
6762         and change from "Icon" to "Item".
6763
6764 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6765
6766         * BufferView.C (lockInset): another bad getchar crunched
6767
6768 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6769
6770         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6771         again)
6772
6773 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6774
6775         * lyxfind.C (searchForward, searchBackwards): bug 782
6776
6777 2003-04-07  John Levon  <levon@movementarian.org>
6778
6779         * paragraph.C: remove dead comment
6780
6781         * text.C: remove troublesome depth-fiddling code
6782         in leftMargin() and rightMargin() (bug 1017)
6783
6784         * text.C: fix breaking of rows in nested lists
6785         (bug 1004)
6786
6787         * text2.C (updateCounters): fix up depth values
6788         (bug 1013)
6789
6790 2003-04-07  John Levon  <levon@movementarian.org>
6791
6792         * BufferView_pimpl.C: clear message when doc finishes resizing,
6793         and after a mouse event
6794
6795         * lyxfunc.C: clear message after exiting inset
6796
6797 2003-04-07  John Levon  <levon@movementarian.org>
6798
6799         * bufferview_funcs.C: show math status not outside
6800         status in the statusbar
6801
6802 2003-04-07  John Levon  <levon@movementarian.org>
6803
6804         * lyxfunc.C: note status changed after a depth change
6805
6806 2003-04-04  Angus Leeming  <leeming@lyx.org>
6807
6808         * LaTeX.h: move AuxInfo operator==, != out of line.
6809         Remove LaTeX virtual destructor; nothing derives from it.
6810         Move operator()() out of public area and rename it startscript().
6811         Change protected for private.
6812
6813 2003-04-04  Angus Leeming  <leeming@lyx.org>
6814
6815         * lyxfunc.C:
6816         * text2.C: remove unneeded #includes.
6817
6818 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6819
6820         * text2.C (dEPM): fix the heigth of the next row
6821
6822 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6823
6824         * text.C: squashed an invalid getChar requester + some ws changes
6825
6826 2003-04-03  John Levon  <levon@movementarian.org>
6827
6828         * bufferview_funcs.h:
6829         * bufferview_funcs.C:
6830         * lyxfunc.C:
6831         * lyxtext.h:
6832         * text2.C: make getStatus work for the env depth lfuns
6833
6834 2003-04-03  John Levon  <levon@movementarian.org>
6835
6836         * bufferview_funcs.h:
6837         * bufferview_funcs.C:
6838         * lyxfunc.C:
6839         * lyxtext.h:
6840         * text2.C: parlistize decDepth(), by merging it with incDepth()
6841
6842 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6843
6844         * lyxrow.h: store a ParagraphList::iterator instead of a
6845         Paragraph* and adjust other class functions to suit.
6846
6847         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6848         above.
6849
6850 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6851
6852         * text2.C (setCursor): do not anchor to cursor row for the time being
6853
6854 2003-04-02  John Levon  <levon@movementarian.org>
6855
6856         * LyXAction.C:
6857         * lfuns.h:
6858         * lyx_main.C:
6859         * lyxtext.h:
6860         * text.C:
6861         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6862
6863 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6864
6865         * paragraph.h: make ParagraphList and ParagraphList::iterator
6866         friends of Paragraph.
6867
6868         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6869
6870         * ParagraphList.C: Use the private next_ and previous_ from
6871         Paragraph.
6872
6873 2003-04-01  John Levon  <levon@movementarian.org>
6874
6875         * ToolbarBackend.h:
6876         * ToolbarBackend.C:
6877         * Makefile.am: rename, remove defaults gunk
6878
6879         * MenuBackend.h:
6880         * MenuBackend.C: remove defaults gunk
6881
6882         * Languages.h:
6883         * Languages.C: remove defaults gunk
6884
6885         * lyx_main.h:
6886         * lyx_main.C: error out if files couldn't be found.
6887
6888 2003-04-02  John Levon  <levon@movementarian.org>
6889
6890         * text2.C: make incDepth() use parlist
6891
6892 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * undo_funcs.C (firstUndoParagraph): adjust
6895
6896         * text3.C (gotoInset): adjust
6897         (dispatch): adjust, and rewrite loop.
6898
6899         * text2.C (init): adjust, and rewrite loop.
6900         (redoParagraphs): adjust
6901         (updateInset): adjust, and rewrite loop.
6902         (deleteEmptyParagraphMechanism): adjust
6903
6904         * tabular.C (LyXTabular): adjust
6905         (SetMultiColumn): adjust
6906         (TeXRow): adjust
6907
6908         * lyxtext.[Ch] (ownerParagraph): delete function
6909         (ownerParagraphs): new function returns a ParagraphList.
6910
6911         * BufferView.C (removeAutoInsets): adjust
6912         (insertErrors): adjust
6913         (setCursorFromRow): adjust
6914
6915 2003-04-01  Angus Leeming  <leeming@lyx.org>
6916
6917         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6918         in the frontends.
6919
6920 2003-04-02  John Levon  <levon@movementarian.org>
6921
6922         * lyxtext.h:
6923         * text.C:
6924         * Makefile.am:
6925         * text_funcs.h:
6926         * text_funcs.C: make transposeChars a free function
6927
6928         * lyxrow_funcs.C: remove wrong comment
6929
6930 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6931
6932         * lyxtext.h: adjust
6933         * rowpainter.C: adjust
6934         * text.C: adjust
6935         * text2.C: adjust
6936         * text3.C: adjust
6937
6938         * lyxrow_funcs. [Ch]: new files
6939
6940         * lyxrow.[Ch]: remove next and previous pointers
6941         (next,previous): remove accessor functions
6942         (isParEnd): move to lyxrow_funcs
6943         (lastPos): move to lyxrow_funcs
6944         (nextRowIsAllInset): move to lyxrow_funcs
6945         (lastPrintablePos): move to lyxrow_funcs
6946         (numberOfSeparators): move to lyxrow_funcs
6947         (numberOfHfills): move to lyxrow_funcs
6948         (numberOfLabelHfills): move to lyxrow_funcs
6949         (hfillExpansion): move to lyxrow_funcs
6950
6951         * lyxfunc.C: adjust
6952
6953         * bufferview_funcs.C (toggleAndShow): adjust
6954
6955         * RowList.h: Remove class RowList from file leave just a
6956         std::list<Row>.
6957
6958         * RowList.C: delete file
6959
6960         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6961         and lyxrow_funcs.h
6962
6963 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6964
6965         * text3.C (cursorPrevious): adjust
6966         (cursorNext): adjust
6967         (dispatch): adjust
6968
6969         * text2.C (redoHeightOfParagraph): adjust
6970         (redoDrawingOfParagraph): adjust
6971         (setCursor): adjust
6972
6973         * text.C (breakParagraph): adjust
6974         (insertChar): adjust
6975         (backspace): adjust
6976
6977         * rowpainter.C (RowPainter): adjust
6978         (leftMargin): simplify and adjust
6979         (most rowpainter functions): adjust.
6980
6981         * rowpainter.h: store the row as RowList::iterator not as Row*
6982
6983         * lyxcursor.C (row): taka RowList::iterator as arg
6984         (irow): ditto
6985
6986         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6987         of Row*.
6988
6989 2003-04-01  Angus Leeming  <leeming@lyx.org>
6990
6991         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6992         stuff like bool Bool.
6993
6994 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6995
6996         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6997         rewrite a loop
6998
6999 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7002         RowList::iterator.
7003
7004         * lyxtext.h (rows): drop one version and leve a const variant that
7005         returns a RowList::iterator.
7006
7007 2003-03-31  Angus Leeming  <leeming@lyx.org>
7008
7009         * text.C (fill): ensure that the signature is the same as that in the
7010         header file.
7011
7012 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7013
7014         * text2.C (redoParagraphs): adjust
7015         (updateCounters): adjust
7016         (checkParagraph): adjust
7017         (getColumnNearX): adjust and reformat a bit.
7018
7019         * text.C (top_y): adjust
7020         (workWidth): adjust
7021         (leftMargin): adjust
7022         (prepareToPrint): adjust
7023         (getRow): adjust
7024         (getRowNearY): adjust
7025
7026         * lyxtext.h: make rowlist_ mutable.
7027
7028         * RowList.h: add const_iterator
7029         * RowList.C: adjust for RowList::const_iterator.
7030
7031         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7032         adjust.
7033
7034 2003-03-31  John Levon  <levon@movementarian.org>
7035
7036         * lyxrc.h:
7037         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7038
7039         * lyx_main.C: set default fonts from using lyx_gui funcs
7040
7041         * exporter.C: pdf_mode moved from lyxrc
7042
7043         * lyx_cb.C:
7044         * lyxfunc.C: changes from above
7045
7046 2003-03-31  John Levon  <levon@movementarian.org>
7047
7048         * lyx_main.C: fix to the last fix
7049
7050 2003-03-31  John Levon  <levon@movementarian.org>
7051
7052         * bufferlist.C: "Load original" -> "Load Original"
7053
7054         * converter.C:
7055         * exporter.C:
7056         * importer.C:
7057         * lyx_main.C:
7058         * format.C: more Alert cleanups
7059
7060 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7061
7062         * text2.C (removeParagraph): make it take a RowList::iterator as
7063         arg, adjust.
7064         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7065         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7066
7067         * text.C (anchor_row): make it take a RowList::iterator as arg,
7068         adjust.
7069         (computeBidiTables): make it take a const reference to Row instead
7070         of Row pointer, adjust.
7071         (leftMargin): make it take a RowList::iterator as arg, adjust.
7072         (rowBreakPoint): adjust
7073         (breakAgainOneRow): make it take a RowList::iterator as arg,
7074         adjust.
7075         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7076
7077         * bufferview_funcs.C (toggleAndShow): adjust
7078
7079 2003-03-30  John Levon  <levon@movementarian.org>
7080
7081         * Makefile.am:
7082         * BoostFormat.h:
7083         * boost-inst.C: moved to support
7084
7085         * several files: changes as a result
7086
7087 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7088
7089         * text2.C (LyXText): adjust.
7090         (init): adjust
7091         (removeRow): make it take a RowList::iterator as arg, adjust.
7092         (fullRebreak): adjust
7093         (deleteEmptyParagraphMechanism): adjust
7094         (clearPaint): adjust
7095         (postPaint): adjust
7096
7097         * text.C (top_y): adjust
7098         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7099         (breakAgain): make it take a RowList::iterator as arg, adjust.
7100         (breakParagraph): adjust
7101         (insertChar): adjust
7102         (backspace): adjust
7103
7104         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7105         need_break_row, and refresh_row.
7106
7107         * text3.C (dispatch): adjust
7108
7109         * text2.C (checkParagraph): adjust
7110         (setCursor): adjust
7111         (setCursorFromCoordinates): adjust
7112
7113         * text.C (top_y): adjust
7114         (workWidth): adjust
7115         (getRow): make it return a RowList::iterator, adjust
7116         (getRowNearY): make it return a RowList::iterator, adjust
7117
7118         * text2.C (init): adjust
7119         (insertRow): remove function
7120         (insertParagraph): adjust
7121         (redoParagraphs): adjust
7122         (fullRebreak): adjust
7123         (updateCounters): adjust
7124
7125         * text.C (top_y): rewrite to use RowList iterators.
7126         (top_y): adjust
7127         (setHeightOfRow): rewrite to sue RowList iterators.
7128         (appendParagraph): adjust
7129         (breakAgain): adjust
7130         (breakAgainOneRow): adjust
7131         (breakParagraph): adjust
7132         (getRow): adjust
7133         (getRowNearY): adjust, and remove commented code.
7134
7135         * lyxtext.h (firstRow): delete function
7136         (lastRow): delete function
7137         (rows): new function (const and non-const versions.)
7138         (insertRow): delete function
7139
7140         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7141
7142 2003-03-29  John Levon  <levon@movementarian.org>
7143
7144         * BufferView_pimpl.C: always update scrollbar top
7145         because pasting text when we're anchored could mean we
7146         miss an update altogether
7147
7148 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * text2.C (init): use rowlist_.end() and not 0.
7151         (insertRow): change to take a RowList::iterator as arg, adjust
7152         for this.
7153         (insertParagraph): change to take a RowList::iterator as arg,
7154         adjust for this.
7155         (redoParagraphs): remove some debug msgs.
7156
7157         * text.C (appendParagraph): change to take a RowList::iterator
7158         arg, adjust for this.
7159         (breakAgain): add an assert
7160         (breakAgainOneRow): ditto
7161
7162 2003-03-29  John Levon  <levon@movementarian.org>
7163
7164         * text2.C: do not clear selection after inc/decDepth
7165         (bug 550)
7166
7167 2003-03-29  John Levon  <levon@movementarian.org>
7168
7169         * BufferView.C:
7170         * buffer.C: fix broken strerrors according to Lars
7171
7172 2003-03-29  John Levon  <levon@movementarian.org>
7173
7174         * converters.C: more Alert cleanups
7175
7176 2003-03-29  John Levon  <levon@movementarian.org>
7177
7178         * bufferview_funcs.C: remove pointless Alert
7179
7180         * buffer.C: fix confusing error message when
7181         a template is chmoded 000
7182
7183 2003-03-29  John Levon  <levon@movementarian.org>
7184
7185         * BufferView.C:
7186         * BufferView.h:
7187         * BufferView_pimpl.C: Alert fixes
7188
7189         * Makefile.am:
7190         * tabular.C:
7191         * tabular-old.C: remove unused table compat reading
7192
7193 2003-03-29  John Levon  <levon@movementarian.org>
7194
7195         * BufferView.C:
7196         * buffer.C:
7197         * lyx_cb.h:
7198         * lyx_cb.C: more Alert cleanups
7199
7200         * lyxfunc.C: don't allow chktex if not latex document
7201
7202 2003-03-29  John Levon  <levon@movementarian.org>
7203
7204         * lyx_cb.C:
7205         * BufferView.C:
7206         * buffer.C: warnings pushed down from support/,
7207         kill err_alert
7208
7209 2003-03-29  John Levon  <levon@movementarian.org>
7210
7211         * lyxfunc.C: safety check for C-r (revert)
7212
7213 2003-03-29  John Levon  <levon@movementarian.org>
7214
7215         * bufferlist.h:
7216         * bufferlist.C: several UI fixes using Alert::prompt.
7217         Fix the pointless looping quit code. Fix stupid revert
7218         behaviour (bug 938)
7219
7220         * lyxvc.h:
7221         * lyxvc.C:
7222         * lyx_cb.C: use Alert::prompt
7223
7224         * lyx_main.C: remove a silly question
7225
7226         * lyxfunc.C: remove a couple of silly questions,
7227         use Alert::prompt
7228
7229 2003-03-28  John Levon  <levon@movementarian.org>
7230
7231         * text2.C: fix bug 974 (End on empty par)
7232
7233 2003-03-28  John Levon  <levon@movementarian.org>
7234
7235         * BufferView_pimpl.C:
7236         * LyXAction.C:
7237         * lfuns.h: remove do-nothing math greek lfuns
7238
7239 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7240
7241         * lyxgluelength.h (isValidGlueLength): add default arg on
7242         parameter 2. Remove default arg from friend in class.
7243
7244         * lyxlength.h (isValidLength): add default arg on parameter 2.
7245         Remove default arg from friend in class.
7246
7247         * text2.C (LyXText): adjust, initialize refresh_row.
7248         (init): adjust
7249         (removeRow): adjust
7250         (insertRow): adjust
7251         (insertParagraph): adjst
7252         (redoParagraphs): adjust
7253         (fullRebreak): adjust
7254         (updateCounters): adjust
7255         (deleteEmptyParagraphMechanism): first attempt at fixing a
7256         crashing bug.
7257
7258         * text.C (top_y): adjust
7259         (setHeightOfRow): adjust
7260         (getRow): adjust
7261         (getRowNearY): adjust
7262
7263         * lyxtext.h: include RowList.h
7264         (~LyXText): not needed anymore, deleted.
7265         (firstRow): modify for RowList
7266         (lastRow): new function
7267         Delete firstrow and lastrow class variables, add a Rowlist
7268         rowlist_ class variable.
7269
7270         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7271         paragraph is empty.
7272
7273         * RowList.C (insert): fix case where it == begin().
7274
7275 2003-03-26  Angus Leeming  <leeming@lyx.org>
7276
7277         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7278         the thesaurus dialog.
7279
7280 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7281
7282         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7283
7284         * RowList.[Ch]: new files
7285
7286         * ParagraphList.C (erase): handle the case where it == begin
7287         correctly.
7288
7289 2003-03-25  John Levon  <levon@movementarian.org>
7290
7291         * Makefile.am:
7292         * aspell_local.h:
7293         * aspell.C: add new aspell support
7294
7295         * lyxrc.h:
7296         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7297         have it accessible.
7298
7299 2003-03-25  Angus Leeming  <leeming@lyx.org>
7300
7301         * lfuns.h:
7302         * LyXAction.C (init): new LFUN_INSET_INSERT.
7303
7304         * BufferView_pimpl.C (dispatch): split out part of the
7305         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7306
7307         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7308         LFUN_INSET_APPLY.
7309
7310 2003-03-25  Angus Leeming  <leeming@lyx.org>
7311
7312         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7313
7314 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7315
7316         * text2.C:
7317         * text3.C: remove useless row->height(0)
7318
7319 2003-03-25  John Levon  <levon@movementarian.org>
7320
7321         * lyxtext.h:
7322         * text2.C:
7323         * text3.C: rename the refreshing stuff to better names
7324
7325 2003-03-24  John Levon  <levon@movementarian.org>
7326
7327         * BufferView_pimpl.h:
7328         * BufferView_pimpl.C: update layout choice on a mouse
7329         press/release
7330
7331 2003-03-23  John Levon  <levon@movementarian.org>
7332
7333         * Makefile.am: fix commandtags.h reference
7334
7335 2003-03-22  John Levon  <levon@movementarian.org>
7336
7337         * BufferView_pimpl.C:
7338         * lyxtext.h:
7339         * rowpainter.C:
7340         * rowpainter.h:
7341         * text.C:
7342         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7343
7344 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7345
7346         * lyxtext.h:
7347         * text.C: take the rtl methods out of line
7348
7349 2003-03-21 André Pönitz <poenitz@gmx.net>
7350
7351         * metricsinfo.[Ch]: new files containing structures to be passed around
7352         during the two-phase-drawing...
7353
7354 2003-03-21 André Pönitz <poenitz@gmx.net>
7355
7356         * lyxtextclass.C: read 'environment' tag.
7357
7358 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7359
7360         * text2.C (removeRow): fix bug 964
7361
7362 2003-03-20  John Levon  <levon@movementarian.org>
7363
7364         * rowpainter.C:
7365         * text.C:
7366         * text2.C: paint cleanups. Inset::update() dropped font
7367         parameter
7368
7369 2003-03-19  John Levon  <levon@movementarian.org>
7370
7371         * lyxfunc.C: only fitcursor/markDirty if available()
7372
7373 2003-03-19  John Levon  <levon@movementarian.org>
7374
7375         * commandtags.h: rename to ...
7376
7377         * lfuns.h: ... this, and renumber / cleanup
7378
7379 2003-03-19  John Levon  <levon@movementarian.org>
7380
7381         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7382         fit the cursor after an lfun
7383
7384         * BufferView.h:
7385         * BufferView.C:
7386         * BufferView_pimpl.h:
7387         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7388
7389         * LyXAction.C: layout-character should have ReadOnly
7390
7391         * ParagraphParameters.C:
7392         * buffer.C:
7393         * bufferview_funcs.C:
7394         * lyx_cb.C:
7395         * lyxfind.C:
7396         * lyxtext.h:
7397         * text.C:
7398         * text2.C:
7399         * text3.C:
7400         * undo_funcs.C: changes from above
7401
7402 2003-03-18  John Levon  <levon@movementarian.org>
7403
7404         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7405         remove it from update()
7406
7407         * lyxfunc.C: update layout choice after an lfun
7408
7409         * text3.C: remove extra updateLayoutChoice()s
7410
7411 2003-03-18  John Levon  <levon@movementarian.org>
7412
7413         * text.C: top_y change means full repaint, fix
7414         a drawing bug with cursor movement
7415
7416 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7417
7418         * lyxtext.h:
7419         * text.C:
7420         * text2.C: anchor row on setCursor
7421
7422 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7423
7424         * lyxtext.h: remove almost all mutable keywords
7425         * text.C:
7426         * text2.C:
7427         * text3.C: remove const keywords accordingly
7428
7429 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7430
7431         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7432         anon namespace
7433         (TeXEnvironment): ditto
7434         (TeXOnePar): ditto
7435
7436 2003-03-17  John Levon  <levon@movementarian.org>
7437
7438         * text.C (rowBreakPoint): remove attempt to fix displayed
7439         math insets inside a manual label
7440
7441 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7442
7443         * lyxtext.h: remove BufferView* as first arg from almost all class
7444         functions.
7445         * other files: adjust.
7446
7447 2003-03-17  John Levon  <levon@movementarian.org>
7448
7449         * lyxtext.h:
7450         * undo_funcs.C:
7451         * text2.C: more paint cleanups
7452
7453         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7454
7455         * rowpainter.h:
7456         * rowpainter.C: remove "smart" background painting code
7457
7458 2003-03-16  John Levon  <levon@movementarian.org>
7459
7460         * lyxtext.h:
7461         * text.C:
7462         * text2.C:
7463         * text3.C: add helper functions for setting refresh_row/y
7464
7465 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7466
7467         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7468         newline inset which *can* get inserted in the pass_thru layouts.
7469         This is primarily for literate documents.
7470
7471 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7472
7473         * buffer.C: increment LYX_FORMAT to 223
7474
7475 2003-03-14 André Pönitz <poenitz@gmx.net>
7476
7477         * textclass.h: prepare for environment handling, ws changes
7478         * lyxlayout.C: read latexheader and latexfooter tags
7479
7480 2003-03-14  John Levon  <levon@movementarian.org>
7481
7482         * text2.C: rewrite ::status() a bit
7483
7484 2003-03-13  John Levon  <levon@movementarian.org>
7485
7486         * lyxtext.h: add some docs
7487
7488 2003-03-13  John Levon  <levon@movementarian.org>
7489
7490         * lyxtext.h:
7491         * text.C:
7492         * text2.C:
7493         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7494
7495 2003-03-13  John Levon  <levon@movementarian.org>
7496
7497         * text3.C: fix appendix redrawing
7498
7499 2003-03-13  John Levon  <levon@movementarian.org>
7500
7501         * text.C (setHeightOfRow):
7502         * rowpainter.h:
7503         * rowpainter.C: make appendix mark have the text
7504           "Appendix" so the user knows what it is
7505
7506         * LColor.h:
7507         * LColor.C: s/appendixline/appendix/ from above
7508
7509 2003-03-13  John Levon  <levon@movementarian.org>
7510
7511         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7512
7513         * text.C: fix a getChar(pos) bug properly
7514
7515 2003-03-13  Angus Leeming  <leeming@lyx.org>
7516
7517         * commandtags.h:
7518         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7519         Probably only temporary. Let's see how things pan out.
7520
7521         * BufferView.C (unlockInset):
7522         * BufferView_pimpl.C (fitCursor):
7523         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7524
7525         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7526         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7527
7528         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7529         new functions that convert ParagraphParameters to and from a string.
7530
7531         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7532         BufferView::Pimpl's dispatch.
7533         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7534
7535 2003-03-13 André Pönitz <poenitz@gmx.net>
7536
7537         * lyxfunc.C:
7538         * text3.C:
7539         * factory.C: make it aware of InsetEnv
7540
7541 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7542
7543         * text2.C (setCursor): never ask for one past last
7544         (setCursor): add some debugging messages.
7545
7546         * text.C (singleWidth): never ask for one past last
7547         (singleWidth): ditto
7548         (leftMargin): ditto
7549         (rightMargin): ditto
7550         (rowBreakPoint): ditto
7551         (setHeightOfRow): ditto
7552         (prepareToPrint): ditto
7553
7554         * rowpainter.C (paintBackground): never ask for one past last
7555         (paintText): never ask for one past last
7556
7557         * paragraph_pimpl.C (getChar): make the assert stricter, never
7558         allow the one past last pos to be taken
7559
7560         * paragraph.C (getChar): ws changes only
7561
7562         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7563         (numberOfSeparators): ditto
7564         (numberOfHfills): ditto
7565
7566 2003-03-12  John Levon  <levon@movementarian.org>
7567
7568         * author.h:
7569         * author.C:
7570         * bufferparams.h:
7571         * bufferparams.C:
7572         * paragraph_funcs.C: fix per-buffer authorlists
7573
7574 2003-03-12  John Levon  <levon@movementarian.org>
7575
7576         * text.C: fix newline in right address
7577
7578 2003-03-12  Angus Leeming  <leeming@lyx.org>
7579
7580         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7581         duplicate those in LyXFunc::dispatch.
7582
7583         * commandtags.h:
7584         * LyXAction.C:
7585         * ToolbarDefaults.C:
7586         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7587         Add LFUN_FONTFREE_UPDATE.
7588
7589         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7590         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7591
7592         * bufferview_func.[Ch]: several new functions to facilliate
7593         transfer of data to and from the character dialog.
7594
7595 2003-03-12  John Levon  <levon@movementarian.org>
7596
7597         * buffer.C:
7598         * paragraph.h:
7599         * paragraph.C:
7600         * paragraph_funcs.C:
7601         * paragraph_pimpl.C:
7602         * sgml.C:
7603         * tabular.C:
7604         * text.C:
7605         * text3.C: remove META_NEWLINE in favour of an inset
7606
7607         * rowpainter.h:
7608         * rowpainter.C: remove paintNewline (done by inset)
7609
7610 2003-03-12  John Levon  <levon@movementarian.org>
7611
7612         * paragraph_pimpl.C: complain about bad getChar()s
7613         for a while at least
7614
7615 2003-03-12  John Levon  <levon@movementarian.org>
7616
7617         * buffer.h:
7618         * buffer.C: move paragraph read into a separate function,
7619         a little renaming to reflect that.
7620
7621         * bufferparams.h:
7622         * bufferparams.C: remove the author_ids map, not necessary now
7623
7624         * factory.h:
7625         * factory.C: moved Buffer::readInset to here
7626
7627         * paragraph_funcs.h:
7628         * paragraph_funcs.C: readParagraph free function moved from
7629         buffer.C
7630
7631         * tabular.C: name change
7632
7633 2003-03-12  John Levon  <levon@movementarian.org>
7634
7635         * buffer.C:
7636         * ParagraphParameters.C: move par params input to
7637         a read() method
7638
7639         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7640         behave like a normal read from the stream wrt reading
7641         a line vs. a \\token
7642
7643 2003-03-12  John Levon  <levon@movementarian.org>
7644
7645         * paragraph.C:
7646         * ParagraphParameters.h:
7647         * ParagraphParameters.C: move output code to a
7648         ::write() method
7649
7650 2003-03-12  John Levon  <levon@movementarian.org>
7651
7652         * BufferView.C (insertLyXFile):
7653         * buffer.h:
7654         * buffer.C:
7655         * tabular.C: use a parlist iterator for creating the
7656           document.
7657
7658 2003-03-12  John Levon  <levon@movementarian.org>
7659
7660         * buffer.C: make current_change static local not
7661           static file-scope
7662
7663 2003-03-12  John Levon  <levon@movementarian.org>
7664
7665         * buffer.C: fix insertStringAsLines for change tracking
7666
7667 2003-03-12  John Levon  <levon@movementarian.org>
7668
7669         * BufferView.C:
7670         * tabular.C:
7671         * buffer.h:
7672         * buffer.C:
7673         * bufferparams.h:
7674         * bufferparams.C: move author list into params. Rename some
7675           functions. Move the header reading into a separate token
7676           loop. Move the header token reading into BufferParams.
7677
7678 2003-03-12  John Levon  <levon@movementarian.org>
7679
7680         * changes.C: put debug inside lyxerr.debugging() checks
7681
7682 2003-03-11 André Pönitz <poenitz@gmx.net>
7683
7684         * factory.C: make it aware of InsetHFill
7685
7686 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7687
7688         * buffer.C (latexParagraphs): move function from here...
7689         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7690         args.
7691
7692 2003-03-10  Angus Leeming  <leeming@lyx.org>
7693
7694         * LyXAction.C (init): fix bug in poplating array with multiple entries
7695         with the same LFUN (spotted by JMarc).
7696
7697 2003-03-10  John Levon  <levon@movementarian.org>
7698
7699         * text.C:
7700         * text2.C: move getColumnNearX() near its
7701         only call site
7702
7703 2003-03-10  John Levon  <levon@movementarian.org>
7704
7705         * text.C: fix break before a minipage
7706
7707 2003-03-10  John Levon  <levon@movementarian.org>
7708
7709         * text.C: fix the last commit
7710
7711 2003-03-09  John Levon  <levon@movementarian.org>
7712
7713         * lyxtext.h:
7714         * text.C:
7715         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7716         bug 365 (don't break before insets unless needed). Don't
7717         return a value > last under any circumstances.
7718
7719 2003-03-09  Angus Leeming  <leeming@lyx.org>
7720
7721         * BufferView_pimpl.C (trackChanges, dispatch): call
7722         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7723
7724 2003-03-09  Angus Leeming  <leeming@lyx.org>
7725
7726         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7727         than Dialogs::showAboutlyx().
7728
7729 2003-03-09  Angus Leeming  <leeming@lyx.org>
7730
7731         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7732         than Dialogs::showTabularCreate().
7733
7734 2003-03-09  John Levon  <levon@movementarian.org>
7735
7736         * lyxtext.h:
7737         * text.C:
7738         * text2.C: 3rd arg to nextBreakPoint was always the same.
7739           Use references.
7740
7741 2003-03-08  John Levon  <levon@movementarian.org>
7742
7743         * lyxrow.C:
7744         * paragraph.C:
7745         * paragraph.h:
7746         * rowpainter.C:
7747         * text.C:
7748         * text2.C: Remove the "main" bit from the "main body"
7749           notion.
7750
7751 2003-03-08  John Levon  <levon@movementarian.org>
7752
7753         * text.C (leftMargin): The left margin of an empty
7754         manual label paragraph should not include the label width
7755         string length.
7756
7757         * text.C (prepareToPrint): don't attempt to measure hfills
7758         for empty manual label paragraphs - the answer should be 0
7759
7760 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7761
7762         * CutAndPaste.C: remove commented code and reindent.
7763
7764 2003-03-08  John Levon  <levon@movementarian.org>
7765
7766         * lyxfunc.h:
7767         * lyxfunc.C: move reloadBuffer()
7768
7769         * BufferView.h:
7770         * BufferView.C: to here
7771
7772         * lyxvc.C: add comment
7773
7774         * vc-backend.h:
7775         * vc-backend.C: call bv->reload() to avoid
7776           getStatus() check on MENURELOAD
7777
7778 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7779
7780         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7781         to an old format .dep file.
7782
7783 2003-03-07  Angus Leeming  <leeming@lyx.org>
7784
7785         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7786         when the LFUN_MOUSE_RELEASE should have been handled by
7787         inset->localDispatch.
7788
7789 2003-03-07  Angus Leeming  <leeming@lyx.org>
7790
7791         * BufferView_pimpl.C (dispatch):
7792         * LyXAction.C (init):
7793         * ToolbarDefaults.C (init):
7794         * commandtags.h:
7795         * lyxfunc.C (getStatus):
7796         remove LFUN_INSET_GRAPHICS.
7797
7798         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7799
7800 2003-03-07  Angus Leeming  <leeming@lyx.org>
7801
7802         * commandtags.h:
7803         * LyXAction.C (init):
7804         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7805
7806         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7807
7808         * commandtags.h:
7809         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7810
7811         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7812         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7813
7814 2003-03-07  Angus Leeming  <leeming@lyx.org>
7815
7816         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7817         remove "ert".
7818
7819 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7820
7821         * ParagraphList.C (front): new function
7822         (back): implement
7823
7824 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7825
7826         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7827         and top_row_offset_. removed var first_y.
7828         * text.C (top_y):
7829         * text2.C (LyXText, removeRow):
7830         * text3.C:
7831         * BufferView_pimpl.C:
7832         use these methods instead of using first_y
7833
7834 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7835
7836         * text2.C (pasteSelection): adjust for checkPastePossible
7837
7838         * CutAndPaste.C: remove Paragraph * buf and replace with
7839         ParagraphList paragraphs.
7840         (DeleteBuffer): delete
7841         (cutSelection): change the tc type to textclass_type
7842         (copySelection): change the tc type to textclass_type
7843         (copySelection): adjust for ParagraphList
7844         (pasteSelection): change the tc type to textclass_type
7845         (pasteSelection): adjust for Paragraphlist
7846         (nrOfParagraphs): simplify for ParagraphList
7847         (checkPastePossible): simplify for ParagraphList
7848         (checkPastePossible): remove unused arg
7849
7850         * ParagraphList.C (insert): handle the case where there are no
7851         paragraphs yet.
7852
7853         * CutAndPaste.h: make CutAndPaste a namespace.
7854
7855         * text3.C (dispatch): adjust
7856
7857         * text.C (breakParagraph): add a ParagraphList as arg
7858
7859         * paragraph_funcs.C (breakParagraph): change to take a
7860         BufferParams and a ParagraphList as args.
7861         (breakParagraphConservative): ditto
7862         (mergeParagraph): ditto
7863         (TeXDeeper): add a ParagraphList arg
7864         (TeXEnvironment): ditto
7865         (TeXOnePar): ditto
7866
7867         * buffer.C (readLyXformat2): adjust
7868         (insertStringAsLines): adjust
7869         (latexParagraphs): adjust
7870
7871         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7872         (cutSelection): adjust
7873         (pasteSelection): adjust
7874
7875         * BufferView_pimpl.C (insertInset): adjust
7876
7877 2003-03-05  Angus Leeming  <leeming@lyx.org>
7878
7879         * commandtags.h:
7880         * LyXAction.C (init):
7881         * BufferView_pimpl.C (dispatch):
7882         * lyxfunc.C (getStatus):
7883         remove LFUN_CHILD_INSERT.
7884
7885         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7886
7887 2003-03-05  Angus Leeming  <leeming@lyx.org>
7888
7889         * commandtags.h:
7890         * LyXAction.C (init):
7891         * src/factory.C (createInset):
7892         * lyxfunc.C (getStatus):
7893         * text3.C (dispatch):
7894         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7895
7896         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7897
7898 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7899
7900         * ParagraphList.C (insert): handle insert right before end()
7901         (erase): fix cases where it can be first or last paragraph.
7902
7903 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7904
7905         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7906         Paragraph::next and Paragraph::previous
7907         (TeXOnePar): ditto
7908
7909         * text.C (breakParagraph): adjust
7910
7911         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7912         BufferParams& as arg.
7913         (breakParagraph): use ParagraphList::insert
7914         (breakParagraphConservative): take a Buffer* instead of a
7915         BufferParams& as arg.
7916         (breakParagraphConservative): use ParagraphList::insert.
7917
7918         * buffer.C (insertStringAsLines): un-const it
7919         (insertStringAsLines): adjust
7920
7921         * ParagraphList.C (insert): new function
7922
7923         * CutAndPaste.C (pasteSelection): adjust
7924
7925         * text.C (backspace): adjust
7926
7927         * tabular.C (SetMultiColumn): adjust
7928
7929         * CutAndPaste.C (cutSelection): adjust
7930         (pasteSelection): adjust
7931
7932         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7933         Buffer const * as arg
7934
7935         * ParagraphList.C (erase): new function
7936         * paragraph_funcs.C (mergeParagraph): use it
7937         (mergeParagraph): make it take a Buffer* instead of a
7938         BufferParams* as arg
7939
7940         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7941         as arg
7942         (breakParagraphConservative): ditto
7943
7944         * paragraph.h: remove the breakParagraph friend
7945
7946         * paragraph.C (eraseIntern): new function
7947         (setChange): new function
7948
7949         * paragraph_funcs.C (mergeParagraph): make it take a
7950         ParagraphList::iterator instead of a Paragraph *, adjust
7951         accordingly.
7952
7953         * paragraph.h: move an #endif so that the change tracking stuff
7954         also works in the NO_NEXT case.
7955
7956 2003-03-04  Angus Leeming  <leeming@lyx.org>
7957
7958         * commandtags.h:
7959         * LyXAction.C: new LFUN_INSET_MODIFY.
7960
7961         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7962         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7963
7964 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7965
7966         * several files: ws changes only
7967
7968         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7969         (TeXEnvironment): ditto
7970         (TeXDeeper): ditto
7971
7972         * buffer.C (makeLaTeXFile): adjust
7973         (latexParagraphs): make it take ParagraphList::iterator as args
7974
7975 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7976
7977         * buffer.C (latexParagraphs): adjust
7978
7979         * paragraph.C (TeXOnePar): move function...
7980         (optArgInset): move function...
7981         (TeXEnvironment): move function...
7982         * paragraph_pimpl.C (TeXDeeper): move function...
7983         * paragraph_funcs.C: ...here
7984
7985         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7986
7987 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * buffer.C (readInset): remove compability code for old Figure and
7990         InsetInfo insets
7991
7992 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7993
7994         * buffer.C: ws changes
7995         (readInset):
7996
7997         * BufferView_pimpl.C: ditto
7998         * author.C: ditto
7999         * buffer.h: ditto
8000         * bufferlist.h: ditto
8001         * changes.h: ditto
8002         * lyxfunc.C: ditto
8003
8004 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8005
8006         * converter.[Ch]: split into itself +
8007         * graph.[Ch]
8008         * format.[Ch]
8009         * Makefile.am: += graph.[Ch] + format.[Ch]
8010         * MenuBackend.C
8011         * buffer.C
8012         * exporter.C
8013         * importer.C
8014         * lyx_main.C
8015         * lyxfunc.C
8016         * lyxrc.C: added #include "format.h"
8017
8018 2003-02-27  Angus Leeming  <leeming@lyx.org>
8019
8020         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8021           a label.
8022
8023         * factory.C (createInset): add "label" to the factory.
8024
8025         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8026           string and do no more.
8027
8028 2003-02-27  Angus Leeming  <leeming@lyx.org>
8029
8030         * commandtags.h:
8031         * LyXAction.C (init):
8032         * factory.C (createInset):
8033         * BufferView_pimpl.C (dispatch):
8034           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8035
8036         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8037
8038         * lyxfunc.C (dispatch):
8039         * text3.C (dispatch): pass name to params2string.
8040
8041 2003-02-26  Angus Leeming  <leeming@lyx.org>
8042
8043         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8044           blocks together.
8045           Rearrange the ~includes. Strip out the unnecessary ones.
8046
8047         * factory.C (createInset): reformat.
8048           create new insets for the various LFUN_XYZ_APPLY lfuns.
8049
8050 2003-02-26  John Levon  <levon@movementarian.org>
8051
8052         * lyxrow.h:
8053         * lyxrow.C: add isParStart,isParEnd helpers
8054
8055         * paragraph.h: make isInserted/DeletedText take refs
8056
8057         * paragraph_funcs.h:
8058         * paragraph_funcs.C: remove #if 0'd code
8059
8060         * lyxtext.h:
8061         * text3.C:
8062         * text2.C:
8063         * text.C: use lyxrow helpers above.
8064           Move draw and paint routines to RowPainter.
8065           Make several methods use refs not pointers.
8066           Make backgroundColor() const.
8067           Add markChangeInDraw(), isInInset().
8068           Merge changeRegionCase into changeCase.
8069           Make workWidth() shouldn't-happen code into an Assert.
8070
8071         * rowpainter.h:
8072         * rowpainter.C: new class for painting a row.
8073
8074         * vspace.h:
8075         * vspace.C: make inPixels take a ref
8076
8077 2003-02-26  Angus Leeming  <leeming@lyx.org>
8078
8079         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8080         LFUN_REF_APPLY.
8081
8082 2003-02-25  John Levon  <levon@movementarian.org>
8083
8084         * ispell.C: give the forked command a more accurate name
8085
8086 2003-02-22  John Levon  <levon@movementarian.org>
8087
8088         * toc.h:
8089         * toc.C: make TocItem store an id not a Paragraph *
8090           (bug #913)
8091
8092 2003-02-21  Angus Leeming  <leeming@lyx.org>
8093
8094         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8095           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8096           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8097           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8098           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8099           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8100
8101         * BufferView_pimpl.C (dispatch):
8102         * LyXAction.C (init):
8103         * factory.C (createInset):
8104         * lyxfunc.C (getStatus, dispatch):
8105         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8106
8107 2003-02-21  Angus Leeming  <leeming@lyx.org>
8108
8109         * BufferView_pimpl.C (MenuInsertLyXFile):
8110         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8111         * lyxfunc.C (menuNew, open, doImport):
8112           no longer pass a LyXView & to fileDlg.
8113
8114 2003-02-21  Angus Leeming  <leeming@lyx.org>
8115
8116         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8117         * LyXAction.C: change, BIBKEY to BIBITEM.
8118         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8119         Change InsetBibKey to InsetBibitem.
8120         Change BIBKEY_CODE to BIBITEM_CODE.
8121         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8122         * factory.C: replace insetbib.h with insetbibitem.h.
8123         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8124         * paragraph.C: replace insetbib.h with insetbibitem.h.
8125         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8126         Change bibkey() to bibitem().
8127         * text.C: remove insetbib.h.
8128         * text2.C: replace insetbib.h with insetbibitem.h.
8129         change bibkey() to bibitem().
8130         * text3.C: remove insetbib.h.
8131         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8132
8133 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8134
8135         * lyxrc.C (output): enclose user email in quotes (in case there are
8136         several words)
8137
8138 2003-02-18  John Levon  <levon@movementarian.org>
8139
8140         * buffer.h: add std::
8141
8142 2003-02-17  John Levon  <levon@movementarian.org>
8143
8144         * SpellBase.h:
8145         * ispell.h:
8146         * ispell.C:
8147         * pspell.h:
8148         * pspell.C: reworking. Especially in ispell, a large
8149           number of clean ups and bug fixes.
8150
8151         * lyxfunc.C: fix revert to behave sensibly
8152
8153 2003-02-17 André Pönitz <poenitz@gmx.net>
8154
8155         * LyXAction.C:
8156         * commandtags.h: new LFUN_INSERT_BIBKEY
8157
8158         * layout.h:
8159         * lyxlayout.C:
8160         * buffer.C:
8161         * factory.C:
8162         * text.C:
8163         * text2.C:
8164         * text3.C:
8165         * paragraph.[Ch]:
8166         * paragraph_func.C: remove special bibkey handling
8167
8168 2003-02-17  John Levon  <levon@movementarian.org>
8169
8170         * text.C (Delete): fix case where delete at the end of
8171           the very first paragraph would not merge the pars
8172
8173 2003-02-17  John Levon  <levon@movementarian.org>
8174
8175         * lyxrow.C: fix lastPrintablePos()
8176
8177 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8178
8179         * bufferparams.C (writeLaTeX): add a std:here
8180
8181         * buffer.C: and remove a using directive there
8182
8183 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8184
8185         * buffer.C (makeLaTeXFile): move the code that generates the
8186           preamble...
8187
8188         * bufferparams.C (writeLaTeX): ... in this new method
8189
8190         * LaTeXFeatures.C (getEncodingSet): make const
8191           (getLanguages): make const
8192
8193         * MenuBackend.C (binding): returns the binding associated to this
8194           action
8195           (add): sets the status of each item by calling getStatus. Adds
8196           some intelligence.
8197           (read): add support for OptSubMenu
8198           (expand): remove extra separator at the end of expanded menu
8199
8200 2003-02-15  John Levon  <levon@movementarian.org>
8201
8202         * BufferView.C:
8203         * BufferView_pimpl.C:
8204         * bufferlist.h:
8205         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8206           inset code that had no actual effect. Remove unneeded status
8207           code.
8208
8209 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8210
8211         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8212           in preamble
8213
8214 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8215
8216         * text.C (drawLengthMarker): also draw an arrow marker for
8217           symbolic lengths (medskip...)
8218
8219 2003-02-14  John Levon  <levon@movementarian.org>
8220
8221         * tabular.h:
8222         * tabular.C: better method names
8223
8224 2003-02-14  John Levon  <levon@movementarian.org>
8225
8226         * BufferView_pimpl.C:
8227         * bufferlist.C:
8228         * buffer.C:
8229         * converter.C:
8230         * lyx_cb.C:
8231         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8232           it's a more accurate name. Remove some pointless uses.
8233
8234 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8235
8236         * text2.C (LyXText): change order of initilizers to shut off
8237           warnings
8238
8239 2003-02-14  John Levon  <levon@movementarian.org>
8240
8241         * buffer.C: use ParIterator for getParFromID()
8242
8243         * paragraph.h:
8244         * paragraph.C:
8245         * paragraph_pimpl.h:
8246         * paragraph_pimpl.C: remove unused getParFromID()
8247
8248 2003-02-14  John Levon  <levon@movementarian.org>
8249
8250         * buffer.C: remove some very old #if 0'd parse code
8251
8252 2003-02-13  John Levon  <levon@movementarian.org>
8253
8254         * text.h:
8255         * text.C:
8256         * text2.C: move hfillExpansion(), numberOfSeparators(),
8257           rowLast(), rowLastPrintable(), numberofHfills(),
8258           numberOfLabelHfills() ...
8259
8260         * lyxrow.h:
8261         * lyxrow.C: ... to member functions here.
8262
8263         * paragraph.h:
8264         * paragraph.C:
8265         * lyxtext.h:
8266         * text.C: remove LyXText::beginningOfMainBody(), and call
8267           p->beginningOfMainBody() directly. Move the check for
8268           LABEL_MANUAL into the latter.
8269
8270         * text.h:
8271         * text.C:
8272         * text2.C:
8273         * vspace.C:
8274         * BufferView.h:
8275         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8276
8277         * text.h:
8278         * text.C:
8279         * text2.C:
8280         * text3.C:
8281         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8282           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8283
8284 2003-02-13  John Levon  <levon@movementarian.org>
8285
8286         * CutAndPaste.C: remove debug
8287
8288 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8289
8290         * paragraph.C (asString): remove two unused variables
8291
8292         * lyxtextclass.C (readTitleType):
8293           (Read):
8294           (LyXTextClass): handle new members titletype_ and titlename_
8295
8296         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8297
8298 2003-02-09  John Levon  <levon@movementarian.org>
8299
8300         * buffer.h:
8301         * buffer.C: replace hand-coded list with a map for the dep clean
8302
8303 2003-02-08  John Levon  <levon@movementarian.org>
8304
8305         * LaTeX.C: consolidate code into showRunMessage() helper
8306
8307 2003-02-08  John Levon  <levon@movementarian.org>
8308
8309         * lyxfind.C:
8310         * lyxtext.h:
8311         * text2.C:
8312         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8313           and pass the size in explicitly
8314
8315         * BufferView_pimpl.h:
8316         * BufferView_pimpl.C:
8317         * BufferView.h:
8318         * BufferView.C: add getCurrentChange()
8319
8320         * BufferView_pimpl.h:
8321         * BufferView_pimpl.C: handle change lfuns
8322
8323         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8324           for changes. Mark pasted paragraphs as new.
8325
8326         * support/lyxtime.h:
8327         * support/lyxtime.C:
8328         * DepTable.C: abstract time_t as lyx::time_type
8329
8330         * LColor.h:
8331         * LColor.C: add colours for new text, deleted text, changebars
8332
8333         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8334           package use "usenames" option.
8335
8336         * commandtags.h:
8337         * lyxfunc.C:
8338         * LyXAction.C: add change lfuns
8339
8340         * Makefile.am:
8341         * author.h:
8342         * author.C: author handling
8343
8344         * buffer.h:
8345         * buffer.C: add a per-buffer author list, with first entry as
8346           current author. Handle new .lyx tokens for change tracking. Output
8347           author list to .lyx file. Output dvipost stuff to .tex preamble.
8348           Bump lyx format to 222.
8349
8350         * bufferlist.h:
8351         * bufferlist.C: add setCurrentAuthor() to reset current author details
8352           in all buffers.
8353
8354         * bufferparams.h:
8355         * bufferparams.C: add param for tracking
8356
8357         * bufferview_funcs.C: output change info in minibuffer
8358
8359         * Makefile.am:
8360         * changes.h:
8361         * changes.C: add change-tracking structure
8362
8363         * debug.h:
8364         * debug.C: add CHANGES debug flag
8365
8366         * lyxfind.h:
8367         * lyxfind.C: add code for finding the next change piece
8368
8369         * lyxrc.h:
8370         * lyxrc.C: add user_name and user_email
8371
8372         * lyxrow.h:
8373         * lyxrow.C: add a metric for the top of the text line
8374
8375         * lyxtext.h:
8376         * text.C: implement accept/rejectChange()
8377
8378         * lyxtext.h:
8379         * text.C: paint changebars. Paint new/deleted text in the chosen
8380         colours. Strike through deleted text.
8381
8382         * paragraph.h:
8383         * paragraph.C:
8384         * paragraph_pimpl.h:
8385         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8386           in the current change to the insert functions. Rework erase to
8387           mark text as deleted, adding an eraseIntern() and a range-based
8388           erase(). Implement per-paragraph change lookup and
8389           accept/reject.
8390
8391         * paragraph_funcs.C: Fixup paste for change tracking.
8392
8393         * tabular.C: mark added row/columns as new.
8394
8395         * text.C: fix rowLast() to never return -1. Don't allow
8396           spellchecking of deleted text. Track transpose changes. Don't
8397           allow paragraph break or merge where appropriate.
8398
8399         * text2.C: leave cursor at end of selection after a cut.
8400
8401 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8402
8403         * text.C (getLengthMarkerHeight):
8404         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8405         visible on screen too.
8406
8407 2003-02-07  John Levon  <levon@movementarian.org>
8408
8409         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8410
8411 2003-02-05  Angus Leeming  <leeming@lyx.org>
8412
8413         * lyxserver.C (read_ready): revert my patch of 11 September last year
8414         as it sends PC cpu through the roof. Presumably this means that
8415         the lyxserver will no longer run on an Alpha...
8416
8417 2003-01-30  Angus Leeming  <leeming@lyx.org>
8418
8419         * factory.C (createInset): create an InsetCommandParam of type "index"
8420         and use it to 'do the right thing'.
8421
8422         * text2.C (getStringToIndex): ensure that cursor position is always
8423         reset to the reset_cursor position.
8424
8425 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8426
8427         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8428         disabled.
8429
8430 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8431
8432         * bufferview.C:
8433         * lyxcb.C:
8434         * lyxfunc.C: Output messages with identical spelling, punctuation,
8435         and spaces
8436
8437 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8438
8439         * MenuBackend.C (expandFormats): List only viewable export formats
8440         in "View" menu
8441
8442         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8443         message
8444
8445         * lyxfunc.C (getStatus): Make sure that formats other than
8446         "fax" can also be disabled
8447
8448 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8449
8450         * text3.C (dispatch): put the lfuns that insert insets in 3
8451         groups, and call doInsertInset with appropriate arguments.
8452         (doInsertInset): new function, that creates an inset and inserts
8453         it according to some boolean parameters.
8454
8455 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8456
8457         * buffer.C (readFile): remember to pass on 'par' when calling
8458         readFile recursively.
8459
8460 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8461
8462         * MenuBackend.C (expandFormats): add "..." to import formats.
8463
8464 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8465
8466         * paragraph.C (asString): Remove XForms RTL hacks.
8467
8468 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8469         * buffer.C: fix typo
8470
8471 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8472
8473         * Makefile.am (LIBS): delete var
8474         (lyx_LDADD): add @LIBS@ here instead.
8475
8476 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8477
8478         * Clarify the meaning of "wheel mouse jump"
8479
8480 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8481
8482         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8483         tabular in a float
8484
8485 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8486
8487         * importer.C (Loaders): do not preallocate 3 elements in the
8488         vector, since one ends up with 6 elements otherwise
8489
8490 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8491
8492         * DepTable.C (write): write the file name as last element of the
8493         .dep file (because it may contain spaces)
8494         (read): read info in the right order
8495
8496 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8497
8498         * paragraph_pimpl.C (simpleTeXBlanks):
8499         (simpleTeXSpecialChars):
8500         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8501
8502         * tabular.C (latex): add some missing case statements. Reindent.
8503
8504         * MenuBackend.C (expandToc): remove unused variable.
8505
8506 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8507
8508         * LColor.C:
8509         * LaTeX.C:
8510         * LyXAction.C:
8511         * MenuBackend.C:
8512         * buffer.C:
8513         * exporter.C:
8514         * lyxfunc.C:
8515         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8516         and the like.
8517
8518 2003-01-05  John Levon  <levon@movementarian.org>
8519
8520         * BufferView.h:
8521         * BufferView.C: add getEncoding()
8522
8523         * kbsequence.h:
8524         * kbsequence.C: do not store last keypress
8525
8526         * lyxfunc.h:
8527         * lyxfunc.C: store last keypress here instead. Pass encoding
8528           to getISOEncoded()
8529
8530 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8531
8532         * lyx_main.C (init): remove annoying error message when following
8533         symbolic links (bug #780)
8534
8535 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8536
8537         * text.C (insertChar):
8538         * lyxrc.C (getDescription): remove extra spaces
8539
8540 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8541
8542         * lyxrc.C (getDescription): remove extra spaces
8543
8544 2002-12-20  John Levon  <levon@movementarian.org>
8545
8546         * text3.C: hack fix for page up/down across tall rows
8547
8548 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8549
8550         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8551         not been invoked
8552
8553 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8554
8555         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8556         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8557         thesaurus is not compiled in
8558
8559 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8560
8561         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8562
8563 2002-12-16  Angus Leeming  <leeming@lyx.org>
8564
8565         * lyxrc.[Ch]:
8566         * lyx_main.C (init): remove override_x_deadkeys stuff.
8567
8568 2002-12-12  John Levon  <levon@movementarian.org>
8569
8570         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8571           insert. Only remove shift modifier under strict
8572           circumstances.
8573
8574 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8575
8576         * MenuBackend.C (expandToc): fix crash.
8577
8578 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8579
8580         * MenuBackend.C (expandToc): gettext on float names.
8581
8582 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8583
8584         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8585         implement bool empty() [bug 490]
8586
8587 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8588
8589         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8590
8591 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8592
8593         * several files: ws changes
8594
8595 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8596
8597         * text2.C (setCounter): clean up a bit, use boost.format.
8598         (updateCounters): initialize par upon declaration.
8599
8600         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8601         if the layout exists. We do not just store the layout any more.
8602         (SwitchLayoutsBetweenClasses): use boost.format
8603
8604 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8605
8606         * converter.C (convert): if from and to files are the same, use a
8607         temporary files as intermediary
8608
8609 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8610
8611         * commandtags.h:
8612         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8613
8614 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8615
8616         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8617
8618 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * tabular.C (asciiPrintCell): use string(size, char) instead of
8621         explicit loop.
8622
8623         * sgml.C (openTag): fix order of arguments to string constructor
8624         (closeTag): ditto
8625
8626         * lyxfunc.C (dispatch): use boost.format
8627
8628         * lots of files: change "c" -> 'c'
8629
8630 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8631
8632         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8633
8634 2002-11-25  Angus Leeming  <leeming@lyx.org>
8635
8636         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8637
8638         * lyx_main.C (init): compile fix.
8639
8640 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8641
8642         * lyx_cb.C (start): boost.formatify
8643         do not include <iostream>
8644
8645         * lengthcommon.C: ws only
8646
8647         * boost-inst.C,BoostFormat.h: add more explict instantations
8648
8649 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8650
8651         * lots of files: handle USE_BOOST_FORMAT
8652
8653 2002-11-21  John Levon  <levon@movementarian.org>
8654
8655         * pspell.C: fix compile
8656
8657 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8658
8659         * lyxfunc.C (dispatch): use boost::format
8660         (open): ditto
8661         (doImport): ditto
8662
8663         * lyxfont.C (stateText): use boost::format
8664
8665         * lyx_main.C (LyX): use boost::format
8666         (init): ditto
8667         (queryUserLyXDir): ditto
8668         (readRcFile): ditto
8669         (parse_dbg): ditto
8670         (typedef boost::function): use the recommened syntax.
8671
8672         * importer.C (Import): use boost::format
8673
8674         * debug.C (showLevel): use boost::format
8675
8676         * converter.C (view): use boost::format
8677         (convert): ditto
8678         (move): ditto
8679         (scanLog): ditto
8680
8681         * bufferview_funcs.C (currentState): use boost::format
8682
8683         * bufferlist.C (emergencyWrite): use boost::format
8684
8685         * buffer.C (readLyXformat2): use boost::format
8686         (parseSingleLyXformat2Token): ditto
8687
8688         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8689
8690         * LaTeX.C (run): use boost::format
8691
8692         * Chktex.C (scanLogFile): use boost::format
8693
8694         * BufferView_pimpl.C (savePosition): use boost::format
8695         (restorePosition): ditto
8696         (MenuInsertLyXFile): ditto
8697
8698         * BoostFormat.h: help file for explicit instation.
8699
8700 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8701
8702         * tabular.C (latex): Support for block alignment in fixed width
8703         columns.
8704
8705 2002-11-17  John Levon  <levon@movementarian.org>
8706
8707         * BufferView_pimpl.C:
8708         * lyx_cb.C:
8709         * lyxfunc.C: split filedialog into open/save
8710
8711 2002-11-08  Juergen Vigna  <jug@sad.it>
8712
8713         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8714         by my last patch (hopefully).
8715
8716 2002-11-08  John Levon  <levon@movementarian.org>
8717
8718         * iterators.h:
8719         * iterators.C:
8720         * buffer.h:
8721         * buffer.C:
8722         * paragraph.h:
8723         * paragraph.C:
8724         * toc.h:
8725         * toc.C: ParConstIterator, and use it (from Lars)
8726
8727 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8728
8729         * lyxtextclass.[Ch]: revise and add doxygen comments
8730
8731 2002-11-07  John Levon  <levon@movementarian.org>
8732
8733         * text.C: fix progress value for spellchecker
8734
8735         * toc.C: fix navigate menu for insetwrap inside minipage
8736
8737         * paragraph_funcs.C: added FIXME for suspect code
8738
8739 2002-11-07  John Levon  <levon@movementarian.org>
8740
8741         * BufferView_pimpl.C: fix redrawing of insets
8742           on buffer switch
8743
8744 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8745
8746         * text2.C (updateCounters): fix bug 668
8747
8748 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8749
8750         * text3.C (dispatch): Do not make the buffer dirty when moving the
8751         cursor.
8752
8753 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8754
8755         * vc-backend.C: STRCONV
8756         (scanMaster): ditto
8757
8758         * text2.C (setCounter): STRCONV
8759
8760         * paragraph.C (asString): STRCONV
8761
8762         * lyxlength.C (asString): STRCONV
8763         (asLatexString): ditto
8764
8765         * lyxgluelength.C (asString): STRCONV
8766         (asLatexString): ditto
8767
8768         * lyxfunc.C (dispatch): STRCONV
8769         (open): ditto
8770
8771         * lyxfont.C (stateText): STRCONV
8772
8773         * importer.C (Import): STRCONV
8774
8775         * counters.C (labelItem): STRCONV
8776         (numberLabel): ditto
8777         (numberLabel): remove unused ostringstream o
8778
8779         * chset.C: STRCONV
8780         (loadFile): ditto
8781
8782         * bufferview_funcs.C (currentState): STRCONV
8783
8784         * buffer.C (readFile): STRCONV
8785         (asciiParagraph): ditto
8786         (makeLaTeXFile): ditto
8787
8788         * Spacing.C (writeEnvirBegin): STRCONV
8789
8790         * LaTeXFeatures.C (getLanguages): STRCONV
8791         (getPackages): ditto
8792         (getMacros): ditto
8793         (getBabelOptions): ditto
8794         (getTClassPreamble): ditto
8795         (getLyXSGMLEntities): ditto
8796         (getIncludedFiles): ditto
8797
8798         * LaTeX.C: STRCONV
8799         (run): ditto
8800         (scanAuxFile): ditto
8801         (deplog): ditto
8802
8803         * LString.h: add the STRCONV macros
8804
8805         * BufferView_pimpl.C (savePosition): STRCONV
8806         (restorePosition): ditto
8807         (MenuInsertLyXFile): ditto
8808
8809         * vc-backend.C (scanMaster): change from submatch[...] to
8810         submatch.str(...)
8811
8812         * funcrequest.C: include config.h
8813
8814         * factory.C: include config.h
8815
8816         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8817
8818         * box.C: include config.h
8819
8820         * LaTeX.C (scanAuxFile): change from submatch[...] to
8821         submatch.str(...)
8822         (deplog): ditto
8823
8824 2002-10-25  Angus Leeming  <leeming@lyx.org>
8825
8826         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8827
8828         * ispell.[Ch] (setError): new method.
8829         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8830         Use setError() insetead of goto END.
8831
8832         * lyx_cb.C (AutoSave): move out child process into new class
8833         AutoSaveBuffer.
8834
8835 2002-10-30  John Levon  <levon@movementarian.org>
8836
8837         * text3.C: make start appendix undoable
8838
8839 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8840
8841         * lyxlength.C (inPixels): Fix returned value.
8842
8843         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8844         environment.
8845
8846 2002-10-24  Angus Leeming  <leeming@lyx.org>
8847
8848         * lyxgluelength.h: no need to forward declare BufferParams
8849         or BufferView, so don't.
8850
8851 2002-10-21  John Levon  <levon@movementarian.org>
8852
8853         * BufferView.C: menuUndo ->undo, redo
8854
8855         * BufferView.h: document, remove dead, make some methods private
8856
8857         * paragraph_funcs.h:
8858         * paragraph_funcs.C:
8859         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8860
8861         * buffer.h:
8862         * buffer.C:
8863         * sgml.h:
8864         * sgml.C: move sgml open/close tag into sgml.C
8865
8866         * bufferview_funcs.h: unused prototype
8867
8868         * lyxfunc.h:
8869         * lyxfunc.C: remove unused
8870
8871         * lyxtext.h:
8872         * text.C: remove unused
8873
8874 2002-10-21  John Levon  <levon@movementarian.org>
8875
8876         * BufferView.h:
8877         * BufferView.C:
8878         * BufferView_pimpl.h:
8879         * BufferView_pimpl.C: fix mouse wheel handling based on
8880           patch from Darren Freeman
8881
8882 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8883
8884         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8885
8886 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8887
8888         * lyxlength.C (inPixels): Fix hanfling of negative length.
8889         Fix LyXLength::MU case.
8890
8891 2002-10-16  John Levon  <levon@movementarian.org>
8892
8893         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8894
8895 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8896
8897         * converter.C (view): add support for $$i (file name) and $$p
8898         (file path) for the viewer command. If $$i is not specified, then
8899         it is appended to the command (for compatibility with old syntax)
8900
8901 2002-10-14  Juergen Vigna  <jug@sad.it>
8902
8903         * undo_funcs.C (textHandleUndo): alter the order in which the
8904         new undopar is added to the LyXText, as we have to set first
8905         the right prev/next and then add it as otherwise the rebuild of
8906         LyXText is not correct. Also reset the cursor to the right paragraph,
8907         with this IMO we could remove the hack in "redoParagraphs()".
8908
8909 2002-10-09  Angus Leeming  <leeming@lyx.org>
8910
8911         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8912         to turn off an optimisation if a new inset is to be inserted.
8913
8914 2002-10-11 André Pönitz <poenitz@gmx.net>
8915
8916         * lyxtext.h: make some functions public to allow access
8917         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8918
8919 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8920
8921         * text3.C (dispatch): when changing layout, avoid an infinite loop
8922         [bug #652]
8923
8924 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8925
8926         * lyxrc.C (read): treat a viewer or converter command of "none" as
8927         if it were empty.
8928
8929         * MenuBackend.C (expandFormats): for an update, also allow the
8930         formats that are not viewable
8931
8932         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8933         script if it is newer than the lyxrc.defaults in user directory
8934
8935 2002-10-07 André Pönitz <poenitz@gmx.net>
8936
8937         * text.C: Vitaly Lipatov's small i18n fix
8938
8939 2002-09-25  Angus Leeming  <leeming@lyx.org>
8940
8941         * ispell.h: doxygen fix.
8942
8943 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8944
8945         * buffer.h (readFile): Add a new argument to the method, to allow
8946         reading of old-format templates.
8947
8948 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8949
8950         * toc.C (getTocList): Get TOC from InsetWrap.
8951
8952 2002-09-16  John Levon  <levon@movementarian.org>
8953
8954         * lyxfunc.C: check tabular for cut/copy too
8955
8956 2002-09-12  John Levon  <levon@movementarian.org>
8957
8958         * LyXAction.C: tidy
8959
8960         * factory.h:
8961         * factory.C: add header
8962
8963         * paragraph_funcs.h:
8964         * paragraph_funcs.C: cleanup
8965
8966 2002-09-11  John Levon  <levon@movementarian.org>
8967
8968         * PrinterParams.h: odd/even default to true
8969
8970 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8971
8972         * PrinterParams.h: update printer parameters for new xforms dialog
8973
8974 2002-09-11  Angus Leeming  <leeming@lyx.org>
8975
8976         * lyxserver.C (read_ready): re-write to make it more transparent
8977         and to make it work in coherent fashion under Tru64 Unix.
8978
8979 2002-09-11  André Pönitz <poenitz@gmx.net>
8980
8981         * commandtags.h:
8982         * LyXAction.C:
8983         * text3.C: implement LFUN_WORDSEL
8984
8985 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8986
8987         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8988         make floatlist_ a boost::shared_ptr<FloatList>
8989
8990         * lyxtextclass.C: include FloatList.h
8991         (LyXTextClass): initialize floatlist_
8992         (TextClassTags): add TC_NOFLOAT
8993         (Read): match "nofloat" to TC_NOFLOAT and use it.
8994         (readFloat): modify call to floatlist_
8995         (floats): ditto
8996         (floats): ditto
8997
8998         * FloatList.[Ch] (FloatList): remove commented out float
8999         initialization.
9000         (erase): new function
9001
9002 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9003
9004         * MenuBackend.C (expandToc): fix crash when there is no document
9005         open
9006
9007 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9008
9009         * many files: Add insetwrap.
9010
9011 2002-09-09  John Levon  <levon@movementarian.org>
9012
9013         * text2.C: remove confusing and awkward depth wraparound
9014
9015 2002-09-09  John Levon  <levon@movementarian.org>
9016
9017         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9018
9019         * buffer.h:
9020         * buffer.C: remove getIncludeonlyList()
9021
9022         * paragraph.C:
9023         * lyxfunc.C: remove headers
9024
9025 2002-09-09  Juergen Vigna  <jug@sad.it>
9026
9027         * text.C (getColumnNearX): fix form Michael this is most
9028         probably a cut&paste bug.
9029
9030 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9031
9032         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9033
9034         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9035         references, ws changes.
9036
9037         * text2.C (init): update counters after init
9038         (insertParagraph): no need to set counter on idividual paragraphs.
9039         (setCounter): access the counters object in the textclass object
9040         on in the buffer object.
9041         (updateCounters): ditto
9042
9043         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9044         shared_ptr<Counters> to avoid loading counters.h in all
9045         compilation units.
9046         (LyXTextClass): initialize ctrs_
9047         (TextClassTags): add TC_COUNTER, and ...
9048         (Read): use it here.
9049         (CounterTags): new tags
9050         (readCounter): new function
9051         (counters): new funtion
9052         (defaultLayoutName): return a const reference
9053
9054         * counters.C (Counters): remove contructor
9055         (newCounter): remove a couple of unneeded statements.
9056         (newCounter): simplify a bit.
9057         (numberLabel): some small formatting changes.
9058
9059         * buffer.[Ch]: remove all traces of counters, move the Counters
9060         object to the LyXTextClass.
9061
9062 2002-09-06  Alain Castera  <castera@in2p3.fr>
9063
9064         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9065         package to set the horizontal alignment on fixed width columns.
9066
9067         * lyx_sty.C:
9068         * lyx_sty.h: added tabularnewline macro def.
9069
9070         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9071
9072 2002-09-06  John Levon  <levon@movementarian.org>
9073
9074         * LyXAction.C: tooltips for sub/superscript
9075
9076         * MenuBackend.C: a bit more verbose
9077
9078         * lyxfunc.C: tiny clean
9079
9080         * undo_funcs.C: document undo_frozen
9081
9082 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9083
9084         * counters.C (Counters): add missing algorithm counter.
9085
9086         * text2.C (setCounter): lookup the counter with layouts latexname
9087         instead of by section number.
9088         (setCounter): use a hackish way to lookup the correct enum
9089         counter.
9090         a float name->type change
9091         reset enum couners with counter name directly instead of depth value.
9092
9093         * counters.C (Counters): remove the push_backs, change to use the
9094         float type not the float name.
9095         (labelItem): remove unused string, float name->type change
9096
9097         * counters.h: don't include vector, loose the enums and sects vectors
9098
9099 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9100
9101         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9102         (Read): add float->TC_FLOAT to textclassTags
9103         (Read): and handle it in the switch
9104         (readFloat): new function
9105
9106         * FloatList.C (FloatList): comment out the hardcoded float
9107         definitions.
9108
9109         * lyxlayout.h: ws change.
9110
9111 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9112
9113         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9114
9115 2002-09-03  Angus Leeming  <leeming@lyx.org>
9116
9117         * BufferView_pimpl.h: qualified name is not allowed in member
9118         declaration: WorkArea & Pimpl::workarea() const;
9119
9120         * factory.C: added using std::endl directive.
9121
9122         * text3.C: added using std::find and std::vector directives.
9123
9124 2002-08-29  André Pönitz <poenitz@gmx.net>
9125
9126         * lyxtext.h:
9127         * text2.C: remove unused member number_of_rows
9128
9129         * Makefile.am:
9130         * BufferView2.C: remove file, move contents to...
9131         * BufferView.C: ... here
9132
9133         * BufferView_pimpl.C:
9134         * factory.C: move more inset creation to factory
9135
9136         * vspace.C: avoid direct usage of LyXText, ws changes
9137
9138         * BufferView.[Ch]:
9139                 don't provide direct access to WorkArea, use two simple
9140                 acessors haveSelction() and workHeight() instead
9141
9142
9143 2002-08-29  John Levon  <levon@movementarian.org>
9144
9145         * BufferView_pimpl.C (dispatch): do not continue when
9146           no buffer
9147
9148 2002-08-28  André Pönitz <poenitz@gmx.net>
9149
9150         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9151
9152         * BufferView.h:
9153         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9154
9155 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9156
9157         * buffer.C: increment LYX_FORMAT to 221
9158
9159         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9160         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9161
9162         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9163
9164         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9165
9166 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9167
9168         * factory.C (createInset): use LyXTextClass::floats
9169
9170         * MenuBackend.C (expandFloatListInsert):
9171         (expandFloatInsert):
9172         (expandToc):
9173
9174         * text2.C (setCounter):
9175
9176         * LaTeXFeatures.C (useFloat):
9177         (getFloatDefinitions):
9178
9179         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9180
9181         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9182         floatlist_, with accessor floats().
9183
9184         * FloatList.h: remove global FloatList
9185
9186 2002-08-26  André Pönitz <poenitz@gmx.net>
9187
9188         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9189
9190         * BufferView.h:
9191         * BufferView2.C:
9192         * BufferView_pimpl.C:
9193         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9194
9195 2002-08-25  John Levon  <levon@movementarian.org>
9196
9197         * LyXAction.C: fix margin note description
9198
9199 2002-08-24  John Levon  <levon@movementarian.org>
9200
9201         * buffer.C:
9202         * bufferlist.C:
9203         * bufferview_funcs.C:
9204         * lyxfont.C:
9205         * undo_funcs.C: cleanups
9206
9207         * lyxfunc.C: disable CUT/COPY when no selection
9208
9209 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9210
9211         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9212         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9213
9214         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9215         Add backward compatibility to "mono", "gray" and "no".
9216
9217 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9218
9219         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9220         (and file_format >= 200).
9221
9222 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9223
9224         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9225
9226 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9227
9228         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9229
9230 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9231
9232         * BufferView_pimpl.C:
9233         * LyXAction.C:
9234         * buffer.C:
9235         * commandtags.h:
9236         * lyxfunc.C:
9237         * paragraph.[Ch]:
9238         * text2.C:
9239         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9240         inset and code to make it  work with the paragraph code. The inset
9241         can be anywhere in the paragraph, but will only do the expected
9242         thing in LaTeX if the layout file contains the parameter line
9243                         OptionalArgs    1
9244         (or more generally, a nonzero value) for that layout.
9245
9246 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9247
9248         * paragraph.h: remove the declaration of undefined counters class
9249         function.
9250
9251 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9252
9253         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9254         Dr. Richard Hawkins.
9255
9256 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9257
9258         * paragraph_funcs.h: remove some unneeded includes
9259
9260         * text.C (backspace): pasteParagraph now in global scipe
9261
9262         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9263         (pasteSelection): ditto
9264
9265         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9266         * paragraph_funcs.C (pasteParagraph): ... here
9267
9268 2002-08-20  André Pönitz <poenitz@gmx.net>
9269
9270         * commandtags.h: new LFUNs for swapping/copying table row/colums
9271
9272         * LyXAction.C:
9273         * lyxfunc.C: support for new lfuns
9274
9275 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9276
9277         * tabular.C:
9278         * buffer.[Ch]: remove NO_COMPABILITY stuff
9279
9280 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9281
9282         * boost.C (throw_exception): new file, with helper function for
9283         boost compiled without exceptions.
9284
9285         * paragraph.h:
9286         * lyxlength.C:
9287         * buffer.C:
9288         * ParameterStruct.h:
9289         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9290
9291         * bufferlist.C (emergencyWriteAll): use boost bind
9292
9293         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9294
9295         * text.C: include paragraph_funcs.h
9296         (breakParagraph): breakParagraph is now in global scope
9297
9298         * paragraph_funcs.[Ch]: new files
9299
9300         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9301         global scope
9302
9303         * buffer.C: include paragraph_funcs.h
9304         (insertStringAsLines): breakParagraph is now in global scope
9305
9306         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9307         paragraph_funcs.C
9308
9309         * CutAndPaste.C: include paragraph_funcs.h
9310         (cutSelection): breakParagraphConservative is now in global scope
9311         (pasteSelection): ditto
9312
9313         * buffer.h: declare oprator== and operator!= for
9314         Buffer::inset_iterator
9315
9316         * bufferlist.C (emergencyWrite): don't use fmt(...)
9317
9318         * text3.C: add using std::endl
9319
9320         * BufferView.C (moveCursorUpdate): remove default arg
9321
9322 2002-08-20  André Pönitz <poenitz@gmx.net>
9323
9324         * buffer.[Ch]: move inline functions to .C
9325
9326         * BufferView2.C:
9327         * BufferView_pimpl.C:
9328         * text.C:
9329         * buffer.[Ch]: use improved inset_iterator
9330
9331         * buffer.C:
9332         * paragraph.[Ch]: write one paragraph at a time
9333
9334 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9335
9336         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9337         style if style is not specified.
9338
9339 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9340
9341         * text2.C (setCounter): when searching for right label for a
9342         caption, make sure to recurse to parent insets (so that a caption
9343         in a minipage in a figure float works) (bug #568)
9344
9345 2002-08-20  André Pönitz <poenitz@gmx.net>
9346
9347         * text3.C: new file for LyXText::dispatch() and helpers
9348
9349         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9350
9351         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9352
9353 2002-08-19  André Pönitz <poenitz@gmx.net>
9354
9355         * lyxtext.h:
9356         * text.C: new LyXText::dispatch()
9357
9358         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9359
9360 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9361
9362         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9363
9364         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9365         Hebrew text.
9366
9367 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9368
9369         * Makefile.am: use $(variables) instead of @substitutions@
9370
9371 2002-08-15  André Pönitz <poenitz@gmx.net>
9372
9373         * lyxfunc.C:
9374         * BufferView_pimpl.C: streamlining mathed <-> outer world
9375         interaction
9376
9377         * commandtags.h:
9378         * LyXAction.C: remove unused LFUN_MATH
9379
9380 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9381
9382         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9383
9384 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9385
9386         * paragraph.C (Paragraph): reformat a bit
9387         (cutIntoMinibuffer): use builtin InsetList function instad of
9388         doing it manually.
9389         (getInset): ditto
9390
9391         * buffer.C: include boost/bind.hpp, add using std::for_each
9392         (writeFileAscii): use ParagraphList iterators
9393         (validate): use for_each for validate traversal of paragraphs
9394         (getBibkeyList): use ParagraphList iterators
9395         (resizeInsets): use for_each to resizeInsetsLyXText for all
9396         paragraphs.
9397         (getParFromID): use ParagraphList iterators
9398
9399         * BufferView2.C (lockInset): use paragraph list and iterators
9400
9401 2002-08-14  John Levon  <levon@movementarian.org>
9402
9403         * lyxserver.C: remove spurious xforms include
9404
9405 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9406
9407         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9408
9409 2002-08-13  André Pönitz <poenitz@gmx.net>
9410
9411         * LyXAction.[Ch]:
9412         * lyxfunc.C: further cleaning
9413
9414 2002-08-13  André Pönitz <poenitz@gmx.net>
9415
9416         * funcrequest.h: new constructor
9417
9418         * funcrequest.C: move stuff here from .h
9419
9420         * Makefile.am:
9421         * BufferView_pimpl.C:
9422         * LyXAction.C:
9423         * toc.C:
9424         * lyxfunc.C: subsequent changes
9425
9426         * lyxfunc.h: new view() member function
9427
9428         * lyxfunc.C: subsequent changes
9429
9430 2002-08-13  Angus Leeming  <leeming@lyx.org>
9431
9432         * BufferView2.C:
9433         * BufferView_pimpl.C:
9434         * buffer.C:
9435         * converter.C:
9436         * importer.C:
9437         * lyxfunc.C:
9438         * lyxvc.C:
9439         * toc.C:
9440         * vc-backend.C:
9441         changes due to the changed LyXView interface that now returns references
9442         to member variables not pointers.
9443
9444 2002-08-13  Angus Leeming  <leeming@lyx.org>
9445
9446         * WordLangTuple (word, lang_code): return references to strings,
9447         not strings.
9448
9449         * BufferView.h:
9450         * SpellBase.h:
9451         * lyxtext.h: forward-declare WordLangTuple.
9452
9453         * BufferView2.C:
9454         * ispell.C:
9455         * pspell.C:
9456         * text.C: #include "WordLangTuple.h".
9457
9458         * lyxtext.h:
9459         * text.C: (selectNextWordToSpellcheck): constify return type.
9460
9461 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9462
9463         * buffer.C:
9464         * buffer.h:
9465         * lyxtext.h:
9466         * paragraph.C:
9467         * paragraph_pimpl.h:
9468         * text.C:
9469         * text2.C:
9470         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9471         suggested by Angus.
9472         Made updateCounter always count from start of buffer, and removed
9473         second argument (par).
9474         Reverted floats number display to '#'. Perhaps I'll try again when the
9475         code base is sanitized a bit.
9476
9477 2002-08-12  Angus Leeming  <leeming@lyx.org>
9478
9479         * buffer.[Ch] (getLabelList): constify.
9480
9481 2002-08-07  André Pönitz <poenitz@gmx.net>
9482
9483         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9484
9485         * funcrequest.h: extension to keep mouse (x,y) position
9486
9487 2002-08-12  Juergen Vigna  <jug@sad.it>
9488
9489         * BufferView2.C (insertErrors): forbid undo when inserting error
9490         insets.
9491
9492         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9493
9494 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9495
9496         * ParagraphList.[Ch]: new files
9497
9498         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9499
9500         * BufferView2.C (lockInset): ParagraphList changes
9501         * toc.C: ditto
9502         * text2.C: ditto
9503         * bufferlist.C: ditto
9504         * buffer.h: ditto
9505         * buffer.C: ditto
9506
9507 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9508
9509         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9510         unused class variable counter_,
9511
9512         * paragraph.[Ch] (getFirstCounter): delete unused function
9513
9514         * counters.C: include LAssert.h
9515         (reset): add a new function with no arg, change other version to
9516         not have def. arg and to not allow empty arg.
9517
9518         * text2.C (setCounter): remove empty arg from call to Counters::reset
9519
9520 2002-08-11  John Levon  <levon@movementarian.org>
9521
9522         * Makefile.am: add WordLangTuple.h
9523
9524 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9525
9526         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9527         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9528
9529         * insets/insettext.C: InsetList changes
9530
9531         * graphics/GraphicsSupport.C (operator()): InsetList changes
9532
9533         * toc.C (getTocList): InsetList changes
9534
9535         * paragraph_pimpl.[Ch]: InsetList changes
9536
9537         * paragraph.[Ch]: InsetList changes
9538
9539         * buffer.C (inset_iterator): InsetList changes
9540         (setParagraph): ditto
9541         * buffer.h (inset_iterator): ditto
9542         * iterators.C (operator++): ditto
9543         * iterators.h: ditto
9544
9545         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9546
9547         * InsetList.[Ch]: new files, most InsetList handling moved out of
9548         paragraph.C.
9549
9550         * BufferView2.C (removeAutoInsets): InsetList changes
9551         (lockInset): ditto
9552         (ChangeInsets): ditto
9553
9554 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9555
9556         * paragraph_pimpl.h (empty): new function
9557
9558         * paragraph.[Ch] (empty): new function
9559
9560         * other files: use the new Paragraph::empty function
9561
9562 2002-08-09  John Levon  <levon@movementarian.org>
9563
9564         * lyxtext.h: remove unused refresh_height
9565
9566 2002-08-09  John Levon  <levon@movementarian.org>
9567
9568         * Makefile.am:
9569         * sgml.h:
9570         * sgml.C:
9571         * buffer.C:
9572         * paragraph.h:
9573         * paragraph.C: move sgml char escaping out of paragraph
9574
9575         * paragraph.h:
9576         * paragraph.C: remove id setter
9577
9578         * buffer.C:
9579         * paragraph.C:
9580         * paragraph_pimpl.C: remove dead tex_code_break_column
9581
9582         * bufferview_funcs.C: small cleanup
9583
9584         * lyxfunc.C: remove dead proto
9585
9586         * lyxtext.h: make some stuff private. Remove some dead stuff.
9587
9588         * lyxgluelength.C: make as[LyX]String() readable
9589
9590 2002-08-08  John Levon  <levon@movementarian.org>
9591
9592         * LyXAction.h:
9593         * LyXAction.C:
9594         * MenuBackend.C:
9595         * ToolbarDefaults.C:
9596         * lyxfunc.C:
9597         * lyxrc.C:
9598         * toc.C: lyxaction cleanup
9599
9600 2002-08-08  John Levon  <levon@movementarian.org>
9601
9602         * BufferView2.C: small cleanup
9603
9604         * lyxfind.h:
9605         * lyxfind.C: move unnecessary header into the .C
9606
9607 2002-08-08  John Levon  <levon@movementarian.org>
9608
9609         * funcrequest.h: just tedious nonsense
9610
9611         * lyx_main.h:
9612         * lyx_main.C: cleanups
9613
9614         * buffer.C:
9615         * vspace.C: remove dead header lyx_main.h
9616
9617 2002-08-07  Angus Leeming  <leeming@lyx.org>
9618
9619         * Paragraph.[Ch]:
9620         * paragraph_pimpl.h:
9621         Forward declare class Counters in paragraph.h by moving the ctrs member
9622         variable into Paragraph::Pimpl.
9623         (counters): new method, returning a reference to pimpl_->ctrs.
9624
9625         * text2.C: ensuing changes.
9626
9627 2002-08-07  John Levon  <levon@movementarian.org>
9628
9629         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9630
9631         * BufferView_pimpl.C: announce X selection on double/triple
9632           click
9633
9634         * lyx_main.C: use correct bool in batch dispatch
9635
9636         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9637
9638 2002-08-07  André Pönitz <poenitz@gmx.net>
9639
9640         * funcrequest.h: new class to wrap a kb_action and its argument
9641
9642         * BufferView.[Ch]:
9643         * BufferView_pimpl[Ch]:
9644         * LaTeX.C:
9645         * LyXAction.[Ch]:
9646         * lyxfunc.[Ch]:
9647         * lyxrc.C: subsequent changes
9648
9649
9650 2002-08-07  John Levon  <levon@movementarian.org>
9651
9652         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9653           document options change.
9654
9655 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9656
9657         * counters.[Ch]
9658         * text2.C
9659         * paragraph.[Ch]
9660         * makefile.am: move counters functionality over from
9661         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9662
9663 2002-08-06  John Levon  <levon@movementarian.org>
9664
9665         * WordLangTuple.h: new file for word + language code tuple
9666
9667         * SpellBase.h:
9668         * pspell.h:
9669         * pspell.C:
9670         * ispell.h:
9671         * ispell.C:
9672         * lyxtext.h:
9673         * text.C:
9674         * text2.C:
9675         * BufferView.h:
9676         * BufferView2.C: use WordLangTuple
9677
9678         * layout.h:
9679         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9680
9681 2002-08-06  John Levon  <levon@movementarian.org>
9682
9683         * lyx_main.C: fix cmdline batch handling
9684
9685 2002-08-06  André Pönitz <poenitz@gmx.net>
9686
9687         * lyxrc.C: set default for show_banner to true
9688
9689 2002-08-06  John Levon  <levon@movementarian.org>
9690
9691         * pspell.C: fix a crash, and allow new aspell to work
9692
9693 2002-08-06  John Levon  <levon@movementarian.org>
9694
9695         * lyxfunc.C:
9696         * kbmap.C: small cleanup
9697
9698         * vspace.h:
9699         * vspace.C: add const
9700
9701 2002-08-05  John Levon  <levon@movementarian.org>
9702
9703         * LyXAction.C: back to tabular-insert
9704
9705 2002-08-04  John Levon  <levon@movementarian.org>
9706
9707         * BufferView.h:
9708         * BufferView.C: cosmetic change
9709
9710         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9711
9712         * bufferlist.C:
9713         * buffer.h:
9714         * buffer.C:
9715         * lyxcb.h:
9716         * lyxcb.C:
9717         * lyxserver.C:
9718         * lyxvc.C:
9719         * vc-backend.C:
9720         * BufferView2.C: purge all "Lyx" not "LyX" strings
9721
9722         * lyxcursor.h:
9723         * lyxcursor.C: attempt to add some documentation
9724
9725         * lyxfunc.C:
9726         * commandtags.h:
9727         * LyXAction.C:
9728         * ToolbarDefaults.C:
9729         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9730           merge with LFUN_TABULAR_INSERT
9731
9732         * Makefile.am:
9733         * SpellBase.h:
9734         * ispell.h:
9735         * ispell.C:
9736         * pspell.h:
9737         * pspell.C: split up i/pspell implementations into separate
9738           files, many cleanups
9739
9740         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9741
9742         * text2.C: some cleanup
9743
9744         * lyxfunc.C: don't check for isp_command == "none" any more, it
9745           didn't make any sense
9746
9747 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9748
9749         * counters.[Ch]
9750         * text2.C
9751         * paragraph.[Ch]
9752         * makefile.am: move counters functionality over
9753         from text2.C/paragraph.[Ch] to counters.[Ch], and
9754         make proper C++.
9755 2002-08-02  John Levon  <levon@movementarian.org>
9756
9757         * buffer.C: s/lyxconvert/lyx2lyx/
9758
9759 2002-08-02  Angus Leeming  <leeming@lyx.org>
9760
9761         * lyxlex.C: revert John's change as it breaks reading of the user
9762         preamble.
9763
9764 2002-08-02  Angus Leeming  <leeming@lyx.org>
9765
9766         * importer.C (Import):
9767         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9768         changes due to LyXView::view() now returning a boost::shared_ptr.
9769
9770 2002-08-02  John Levon  <levon@movementarian.org>
9771
9772         * lyxlex.C: small cleanup
9773
9774 2002-08-02  John Levon  <levon@movementarian.org>
9775
9776         * text2.C (status): small cleanup, no logic change
9777
9778 2002-08-01  John Levon  <levon@movementarian.org>
9779
9780         * buffer.h:
9781         * buffer.C (writeFile): don't output alerts, caller
9782           handles this
9783
9784         * bufferlist.C:
9785         * lyx_cb.C: from above
9786
9787         * lyxfunc.C: allow to open non-existent files
9788
9789 2002-07-31  John Levon  <levon@movementarian.org>
9790
9791         * lyxserver.C: don't let incidental errors get
9792           in the way (errno)
9793
9794 2002-07-30  John Levon  <levon@movementarian.org>
9795
9796         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9797
9798 2002-07-30  John Levon  <levon@movementarian.org>
9799
9800         * lyxserver.h:
9801         * lyxserver.C: remove I/O callback too
9802
9803 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9804
9805         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9806         log.
9807
9808 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9809
9810         * many files: strip,frontStrip -> trim,ltrim,rtrim
9811
9812 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9813
9814         * PrinterParams.h: remove extern containsOnly, and include
9815         support/lstrings.h instead.
9816
9817         * LaTeX.C (scanAuxFile): modify because of strip changes
9818         (deplog): ditto
9819         * buffer.C (makeLaTeXFile): ditto
9820         * bufferparams.C (writeFile): ditt
9821         * lyxfont.C (stateText): ditto
9822         * lyxserver.C (read_ready): ditto
9823         * vc-backend.C (scanMaster): ditto
9824
9825         * BufferView_pimpl.h: ws changes
9826
9827         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9828
9829 2002-07-26  André Pönitz <poenitz@gmx.net>
9830
9831         * kb_sequence.C: remove unnedred usings
9832
9833 2002-07-26  Juergen Vigna  <jug@sad.it>
9834
9835         * lyxfind.C (LyXReplace): we have to check better if the returned
9836         text is not of theLockingInset()->getLockingInset().
9837
9838 2002-07-25  Juergen Vigna  <jug@sad.it>
9839
9840         * lyxfind.C (LyXReplace): don't replace if we don't get the
9841         right LyXText.
9842
9843         * undo_funcs.C (createUndo): remove debugging code.
9844
9845 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9846
9847         * buffer.C (parseSingleLyXformat2Token): Use default placement
9848         when reading old floats.
9849
9850         * FloatList.C (FloatList): Change the default placement of figure
9851         and tables to "tbp".
9852
9853 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9854
9855         * MenuBackend.C: using std::max
9856
9857 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9858
9859         * MenuBackend.C (expandToc):
9860         (expandToc2): code moved from xforms menu frontend. It is now
9861         generic and TOCs are transparent to menu frontends.
9862
9863 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9864
9865         * toc.C (getTocList): protect against buf=0
9866
9867         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9868         Menu as first parameter. Now, this calls itself recursively to
9869         expand a whole tree (this will be useful for TOC handling)
9870         (expandFloatInsert): remove 'wide' version of floats
9871
9872         * MenuBackend.h (submenuname): returns the name of the submenu.
9873         (submenu): returns the submenu itself, provided it has been
9874         created by MenuBackend::expand
9875
9876 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9877
9878         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9879         insets which have noFontChange == true. (bug #172)
9880
9881 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9882
9883         * BufferView_pimpl.C: add connection objects and use them...
9884         (Pimpl): here.
9885
9886 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9887
9888         * MenuBackend.C (expandLastfiles):
9889         (expandDocuments):
9890         (expandFormats):
9891         (expandFloatListInsert):
9892         (expandFloatInsert):
9893         (expand): split expand in parts
9894
9895 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9896
9897         * lyx_gui.C: use lyx_gui::exit()
9898
9899 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9900
9901         * LyXAction.C: show the failing pseudo action
9902
9903 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9904
9905         * buffer.C (readFile): Run the lyxconvert script in order to read
9906         old files.
9907
9908 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9909
9910         * LyXAction.C:
9911         * commandtags.h:
9912         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9913
9914 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9915
9916         * LyXAction.C:
9917         * commandtags.h:
9918         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9919
9920 2002-07-22  Herbert Voss  <voss@lyx.org>
9921
9922         * lengthcommon.C:
9923         * lyxlength.[Ch]: add support for the vertical lengths
9924
9925 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9926
9927         * toc.[Ch]: std:: fixes
9928
9929 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9930
9931         * lyxrc.C: do not include lyx_main.h
9932
9933         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9934         for layouts
9935
9936         * lyxrc.C:
9937         * encoding.C:
9938         * bufferlist.C:
9939         * BufferView2.C: include "lyxlex.h"
9940
9941         * tabular.h:
9942         * bufferparams.h: do not #include "lyxlex.h"
9943
9944         * lyxtextclasslist.C (Add): remove method
9945         (classlist): renamed to classlist_
9946
9947         * paragraph_pimpl.C:
9948         * paragraph.C:
9949         * text2.C:
9950         * CutAndPaste.C:
9951         * bufferview_funcs.C:
9952         * bufferlist.C:
9953         * text.C:
9954         * LaTeXFeatures.C:
9955         * buffer.C:
9956         * toc.C (getTocList): use BufferParams::getLyXTextClass
9957
9958         * toc.C (getTocList): use InsetFloat::addToToc
9959
9960         * toc.[Ch]: new files, containing helper functions to handle table
9961         of contents
9962
9963         * lyxfunc.C (dispatch): no need to remove spaces around command
9964         given as a string
9965         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9966         first command of the sequence; it is not very clever, but I do not
9967         have a better idea, actually
9968
9969         * LyXAction.C (LookupFunc): make sure to remove space at the
9970         beginning and end of the command
9971
9972 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9973
9974         * MenuBackend.C (getMenubar): new method: return the menubar of
9975         this menu set
9976         (read): treat differently reading of menu and menubar (in
9977         particular, the menubar has no name now)
9978         (Menu::menubar): remove
9979
9980         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9981         saving is finished
9982
9983 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9984
9985         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9986         a bibitem inset in a RTL paragraph.
9987
9988 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9989
9990         * paragraph_pimpl.C: constify
9991
9992         * BufferView_pimpl.C:
9993         * LaTeX.C:
9994         * lyxfunc.C: fix dispatch in a nicer way
9995
9996 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9997
9998         * lyxfunc.C (dispatch):
9999         * BufferView_pimpl.C:
10000         * BufferView_pimpl.h:
10001         * BufferView.C:
10002         * BufferView.h: rename Dispatch() to dispatch()
10003
10004         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10005
10006         * lyxlayout.C (Read): honor DependsOn tag
10007
10008         * lyxlayout.[Ch] (depends_on): new method
10009
10010         * version.C.in: update lyx_docversion
10011
10012         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10013
10014         * paragraph.C (validate): remove from here...
10015         * paragraph_pimpl.C (validate): ... and move here
10016         (isTextAt): make it const
10017
10018         * buffer.C (getLists): ws cleanup
10019
10020 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10021
10022         * language.C (read): Use iso8859-1 encoding in latex_lang
10023         (this prevents LyX from crashing when using iso10646-1 encoding).
10024
10025 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10026
10027         * text2.C (toggleInset): if cursor is inside an inset, close the
10028         inset and leave cursor _after_ it
10029
10030 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10031
10032         * lyxfunc.C: move minibuffer completion handling out of here
10033
10034 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10035
10036         * BufferView_pimpl.C:
10037         * LaTeX.C: fix dispatch calls
10038
10039 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10040
10041         * text.C (drawChars): Fix Arabic text rendering.
10042
10043 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10044
10045         * LyXAction.C:
10046         * commandtags.h:
10047         * lyxfunc.C: remove message-push/pop
10048
10049         * lyxserver.C:
10050         * lyxfunc.h:
10051         * lyxfunc.C: rationalise some code by removing verboseDispatch
10052           in favour of a bool argument to dispatch()
10053
10054 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10055
10056         * lyx_main.C (init): make sure to read symlinks as absolute paths
10057
10058 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10059
10060         * lyxfunc.h:
10061         * lyxfunc.C: no need for commandshortcut to be a member
10062
10063 2002-07-15  André Pönitz <poenitz@gmx.net>
10064
10065         * converter.C: add support for $$s (scripts from lib/scripts dir)
10066         * lyx_main.C: white space
10067
10068 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10069
10070         * bufferlist.C:
10071         * lyxrc.h:
10072         * lyxrc.C: remove second exit confirmation
10073
10074 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10075
10076         * BufferView.h:
10077         * BufferView.C:
10078         * BufferView2.C:
10079         * BufferView_pimpl.h:
10080         * BufferView_pimpl.C:
10081         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10082
10083 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10084
10085         * MenuBackend.C (expand): add numeric shortcuts to document menu
10086
10087         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10088
10089 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10090
10091         * lyxfont.C (setLyXFamily):
10092         (setLyXSeries):
10093         (setLyXShape):
10094         (setLyXSize):
10095         (setLyXMisc):
10096         (lyxRead):
10097         * debug.C (value):
10098         * buffer.C (asciiParagraph): use ascii_lowercase
10099
10100 2002-07-15  Mike Fabian  <mfabian@suse.de>
10101
10102         * lyxlex_pimpl.C (search_kw):
10103         * lyxlex.C (getLongString):
10104         * converter.h (operator<):
10105         * converter.C (operator<):
10106         * buffer.C (parseSingleLyXformat2Token):
10107         (asciiParagraph):
10108         * ToolbarDefaults.C (read):
10109         * MenuBackend.C (checkShortcuts):
10110         (read):
10111         * LColor.C (getFromGUIName):
10112         (getFromLyXName): use the compare_ascii_no_case instead of
10113         compare_no_case, because in turkish, 'i' is not the lowercase
10114         version of 'I', and thus turkish locale breaks parsing of tags.
10115
10116 2002-07-16  Angus Leeming  <leeming@lyx.org>
10117
10118         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10119         now takes a Buffer const & argument.
10120
10121 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10122
10123         * BufferView.C (resize): check there's a buffer to resize
10124
10125 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10126
10127         * lyxfunc.C: remove dead code
10128
10129         * lyxserver.h:
10130         * lyxserver.C: use lyx_guii::set_read_callback
10131
10132 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10133
10134         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10135         an inset in a RTL paragraph.
10136
10137 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * lyxfunc.C: repaint after a font size update
10140
10141 2002-07-15  André Pönitz <poenitz@gmx.net>
10142
10143         * lyxlength.C: inBP should be able to return negative values
10144
10145 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * lyxfunc.C: use lyx_gui::update_fonts()
10148
10149 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * lyxfunc.C: use lyx_gui::update_color()
10152
10153 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10154
10155         * bufferlist.C:
10156         * lyxfunc.h:
10157         * lyxfunc.C:
10158         * lyxrc.h:
10159         * lyxrc.C: remove file->new asks for name option, and let
10160           buffer-new take an argument
10161
10162 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10163
10164         * BufferView_pimpl.C: remove unneeded extra repaint()
10165
10166 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10167
10168         * LyXAction.C: allow command-sequence with NoBuffer
10169
10170         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10171
10172 2002-07-10  Angus Leeming  <leeming@lyx.org>
10173
10174         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10175
10176 2002-07-09  Angus Leeming  <leeming@lyx.org>
10177
10178         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10179
10180 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10181
10182         * lengthcommon.h: whitespace
10183
10184         * lyxfunc.C: update scrollbar after goto paragraph
10185
10186         * lyxtext.h: factor out page break drawing, and fix it so
10187           page break/added space paints as selected nicely
10188
10189 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10190
10191         * BufferView_pimpl.C: add FIXMEs, clean up a little
10192
10193 2002-07-09  André Pönitz <poenitz@gmx.net>
10194
10195         * lyxfont.[Ch]: support for wasy symbols
10196
10197 2002-07-08  André Pönitz <poenitz@gmx.net>
10198
10199         * BufferView_pimpl.C: apply John's patch for #93.
10200
10201 2002-07-05  Angus Leeming  <leeming@lyx.org>
10202
10203         * BufferView_pimpl.C (buffer): generate previews if desired.
10204
10205         * LColor.h: add "preview" to the color enum.
10206
10207         * LColor.C (LColor): add a corresponding entry to the items array.
10208
10209         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10210         with this buffer.
10211
10212 2002-07-05  Angus Leeming  <leeming@lyx.org>
10213
10214         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10215         The body of the code is now in the method that is passed an ostream &
10216         rather than a file name.
10217         Pass an additional only_preamble parameter, useful for the forthcoming
10218         preview stuff.
10219
10220 2002-07-03  André Pönitz <poenitz@gmx.net>
10221
10222         * lyxfunc.C: simplify getStatus() a bit for math stuff
10223
10224 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10225
10226         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10227
10228 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10229
10230         * text.C (changeRegionCase): do not change case of all the
10231         document when region ends at paragraph end (bug #461)
10232
10233 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10234
10235         * paragraph.C (startTeXParParams):
10236         (endTeXParParams): add \protect when necessary
10237
10238 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10239
10240         * BufferView_pimpl.C (workAreaExpose): remove warning
10241
10242 2002-06-27  Angus Leeming  <leeming@lyx.org>
10243
10244         * Makefile.am: add lyxlayout_ptr_fwd.h.
10245
10246 2002-06-26  André Pönitz <poenitz@gmx.net>
10247
10248         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10249
10250 2002-06-25  Angus Leeming  <leeming@lyx.org>
10251
10252         * lyxfunc.C (dispatch): Comment out the call to
10253         grfx::GCache::changeDisplay. The method no longer exists now that the
10254         pixmap generation part of the graphics loader has been moved into
10255         InsetGraphics.
10256
10257 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10258
10259         * text2.C: layout as layout
10260
10261         * text.C: layout as layout
10262
10263         * tabular.C (OldFormatRead): layout as layout
10264
10265         * paragraph_pimpl.C (TeXDeeper): layout as layout
10266         (realizeFont): layout as layout
10267
10268         * paragraph.C (writeFile): layout as layout
10269         (validate): layout as layout
10270         (getFont): layout as layout
10271         (getLabelFont): layout as layout
10272         (getLayoutFont): layout as layout
10273         (breakParagraph): layout as layout
10274         (stripLeadingSpaces): layout as layout
10275         (getEndLabel): layout as layout
10276         (getMaxDepthAfter): layout as layout
10277         (applyLayout): layout as layout
10278         (TeXOnePar): layout as layout
10279         (simpleTeXOnePar): layout as layout
10280         (TeXEnvironment): layout as layout
10281         (layout): layout as layout
10282         (layout): layout as layout
10283
10284         * lyxtextclass.C (compare_name): new functor to work with
10285         shared_ptr, layout as layout
10286         (Read): layout as layout
10287         (hasLayout): layout as layout
10288         (operator): layout as layout
10289         (delete_layout): layout as layout
10290         (defaultLayout): layout as layout
10291
10292         * lyxlayout_ptr_fwd.h: new file
10293
10294         * lyxlayout.C (Read): layout as layout
10295
10296         * lyx_cb.C (MenuInsertLabel): layout as layout
10297
10298         * bufferlist.C (newFile): layout as layout
10299
10300         * buffer.C (readLyXformat2): layout as layout
10301         (parseSingleLyXformat2Token): layout as layout
10302         (insertStringAsLines): layout as layout
10303         (asciiParagraph): layout as layout
10304         (latexParagraphs): layout as layout
10305         (makeLinuxDocFile): layout as layout
10306         (simpleLinuxDocOnePar): layout as layout
10307         (makeDocBookFile): layout as layout
10308         (simpleDocBookOnePar): layout as layout
10309         (getLists): layout as layout
10310
10311         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10312
10313         * CutAndPaste.C (cutSelection): layout as layout
10314         (pasteSelection): layout as layout
10315         (SwitchLayoutsBetweenClasses): layout as layout
10316
10317         * BufferView_pimpl.C (Dispatch): layout as layout
10318         (smartQuote): layout as layout
10319
10320         * BufferView2.C (unlockInset): layout as layout
10321
10322 2002-06-24  André Pönitz <poenitz@gmx.net>
10323
10324         * lyxfunc.C: fix #487
10325
10326 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10327
10328         * lyxrc.h:
10329         * lyxrc.C:
10330         * lyxfunc.C: remove display_shortcuts, show_banner
10331
10332 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10333
10334         * Buffer_pimpl.C: oops, update on resize
10335
10336 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10337
10338         * buffer.C:
10339         * converter.C:
10340         * exporter.C:
10341         * lyxfunc.C:
10342         * BufferView.h:
10343         * BufferView.C: use repaint()
10344
10345         * BufferView_pimpl.h:
10346         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10347           as it's a clearer description. Remove superfluous
10348           redraws.
10349
10350 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10351
10352         * text.C: fix bug 488. Not ideal, but getting
10353           getWord() to work properly for the insets that
10354           matter is more difficult ...
10355
10356 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10357
10358         * BufferView_pimpl.C:
10359         * LyXAction.C:
10360         * commandtags.h:
10361         * lyxfunc.C: remove the six million index lyxfuncs to just
10362           one, and DTRT (bug 458)
10363
10364 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10365
10366         * BufferView.h:
10367         * BufferView.C:
10368         * BufferView_pimpl.h:
10369         * BufferView_pimpl.C: clean up resize() stuff,
10370           and unnecessary updateScreen()s
10371
10372 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10373
10374         * BufferView.h:
10375         * BufferView.C:
10376         * BufferView_pimpl.h:
10377         * BufferView_pimpl.C:
10378         * lyxfind.h:
10379         * lyxfind.C:
10380         * minibuffer.C: remove focus management of workarea,
10381           not needed. Use screen's greyOut()
10382
10383 2002-06-17  Herbert Voss  <voss@lyx.org>
10384
10385         * converter.C: (convert) do not post a message, when converting
10386         fails, let the calling function decide what to do in this case
10387
10388 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10389
10390         * lyxfunc.C: tidy up a little
10391
10392 2002-06-16    <alstrup@diku.dk>
10393
10394         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10395         Got rid of FORMS_H_LOCATION include. Now we are
10396         GUII.
10397
10398 2002-06-15  LyX Development team  <lyx@rilke>
10399
10400         * buffer.[Ch] (sgmlOpenTag):
10401         (sgmlCloseTag): Added support for avoiding pernicious mixed
10402         content. Return number of lines written.
10403
10404         (makeLinuxDocFile):
10405         (makeDocBookFile): Fixed calls to sgml*Tag.
10406         Simple white space clean.
10407
10408         (simpleDocBookOnePar): Simple white space clean.
10409
10410         * tabular.[Ch] (docBook): Renamed to docbook and got another
10411         argument to related with the pernicious mixed content.
10412
10413         (docbookRow): Fixed calls for docbook inset method.
10414
10415 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10416
10417         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10418         so it's X11 independent.
10419
10420         * kb*.[Ch]: ditto.
10421
10422         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10423
10424 2002-06-15  Lyx Development team  <lyx@electronia>
10425
10426         * intl.h: Renamed getTrans to getTransManager.
10427
10428 2002-06-14  Angus Leeming  <leeming@lyx.org>
10429
10430         * Makefile.am: nuke forgotten stl_string_fwd.h.
10431
10432 2002-06-12  Angus Leeming  <leeming@lyx.org>
10433
10434         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10435
10436 2002-06-13  Angus Leeming  <leeming@lyx.org>
10437
10438         * LaTeX.C:
10439         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10440
10441 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10442
10443         * kbmap.C (getiso): add support for cyrillic and greek
10444
10445 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * BufferView.h:
10448         * BufferView.C:
10449         * BufferView_pimpl.h:
10450         * BufferView_pimpl.C: move bogus scrolling logic
10451           to xforms
10452
10453 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * lyxfunc.C:
10456         * BufferView_pimpl.C: view->resize() change
10457
10458 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10459
10460         * BufferView_pimpl.C: topCursorVisible
10461           prototype change
10462
10463 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10464
10465         * Makefile.am:
10466         * lyx_gui.h:
10467         * lyx_gui.C: move to frontends/
10468
10469         * main.C:
10470         * lyx_main.h:
10471         * lyx_main.C: changes from above
10472
10473 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * intl.C:
10476         * intl.h:
10477         * kbmap.C:
10478         * kbsequence.C:
10479         * lyx_cb.C:
10480         * lyx_main.C: minor tidy
10481
10482 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10483
10484         * BufferView_pimpl.h:
10485         * BufferView_pimpl.C:
10486         * BufferView.h:
10487         * BufferView.C: make painter() const,
10488           remove dead code
10489
10490         * BufferView2.C: use screen() accessor
10491
10492         * lyx_main.h:
10493         * lyx_main.C: some minor cleanup
10494
10495 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10496
10497         * BufferView_pimpl.h:
10498         * BufferView_pimpl.C: remove enter/leaveView,
10499           use workHeight()
10500
10501 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10502
10503         * BufferView.h:
10504         * BufferView.C:
10505         * BufferView2.C:
10506         * BufferView_pimpl.h:
10507         * BufferView_pimpl.C: only construct screen once,
10508           rename
10509
10510         * lyxrc.C: remove pointless comment
10511
10512 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10513
10514         * BufferView.h:
10515         * BufferView.C: remove active() and belowMouse()
10516
10517         * BufferView_pimpl.h:
10518         * BufferView_pimpl.C: use workarea() not workarea_,
10519           and make it use a scoped_ptr instead
10520
10521 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10522
10523         * lyx_gui.C: add debug message on BadWindow
10524
10525 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10526
10527         * sp_spell.C: fdopen is not part of the C++ standard.
10528
10529         * paragraph.C (InsetIterator): use >= instead of ==
10530
10531 2002-06-07  Angus Leeming  <leeming@lyx.org>
10532
10533         Fixes needed to compile with Compaq cxx 6.5.
10534         * BufferView_pimpl.C:
10535         * DepTable.C:
10536         * buffer.C:
10537         * converter.C:
10538         * encoding.C:
10539         * lyx_gui.C:
10540         * lyx_main.C:
10541         * lyxtextclasslist.C:
10542         * minibuffer.C:
10543         * sp_spell.C:
10544         * tabular_funcs.C:
10545         * vc-backend.C:
10546         all c-library variables have been moved into namespace std. Wrap
10547         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10548
10549         * lyxlength.C:
10550         * tabular-old.C:
10551         * tabular.C:
10552         Add a using std::abs declaration.
10553
10554         * kbmap.h (modifier_pair):
10555         * paragraph.h (InsetTable, InsetList):
10556         * lyxfont.h (FontBits):
10557         type definition made public.
10558
10559         * bufferlist.C (emergencyWriteAll): the compiler complains that
10560         there is more than one possible lyx::class_fun template to choose from.
10561         I re-named the void specialisation as lyx::void_class_fun.
10562
10563         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10564
10565         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10566         the compiler is is unable to find tostr in write_attribute.
10567
10568 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * buffer.C (sgmlError): hide #warning
10571
10572 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10573
10574         * xtl/*: get rid of xtl, which is not in use anyway
10575
10576         * LyXAction.C (init):
10577         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10578         were unimplemented xtl experimentation
10579
10580 2002-06-04  André Pönitz <poenitz@gmx.net>
10581
10582         * lyxfunc.C: disable array operation on simple formulae
10583
10584 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10585
10586         * converter.C: constify a bit
10587
10588 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * lyx_gui.C: check xforms version correctly
10591
10592 2002-04-30  Herbert Voss  <voss@lyx.org>
10593
10594         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10595         "keep" option
10596
10597 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10598
10599         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10600           attempt to register it with a VCS)
10601
10602 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10603
10604         * lyx_main.C (init): honor variables LYX_DIR_13x and
10605         LYX_USERDIR_13x
10606
10607 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10608
10609         * buffer.h:
10610         * buffer.C:
10611         * lyx_main.C: fix a crash on bad command line,
10612           and give a useful exit status on error
10613
10614         * lyxfunc.C (doImport): allow -i lyx to work
10615
10616 2002-03-30  André Pönitz <poenitz@gmx.net>
10617
10618         * lyxfunc.C: mathed font changes
10619
10620 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10621
10622         * LaTeX.C:
10623         * importer.h:
10624         * importer.C:
10625         * lyx_sty.h:
10626         * lyx_sty.C:
10627         * lyxlex.C:
10628         * lyxrow.h:
10629         * lyxtext.h:
10630         * paragraph.h:
10631         * paragraph.C:
10632         * texrow.h:
10633         * texrow.C:
10634         * text.C:
10635         * trans_mgr.h: srcdocs, and some minor cleanups
10636
10637 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10638
10639         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10640         call getFont all the time)
10641
10642 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10643
10644         * switch from SigC signals to boost::signals
10645
10646 2002-05-29  André Pönitz <poenitz@gmx.net>
10647
10648         * paragraph_pimpl.C (getChar): don't call size() too often...
10649
10650 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10651
10652         * paragraph_pimpl.C (insertChar): do not try to update tables when
10653         appending (pos == size())
10654
10655         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10656         in order to reduce drastically the number of comparisons needed to
10657         parse a large document
10658
10659 2002-05-29  André Pönitz <poenitz@gmx.net>
10660
10661         * text.C:
10662         * text2.C:
10663         * lyxtextclass.C:
10664         * sp_pspell.h:
10665         * textclasslist.[Ch]:
10666         * sp_ispell.h: whitespace change
10667
10668 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10669
10670         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10671         lyxaction directly now.
10672
10673 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10674
10675         * trans.C:
10676         * lyxfont.C:
10677         * lyxvc.C: remove unused headers
10678
10679 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10680
10681         * Makefile.am:
10682         * buffer.h:
10683         * undostack.h:
10684         * undostack.C:
10685         * undo_funcs.h:
10686         * undo_funcs.C: some cleanups. Use shared_ptr
10687           and a template for the undo stacks.
10688
10689 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10690
10691         * BufferView_pimpl.h:
10692         * BufferView_pimpl.C:
10693         * kbmap.h:
10694         * kbmap.C:
10695         * kbsequence.h:
10696         * kbsequence.C:
10697         * lyxfunc.h:
10698         * lyxfunc.C:
10699         * text2.C: use key_state/mouse_state
10700
10701 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10702
10703         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10704         and LSubstring
10705
10706         * chset.C: change include order
10707         (loadFile): use boost regex and get rid of LRegex and LSubstring
10708
10709         * Makefile.am (BOOST_LIBS): new variable
10710         (lyx_LDADD): use it
10711
10712         * LaTeX.C: change include order.
10713         (scanAuxFile): use boost regex and get rid of LRegex and
10714         LSubstring
10715         (deplog): ditto
10716
10717 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10718
10719         * ColorHandler.h:
10720         * ColorHandler.C:
10721         * FontInfo.h:
10722         * FontInfo.C: moved to frontends/xforms/
10723
10724         * FontLoader.h:
10725         * FontLoader.C: moved into frontends for GUIIzation
10726
10727         * Makefile.am:
10728         * lyx_gui.C:
10729         * lyxfont.C:
10730         * lyxfunc.C: changes from above
10731
10732 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10733
10734         * LColor.C: remove spurious X include
10735
10736         * BufferView_pimpl.C:
10737         * Makefile.am:
10738         * font.h:
10739         * font.C:
10740         * text.C:
10741         * text2.C: move font metrics to frontends/
10742
10743 2002-05-24  Juergen Vigna  <jug@sad.it>
10744
10745         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10746         setting the undo_cursor.
10747
10748         * ParagraphParameters.h: include local includes first.
10749
10750 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * BufferView_pimpl.C:
10753         * BufferView_pimpl.h:
10754         * Makefile.am:
10755         * WorkArea.h:
10756         * WorkArea.C:
10757         * screen.C: move WorkArea into frontends/
10758
10759         * lyxscreen.h:
10760         * screen.C:
10761         * text.C:
10762         * BufferView.C:
10763         * BufferView2.C: move LyXScreen into frontends/
10764
10765         * lyxlookup.h:
10766         * lyxlookup.C:
10767         * lyx_gui.C: move lyxlookup into frontends/xforms/
10768
10769 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10770
10771         * BufferView2.C:
10772         * BufferView_pimpl.C:
10773         * FontLoader.C:
10774         * LyXView.h:
10775         * LyXView.C:
10776         * Makefile.am:
10777         * WorkArea.C:
10778         * XFormsView.h:
10779         * XFormsView.C:
10780         * buffer.C:
10781         * bufferlist.C:
10782         * bufferview_funcs.C:
10783         * converter.C:
10784         * importer.C:
10785         * lyx_cb.C:
10786         * lyx_gui.C:
10787         * lyx_main.C:
10788         * lyx_find.C:
10789         * lyxfunc.C:
10790         * lyxvc.C:
10791         * minibuffer.C:
10792         * text.C:
10793         * text2.C:
10794         * trans.C:
10795         * vc-backend.C: move LyX/XFormsView into frontends/
10796
10797 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10798
10799         * Makefile.am:
10800         * PainterBase.C:
10801         * PainterBase.h:
10802         * Painter.C:
10803         * Painter.h:
10804         * WorkArea.C:
10805         * WorkArea.h:
10806         * screen.C:
10807         * tabular.C:
10808         * text.C:
10809         * text2.C: move Painter to frontends/
10810
10811 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10812
10813         * buffer.C: comment out some some code that depend upon lyx_format
10814         < 220
10815
10816         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10817         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10818
10819         * buffer.h (NO_COMPABILITY): turn off compability
10820
10821         * ColorHandler.C: include scoped_array.hpp
10822
10823         * font.C: Use more specific smart_ptr header.
10824         * Painter.C: ditto
10825         * gettext.C: ditto
10826         * ShareContainer.h: ditto
10827         * lyx_main.h: ditto
10828         * kbmap.h: ditto
10829         * FontInfo.h: ditto
10830         * BufferView_pimpl.h: ditto
10831         * ColorHandler.h: ditto
10832
10833         * kbmap.C (defkey): change call to shared_ptr::reset
10834
10835 2002-05-21  Juergen Vigna  <jug@sad.it>
10836
10837         * buffer.C (insertErtContents): fix to insert ert asis if it is
10838         non empty. Skip it completely if it contains only whitespaces.
10839
10840 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10841
10842         * BufferView_pimpl.C:
10843         * BufferView2.C: clear selection on paste (bug 393)
10844
10845 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10846
10847         * DepTable.C: include ctime
10848
10849 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10850
10851         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10852
10853 2002-05-14  Juergen Vigna  <jug@sad.it>
10854
10855         * text.C (breakParagraph): fixed function to honor the keepempty
10856         layout in the right maner and also to permit the right breaking
10857         algorithm on empty or non empyt keepempty paragraphs.
10858
10859         * paragraph.C (breakParagraph): we have to check also if the par
10860         is really empty (!size()) for isempty otherwise we do the wrong
10861         paragraph break.
10862
10863 2002-05-10  Juergen Vigna  <jug@sad.it>
10864
10865         * buffer.[Ch] : The following are only changes to the ert
10866         compatibility read reading old LaTeX layout and font stuff and
10867         convert it to ERTInsets.
10868
10869         * buffer.h: added isErtInset().
10870
10871         * buffer.C (struct ErtComp): add a fromlayout bool to check
10872         if we're inside a LaTeX layout.
10873         (isErtInset): new helper function.
10874         (insertErtContents): look for other ert insets before this one
10875         and insert the contents there, so that we don't have subsequent
10876         ERT insets with nothing between them. This way we create only one
10877         inset with multiple paragraphs. Also check if we don't insert only
10878         spaces ' ' as they are ignored anyway afterwards in the .tex file
10879         so if we have only spaces we will ignore this latex part in the
10880         new file.
10881         (parseSingleLyXformat2Token \\layout): better compatibility when
10882         reading layout-latex stuff.
10883         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10884         language tag.
10885         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10886         stuff after reading the inset only get the information back from
10887         the stack.
10888
10889 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10890
10891         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10892
10893         * LaTeXFeatures.C (getBabelOptions): New method.
10894
10895 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10896
10897         * BufferView_pimpl.C (Dispatch): work around missing argument for
10898         'layout'
10899
10900 2002-05-08  Juergen Vigna  <jug@sad.it>
10901
10902         * text.C (leftMargin): handle paragraph leftindent.
10903
10904         * paragraph.C (writeFile): write the new \\leftindent tag.
10905         (validate): handle leftindent code.
10906         (TeXEnvironment): handle paragraphleftindent code again.
10907
10908         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10909
10910         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10911         for paragrap_extra indent code and new token \\leftindent.
10912         (latexParagraphs): handle the leftindent as environment.
10913
10914         * ParameterStruct.h: added leftindent support.
10915
10916         * ParagraphParameters.C (leftIndent): added support functions for
10917         the paragraph left indent.
10918
10919         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10920         more appropriate.
10921
10922 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10923
10924         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10925         inside insetERT.
10926
10927         * text.C (computeBidiTables): No bidi in insetERT.
10928
10929         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10930         in RTL documents.
10931
10932 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10933
10934         * version.C.in: pre 5
10935
10936 2002-05-02  José Matos  <jamatos@fep.up.pt>
10937         * buffer.C (makeDocBookFile): white space changes, add newline to
10938         command styles.
10939         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10940
10941         * tabular.C (docBook): fix typo.
10942
10943 2002-05-03  Juergen Vigna  <jug@sad.it>
10944
10945         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10946         change in LyXText as we can not be sure it was not freed.
10947         (drawOneRow): remove unused code.
10948
10949         * text.C (drawInset): redo the calculation of the need_break_row as
10950         it could have a row which was already freed.
10951         (draw): look at the return value of drawInset and return false if
10952         it also returned false.
10953         (paintRowText): look at the return value of draw and return false if
10954         it also returned false.
10955
10956         * lyxtext.h: added bool return type to drawInset() and draw() so that
10957         if we have a change in the row so that the rowbreak has to be redone
10958         we abort drawing as it will be called again.
10959
10960 2002-05-02  Juergen Vigna  <jug@sad.it>
10961
10962         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10963         a change in the maintext also if we're inside an inset.
10964         (Dispatch): set the cursor again after a break line and after the
10965         screen has been updated as it could be we're in a different row.
10966
10967         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10968         to set the cursor behind the pargraph with > size().
10969         (setCursor): check also for the same paragraph when checking where
10970         to put the cursor if we have a NFR inset.
10971
10972         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10973         parts of layout read further up as it still was in the wrong
10974         position.
10975
10976 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10977
10978         * screen.C (drawFromTo): change sine fullRebreak always return
10979         true.
10980
10981         * buffer.C (parseSingleLyXformat2Token): reindent some
10982
10983         * BufferView_pimpl.C (update): change since fullRebreak always
10984         return true.
10985         (Dispatch): git rid of the last hardcoded "Standard"s.
10986
10987 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10988
10989         * text2.[Ch] (fullRebreak): make it return void now that we always
10990         returned true.
10991
10992 2002-04-30  Juergen Vigna  <jug@sad.it>
10993
10994         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10995         ert compatibility check for "latex" layout.
10996
10997 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10998
10999         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11000         minipages: use col% instead of p%, and also use the current font.
11001         (makeLaTeXFile): Fix use babel condition.
11002         (parseSingleLyXformat2Token): Correct font when reading old floats.
11003
11004 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11005
11006         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11007         inserting list of floats.
11008
11009 2002-04-25  Herbert Voss  <voss@lyx.org>
11010
11011         * MenuBackend.C (expand): don't add the graphics extensions to the
11012         export menu
11013
11014 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11015
11016         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11017         non-existing layout, do not complain if it was the default layout
11018         of the original class (bug #342)
11019
11020 2002-04-24  Juergen Vigna  <jug@sad.it>
11021
11022         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11023         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11024
11025 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11026
11027         * buffer.C (getBibkeyList): If using \bibliography, return the
11028         option field with the reference itself. Enables us to provide natbib
11029         support when using \bibliography.
11030
11031 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11032
11033         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11034
11035         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11036         natbib is provided by the LaTeX class.
11037
11038 2002-04-23  Juergen Vigna  <jug@sad.it>
11039
11040         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11041         Wakeup functions.
11042
11043         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11044
11045 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11046
11047         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11048
11049         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11050         ensuremath around textordmasculine, textordfeminine and
11051         textdegree.
11052
11053 2002-04-19  Juergen Vigna  <jug@sad.it>
11054
11055         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11056         reinitializing the buffer otherwise row-dimensions may be wrong.
11057         (update): reset also the selection cursors if they do exits otherwise
11058         their x/y positions may be wrong.
11059
11060         * text2.C (cursorDown): don't enter the inset if we came from a row
11061         above and are one row over the inset.
11062
11063         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11064         really leaving an inset.
11065
11066 2002-04-18  Juergen Vigna  <jug@sad.it>
11067
11068         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11069         of the selected paragraph does not have the selected layout also if
11070         the last one had!
11071
11072         * text2.C (setLayout): fixed bug which did not change last selected
11073         paragraph.
11074
11075         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11076         changed the read and substituted \\end_float with \\end_inset!
11077
11078         * BufferView_pimpl.C (cursorPrevious):
11079         (cursorNext): fixed to make it work with rows heigher than the work
11080         area without moving the cursor only the draw of the row.
11081         (workAreaMotionNotify): fix jumping over high rows.
11082
11083 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11084
11085         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11086         Ressler.
11087
11088 2002-04-16  Juergen Vigna  <jug@sad.it>
11089
11090         * text2.C (setCursor): set also the irow().
11091         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11092         (cursorUp):
11093         (cursorDown): support for locking an inset if the x_fix value goes
11094         inside it. That way I can transverse insets too with cursor up/down.
11095
11096         * lyxrow.h: added irow helper function same as other (i) functions.
11097
11098         * BufferView_pimpl.C (cursorPrevious):
11099         (cursorNext): fixed for insets!
11100
11101 2002-04-15  Juergen Vigna  <jug@sad.it>
11102
11103         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11104         position otherwise it is wrong in some cases.
11105
11106         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11107         inside the inset before the call.
11108
11109 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11110
11111         * buffer.[Ch] (getBibkeyList): make it const.
11112
11113 2002-04-12  Juergen Vigna  <jug@sad.it>
11114
11115         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11116
11117         * text2.C (getCursorX): new helper function
11118         (setCursor): compute also ix_
11119         (setCursorFromCoordinates): set also ix.
11120
11121         * lyxcursor.h: added ix_ and helper functions.
11122
11123         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11124
11125         * buffer.C (insertStringAsLines): dont break paragraph if the this
11126         paragraph is inside an inset which does not permit it!
11127
11128         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11129         also with no chars on this paragraph.
11130         (paintRowText): only paint stuff if it's inside the workarea!
11131
11132         * paragraph.C (breakParagraph): honor keepempty flag and break the
11133         paragraph always below not above.
11134
11135         * BufferView2.C (unlockInset): update the paragraph layout on inset
11136         unlock as we changed paragraph in such a case.
11137
11138         * lyxfind.C (LyXFind): clear the former selection if not found!
11139
11140         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11141         again called in insertChar().
11142
11143         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11144         an inset which uses the whole row!
11145         (rightMargin): ditto.
11146         (insertChar): force a rebreak if we inserted an inset!
11147
11148 2002-03-28  Herbert Voss  <voss@lyx.org>
11149
11150         * lyxlength.[Ch]: add inBP() to get the right PS-point
11151         units (BigPoint). With inPixels we have rounding errors
11152
11153 2002-04-11  Juergen Vigna  <jug@sad.it>
11154
11155         * text2.C (setCursorFromCoordinates): set iy to the right value.
11156         (setCursor): add check if row->previous exists!
11157
11158         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11159         an old float_type as this was the case in the old code!
11160
11161         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11162
11163         * BufferView2.C (showLockedInsetCursor): use iy
11164         (fitLockedInsetCursor): ditto
11165
11166         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11167         locked insets as there we have the right value now.
11168
11169         * lyxcursor.C: added iy_ variable and iy functions to set to the
11170         baseline of cursor-y of the locked inset.
11171
11172         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11173         (setCursor): fixed for insets which need a full row.
11174
11175         * text.C (rowLastPrintable): don't ignore the last space when before
11176         an inset which needs a full row.
11177         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11178         as last character of a row when before a inset which needs a full row.
11179
11180 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11181
11182         * version.C.in: update date
11183
11184         * text2.C (fullRebreak): try to always return true and see what
11185         happens...
11186
11187 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11188
11189         * MenuBackend.C (expand): use Floating::listName
11190
11191         * FloatList.C (FloatList): add listName argument to the built-in
11192         floats
11193
11194         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11195         text associated with the float.
11196
11197 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11198
11199         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11200
11201 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11202
11203         * ShareContainer.h: add a couple of missing typenames.
11204
11205 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11206
11207         * lyxrc.C (getDescription): use _() correctly rather than N_().
11208
11209 2002-03-28  Herbert Voss  <voss@lyx.org>
11210
11211         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11212         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11213
11214 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11215
11216         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11217         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11218
11219 2002-03-29  Juergen Vigna  <jug@sad.it>
11220
11221         * lyxfunc.C (dispatch): add a missing fitCursor call.
11222
11223         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11224         it was scrolled by a cursor move, so return the bool status.
11225
11226         * BufferView.C (fitCursor): return the bool flag also to the outside
11227         world as this is needed.
11228
11229         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11230
11231         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11232         call the edit() as it is not needed (and wrong) IMO.
11233         (workAreaButtonPress): set the screen_first variable before evt.
11234         unlock the inset as this may change screen_first and then we have
11235         a wrong y position for the click!
11236
11237 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11238
11239         * MenuBackend.C (expand): another translation that I missed
11240
11241 2002-03-28  Juergen Vigna  <jug@sad.it>
11242
11243         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11244
11245         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11246
11247 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11248
11249         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11250
11251         * MenuBackend.C (expand): fix export/view/update when there is no
11252         document open.
11253
11254 2002-03-27  Herbert Voss  <voss@lyx.org>
11255
11256         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11257         and text%
11258
11259 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11260
11261         * bufferview_funcs.C (currentState): only show paragraph number
11262         for is DEVEL_VERSION is set.
11263
11264         * lyxfunc.C (dispatch): put warning in INFO channel
11265
11266         * MenuBackend.C (expand): translate the name of floats
11267
11268         * FloatList.C (FloatList): mark the float names for translation
11269
11270         * converter.C (convert): use LibScriptSearch
11271
11272 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11273
11274         * MenuBackend.C (defaults): fix default menu (we might as well get
11275         rid of it...)
11276
11277 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11278
11279         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11280         directory.
11281
11282 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11283
11284         * lyxvc.C: reorder includes.
11285
11286 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11289           properly
11290
11291 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11292
11293         * CutAndPaste.C: change layouts earlier on paste
11294           to avoid crashing when calling getFont()
11295
11296 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11297
11298         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11299         irritating #error.
11300
11301 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11302
11303         * WorkArea.C: remove 'Pending' debug message.
11304
11305         * most files: ws cleanup
11306
11307         * buffer.[Ch]: ws changes
11308
11309         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11310
11311 2002-03-21  Juergen Vigna  <jug@sad.it>
11312
11313         * tabular.C (SetMultiColumn): collapse also the contents of the
11314         cells and set the last border right. Added a Buffer const * param.
11315
11316 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11317
11318         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11319         linking or not.
11320
11321 2002-03-19  Juergen Vigna  <jug@sad.it>
11322
11323         * text2.C (clearSelection): reset also xsel_cache.
11324
11325         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11326         where it needs to be called (John tells us to do so too :)
11327         (selectionLost): reset sel_cache.
11328
11329         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11330
11331 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11332
11333         * text2.C (setCursorIntern): put debuging code in INSETS channel
11334
11335 2002-03-19  André Pönitz <poenitz@gmx.net>
11336
11337         * lyxfunc.C: tiny whitespace change
11338
11339 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11340
11341         * ToolbarDefaults.C (init):
11342         * LyXAction.C (init):
11343         * commandtags.h:
11344         * BufferView_pimpl.C (Dispatch):
11345         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11346
11347 2002-03-19  Allan Rae  <rae@lyx.org>
11348
11349         * exporter.C (Export): removeAutoInsets before doing anything else.
11350         While I've just introduced a dependency on BufferView this really is
11351         the best place to clean the buffer otherwise you need to cleanup in
11352         a dozen places before calling export or cleanup in a dozen functions
11353         that export calls.
11354
11355         * converter.C (runLaTeX):
11356         (scanLog): Better handling of removeAutoInsets and screen updates.
11357
11358         * lyxfunc.C (dispatch): small whitespace changes
11359
11360 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11361
11362         * WorkArea.C (C_WorkAreaEvent): return a value.
11363         (event_cb): return 1 if we handled the event, 0 otherwise.
11364
11365         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11366
11367 2002-03-18  Juergen Vigna  <jug@sad.it>
11368
11369         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11370         (GetAdditionalWidth): ditto.
11371         (RightLine): ditto.
11372         (LeftLine): ditto.
11373
11374         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11375         inset if we're there actually (probably not used right now but this
11376         is the direction to go for unifying code).
11377         (paste): disable code to clear the selection.
11378
11379         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11380         inside an InsetText and move the check further up as it is in the
11381         wrong place.
11382
11383         * text2.C (pasteSelection): set a selection over the pasted text.
11384
11385 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11386
11387         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11388         and libgraphics to build on Cygwin.
11389
11390 2002-03-15  Juergen Vigna  <jug@sad.it>
11391
11392         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11393         inserting an Inset into the paragraph. I know this is not the best
11394         fix but we already use current_view in CutAndPaste so we will remove
11395         all of it's using at the same time.
11396
11397         * buffer.C (sgmlError): deactivated function till it is rewritten in
11398         the right mode, now it can create problems.
11399
11400         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11401         before accessing it.
11402
11403 2002-03-14  Juergen Vigna  <jug@sad.it>
11404
11405         * undo_funcs.C (textHandleUndo): do the right thing when updating
11406         the inset after the undo/redo.
11407
11408         * text2.C (setCursor): just some testcode for #44 not ready yet.
11409
11410         * undo_funcs.C (textHandleUndo): set the next() and previous()
11411         pointers of the paragraph to 0 before deleting otherwise we have
11412         problems with the Paragraph::[destructor].
11413
11414         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11415         on a paragraph insertion.
11416
11417 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11418
11419         * buffer.C (asciiParagraph): use += operator for char append to
11420         string.
11421
11422         * paragraph.C (getFontSettings): compare >= not just >
11423         (highestFontInRange): ditto
11424         (setFont): ditto
11425
11426 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * paragraph.C: change several algorithm to be more appripriate for
11429         the problem domain. This is lookip in FontList and in the InsetList.
11430
11431 2002-03-13  André Pönitz <poenitz@gmx.net>
11432
11433         * commandtags.h:
11434         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11435
11436 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11437
11438         * commandtags.h:
11439         * LyXAction.C:
11440         * lyxfunc.C:
11441         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11442
11443 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11444
11445         * Painter.C (display): anon helper function, adjust code for this
11446         change.
11447         (pixmap): remove function.
11448
11449         * Painter.h: remove private display variable.
11450
11451         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11452
11453 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11454
11455         * WorkArea.[Ch]: remove figinset_canvas cruft.
11456
11457 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11458
11459         * lyxtextclass.C (operator): add one item cache optimization.
11460
11461         * bufferlist.h: doxy changes
11462
11463         * bufferlist.C: ws changes
11464
11465         * DepTable.[Ch] (ext_exist): place const in the right spot.
11466
11467         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11468         call resizeInsets.
11469         (workAreaExpose): call resizeInsets when the with BufferView changes.
11470         (Dispatch): adjust for protectedBlank removal
11471         (specialChar): call updateInset if the insert went ok.
11472
11473         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11474         specialChar instead.
11475
11476         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11477
11478         * BufferView.h: doxy change
11479
11480         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11481
11482         * lyxtextclass.C (operator[]): remove non-const version
11483         (defaultLayout): remove non-const version
11484
11485 2002-03-12  Juergen Vigna  <jug@sad.it>
11486
11487         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11488         did resize the LyXText too.
11489
11490         * buffer.C (readLyXformat2): set layout information on newly allocated
11491         paragraphs.
11492
11493         * tabular.C (OldFormatRead): set layout information on the paragraph.
11494
11495 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11496
11497         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11498
11499 2002-03-11  Juergen Vigna  <jug@sad.it>
11500
11501         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11502         plainly wrong.
11503         (resizeCurrentBuffer): force also the insets to resize themselfes.
11504         (moveCursorUpdate): fixed up for InsetText.
11505
11506 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11507
11508         * commandtags.h:
11509         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11510         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11511         value of Dialogs::tooltipsEnabled().
11512         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11513
11514 2002-03-08  Juergen Vigna  <jug@sad.it>
11515
11516         * BufferView_pimpl.C (updateInset): update inset inside inset also
11517         if it isn't inside theLockingInset().
11518
11519 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11520
11521         * buffer.C (asciiParagraph): redo some of the word and line length
11522         handling.
11523         (getLists): look for Caption instead of caption.
11524
11525 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11526
11527         * buffer.C (Buffer): initialize niceFile to true
11528         (makeLaTeXFile):
11529         (makeLinuxDocFile):
11530         (makeDocBookFile): make sure niceFile is true on exit
11531
11532 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11533
11534         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11535
11536 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11537
11538         * LyXSendto.C: remove.
11539         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11540         * lyx_gui.C: remove now-redundant comment.
11541         * ColorHandler.h: remove forward declaration of class WorkArea.
11542         * lyxfunc.C: remove #include "WorkArea.h".
11543
11544 2002-03-07  Juergen Vigna  <jug@sad.it>
11545
11546         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11547         got moved away with the DEPM and also set the inset_owner always
11548         right which before could have been omitted.
11549
11550 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11551
11552         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11553         wanted layout is not found.
11554
11555 2002-03-07  Juergen Vigna  <jug@sad.it>
11556
11557         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11558
11559 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11560
11561         * paragraph.C (breakParagraph): use default layout not layout of
11562         prev paragraph.
11563         (Paragraph): clear ParagraphParameters.
11564
11565 2002-03-06  Juergen Vigna  <jug@sad.it>
11566
11567         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11568         otherwise it would not be a valid lenght. Fixed a special case in
11569         the minipage compatibility read where we end the document with a
11570         minipage.
11571
11572         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11573         was set as it could be 0 for InsetTexts first entry.
11574
11575 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11576
11577         * paragraph.C (writeFile): if layout is empty write out
11578         defaultLayoutName().
11579
11580         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11581         file without named layout we set layout to defaultLayoutName().
11582
11583 2002-03-06  Juergen Vigna  <jug@sad.it>
11584
11585         * CutAndPaste.C (copySelection): set layout for new paragraph.
11586
11587         * text.C (prepareToPrint): leave ERT inset left aligned
11588         (leftMargin): don't indent paragraphs inside ERT insets
11589
11590 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11591
11592         * paragraph.C (breakParagraph): dont call clear do the work manually
11593
11594         * paragraph.[Ch] (clear): remove function
11595
11596 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11597
11598         * paragraph.C (Paragraph): dont call clear, the work has already
11599         been done.
11600
11601         * lyxtextclass.C (operator): assert if n is empty
11602
11603         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11604         work manually instead.
11605
11606 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11607
11608         * BufferView_pimpl.C: protect selectionLost against text == 0
11609
11610 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11611
11612         * text.C (breakParagraph): fix a setting layout to '0' problem.
11613
11614 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11615
11616         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11617         final location of file, for the included files, and graphics.
11618
11619 2002-03-05  Juergen Vigna  <jug@sad.it>
11620
11621         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11622
11623 2002-03-04  Juergen Vigna  <jug@sad.it>
11624
11625         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11626
11627         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11628         last column of multicolumn cells.
11629         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11630
11631 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11632
11633         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11634         file if it doesn't go to a temporary file.
11635
11636         * buffer.C (sgmlOpenTag):
11637         (sgmlCloseTag):  remove extra newline insertion.
11638
11639 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * text.C (getRowNearY): comment out debug msg
11642
11643 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11644
11645         * text2.C: first -> first_y
11646
11647         * text.C (getRowNearY): add some attemts at a possible
11648         optimization, not working.
11649
11650         * tabular.[Ch]: add BufferParams to several function so that newly
11651         created paragraph can be initialized to he default layotu for the
11652         buffers textclass.
11653
11654         * tabular-old.C (ReadOld): add buf->params to call of Init
11655
11656         * screen.C: rename text->first to text->first_y
11657
11658         * paragraph.C (breakParagraph): always set layout in the broken
11659         paragraph
11660
11661         * lyxtextclass.C (Read): remove lowercase
11662         (hasLayout): ditto
11663         (operator): ditto
11664         (delete_layout): ditto
11665
11666         * lyxtext.h: rename first -> first_y
11667
11668         * lyxlayout.C (Read): remove lowercase
11669         (name): ditto
11670         (setName): ditto
11671         (obsoleted_by): ditto
11672
11673         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11674
11675         * buffer.C (insertErtContents): add params are to InsetERT
11676         (parseSingleLyXformat2Token): add code to check if a paragraphs
11677         layout really exist.
11678         (parseSingleLyXformat2Token): add params to several inset
11679         constructors
11680         (asciiParagraph): remove lowercase, do the layout comparisons with
11681         no_case
11682
11683         * BufferView_pimpl.C (cursorNext): first -> first_y
11684         (resizeCurrentBuffer): first -> first_y
11685         (updateScrollbar): first -> first_y
11686         (scrollCB): first -> first_y
11687         (workAreaMotionNotify): first -> first_y
11688         (workAreaButtonPress): first -> first_y
11689         (checkInsetHit): first -> first_y
11690         (cursorPrevious): first -> first_y
11691         (cursorNext): first -> first_y
11692         (Dispatch): add buffer_->params to severl inset contructors
11693
11694 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11695
11696         * lyxlayout.C (Read): remove some debug info that I forgot.
11697
11698         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11699         clean up the code slightly.
11700         (makeLinuxDocFile): ditto
11701         (makeDocBookFile): ditto
11702
11703         * text2.C: layout as string
11704
11705         * text.C: layout as string
11706
11707         * paragraph_pimpl.C: layout as string
11708
11709         * paragraph.[Ch]: layout as string
11710
11711         * lyxtextclasslist.[Ch]: layout as string
11712
11713         * lyxtextclass.[Ch]: layout as string
11714
11715         * lyxtext.h: layout as string
11716
11717         * lyxlayout.[Ch]: layout as string
11718
11719         * lyx_cb.C: layout as string
11720
11721         * bufferview_funcs.C: layout as string
11722
11723         * bufferparams.C: layout as string
11724
11725         * buffer.C: layout as string
11726
11727         * LyXView.[Ch]: layout as string
11728
11729         * LaTeXFeatures.[Ch]: layout as string
11730
11731         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11732
11733         * BufferView_pimpl.C: change current_layout to string, remove
11734         lyx::layout_type.
11735         (Dispatch):
11736         (smartQuote):
11737         (insertInset):
11738         (workAreaButtonRelease): layout as string
11739
11740         * BufferView2.C (unlockInset): adjust
11741
11742         * vspace.C (asLatexCommand): use an explict temp variable.
11743
11744 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11745
11746         * Makefile.am: use FRONTEND_*
11747
11748 2002-03-01  Juergen Vigna  <jug@sad.it>
11749
11750         * tabular.C (SetWidthOfMulticolCell): changed to something better
11751         I hope but still work in progress.
11752         (recalculateMulticolumnsOfColumn): renamed function from
11753         recalculateMulticolCells as it is more appropriate now.
11754         (SetWidthOfCell): calculate multicols better.
11755
11756 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11757
11758         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11759
11760         * lyxfunc.C (processKeySym): print sequence also if it is
11761         `deleted' (complete)
11762
11763         * kbsequence.C (print): print sequence even if it is deleted
11764         (complete would be a better word, actually).
11765
11766         * lyxfunc.C (dispatch): print complete options after a prefix key
11767
11768         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11769
11770 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11771
11772         * text2.C (setCharFont): eliminate setCharFont code duplication.
11773
11774 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11775
11776         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11777         LFUN_TABULAR_FEATURE (bug #177)
11778
11779 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11780
11781         * Makefile.am: remove figure.h
11782
11783 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11784
11785         * Bufferview_pimpl.C:
11786         * CutAndPasteC:
11787         * LaTeX.C:
11788         * LyXSendto.C:
11789         * buffer.C:
11790         * bufferlist.C:
11791         * converter.C:
11792         * language.C:
11793         * lyxfunc.C:
11794         * lyxvc.C:
11795         * paragraph.C:
11796         * text.C:
11797         * text2.C: remove #include "lyx_gui_misc.h".
11798
11799         * LaTeX.C: added #include <cstdio>
11800
11801 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11802
11803         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11804         that the paragraph following this one can have.
11805
11806         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11807
11808         * vspace.C (asLatexCommand): fix bogus gcc warning
11809
11810         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11811
11812 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11813
11814         * text2.C (setLayout): get rid of redundant code
11815
11816 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11817
11818         * text2.C (incDepth): make sure depth cannot be increased beyond
11819         reasonable values.
11820
11821 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11822
11823         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11824         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11825
11826         * PainterBase.h (image):
11827         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11828         a LyXImage const *.
11829
11830 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11831
11832         * BufferView.C:
11833         * BufferView.h:
11834         * BufferView_pimpl.C:
11835         * BufferView_pimpl.h:
11836         * LaTeXFeatures.C:
11837         * LyXAction.C:
11838         * LyXView.C:
11839         * Makefile.am:
11840         * UpdateList.h:
11841         * UpdateList.C:
11842         * buffer.C:
11843         * figure.h:
11844         * figureForm.C:
11845         * figureForm.h:
11846         * figure_form.C:
11847         * figure_form.h:
11848         * lyx_cb.C:
11849         * lyx_gui.C:
11850         * lyx_gui_misc.C:
11851         * lyxfunc.C:
11852         * sp_base.h:
11853         * sp_ispell.h:
11854         * sp_pspell.h:
11855         * sp_spell.C: remove fig inset, and the crap house of
11856           cards that follows it
11857
11858 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * Makefile.am:
11861         * lyxserver.C:
11862         * os2_defines.h:
11863         * os2_errortable.h:
11864         * nt_defines.h: move .h into support/
11865
11866         * vms_defines.h: remove
11867
11868         * WorkArea.C: add space in debug output
11869
11870         * text2.C:
11871         * paragraph.C:
11872         * buffer.C: add WITH_WARNINGS
11873
11874         * vc-backend.h:
11875         * vc-backend.C:
11876         * bufferlist.C: s/retrive/retrieve/, add docs
11877
11878         * vspace.h:
11879         * vspace.C:
11880         * kbmap.h:
11881         * lyxlength.h:
11882         * lyxgluelength.h:
11883         * length_common.h:
11884         * chset.h:
11885         * chset.C: add docs
11886
11887         * lyxgui.C: add ID to X error handler
11888
11889         * lyxtestclass.c: fix typo
11890
11891 2002-02-26  Juergen Vigna  <jug@sad.it>
11892
11893         * tabular_funcs.C (write_attribute): changed so that some default
11894         attributes are not written at all.
11895         (getTokenValue): set default values before trying to read the
11896         value so we have the return value always set as default if we don't
11897         find the token we search for.
11898
11899         * tabular.C (Write): write bools as bools not as strings!
11900
11901 2002-02-22  Juergen Vigna  <jug@sad.it>
11902
11903         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11904         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11905
11906         * text.C (leftMargin): don't add an indent for paragraphs inside
11907         tabular cells (fix #208).
11908
11909 2002-02-21  José Matos  <jamatos@fep.up.pt>
11910
11911         * tabular.C (docBook): fixed support for long tables.
11912
11913 2002-02-20  Juergen Vigna  <jug@sad.it>
11914
11915         * text2.C (getFont): get the drawing font of the Inset if this
11916         paragraph is inside an inset (only important for InsetERT for now).
11917
11918         * buffer.C (insertErtContents): use new lanugage params in ERT
11919         constructor.
11920
11921         * CutAndPaste.C: commenting out seemingly uneeded code.
11922
11923 2002-02-19  Allan Rae  <rae@lyx.org>
11924
11925         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11926         Iterators might be simple to use but they also get invalidated.
11927         (removeAutoInsets): renamed saved cursor tracking variables and added
11928         some comments to clarify what everything does.
11929
11930 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11931
11932         * Chktex.C:
11933         * LaTeX.C:
11934         * LyXSendto.C:
11935         * converter.C:
11936         * lyx_cb.C:
11937         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11938         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11939
11940         * lyxfunc.C:
11941         * vc-backend.h: remove #include "support/syscall.h"
11942
11943         * LaTeX.C:
11944         * LyXSendto.C:
11945         * converter.C: rearrange #includes in Lars' approved fashion.
11946
11947         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11948         forward declare class Timeout in the header file.
11949
11950         * XFormsView.C: changes due to the above.
11951
11952         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11953         similar to LyXView.
11954
11955         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11956         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11957
11958 2002-02-18  José Matos  <jamatos@fep.up.pt>
11959
11960         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11961         insets contents.
11962
11963 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11964
11965         * a lot of small ws changes
11966         * add a lot of using std::XXX
11967         * use std construcs some places where approp.
11968         * use some exisint stuff from lyxfunctional where approp.
11969         * Make file changes to use partial linking (lets test this now...)
11970
11971 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11972
11973         * Chktex.C:
11974         * buffer.C:
11975         remove #include "support/syscontr.h" as it's redundant. Always has been.
11976
11977         * Chktex.C:
11978         * LaTeX.C:
11979         * LyXSendto.C:
11980         * converter.C:
11981         * lyx_cb.C:
11982         * vc-backend.C:
11983         change Systemcalls::System to Systemcalls::Wait and
11984         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11985         No change of functionality, just reflects the stripped down Systemcalls
11986         class.
11987
11988 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11989
11990         * debug.[Ch]: add a GRAPHICS type to the enum.
11991
11992 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11993
11994         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11995
11996         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11997         there is an inset.
11998
11999 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12000
12001         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12002         match the changes below.
12003
12004         * text2.C (toggleInset): if there is not editable inset at cursor
12005         position, try to see if cursor is _inside_ a collapsable inset
12006         and close it.
12007
12008 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12009
12010         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12011         document menu has a nice checkbox
12012
12013 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12014
12015         * lyxlength.C (asLatexString): change PW to output as percent of
12016         \textwidth.
12017
12018         * lengthcommon.C: change '%' to 't%'
12019
12020         * lyxfunc.C (dispatch): a few comments from Martin
12021
12022 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12023
12024         * WorkArea.h:
12025         * WorkArea.C:
12026         * BufferView_pimpl.h:
12027         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12028           the X selection.
12029
12030 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12031
12032         * vspace.C (inPixels): fix compiler warning
12033
12034 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12035
12036         * lyxfunc.C (getStatus): fix status message for disabled commands.
12037
12038 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12039
12040         * BufferView_pimpl.C: fix crash on close buffer
12041         during selection (#227)
12042
12043 2002-01-27  Herbert Voss  <voss@lyx.org>
12044
12045         * buffer.C: link old Figure to new graphic inset
12046
12047 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12048
12049         * FontLoader.C (getFontinfo): Change the latex font names in order
12050         to match the names of type1inst.
12051
12052 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12053
12054         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12055
12056         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12057         (extchanged): ditto
12058         (ext_exist): ditto
12059         (remove_files_with_extension): ditto
12060         (remove_file): ditto
12061         (write): ditto
12062
12063         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12064         document is smaller than the work area height. Do not initialize
12065         static variables to 0.
12066
12067 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12068
12069         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12070
12071         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12072         LFUN_LAYOUT_PARAGRAPHS.
12073
12074         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12075         tabular. It is possible to provide a possible cell, which will
12076         typically be the actcell from the corresponding insettabular
12077
12078         * lyxfunc.C (getStatus): small cleanup; disable
12079         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12080         true
12081
12082 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12083
12084         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12085
12086         * paragraph.C (startTeXParParams):
12087         (endTeXParParams): new methods. The LaTeX code to
12088         start/end paragraph formatting
12089         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12090         empty (fixes bug #200)
12091
12092         * vspace.C (inPixels): adapt to the change below
12093         (inPixels): [later] more cleanups (remove unused variables)
12094
12095         * lyxlength.C (inPixels): change to use a width and a height as
12096         parameter.
12097
12098 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12099
12100         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12101         Replaced with \paperwidth
12102
12103         * DepTable.C (insert): add std:: qualifier
12104
12105 2002-01-18  Allan Rae  <rae@lyx.org>
12106
12107         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12108         updated also?
12109
12110         * text.C (drawInset): Turned out I didn't know enough about how
12111         rebreaking worked.  This fixes most of the redraw problems.  I see
12112         an occasional cursor trail when a line is broken now and the cursor
12113         placement can seem out by a few pixels also after a rebreak.
12114
12115 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12116
12117         * buffer.C (parseSingleLyXformat2Token): update because minipage
12118         width is now a LyXLength
12119
12120         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12121
12122         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12123         math insets
12124
12125 2002-01-17  Juergen Vigna  <jug@sad.it>
12126
12127         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12128
12129         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12130         is set correctly and the inset is updated correctly.
12131
12132 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12133
12134         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12135         the beginning of the loop.
12136
12137 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * lyxrc.C: improve help for use_scalable_fonts
12140
12141 2002-01-17  Allan Rae  <rae@lyx.org>
12142
12143         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12144
12145 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12146
12147         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12148         make sure to set their inset_owner to the right value (bug #171)
12149
12150 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12151
12152         * DepTable.h
12153         * DepTable.C: Implement mtime checking to reduce time spent doing
12154         CRCs.
12155
12156 2002-01-16  Juergen Vigna  <jug@sad.it>
12157
12158         * tabular.C (GetAdditionalHeight): one of error fixed.
12159
12160         * lyxrc.C (output): small fix in writing use_pspell.
12161
12162 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12163
12164         * sp_base.h: #include LString.h
12165
12166 2002-01-16  Allan Rae  <rae@lyx.org>
12167
12168         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12169         Can someone check this please?
12170
12171         * text.C (drawInset): It was possible that p.row would be removed by
12172         breakAgainOneRow upsetting a few other settings.  There may be another
12173         small tweak possible by setting need_break_row = 0 when p.row has been
12174         removed but I don't know enough about the logic here.
12175
12176 2002-01-15  Allan Rae  <rae@lyx.org>
12177
12178         * text.C (insertChar): removed conditional truism.
12179
12180         * BufferView2.C (removeAutoInsets): More tweaks.
12181         cur_par_prev could be a stray pointer.  Check for trailing empty line
12182         in case last line was cur_par and only had an error inset on it.
12183
12184 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12187         absolute
12188
12189         * vc-backend.C (most methods):
12190         * exporter.C (Export):
12191         * converter.C (convert):
12192         (runLaTeX):
12193         * LyXSendto.C (SendtoApplyCB):
12194         * lyxfunc.C (dispatch):
12195         (menuNew):
12196         (open):
12197         (doImport):
12198         * lyx_cb.C (AutoSave):
12199         (InsertAsciiFile):
12200         * BufferView_pimpl.C (MenuInsertLyXFile):
12201         * buffer.C (runChktex): use Buffer::filePath().
12202
12203         * buffer.h: rename filename to filename_; rename filepath to
12204         filepath_ and make it private
12205         (filePath): new method
12206
12207         * buffer.C (writeFile): use fileName()
12208         (getLatexName):
12209
12210         * lyx_main.C (init): fix starting  of LyX when the binary is a
12211         link from so,ewhere else.
12212
12213         * minibuffer.C: include <cctype> for isprint
12214
12215 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12216
12217         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12218         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12219         name clash with InsetCollapsable's width function.
12220
12221 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12222
12223         * lastfiles.C: include <iterator>
12224
12225 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12226
12227         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12228         std::count.
12229
12230         * buffer.C (makeLaTeXFile): ditto.
12231         Also make loop operation more transparent.
12232
12233 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12234
12235         * ToolbarDefaults.C: remove trailing comma closing namespace.
12236
12237         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12238
12239         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12240         as in WorkArea.
12241
12242         * trans.C (Load): comment out unused variable, allowed.
12243
12244 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12245
12246         * minibuffer.[Ch] (append_char): new method to recieve input from the
12247         drop-down completion browser. If a key was pressed, then recieve this
12248         char and append it to the existing string.
12249         (peek_event): modify the positioning data passed to the completion
12250         browser so that it can be placed above the minibuffer rather than below.
12251 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * LyXAction.C (init): alloe error-next for readonly documents.
12254
12255         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12256         count.
12257
12258 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12259
12260         * bufferlist.C (readFile): create the buffer _after_ checking that
12261         the file exists.
12262
12263         * lyxfunc.C (verboseDispatch): fix handling of arguments
12264
12265         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12266
12267         * lyxrc.C: use string::erase() instead of initializing to "".
12268
12269
12270 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12271
12272         * BufferView_pimpl.h:
12273         * BufferView_pimpl.C:
12274         * WorkArea.h:
12275         * WorkArea.C:
12276         * text2.C: tell X when we have made a selection for copying
12277
12278 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12279
12280         * BufferView_pimpl.C (MenuInsertLyXFile):
12281         * lyxfunc.C (menuNew):
12282         (open):
12283         (doImport): add shortcuts to directory buttons
12284
12285         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12286         open a float)
12287
12288         * lyxfunc.C (setStatusMessage):
12289         (getStatusMessage): new methods
12290         (getStatus):use setStatusMessage instead of setErrorMessage
12291         (dispatch): when function is disabled, set error message here
12292         [instead of in getStatus previously]
12293
12294         * BufferView_pimpl.C (workAreaButtonRelease): update
12295         toolbar/menubar here too.
12296
12297 2002-01-13  Allan Rae  <rae@lyx.org>
12298
12299         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12300         Now seems indestructible.  Remaining task is to audit all other
12301         code affected by deleteEmptyParagraphMechanism.  One small quirk
12302         left is that an empty document with an error in the preamble can
12303         be made to report an error but no error box appears.  I don't know
12304         where it goes.
12305         (removeAutoInsets): Improved comments.
12306
12307 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12308
12309         * Thesaurus.h:
12310         * Thesaurus.C: update for Aiksaurus 0.14
12311
12312 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12313
12314         * text2.C (firstParagraph): removed member function, all uses
12315         replaces with ownerParagraph
12316         (redoParagraphs): here
12317         (updateInset): here
12318         (toggleAppendix): here
12319         * BufferView2.C (insertErrors): here
12320         (setCursorFromRow): here
12321
12322 2002-01-13  Allan Rae  <rae@lyx.org>
12323
12324         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12325         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12326         There is still a way to segfault this although you may have to do this
12327         multiple times: Have an InsetERT with an unknown command in it.
12328         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12329         <down-arrow>, <Enter> again, View->DVI, BANG!
12330
12331         * text2.C (setCursor):
12332         (deleteEmptyParagraphMechanism):
12333         * lyxtext.h (setCursor):
12334         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12335         Making use of the return value may help fix other bugs.
12336
12337 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12338
12339         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12340
12341         * LyXView.C (updateMenubar): call MenuBar::update here
12342         (updateToolbar): but not here
12343         (showState): do not update toolbar/menubar
12344
12345         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12346         should need to care about that.
12347
12348         * lyxfunc.C (verboseDispatch): simplify a bit
12349         (getStatus): have a version which takes a pseudoaction, and
12350         another which requires a (kb_action,string).
12351
12352         * LyXAction.C (retrieveActionArg): make it work also when action
12353         is not a pseudo-action.
12354         (getActionName): simplify a bit
12355         (helpText):
12356
12357 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12358
12359         * lyxfunc.C (verboseDispatch): new families of methods with
12360         several ways to specify a command and a bool to indicate whether
12361         the command name and shortcut should be displayed in minibuffer
12362         (eventually, we could extend that to a finer bitmask like
12363         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12364         (dispatch): the pristine dispatch command which just, well,
12365         dispatchs! Note it still sets its result to minibuffer; I'm not
12366         sure we want that.
12367
12368         * lyxfunc.h: remove setHintMessage
12369
12370         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12371
12372 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12373
12374         * BufferView_pimpl.C (specialChar): delete new inset if we have
12375         not been able to insert it.
12376
12377         * kbmap.C: revert to using int instead of kb_action, since all we
12378         are dealing with is pseudo-actions.
12379
12380         * LyXAction.C (searchActionArg): change to return int instead of
12381         kb_action, since the result is a pseudoaction.
12382
12383 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12384
12385         * buffer.C (insertErtContents): Fix (partially) the font bug.
12386
12387 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12388
12389         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12390         as the other one is broken on my machine!
12391
12392 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12393
12394         * commandtags.h:
12395         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12396
12397 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12398
12399         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12400         reflect their actual use. Provide compatibility code for older lyxrc
12401         files.
12402
12403         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12404         FL_NORMAL_STYLE.
12405         change names of popup font variables in line with the changes to lyxrc.C
12406
12407 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12408
12409         * buffer.C (asciiParagraph): avoid outputing a word twice after
12410         an inset.
12411
12412         * lyxrc.C (getDescription): document that document_path and
12413         template_path can be empty.
12414
12415 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12416
12417         * LaTeXFeatures.C (getMacros):
12418         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12419
12420         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12421
12422         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12423         getPackages.
12424         (getPackages): rename feature "floats" to "float". Use an array to
12425         iterate over 'simple' features (i.e. just a \usepackage). Add
12426         handling of "amsmath" (renamed from "amsstyle").
12427
12428 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12429
12430         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12431         features list.
12432
12433 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12434
12435         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12436         FuncStaus::FuncStatus & FuncStaus::some_method().
12437
12438 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12439
12440         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12441         of the func_satus stuff. Edited and massaged in various ways by
12442         JMarc.
12443
12444         * lyxfunc.C (getStatus): use FuncStatus
12445
12446 2002-01-08  Juergen Vigna  <jug@sad.it>
12447
12448         * text.C (nextBreakPoint): use function Inset::isChar().
12449
12450         * paragraph.C (TeXOnePar): use function
12451         Inset::forceDefaultParagraphs.
12452
12453         * buffer.C (latexParagraphs): use function
12454         Inset::forceDefaultParagraphs.
12455
12456 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12457
12458         * lyx_gui.C (init): set the style of the menu popups to
12459         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12460
12461 2002-01-07  Juergen Vigna  <jug@sad.it>
12462
12463         * text.C (setHeightOfRow): small fix
12464         (prepareToPrint): don't look at alignment if we don't have the place
12465         for doing it.
12466
12467 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12468
12469         * box.C: New file. Move the Box methods and functions out of box.h,
12470         following Lars' suggestion.
12471
12472 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12473
12474         * box.h: #include "support/LOstream.h", needed for inlined function.
12475
12476         * lyxtextclass.C:
12477         * lyxtextclasslist.C: added some using std declarations.
12478
12479 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12480
12481         * box.h: make signed dimensions to allow insets wider than
12482           the screen (bug #162)
12483
12484         * BufferView_pimpl.C: add some insetHit debug
12485
12486 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12487
12488         * vc-backend.C: add FIXME
12489
12490 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12491
12492         * lyxfunc.C (getStatus): enable code for showing math font status
12493         in toolbar/menu.
12494
12495 2002-01-07  Juergen Vigna  <jug@sad.it>
12496
12497         * text.C (nextBreakPoint): removed debug output not needed anymore.
12498
12499 2002-01-06  Juergen Vigna  <jug@sad.it>
12500
12501         * text.C (nextBreakPoint): fixed up this function we had this bug
12502         since ever but now hopefully we break row better.
12503         (insertChar): we have to check if an inset is the next char as it
12504         could now happen that a large inset is causing a break.
12505
12506 2002-01-05  Juergen Vigna  <jug@sad.it>
12507
12508         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12509         if it doesn't like to be drawed.
12510
12511 2002-01-04  Juergen Vigna  <jug@sad.it>
12512
12513         * BufferView2.C (lockInset): forgot to set a cursor.
12514
12515         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12516
12517 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12518
12519         * FormMathsPanel.C:
12520         * FormMathsPanel.h
12521         * MathsSymbols.C:
12522         * form_maths_panel.C:
12523         * form_maths_panel.h:
12524         * form_maths_panel.fd: implemented sub- and super- buttons in math
12525         panel.
12526
12527         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12528         (or ^ space) to be used as in TeX (req'd by André).
12529
12530         * lyxfunc.C: Allow ^ and _ again to be used both as
12531         super/subscript (mathed) and as themselves (in text).
12532
12533 2002-01-03  Allan Rae  <rae@lyx.org>
12534
12535         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12536         "LyX" or the filename of the current buffer if it has one.  This is a
12537         modified form of John Levon's patch.
12538
12539         * XFormsView.C (setWindowTitle): also set icon title.
12540
12541         * LyXView.h (setWindowTitle): signature changed.
12542         * XFormsView.h (setWindowTitle): ditto.
12543
12544 2002-01-02  Juergen Vigna  <jug@sad.it>
12545
12546         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12547
12548 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12549
12550         * screen.C (topCursorVisible): introduce a temp var for
12551         text->cursor.row(), handle the case where this row is null. (kindo
12552         hachish)
12553
12554         * text2.C (setCursor): add a couple of asserts.
12555
12556         * paragraph.h (inset_iterator): add -> operator
12557
12558         * paragraph.[Ch] (autoDeleteInsets): remove member function
12559
12560         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12561         cursor pos correctly and handle inset deletion by itself.
12562         (insertErrors): move iterator declaration out of for expression
12563
12564         * lyxtextclass.C: add <algorithm>
12565
12566         * Makefile.am: added the new files to sources, removed layout.C
12567
12568         * layout.C: removed file
12569
12570         * layout.h: remove LYX_DUMMY_LAYOUT
12571
12572         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12573         layout.
12574
12575         * lyxlayout.[Ch]:
12576         * lyxtextclass.[Ch]:
12577         * lyxtextclasslist.[Ch]: new files
12578
12579         * include order changes to a lot of files, also changes because of
12580         the six new files.
12581
12582 2001-12-27  Juergen Vigna  <jug@sad.it>
12583
12584         * buffer.C (asciiParagraph): more fixes.
12585
12586         * tabular.C (ascii): make ascii export support export of only the
12587         data separated by a column-delimiter.
12588         (ascii): better support for ascii export.
12589
12590         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12591
12592 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12593
12594         * tabular_funcs.C: use a "using std::getline" instead of the
12595         previous fix from Angus (necessary for cxx + lyxstring)
12596
12597 2001-12-24  Juergen Vigna  <jug@sad.it>
12598
12599         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12600
12601         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12602         problems. First check a minipage also if we have some ert-contents
12603         (not only on par->size(), second set the right depth of the paragraph
12604         on the relink to the root-paragraph-list!
12605
12606         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12607         which then did not anymore update the main paragraphs on undo/redo!
12608
12609 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12610
12611         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12612         code. Support all font-changing funcs (even those which are not in
12613         menu currently). Support for reporting font settings in
12614         mathed (disabled until Andre provides a function on mathed's side).
12615
12616         * func_status.h (toggle): small helper function to set toggle
12617         state on a flag.
12618
12619 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12620
12621         * tabular_funcs.C: getline -> std::getline
12622
12623 2001-12-21  Juergen Vigna  <jug@sad.it>
12624
12625         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12626         accessed and could be 0 (I couldn't generate this but it seems
12627         Michael could!).
12628
12629 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12630
12631         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12632         * tabular_funcs.h: here and include iosfwd
12633
12634 2001-12-20  Juergen Vigna  <jug@sad.it>
12635
12636         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12637         inside inset but undo_par was.
12638
12639 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12640
12641         * Thesaurus.C: always include <config.h> in sources.
12642
12643         * Painter.h:
12644         * lyxlookup.h:
12645         * box.h: do not include <config.h> in header files
12646
12647         * text.C (paintLastRow): remove unused variable
12648
12649         * text.C (transformChar):
12650         (insertChar):
12651         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12652
12653         * Painter.C (text):
12654         * font.C (width): rewrite to use uppercase() instead of
12655         islower/toupper.
12656
12657         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12658
12659 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * lyxfind.C: clean up of find failure position change
12662
12663 2001-12-20  Juergen Vigna  <jug@sad.it>
12664
12665         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12666
12667         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12668         (TeXRow): added to LaTeX a single tabular row.
12669         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12670         (Latex): simplified and finally good LT-h/f support.
12671         (various_functions): just small adaptions for LT-h/f support.
12672
12673         * tabular_funcs.[hC]: added and moved here all not classfunctions
12674         of LyXTabular.
12675
12676 2001-12-19  Juergen Vigna  <jug@sad.it>
12677
12678         * tabular.[Ch]: better support for longtabular options (not finished
12679         yet!)
12680
12681 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12682
12683         * text.C (paintLastRow): use the label font instead of the font of
12684         the last character to compute the size of *_BOX. This makes more
12685         sense and avoids a crash with empty paragraphs.
12686         Use Painter::rectangle to draw EMPTY_BOX.
12687
12688 2001-12-19  Juergen Vigna  <jug@sad.it>
12689
12690         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12691         the paragraphs if the replaced paragraph is not the first one!
12692         Tried to delete not used paragraphs but does not work yet so for
12693         now it's inside #ifdef's and by default off!
12694
12695 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12696
12697         * MenuBackend.C: include "lyx_main.h" instead of declaring
12698         lastfiles (actually was declared as LastFiles* instead of a
12699         scoped_ptr).
12700
12701 2001-12-17  Juergen Vigna  <jug@sad.it>
12702
12703         * tabular.C (AppendColumn): applied John's fix
12704
12705 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * BufferView.h:
12708         * BufferView.C:
12709         * BufferView_pimpl.h:
12710         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12711
12712         * Makefile.am:
12713         * box.h: new start of class for above
12714
12715         * lyxfunc.C: ignore space-only minibuffer dispatches.
12716           Show the command name when it doesn't exist
12717
12718         * minibuffer.C: don't add empty lines to the history
12719
12720         * minibuffer.C: add a space on dropdown completion
12721
12722 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * text.C: fix line above/below drawing in insets
12725
12726 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12727
12728         * lyxlength.C (LyXLength): Initialize private variables.
12729
12730 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12731
12732         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12733         when inserting error insets.
12734
12735 2001-12-13  Juergen Vigna  <jug@sad.it>
12736
12737         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12738         actually sometimes the before-paragraph.
12739         (setUndo): don't clear the redostack if we're not actually undoing!
12740
12741 2001-12-06  Juergen Vigna  <jug@sad.it>
12742
12743         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12744         and fixed redoing of main paragraph, so we can use it now ;)
12745
12746         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12747
12748 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12749
12750         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12751         Juergen's request
12752
12753 2001-12-13  André Pönitz <poenitz@gmx.net>
12754
12755         * undostack.[Ch]:
12756         * undo_func.C: minor cleanup
12757
12758 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12759
12760         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12761         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12762         font in urw-fonts package which is marked as -urw-fontspecific and
12763         does not work (incidentally, changing the encoding in the
12764         fonts.dir of this package to -adobe-fontspecific fixes the
12765         problem).
12766
12767         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12768         is a crash when undoing first paragraph (Juergen, please take a
12769         look). THis does not mean the undo fix is wrong, just that it
12770         uncovers problems.
12771
12772         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12773         the (Paragraph*) version when needed instead of duplicating the
12774         code.
12775
12776         * text.C (workWidth): use Inset::parOwner to find out where the
12777         inset has been inserted. This is a huge performance gain for large
12778         documents with lots of insets. If Inset::parOwner is not set, fall
12779         back on the brute force method
12780
12781         * paragraph_pimpl.C (insertInset):
12782         * paragraph.C (Paragraph):
12783         (cutIntoMinibuffer): set parOwner of insets when
12784         inserting/removing them
12785
12786         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12787
12788 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12789
12790         * commandtags.h:
12791         * LyXAction.C:
12792         * lyx_main.C:
12793         * lyxfunc.C:
12794         * mathed/formulabase.C:
12795         * mathed/math_cursor.[Ch]:
12796         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12797
12798
12799 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * lyxlength.[Ch] (operator!=): new function
12802
12803 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12804
12805         * text.C (workWidth): use Inset::parOwner to find out where the
12806         inset has been inserted. This is a huge performance gain for large
12807         documents with lots of insets. If Inset::parOwner is not set, fall
12808         back on the brute force method
12809
12810         * paragraph_pimpl.C (insertInset):
12811         * paragraph.C (Paragraph):
12812         (cutIntoMinibuffer): set parOwner of insets when
12813         inserting/removing them
12814
12815         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12816
12817 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12818
12819         * tabular-old.C (getTokenValue):
12820         * tabular.C (getTokenValue):
12821         (write_attribute): new versions for LyXLength
12822         (everywhere): adjust the use of widths
12823
12824         * tabular.h: change the type of widths from string to LyXLength
12825
12826 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12827
12828         * paragraph.C: fixed missing line number count when exporting
12829         Environments to LaTeX file
12830
12831         * buffer.C: added informational message for checking line numbers.
12832
12833 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12834
12835         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12836         paragraph, do the 'double space' part, but not the 'empty
12837         paragraph' one.
12838
12839         * text.C (workWidth): small optimization
12840         (getLengthMarkerHeight): use minimal size for negative lengths.
12841
12842 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12843
12844         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12845
12846         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12847
12848 2001-12-11  André Pönitz <poenitz@gmx.net>
12849
12850         * FontLoader.C:
12851         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12852
12853 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12854
12855         * text2.C: keep selection on a setFont()
12856
12857 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12858
12859         * lyx_cb.C: another bv->text misuse, from insert label
12860
12861 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12862
12863         * kbsequence.h:
12864         * kbsequence.C: re-instate nmodifier mask
12865
12866 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12867
12868         * lyx_main.h: make lyxGUI private.
12869
12870 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12871
12872         * lyxfind.C: place the cursor correctly on failed search
12873
12874 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12875
12876         * text.C (getLengthMarkerHeight): for small heights, the arrows
12877         are not always on top/bottom of the text
12878         (drawLengthMarker): smaller arrows; take the left margin in
12879         account; draw also vfills.
12880         (paintFirstRow):
12881         (paintLastRow): remove special code for vfill and standard spaces,
12882         since everything is handled in drawLengthMarker now.
12883
12884 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * buffer.C (insertErtContents): try to handle font and language
12887         interaction a bit better.g
12888
12889         * ColorHandler.C (updateColor): change the hash to cover the whole
12890         LColor enum, ws cleanup
12891         (getGCLinepars): ditto
12892         (getGCLinepars): only lookup in the linecache once.
12893
12894 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12895
12896         * iterators.C (operator++): Make the iterator more robust
12897
12898         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12899         (John's patch)
12900         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12901
12902 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12903
12904         * lyxtext.h:
12905         * text.C: better added space drawing
12906
12907 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12908
12909         * LyXView.C:
12910         * BufferView2.C: fix layout combo update on inset unlock
12911
12912 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12913
12914         * Makefile.am: don't compile unused files
12915
12916 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12917
12918         * lyxfunc.C:
12919         * commandtags.h:
12920         * LyXAction.C: remove old LFUN_LAYOUTNO
12921
12922 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12923
12924         * paragraph_pimpl.h:
12925         * paragraph_pimpl.C: isTextAt() doesn't need font param
12926
12927 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12928
12929         * lyxlex.h:
12930         * lyxlex.C: little cleanup
12931
12932 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12933
12934         * BufferView_pimpl.C: fix insertAscii for insets
12935
12936 2001-12-05  Juergen Vigna  <jug@sad.it>
12937
12938         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12939         set the right font on the "multi" paragraph paste!
12940
12941 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12942
12943         * trans_decl.h:
12944         * trans_mgr.[Ch]:
12945         * trans.[Ch]:
12946         * lyxgluelength.C:
12947         * lyxlength.C: remove out-commented code.
12948
12949         * BufferView_pimpl:
12950         * CutAndPaste.C:
12951         * DepTable.C:
12952         * buffer.C:
12953         * chset.C:
12954         * lastfiles.C:
12955         * lyxlex.C:
12956         * lyxlex_pimpl.C:
12957         * lyxserver.C:
12958         * screen.C:
12959         * tabular-old.C:
12960         * tabular.C:
12961         * text.C:
12962         * trans_mgr.C:
12963         * vc-backend.C: change "while(" to "while ("
12964
12965         * lyxlength.[Ch]: add zero function to check if length is zero or
12966         not
12967         * lyxgluelength.C: use it
12968
12969 2001-12-05  Allan Rae  <rae@lyx.org>
12970
12971         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12972         Works for 2.95.3, from what I understand of Garst's reports this should
12973         work for other g++ versions.  We're screwed if the abs(int) definition
12974         changed between bugfix releases of gcc.
12975
12976 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12977
12978         * text.C: fix chapter label offset !
12979
12980 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12981
12982         * lyxtext.h:
12983         * text.C: fix hfill at end of line, clean up
12984
12985 2001-12-04  Juergen Vigna  <jug@sad.it>
12986
12987         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12988         that we force an update of the inset and it's owners if neccessary.
12989
12990 2001-12-03  Juergen Vigna  <jug@sad.it>
12991
12992         * text.C (rowLast): simplified code
12993
12994 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12995
12996         * lyxfunc.C: fix show options on timeout
12997
12998 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12999
13000         * screen.C (topCursorVisible): scroll half a page when the cursor
13001         reached top of bottom of screen
13002
13003 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13004
13005         * minibuffer.C: deactivate on loss of focus
13006
13007 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13008
13009         * vspace.[Ch] (operator!=): add operator.
13010
13011 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13012
13013         * BufferView_pimpl.C: refuse to open an inset when
13014         there's a selection.
13015
13016 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13017
13018         * BufferView_pimpl.C: allow to click on RHS of full row insets
13019
13020 2001-11-30  Juergen Vigna  <jug@sad.it>
13021
13022         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13023         insets for undo reasons.
13024
13025 2001-11-28  André Pönitz <poenitz@gmx.net>
13026
13027         * vspace.[Ch]: cosmetical changes
13028
13029 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13030
13031         * LyXAction.h:
13032         * LyXAction.C:
13033         * lyxfunc.h:
13034         * lyxfunc.C:
13035         * kbmap.h:
13036         * kbmap.C:
13037         * lyxrc.C:
13038         * kbsequence.h:
13039         * kbsequence.C: part re-write of old kb code
13040
13041         * Painter.C:
13042         * WorkArea.C: remove Lgb_bug_find_hack
13043
13044 2001-11-30  José Matos <jamatos@fep.up.pt>
13045
13046         * buffer.C (makeDocBookFile): add a comment to point a hack.
13047         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13048         Fixed a double write of labels.
13049
13050 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13051
13052         * LaTeX.C:
13053         * LaTeX.h Fixed bug in LaTeX class where it would not
13054         re-run latex if no depfiles were changed, but the .dvi was removed.
13055
13056 2001-11-28  André Pönitz <poenitz@gmx.net>
13057
13058         * all the files from the change on 2001/11/26:
13059         use lyx::layout_type instead of LyXTextClass::size_type
13060         use lyx::textclass_type instead of LyXTextClassList::size_type
13061
13062 2001-11-29  Juergen Vigna  <jug@sad.it>
13063
13064         * text.C: added support for paragraph::isFreeSpacing()
13065
13066         * buffer.C: same as above
13067
13068         * paragraph.h: inserted isFreeSpacing() function to enable
13069         FreeSpacing inside InsetERT.
13070
13071         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13072         of the paragraph's in the cut/copy buffer to 0!
13073
13074         * text2.C (removeRow): remove the assert as it can!
13075
13076         * lyxtext.h: added helper function firstRow returning firstrow and
13077         made firstrow private again.
13078
13079         * BufferView2.C (lockInset): don't relock if we're already locked!
13080
13081         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13082         the only paragraph.
13083         (removeRow): added Assert::(firstrow)
13084
13085         * debug.C: forgot to add INSETTEXT here.
13086
13087 2001-11-28  Juergen Vigna  <jug@sad.it>
13088
13089         * sp_spell.C (initialize): changed error text to more general
13090         spellchecker command use (not only ispell!)
13091
13092         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13093
13094         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13095
13096 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13097
13098         * vspace.C: initialise lyxgluelength on failure
13099
13100 2001-11-28  Allan Rae  <rae@lyx.org>
13101
13102         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13103         declaration & definition that looks like a function declaration.
13104
13105 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13106
13107         * BufferView2.C (copy):
13108         (copyEnvironment): do not clear the selection when doing a copy.
13109
13110         * text.C (paintFirstRow): compilation fix
13111
13112 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13113
13114         * tabular.C (Latex): correct line count when writing latex.
13115
13116 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13117
13118         * paragraph_pimpl.h:
13119         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13120           bug a bit
13121
13122 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13123
13124         * text.C:
13125         * LColor.h:
13126         * LColor.C: change vfillline->added_space
13127
13128         * text.C: add markers and text for added space
13129
13130         * vspace.C: fix comment
13131
13132 2001-11-28  André Pönitz <poenitz@gmx.net>
13133
13134         * paragraph.C: whitespace changes
13135         * all the other files from the change on 2001/11/26:
13136         change *::pos_type into lyx::pos_type
13137
13138 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13139
13140         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13141         language of the document when inserting error insets.
13142
13143 2001-11-26  André Pönitz <poenitz@gmx.net>
13144
13145         * BufferView_pimpl.[Ch]:
13146         *       CutAndPaste.C:
13147         * buffer.[Ch]:
13148         * lyxcursor.[Ch]:
13149         * lyxfind.C:
13150         * lyxfunc.C:
13151         * lyxrow.[Ch]:
13152         * paragraph.[Ch]:
13153         * paragraph_pimpl.[Ch]:
13154         * sp_spell.C:
13155         * text.C:
13156         * text2.C: reduce header dependencies, introduce type for positions
13157
13158 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13159
13160         * <various>: change to use Alert.h
13161
13162 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13163
13164         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13165         when encountering an unknown token.
13166         (readLyXformat2): Show an error message if there were unknown tokens.
13167
13168 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13169
13170         * BufferView2.C:
13171         * BufferView_pimpl.C:
13172         * buffer.C:
13173         * paragraph.h:
13174         * text.C:
13175         * text2.C: use par->isInset()
13176
13177 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13178
13179         * paragraph_pimpl.h:
13180         * paragraph_pimpl.C: cleanup
13181
13182 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13183
13184         * text2.C (removeRow):
13185         * text.C (setHeightOfRow): remove useless (and costly) call to
13186         getRow.
13187
13188 2001-11-20  Allan Rae  <rae@lyx.org>
13189
13190         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13191         Now need Inset*::checkInsertChar() to return true for appropriate
13192         cases so that the characters in the minibuffer will actually be
13193         inserted.
13194
13195 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13196
13197         * text.C: change the order of the includes.
13198         (workWidth): initialize it at once.
13199         (workWidth): make maxw unsigned
13200         (setHeightOfRow): remove unused variable (inset)
13201         (selectSelectedWord): remove unused variable (inset)
13202         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13203
13204 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13205
13206         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13207         server is not running.
13208         (openConnection):
13209         (closeConnection): add debug info when server is disabled.
13210
13211         * ColorHandler.C (getGCForeground): send debug message to GUI
13212         channel.
13213
13214         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13215
13216         * kbmap.C (bind): modify because return conventions of
13217         kb_sequence::parse have changed.
13218
13219         * kbsequence.C (parse): only ignore spaces and not any stupid
13220         control character. This avoids tests like s[i] <= ' ', which are
13221         guaranteed to fail with 8bit characters and signed chars.
13222         Change return code to string::npos when there have been no error
13223         (0 was a bad idea when error is at first character)
13224
13225 2001-11-14  José Matos  <jamatos@fep.up.pt>
13226
13227         * buffer.h:
13228         * buffer.C (simpleDocBookOnePar): removed unused argument.
13229
13230 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13231
13232         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13233         insets which are part of a word. Paragraph::isLetter takes care of
13234         that now. Use Paragraph::isInset to identify insets.
13235         (selectSelectedWord): do not test for hyphenation break.
13236
13237         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13238         that protected spaces are considered as spaces.
13239
13240         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13241         Inset::isLetter.
13242
13243 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13244
13245         * lyxserver.h:
13246         * lyxserver.C: fix it. and small cleanup.
13247
13248 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13249
13250         * BufferView_pimpl.C: use inline helpers
13251
13252         * LaTeXFeatures.h:
13253         * LaTeXFeatures.C: fix typos
13254
13255         * Spacing.h:
13256         * Spacing.C: move spacing_string into class
13257
13258         * ToolbarDefaults.C: move stuff into namespace anon
13259
13260         * layout.h: update enum
13261
13262         * lyxfunc.C: use better debug
13263
13264         * minibuffer.h: fix typo
13265
13266         * debug.h:
13267         * debug.C:
13268         * WorkArea.C: add and use Debug::WORKAREA
13269
13270         * lyxtext.h:
13271         * text.C:
13272         * text2.C: code re-organisation, inline helpers
13273
13274 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13275
13276         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13277         std::vector.empty().
13278
13279 2001-11-09  Allan Rae  <rae@lyx.org>
13280
13281         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13282         '\n's after tables.  Tabular and ERT inset work now makes this no
13283         longer necessary.
13284
13285 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13286
13287         * minibuffer.h:
13288         * minibuffer.C: fix crash, improve drop-down completion
13289
13290 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13291
13292         * lyxserver.h:
13293         * lyxserver.C: invalidate fd's when doing endPipe()
13294
13295 2001-11-08  José Matos  <jamatos@fep.up.pt>
13296
13297         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13298         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13299
13300         * paragraph.h:
13301         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13302
13303 2001-11-07  José Matos  <jamatos@fep.up.pt>
13304
13305         * buffer.h:
13306         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13307         const qualifier.
13308
13309         * buffer.C (sgmlOpenTag):
13310         * buffer.C (sgmlCloseTag): removed debug info.
13311
13312         * buffer.h (sgmlOpenTag):
13313         * buffer.h (sgmlCloseTag): made public.
13314
13315 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13316
13317         * buffer.C (saveParamsAsDefaults):
13318         * lyx_cb.C (MenuLayoutSave): remove
13319
13320         * LyXAction.C (init):
13321         * commandtags.h:
13322         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13323
13324 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13325
13326         * buffer.C (setPaperStuff): removed from here...
13327
13328         * bufferparams.C (setPaperStuff): ... and moved there.
13329
13330 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13331
13332         * minibuffer.h:
13333         * minibuffer.C:
13334         * XFormsView.C: add support for drop-down completion
13335
13336 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13337
13338         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13339         commands.
13340
13341 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13342
13343         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13344         disabled.
13345
13346 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13347
13348         * lyx_main.C: change ref to known bugs
13349
13350 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13351
13352         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13353         to work around older babel problems.
13354
13355 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13356
13357         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13358
13359 2001-10-24  Juergen Vigna  <jug@sad.it>
13360
13361         * tabular-old.C (ReadOld): below variable changes reflected.
13362
13363         * tabular.[Ch]: added ltType struct for longtable header/footer
13364         defines and changed all instances where they are used. Added
13365         future support for double top/bottom rows.
13366
13367 2001-10-24  José Matos  <jamatos@fep.up.pt>
13368
13369         * buffer.h (docbookHandleCaption):
13370         * buffer.C (docbookHandleCaption): removed unused function.
13371         (makeDocBookFile): moved docbook supported version to v4.1.
13372
13373 2001-10-24  José Matos  <jamatos@fep.up.pt>
13374
13375         * tabular.h:
13376         * tabular.C (docbookRow): new function to export docbook code of a row.
13377         (DocBook): now honors the longtable flags.
13378
13379 2001-10-23  José Matos  <jamatos@fep.up.pt>
13380
13381         * LaTeXFeatures.h:
13382         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13383         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13384
13385         * buffer.C (makeLinuxDocFile):
13386         (makeDocBookFile): reworked the preamble, more clean, and with
13387         support for lyx defined entities. Changed the document declaration
13388         to be more XML friendly.
13389
13390         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13391         if we need to output XML that should be done with a filter.
13392
13393 2001-10-22  Juergen Vigna  <jug@sad.it>
13394
13395         * sp_pspell.h (class PSpell): add alive function needed in the
13396         controller to see if the spellchecker could be started.
13397
13398 2001-10-22  Juergen Vigna  <jug@sad.it>
13399
13400         * buffer.C (insertStringAsLines): modify the font for inserting
13401         chars in certain conditions by calling checkInsertChar(font).
13402
13403 2001-10-19  Juergen Vigna  <jug@sad.it>
13404
13405         * text.C (workWidth): use getRow instead of wrong algorithm.
13406         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13407
13408 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13409
13410         * lyxserver.h:
13411         * lyxserver.C:
13412         * lyx_main.h:
13413         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13414
13415 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13416
13417         * text.C (workWidth): do not search for the exact row when
13418         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13419         optimization for big documents.
13420
13421 2001-10-18  Juergen Vigna  <jug@sad.it>
13422
13423         * text.C (workWidth): new function with added Inset * parameter.
13424
13425 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13426
13427         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13428
13429         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13430         change return type of getColumnNearX.
13431
13432
13433         * text.C (changeRegionCase): use uppercase/lowercase instead of
13434         toupper/tolower.
13435         (leftMargin):
13436         (rightMargin): simplify code by factoring out the uses of
13437         textclasslist.
13438         (labelFill):
13439         (numberOfHfills):
13440         (setHeightOfRow):
13441         (appendParagraph): use Paragraph::size_type
13442
13443 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13444
13445         * vspace.C (asLatexString): add a missing break
13446
13447 2001-10-15  Herbert Voss  <voss@perce.de>
13448
13449         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13450
13451 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13452
13453         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13454         is not available.
13455
13456 2001-10-10  André Pönitz <poenitz@gmx.net>
13457
13458         * lyxfunc.C: removed greek_kb_flag.
13459
13460 2001-10-10  Herbert Voss  <voss@perce.de>
13461
13462         * lyx_main.C: delete global string help_lyxdir.
13463
13464 2001-10-09  Herbert Voss  <voss@perce.de>
13465
13466         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13467
13468         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13469
13470         * lyx_main.C: added global string help_lyxdir.
13471
13472         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13473
13474 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13475
13476         * lyxrc.C (set_font_norm_type): support iso8859-4
13477
13478 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13479
13480         * LaTeX.C (deplog): add another regex for MikTeX
13481
13482 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13483
13484         * lyxrc.C (set_font_norm_type): support iso8859-3
13485
13486 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13487
13488         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13489
13490         * LaTeXFeatures.C: remove special case of french and index
13491
13492         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13493         before \begin{document}). This solves several incompatibilities.
13494
13495 2001-10-03  Garst Reese  <reese@isn.net>
13496
13497         * lyx_cb.C: change CheckTex error msg.
13498
13499 2001-10-03  José Matos  <jamatos@fep.up.pt>
13500
13501         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13502
13503 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13504
13505         * .cvsignore: update
13506
13507         * lyx_main.C (commandLineVersionInfo): use new style version info.
13508
13509         * buffer.C (writeFile):
13510         (makeLaTeXFile):
13511         (makeLinuxDocFile):
13512         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13513
13514         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13515
13516         * version.h: update to use stuff in version.C
13517
13518         * version.C.in: new file. Contains version information determined
13519         at compile time. This is a merging of version.h and
13520         version_info.h.in.
13521
13522 2001-10-03  Juergen Vigna  <jug@sad.it>
13523
13524         * BufferView_pimpl.C (update): don't change "dirty" status in
13525         updateInset call.
13526
13527 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13528
13529         * WorkArea.C (c-tor): re-position version string slightly.
13530
13531 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13532
13533         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13534         revert to previous code.
13535
13536         WorkArea.[Ch]: (show, destroySplash): methods removed.
13537
13538         WorkArea.C: rework code so that it's an amalgam of the codes before and
13539         after the splash screen was moved to WorkArea.
13540
13541 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13542
13543         * lyxrc.C (read):
13544         * vspace.C (inPixels):
13545         (lyx_advance):
13546         * kbmap.C (bind):
13547         * buffer.C (insertStringAsLines):
13548         (asciiParagraph): fix types to be large enough
13549
13550         * lyxlex_pimpl.h: change member status from short to int
13551
13552         * layout.h: fix type of endlabeltype
13553
13554         * kbmap.C (bind):
13555         * kbsequence.C (parse): change return type to string::size_type
13556
13557         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13558         variable
13559
13560         * Bullet.C (bulletSize):
13561         (bulletEntry): do not use short ints as parameters
13562
13563         * BufferView2.C (insertLyXFile): change a char to an int.
13564
13565         * WorkArea.C (WorkArea): remove unneeded floats in computation
13566
13567 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13568
13569         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13570
13571         * paragraph.C (asString): Do not ignore newline/hfill chars when
13572         copying to the clipboard.
13573
13574 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13575
13576         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13577         after a multi-line inset.
13578
13579 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13580
13581         * paragraph.C (validate): Set NeedLyXFootnoteCode
13582
13583 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13584
13585         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13586         and decrease-error to decrease.
13587
13588 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13589
13590         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13591         it more readable (should be equivalent)
13592
13593 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13594
13595         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13596
13597 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13598
13599         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13600         of a cursor (row, etc.) after a character has been deleted
13601         (deleteEmptyParagraphMechanism): call the method above on _all_
13602         cursors held by the LyXText when a double space has been
13603         detected/deleted.
13604
13605 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13606
13607         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13608         pixmap.
13609         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13610
13611         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13612         background. Use greyOut() and the new show() methods to toggle between
13613         the foreground and background. Add code to remove the splash after
13614         its initial showing.
13615
13616         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13617         (create_forms): no longer call Dialogs::showSplash.
13618
13619 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13620
13621         * .cvsignore: add version_info.h
13622
13623 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13624
13625         * version_info.h.in: new file
13626
13627         * Makefile.am: add version_info.h.in
13628
13629         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13630         version_info.h instead of VERSION_INFO
13631
13632 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13633
13634         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13635         The ERT inset now returns string().
13636
13637 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13638
13639         * lyxtext.h, text.C (selectNextWord): renamed as
13640         selectNextWordToSpellcheck.
13641
13642         * text.C (selectNextWordToSpellcheck): Modified to not select
13643         words inside an ERT inset.
13644
13645 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13646
13647         * lyx_cb.C (MenuLayoutSave): change a bit the question
13648
13649         * sp_base.h: include <sys/types.h>
13650
13651 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13652
13653         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13654
13655 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13656
13657         * several files: fix typos in user-visible strings
13658
13659 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13660
13661         * text2.C (pasteSelection): do not set the selection, since it
13662         will be cleared later. Actually, the intent was to fix the way the
13663         selection was set, but I figured rmoving the code was just as good.
13664
13665 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13666
13667         * FontLoader.C (available): Check if font is available without
13668         loading the font.
13669
13670 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13671
13672         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13673
13674 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13675
13676         * lyxrc.[Ch]: added display_graphics variable and associated code.
13677
13678 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13679
13680         * bufferparams.C (hasClassDefaults): new method. Returns true if
13681         the buffer parameters correspond to known class defaults
13682
13683 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13684
13685         * XFormsView.C (show): set minimum size to the main window.
13686
13687 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13688
13689         * text2.C (copySelection):
13690         (cutSelection):
13691         * lyxfind.C (LyXReplace):
13692         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13693         LyXText::selectionAsString.
13694
13695         * paragraph.C (asString): add "label" argument to the second form
13696
13697         * text2.C (selectionAsString): add "label" argument and pass it to
13698         Paragraph::asString.
13699
13700 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13701
13702         * lyx_main.C (commandLineHelp): remove version information
13703
13704 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13705
13706         * lyx_main.C: add -version commandline option
13707
13708 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13709
13710         * paragraph.h: make the optional constructor arg required instead.
13711         some modifications to other files because of this.
13712
13713         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13714
13715         * lyxserver.C (C_LyXComm_callback): make it static
13716
13717         * lyx_main.C (error_handler): make it static
13718
13719         * lyx_gui.C (LyX_XErrHandler): make it static
13720
13721         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13722
13723         * WorkArea.C: make the extern "C" methods static.
13724
13725         * Makefile.am (lyx_LDADD): simplify
13726
13727 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13728
13729         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13730         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13731
13732         * LyXAction.C (init):
13733         * lyxfunc.C (dispatch): associated code removal.
13734
13735 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13736
13737         * lyxfont.h (isSymbolFont): shut off warning
13738
13739         * text.C (setHeightOfRow):
13740         (getVisibleRow): fix crash with empty paragraphs which have a
13741         bottom line
13742
13743 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13744
13745         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13746         code.
13747
13748 2001-09-04  José Matos  <jamatos@fep.up.pt>
13749         * buffer.C
13750         * buffer.h
13751         * tabular.C (docbook): rename docBook method to docbook.
13752
13753 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13754
13755         * Makefile.am: add dependencies to main.o.
13756
13757 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13758
13759         * FontLoader.C (available): Return false if !lyxrc.use_gui
13760
13761 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13762
13763         * FontInfo.C (query):
13764         * converter.C (view):
13765         * importer.C (Import):
13766         * exporter.C (Export): Can not -> cannot.
13767
13768 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13769
13770         * BufferView_pimpl.C: allow to create index inset even if
13771           string is empty
13772
13773 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13774
13775         * buffer.C (getLists): replace boost::tie code with an explicit pair
13776         as boost::tie can break some compilers.
13777
13778         * iterators.h: Added a std:: declaration to the return type of
13779         ParIterator::size.
13780
13781 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13782
13783         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13784           case.
13785
13786 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13787
13788         * iterators.[Ch]: New files. Provide paragraph iterators.
13789
13790         * buffer.C (changeLanguage): Use paragraph iterators.
13791         (isMultiLingual): ditto
13792
13793         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13794
13795 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13796
13797         * FontLoader.C: Support for cmr font.
13798
13799 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13800
13801         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13802         (available): New method.
13803
13804         * FontInfo.C (getFontname): Use scalable fonts even when
13805         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13806         found.
13807
13808 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13809
13810         * converter.C (Formats::view): reverted! Incorrect fix.
13811
13812 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13813
13814         * converter.C (Formats::view): only output the -paper option
13815         if the dvi viewer is xdvi, thereby fixing bug #233429.
13816
13817 2001-08-23  Herbert Voss  <voss@perce>
13818
13819         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13820
13821 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13822
13823         * Spacing.h (Spacing): Set space to Default on in the default
13824         constructor.
13825
13826 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13827
13828         * vc-backend.h (RCS::versionString): add RCS to version
13829         (CVS::versionString): add CVS to version
13830
13831         * vc-backend.C (scanMaster): do not add CVS to version.
13832         (scanMaster): do not add RCS to version
13833
13834         * lyxvc.C (versionString): new method
13835
13836         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13837
13838 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13839
13840         * Spacing.C (set): initialize fval
13841
13842 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13843
13844         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13845         " or \.
13846
13847 2001-08-16  Juergen Vigna  <jug@sad.it>
13848
13849         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13850
13851 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13852
13853         * BufferView_pimpl.C:
13854         * figureForm.C:
13855         * lyxtext.h:
13856         * text2.C: setParagraph takes linespacing now
13857
13858 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13859
13860         * LyxAction.C: add internal LFUN_CITATION_INSERT
13861
13862         * LyXView.C: actually apply fix
13863
13864         * bufferlist.C: fix open non-existent file
13865
13866         * lyxfind.C: fix indentation
13867
13868         * lyxfunc.C: remove unneeded assert, fix typo
13869
13870 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13871
13872         * MenuBackend.C: use "Floatname List"
13873
13874 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13875
13876         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13877         when converting LaTeX layout to insetERT.
13878         Generate a non-collapsed float when reading old float
13879
13880 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13881
13882         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13883         ERT insets.
13884
13885 2001-08-13  Juergen Vigna  <jug@sad.it>
13886
13887         * text.C (fill): return 0 instead of 20 as this seems to be the more
13888         correct value.
13889
13890 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13891
13892         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13893         lyxrc.font_norm.
13894
13895 2001-08-13  Juergen Vigna  <jug@sad.it>
13896
13897         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13898         casesensitive off.
13899         (SearchBackward): comment out the unlocking of the inset_owner this
13900         should not be needed!
13901
13902 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13903
13904         * Many files: Remove inherit_language, and add latex_language
13905
13906         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13907         collapsible insets.
13908
13909 2001-08-10  Juergen Vigna  <jug@sad.it>
13910
13911         * text.C (prepareToPrint): fixed hfill-width in draw!
13912
13913         * BufferView2.C (selectLastWord): save the selection cursor as this
13914         now is cleared in the function LyXText::clearSelection!
13915
13916 2001-08-08  Juergen Vigna  <jug@sad.it>
13917
13918         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13919         BACKSPACE type functions.
13920
13921         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13922         is only cutted from the document but not put in the cut-buffer, where
13923         still the old stuff should be.
13924
13925         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13926
13927         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13928
13929         * tabular.C (SetWidthOfCell): fixed special case where the width
13930         was not updated!
13931         (LeftLine): handle '|' in align_special.
13932         (RightLine): ditto
13933         (LeftAlreadyDrawed): ditto
13934         (SetWidthOfCell): ditto
13935
13936 2001-08-07  Juergen Vigna  <jug@sad.it>
13937
13938         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13939
13940 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13941
13942         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13943         * lyxlex.[hC]: ditto
13944
13945 2001-08-06  Juergen Vigna  <jug@sad.it>
13946
13947         * text.C (getVisibleRow): fix up row clearing a bit.
13948
13949 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13950
13951         * minibuffer.C: make sure the X server sees the changes in the input.
13952
13953 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13954
13955         * paragraph.C (getFont): split into...
13956         (getLabelFont): this
13957         (getLayoutFont): and this
13958         * paragraph_pimpl.C (realizeFont): calling this
13959
13960         * text2.C (getFont): split into...
13961         (getLayoutFont): this
13962         (getLabelFont): and this
13963         (realizeFont): all three calling this
13964
13965         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13966         files where used.
13967
13968 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13969
13970         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13971
13972 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13973
13974         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13975         layouts from the Quote inset insertion.
13976
13977 2001-08-03  Juergen Vigna  <jug@sad.it>
13978
13979         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13980
13981         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13982         only if status not is already CHANGED_IN_DRAW (second level).
13983
13984         * text.C (draw): don't set the need_break_row when inside an
13985         InsetText LyXText.
13986
13987 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13988
13989         * buffer.C (parseSingleLyXformat2Token): handle more latex
13990         conversion cases.
13991
13992         * bufferview_funcs.[hC]: change function names to
13993         begin with small char, adjust other files.
13994
13995 2001-08-02  André Pönitz <poenitz@gmx.net>
13996
13997         * lyxfunc.C:
13998         BufferView_pimpl.C: remove broken special code for math-greek
13999
14000 2001-08-02  Juergen Vigna  <jug@sad.it>
14001
14002         * BufferView_pimpl.C (update): redone this function so that we
14003         update the text again if there was a CHANGE_IN_DRAW.
14004
14005         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14006         (drawFromTo): added a new internal bool which is used by draw() and
14007         redraw() function.
14008         (general): some cursor drawing problems fixed.
14009
14010 2001-08-01  Juergen Vigna  <jug@sad.it>
14011
14012         * lyxfind.C (LyXFind): fixed
14013         (SearchForward): ditto
14014         (SearchBackward): ditto
14015
14016         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14017         spurius drawing of the cursor in the main area.
14018
14019         * text2.C (status): small fix which could lead to a segfault!
14020         (clearSelection): remove unneeded BufferView param.
14021
14022 2001-08-01  André Pönitz <poenitz@gmx.net>
14023
14024         * lyxfunc.C: small change due to changed mathed interface
14025
14026 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14027
14028         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14029
14030 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14031
14032         * lyxfunc.c: fail gracefully if file doesn't exist
14033
14034         * LyXSendto.C:
14035         * buffer.C:
14036         * lyxfunc.C:
14037         * BufferView_pimpl.C: IsDirWriteable() proto changed
14038
14039         * LyXView.C: fix updateWindowTitle() to store the last title
14040
14041 2001-07-31  Juergen Vigna  <jug@sad.it>
14042
14043         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14044         the font (wrong since using of Paragraph::highestFontInRange).
14045
14046         * paragraph.C (highestFontInRange): added a default_size parameter.
14047
14048         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14049         (setHeightOfRow): reformat
14050
14051 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14052
14053         * converter.[hC] + affected files: move to (inital-char)lowercase
14054         function names.
14055
14056         * ParagraphParameters.C (ParagraphParameters): remove commented code
14057
14058         * PainterBase.[Ch]: remove commented code
14059
14060         * LaTeXFeatures.h: add "bool floats" for float.sty
14061
14062         * LaTeXFeatures.C (LaTeXFeatures): init floats
14063         (require): handle float
14064         (getPackages): do it with floats
14065
14066 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14067
14068         * BufferView_pimpl.C (Dispatch): improve handling of
14069         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14070
14071         * commandtags.h: #include lyxfont.h here temporarily to avoid
14072         keybinding bug.
14073
14074         * bufferlist.h: include LString.h here.
14075
14076 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14077
14078         * text2.C (getStringToIndex): new method.
14079
14080 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14081
14082         * *: Reduced header file dependencies all over.
14083
14084 2001-07-30  Baruch Even  <baruch@lyx.org>
14085
14086         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14087
14088 2001-07-29  Baruch Even  <baruch@lyx.org>
14089
14090         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14091
14092 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14093
14094         * ParameterStruct.h (endif): add a default constructor to make
14095         sure that all variables is initialized.
14096
14097         * ParagraphParameters.C (ParagraphParameters): adjust
14098
14099 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14100
14101         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14102         index; also, check that there is something to index, and that it
14103         does not span over several paragraphs.
14104         (doubleClick): use WHOLE_WORD_STRICT for double click.
14105
14106         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14107
14108         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14109         scheme.
14110
14111 2001-07-26  Baruch Even  <baruch@lyx.org>
14112
14113         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14114         an InsetFig figure, backwards compatible reading of old figure code.
14115
14116 2001-07-27  Juergen Vigna  <jug@sad.it>
14117
14118         * text2.C: font.realize function adaption.
14119
14120         * text.C (draw): add a warnings lyxerr text if needed.
14121
14122         * layout.C: font.realize function adaption.
14123
14124         * language.C: add inherit_language and implement it's handlings
14125
14126         * bufferview_funcs.C (StyleReset): remove language parameter from
14127         font creation (should be language_inherit now).
14128
14129         * bufferparams.C (writeFile): handle ignore_language.
14130
14131         * paragraph.C (getFontSettings): the language has to be resolved
14132         otherwise we have problems in LyXFont!
14133
14134         * lyxfont.C (lyxWriteChanges): added document_language parameter
14135         (update): removed unneeded language parameter
14136
14137         * paragraph.C (validate): fixed wrong output of color-package when
14138         using interface colors for certain fonts in certain environments,
14139         which should not seen as that on the final output.
14140
14141 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14142
14143         * BufferView_pimpl.C:
14144         * Thesaurus.h:
14145         * Thesaurus.C:
14146         * Makefile.am:
14147         * commandtags.h:
14148         * LyXAction.C: add thesaurus support
14149
14150         * lyxfind.h:
14151         * lyxfind.C: add "once" parameter, for thesaurus, to not
14152           move to the next match
14153
14154 2001-07-26  Juergen Vigna  <jug@sad.it>
14155
14156         * lyxfont.C (realize): honor ignore_language too!
14157         (resolved): ditto.
14158
14159         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14160
14161         * text.C (draw): one place more for ignore_language to not draw
14162         itself!
14163
14164 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14165
14166         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14167
14168 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14169
14170         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14171         the minipage conversion problem.
14172
14173 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14174
14175         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14176         insert an inset.
14177
14178 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14179
14180         * BufferView.h: don't forward declare WorkArea
14181
14182         * BufferView.C: don't include WorkArea.h
14183
14184 2001-07-25  André Pönitz <poenitz@gmx.net>
14185
14186         * commandtags.h:
14187         * LyXAction.C:
14188         * lyxfunc.C:  new LFUN 'math-space'
14189
14190         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14191
14192 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14193
14194         * text2.C (toggleInset): call open/close
14195
14196 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14197
14198         * lyxfunc.C (dispatch): add debug for the disabled case
14199
14200         * font.C (buttonText): make similar to rectText
14201
14202         * buffer.C (readInset): comment out parsing of insetlist and
14203         insttheorem
14204
14205         * PainterBase.C (rectText): small correction
14206
14207         * BufferView_pimpl.C: comment out insettheorem and insetlist
14208         * LyXAction.C: ditto
14209         * commandtags.h: ditto
14210
14211 2001-07-24  Juergen Vigna  <jug@sad.it>
14212
14213         * text.C (draw): honor the ignore_language.
14214
14215         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14216
14217 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14218
14219         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14220         char inset.
14221
14222 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14223
14224         * lyxtext.h: remove unused (and unimplemented) methods
14225
14226 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14227
14228         * text.C (getVisibleRow): honor background color
14229
14230         * PainterBase.h:
14231         * Painter.h: remove default color argument for fillRectangle
14232
14233         * text.C (backgroundColor): new method
14234
14235 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14236
14237         * text.C (getVisibleRow): adjust
14238
14239         * font.[Ch] (rectText): new method, metrics
14240         (buttonText): new method, metrics
14241
14242         * PainterBase.[hC]: make rectText and buttonText always draw and take
14243         fewer paramteres.
14244
14245 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14246
14247         * ToolbarDefaults.C (read):
14248         * MenuBackend.C (read): allow escaping in all strings
14249
14250         * BufferView_pimpl.C (insertAndEditInset): new method.
14251         (Dispatch): use insertAndEditInset whenever appropriate.
14252
14253         * BufferView_pimpl.C (insertNote): removed
14254
14255         * BufferView_pimpl.C (smartQuote): new method, moved from
14256         BufferView; if an insetquote cannot be inserted, insert a '"'
14257         character instead.
14258
14259         * BufferView2.C: remove insertCorrectQuote();
14260
14261         * lyxfunc.C (getStatus): Add support for all remaingin
14262         inset-insert lfuns.
14263
14264         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14265
14266         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14267         command (necessary to pass " as parameter of self-insert.
14268
14269         * text.C (selectWordWhenUnderCursor):
14270         (selectWord): add word_location parameter
14271         (selectWordWhenUnderCursor): same + remove special code for word
14272         boundary.
14273         (selectNextWord): use kind() to guess type of insetspecialchar,
14274         not latex().
14275
14276         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14277         (insertErtContents): create ert insets as collapsed.
14278         (readInset): better compatibility code for Info inset.
14279
14280 2001-07-20  Juergen Vigna  <jug@sad.it>
14281
14282         * lyxfunc.C (dispatch): use always LyXFind now!
14283
14284         * text2.C (init): add a reinit flag so that the LyXText can be
14285         reinited instead of deleted and reallocated (used in InsetText).
14286
14287         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14288
14289         * text.C: ditto
14290
14291         * text2.C: ditto
14292
14293 2001-07-18  Juergen Vigna  <jug@sad.it>
14294
14295         * text.C (selectNextWord): handle insets inside inset by calling
14296         always the bv->text functions so that we can go up the_locking_inset!
14297
14298         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14299         in strange locations when inside an inset!
14300
14301         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14302         handling to include insets.
14303
14304         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14305
14306 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * LyXAction.C (init):
14309         * commandtags.h:
14310         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14311         LIGATURE_BREAK, since the name is so stupid.
14312
14313 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14314
14315         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14316         InsetInfos.
14317
14318         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14319
14320         * sp_form.[Ch]: remove.
14321
14322         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14323
14324         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14325         InsetInfo.
14326
14327         * src/buffer.C (readInset): ditto.
14328
14329 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14330
14331         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14332         menuSeparator(), endOfSentenceDot(), ldots() and
14333         hyphenationPoint(), which are therefore removed.
14334         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14335
14336         * LyXAction.C (init):
14337         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14338
14339         * paragraph.C (getWord): removed.
14340
14341         * BufferView_pimpl.C (Dispatch): use last word or selection for
14342         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14343
14344         * lyx_main.C (queryUserLyXDir): do not ask before creating
14345         user_dir, except if it has been named explicitely.
14346
14347 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14348
14349         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14350         a document of zero size.
14351
14352 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14353
14354         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14355         approriately in the c-tor and in require().
14356         (getPackages): output the appropriate LaTeX for natbib support.
14357
14358         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14359         variables "use_natbib" and "use_numerical_citations" when reading the
14360         LyX file.
14361         (readInset): read the various natbib cite commands.
14362         (validate): white-space change.
14363
14364         * bufferparams.[Ch]: new variables "bool use_natbib" and
14365         "bool use_numerical_citations".
14366         (writeFile): output them in the LyX file.
14367
14368 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14369
14370         * lyxfunc.C (getStatus): add support for all the inset insertion
14371         commands.
14372
14373         * text2.C (insertInset):
14374         * paragraph.C (insetAllowed):
14375         * BufferView_pimpl.C (insertInset): update to take in account the
14376         renaming of insertInsetAllowed
14377
14378         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14379
14380         * text2.C (getInset): new method. returns inset at cursor position.
14381
14382         * BufferView_pimpl.C (Dispatch): changes because of this.
14383
14384         * LyXAction.C (init): rename open-stuff to inset-toggle.
14385
14386         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14387
14388         * text2.C (toggleInset): renamed from openStuff; use
14389         Inset::open().
14390
14391 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14392
14393         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14394
14395         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14396
14397 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14398
14399         * buffer.C (readLyXformat2): Add filename to the error dialog
14400
14401 2001-07-18  Juergen Vigna  <jug@sad.it>
14402
14403         * tabular.C (GetCellNumber): put an assert here instead of the check!
14404
14405 2001-07-17  Juergen Vigna  <jug@sad.it>
14406
14407         * BufferView_pimpl.C (toggleSelection): adapted too.
14408
14409         * text.C (selectNextWord): adapted for use with insets.
14410         (selectSelectedWord): ditto
14411
14412 2001-07-17  Juergen Vigna  <jug@sad.it>
14413
14414         * sp_spell.C (PSpell): fix initialitation order.
14415
14416 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14417
14418         * paragraph.C: spacing
14419
14420 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14421
14422         * sp_spell.C: repair language selection for pspell
14423
14424 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14425
14426         * lyxfunc.h: change more methods to begin with lower char.
14427
14428 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14429
14430         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14431         for unknown layouts.
14432
14433 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14434
14435         * buffer.C (readLyXformat2): Generate an error dialog if there are
14436         unknown layouts.
14437
14438 2001-07-16  Juergen Vigna  <jug@sad.it>
14439
14440         * sp_spell.C: always compile ISpell part.
14441
14442         * lyxrc.C: added use_pspell entry and it's handling.
14443
14444 2001-07-13  Juergen Vigna  <jug@sad.it>
14445
14446         * sp_spell.C: removed double includes.
14447
14448 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14449
14450         Consistent use of Lsstream.h:
14451         * Lsstream.h: added using std::stringstream for consistencies sake.
14452
14453         * buffer.C: removed using std::stringstream
14454
14455         * lyxfont.C (stateText):
14456         * paragraph.C (asString):
14457         * text.C (selectNextWord, selectSelectedWord):
14458         * text2.C (setCounter):
14459         * vspace.C (asString, asLatexString):
14460         std::ostringstream -> ostringstream.
14461
14462 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14463
14464         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14465         * commandtags.h: add LFUN_HELP_ABOUTLYX
14466         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14467
14468 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14469
14470         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14471         cursorToggle()
14472         * lyx_gui_misc.C: remove spellchecker
14473         * lyxfunc.C: showSpellchecker
14474         * sp_base.h: added
14475         * sp_ispell.h: added
14476         * sp_pspell.h: added
14477         * sp_spell.C: added
14478         * sp_form.[Ch]: removed
14479         * spellchecker.[Ch]: removed
14480
14481 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14482
14483         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14484         is set.
14485         (simpleTeXSpecialChars): Simply print the input character without
14486         any special translation if pass_thru is set.
14487
14488         * layout.h: Added bool pass_thru to layout class for being able to
14489         implement pass through of a paragraph for Literate Programming.
14490
14491         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14492         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14493         * layout.C (Read): add "passthru" to list of layout tags and add
14494         code to set the pass_thru boolean when it is read.
14495
14496 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14497
14498         * trans_decl.h: remove allowed from KmodInfo
14499
14500         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14501         remove allowed code
14502         (Load): adjust
14503
14504         * paragraph_pimpl.C (erase): use boost::prior
14505
14506         * Painter.C (text): use data() instead of c_str() when length is
14507         also provided.
14508         * WorkArea.C (putClipboard): ditto
14509         * font.h (width): ditto
14510
14511         * BufferView2.C: use it-> instead of (*it). for iterators
14512         * texrow.C: ditto
14513         * paragraph_pimpl.C: ditto
14514         * paragraph.C: ditto
14515         * minibuffer.C: ditto
14516         * language.C: ditto
14517         * kbmap.C: ditto
14518         * encoding.C: ditto
14519         * counters.C: ditto
14520         * converter.C: ditto
14521         * chset.C: ditto
14522         * Variables.C: ditto
14523         * TextCache.C: ditto
14524         * MenuBackend.C: ditto
14525         * LyXAction.C: ditto
14526         * LColor.C: ditto
14527         * FloatList.C: ditto
14528         * DepTable.C: ditto
14529         * ColorHandler.C (LyXColorHandler): ditto
14530
14531 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14532
14533         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14534
14535         * text2.C (openStuff): reintroduce this method (which had been
14536         nuked in NEW_INSETS frenzy).
14537
14538         * lyxfunc.C (Dispatch): when an action has not been handled, use
14539         its name in the error message, not its number.
14540
14541         * paragraph.C (inInset): change method name to begin with lowercase.
14542
14543         * undo_funcs.C:
14544         * text2.C: updates because of this.
14545
14546 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14547
14548         * ToolbarDefaults.C (add): add spaces in error message
14549
14550 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14551
14552         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14553         (readLyXformat2): rename return_par to first_par, use lyxlex's
14554         pushToken and remove the manual push handling.
14555         (parseSingleLyXformat2Token): add another ert comp. variable:
14556         in_tabular, rename return_par to first_par. handle newlines better
14557
14558 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14559
14560         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14561
14562 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14563
14564         * text2.C (getParFromID): removed
14565
14566         * buffer.C (getParFromID): new method moved form lyxtext.
14567         * BufferView2.C (insertErrors): adjust
14568         (setCursorFromRow): adjust
14569         * BufferView_pimpl.C (restorePosition): adjust
14570         * lyxfunc.C (Dispatch): adjust
14571         * undo_funcs.C (textUndo): adjust
14572         (textRedo): adjust
14573         (textHandleUndo): adjust
14574         (textHandleUndo): adjust
14575
14576 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14577
14578         * buffer.C: up' the LYX_FORMAT
14579
14580         * lyxfont.h: turn NO_LATEX on as default
14581
14582         * buffer.C (insertErtContents): new methods of tex style compability.
14583         (parseSingleLyXformat2Token): use it several places.
14584         * tabular.C (OldFormatRead): and here
14585
14586 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14587
14588         * text2.C: remove some commented code.
14589         reindent file.
14590
14591         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14592         * trans.C: changes because of the above.
14593
14594 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14595
14596         * text2.C (setCounter): Fix counters bug with bibliography layout.
14597
14598 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14599
14600         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14601         own member functions
14602         (simpleTeXSpecialChars): ditto
14603
14604 2001-07-06  Juergen Vigna  <jug@sad.it>
14605
14606         * a lot of files: changed the access to LyXText::status and the
14607         call of undo-functions.
14608
14609         * undo.[Ch]: added a inset_id to the undo informations.
14610
14611         * undo_funcs.[Ch]: added and moved here all undo functions.
14612
14613         * lyxtext.h: give the status enum a weight, made status_ a private
14614         variable and made accessor functions for it, removed the whole bunch
14615         of undo-functions as they are now in their own file, make some
14616         functions publically available. Added function ownerParagraph with
14617         int parameter.
14618
14619         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14620         made InInset() a const function, added getParFromID() function.
14621
14622         * buffer.[Ch]: added const version for inset_iterator functions,
14623         added getInsetFromID() function.
14624
14625         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14626         changed undo functions for new version.
14627
14628 2001-07-05  Juergen Vigna  <jug@sad.it>
14629
14630         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14631         unknow mechanism does not call the proper constructor but only this
14632         one also if I request the other!?
14633
14634 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14635
14636         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14637
14638         * text2.C (LyXText): use initialization lists.
14639
14640         * lyxtext.h (Selection): initialize set_ and mark_
14641         (init): remove method
14642
14643 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14644
14645         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14646
14647 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14648
14649         * screen.[Ch]: change method names to begin with lowercase
14650
14651         * BufferView_pimpl.C (updateScrollbar): simplify further and
14652         hopefully make it a bit faster.
14653
14654 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14655
14656         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14657         calling directly xforms functions.
14658
14659         * Painter.C (Painter):
14660         * lyx_cb.C (MenuWrite):
14661         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14662         fl_display.
14663
14664         * lyx_gui.C: remove bogus guiruntime extern declaration.
14665
14666 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14667
14668         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14669         in NEW_INSETS
14670         (redoDrawingOfParagraph): ditto
14671         (redoParagraphs): ditto
14672         (cutSelection): don't create a object for CutAndPaste use the
14673         static method directly
14674         (pasteSelection): ditto
14675
14676         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14677         LyXview (+ rename)
14678
14679 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14680
14681         * modifications to some other files because of this.
14682
14683         * Makefile.am (lyx_SOURCES): add XFormsView
14684
14685         * XFormsView.[Ch]: new files
14686
14687         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14688         the main window. Move the gui dependent stuff to XFormsView
14689
14690 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14691
14692         * tabular.C (GetCellInset): update cur_cell also in the row/col
14693         version of this function.
14694
14695         * lyxfunc.C: no need to include figure_form.h here.
14696
14697         * FontLoader.h:
14698         * lyxfunc.h:
14699         * lyxscreen.h:
14700         * text2.C:
14701         * lyxvc.C: no need to include forms.h here.
14702
14703 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14704
14705         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14706
14707         * lyxfunc.C (Dispatch):
14708         * Spacing.C (set):
14709         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14710         constructor argument.
14711
14712 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14713
14714         * paragraph.C (Paragraph): dont't clear, and just set layout.
14715         (makeSameLayout): use params's copy contructor.
14716
14717         * ParagraphParameters.[Ch] (makeSame): delete method
14718
14719 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14720
14721         * Variables.[Ch]: fix indentation, rename set to isSet
14722
14723 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14724
14725         * lyxfunc.C (Dispatch): fix typo
14726
14727 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14728
14729         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14730         upper_bound.
14731
14732         * bufferlist.C: include assert.h for emergencyWrite().
14733
14734 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14735
14736         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14737           give up at last (bug #425202) !
14738
14739 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14740
14741         * lyx_gui_misc.C:
14742         * sp_form.h:
14743         * sp_form.C:
14744         * spellchecker.h:
14745         * spellchecker.C: strip spellchecker options and bring up
14746           preferences tab instead
14747
14748 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14749
14750         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14751         the istringstream constructor
14752
14753 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14754
14755         * paragraph.C (getLayout): fix return value
14756
14757         * paragraph.h: do not declare getLayout as inline.
14758
14759         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14760
14761 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14762
14763         * lyxcursor.h (operator<): new func
14764         (operator>): new func
14765         (operator>=): new func
14766         (operator<=): new func
14767
14768         * text.C (changeCase): use selection.start and selection.end
14769         (changeRegionCase): require from to be <= to. Require par to be a
14770         valid paragraph.
14771
14772         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14773
14774 2001-06-27  Juergen Vigna  <jug@sad.it>
14775
14776         * text.C (cursorLeftOneWord): changed to return the cursor and added
14777         overlay with BufferView * parameter which calls this one.
14778         (getWord): added
14779         (selectWord): use new getWord function.
14780         (changeCase): renamed from changeWordCase as and extended to work
14781         also on selections.
14782
14783         * lyxtext.h: added enum word_location
14784
14785         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14786         changeCase as this operates now also on selections.
14787
14788 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14789
14790         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14791
14792         * many files: send debug output to Debug::INFO instead of
14793         Debug::ANY.
14794
14795         * converter.C (View):
14796         (Convert):
14797         (Move): send debug output to Debug::FILES instead of console.
14798
14799 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14800
14801         * lyxfunc.C (getStatus): use func_status
14802
14803         * func_status.h: new header, describing the results of
14804         LyXFunc::getStatus;
14805
14806         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14807         LFUN_MATH_HALIGN.
14808
14809 2001-06-25  The LyX Project  <jug@sad.it>
14810
14811         * buffer.C (sgmlOpenTag):
14812         (sgmlCloseTag):
14813         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14814
14815 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14816
14817         * text2.C: remove some dead code
14818
14819         * tabular.C (GetCellInset): store the last cell checked (gotten)
14820
14821         * tabular.h: add the helper for the speedup
14822
14823         * lyxtext.h: remove some dead code
14824
14825 2001-06-26  The LyX Project  <Asger>
14826
14827         * paragraph.C: Change export to LaTeX of alignment to
14828         \begin{center} and family for better roundtrip work with reLyX.
14829
14830         * Tune the math drawing a bit.
14831
14832 2001-06-25  The LyX Project  <Asger>
14833
14834         * LColor.C (LColor): New color for math background. New color
14835         for buttons.
14836
14837 2001-06-25  The LyX Project  <jug@sad.it>
14838
14839         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14840
14841         * lyxfunc.C (Open):
14842         * bufferlist.C (newFile): do not restrict to files ending with
14843         .lyx
14844
14845         * BufferView_pimpl.C (MenuInsertLyXFile):
14846
14847 2001-06-24  The LyX Project  <jug@sad.it>
14848
14849         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14850         of compare_no_case
14851
14852 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14853
14854         * lyxtext.h: rename most methods to begin with a small char.
14855         Lots of changes because of this.
14856
14857         * paragraph.C (Paragraph): do not call fitToSize
14858         (erase): call Pimpl::erase
14859         (insertChar): call Pimpl::insertChar
14860         (insertInset): call Pipl::insertInset
14861         (breakParagraph): do not call fitToSize
14862         (breakParagraphConservative): do not call fitToSize
14863         (fitToSize): remove method
14864
14865         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14866
14867 2001-06-24  The LyX Project  <Asger>
14868
14869         * Fix Qt compilation^2
14870
14871 2001-06-24  The LyX Project  <jug@sad.it>
14872
14873         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14874         depthHook(getDepth()-1).
14875
14876         * paragraph.h:
14877         * ParagraphParameters.h:
14878         * ParameterStruct.h: change type of depth to unsigned int ==
14879         depth_type. Many adaptations to other files before of that.
14880
14881 2001-06-24  The LyX Project  <Asger>
14882
14883         * Fix Qt compilation.
14884
14885 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14886
14887         * paragraph.h: renamed several methods to begin with small letter.
14888         several changes to many parts of the code because of this.
14889
14890 2001-06-23  The LyX Project  <jug@sad.it>
14891
14892         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14893         rewritten to discard all double spaces when KeepEmpty is off
14894         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14895         to only handle newlines but not fiddle with spaces and friends.
14896
14897         * lyxfunc.C (MenuNew): when doing 'new from template', use
14898         template_path as default directory
14899
14900 2001-06-23  The LyX Project  <Asger>
14901
14902         * Clean-up of header file includes all over
14903         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14904
14905 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14906
14907         * paragraph.h: renamed from lyxparagraph.h
14908
14909 2001-06-23  Asger  <lyx@violet.home.sad.it>
14910
14911         * Buffer.h: Removed Buffer::resize
14912         * BufferList.h: Removed BufferList::resize
14913         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14914         the document lazily when we change the width, or the font settings.
14915
14916 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14917
14918         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14919
14920 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * buffer.h: remove out of date comment
14923
14924 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14925
14926         * lyxscreen.h:
14927         * screen.C: fix "theoretical" GC leak
14928
14929 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14930
14931         * LaTeX.C (scanAuxFile):
14932         (deplog): remove trailing \r when reading stream (useful under
14933         win32)
14934
14935 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14936
14937         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14938         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14939         and BufferView::theLockingInset(Inset*), so should use them and not
14940         access bv_->text->the_locking_inset directly.
14941
14942         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14943
14944 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14945
14946         * Makefile.am:
14947         * tex-defs.h: remove old unused file
14948
14949 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14950
14951         * BufferView_pimpl.C: fix typo, remove minibuffer message
14952           when buffer has loaded
14953
14954 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14955
14956         * lyxfunc.C (Dispatch): use stringstream
14957         (MenuNew): use stringstream
14958         (Open): use stringstream
14959
14960         * importer.C (Import): use stringstream
14961
14962         * bufferview_funcs.C (CurrentState): use stringstream
14963
14964         * LaTeX.C (run): use stringstream
14965
14966         * BufferView_pimpl.C (savePosition): use stringstream
14967         (restorePosition): use stringstream
14968         (MenuInsertLyXFile): use stringstream
14969
14970 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14971
14972         * BufferView.C:
14973         * Bullet.C:
14974         * ColorHandler.C:
14975         * FontInfo.C:
14976         * FontLoader.C:
14977         * LColor.C:
14978         * LaTeXFeatures.C:
14979         * Painter.C:
14980         * gettext.C:
14981         * lyx_gui_misc.C:
14982         * lyxserver.C:
14983         * vspace.C: removed // -*- C++ -*- as first line.
14984
14985         * lyxfind.h:
14986         * version.h: added // -*- C++ -*- as first line.
14987
14988 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14989
14990         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14991
14992         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14993         of string
14994
14995 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14996
14997         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14998         of floats.
14999
15000 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15001
15002         * gettext.C: include LString.h even when --disable-nls is on.
15003
15004 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15005
15006         * converter.h (Get): changed argument type from int to
15007         FormatList::size_type to avoid unnecessary conversion.
15008
15009         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15010         before using it.
15011
15012 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15013
15014         * gettext.h: include LString.h even when --disable-nls is on.
15015
15016 2001-06-07  Juergen Vigna  <jug@sad.it>
15017
15018         * text.C (BreakAgain): subst spaces with tabs.
15019
15020         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15021         (resizeInsetsLyXText): set force on resizeLyXText.
15022
15023 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15024
15025         * gettext.h (gettext_init):
15026         (locale_init): use a real definition instead of a macro
15027
15028 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15029
15030         * Bufferview_pimpl.C:
15031         * LColor.h:
15032         * LColor.C: further lcolor tidies
15033
15034 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15035
15036         * BufferView_pimpl.C (updateScrollbar): simplify.
15037
15038         * BufferView2.C: don't include insets/insetinfo.h, change
15039         prototype for insertInset and call the Pimpl version. let
15040         updateInset call Pimpl version.
15041
15042         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15043         gotoInset to BufferView::Pimpl
15044
15045 2001-06-01  Juergen Vigna  <jug@sad.it>
15046
15047         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15048         inside a LockingInset (is the update needed at all?).
15049
15050 2001-05-31  Juergen Vigna  <jug@sad.it>
15051
15052         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15053         here not the old one otherwise how should we compare it afterwards
15054         if it's the same!
15055
15056 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15057
15058         * lyxfont.C:
15059         * tabular.C:
15060         * tabular-old.C:
15061         * FontInfo.C: bring C functions into global namespace when
15062         necessary
15063
15064 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15065
15066         * LString.h: make sure config.h has been loaded before LString.h.
15067
15068         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15069         (one for each char read by EatLine!).
15070
15071         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15072         variables.
15073
15074 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15075
15076         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15077         to the same as the par we break from
15078
15079 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15080
15081         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15082
15083         * MenuBackend.C (expand): also create menu entries for wide
15084         versions of the floats.
15085
15086         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15087
15088         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15089
15090         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15091         frontends/Makefile.am
15092
15093         * text2.C: adjust
15094         * text.C: adjust
15095
15096
15097         * tabular.C (getTokenValue): add std::
15098
15099         * tabular-old.C (getTokenValue): add std::
15100         (getTokenValue): ditto
15101         (getTokenValue): ditto
15102
15103         * screen.C (ToggleSelection): adjust
15104
15105         * lyxtext.h: put selection cursors inside a Selection struct.
15106
15107         * lyxfunc.C (moveCursorUpdate): adjust
15108
15109         * lyxfont.C (latexWriteStartChanges): add std::
15110
15111         * lyxfind.C: adjust
15112
15113         * font.h: delete with(char const *, LyXFont const &)
15114
15115         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15116
15117         * FontInfo.C (getFontname): add std::
15118
15119         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15120         (workAreaButtonPress): adjust
15121         (tripleClick): adjust
15122         (update): adjust
15123         (moveCursorUpdate): adjust
15124         (Dispatch): adjust
15125
15126         * BufferView2.C (gotoInset): adjust
15127
15128 2001-05-30  Juergen Vigna  <jug@sad.it>
15129
15130         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15131         to check pspell I add this as default as I now have new pspell
15132         libraries and they seem to use this.
15133
15134 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15135
15136         * text2.C (CutSelection): make the cursor valid before the call to
15137         ClearSelection.
15138
15139 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15140
15141         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15142         relied on 0 terminated strings and other horrors. Bug found due to
15143         the new assert in lyxstring!
15144
15145         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15146         KP_ keys.
15147
15148 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15149
15150         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15151         to latinkeys.bind.
15152
15153         * lyxfunc.C (processKeySym): change method of getting to the
15154         self-insert char.
15155
15156         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15157         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15158         * BufferView_pimpl.[Ch]: here as private methods.
15159
15160 2001-05-28  Juergen Vigna  <jug@sad.it>
15161
15162         * text.C (SetHeightOfRow): added the update() call again as it is
15163         needed to initialize inset dimensions!
15164
15165 2001-05-16  Juergen Vigna  <jug@sad.it>
15166
15167         * text2.C (SetCharFont): Add new function with BufferView * and
15168         bool toggleall parameters for setting insets internal fonts.
15169         (SetFont): Freeze the undo as we may change fonts in Insets and
15170         all this change should be inside only one Undo!
15171
15172         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15173         setting font's in insets as for them we have the SetFont function!
15174
15175 2001-05-15  Juergen Vigna  <jug@sad.it>
15176
15177         * text2.C (ClearSelection): to be sure we REALLY don't have any
15178         selection anymore!
15179
15180         * tabular.C (TeXCellPreamble): fixed the left border problem for
15181         multicolumn cells.
15182
15183 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15184
15185         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15186         dependancy file
15187
15188 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15189
15190         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15191         LFUN_BREAKPARAGRAPH.
15192
15193         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15194         help test to "internal only", similar for LFUN_INSERT_URL
15195
15196         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15197         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15198         auto_region_delete and deadkeys.
15199
15200 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15201
15202         * LColor.h:
15203         * LColor.C: remove some dead entries, tidy a little
15204
15205 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15206
15207         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15208         commented code.
15209         (Dispatch): implement LFUN_ESCAPE
15210
15211         * commandtags.h: add LFUN_ESCAPE
15212
15213         * LyXAction.C (init): add entry for LFUN_ESCAPE
15214
15215         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15216         Remove commented code.
15217         (insertNote): moved here
15218         (open_new_inset): moved here
15219
15220         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15221         BufferView_pimpl
15222
15223 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15224
15225         * kbmap.C (findbinding): clean it up and make it work correctly.
15226
15227         * lyx_main.C (init): do not pass argc and argv as parameters
15228
15229 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15230
15231         * buffer.C: fix path for OS/2 & Win32
15232
15233         * lyx_gui.C:
15234         * lyx_main:
15235         * lyx_main.C: Added os:: class.
15236
15237         * os2_defines.h: update
15238
15239 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15240
15241         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15242         better by trying again with reduced state.
15243
15244 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15245
15246         * lyxrc.C (read): print error about invalid key sequence only when
15247         debugging (because not all latinX keysyms are known to some X
15248         servers)
15249
15250         * kbsequence.C (getiso): add a few std:: qualifiers
15251         (getiso): comment out extra return statement.
15252
15253 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15254
15255         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15256         handling.
15257         (Dispatch): enhance the accent inset a bit. (not perfect)
15258
15259 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15260
15261         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15262
15263 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15264
15265         * bufferlist.C (emergencyWrite): fix assert() call
15266
15267 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15268
15269         * text.C (InsertChar): Added trivial patch to only send the "you
15270         can not do multiple spaces this way" message once during a
15271         session.
15272
15273 2001-05-08  Baruch Even  <baruch@lyx.org>
15274
15275         * Makefile.am: Changed order of libraries to get LyX to link properly
15276         with the gnome frontend.
15277
15278 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15279
15280         * LaTeXFeatures.h: add a std:: qualifier
15281
15282 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15283
15284         * paragraph.C (String): use stringstream
15285
15286 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15287
15288         * paragraph.C (writeFile): remove footflag arg
15289
15290         * buffer.C (makeLaTeXFile): use stringstream
15291         (latexParagraphs): remove footnot gurba
15292
15293         * LaTeXFeatures.C (getPackages): use stringstream
15294         (getMacros): likewise
15295         (getTClassPreamble): likewise
15296         (getFloatDefinitions): new method
15297
15298         * paragraph.C (writeFile): reindent
15299         (Erase): reindent
15300
15301         * WorkArea.h: revert the xpos + etc changes.
15302
15303         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15304
15305         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15306
15307         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15308         (pasteSelection): likewise
15309         * text2.C (CreateUndo): likewise
15310
15311 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15312
15313         * minibuffer.C (peek_event): temporarily reduce the functionality
15314         of the minibuffer (to allow args on lfuns)
15315
15316         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15317         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15318
15319         * buffer.C (readInset): add compability reading of old float
15320         lists, add reading of new style float list.
15321         (readInset): avoid reevaluation of inscmd.getCmdName()
15322         (getLists): reindent
15323
15324         * MenuBackend.C (MenuItem): implement parsing of
15325         md_floatlistinsert and md_floatinsert.
15326         (expand::LastFiles): move initalizaton of iterators out of loop,
15327         avoid reevaluation.
15328         (expand::Documents): introduce typdedef vector<string> Strings,
15329         and use it.
15330         (expand::ExportFormats): introduce typedef vector<Format const *>
15331         Formats, and use it.
15332         (expand): implement FloatListInsert and FloatInsert.
15333
15334         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15335         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15336         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15337
15338         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15339         handling.
15340         (Dispatch::LFUN_FLOAT_LIST): implement
15341
15342 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15343
15344         * LaTeX.C (run): Fix problem with --export code.
15345
15346 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15347
15348         * BufferView.[Ch] (workarea): removed.
15349         (getClipboard) new method; wrapper for workarea()->getClipboard()
15350
15351         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15352         bug.
15353
15354         * WorkArea.h (width, height, xpos, ypos): These methods all
15355         returned the dimensions of the work_area sub-area of WorkArea,
15356         resulting in a position error if the WorkArea were resized. Now
15357         return the dimensions of the entire WorkArea.
15358
15359         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15360
15361 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15362
15363         * LaTeX.C (deplog): correct the syntax of regex reg1
15364
15365 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15366
15367         * undo.C: remove !NEW_INSETS cruft
15368
15369 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15370
15371         * text2.C: remove !NEW_INSETS cruft
15372
15373         * text.C: remove !NEW_INSETS cruft
15374
15375         * tabular.C: remove !NEW_INSETS cruft
15376
15377         * spellchecker.C: remove !NEW_INSETS cruft
15378
15379         * lyxtext.h: remove !NEW_INSETS cruft
15380
15381         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15382
15383         * lyxfunc.C: remove !NEW_INSETS cruft
15384
15385         * lyxfind.C: remove !NEW_INSETS cruft
15386
15387         * lyx_cb.C: remove !NEW_INSETS cruft
15388
15389         * figureForm.C: remove  !NEW_INSETS cruft
15390
15391         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15392
15393         * buffer.[Ch]: remove !NEW_INSETS cruft
15394
15395         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15396
15397         * CutAndPaste.C: remove !NEW_INSETS cruft
15398
15399         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15400
15401         * BufferView2.C: remove !NEW_INSETS cruft
15402
15403         * BufferView.h: remove !NEW_INSETS cruft
15404
15405 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15406
15407         * Lsstream.h: include LString.h before the sstream headers to
15408         fix problem with gcc 2.95.3 and lyxstring
15409
15410 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15411
15412         * lyx_main.C: add using directives when needed for C functions
15413         declared in std:: namespace.
15414
15415 2001-04-27  Juergen Vigna  <jug@sad.it>
15416
15417         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15418         (SetHeightOfRow): comment out the update call should not be needed!
15419
15420 2001-04-13  Juergen Vigna  <jug@sad.it>
15421
15422         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15423         (LyXTabular): tried to minimize operator= operations (and realized
15424         hopfully Lars wish).
15425
15426 2001-04-27  Juergen Vigna  <jug@sad.it>
15427
15428         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15429
15430 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15431
15432         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15433
15434         * buffer.C (readInset): hack to make listof algorithm work
15435
15436         * BufferView_pimpl.C: hack to make listof algorithm work
15437
15438 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15439
15440         * LyXAction.C: removed all !NEW_INSETS cruft
15441         (init): moved lfun_item in method
15442
15443         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15444
15445 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15446
15447         * BufferView2.C (theLockingInset): white space.
15448
15449 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15450
15451         * minibuffer.C: include <iostream>
15452
15453         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15454
15455         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15456
15457         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15458
15459         * text.[Ch] (TransposeChars): new method
15460
15461 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15462
15463         * call message directly through LyXView instead of through LyXFunc
15464         * BufferView2.C: adjust
15465         * BufferView_pimpl.C: adjust
15466         * FontLoader.C: adjust
15467         * buffer.C: adjust
15468         * bufferview_funcs.C: adjust
15469         * converter.C: adjust
15470         * figureForm.C: adjust
15471         * importer.C: adjust
15472         * lyx_cb.C: adjust
15473         * lyx_gui_misc.C: adjust
15474         * lyxfunc.C: adjust
15475         * lyxvc.C: adjust
15476         * text2.C: adjust
15477         + more files in subdirs
15478
15479         * lyxparagraph.h (size): move up int file
15480         (GetLayout): ditto
15481
15482         * adjust all uses of Assert to lyx::Assert.
15483
15484         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15485         lyxfunctional in namespace lyx
15486         * layout.C (hasLayout): ditto
15487         (GetLayout): ditto
15488         (GetLayout): ditto
15489         (delete_layout): ditto
15490         (NumberOfClass): ditto
15491         * converter.C (GetFormat): ditto
15492         (GetNumber): ditto
15493         (Add): ditto
15494         (Delete): ditto
15495         (SetViewer): ditto
15496         * bufferlist.C (getFileNames): ditto
15497         (emergencyWriteAll): ditto
15498         (exists): ditto
15499         (getBuffer): ditto
15500         * MenuBackend.C (hasSubmenu): ditto
15501         (hasMenu): ditto
15502         (getMenu): ditto
15503         * BufferView_pimpl.C (getInsetByCode): ditto
15504
15505 2001-04-18  Juergen Vigna  <jug@sad.it>
15506
15507         * vspace.C (asLatexString): fixed the 100% problem.
15508
15509 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15510
15511         * lyxfunc.C (Dispatch):
15512         * minibuffer.C:
15513         * minibuffer.h: add a few std:: qualifiers
15514
15515 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15516
15517         * minibuffer.[Ch]: reimplement so that commands is initiated and
15518         run from lyxfunc, simplified som handling, and made the completion
15519         and history code for complete. wip.
15520
15521         * lyxfunc.C (processKeySym): call message
15522         (miniDispatch): new temporary method
15523         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15524         (LFUN_MESSAGE): implement
15525         (LFUN_MESSAGE_PUSH): implement
15526         (LFUN_MESSAGE_POP): implement
15527         (initMiniBuffer): the initial/defualt minibuffer message.
15528
15529         * lyxfont.[Ch]: inline some more getters
15530
15531         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15532
15533         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15534
15535         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15536         (AutoSave): use LFUN_MESSAGE
15537         (Reconfigure): ditto
15538
15539         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15540
15541         * figureForm.C: use LFUN_MESSAGE
15542
15543         * converter.C (runLaTeX): use LFUN_MESSAGE
15544
15545         * bufferview_funcs.C: use LFUN_MESSAGE
15546         (Melt): ditto
15547         (changeDepth): ditto
15548
15549         * bufferparams.h: use boost::
15550
15551         * bufferlist.h: inherit privately from noncopyable
15552
15553         * bufferlist.C (loadLyXFile): remove some commented code.
15554
15555         * buffer.C (runChktex): use LFUN_MESSAGE
15556
15557         * ShareContainer.h: inherit privately from noncopyable
15558
15559         * ParagraphParameters.[hC] (depth): inline it.
15560
15561         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15562         methods.
15563         (message): new method
15564         (messagePush): ditto
15565         (messagePop): ditto
15566         (show): init minibuffer
15567         (showState): direct call
15568
15569         * LaTeX.[Ch]: inherit privately from noncopyable
15570         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15571         instead of WriteStatus.
15572
15573         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15574
15575         * BufferView_pimpl.C (buffer): don't init minibuffer
15576         (workAreaButtonPress): use LFUN_MESSAGE
15577         (workAreaButtonRelease): ditto
15578         (savePosition): ditto
15579         (restorePosition): ditto
15580         (MenuInsertLyXFile): ditto
15581         (workAreaExpose): don't init minibuffer
15582         (update): remove commented code, simplify
15583
15584         * BufferView2.C (openStuff): use LFUN_MESSAGE
15585         (toggleFloat): ditto
15586         (menuUndo): ditto
15587         (menuRedo): ditto
15588         (copyEnvironment): ditto
15589         (pasteEnvironment): ditto
15590         (copy): ditto
15591         (cut): ditto
15592         (paste): ditto
15593         (gotoInset): ditto
15594         (updateInset): remove some commented code
15595
15596         * lastfiles.h: inherit privately from noncopyable
15597         * layout.h: ditto
15598         * lyx_gui.h: ditto
15599         * lyx_main.h: ditto
15600         * lyxlex.h: ditto
15601         * lyxlex_pimpl.h: ditto
15602
15603         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15604         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15605         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15606
15607         * LyXAction.h: inherit privately from noncopyable, add methods
15608         func_begin, func_end, returning iterators to the func map.
15609
15610         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15611         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15612         (func_begin): new method
15613         (func_end): new method
15614
15615         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15616         and not)
15617         (copySelection): ditto
15618         (pasteSelection): ditto
15619
15620         * BufferView.C: whitespace change
15621         * BufferView.h: inherit privately from noncopyable
15622
15623 2001-04-16  Allan Rae  <rae@lyx.org>
15624
15625         * tabular-old.C (l_getline):
15626         * spellchecker.C (sc_check_word):
15627         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15628         an unrecognised preprocessor directive.  So ensure they're wrapped.
15629
15630 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15631
15632         * src/exporter.C (Export): Give an error message when path to file
15633         contains spaces.
15634
15635 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15636
15637         * LaTeX.C (deplog): Always check that foundfile exists.
15638
15639 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15640
15641         * lyx_main.h:
15642         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15643
15644 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15645
15646         * tabular.[Ch] (getLabelList): implement new method
15647
15648         * minibuffer.h: comment ouf setTiimer
15649
15650         * minibuffer.C (ExecutingCB): constify res
15651         (peek_event): constify s
15652         (Set): constify ntext
15653         (Init): constify nicename
15654
15655         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15656
15657         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15658         (savePosition): use two params to Minibuffer::Set
15659         (restorePosition): ditto
15660
15661 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15662
15663         * lyx_main.C: include language.h
15664
15665         * Makefile.am (lyx_main.o): add language.h
15666
15667 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15668
15669         * exporter.C:
15670         * paragraph.C:
15671         * screen.C:
15672         * tabular.C:
15673         * CutAndPaste.C: include gettext.h
15674
15675         * lyxfont.h: remove old hack with ON and OFF.
15676
15677         * lyxparagraph.h:
15678         * lyxfont.h: do not include language.h...
15679
15680         * BufferView2.C:
15681         * LaTeXFeatures.C:
15682         * Painter.C:
15683         * bufferview_funcs.C:
15684         * font.C:
15685         * lyxfont.C:
15686         * text.C:
15687         * text2.C:
15688         * trans_mgr.C:
15689         * paragraph.C: ... but do it here instead
15690
15691 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15692
15693         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15694
15695         * tabular.C: small reformat
15696
15697         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15698         NEW_INSETS version
15699         (GetChar): ditto
15700         (BreakParagraph): ditto
15701         (SetOnlyLayout): ditto
15702         (SetLayout): ditto
15703
15704         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15705         with one arg less.
15706
15707         * lastfiles.C: removed most using decl, add std:: where needed
15708
15709         * buffer.C: ws changes
15710
15711         * MenuBackend.C (class compare_format): put into anon namespace
15712         (expand): constify label, names, action, action2
15713         (expand):
15714
15715         * text.C (SingleWidth): constify font
15716         (IsBoundary): constify rtl2
15717         (GetVisibleRow): constify ww
15718
15719         * LaTeX.C (deplog): constify logfile
15720
15721         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15722         start_x, end_x
15723         (workAreaExpose): constify widthChange, heightChange
15724
15725         * lyxrow.C (par): moved
15726         (height): moved
15727         (next): moved
15728         * lyxrow.h: as inlines here
15729
15730         * lyxfont.h (shape): moved from lyxfont.C
15731         (emph): moved from lyxfont.C
15732
15733         * lyxfont.C (LyXFont): use initialization list for all
15734         constructors
15735         (shape): move to lyxfont.h as inline
15736         (emph): move to lyxfont.h as inline
15737
15738
15739 2001-04-04  Juergen Vigna  <jug@sad.it>
15740
15741         * vspace.C: had to include stdio.h for use of sscanf
15742
15743 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15744
15745         * BufferView.h:
15746         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15747         independent of xforms.
15748
15749 2001-04-02  Juergen Vigna  <jug@sad.it>
15750
15751         * spellchecker.C: fixed namespace placing!
15752
15753 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15754
15755         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15756         the LyXParagraph * is 0.
15757
15758 2001-03-29  Juergen Vigna  <jug@sad.it>
15759
15760         * vspace.C: added support for %, c%, p%, l%.
15761         (stringFromUnit): added helper function.
15762         (asLatexString): changed to give right results for the %-values.
15763
15764         * buffer.C: convert the widthp in a width%.
15765
15766 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15767
15768         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15769         figureForm.[Ch].
15770
15771         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15772         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15773
15774         * lyx_cb.[Ch]: see above.
15775
15776         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15777         form1.[Ch].
15778
15779         * form1.[Ch]:
15780         * lyx.[Ch]: replaced by figure_form.[Ch].
15781
15782         * lyx_gui.C:
15783         * lyx_gui_misc.C:
15784         * lyxfunc.C: changed headers associated with above changes.
15785
15786 2001-03-27  Juergen Vigna  <jug@sad.it>
15787
15788         * BufferView_pimpl.C: set the temporary cursor right!
15789
15790 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15791
15792         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15793
15794 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15795
15796         * LString.h: removed "using std::getline"!
15797
15798         * BufferView_pimpl.C (Dispatch): changes due to changes in
15799         InsetInclude::Params.
15800
15801         * buffer.C (tag_name): removed redundant break statements as they were
15802         producing lots of warnings with my compiler.
15803
15804 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15805
15806         * LString.h: add "using std::getline" when using the real <string>.
15807
15808 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15809
15810         * buffer.C: removed bitset usage.
15811         PAR_TAG moved to an anonymous name space.
15812         (tag_name): new funtion, also in the anonymous namespace.
15813         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15814         (makeDocBookFile): clean code. Completed transition from string arrays
15815         to string vectors.
15816         (SimpleDocBookOnePar): code clean.
15817
15818 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15819
15820         * tabular.C: add some comments.
15821
15822 2001-03-22  Juergen Vigna  <jug@sad.it>
15823
15824         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15825         compatibility read a bit and fixed bug with minipage in different
15826         depth.
15827
15828 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15829
15830         * buffer.C (pop_tag): removed.
15831         (push_tag): removed.
15832         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15833         array replaced with vector. Added support for CDATA sections.
15834         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15835         at any nest level.
15836         (makeDocBookFile): XML conformant declaration of CDATA section,
15837         fixed bug related to <emphasis> in the first paragraph char.
15838         (sgmlOpenTag): exclude empty tags.
15839         (sgmlCloseTag): ditto.
15840
15841         * buffer.h (pop_tag): removed.
15842         (push_tag): removed.
15843
15844 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15845
15846         * language.h (Languages): added size_type and size().
15847
15848 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15849
15850         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15851         response on compability reading of minipages. One probliem is that
15852         the old usage of minipages was «flertydig»
15853
15854         * several files here and in subdirs: don't use static at file
15855         scope use anon namespaces instead.
15856
15857 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15858
15859         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15860         LaTeX output. This is necessary for Literate document
15861         processing.
15862
15863 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15864
15865         * buffer.C: insert hfill when needed.
15866
15867         * tabular.C (l_getline): use string::erase, small whitespace change.
15868
15869         * BufferView_pimpl.C: try the anon namespace.
15870         * WorkArea.C: ditto
15871
15872 2001-03-16  Juergen Vigna  <jug@sad.it>
15873
15874         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15875         otherwise it won't open options-dialogs.
15876
15877         * buffer.C: honor pextraWidth(p) on converting minipages.
15878
15879         * tabular.C (l_getline): changed the functions to strip trailing \r.
15880
15881 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15882
15883         * BufferView_pimpl.C:
15884         * minibuffer..C: added "using SigC::slot" declaration.
15885
15886 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15887
15888         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15889
15890         * text2.C: ditto
15891
15892         * text.C: ditto
15893
15894         * paragraph.C: ditto
15895
15896         * lyxtext.h: NO_PEXTRA
15897
15898         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15899
15900         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15901         * ParameterStruct.h: ditto
15902         * ParagraphParameters.h: ditto
15903         * lyxparagraph.h: ditto
15904
15905 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15906
15907         * buffer.C: add compability for minipage alignment.
15908         (latexParagraphs): remove unwanted pextra check.
15909
15910         * several files: remove CXX_WORKING_NAMESPACES
15911
15912         * buffer.C (pop_tag): tie is in namespace boost
15913
15914         * BufferView.h: noncopyable is in namespace boost
15915         * lyxlex.h: ditto
15916         * lyx_main.h: ditto
15917         * lyx_gui.h: ditto
15918         * layout.h: ditto
15919         * lastfiles.h: ditto
15920         * bufferlist.h: ditto
15921         * ShareContainer.h: ditto
15922         * LyXView.h: ditto
15923         * LyXAction.h: ditto
15924         * LaTeX.h: ditto
15925
15926 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15927
15928         * Merging changes from BRANCH_MVC back into HEAD.
15929
15930         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15931
15932 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15933
15934         * BufferView_pimpl.C: change from intl.C
15935
15936         * combox.h:
15937         * combox.C:
15938         * Makefile.am: move combox.*
15939
15940         * form1.h:
15941         * form1.C:
15942         * lyx_gui.C:
15943         * intl.h:
15944         * intl.C: remove dialog (covered by prefs)
15945
15946 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15947
15948         * lyxfunc.C (Dispatch): removed redundant break statement.
15949
15950 2001-03-14  Juergen Vigna  <jug@sad.it>
15951
15952         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15953
15954 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15955
15956         * buffer.C: add hack to fix compability reading of minipages.
15957
15958 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15959
15960         * buffer.C (getLists): Cleanup.
15961
15962 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15963
15964         * lyxfont.C (update): don't honor toggleall on font size.
15965
15966 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15967
15968         * bmtable.c:
15969         * bmtable.h:
15970         * Makefile.am: moved to frontends/xforms/
15971
15972         * lyx_gui_misc.C:
15973         * lyxfunc.C:
15974         * BufferView_pimpl.C: changes for moved mathpanel
15975
15976 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15977
15978         * gettext.h: fix gettext_init() in --disable-nls
15979
15980 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15981
15982         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15983
15984 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15985
15986         * lyx.C:
15987         * lyx.h: strip external form
15988
15989 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15990
15991         * BufferView_pimpl.C: add comment, destroySplash()
15992
15993 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15994
15995         * BufferView_pimpl.C:
15996         * LyXAction.C:
15997         * buffer.C:
15998         * commandtags.h:
15999         * lyxfunc.C: use re-worked insetinclude
16000
16001 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16002
16003         * buffer.C: add using std::stringstream.
16004
16005         * lyx_cb.C: readd using std::ios.
16006
16007         * buffer.C: add using std::map.
16008
16009         * BufferView_pimpl.C: add using std::vector.
16010
16011         * ShareContainer.h: add std:: to swap.
16012
16013         * buffer.h: add some typedefs
16014         * buffer.C (getLists): use them
16015         (getLists): renamed from getTocList.
16016         add a counter for the different float types and use it in the
16017         generated string.
16018         (getLists): use the same counter for the NEW_INSETS and the "non"
16019         NEW_INSETS
16020
16021         * lyx_cb.h: remove unused items, includes, using etc.
16022
16023         * ShareContainer.h: remove some commented code, add more comments
16024         and "documentation".
16025
16026 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16027
16028         * buffer.C (getTocList): make the list also when NEW_INSETS is
16029         defined.
16030
16031         * buffer.h: remove TocType
16032
16033         * buffer.C (getTocList): change to return a map<string,
16034         vector<TocItem> >, implement for dynamic number of list.
16035
16036         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16037         * text2.C (PasteSelection): adjust
16038         * CutAndPaste.C (pasteSelection): adjust
16039
16040         * FloatList.C (FloatList): update from the new_insets branch.
16041         * Floating.[Ch]: ditto
16042         * LaTeXFeatures.C: ditto
16043         * buffer.C: ditto
16044         * lyxlex_pimpl.C: ditto
16045
16046         * paragraph.C (Last): remove when NEW_INSETS is defined.
16047
16048         * other file: changes because of the above.
16049
16050 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16051
16052         * lyxparagraph.h: rename next to next_, previous to previous_,
16053         make them private for NEW_INSETS. Rename Next() to next(),
16054         Previous() to previous().
16055
16056         * other files: changes because of the above.
16057
16058 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16059
16060         * BufferView.h:
16061         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16062         problem.
16063
16064 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16065
16066         * main.C (main): pass lyx_localedir to gettext_init().
16067
16068         * gettext.h: remove locale_init and gettext_init macros
16069
16070         * gettext.C (locale_init): new function
16071         (gettext_init): new function
16072
16073         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16074         setlocale().
16075
16076 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16077
16078         * Moved credits to frontends:
16079         * credits.[Ch]: removed
16080         * credits_form.[Ch]: removed
16081         * lyx_gui_misc.C: remove credits stuff
16082         * Makefile.am:
16083
16084 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16085
16086         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16087
16088         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16089         unneeded destructor.
16090
16091         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16092         a standalone pointer again.
16093
16094         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16095
16096 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16097
16098         * Makefile.am:
16099         * filedlg.h:
16100         * filedlg.C:
16101         * LyXAction.C:
16102         * ToolbarDefaults.C:
16103         * bufferlist.C:
16104         * commandtags.h:
16105         * form1.C:
16106         * form1.h:
16107         * lyx_cb.C:
16108         * lyx_cb.h:
16109         * lyxfunc.h:
16110         * lyxfunc.C:
16111         * BufferView_pimpl.C: use new file dialog in GUII
16112
16113         * lyx_cb.h:
16114         * lyx_cb.C: remove LayoutsCB to Toolbar
16115
16116 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16117
16118         * ShareContainer.h (get): add std:: qualifier
16119
16120 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16121
16122         * ShareContainer.h: define a proper ShareContainer::value_type
16123         type (and use typename to please compaq cxx)
16124
16125 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16126
16127         * lyxparagraph.h: move serveral local vars to
16128         ParameterStruct/ParagraphParameters., use ShareContainer in
16129         FontTable., make vars in FontTable private and add getter and
16130         setter.
16131
16132         * paragraph.C: changes because of the above.
16133
16134         * lyxfont.h: remove copy constructor and copy assignment. (the
16135         default ones is ok), move number inside FontBits. move inlines to
16136         lyxfont.C
16137
16138         * lyxfont.C: add number to initializaton of statics, move several
16139         inlines here. constify several local vars. some whitespace
16140         cleanup. Dont hide outerscope variables.
16141
16142         * Spacing.h: add two new constructors to match the set methods.
16143
16144         * ShareContainer.h: new file, will perhaps be moved to support
16145
16146         * ParameterStruct.h: new file
16147
16148         * ParagraphParameters.h: new file
16149
16150         * ParagraphParameters.C: new file
16151
16152         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16153         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16154
16155         * BufferView_pimpl.C: ParagraphParameter changes.
16156         * buffer.C: Likewise.
16157         * bufferview_funcs.C: Likewise.
16158         * text.C: Likewise.
16159         * text2.C: Likewise.
16160
16161 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16162
16163         * lyxfind.C (LyXReplace): do not redefine default argument in
16164         implementation.
16165         (IsStringInText): ditto
16166         (SearchForward): ditto
16167         (SearchBackward): ditto
16168
16169 2001-03-06  Juergen Vigna  <jug@sad.it>
16170
16171         * lyxfind.C (IsStringInText): put parentes around expressions.
16172
16173 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16174
16175         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16176
16177 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16178
16179         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16180
16181         * stl_string_fwd.h: add comment
16182
16183         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16184
16185         * tabular.h:
16186         * tabular.C: remove unused DocBook methods
16187
16188         * intl.C:
16189         * language.C:
16190         * paragraph.C:
16191         * buffer.C:
16192         killed DO_USE_DEFAULT_LANGUAGE
16193
16194 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16195
16196         * lyx_gui.C: do not include language.h.
16197
16198         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16199         arguments in function implementation.
16200
16201 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16202
16203         * BufferView_pimpl.C: add <ctime>
16204
16205 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16206
16207         * BufferView_pimpl.C: add using std::find_if
16208
16209 2001-02-27  José Matos  <jamatos@fep.up.pt>
16210
16211         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16212         by OnlyPath.
16213
16214 2001-02-11  José Matos  <jamatos@fep.up.pt>
16215
16216         * buffer.C (makeDocBookFile): command styles now have a parameter as
16217         "title" by default.
16218
16219 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16220
16221         * layout_forms.[Ch]: removed
16222         * lyx_cb.[Ch]: out character
16223         * lyx_gui.C: out character
16224         * lyx_gui_misc.C: out character
16225         * bufferview_funcs.C: : out character,
16226         added toggleall as parameter in ToggleAndShow
16227
16228 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16229
16230         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16231
16232         * text2.C (SetCurrentFont): Disable number property at boundary.
16233
16234 2001-02-26  Juergen Vigna  <jug@sad.it>
16235
16236         * lyxfunc.C (getStatus): added a string argument override function so
16237         that this is correctly called from LyXFunc::Dispatch if it contains a
16238         do_not_use_argument which is used!
16239         (Dispatch): added check for "custom" export and call appropriate func.
16240
16241 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16242
16243         * lyxrc.C: Add language_command_local, language_use_babel and
16244         language_global_options.
16245
16246         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16247
16248         * buffer.C (makeLaTeXFile): Use language_use_babel and
16249         language_global_options.
16250
16251 2001-02-23  Juergen Vigna  <jug@sad.it>
16252
16253         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16254         which works with LyXText and putted it inside BufferView. Here now we
16255         only call for that part the BufferView::Dispatch() function.
16256
16257         * BufferView.C (Dispatch): added.
16258
16259         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16260         functions which needs to use a LyXText over from LyXFunc.
16261         (MenuInsertLyXFile): added
16262         (getInsetByCode): added
16263         (moveCursorUpdate): added
16264         (static TEXT): added
16265
16266 2001-02-22  Juergen Vigna  <jug@sad.it>
16267
16268         * BufferView_pimpl.C (update): call a status update to see if LyXText
16269         needs it.
16270
16271 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16272
16273         * vc-backend.C (revert): implement for CVS
16274         (getLog): implement for CVS
16275
16276 2001-02-20  Juergen Vigna  <jug@sad.it>
16277
16278         * text2.C (ClearSelection): added BufferView param for inset_owner call
16279
16280         * lyxfunc.C (TEXT): added this function and use it instead of
16281         directly owner->view()-text of getLyXText().
16282
16283 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16284
16285         * src/layout_forms.C: out preamble
16286         * src/layout_forms.h: out preamble
16287         * src/lyx_cb.C: out preamble
16288         * src/lyx_cb.h: out preamble
16289         * src/lyx_gui.C: out preamble
16290         * src/lyx_gui_misc.C: out preamble
16291         * src/lyxfunc.C: connect with guii preamble
16292
16293 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16294
16295         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16296
16297 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16298
16299         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16300         whether to run bibtex.
16301
16302 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16303
16304         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16305
16306 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16307
16308         * Makefile.am (lyx_SOURCES): removed bibforms.h
16309
16310         * vspace.h: doxygen
16311
16312         * text.C (GetVisibleRow): make several local vars const
16313
16314         * tabular.C: small cleanup.
16315
16316         * lyxserver.C (callback): use compare instead of strncmp
16317
16318         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16319         inlines to after class or to paragraph.C
16320
16321         * lyxfont.h: remove friend operator!=
16322
16323         * converter.h: move friend bool operator< to non friend and after
16324         class def.
16325
16326         * combox.h: small cleanup
16327
16328         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16329         to inlines after class def.
16330
16331         * buffer.C (pop_tag): use string operations instead of strcmp
16332
16333         * bmtable.c: doxygen, small cleanup
16334
16335         * LaTeX.h: remove friend operator==
16336
16337 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16338
16339         * screen.C:
16340         * lyxrc.[Ch]:
16341         * lyxfunc.C:
16342         * lyxfont.[Ch]:
16343         * lyx_cb.C:
16344         * intl.[Ch]:
16345         * commandtags.h:
16346         * buffer.C:
16347         * WorkArea.[Ch]:
16348         * LyXAction.C:
16349         * BufferView_pimpl.C:
16350         * BufferView.[Ch]: remove cruft
16351
16352 2001-02-14  Juergen Vigna  <jug@sad.it>
16353
16354         * lyxfunc.C: removed #if 0 unused code
16355
16356         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16357
16358         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16359
16360         * text2.C (SetSelection): added a BufferView * parameter
16361
16362 2001-02-13  Juergen Vigna  <jug@sad.it>
16363
16364         * lyxfunc.C (Dispatch): fixed protected blank problem.
16365         * BufferView2.C (protectedBlank): added LyxText * parameter.
16366
16367         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16368         (AppendColumn): same as above for column_info.
16369
16370         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16371         (moveCursorUpdate): use a LyXText param for support of InsetText.
16372
16373         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16374         (tripleClick): ditto
16375
16376         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16377
16378         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16379
16380         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16381
16382         * text2.C (SetSelection): set correct update status if inset_owner
16383         (ToggleFree): ditto
16384
16385 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16386
16387         * tabular.C: remove some commented code.
16388
16389 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16390
16391         * BufferView_pimpl.C: call hideSplash()
16392
16393         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16394
16395         * include_form.h:
16396         * bibforms.h: remove
16397
16398         * lyxfunc.C:
16399         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16400           add LFUN_CHILD_CREATE
16401
16402         * counters.h: fix tiny typo
16403
16404         * lyx_cb.C:
16405         * lyx.h:
16406         * lyx_gui.C:
16407         * lyx.C: move splash to frontends/xforms/
16408
16409         * lyx_gui_misc.C: move Include and Bibform to frontends
16410
16411         * lyxvc.h: clarify comment
16412
16413         * vspace.C: tiny housekeeping
16414
16415 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16416
16417         * text.C (PrepareToPrint): RTL Fix.
16418
16419         * paragraph.C (GetUChar): New method.
16420         (String):  Use GetUChar.
16421
16422         * buffer.C (asciiParagraph): Use GetUChar.
16423
16424 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16425
16426         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16427
16428 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16429
16430         * buffer.h:
16431         * buffer.C: rename to getLogName(), handle
16432           build log / latex log nicely
16433
16434 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16435
16436         * MenuBackend.C:
16437         * MenuBackend.h: remove support for reference menuitem type.
16438
16439 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16440
16441         * BufferView_pimpl.C: housekeeping
16442         * BufferView_pimpl.h:
16443         * LyXView.h:
16444         * Makefile.am:
16445         * Timeout.C:
16446         * Timeout.h:
16447         * minibuffer.h: move Timeout GUI-I
16448
16449 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16450
16451         * lyxrc.C (read): Update converters data-structures.
16452
16453 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16454
16455         * LaTeX.h (operator!=): add operator != for Aux_Info
16456
16457 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16458
16459         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16460
16461         * LaTeXLog.C: deleted, useful code moved to Buffer
16462
16463         * buffer.h:
16464         * buffer.C: new function getLatexLogName()
16465
16466         * lyx_gui_misc.C:
16467         * lyx_gui.C:
16468         * lyxvc.C:
16469         * lyxvc.h:
16470         * lyxfunc.C: use frontends for LaTeX and VC logs
16471
16472 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16473
16474         * LaTeX.h: yet another std:: that Allan forgot.
16475
16476         * Variables.C (set): renamed from isset(), because this clashes
16477         with some HP-UX macros (grr).
16478
16479 2001-02-06  Allan Rae  <rae@lyx.org>
16480
16481         * LaTeX.h: Another bug fix.  Missing std:: this time.
16482
16483 2001-02-04  Allan Rae  <rae@lyx.org>
16484
16485         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16486         floats problem. I've left it commented out because it's not quite
16487         correct.  It should also test that the current object is a table or
16488         figure inset.  But I haven't gotten around to figuring out how to do
16489         that.  I *think* it'll be something like: "table" == inset.type()
16490
16491         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16492         bool.
16493
16494 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16495
16496         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16497         all the citation/databases/styles in the auxilary file.
16498         (run): Rerun latex if there was a babel language error.
16499
16500 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16501
16502         * text.C (Backspace): Preserve the font when changing newline char
16503         with a space.
16504         (BreakParagraph): If the cursor is before a space, delete the space.
16505
16506         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16507
16508 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16509
16510         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16511         new argument (code).
16512         (ChangeCitationsIfUnique): New method.
16513
16514         * paragraph.C (GetPositionOfInset): Handle bibkey.
16515
16516 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16517
16518         * BufferView_pimpl.h: change type of Position::par_pos to
16519         LyXParagraph::size_type.
16520
16521 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16522
16523         * BufferView_pimpl.C (savePosition, restorePosition): Write
16524         messages to minibuffer.
16525
16526 2001-01-28  José Matos  <jamatos@fep.up.pt>
16527
16528         * buffer.C (makeDocBookFile): adds support for document language.
16529         A silly restriction on the name of LatexCommand types where removed.
16530         Added support for CDATA sections, allows to chars unescaped, used
16531         among others in code, to avoid escape < and >.
16532
16533 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16534
16535         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16536         saved positions instrad of a stack. Furthermore, a position is
16537         stored using paragraph id/paragraph position.
16538
16539         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16540         Remove LFUN_REF_BACK.
16541
16542 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16543
16544         * converter.C (dvipdfm_options): New method.
16545
16546 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16547
16548         * vspace.C (isValidLength): Fix for empty input string.
16549
16550 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16551
16552         * LyXAction.C (init): change description of LFUN_FIGURE to
16553         "Insert Graphics"
16554
16555 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16556
16557         * LaTeX.C: add using directive
16558
16559 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16560
16561         * MenuBackend.C (expand): Fix the sorting of the formats.
16562
16563 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16564
16565         * lyx_main.C: tiny error message fix
16566
16567 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16568
16569         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16570         calling fl_initialize(). This fixes the problem with ',' as
16571         decimal separator in text files.
16572
16573 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16574
16575         * trans.C (process): Fix the keymap bug.
16576
16577 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16578
16579         * LaTeX.C (scanAuxFiles): New method. Provides support for
16580         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16581         (scanLogFile) Scan for "run BibTeX" messages.
16582
16583         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16584         OT1 font encoding. Also, load the aecompl package if the ae
16585         package is loaded.
16586
16587         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16588
16589 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16590
16591         * texrow.C (increasePos): turn two error messages into debug
16592         messages.
16593
16594 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16595
16596         * LaTeX.C (scanAux): Handle the \@input macro.
16597         (runBibTeX): Use scanAux().
16598
16599         * language.C (latex_options_): New field.
16600
16601         * LaTeXFeatures.C (getMacros): Add language macros.
16602
16603         * buffer.C (makeLaTeXFile): Small fix.
16604
16605 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16606
16607         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16608
16609         * text2.C: add a using directive.
16610
16611 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16612
16613         * BufferView2.C:
16614         * lyx_gui_misc.h:
16615         * lyxfr1.C:
16616         * lyxfunc.C: kill LyXBell.
16617
16618 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16619
16620         * text.C (IsBoundary): Remove the error message
16621
16622         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16623
16624         * lyxrc.C (setDefaults): Correct initialization value for
16625         font_norm_type.
16626
16627 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16628
16629         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16630         gotoError().
16631
16632         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16633         and GotoNextNote().
16634
16635         * src/LyXAction.C: Added reference-next.
16636
16637         * text.C (InsertChar): Use contains instead of strchr.
16638
16639         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16640
16641 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16642
16643         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16644         alignment commands (when needed).
16645
16646         * text.C (InsertChar): Add ':' to number separator chars.